libs/gst/base/gstbasesink.c: Don't try to report a 0 position when we don't know...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2
3         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5         (gst_base_sink_event), (gst_base_sink_get_position_last),
6         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7         (gst_base_sink_change_state):
8         Don't try to report a 0 position when we don't know, return -1 and FALSE
9         instead. This mostly happens when we are prerolling.
10         Make sure we can report the right position before we post the ASYNC_DONE
11         message so that a message handler can query position without races.
12
13         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
14         (async_done_handoff), (async_done_func), (send_buffer),
15         (async_done_eos_func), (gst_sinks_suite):
16         Add two tests for the above.
17
18 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
19
20         * MAINTAINERS:
21         Update with new email address.
22
23         * docs/design/part-TODO.txt:
24         Add some more info about future pad-block and negotiation changes.
25
26         * docs/design/part-buffering.txt:
27         Add some ideas about buffering reporting.
28
29 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
30
31         * tests/check/gst/gstobject.c:
32         Disable silly racy test that always fails on this combination of CPU
33         and kernel.
34
35 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
36
37         Patch by: Murray Cumming  <murrayc@murrayc.com>
38
39         * gst/gstobject.c:
40           Corrected the registration of the parent-set and parent-unset
41           signals: The parameter is a GstObject, not a GObject (#493134).
42
43 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
44
45         * gst/gst_private.h:
46         * gst/gstbuffer.h:
47         * gst/gstevent.h:
48         * gst/gstformat.h:
49         * gst/gstmessage.h:
50         * gst/gstplugin.h:
51         * gst/gstquery.h:
52         * gst/gsttaglist.h:
53         * gst/gstvalue.h:
54           Move declaration of private _gst_foo_initialize() functions into
55           our private header file where they should have been all along.
56
57 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
58
59         * docs/plugins/gstreamer-plugins-sections.txt:
60         * gst/gstdebugutils.h:
61         * gst/gstxml.h:
62         * plugins/elements/gstqueue.c:
63           gtk-doc fixes; trailing-comma-in-enum fix.
64
65 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
66
67         * gst/gst.c: (gst_deinit):
68           Clean up on deinit (not the external ones though, doesn't seem to be
69           needed for some reason).
70
71 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
72
73         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
74           Remove __declspec(dllimport) for MSVC that was copied over into core
75           from a plugin, obviously without ever having been tested (note the
76           single underscore in _declspec in the initial commit), and that doesn't
77           really make sense.  See #492077.
78
79 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
80
81         * gst/gst.c: (init_post):
82         * gst/gstevent.c: (_gst_event_initialize):
83         * gst/gstquery.c: (_gst_query_initialize):
84         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
85           g_type_class_ref() other types as well, see #349410 and #64764.
86
87         * gst/gstbuffer.c: (_gst_buffer_initialize):
88         * gst/gstmessage.c: (_gst_message_initialize):
89           Simplify existing g_type_class_ref().
90
91 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
92
93         * gst/gstformat.c: (_gst_format_initialize):
94           g_type_class_ref() our GstFormat type to make sure we avoid the
95           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
96           bug #64764. Should fix intermittent tee unit test failures (#474823).
97
98 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
99
100         * tests/check/elements/tee.c: (test_num_buffers):
101           Simplify, simplify, simplify - or not.  Rewrite unit test
102           not to use gst_parse_launch(); allow N sub-streams. Increasing
103           the number of sub-streams seems to reproduce #474823 more easily.
104
105 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
106
107         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
108
109         * gst/gsttrace.c:
110         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
111         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
112         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
113           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
114           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
115           so use _pipe() directly (#492077).
116
117         * win32/common/dirent.c: (_treaddir):
118           Add a couple of casts to make it build without warnings with MSVC.
119
120         * win32/common/libgstreamer.def:
121           Add some more symbols that need to be exported.
122
123 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
124
125         * tests/examples/metadata/read-metadata.c: (message_loop):
126           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
127           arriving in a second or third tag message are added to
128           the tag list as well.
129
130 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
131
132         * libs/gst/base/gstbasesrc.c:
133           Its "Since:" and not "@Since:". And remove an superflous cast.
134
135 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
136
137         * docs/libs/gstreamer-libs-sections.txt:
138         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
139         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
140         (gst_base_sink_get_property), (gst_base_sink_render_object),
141         (gst_base_sink_preroll_object),
142         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
143         (gst_base_sink_change_state):
144         * libs/gst/base/gstbasesink.h:
145         Add a new last-buffer property that contains the last buffer used in
146         basesink for preroll or rendering. useful for making snapshots.
147         API: gst_base_sink_get_last_buffer()
148         API: GstBaseSink::last-buffer
149
150 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
151
152         * docs/gst/running.xml:
153         * gst/gst.c:
154         * gst/gstdebugutils.c:
155         * gst/gstdebugutils.h:
156         * tools/gst-launch.c:
157           Improve bin graph dumping, by using the envvar to specify a path.
158           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
159
160 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
161
162         * plugins/elements/gsttypefindelement.c:
163           (gst_type_find_element_handle_event),
164           (gst_type_find_element_activate):
165           Post special error message if we can't determine the type of a stream
166           because it's empty.
167
168 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
169
170         * docs/gst/running.xml:
171         * gst/gstdebugutils.c:
172           Document new env-var. Add one log-line after dumpng a graph.
173
174 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
175
176         * configure.ac:
177           Ugly hack to put the (recently removed and non-portable, apparently)
178           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
179           GNU ld, because without that 'make check' fails miserably on my debian
180           stable box.  Someone with more knowledge of linker intricacies and
181           portability issues than me fix this properly please.
182
183 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
184
185         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
186         Reset last seen position after flushing so that we don't report the old
187         position anymore.
188
189 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
190
191         * gst/gstelementfactory.c: (gst_element_register):
192         * gst/gsturi.h:
193         Patch from Alessandro Decina adding get_type_full and
194         get_protocols_full private vfuncs to the URIHandler interface
195         to allow bindings to support creating URI handlers. 
196         Partially fixes: #339279
197         API: GstURIHandlerInterface::get_type_full
198         API: GstURIHandlerInterface::get_protocols_full
199
200 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
201
202         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
203         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
204         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
205         Make it so that pads are considered linked until a buffer is pushed
206         and discovered otherwise. This avoids problems with decodebin2 hanging
207         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
208         case.
209
210         Make sure we lock the multiqueue when updating the max-size properties.
211         
212         Fix a crash on Solaris in a debug statement in get_request_pad that
213         passes a NULL string to GST_DEBUG. 
214
215         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
216         (run_output_order_test):
217         Fix the test to allow the first buffer on not-linked pads to come out
218         of sequence while multiqueue discovers that they are not-linked.
219
220 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
221
222         * configure.ac:
223         * libs/gst/check/Makefile.am:
224         Use a custom export symbol regex for libgstcheck, as it needs
225         to export symbols that don't match the standard GStreamer gst_*
226         pattern, and  --export-dynamic is not portable (only works on 
227         GNU ld)
228
229         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
230         (gst_check_setup_sink_pad):
231         Make sure to pass a message parameter to the fail_* macros.
232
233         * tests/check/gst/gstinfo.c: (GST_START_TEST):
234         Fix some compiler warnings.
235
236 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
237
238         * tests/check/gst/gststructure.c: (test_to_string):
239           Disable test that checks that white spaces are not allowed
240           in structure names or field names, since we need to
241           support that for now for backwards compatibility reasons.
242
243 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
244
245         * docs/gst/gstreamer-sections.txt:
246         * gst/gsttaglist.c:
247         * gst/gsttaglist.h:
248           API: add GST_TAG_ARTIST_SORTNAME
249           API: add GST_TAG_ALBUM_SORTNAME
250           API: add GST_TAG_TITLE_SORTNAME
251           Add tag variants for sorting (#414539).
252
253 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
254
255         * gst/gststructure.c:
256           Also allow white space for names so we don't break
257           backwards compatibility.
258
259 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
260
261         * docs/design/part-TODO.txt:
262         * docs/design/part-segments.txt:
263         * docs/design/part-streams.txt:
264         Small updates.
265
266 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
267
268         * docs/gst/gstreamer-sections.txt:
269          Fixed documentation from my previous commit (added new API add
270          gst_value_set_structure(), add gst_value_get_structure() and
271          GST_VALUE_HOLDS_STRUCTURE).
272
273 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
274
275         * gst/gstdebugutils.c:
276           Reflow code to fix uninitialized variable warning.
277
278 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
279
280         * gst/gstcaps.c: (gst_caps_to_string),
281         (gst_caps_from_string_inplace):
282         * gst/gststructure.c: (gst_structure_get_abbrs),
283         (gst_structure_to_string), (gst_structure_from_string):
284         * gst/gstvalue.c: (gst_value_set_structure),
285         (gst_value_get_structure), (gst_value_serialize_structure),
286         (gst_value_deserialize_structure), (_gst_value_initialize):
287         * gst/gstvalue.h:
288         * tests/check/gst/gststructure.c: (GST_START_TEST),
289         (gst_structure_suite):
290         * tests/check/gst/gstvalue.c: (GST_START_TEST):
291          Added GstStructure to gst_value_table and its related functions.
292          Changed gst_structure_to_string to print ';' in the end.
293          Changed gst_caps_to_string to not print ';' beteween its
294          fields (structures) anymore and remove the lastes ';' from latest
295          structure. Now it is possible to have nested structures.
296          In addition, backward compatibilty is assured by accepting '\0' as
297          end delimiter. Fixes: #487969.
298          API: add gst_value_set_structure()
299          API: add gst_value_get_structure()
300          API: add GST_VALUE_HOLDS_STRUCTURE
301
302 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
303
304         * gst/gstbus.c:
305           When no GSource callback has been set up, tell developer
306           to use a function that actually exists.
307
308 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
309
310         * docs/gst/gstreamer-sections.txt:
311         * gst/Makefile.am:
312         * gst/gst.c:
313         * gst/gst.h:
314         * gst/gstdebugutils.c:
315         * gst/gstdebugutils.h:
316         * gst/gstinfo.c:
317         * gst/gstinfo.h:
318         * tools/gst-launch.c:
319           Allow dumping pipelines as dot graphs. Fixes #456573.
320
321 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
322
323         * gst/gststructure.c:
324           Allow '+' as well, it can be part of media or mime types
325           such as image/svg+xml.
326
327 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
328
329         * docs/gst/gstreamer-sections.txt:
330         * gst/gstbus.c:
331         * gst/gstbus.h:
332           API: add gst_bus_pop_filtered
333           API: add gst_bus_timed_pop_filtered
334           Two new functions for waiting for specific message types on the
335           bus for a specified amount of time without iterating any main
336           loops or main contexts.
337
338         * tests/check/gst/gstbus.c:
339           Some tests for the new functions.
340
341 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
342
343         * docs/libs/gstreamer-libs-sections.txt:
344           Make gtk-doc ignore stuff it should ignore.
345
346 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
347
348         * libs/gst/check/gstcheck.c:
349         * libs/gst/check/gstcheck.h:
350           Allow runtime selection of unit tests to run via the GST_CHECKS
351           environment variable (test case function names, comma-separated).
352
353 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
354
355         * gst/gststructure.c:
356         * tests/check/gst/gststructure.c:
357           Revert serialisation change and constrain structure-names after
358           consensus on irc. Update api documentation to reflect the change.
359
360 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
361
362         * gst/gststructure.c:
363           Improve serialization and fix tests.
364
365         * tests/check/gst/gststructure.c:
366           Add another test that covers why I actually did the previous structure
367           change.
368
369 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
370
371         * tools/gst-inspect.c: (print_element_info):
372         Don't crash when inspecting an element.
373
374 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
375
376         * tests/check/gst/gststructure.c:
377           Add unit test for escaping of structure name when serialising
378           and deserialising to/from strings.
379
380 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
381
382         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
383         (gst_single_queue_new):
384         * plugins/elements/gstqueue.c: (gst_queue_init),
385         (gst_queue_push_one):
386         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
387         upstream is tricked into thinking it can suggest a format downstream
388         while downstream does not support that format. The real problem is that
389         core calls acceptcaps when pushing a buffer with new caps, for which we
390         do a little workaround by setting the caps on the srcpad ourselves
391         before pushing the buffer (until this is figured out). Fixes #486758.
392
393 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
394
395         * gst/gststructure.c:
396         * gst/gstvalue.c:
397           Add some more comments and debug output. Quote structure name to fix
398           deserialisation of some strings.
399
400 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
401
402         * gst/gstbuffer.h:
403           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
404           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
405
406 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
407
408         * tools/gst-inspect.c:
409           Save approx. 400 1 byte allocs when printing. Use API to acces element
410           details.
411
412         * tools/gst-run.c:
413           Avoid a strdup.
414
415         * tools/gst-xmlinspect.c:
416           Use API to acces element details.
417
418 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
419
420         * gst/gstinfo.c:
421           Fix some spelling errors.
422
423 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
424
425         * gst/gstbin.c: (bin_handle_async_done):
426         Correctly set the next state if all of our async children commited their
427         state. This makes sure we can actually cancel the state change in
428         progress. Fixes a regression in Rhythmbox when seeking.
429
430 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
431
432         * gst/gstbin.c:
433           Don't shadow local variable.
434
435         * gst/gstinfo.c:
436           Don't shadow global function name.
437
438 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
439
440         * gst/gstelementfactory.c:
441         * gst/gstpluginfeature.c:
442         * gst/gstpluginfeature.h:
443         * gst/gstregistrybinary.c:
444         * gst/gstregistryxml.c:
445         * gst/gsttypefind.c:
446           Use already-interned string for the private GstPluginFeature
447           plugin_name field.
448
449 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
450
451         * docs/libs/gstreamer-libs-sections.txt:
452           Add new API to docs; fixes the build.
453
454 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
455         
456         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
457
458         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
459         (gst_base_sink_event):
460         * libs/gst/base/gstbasesink.h:
461         Add function to wait for EOS, subclasses can use this to correctly wait
462         for devices to drain before performing the EOS logic. Fixes #485343.
463         API: gst_base_sink_wait_eos()
464
465 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
466
467         * gst/gstplugin.h:
468           Cast description string constants in GST_PLUGIN_DEFINE macros
469           to a (gchar*) to make C++ code using these macros compile
470           without warning with g++-4.2 (see #462737).  Even if slightly
471           ugly, this seems preferable to putting the description strings
472           into the GLib quark table or making the structure member a
473           const gchar * and doing casts in core code that allocs and
474           frees these strings, or requiring a cast in the C++ code.
475
476 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
477
478         * gst/gstinfo.h:
479           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
480           to print the entire class/function signature into the log
481           file for C++ code.  This only affects C++ code, for C code
482           everything remains the same.
483
484 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
485
486         * gst/gstbin.c: (remove_from_queue):
487         Work around a problem with pipelines containing (semi)loops until a
488         proper, more complicated solution is ready. See #475455.
489
490 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
491
492         * gst/gstplugin.c:
493         * gst/gstplugin.h:
494         * gst/gstregistrybinary.c:
495         * gst/gstregistryxml.c:
496           Put more strings into the GLib quark table. No need to keep
497           a hundred-something copies of identical version strings,
498           license strings, package name strings and package origin
499           strings around. 
500
501 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
502
503         * docs/manual/advanced-dataaccess.xml:
504           Don't imply that it's okay to unconditionally change
505           buffer data or buffer metadata in a pad probe callback,
506           and a bunch of other comments. Fixes #430031.
507
508 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
509
510         * win32/common/gstenumtypes.c:
511         * win32/common/gstenumtypes.h:
512         * win32/common/gstversion.h:
513           Update generated files.
514
515 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
516
517         * docs/manual/advanced-autoplugging.xml:
518           Prefix section with broken code with a warning (see #342432).
519
520 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
521
522         * docs/manual/appendix-integration.xml:
523         * docs/manual/basics-init.xml:
524           Call g_thread_init() before g_option_context_new() to
525           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
526
527 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
528
529         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
530         (gst_base_sink_queue_object_unlocked),
531         (gst_base_sink_queue_object), (gst_base_sink_event),
532         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
533         When we received EOS and are waiting for when to post the EOS message,
534         our state is prerolled and we should not return ASYNC.
535         Reorganize some code paths to implement this behavior.
536
537         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
538         (gst_sinks_suite):
539         Add unit test to verify above EOS fix.
540
541 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
542
543         * plugins/elements/gsttypefindelement.c:
544         (gst_type_find_element_have_type), (gst_type_find_element_init),
545         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
546         Move detecting the input caps of the sinkpad to the setcaps function.
547         This allows us to update the output caps when we receive new input caps
548         instead of always using the first detected caps.
549
550 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
551
552         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
553         (gst_base_sink_get_position):
554         Don't try to preroll non-async elements after a flush.
555         Subtract latency form clock times when reporting position.
556
557 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
558
559         * gst/gstpad.c: (gst_pad_pause_task):
560         * gst/gstutils.c:
561         Small comment and documentation update.
562
563 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
564
565         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
566         (gst_base_src_set_live), (gst_base_src_is_live),
567         (gst_base_src_query_latency), (gst_base_src_perform_seek),
568         (gst_base_src_default_event), (gst_base_src_wait),
569         (gst_base_src_do_sync), (gst_base_src_get_range),
570         (gst_base_src_pad_get_range), (gst_base_src_loop),
571         (gst_base_src_unlock), (gst_base_src_unlock_stop),
572         (gst_base_src_set_flushing), (gst_base_src_set_playing),
573         (gst_base_src_activate_push), (gst_base_src_activate_pull),
574         (gst_base_src_change_state):
575         Rework the locking of basesrc in a similar fashion to basesink. We
576         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
577         us to handle live sources and semi live ones much better.
578         Simplify flushing.
579         Fix unlocking when seeking, shutting down and pausing in live sources.
580
581 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
582
583         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
584         Fix compilation again.
585
586 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
587
588         * gst/gstelement.c:
589           Use meaningful categories for the logs to clean the default one.
590
591 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
592
593         * tests/check/pipelines/cleanup.c:
594           Print message name and not just number.
595
596 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
597
598         * docs/design/draft-tagreading.txt:
599           Add some more thoughts.
600
601 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
602
603         * tests/check/pipelines/simple-launch-lines.c:
604           Print message name and not just number.
605
606 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
607
608         * libs/gst/base/gsttypefindhelper.c:
609           Speedup typefinding. This is work in progress (see #459862).
610
611 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
612
613         * gst/gstplugin.c:
614           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
615           Spotted by Josep Torra Valles <josep@fluendo.com>.
616
617 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
618
619         * gst/gstclock.h:
620           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
621           field has moved to GstObject.
622
623 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
624
625         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
626         (gst_base_src_get_range), (gst_base_src_change_state):
627         Call unlock for live sources so that they can't get stuck in _create and
628         produce a buffer before they are set back to PLAYING.
629
630 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
631
632         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
633         (gst_queue_locked_dequeue):
634         Comment the segment-related code... in the PROPER function.
635         See #482147 and my commit from yesterday.
636
637 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
638
639         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
640         Also initialize the counter that calculates the first timestamp on a
641         buffer correctly for non-live sources.
642
643 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
644
645         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
646         Disable code that's breaking the current-time-level reporting.
647         See #482147
648
649 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
650
651         * docs/gst/gstreamer-sections.txt:
652         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
653         as they shouldn't show up. Fixes the docs build.
654
655 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
656         
657         * gst/gstinfo.h:
658         Add an explicit variable importation needed on VS6 (only for MSC_VER)
659         Define M_PI which is used in files which are including gstinfo.h. 
660         VS6 includes doesn't define it.
661         * win32/common/libgstbase.def:
662         * win32/common/libgstcontroller.def:
663         * win32/common/libgstreamer.def:
664         Add new exported functions and variables.
665         * win32/vs6/libgstcontroller.dsp:
666         * win32/vs6/libgstreamer.dsp:
667         Update the list of files to build.
668         
669 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
670
671         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
672
673         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
674         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
675         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
676         Improve debugging. Fixes #480858.
677
678 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
679
680         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
681
682         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
683         First patch of code cleanups, use the macros and right arguments in the
684         macros to signal and lock the queue. See #480858.
685
686 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
687
688         * gst/gstbus.c: (poll_func):
689         Improve debugging when dealing with _poll().
690
691 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
692
693         * gst/gstregistryxml.c:
694           Fix memory leak I introduced a few days ago.
695
696 2007-09-26  Michael Smith <msmith@fluendo.com>
697
698         * gst/gstbuffer.c: (gst_buffer_finalize):
699           Make it once again possible to free GstBuffers in the default
700           build.
701           The poisoning scribbles on parts of the miniobject we need in
702           order to free it.
703           Fixes #480341
704
705 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
706
707         * docs/gst/gstreamer-sections.txt:
708         * gst/gsttaglist.c:
709         * gst/gsttaglist.h:
710         API: add GST_TAG_COMPOSER, fixes #459809.
711
712 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
713
714         * gst/gstplugin.c:
715         * gst/gstplugin.h:
716         Add the 3-clause BSD license and the MIT/X11 license to the license
717         list. Fixes #479784.
718
719 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
720
721         * docs/faq/getting.xml:
722           Add Q+A about different GStreamer versions (#364056).
723
724 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
725
726         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
727         (gst_base_sink_event), (gst_base_sink_change_state):
728         Return correct gboolean from query function.
729
730 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
731
732         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
733         (gst_base_sink_event), (gst_base_sink_query),
734         (gst_base_sink_change_state):
735         Simplify latency query.
736         When not synchronizing, we can report latency without querying the peer
737         element.
738
739 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
740
741         * gst/gstobject.h:
742         * gst/gstvalue.c:
743         Fix small typos in the docs.
744
745 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
746
747         * docs/design/draft-latency.txt:
748         * docs/design/draft-push-pull.txt:
749         * docs/design/draft-tagreading.txt:
750         * docs/design/part-MT-refcounting.txt:
751         * docs/design/part-activation.txt:
752         * docs/design/part-block.txt:
753         * docs/design/part-element-source.txt:
754         * docs/design/part-events.txt:
755         * docs/design/part-gstbin.txt:
756         * docs/design/part-gstelement.txt:
757         * docs/design/part-gstobject.txt:
758         * docs/design/part-gstpipeline.txt:
759         * docs/design/part-messages.txt:
760         * docs/design/part-preroll.txt:
761         * docs/design/part-push-pull.txt:
762         * docs/design/part-qos.txt:
763         * docs/design/part-query.txt:
764         * docs/design/part-scheduling.txt:
765         * docs/design/part-seeking.txt:
766         * docs/design/part-segments.txt:
767         * docs/design/part-states.txt:
768         Documentation updates and typo fixes.
769
770 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
771
772         * plugins/elements/gstfakesink.c:
773           Add some debug text to error message to indicate that
774           we errored out on request.
775
776         * tools/gst-launch.c:
777           When the state change to PLAYING fails, check for an
778           error message on the bus and print it.
779
780 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
781
782         translated by: Jorge González González <aloriel@gmail.com>
783
784         * po/LINGUAS:
785         * po/es.po:
786           Added Spanish translation.
787
788 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
789
790         * plugins/elements/gstqueue.c: (gst_queue_push_one):
791         Fix printf arguments.
792
793 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
794
795         * tests/check/generic/states.c:
796           Improved state change unit test.
797
798 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
799
800         * gst/gstbin.h:
801           Move priv to the right place.
802
803         * gst/gstsystemclock.c:
804           Add FIXME: and improve log.
805
806         * tests/check/Makefile.am:
807         * tests/examples/manual/Makefile.am:
808           Work with all types of registries.
809
810 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
811
812         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
813         Don't unref the event after pushing it. Fixes #478401.
814
815 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
816
817         * .cvsignore:
818         * tests/examples/manual/.cvsignore:
819           Ignore registries in any format.
820
821 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
822
823         * gst/glib-compat-private.h:
824           Add compatibility macro for g_intern_string() for
825           GLib-2.8 (any reason we can't just bump the
826           requirement to at least 2.10?)
827
828         * gst/gstpadtemplate.h:
829         * gst/gstelementfactory.c:
830         * gst/gstregistryxml.c:
831         * gst/gstregistrybinary.c:
832           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
833           up the internal code accordingly.  This shouldn't be a problem, since
834           there is no reason external code could ever assume the string in such
835           a structure is dynamically allocated unless it did that itself;  the
836           use of g_strdup() is private to element factories.  The new code also
837           saves some memory by putting pad template name strings into the GLib
838           quark table instead of allocating them dynamically.
839           Declaring this field constant fixes warnings with g++-4.2 when using
840           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
841
842 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
843
844         * gst/gstelementfactory.c:
845           Release static caps. Fixes #475723.
846
847 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
848
849         * gst/gstinfo.c:
850         * gst/gstinfo.h:
851           Make some internal API take const gchar * instead of just
852           gchar * to avoid compiler warnings with g++-4.2.2 when
853           passing string constants (partially fixes #478092).
854
855 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
856
857         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
858         A latency query fails when one of the sinks fail.
859
860         * gst/gstelement.c: (gst_element_set_base_time):
861         Improve debugging.
862
863 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
864
865         * gst/gstbin.c: (gst_bin_continue_func):
866         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
867         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
868         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
869
870         Fix minor compilation warnings shown with Forte.
871
872 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
873
874         * plugins/elements/gstqueue.c: (apply_buffer),
875         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
876         Measure queue level based on the diff between head and tail timestamps
877         even when pushing the first buffer.
878
879 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
880
881         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
882         (gst_base_sink_event), (gst_base_sink_change_state):
883         Sinks that don't preroll can always be queried for the latency.
884         Don't post ASYNC start when we are not async.
885
886 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
887
888         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
889         (gst_queue_handle_sink_event), (gst_queue_chain),
890         (gst_queue_push_one), (gst_queue_handle_src_query),
891         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
892         * plugins/elements/gstqueue.h:
893         When downstream returns UNEXPECTED from pushing a buffer, don't try to
894         push more buffers but allow pushing of EOS and NEWSEGMENT.
895         Add some more debug info here and there. Fixes #476514.
896
897 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
898
899         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
900         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
901         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
902         (gst_base_sink_set_flushing), (gst_base_sink_query),
903         (gst_base_sink_change_state):
904         Latency query is allowed after we are prerolled. Introduce a new flag
905         for this and stop abusing other variables.
906
907 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
908
909         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
910         Push OOB events downstream when we get them in send_event. This allows
911         the application to insert events in the pipeline.
912         Add some more comments.
913
914 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
915
916         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
917         (do_bin_latency), (gst_bin_change_state_func):
918         * gst/gstpipeline.c: (gst_pipeline_change_state):
919         Move latency query from GstPipeline to GstBin so that we can also
920         use it when async-handling is enabled on bins.
921
922 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
923
924         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
925         (gst_base_src_do_sync), (gst_base_src_change_state):
926         Update docs.
927         Clean up the timestamping and syncing code for pseudo live sources.
928
929 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
930
931         Patch by: Steve Fink  <sphink gmail com>
932
933         * docs/manual/appendix-checklist.xml:
934           Mention less -R switch in the section about debug output (#474055).
935
936 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
937
938         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
939         Queue can latency to the pipeline up to the configured max size in time.
940         Report this fact in the latency query.
941
942 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
943
944         Patch by: Sebastien Moutte <sebastien at moutte dot net>
945
946         * libs/gst/controller/gstinterpolation.c:
947         * libs/gst/controller/gstlfocontrolsource.c:
948         Use gst_guint64_to_gdouble() when converting from a uint64 or
949         GstClockTime to double to fix the build on win32. Fixes #474371.
950
951 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
952
953         * gst/gstbuffer.c: (gst_buffer_finalize):
954         Implement poisoning for GstBuffer if --enable-poisoning is specified.
955         When finalizing a buffer the complete struct is filled with 0xff,
956         thus making a use of the buffer after the final unref impossible.
957
958 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
959
960         * tests/check/libs/controller.c: (GST_START_TEST):
961         Use fail_unless_equals_int(a, b) instead of
962         fail_unless_equals (a == b) to get better output on failures.
963
964 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
965
966         * tests/check/gst/gsturi.c:
967           Also check for the other file URI variant on win32.
968
969 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
970
971         * gst/gsturi.c: (gst_uri_get_location):
972           If there's no hostname, we want to return 'c:/foo/bar.txt'
973           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
974
975         * tests/check/gst/gsturi.c:
976           Unit test for the above and a few more things.
977
978 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
979
980         * docs/design/part-live-source.txt:
981         Add docs on how live sources should timestamp.
982
983         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
984         Add some more debug info.
985         For subclasses that are live and like to sync, add aditional startup
986         latency to sync time and timestamps so that we timstamp according to the
987         design doc.
988
989 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * gst/gstbuffer.c:
992           Also do a g_type_class_ref() for the subbuffer type in
993           the init function.
994
995 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
996
997         * docs/gst/gstreamer-sections.txt:
998         * gst/gstpad.c: (gst_pad_peer_query):
999         * gst/gstpad.h:
1000         Add function to perform a query on the peer of a pad.
1001         API: gst_pad_peer_query()
1002
1003 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1004
1005         * tests/check/gst/gstsystemclock.c:
1006           Cleanup the test a little (use gst-logging and not g_message). Improve
1007           test to check if a wait reached the target.
1008
1009 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1010
1011         * docs/libs/gstreamer-libs-sections.txt:
1012           Add new API to docs and fix the build.
1013
1014 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1015
1016         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1017         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1018         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1019         (gst_base_src_get_property), (gst_base_src_do_sync):
1020         * libs/gst/base/gstbasesrc.h:
1021         Add property to make the basesrc timestamp buffers based on the current
1022         running time.
1023         API: GstBaseSrc::do-timestamp
1024         API: gst_base_src_set_do_timestamp()
1025         API: gst_base_src_get_do_timestamp()
1026
1027 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1028
1029         * docs/random/release:
1030           Really make sure translations are up-to-date before
1031           a release (#465010).
1032
1033 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1034
1035         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1036         Always destroy the timer, also in error cases.
1037
1038 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1039
1040         * docs/manual/highlevel-xml.xml:
1041         Fix XML example code. Fixes #472714.
1042
1043 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1044
1045         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1046         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1047         (gst_base_sink_query):
1048         Protect eos and have_preroll with the OBJECT lock so we don't need to
1049         take the PREROLL lock when querying the latency. Fixes #473846.
1050
1051 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1052
1053         * gst/gstelement.c:
1054           Give some log-messages a category.
1055
1056 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1057
1058         * gst/gststructure.c:
1059         (gst_structure_fixate_field_nearest_fraction):
1060         Fix fraction list fixation code. Take the fraction with the smallest
1061         difference with the target instead of the first one in the list.
1062
1063         * tests/check/gst/gststructure.c: (GST_START_TEST),
1064         (gst_structure_suite):
1065         Added test to verify correct fraction list fixation behaviour.
1066
1067 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1068
1069         * win32/common/libgstreamer.def:
1070           Export gst_bus_add_signal_watch too.
1071
1072 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1073
1074         * docs/libs/gstreamer-libs-sections.txt:
1075         Add new methods to docs.
1076
1077         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1078         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1079         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1080         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1081         * libs/gst/base/gstbasesink.h:
1082         Add ts-offset property to fine-tune the synchronisation.
1083         API: GstBaseSink::ts-offset property
1084         API: gst_base_sink_set_ts_offset()
1085         API: gst_base_sink_get_ts_offset()
1086
1087 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1088
1089         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1090         (gst_base_sink_init), (gst_base_sink_set_sync),
1091         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1092         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1093         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1094         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1095         (gst_base_sink_get_property), (gst_base_sink_change_state):
1096         * libs/gst/base/gstbasesink.h:
1097         Add async property to instruct the sink never to inform the parent about
1098         ASYNC state changes, update docs.
1099         Check argument with g_return_* for the public functions.
1100         API: GstBaseSink::async property
1101         API: gst_base_sink_set_async_enabled()
1102         API: gst_base_sink_is_async_enabled()
1103
1104 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1105
1106         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1107         Improve debugging.
1108
1109         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1110         (gst_base_src_default_query), (gst_base_src_wait),
1111         (gst_base_src_do_sync), (gst_base_src_change_state):
1112         Rearrange some code so that we can add support for measuring the 
1113         startup latency.
1114
1115 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1116
1117         * docs/random/ensonic/dynlink.txt:
1118           More thoughs on this.
1119
1120         * plugins/elements/gstcapsfilter.c:
1121           Add bugzilla ticket number to FIXME comment.
1122
1123 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1124
1125         * docs/design/part-TODO.txt:
1126         * docs/design/part-block.txt:
1127         Update some docs.
1128
1129 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1130
1131         * gst/Makefile.am:
1132           Revert patch which uses $(gst_headers) instead of $^ because it
1133           breaks make dist.
1134
1135 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1136
1137         * tests/check/gst/gstbin.c: (GST_START_TEST):
1138           Fix leaks in the new unit test.
1139
1140 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1141
1142         * gst/gst.c:
1143           Don't use GST_INFO before the debug system is actually initialised
1144           (shouldn't do any harm, but won't print anything either, so we can
1145           just as well remove it).
1146
1147         * gst/gstinfo.h:
1148           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1149           compilers that don't support variadic macros (such as MSVC), should
1150           check for debug_level <= __gst_debug_min as well, since that's the
1151           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1152           inline helper functions. Should improve performance a bit, but also
1153           makes sure uses of GST_INFO et.al are ignored if the debugging
1154           system isn't initialised yet (instead of printing an assertion
1155           failure).
1156
1157 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1158
1159         patch by: David Nečas <yeti@physics.muni.cz>
1160
1161         * gst/Makefile.am:
1162           Replace some non portable makefile constructs.
1163
1164 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1165
1166         * common/gtk-doc-plugins.mak:
1167           Grrrrr. Don't remove the types file on make clean.
1168
1169 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1170
1171         * tools/gst-launch.1.in:
1172         Add colorspace to example pipeline. Fixes #458274.
1173
1174 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1175
1176         * docs/random/release:
1177           The release manager should run 'make download-po' before making a
1178           release to make sure translations are up-to-date.
1179
1180         * po/LINGUAS:
1181         * po/be.po:
1182         * po/pl.po:
1183         * po/rw.po:
1184           Add some new translations.
1185
1186 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1187
1188         * tools/gst-launch.c: (event_loop), (main):
1189         Don´t try to do any state management when a live pipeline posts
1190         buffering messages.
1191         Also make the buffering string translatable.
1192
1193 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1194
1195         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1196         (bin_handle_async_start), (gst_bin_handle_message_func):
1197         Improve debugging.
1198         When adding elements, insert messages into the bus of the newly added
1199         element and make sure the element is the source of the message. This
1200         allows the parent bin to intercept the message and do the
1201         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1202         messages to the app (which is not allowed).
1203         Update some docs.
1204
1205         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1206         Fix testsuite so that is does not work around messages that should not
1207         have been posted in the first place.
1208
1209 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1210
1211         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1212         (update_degree), (gst_bin_sort_iterator_next):
1213         Fix annoying bug in the sorted iterator where a sink that is not really
1214         a sink (when it has downstream links) screwed up the iterator.
1215
1216         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1217         Unit test to verify the fix.
1218
1219 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1220
1221         * gst/gstmessage.h:
1222         Add some more docs for the messages.
1223
1224         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1225         (gst_base_sink_query):
1226         Add some more debugging.
1227
1228         * tools/gst-launch.c: (event_loop):
1229         When interrupting, don't try to set pipeline to PAUSED twice.
1230
1231 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1232
1233         
1234         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1235         (bin_handle_async_start), (gst_bin_handle_message_func):
1236         Move ASYNC_START message posting to where it belongs, similar to
1237         async_done. 
1238         Don't post ASYNC_START when we are in error. 
1239         Post ASYNC_START when we added an async element to a bin.
1240
1241 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1242
1243         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1244         generation from vargs. Fixes #466595.
1245
1246 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1247
1248         * gst/gstbin.c: (gst_bin_element_set_state):
1249         Always change the state of a NO_PREROLL element even if it has ASYNC
1250         elements inside (in case of a bin).
1251
1252         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1253         Unit test for this case.
1254
1255 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1256
1257         * libs/gst/check/gstbufferstraw.c:
1258         * libs/gst/check/gstcheck.h:
1259         * libs/gst/controller/gstcontroller.c:
1260         * libs/gst/controller/gstcontrolsource.h:
1261         * libs/gst/controller/gstlfocontrolsource.h:
1262         * plugins/elements/gstcapsfilter.h:
1263         * plugins/elements/gstfdsink.h:
1264         * plugins/elements/gstfdsrc.h:
1265           Add more missing docs.
1266
1267 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1268
1269         * gst/gststructure.c:
1270         Add Since tag to docs.
1271
1272 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1273
1274         * docs/gst/gstreamer-sections.txt:
1275         * gst/gststructure.c: (gst_structure_get_uint):
1276         * gst/gststructure.h:
1277         Add function to get uint from a structure.
1278         API: gst_structure_get_uint()
1279
1280 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1281
1282         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1283         (gst_caps_intersect):
1284         Fix proper check for simple caps.
1285
1286 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * docs/gst/Makefile.am:
1289         * docs/libs/Makefile.am:
1290           Remove cruft and do some cleanups.
1291
1292         * docs/gst/gstreamer-docs.sgml:
1293         * docs/libs/gstreamer-libs-docs.sgml:
1294           Prepare for comming gtkdoc features (rebase against online docs).
1295
1296 2007-08-10  Michael Smith <msmith@fluendo.com>
1297
1298         * docs/gst/gstreamer-sections.txt:
1299           Add gst_registry_add_path to docs.
1300
1301 2007-08-10  Michael Smith <msmith@fluendo.com>
1302
1303         * gst/gstregistry.h:
1304           Add gst_registry_add_path, which was missing from this header.
1305
1306 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1307
1308         * libs/gst/controller/gstlfocontrolsource.c:
1309           Printf format fix.
1310
1311 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1312
1313         * libs/gst/base/gstbasesink.c:
1314           Don't send an async_start message during downwards state change if 
1315           target state is less than READY
1316
1317 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1318
1319         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1320
1321         * po/LINGUAS:
1322         * po/hu.po:
1323           Added Hungarian translation.
1324
1325 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1326
1327         * po/fi.po:
1328         * po/it.po:
1329         * po/nl.po:
1330         * po/sv.po:
1331         * po/uk.po:
1332           Updated translations.
1333
1334 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1335
1336         * libs/gst/controller/Makefile.am:
1337         Dist gstlfocontrolsourceprivate.h
1338
1339 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1340
1341         * docs/libs/gstreamer-libs.types:
1342         Don't register the enum type gst_lfo_waveform_get_type() in the
1343         .types file - only GObject derived types belong.
1344
1345 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1346
1347         Patch by: <arenevier at fdn dot fr>
1348
1349         * gst/gstbuffer.h:
1350         Remove comma from last element in enum to avoid compile errors when
1351         using -pendantic. Fixes #464366.
1352
1353 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1354
1355         * docs/design/part-TODO.txt:
1356         Add some more TODO items
1357
1358         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1359         Improve debugging.
1360
1361         * gst/gstcaps.c: (gst_caps_intersect):
1362         Optimize trivial intersection case between identical caps pointers.
1363
1364         * gst/gstelement.c: (gst_element_continue_state),
1365         (gst_element_set_state_func):
1366         * gst/gstpad.c:
1367         Fix spelling and grammar mistakes.
1368
1369 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * po/POTFILES.in:
1372         * po/POTFILES.skip:
1373           Update POTFILES. Fixes #461599.
1374
1375 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1376
1377         * gst/gst.c:
1378         Fix confusing typo in debug output.
1379
1380 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1381
1382         reviewed by: Stefan Kost <ensonic@users.sf.net>
1383
1384         * libs/gst/controller/Makefile.am:
1385         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1386         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1387         (gst_lfo_control_source_new),
1388         (gst_lfo_control_source_set_waveform),
1389         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1390         (gst_lfo_control_source_finalize),
1391         (gst_lfo_control_source_dispose),
1392         (gst_lfo_control_source_set_property),
1393         (gst_lfo_control_source_get_property),
1394         (gst_lfo_control_source_class_init):
1395         * libs/gst/controller/gstlfocontrolsource.h:
1396         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1397         API: Add GstLFOControlSource, a control source that gives values
1398         for specific timestamps based on several periodic waveforms.
1399         Fixes #459717.
1400
1401         * tests/check/libs/controller.c: (GST_START_TEST),
1402         (gst_controller_suite):
1403         * docs/libs/gstreamer-libs-docs.sgml:
1404         * docs/libs/gstreamer-libs-sections.txt:
1405         * docs/libs/gstreamer-libs.types:
1406         Add documentation and unit tests for GstLFOControlSource.
1407
1408 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1409
1410         * configure.ac:
1411         Back to CVS
1412
1413 === release 0.10.14 ===
1414
1415 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1416
1417         * configure.ac:
1418           releasing 0.10.14, "Breathing Vacuum"
1419
1420 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1421
1422         * gst/gstelement.c: (gst_element_class_set_details_simple):
1423         * gst/gstelement.h:
1424           Make strings passed to gst_element_class_set_details_simple()
1425           constant, as they should be (#462752).
1426
1427 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1428
1429         * gst/gstbin.c: (gst_bin_change_state_func),
1430         (bin_handle_async_done), (gst_bin_handle_message_func):
1431         Don't forget about the fact that some element went ASYNC even after a
1432         resync. This makes us post the ASYNC_DONE message correctly.
1433         Fixes #462558.
1434
1435 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1436
1437         * gst/gstregistry.c: (gst_registry_add_feature):
1438         When replacing an existing feature in the registry, make sure to
1439         continue holding a reference until we've replaced the name string
1440         within our feature hash table. Make sure to use g_hash_table_replace
1441         instead of g_hash_table_insert to ensure the new name string is used
1442         as a key instead of the old one that we're about to free.
1443         Fixes: #462085
1444
1445 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1446
1447         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1448         (gst_plugin_feature_set_name):
1449         Revert patch from #459466 until after the release and we can work
1450         out exactly what the problem is (if any).
1451
1452 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1453
1454         * docs/gst/gstreamer-sections.txt:
1455         * gst/gsttaglist.c:
1456         * gst/gsttaglist.h:
1457           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1458
1459 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1460
1461         * docs/libs/Makefile.am:
1462         Include our build-prefix libs and includes before the generic ones to
1463         avoid linking against the installed libs when we want the build-tree
1464         ones.
1465
1466 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1467
1468         Patch by: Steve Fink  <sphink gmail com>
1469
1470         * docs/pwg/building-testapp.xml:
1471           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1472           if people try to build or install the example from the plugin
1473           template against a GStreamer from package using the configure
1474           defaults.
1475
1476 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1477
1478         Patch by: Steve Fink  <sphink gmail com>
1479
1480         * tools/gst-inspect.1.in:
1481           Document --print-all and --print-plugin-auto-install-info command
1482           line options in man page.
1483
1484 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1485
1486         * docs/gst/gstreamer-sections.txt:
1487         Add docs for new api function.
1488
1489 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1490
1491         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1492         * gst/gstelementfactory.h:
1493         API: gst_element_factory_has_interface()
1494         Added method to check if an element factory implements a named
1495         interface.
1496
1497 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1498
1499         * configure.ac:
1500         * docs/gst/gstreamer.types.in:
1501           Another conditional doc check.
1502
1503         * gst/gstmessage.c:
1504         * gst/gstparamspecs.h:
1505         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1506         * gst/gstvalue.c:
1507         * gst/gstxml.h:
1508           API-doc fixes.
1509
1510 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1511
1512         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1513         (gst_registry_binary_load_feature),
1514         (gst_registry_binary_load_plugin),
1515         (gst_registry_binary_read_cache):
1516           Print error just once and with additional info.
1517
1518 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1519
1520         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1521         (helper_find_suggest), (helper_find_get_length),
1522         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1523         (gst_type_find_helper_for_buffer):
1524           Cleanup the typefindhelper code and add private doc comments.
1525
1526 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1527
1528         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1529         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1530         Fix capsfilter for cases where the caps set on capsfilter will provide
1531         additional information.
1532         Fixes #449197
1533
1534 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1535
1536         * gst/gsttypefindfactory.c:
1537           Fix docs that recommened wrong function to use.
1538
1539 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1540
1541         * tools/gst-inspect.c: (print_plugin_features):
1542           Also give media-type for typefinders in element output.
1543
1544 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1545
1546         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1547         (gst_registry_remove_features_for_plugin_unlocked),
1548         (gst_registry_add_feature), (gst_registry_remove_feature),
1549         (gst_registry_lookup_feature_locked):
1550         * gst/gstregistry.h:
1551           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1552           Fixes #459501.
1553
1554 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1557         (gst_plugin_feature_set_name):
1558           Avoid double memory usage for pluginfeature names. Fixes #459466.
1559
1560 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1561
1562         * gst/gstpad.h:
1563           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1564           driving the pipeline may need to explicitly check for NOT_LINKED as
1565           well, since IS_FATAL doesn't cover that.
1566
1567 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1568
1569         * docs/pwg/advanced-types.xml:
1570           Fix typo and duplicate entry in video formats list.
1571
1572 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1573
1574         * libs/gst/controller/gstinterpolation.c:
1575         Also round to the nearest int when using cubic interpolation.
1576
1577 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1578
1579         * libs/gst/controller/gstinterpolation.c:
1580         When linearly interpolating integer types, round to the nearest int
1581         by adding 0.5. Don't do it for float/double types.
1582         Fixes the failing controller test on my machine, which is somehow
1583         rounding differently than on the buildbots.
1584
1585 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1586
1587         * tools/gst-plot-timeline.py:
1588           Better log parsing (categories can have -). Adjust text vs. lines, so
1589           that they span the same y-range.        
1590
1591 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1592
1593         * docs/random/ensonic/audiobaseclasses.txt:
1594         * docs/random/ensonic/dynlink.txt:
1595         * docs/random/ensonic/profiling.txt:
1596           Save my thoughts.
1597
1598         * docs/random/moving-plugins:
1599           Add note to use g_assert type macros.
1600
1601 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1602
1603         * configure.ac:
1604         * libs/gst/check/Makefile.am:
1605           Add libm check as we use in for plugins.
1606
1607 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1608
1609         * gst/gstbin.c: (gst_bin_continue_func):
1610         Check that the state_cookie hasn't changed since the continue_func
1611         was scheduled. Avoids problems where the state changes back to
1612         something it shouldn't be because it was changed in the meantime.
1613
1614 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1615
1616         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1617         (gst_registry_binary_save_string),
1618         (gst_registry_binary_save_pad_template),
1619         (gst_registry_binary_save_feature),
1620         (gst_registry_binary_save_plugin),
1621         (gst_registry_binary_load_feature),
1622         (gst_registry_binary_load_plugin),
1623         (gst_registry_binary_read_cache):
1624           Fix memory leak. Be less verbose in the log.
1625
1626 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1627
1628         * tests/check/elements/.cvsignore:
1629         Add file to cvsignore as commanded.
1630
1631 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1632
1633         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1634         (mq_dummypad_event), (run_output_order_test):
1635         Use a GStaticMutex to protect all cases where libcheck
1636         fail_if/fail_unless macros might be called from multiple threads
1637         simultaneously to avoid errors like:
1638           "check_pack.c:107: :-1081725400:Bad message type arg"
1639
1640 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1641
1642         * tests/check/pipelines/stress.c: (GST_START_TEST):
1643         Make sure we set the pipeline back to the NULL state before
1644         dropping our final reference.
1645
1646 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1647
1648         * tests/check/elements/tee.c: (GST_START_TEST):
1649         Make the tee stress-test a little less stressful so it doesn't just
1650         time out on slow-machines, and remove a small race when it's starting 
1651         up by adding a get_state() call.
1652
1653 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1654
1655         * gst/gst.c:
1656           Avoid reading registry twice on startup. Fixes #457322.
1657
1658 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1659
1660         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1661         * pkgconfig/gstreamer-check.pc.in:
1662         Substitute the CFLAGS for libcheck into our .pc file too so that
1663         dependent modules will pick it up properly if libcheck is installed
1664         into some other prefix.
1665
1666 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1667
1668         * configure.ac:
1669         Revert the pkg-config check for libcheck, since it pulls in the
1670         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1671         a proper solution, either from the check project, or something else.
1672
1673 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * configure.ac:
1676           Use pkg-config to locate check.
1677
1678 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1679
1680         * gst/gsttaglist.c:
1681           Fix doc syntax.
1682
1683         * gst/gstutils.c:
1684         * gst/gstutils.h:
1685           Add deprecation guards.
1686
1687         * libs/gst/base/gstcollectpads.h:
1688           Don't document object (this is implicitly private).
1689
1690 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1691
1692         * gst/gststructure.c: (gst_structure_parse_value):
1693           When deserialising foo=bar without a type cast, check if it's a
1694           boolean before falling back to a string type, otherwise things like
1695           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1696           because the filtercaps end up having a signed=(string)true field,
1697           which causes problems later when intersection caps.
1698
1699         * tests/check/gst/gststructure.c: (GST_START_TEST):
1700           Add a unit test for this.
1701
1702 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1703
1704         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1705
1706         * libs/gst/controller/Makefile.am:
1707         * libs/gst/controller/gstcontroller.c:
1708         (gst_controlled_property_add_interpolation_control_source),
1709         (gst_controlled_property_new), (gst_controlled_property_free),
1710         (gst_controller_find_controlled_property),
1711         (gst_controller_new_valist), (gst_controller_new_list),
1712         (gst_controller_new), (gst_controller_remove_properties_valist),
1713         (gst_controller_remove_properties_list),
1714         (gst_controller_remove_properties),
1715         (gst_controller_set_property_disabled),
1716         (gst_controller_set_disabled), (gst_controller_set_control_source),
1717         (gst_controller_get_control_source), (gst_controller_get),
1718         (gst_controller_sync_values), (gst_controller_get_value_array),
1719         (_gst_controller_dispose), (gst_controller_get_type),
1720         (gst_controlled_property_set_interpolation_mode),
1721         (gst_controller_set), (gst_controller_set_from_list),
1722         (gst_controller_unset), (gst_controller_unset_all),
1723         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1724         * libs/gst/controller/gstcontroller.h:
1725         * libs/gst/controller/gstcontrollerprivate.h:
1726         * libs/gst/controller/gstcontrolsource.c:
1727         (gst_control_source_class_init), (gst_control_source_init),
1728         (gst_control_source_get_value),
1729         (gst_control_source_get_value_array), (gst_control_source_bind):
1730         * libs/gst/controller/gstcontrolsource.h:
1731         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1732         (gst_object_get_control_source):
1733         * libs/gst/controller/gstinterpolation.c:
1734         (gst_interpolation_control_source_find_control_point_node),
1735         (gst_interpolation_control_source_get_first_value),
1736         (_interpolate_none_get), (interpolate_none_get),
1737         (interpolate_none_get_boolean_value_array),
1738         (interpolate_none_get_enum_value_array),
1739         (interpolate_none_get_string_value_array),
1740         (_interpolate_trigger_get), (interpolate_trigger_get),
1741         (interpolate_trigger_get_boolean_value_array),
1742         (interpolate_trigger_get_enum_value_array),
1743         (interpolate_trigger_get_string_value_array):
1744         * libs/gst/controller/gstinterpolationcontrolsource.c:
1745         (gst_control_point_free), (gst_interpolation_control_source_reset),
1746         (gst_interpolation_control_source_new),
1747         (gst_interpolation_control_source_set_interpolation_mode),
1748         (gst_interpolation_control_source_bind),
1749         (gst_control_point_compare), (gst_control_point_find),
1750         (gst_interpolation_control_source_set_internal),
1751         (gst_interpolation_control_source_set),
1752         (gst_interpolation_control_source_set_from_list),
1753         (gst_interpolation_control_source_unset),
1754         (gst_interpolation_control_source_unset_all),
1755         (gst_interpolation_control_source_get_all),
1756         (gst_interpolation_control_source_get_count),
1757         (gst_interpolation_control_source_init),
1758         (gst_interpolation_control_source_finalize),
1759         (gst_interpolation_control_source_dispose),
1760         (gst_interpolation_control_source_class_init):
1761         * libs/gst/controller/gstinterpolationcontrolsource.h:
1762         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1763         API: Refactor GstController into the core controller which can take
1764         a GstControlSource for providing actual values for timestamps.
1765         Implement a interpolation control source and use this for backward
1766         compatibility, deprecate a bunch of functions that are now handled
1767         by GstControlSource or GstInterpolationControlSource.
1768         Make it possible to disable the controller completely or only for
1769         specific properties. Fixes #450711.
1770         * docs/libs/gstreamer-libs-docs.sgml:
1771         * docs/libs/gstreamer-libs-sections.txt:
1772         * docs/libs/gstreamer-libs.types:
1773         Add new functions and classes to the docs.
1774         * tests/check/libs/controller.c: (GST_START_TEST),
1775         (gst_controller_suite):
1776         * tests/examples/controller/audio-example.c: (main):
1777         Port unit test and example to the new API and add some new
1778         unit tests.
1779
1780 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1781
1782         Patch by: Mark Nauwelaerts <manauw at skynet be>
1783
1784         * plugins/elements/gstmultiqueue.c:
1785         (gst_multi_queue_get_internal_links), (apply_buffer),
1786         (single_queue_overrun_cb), (gst_single_queue_new):
1787         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1788         the pipeline layout can be tracked correctly. Fixes #453732.
1789
1790 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * docs/gst/Makefile.am:
1793         * docs/libs/Makefile.am:
1794         * docs/plugins/Makefile.am:
1795           Simplify --extra-dir as gtkdoc scans recursively.
1796
1797 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1798
1799         * tools/gst-launch.c: (main):
1800         When we got an error, there is no point in waiting for preroll when
1801         shutting down.
1802
1803 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1804
1805         * plugins/elements/gsttee.c: (gst_tee_base_init),
1806         (gst_tee_request_new_pad), (gst_tee_release_pad),
1807         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1808         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1809         (gst_tee_chain):
1810         Be a lot smarter when deciding what srcpad to use for proxying
1811         the buffer_alloc. Also handle pad added/removed when doing so.
1812         Fixes #357959.
1813         Keep track of what pads we already pushed on in case we have pads
1814         added/removed while pushing. Fixes #374639 
1815
1816         * tests/check/Makefile.am:
1817         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1818         (tee_suite):
1819         Added unit test for pad resync.
1820
1821 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1822
1823         * po/nl.po:
1824         * po/sv.po:
1825           Updated translations.
1826
1827 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1828
1829         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1830
1831         * po/LINGUAS:
1832         * po/fi.po:
1833           Added new Finnish translation.
1834
1835 2007-06-28  Wim Taymans  <wim@fluendo.com>
1836
1837         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1838         (single_queue_overrun_cb):
1839         When figuring out when a queue is filled, use our internal time estimate
1840         based on segments, just like check_full does.
1841
1842 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1843
1844         * gst/gstminiobject.c: (gst_mini_object_get_type):
1845           Remove 3 do-nothing methods.
1846
1847 2007-06-27  Wim Taymans  <wim@fluendo.com>
1848
1849         Patch by: Tim Angus <tim at ngus dot net>
1850
1851         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1852         (gst_capsfilter_set_property):
1853         Take a reference instead of a copy when setting "caps".
1854         Fix documentation to clarify this behaviour. Fixes #449414.
1855
1856 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1857
1858         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1859         * gst/gstplugin.c: (gst_plugin_init):
1860         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1861         * gst/gstquery.c: (gst_query_get_type):
1862         * gst/gstregistry.c: (gst_registry_init):
1863         * gst/gsturi.c: (gst_uri_handler_base_init):
1864           Remove empty instance_init() functions to save relocs and lessen the
1865           noise. Remove some of the function prototypes that are doubled by
1866           G_DEFINE_TYPE.
1867           
1868 2007-06-27  Wim Taymans  <wim@fluendo.com>
1869
1870         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1871
1872         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1873         Add peer and direction in the XML serialisation of ghostpads.
1874         Fixes #449226.
1875
1876 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * configure.ac:
1879           Preserve useful information, thanks Tim.
1880
1881 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
1882
1883         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1884         (gst_single_queue_flush), (apply_segment), (apply_buffer),
1885         (gst_single_queue_push_one), (gst_multi_queue_loop),
1886         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1887         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1888         (compute_high_id), (gst_single_queue_new):
1889         * plugins/elements/gstmultiqueue.h:
1890         Take the multiqueue lock when updating the fill level so we don't get
1891         confused. 
1892
1893         After applying a buffer or event on the src pad segment, make sure to
1894         call gst_data_queue_limits_changed() to get the data queue to unblock
1895         and check the filled state again.
1896         
1897         Rework the not-linked pad handling so the logic is that not-linked 
1898         pads can push as fast as they like, but only so they never get 
1899         ahead of any linked pads.
1900
1901         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1902         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1903         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1904
1905         Add a test to check that not-linked pads always stay behind
1906         linked pads.
1907
1908         Fixes: #430682
1909
1910 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
1911
1912         * docs/random/release:
1913           Some updates to the release procedure.
1914
1915 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1916
1917         * gst/gstelementfactory.c: (__gst_element_details_clear):
1918           Microoptimization that saves stunning 80 bytes.
1919
1920 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
1921
1922         * docs/plugins/gstreamer-plugins.args:
1923         * docs/plugins/inspect/plugin-coreelements.xml:
1924         * docs/plugins/inspect/plugin-coreindexers.xml:
1925           Update docs with caps info.
1926
1927 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1928
1929         * po/it.po:
1930           Updated Italian translation.
1931
1932 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1933
1934         * ChangeLog:
1935         * po/vi.po:
1936           Update Vietnamese translations.
1937
1938 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1939
1940         * libs/gst/base/gstbasesink.c:
1941           Remove unused signal enum.
1942
1943 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1944
1945         * docs/gst/gstreamer-sections.txt:
1946         * gst/gstelement.c:
1947         * gst/gstutils.c: (gst_type_register_static_full):
1948         Beef up and include the docs for gst_type_register_static_full and
1949         gst_element_class_set_details_simple and add the API keyword
1950         in the ChangeLog.
1951
1952 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1953
1954         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1955         (update_time_level), (gst_single_queue_push_one),
1956         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1957         (single_queue_overrun_cb), (single_queue_underrun_cb),
1958         (single_queue_check_full):
1959         Fix setting max-* properties after adding queues.
1960         Use IS_FILLED for checking visible items.
1961         Signal overrun if multiple queues overrun.
1962         Add extra debug output.
1963         Patch by: Wim Taymans <wim@fluendo.com>
1964
1965 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
1966
1967         * gst/gstelement.c: (gst_element_class_set_details_simple):
1968         * gst/gstelement.h:
1969         * gst/gstutils.c: (gst_type_register_static_full):
1970         * gst/gstutils.h:
1971         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1972         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1973         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1974         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1975         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1976         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1977         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1978         * plugins/elements/gstidentity.c: (gst_identity_base_init):
1979         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1980         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1981         (apply_buffer), (gst_queue_chain):
1982         * plugins/elements/gsttee.c: (gst_tee_base_init):
1983         * plugins/elements/gsttypefindelement.c:
1984         (gst_type_find_element_base_init),
1985         (gst_type_find_element_class_init):
1986           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1987           API: add gst_type_register_static_full
1988           API: add gst_element_class_set_details_simple
1989
1990 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1991
1992         * docs/pwg/advanced-types.xml:
1993           Fix typo in iana.org URI.
1994
1995 2007-06-19  Andy Wingo  <wingo@pobox.com>
1996
1997         * tests/check/pipelines/simple-launch-lines.c
1998         (test_state_change_returns): Enable pull-mode tests now that
1999         basesink has been fixed.
2000
2001         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2002         Changed from gst_base_sink_is_prerolled, reversing the sense of
2003         the return value. Returns FALSE also if the sink is in pull mode,
2004         in which case it needs no preroll.
2005         (gst_base_sink_query, gst_base_sink_change_state): Update for
2006         needs_preroll change.
2007         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2008         chaining up, in which we return SUCCESS directly if we activated
2009         in pull mode instead of ASYNC. Involves countering an async_start
2010         message sent before chaining up; not sure if this is correct, in
2011         an ideal world we only send async-start when activating in push
2012         mode.
2013
2014         * tests/check/pipelines/simple-launch-lines.c
2015         (test_state_change_returns): New test, partially disabled until
2016         basesink is fixed.
2017
2018 2007-06-19  Wim Taymans  <wim@fluendo.com>
2019
2020         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2021         (gst_multi_queue_sink_event):
2022         Fix event leak.
2023
2024 2007-06-19  Wim Taymans  <wim@fluendo.com>
2025
2026         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2027         (gst_bin_change_state_func), (bin_push_state_continue),
2028         (bin_handle_async_start), (bin_handle_async_done),
2029         (gst_bin_handle_message_func):
2030         Move the common code for posting state-change messages into
2031         one function.
2032         Broadcast the state signal after we posted the messages.
2033         Mark the bin as busy when it's doing a state-change.
2034         Make sure async-start/done messages don't interfere with the bin's
2035         state when it's busy.
2036         After the state change, let the bin check which elements completed the
2037         state change while it was busy so that it can update its state.
2038
2039 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2040
2041         * docs/random/release:
2042         Add a note about updating the doap file to the release checklist
2043
2044 2007-06-18  Wim Taymans  <wim@fluendo.com>
2045
2046         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2047         (gst_single_queue_push_one), (gst_multi_queue_chain),
2048         (gst_multi_queue_sink_event):
2049         Make sure we don't reference the buffer/event after we have given away
2050         ownership in the queue.
2051
2052 2007-06-18  Wim Taymans  <wim@fluendo.com>
2053
2054         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2055         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2056         Update queue state _after_ adding the item in the queue because else we
2057         could end up being full without the element added yet.
2058
2059 2007-06-18  Wim Taymans  <wim@fluendo.com>
2060
2061         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2062         (gst_bin_remove_func), (gst_bin_get_state_func),
2063         (gst_bin_element_set_state), (gst_bin_continue_func),
2064         (bin_push_state_continue), (bin_handle_async_start),
2065         (bin_handle_async_done), (gst_bin_handle_message_func):
2066         * gst/gstbin.h:
2067         Immediatly commit the toplevel bin state when receiving an async-done
2068         message. This enables us to avoid spawning a thread to commit the state
2069         in some common cases and it also avoids some races.
2070         Avoid spawning a state thread when adding/removing async elements to a
2071         toplevel bin. Instead we immediatly update the bin state.
2072         Get rid of iterating all the children when getting the state in the bin
2073         because it is now always up-to-date.
2074         Fix bug where locked elements would always return _SUCCESS even it they
2075         returned NO_PREROLL before being locked.
2076         Fix the order of the state_change, async-start/done messages that was
2077         sometimes incorrect.
2078         Mark the state_dirty field as deprecated, we don't need it anymore as we
2079         are always up-to-date.
2080
2081         * gst/gstelement.c: (gst_element_get_state_func),
2082         (gst_element_continue_state):
2083         Small debug inprovements.
2084         Return the previous element state return when nothing is pending instead
2085         of blindly returning SUCCESS.
2086
2087         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2088         (gst_sinks_suite):
2089         Add a whole bunch of new testcases.
2090
2091 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2092
2093         * po/uk.po:
2094         * po/vi.po:
2095           Update translations.
2096
2097 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2098
2099         * gst/gstpad.c:
2100         Fix typo in the docs.
2101
2102 2007-06-15  Wim Taymans  <wim@fluendo.com>
2103
2104         * docs/libs/gstreamer-libs-sections.txt:
2105         Add docs for new methods.
2106
2107 2007-06-15  Wim Taymans  <wim@fluendo.com>
2108
2109         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2110         (gst_multi_queue_item_new):
2111         Don't use GSlice because we don't depend on >= 2.10 yet.
2112
2113 2007-06-15  Wim Taymans  <wim@fluendo.com>
2114
2115         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2116         (update_time_level), (apply_segment), (apply_buffer),
2117         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2118         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2119         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2120         (single_queue_underrun_cb), (single_queue_check_full):
2121         Remove debug printf.
2122
2123 2007-06-15  Wim Taymans  <wim@fluendo.com>
2124
2125         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2126         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2127         (gst_data_queue_set_flushing), (gst_data_queue_push),
2128         (gst_data_queue_pop), (gst_data_queue_drop_head),
2129         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2130         * libs/gst/base/gstdataqueue.h:
2131         Various cleanups.
2132         Added methods to get the current levels and to inform the queue that the
2133         'full' limits changed.
2134
2135         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2136         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2137         (gst_single_queue_flush), (update_time_level), (apply_segment),
2138         (apply_buffer), (gst_single_queue_push_one),
2139         (gst_multi_queue_item_steal_object),
2140         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2141         (gst_multi_queue_loop), (gst_multi_queue_chain),
2142         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2143         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2144         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2145         (single_queue_underrun_cb), (single_queue_check_full),
2146         (gst_single_queue_new):
2147         Keep track of time in the queue by measuring the difference between
2148         running_time on input and output. This gives more accurate results and
2149         can compensate for segments correctly.
2150         Make a queue by default only 5 buffers deep. We will now increase the
2151         buffer size depending on the filledness of the other queues.
2152         Factor out commong flush code.
2153         Make sure we don't add additional refcounts to buffers when we can avoid
2154         it.
2155         Propagate GstFlowReturn differently.
2156         Use GSlice for intermediate GstMultiQueueItems.
2157         Keep track of EOS.
2158         Resize queues on over and underruns based on filled level of other
2159         queues.
2160         When checking if the queue is filled, prefer to measure in time if we
2161         can and fall back to bytes when no time is known.
2162
2163         * plugins/elements/gstqueue.c:
2164         Fix return value.
2165
2166 2007-06-15  Wim Taymans  <wim@fluendo.com>
2167
2168         * libs/gst/base/gstbasetransform.c:
2169         (gst_base_transform_sink_event):
2170         Work around the brokenness of the event vmethod in basetransform. Prefer
2171         to return TRUE when the subclass returned FALSE (meaning don't forward
2172         the event). 
2173
2174         * libs/gst/base/gstbasetransform.h:
2175         Clarify the docs.
2176
2177 2007-06-15  Wim Taymans  <wim@fluendo.com>
2178
2179         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2180         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2181         (gst_base_src_default_query), (gst_base_src_get_range),
2182         (gst_base_src_start):
2183         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2184         Improve debugging.
2185
2186 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2187
2188         * docs/pwg/advanced-types.xml:
2189           Added more formats to caps table.
2190
2191 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2192
2193         * tools/gst-launch.c: (main):
2194           Remove crufy code. GOption does not need this workaround.
2195
2196 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2197
2198         * libs/gst/controller/gstcontroller.c:
2199         (gst_controlled_property_set_interpolation_mode):
2200           Fix wrong getter for enums in controller.
2201
2202 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2203
2204         * libs/gst/check/gstcheck.c: (gst_check_init):
2205           Intercept criticals and warnings in the Gst-Phonon log domain, so
2206           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2207           well.
2208         
2209 2007-06-14  Edward Hervey  <edward@fluendo.com>
2210
2211         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2212         Since this file doesn't include "gst.h" it will not go through the
2213         macros that disable GST_LOG if debugging was disabled.
2214
2215 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2216
2217         * libs/gst/check/Makefile.am:
2218         * libs/gst/check/gstcheck.h:
2219         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2220         * pkgconfig/gstreamer-check.pc.in:
2221           Ugly 'fix' for the controller unit test on the p5 bot: in
2222           fail_unless_equals_float() check whether the values are 'almost
2223           equal' by allowing a small absolute error, which should be good
2224           enough for our use cases (normal numbers and values close to 0).
2225           Proper fixage left to floating point arithmetic aficionados.
2226
2227 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2230         (gst_base_sink_render_object), (gst_base_sink_get_position):
2231           Add two breaks thats where missing.
2232
2233 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2234
2235         * docs/libs/gstreamer-libs-sections.txt:
2236         * libs/gst/check/gstcheck.h:
2237           API: add fail_unless_equals_float() and assert_equals_float().
2238           Add documentation for some of the macros.
2239
2240         * tests/check/libs/controller.c: (GST_START_TEST):
2241           Use newly-added asserts.
2242
2243 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2244
2245         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2246           Show the caps change in the log to help spotting the case of not
2247           exactly matching caps.
2248
2249 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2250
2251         * docs/pwg/building-boiler.xml:
2252           Fix typos, spotted by Thijs Vermeir (#447190).
2253
2254 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2255
2256         * docs/plugins/tmpl/.cvsignore:
2257         Ignore file to keep the buildbots happy
2258
2259 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2260
2261         * docs/plugins/Makefile.am:
2262         * docs/plugins/gstreamer-plugins-docs.sgml:
2263         * docs/plugins/gstreamer-plugins-sections.txt:
2264         Pull fdsink into the docs too.
2265
2266 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2267
2268         * libs/gst/controller/gstinterpolation.c:
2269         Actually use the new functions with min/max checks for the trigger and
2270         none interpolation modes for get() and get_value_array() instead of
2271         just the latter.
2272
2273 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2274
2275         * libs/gst/controller/gstcontroller.c:
2276         (gst_controlled_property_free):
2277         Unset the minimum and maximum GValues when freeing the corresponding
2278         GstControllerProperty struct.
2279
2280 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2281
2282         * libs/gst/controller/gstcontroller.c:
2283         (gst_controlled_property_new):
2284         * libs/gst/controller/gstcontrollerprivate.h:
2285         * libs/gst/controller/gstinterpolation.c:
2286         (gst_controlled_property_find_control_point_node),
2287         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2288         (interpolate_none_get_string_value_array),
2289         (interpolate_trigger_get),
2290         (interpolate_trigger_get_enum_value_array),
2291         (interpolate_trigger_get_string_value_array):
2292         Protect against values larger or smaller than the minimum or maximum
2293         allowed value for the property when using values that can be compared.
2294
2295         Optimize trigger interpolator a bit by taking the last requested value
2296         into account instead of always looping through the complete list.
2297
2298         Fix coding style a bit, everywhere else we use "return foo" instead
2299         of "return (foo)".
2300         
2301         * tests/check/libs/controller.c: (GST_START_TEST),
2302         (gst_controller_suite):
2303         Add unit test for the protection against too large or too small
2304         values.
2305
2306 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2307
2308         * docs/random/slomo/controller.txt:
2309         Add some thoughts about the future of the controller.
2310
2311 2007-06-08  Wim Taymans  <wim@fluendo.com>
2312
2313         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2314         Don't overflow in retimestamping code.
2315
2316 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2317
2318         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2319         Use gst_util_guint64_to_gdouble for conversions.
2320         * win32/common/libgstreamer.def:
2321         Add new exported functions.
2322
2323 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2324
2325         * gst/gstutils.c:
2326           Small docs addition.
2327
2328 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2329
2330         * README:
2331           Remove that test line again.
2332
2333 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2334
2335         * README:
2336           Test commit mail sending.
2337
2338 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2339
2340         * configure.ac:
2341           Fix typo and test commit mail sending.
2342
2343 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2344
2345         * tests/examples/controller/audio-example.c:
2346           Improve comment and test commit mail sending.
2347
2348 2007-06-07  Wim Taymans  <wim@fluendo.com>
2349
2350         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2351         (gst_bin_remove_func), (gst_bin_element_set_state),
2352         (bin_handle_async_start), (bin_handle_async_done),
2353         (gst_bin_handle_message_func):
2354         Add helper function to find messages.
2355         Generate the async-done messages together with the state change
2356         messages.
2357         Small cleanups in handling toplevel bins.
2358
2359 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2360
2361         * libs/gst/base/gstdataqueue.c:
2362         * libs/gst/base/gstdataqueue.h:
2363         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2364         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2365         (gst_multi_queue_sink_event):
2366         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2367           Fix multiqueue leaking buffers and events when downstream or the
2368           queue are flushing. Make refcounting assumptions explicit and
2369           document them (shouldn't break existing code that uses it other than
2370           maybe leak miniobjects, but that already happens anyway). Add unit
2371           test for the most common flushing case. Fixes #423700.
2372           
2373 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2374
2375         * libs/gst/controller/gstcontroller.c:
2376         Clarify docs: The get_all, get_value_array(s) functions
2377         don't modify the GObject properties.
2378
2379 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2380
2381         * libs/gst/controller/gstcontroller.c:
2382         (gst_controlled_property_set_interpolation_mode),
2383         (gst_controlled_property_prepend_default),
2384         (gst_controlled_property_new), (gst_controller_set_unlocked),
2385         (gst_controller_set), (gst_controller_set_from_list),
2386         (gst_controller_unset), (gst_controller_unset_all):
2387         * libs/gst/controller/gstcontrollerprivate.h:
2388         * libs/gst/controller/gstinterpolation.c:
2389         Factor out the 'set' logic into gst_controller_set_unlocked for the
2390         gst_controller_set and gst_controller_set_from_list functions.
2391
2392         To make life of the interpolators easier always add a control point
2393         at timestamp zero with the default value.
2394
2395         In the linear interpolator make things more obvious by better variable
2396         naming (slope).
2397
2398         Implement cubic interpolation mode (by using a natural cubic spline)
2399         and map the quadratic interpolation mode to this too (as quadratic
2400         doesn't make much sense, see discussion on the list).
2401
2402         * tests/check/libs/controller.c: (GST_START_TEST),
2403         (gst_controller_suite):
2404         Add unit test for the cubic interpolation mode and check everywhere
2405         if the interpolation mode could be set as expected.
2406
2407 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2408
2409         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2410           Don't use GLib-2.10 functions, we still depend on
2411           GLib-how-old-is-it-again-2.8.
2412
2413 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2414
2415         * docs/gst/gstreamer-sections.txt:
2416         * gst/Makefile.am:
2417         * gst/gst.c:
2418         * gst/gst.h:
2419         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2420         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2421         (_gst_param_fraction_values_cmp),
2422         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2423         * gst/gstparamspecs.h:
2424         * gst/gstvalue.c:
2425         * tests/check/Makefile.am:
2426         * tests/check/gst/.cvsignore:
2427         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2428         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2429         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2430         (GST_START_TEST), (gst_param_spec_suite):
2431           API: add GstParamSpecFraction, so elements can have fraction
2432           properties without lots of painful string parsing (#444648).
2433
2434 2007-06-05  Wim Taymans  <wim@fluendo.com>
2435
2436         * gst/gstobject.c: (gst_object_class_init):
2437         Fix signal signature.
2438
2439         * gst/gstsegment.c:
2440         Add small clarification in the api docs.
2441
2442         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2443         States are protected with object lock.
2444
2445 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2446
2447         * AUTHORS:
2448         I should probably be listed as an author by now.
2449
2450         * docs/random/release:
2451         Update the release doc
2452
2453 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2454
2455         * gst/gstvalue.c:
2456           Make docs for gst_value_compare() mention return enums that
2457           actually exist.
2458
2459 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2460
2461         * configure.ac:
2462           Back to CVS
2463
2464 === release 0.10.13 ===
2465
2466 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2467
2468         * configure.ac:
2469           releasing 0.10.13, "With or without you"
2470
2471 2007-05-25  Wim Taymans  <wim@fluendo.com>
2472
2473         * gst/gstbin.c: (bin_handle_async_done):
2474         Make sure that the child bin stops after completing the async state
2475         change so that the parent can continue the state change to PLAYING.
2476         Fixes #441159.
2477
2478 2007-05-25  Wim Taymans  <wim@fluendo.com>
2479
2480         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2481         (unref_data), (gst_collect_pads_remove_pad),
2482         (gst_collect_pads_check_pads):
2483         Use additional refcounting to avoid crashes when dynamically adding and
2484         removing pads. Fixes #420206.
2485
2486 2007-05-24  Wim Taymans  <wim@fluendo.com>
2487
2488         * tools/gst-launch.c: (event_loop):
2489         When buffering goes from a two digit to a single digit number, make sure
2490         to remove the old second digit by writing a blank over it.
2491
2492 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2493
2494         * libs/gst/base/gstdataqueue.c:
2495           Eliminate tabs and trailing comma in enum list; fix some typos.
2496
2497 2007-05-24  Wim Taymans  <wim@fluendo.com>
2498
2499         * tests/check/gst/gstbin.c: (GST_START_TEST):
2500         Allow refcount of 3 and 4 because some state thread might still be busy
2501         with it.
2502
2503 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2504
2505         * plugins/elements/Makefile.am:
2506         * plugins/elements/gstmultiqueue.h:
2507         * plugins/elements/gstqueue.h:
2508           These are not installed headers, no need for padding.
2509
2510 2007-05-24  Wim Taymans  <wim@fluendo.com>
2511
2512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2513         (gst_bin_continue_func):
2514         Enable latency for next release.
2515         Restore STATE_LOCK around recalc_state that was left out during the
2516         rewrite and could result in racy behaviour when _get_state and
2517         recalc_state are run concurrently. See #440463.
2518
2519 2007-05-23  Wim Taymans  <wim@fluendo.com>
2520
2521         * tests/check/gst/gstsystemclock.c: (store_callback),
2522         (GST_START_TEST):
2523         Improve test_async_order to also work when both timers are already
2524         expired when we get scheduled to check it.
2525
2526 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2527
2528         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2529         (gst_bin_set_property), (gst_bin_get_property),
2530         (gst_bin_remove_func), (gst_bin_handle_message_func):
2531         * gst/gstbin.h:
2532           'private' is a c++ keyword, let's not use that in header files,
2533           otherwise c++ compilers will throw a tantrum.
2534
2535 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2536
2537         * plugins/elements/gstelements.c:
2538         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2539         (gst_file_sink_get_current_offset):
2540         * plugins/indexers/gstindexers.c: (plugin_init):
2541           Use #ifdef for HAVE_XYZ for consistency.
2542
2543         * tests/check/Makefile.am:
2544         * tests/check/elements/.cvsignore:
2545         * tests/check/elements/filesink.c: (setup_filesink),
2546         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2547           Add some unit tests for filesink.
2548
2549 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2550
2551         Patch by: Mark Nauwelaerts <manauw at skynet be>
2552
2553         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2554         (gst_file_sink_query), (gst_file_sink_do_seek),
2555         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2556         * plugins/elements/gstfilesink.h:
2557           Fix position reporting; rename data_written member to current_pos to
2558           reflect its real meaning (fixes #412648).
2559
2560 2007-05-22  Edward Hervey  <edward@fluendo.com>
2561
2562         * docs/gst/gstreamer-sections.txt:
2563         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2564         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2565         (gst_bin_remove_func), (gst_bin_handle_message_func):
2566         * gst/gstbin.h:
2567         Add a property for bins that handle the state change of their childs.
2568         Fixes #435880
2569
2570 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2571
2572         * libs/gst/controller/gstinterpolation.c:
2573         Use an array of the correct type when using _get_value_array with
2574         linear interpolation.
2575
2576 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2577
2578         * gst/gstelement.c (gst_element_requires_clock,
2579           gst_element_provides_clock, gst_element_request_pad,
2580           gst_element_class_set_details, gst_element_class_set_details_simple,
2581           gst_element_default_send_event, gst_element_abort_state,
2582           gst_element_continue_state, gst_element_set_state,
2583           gst_element_set_state_func, iterator_activate_fold_with_resync):
2584         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2585           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2586           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2587           gst_pad_get_range, gst_pad_pull_range):
2588         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2589           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2590           GstPadActivateModeFunction, GstPadChainFunction,
2591           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2592           GstPadFixateCapsFunction, GstPadTemplate):
2593         * gst/gstpipeline.c (gst_pipeline_change_state,
2594           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2595           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2596           gst_pipeline_get_delay):
2597           Whitespace and docs fixes.
2598
2599 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2600
2601         * libs/gst/controller/gstinterpolation.c:
2602         (interpolate_trigger_get_enum_value_array),
2603         (interpolate_trigger_get_string_value_array):
2604         Add support for retrieving value arrays when using the trigger
2605         interpolation mode. 
2606
2607 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2608
2609         * libs/gst/controller/gstcontroller.c:
2610         (gst_controller_get_value_array):
2611         * libs/gst/controller/gstcontroller.h:
2612         Clarify the docs of gst_controller_get_value_array(): The array where
2613         the values should be written to must be allocated as there seems to be
2614         no way to get the size of a random GType. This doesn't change any
2615         behaviour. Also fix some typos all over the place and remove an unused,
2616         commented function that is not necessary as g_object_set() could be
2617         used instead.
2618         * tests/check/libs/controller.c: (GST_START_TEST),
2619         (gst_controller_suite):
2620         Add unit test for gst_controller_get_value_array().
2621
2622 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2623
2624         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2625
2626         Disable part of the gst_buffer_try_new_and_alloc test, because
2627         it can happily succeed on 64-bit systems where there's more address
2628         space available.
2629
2630 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2631
2632         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2633         Add unit test for the improved caps checking from bug #421543.
2634
2635 2007-05-21  Wim Taymans  <wim@fluendo.com>
2636
2637         * docs/design/part-synchronisation.txt:
2638         Small addition.
2639
2640         * gst/gstbin.c: (gst_bin_query):
2641         * plugins/elements/gstqueue.c: (apply_segment):
2642         Improve debugging.
2643
2644         * gst/gstmessage.h:
2645         Improve docs.
2646
2647 2007-05-21  Wim Taymans  <wim@fluendo.com>
2648
2649         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2650         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2651         (gst_pad_configure_src):
2652         Added simple version of improved caps checking. It was previously
2653         assumed that a setcaps function would check the validity of the caps but
2654         people prefer us to check caps against the template automatically. 
2655         Fixes #421543.
2656
2657 2007-05-21  Wim Taymans  <wim@fluendo.com>
2658
2659         * libs/gst/base/gstbasetransform.h:
2660         Fix macro for locking/unlocking the transform lock.
2661
2662 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2663
2664         * docs/plugins/tmpl/.cvsignore:
2665           Ignore more.
2666
2667 2007-05-18  Edward Hervey  <edward@fluendo.com>
2668
2669         * plugins/elements/gstqueue.c: (gst_queue_loop):
2670         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2671         for the subtle art of warning a potentially blocking thread that it
2672         should check the source pad return value, and relay the information
2673         upstream.
2674
2675 2007-05-18  Edward Hervey  <edward@fluendo.com>
2676
2677         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2678         Release the queue lock !
2679
2680 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2681
2682         * docs/libs/gstreamer-libs-sections.txt:
2683         Add the two new controller functions to the appropiate places.
2684
2685 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2686
2687         reviewed by: Stefan Kost <ensonic@users.sf.net>
2688
2689         * libs/gst/controller/gstcontroller.c:
2690         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2691         (_gst_controller_get_property), (_gst_controller_set_property),
2692         (_gst_controller_init), (_gst_controller_class_init):
2693         * libs/gst/controller/gstcontroller.h:
2694         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2695         (gst_object_get_control_rate), (gst_object_set_control_rate):
2696         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2697         Add API that provides sync suggestion timestamps for elements that
2698         call gst_object_sync_values() from which those elements can subdivide
2699         their processing loop to get the best results for the controlled
2700         properties. For now it just suggests last_sync + control_rate as
2701         new timestamp but this will be improved in the future.
2702
2703         While doing that change the control-rate property to a GstClockTime
2704         from guint and change it's meaning from samples to nanoseconds as
2705         the GstController doesn't know anything about sampling rate. Strictly
2706         speaking this breaks ABI but as the control-rate property didn't do
2707         anything in the past and as such couldn't be used this should be no
2708         problem.        
2709
2710 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2711
2712         reviewed by: Stefan Kost <ensonic@users.sf.net>
2713
2714         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2715         (gst_controller_unset_all):
2716         * libs/gst/controller/gstcontrollerprivate.h:
2717         * libs/gst/controller/gstinterpolation.c:
2718         (gst_controlled_property_find_control_point_node):
2719         Save last synced value from the list to continue searching from there
2720         in future syncs. This speeds everything up a bit.
2721         
2722 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2723
2724         reviewed by: Stefan Kost <ensonic@users.sf.net>
2725
2726         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2727         (gst_control_point_find), (gst_controlled_property_new),
2728         (gst_control_point_free), (gst_controlled_property_free),
2729         (gst_controller_set), (gst_controller_set_from_list),
2730         (gst_controller_unset), (gst_controller_unset_all),
2731         (gst_controller_sync_values):
2732         * libs/gst/controller/gstcontroller.h:
2733         * libs/gst/controller/gstcontrollerprivate.h:
2734         * libs/gst/controller/gstinterpolation.c:
2735         (gst_controlled_property_find_control_point_node),
2736         (interpolate_none_get), (interpolate_trigger_get):
2737         Add a new private GstControlPoint struct which "inherits" from
2738         GstTimedValue to allow different interpolators to store internal
2739         values next to each control point. From the outside everything is
2740         still a GstControlPoint so we don't loose binary compatibility.
2741         Also fixup all the GValue handling to not leak GValues or list nodes.
2742         * tests/check/libs/controller.c: (GST_START_TEST):
2743         Free the list nodes and GValues in the controller_misc test.
2744
2745 2007-05-17  Edward Hervey  <edward@fluendo.com>
2746
2747         * gst/gstsegment.c:
2748         Small doc fix.
2749
2750 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2751
2752         * gst/gstplugin.c: (gst_plugin_load_file):
2753           If we fail to load a plugin because of unresolved symbols or missing
2754           libraries and spew a warning to stderr, we may just as well mention
2755           which plugin it was that failed to load.
2756
2757 2007-05-13  David Schleef  <ds@schleef.org>
2758
2759         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2760           handles the case when ENABLE_GTK_DOC is false, and installs
2761           the prebuilt documentation.  So gtk-doc subdirs are 
2762           unconditionally enabled.  Fixes: #349099.
2763
2764 2007-05-13  David Schleef  <ds@schleef.org>
2765
2766         * gst/gstutils.h: Reword some documentation.
2767
2768 2007-05-12  David Schleef  <ds@schleef.org>
2769
2770         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2771           do anything with the passed "module" parameter, so remove it.
2772           Allows removal of additional vestigal code.
2773
2774 2007-05-12  David Schleef  <ds@schleef.org>
2775
2776         * gst/gstplugin.c:
2777           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2778           Switch to using g_stat() because it's more portable.
2779
2780 2007-05-12  David Schleef  <ds@schleef.org>
2781
2782         * gst/gst.c:
2783           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2784           parsing for embedded systems.
2785         * gst/gstelementfactory.c:
2786           Allow gst_element_register() to be called with plugin==NULL.
2787           Did nobody notice that static elements were broken?
2788
2789 2007-05-12  Wim Taymans  <wim@fluendo.com>
2790
2791         * tools/gst-launch.c: (event_loop):
2792         Give more interesting info when buffering starts and stops.
2793         Fix case where buffering starts but we fail to update the buffering flag
2794         because the target state is not PLAYING.
2795
2796 2007-05-12  Wim Taymans  <wim@fluendo.com>
2797
2798         * plugins/elements/gstqueue.c: (gst_queue_init),
2799         (gst_queue_finalize), (update_time_level), (apply_segment),
2800         (apply_buffer), (gst_queue_locked_flush),
2801         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2802         (gst_queue_handle_sink_event), (gst_queue_chain),
2803         (gst_queue_push_one), (gst_queue_loop):
2804         * plugins/elements/gstqueue.h:
2805         Refactor an cleanup queue a bit.
2806         Do better time level calculations that also work when the srcpad is not
2807         yet running.
2808         Remove some unneeded debug lines.
2809
2810         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2811         Added testcase for time level measurement.
2812         Try to make some stuff more racefree.
2813
2814 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * gst/gsturi.c: (gst_element_make_from_uri):
2817           Don't leak plugin feature.
2818
2819         * tests/check/Makefile.am:
2820         * tests/check/gst/.cvsignore:
2821         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2822           Add brain-dead unit test.
2823
2824 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         Patch by: Jeroen Wouters <woutersj at gmail com>
2827
2828         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2829           Treat protocol strings in a case-insensitive way (#437563).
2830
2831 2007-05-11  Michael Smith <msmith@fluendo.com>
2832
2833         * gst/gstplugin.c: (gst_plugin_load_file):
2834         * gst/gstregistry.c: (gst_registry_scan_path_level):
2835           Don't print a g_warning for any failure to load a shared object.
2836           Instead, push this down into gstplugin.c, and warn _only_ if we
2837           failed to open the module (i.e. failure to link).
2838           Avoids warnings on normal, working, non-plugin .so files.
2839
2840 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2841
2842         * gst/gstplugin.c (gst_plugin_load_file):
2843         * gst/gstregistry.c (GST_CAT_DEFAULT,
2844           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2845           Print a g_warning if there was an error when loading a plugins during
2846           registry scan. The shuld help beginners starting with gst-plugin
2847           template.
2848
2849 2007-05-10  Wim Taymans  <wim@fluendo.com>
2850
2851         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2852         (update_time_level), (gst_queue_locked_flush),
2853         (gst_queue_handle_sink_event), (gst_queue_chain),
2854         (gst_queue_push_one), (gst_queue_loop):
2855         * plugins/elements/gstqueue.h:
2856         Be smarter when calculating the current amount of data in the queue by
2857         measuring the difference between start and end timestamps (in running
2858         time) inside the queue. Fixes #432876.
2859         API: GstQueue::pushing to notify elements that we are pushing data again
2860         since the running signal is rather broken for this purpose.
2861
2862 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2863
2864         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2865           gst_queue_base_init, gst_queue_init):
2866           use GST_BOILERPLATE
2867
2868 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2869
2870         * win32/common/libgstreamer.def:
2871         Add new exported functions.
2872         * win32/vs6/grammar.dsp:
2873         Use grammar pre-generated files.
2874
2875 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2876
2877         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
2878
2879         * gst/Makefile.am:
2880         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2881         * gst/gstparse.h:
2882         * gst/gstutils.c: (gst_parse_bin_from_description):
2883         * gst/gstutils.h:
2884           Maintain API and ABI when --disable-parse is used. Now that
2885           we have an appropriate error code, we can just return NULL and the
2886           appropriate error when gst_parse_launch() is used despite it having
2887           been disabled (#342564).
2888
2889         * tests/check/Makefile.am:
2890         * tests/check/pipelines/.cvsignore:
2891         * tests/check/pipelines/parse-disabled.c:
2892           Make sure these functions exist and return NULL plus a GError when
2893           --disable-parse is used.
2894
2895 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * tests/benchmarks/complexity.c: (main):
2898         * tests/benchmarks/mass-elements.c: (main):
2899           Set a good example and don't leak messages.
2900
2901 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
2902
2903         * docs/gst/Makefile.am:
2904         * docs/libs/Makefile.am:
2905           Correct fixxrefs options.
2906
2907         * docs/plugins/Makefile.am:
2908         * docs/plugins/gstreamer-plugins-docs.sgml:
2909         * docs/plugins/gstreamer-plugins-sections.txt:
2910         * plugins/elements/Makefile.am:
2911         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2912         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2913           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2914           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2915           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2916           _GstCapsFilterClass, trans_class):
2917         * plugins/elements/gstelements.c (name, rank, type, _elements):
2918         * plugins/elements/gstidentity.c
2919           (gst_identity_check_imperfect_timestamp,
2920           gst_identity_check_imperfect_offset):
2921           Document capsfilter and add doc-blurb to identity.
2922
2923 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2924
2925         * libs/gst/controller/gstcontroller.c:
2926         (gst_controlled_property_set_interpolation_mode):
2927         * libs/gst/controller/gstinterpolation.c:
2928           Don't crash if someone tries to set an interpolation mode that
2929           is invalid or that isn't supported yet. Fixes #422295.
2930
2931         * tests/check/libs/controller.c: (GST_START_TEST),
2932         (gst_controller_suite):
2933           Add a test case for the above.
2934
2935 2007-05-03  Edward Hervey  <edward@fluendo.com>
2936
2937         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2938         Properly set the last_stop position on GstSegment. This will only happen
2939         if there is a buffer to push out.
2940
2941 2007-05-03  Wim Taymans  <wim@fluendo.com>
2942
2943         * libs/gst/base/gstbasetransform.c:
2944         (gst_base_transform_buffer_alloc):
2945         always_in_place does not mean that the sink and source caps are the
2946         same! Make sure we don't blindly proxy the buffer_alloc in this case.
2947
2948 2007-05-03  Wim Taymans  <wim@fluendo.com>
2949
2950         * docs/libs/gstreamer-libs-sections.txt:
2951         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2952         (gst_base_src_default_query), (gst_base_src_get_range):
2953         * libs/gst/base/gstbasesrc.h:
2954         API: gst_base_src_query_latency(). Added method so that subclasses can
2955         easily get the latency values of the base source class.
2956
2957 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
2958
2959         * tools/gst-inspect.c (print_implementation_info):
2960         Remove 0.8 cruft.
2961
2962 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
2963
2964         * tools/Makefile.am:
2965         * tools/gst-launch.1.in:
2966           Don't create a customised man page based on the host architecture,
2967           describe the default registry path generically. That way the man
2968           page is the same for all architectures and packagers have one
2969           multilib issue less to deal with. Fixes #434926.
2970
2971 2007-05-02  Wim Taymans  <wim@fluendo.com>
2972
2973         * gst/gstpad.c:
2974         Fix documentation as spotted by rg on IRC. 
2975
2976 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
2977
2978         * gst/gstutils.c:
2979           Improve docs for gst_element_{link,unlink}.
2980
2981 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
2982
2983         * docs/design/part-events.txt:
2984         * docs/design/part-overview.txt:
2985         * gst/gstevent.c:
2986         * gst/gsturi.c:
2987         * gst/gsturi.h:
2988         * libs/gst/base/gstbasesink.c:
2989           Typo fixes; minor docs addition.
2990
2991 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2992
2993         * docs/gst/gstreamer-sections.txt:
2994         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2995         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2996         * gst/gsturi.h:
2997         API: Add gst_uri_protocol_is_supported(), which checks if a sink
2998         or src that supports a given URI protocol exists.
2999
3000 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3001
3002         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3003         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3004         Set the location to NULL if "file://" is set as URI. Otherwise
3005         some random previous URI would still be set if "file://" is
3006         set on an already used filesink/filesrc.
3007
3008 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3009
3010         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3011         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3012         Special case the "file://" URI as as this is used by some
3013         applications to test with gst_element_make_from_uri if there's
3014         an element that supports the URI protocol.
3015         Also move the g_path_is_absolute() check for the location part
3016         of the URI to also check this for "file://localhost/bla" URIs.
3017
3018 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3019
3020         * docs/gst/gstreamer-sections.txt:
3021         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3022         * gst/gstbuffer.h:
3023         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3024         (gst_buffer_suite):
3025           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3026
3027 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3028
3029         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3030         (gst_registry_binary_load_pad_template),
3031         (gst_registry_binary_load_plugin),
3032         (gst_registry_binary_read_cache):
3033         * gst/gstregistrybinary.h:
3034           Implement no-mmap alternative for registry reading. Do code cleanups.
3035           Add more comments about avoiding strdups for all text data. Comments
3036           welcome.
3037
3038 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3039
3040         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3041           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3042           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3043           Comment structs and reformat to fix the build (that stuff should go
3044           into a priv. header).
3045
3046 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3047
3048         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3049         (gst_registry_binary_load_feature):
3050         * gst/gstregistrybinary.h:
3051           Refactor so that we can implement multiple features. Add support for
3052           TypeFindFactory features.
3053
3054 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3055
3056         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3057
3058         * configure.ac:
3059           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3060
3061 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3062
3063         * gst/gstbin.c: (gst_bin_element_set_state),
3064         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3065         (bin_handle_async_done), (gst_bin_handle_message_func):
3066           Fix build with --gst-disable-gst-debug
3067
3068 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3069
3070         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3071           Make sure streaming has finished before calling the ::stop() vfunc,
3072           since that vfunc might clear state which is being used in the
3073           streaming thread. This fixes a race that caused crashes in
3074           audioresample when shutting down a pipeline (#420106).
3075
3076 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3077
3078         * docs/gst/gstreamer-sections.txt:
3079           That was one byte missing.
3080
3081 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3082
3083         * configure.ac:
3084         * docs/gst/gstreamer-sections.txt:
3085         * gst/Makefile.am:
3086         * gst/gstconfig.h.in:
3087         * gst/gstobject.c: (gst_object_class_init),
3088         (gst_signal_object_class_init):
3089         * gst/gstobject.h:
3090           2nd attempt to have a xml-less build as a joined effort of #413123
3091           and #421480.
3092
3093 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * docs/design/draft-tagreading.txt:
3096           Added open issues/thoughts to draft.
3097
3098 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3099
3100         * gst/parse/grammar.tab.pre.c:
3101         * gst/parse/grammar.tab.pre.h:
3102         * gst/parse/lex._gst_parse_yy.pre.c:
3103         Update the prebuild parser sources.
3104
3105 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3106
3107         * gst/parse/Makefile.am:
3108         And now fix the building of the flex sources. Now everything should
3109         work as expected.
3110
3111 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3112
3113         * gst/parse/Makefile.am:
3114         Now hopefully fix the build failures by setting proper rule
3115         dependencies and moving instead of copying.
3116
3117 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3118
3119         * tests/benchmarks/complexity.gnuplot:
3120         * tests/benchmarks/complexity.scm:
3121         * tests/benchmarks/mass-elements.gnuplot:
3122         * tests/benchmarks/mass-elements.scm:
3123           Total licensification.
3124
3125 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3126
3127         * gst/parse/Makefile.am:
3128           Fix the build by correcting the rule that gave wrong files to flex.
3129
3130 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3131
3132         * tests/benchmarks/complexity.c:
3133         * tests/benchmarks/mass-elements.c:
3134           Change licence to LGPL as granted by Benjamin and Andy.
3135
3136 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3137
3138         * gst/parse/Makefile.am:
3139         Add correct grammar.tab.h dependency if compiling without new enough
3140         flex. Fixes #431150.
3141
3142 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3143
3144         * gst/parse/Makefile.am:
3145         Fix typo and use outdated sources if the flex/bison sources are newer
3146         than the pregenerated ones but flex is too old. Print a warning in
3147         that case. This should fix the build on the build bot.
3148
3149 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3150
3151         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3152         * gst/parse/Makefile.am:
3153         * gst/parse/grammar.y:
3154         * gst/parse/parse.l:
3155         Make the parser reentrant and recursively callable. This requires flex
3156         >= 2.5.31, for older versions pregenerated sources are used as we
3157         can't bump the build dependency. Finally fixes #349180.
3158
3159         * gst/gstparse.c: (gst_parse_launch):
3160         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3161         now anyway.
3162
3163         * docs/gst/Makefile.am:
3164         * docs/gst/Makefile.am:
3165         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3166         (__gst_parse_strfree), (__gst_parse_link_new),
3167         (__gst_parse_link_free), (__gst_parse_chain_new),
3168         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3169         (gst_parse_element_set), (gst_parse_free_link),
3170         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3171         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3172         (_gst_parse_launch):
3173         * gst/parse/grammar.tab.pre.h:
3174         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3175         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3176         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3177         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3178         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3179         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3180         (_gst_parse_yypop_buffer_state),
3181         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3182         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3183         (yy_fatal_error), (_gst_parse_yyget_extra),
3184         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3185         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3186         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3187         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3188         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3189         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3190         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3191         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3192         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3193         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3194         (_gst_parse_yyfree):
3195         If the installed flex version is too old use pre-generated parser
3196         sources. These pre-generated parser sources are always updated when
3197         the actual flex/bison sources change but require everybody who wants
3198         to change something in the parser to have flex >= 2.5.31 installed.
3199
3200 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3201
3202         * common/m4/gst-gettext.m4:
3203         * gst/gst-i18n-lib.h:
3204           Make --disable-nls to work
3205
3206 2007-04-17  Wim Taymans  <wim@fluendo.com>
3207
3208         * gst/gstconfig.h.in:
3209         Revert previous change that broke the build.
3210
3211 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3212
3213         * configure.ac:
3214         * gst/Makefile.am:
3215         * gst/gstconfig.h.in:
3216           Drop libxml2 dependency when building with 
3217           --enable-binary-registry --disable-loadsave
3218
3219 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3220
3221         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3222         (gst_registry_binary_read_cache):
3223         * gst/gstregistrybinary.h:
3224           Remove unnecessary <sys/mman.h> include which broke the win32 build
3225           with MingW; move includes from header file to .c file, even if the
3226           header file isn't installed; use g_strerror() where UTF-8 strings
3227           are expected, such as in GST_DEBUG messages.
3228
3229 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3230
3231         * docs/libs/gstreamer-libs-sections.txt:
3232         Remove bogus addition for API I didn't end up keeping.
3233
3234         * libs/gst/base/gstbasesrc.h:
3235         Mention Since: 0.10.13 in the documentation.
3236
3237         Add the API keyword to the previous ChangeLog entry.
3238
3239 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3240
3241         * docs/libs/gstreamer-libs-sections.txt:
3242         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3243         (gst_base_src_default_prepare_seek_segment),
3244         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3245         * libs/gst/base/gstbasesrc.h:
3246         Allow basesrc derived classes to execute seeks in other formats
3247         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3248         to prepare the GstSegment in any format that their perform_seek method
3249         will be able to understand. The default implementation provides the
3250         old behaviour of attempting to convert the seek offsets to the 
3251         configured native format.
3252
3253         API: basesrc::prepare_seek_segment vmethod.
3254
3255 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3256
3257         * gst/gstelement.c: (gst_element_get_state_func):
3258         Don't output the same debug statement twice.
3259
3260         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3261         (gst_adapter_peek), (gst_adapter_take_buffer):
3262         Optimise the case where we have buffers at the head of the queue that
3263         can be joined quickly (because they're contiguous sub-buffers) by
3264         merging them together rather than copying data out into new memory.
3265
3266         * gst/parse/grammar.y:
3267         * tests/check/pipelines/parse-launch.c:
3268         Fix a leak in an error path for parse_launch, and add a check 
3269         for it to the testsuite.
3270
3271 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3272
3273         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3274           Don't deadlock when releasing a pad - gst_pad_set_active may try
3275           and take the multiqueue lock too.
3276
3277 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3278
3279         * gst/gsterror.c: (_gst_core_errors_init):
3280         * gst/gsterror.h:
3281           API: add GST_CORE_ERROR_DISABLED (#392804).
3282
3283 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3284
3285         * docs/faq/gst-uninstalled:
3286           don't get empty paths on the PATH variables
3287         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3288           Don't format for the uncommon terminal width of 84 characters.
3289
3290 2007-04-06  Wim Taymans  <wim@fluendo.com>
3291
3292         * gst/gstpipeline.c: (reset_stream_time),
3293         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3294         Only try to select a different pipeline clock when we went back to
3295         PAUSED and not when we merely got flushed.
3296
3297 2007-04-05  Michael Smith  <msmith@fluendo.com>
3298
3299         * tools/gst-launch.1.in:
3300           fractions are better supported in gstreamer than ractions, so
3301           suggest using those.
3302
3303 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3304
3305         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3306
3307         * po/LINGUAS:
3308         * po/da.po:
3309           Added Danish translation.
3310
3311 2007-04-05  Wim Taymans  <wim@fluendo.com>
3312
3313         * libs/gst/base/gstbasesink.c:
3314         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3315         Fix leak caused when refusing newsegment after EOS.
3316
3317         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3318         (gst_fake_sink_init), (gst_fake_sink_set_property),
3319         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3320         (gst_fake_sink_render), (gst_fake_sink_change_state):
3321         * plugins/elements/gstfakesink.h:
3322         Add num-buffers property to make the element generate EOS after a
3323         configurable amount of buffers.
3324         API: fakesink::num-buffers property.
3325
3326         * tests/check/elements/fakesink.c: (GST_START_TEST),
3327         (fakesink_suite):
3328         Fix GstBus leak in test.
3329         Test for fakesink num-buffers.
3330
3331 2007-04-05  Wim Taymans  <wim@fluendo.com>
3332
3333         * libs/gst/base/gstbasesink.c:
3334         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3335         (gst_base_sink_change_state):
3336         Don't accept anything after an EOS, return UNEXPECTED instead.
3337
3338         * tests/check/elements/fakesink.c: (GST_START_TEST),
3339         (fakesink_suite):
3340         Unit test for new EOS behaviour.
3341
3342 2007-04-05  Wim Taymans  <wim@fluendo.com>
3343
3344         * gst/gstelement.c: (gst_element_get_request_pad):
3345         Make padtemplates also work when they don't contain %s or %d.
3346
3347 2007-04-05  Wim Taymans  <wim@fluendo.com>
3348
3349         * docs/gst/gstreamer-sections.txt:
3350         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3351         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3352         * gst/gstclock.h:
3353         Improve _adjust_unlocked() so that it overflows less.
3354         Add gst_clock_unadjust_unlocked to convert from external time to
3355         internal time based on calibration.
3356         Add some more debug.
3357         API: GstClock::gst_clock_unadjust_unlocked()
3358
3359 2007-04-03  Wim Taymans  <wim@fluendo.com>
3360
3361         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3362
3363         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3364         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3365         when releasing sink pad. Fixes #425400.
3366
3367 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3368
3369         * docs/random/ensonic/dynlink.txt:
3370           More work on proposal for new core api.
3371
3372         * docs/libs/gstreamer-libs-sections.txt:
3373         * libs/gst/base/gstbasetransform.h:
3374           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3375           
3376         * libs/gst/controller/gstcontroller.c:
3377         (on_object_controlled_property_changed),
3378         (gst_controller_sync_values),
3379         (gst_controller_set_interpolation_mode):
3380         * libs/gst/controller/gstcontroller.h:
3381           Less verbose logging add docs for unimplemented parts and correctly
3382           return when using unavailable parts.
3383
3384 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3385
3386         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3387         Move all the debug to the CLOCK category, and associate it with
3388         the clock object.
3389
3390 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3391
3392         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3393         Make take_buffer a bit quicker by removing redundant checks
3394         caused by calling gst_adapter_take.
3395
3396 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3397
3398         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3399           Don't leak GCond.
3400
3401         * tests/check/Makefile.am:
3402         * tests/check/elements/.cvsignore:
3403         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3404         (GST_START_TEST), (multiqueue_suite):
3405           Add some dead simple unit tests for the 'multiqueue' element
3406           (some bits don't work yet and are disabled for now).
3407
3408 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3409
3410         * gst/gstelement.c: (gst_element_get_request_pad),
3411         (gst_element_class_get_request_pad_template):
3412           Make gst_element_get_request_pad() create request pads only for
3413           request pad templates and not for, say, sometimes pad templates.
3414
3415 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * docs/design/draft-klass.txt:
3418           Add example that needs more thinking.
3419         
3420         * docs/design/draft-missing-plugins.txt:
3421           More thoughts about wrapper plugins.
3422         
3423         * docs/random/ensonic/embedded.txt:
3424         * docs/random/ensonic/profiling.txt:
3425           More design work.
3426
3427 2007-03-25  Wim Taymans  <wim@fluendo.com>
3428
3429         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3430         (gst_base_src_loop):
3431         Only push the segment events in the PLAYING state for live sources.
3432
3433 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3434
3435         * gst/gstpipeline.c: (gst_pipeline_change_state):
3436         Modify the clock distribution path in PAUSED->PLAYING so that we 
3437         never attempt to choose a new clock unless we're actually leaving
3438         the PAUSED state for the first time. This prevents choosing a
3439         different clock when the state_change gets called for a 2nd time due
3440         to some element doing an async state change.
3441
3442 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3443
3444         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3445         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3446         (gst_pad_chain_unchecked), (gst_pad_push):
3447         Revert last commit. This needs some more thoughts.
3448
3449 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3450
3451         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3452         (gst_pad_chain_unchecked), (gst_pad_push):
3453         Check in set_caps if the caps are compatible with the pad and remove
3454         two functions that are redundant now. Fixes #421543.
3455
3456 2007-03-22  Wim Taymans  <wim@fluendo.com>
3457
3458         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3459         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3460         Unref some more to make valgrind happy.
3461
3462 2007-03-22  Wim Taymans  <wim@fluendo.com>
3463
3464         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3465         (gst_system_clock_id_wait_jitter),
3466         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3467         Fix anoying regression that survived a few releases. When adding an
3468         async entry while blocking on a sync entry, the sync entry will unblock
3469         but still be busy, so it should continue to wait instead of returning
3470         _BUSY to the app.
3471         Add some comments here and there.
3472
3473         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3474         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3475         Add testcase for this.
3476
3477 2007-03-22  Wim Taymans  <wim@fluendo.com>
3478
3479         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3480         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3481         WRONG_STATE and can silently pause the task. All other cases should
3482         error out.
3483
3484 2007-03-22  Wim Taymans  <wim@fluendo.com>
3485
3486         Patch by: Ville Syrjala <syrjala at sci dot fi>
3487
3488         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3489         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3490         Improve debugging.
3491
3492 2007-03-21  Michael Smith  <msmith@fluendo.com>
3493
3494         * docs/pwg/advanced-types.xml:
3495           Fix some errors in the typefinding docs pointed out on irc.
3496
3497 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3498
3499         * libs/gst/base/gstbasesrc.c:
3500         Clarify FIXME comment in the face of having added unlock_stop()
3501
3502 2007-03-21  Wim Taymans  <wim@fluendo.com>
3503
3504         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3505         Prepare for release where we warn against possible app breakage in the
3506         case of live pipelines along with an env var to enable/disable live
3507         preroll mode (GST_COMPAT=[no-]live-preroll).
3508
3509 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3510
3511         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3512         So we should use correct constants for checking for None offset.
3513
3514 2007-03-20  Wim Taymans  <wim@fluendo.com>
3515
3516         * docs/design/part-block.txt:
3517         Mention the fact that the newly switched element should be set to at
3518         least PAUSED.
3519
3520 2007-03-20  Wim Taymans  <wim@fluendo.com>
3521
3522         * gst/gst.c:
3523         Fix compilation with registry disabled as spotted by Saur.
3524
3525 2007-03-20  Wim Taymans  <wim@fluendo.com>
3526
3527         Patch by: Olivier Crete <tester at tester dot ca>
3528
3529         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3530         Look at the pending state too when syncing the element state to the
3531         parent. Fixes #420133.
3532
3533 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3534
3535         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3536         (gst_base_sink_change_state):
3537         * libs/gst/base/gstbasesink.h:
3538         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3539         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3540         (gst_base_src_deactivate):
3541         * libs/gst/base/gstbasesrc.h:
3542         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3543         for sub-classes to correctly clear any state they set trying to
3544         unlock, such as clearing out unlock commands from a command fd.
3545         API: basesrc::unlock_stop
3546         API: basesink::unlock_stop
3547
3548         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3549         (gst_fd_sink_render), (gst_fd_sink_unlock),
3550         (gst_fd_sink_unlock_stop):
3551         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3552         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3553         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3554
3555         Implement unlock_stop in fdsrc and fdsink.
3556         Implement seeking in fdsrc when a seekable fd is passed, as in
3557         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3558
3559 2007-03-19  Wim Taymans  <wim@fluendo.com>
3560
3561         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3562
3563         * gst/gstelement.c: (gst_element_class_init):
3564         Fix pad-added and pad-removed signal signatures so that the pad type is
3565         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3566
3567 2007-03-19  Wim Taymans  <wim@fluendo.com>
3568
3569         * docs/gst/gstreamer-sections.txt:
3570         Add new element field and method.
3571
3572         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3573         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3574         (gst_bin_recalc_state), (gst_bin_get_state_func),
3575         (gst_bin_element_set_state), (gst_bin_change_state_func),
3576         (gst_bin_continue_func), (bin_bus_handler),
3577         (bin_push_state_continue), (bin_handle_async_start),
3578         (bin_handle_async_done), (gst_bin_handle_message_func):
3579         Make async state changes a bit smarter by using new ASYNC_START and
3580         ASYNC_DONE messages. This reduces the number of times we run the state
3581         recalculation thread.
3582         Don't change state of element with a pending ASYNC_START message.
3583         Deprecate STATE_DIRTY messages.
3584         
3585         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3586         (gst_element_get_state_func), (gst_element_continue_state),
3587         (gst_element_lost_state), (gst_element_set_state_func),
3588         (gst_element_change_state):
3589         * gst/gstelement.h:
3590         Keep the state that was last set by the app in a new element field.
3591         Don't allow state changes when handling an element event.
3592         Post ASYNC_START and ASYNC_DONE messages.
3593         Change lost_state so that we go to PAUSED and wait for the parent to set
3594         us to PLAYING again (so latency calculation can be performed)
3595         Export gst_element_change_state() method so that subclasses can use it.
3596         API: gst_element_change_state()
3597         API: GST_STATE_TARGET
3598
3599         * gst/gstpipeline.c: (gst_pipeline_class_init),
3600         (reset_stream_time), (gst_pipeline_change_state),
3601         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3602         Using the new ASYNC_START message we can reset the base_time when
3603         needed. This can then be used to implement base_time redistribution in
3604         flushing seeks so that we can remove the explicit seek handling.
3605         Perform latency query and configuration when going to PLAYING.
3606
3607         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3608         (gst_base_sink_query), (gst_base_sink_change_state):
3609         Post new ASYNC_START/ASYNC_DONE messages.
3610
3611         * tests/check/generic/sinks.c: (GST_START_TEST):
3612         Fix test because the bin will not set the async element to PLAYING right
3613         away.
3614
3615         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3616         Make the message check a little stronger.
3617         Handle ASYNC messages.
3618
3619         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3620         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3621         Expect ASYNC_DONE messages.
3622
3623 2007-03-19  Wim Taymans  <wim@fluendo.com>
3624
3625         * docs/gst/gstreamer-sections.txt:
3626         * gst/gstmessage.c: (gst_message_new_async_start),
3627         (gst_message_new_async_done), (gst_message_parse_info),
3628         (gst_message_parse_async_start):
3629         * gst/gstmessage.h:
3630         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3631         support.
3632
3633 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * tools/gst-inspect.c:
3636         (print_plugin_automatic_install_info_codecs):
3637           Now that we don't check for the 'Codec' keyword any longer in the
3638           klass, we shouldn't spew a warning if the klass isn't a decoder or
3639           encoder (since it might be a Source/Network, for example).
3640
3641 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3642
3643         * tools/gst-inspect.c:
3644         (print_plugin_automatic_install_info_codecs):
3645           Don't require decoder/demuxer/depayloader elements or
3646           encoder/muxer/paylader elements to have 'Codec' as part of their
3647           factory class string when introspecting a plugin's capabilities.
3648           draft-klass.txt mentions that it might be removed in future, and
3649           flump3dec doesn't have it as part of its class string, so chances
3650           are others might also not have it.
3651
3652 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3653
3654         * po/af.po:
3655         * po/az.po:
3656         * po/bg.po:
3657         * po/ca.po:
3658         * po/cs.po:
3659         * po/de.po:
3660         * po/en_GB.po:
3661         * po/fr.po:
3662         * po/it.po:
3663         * po/nb.po:
3664         * po/nl.po:
3665         * po/ru.po:
3666         * po/sq.po:
3667         * po/sr.po:
3668         * po/sv.po:
3669         * po/tr.po:
3670         * po/uk.po:
3671         * po/vi.po:
3672         * po/zh_CN.po:
3673         * po/zh_TW.po:
3674           Update translations from translation project
3675
3676 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3677
3678         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3679         (gst_child_proxy_set_property):
3680           Invert precondition check to be alike the ones in the mimiced gobject
3681           api.
3682
3683 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3684
3685         * docs/design/draft-tagreading.txt:
3686         * docs/random/ensonic/audiobaseclasses.txt:
3687           Do some Architect work.
3688
3689         * gst/gstobject.c: (gst_object_set_name):
3690           Add a WARNING.
3691
3692         * gst/gstpad.c:
3693           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3694
3695 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3696
3697         * gst/gstsystemclock.c: (gst_system_clock_init),
3698         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3699         Defer starting the async system clock thread until the first async
3700         wait is scheduled. Fixes #414986.
3701
3702 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3703
3704         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3705         (gst_single_queue_free):
3706           Fix small leak (free GstSingleQueue structure too, not only contents).
3707
3708 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3709
3710         * gst/gstbin.c:(gst_bin_add):
3711         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3712         * win32/common/libgstbase.def:
3713         * win32/common/libgstreamer.def:
3714         Add new exported functions.
3715
3716 2007-03-09  Wim Taymans  <wim@fluendo.com>
3717
3718         * docs/plugins/gstreamer-plugins-sections.txt:
3719         Fix GstTee docs.
3720
3721 2007-03-09  Wim Taymans  <wim@fluendo.com>
3722
3723         * docs/gst/gstreamer-sections.txt:
3724         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3725         * gst/gstbuffer.h:
3726         Add metadata copy functions. Fixes #393099.
3727         API: gst_buffer_copy_metadata()
3728
3729         * gst/gstutils.c: (gst_buffer_stamp):
3730         * libs/gst/base/gstbasetransform.c:
3731         (gst_base_transform_prepare_output_buffer):
3732         Use new metadata copy functions.
3733
3734 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3735
3736         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3737         (gst_identity_init), (gst_identity_check_perfect),
3738         (gst_identity_check_imperfect_timestamp),
3739         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3740         (gst_identity_set_property), (gst_identity_get_property):
3741         * plugins/elements/gstidentity.h:
3742         Separate out check-imperfect-timestamp and check-imperfect-offset.
3743         Put back check-perfect as it was to keep compatibility.
3744
3745 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3746
3747         * gst/gstelement.c: (gst_element_dispose):
3748         There's no need to warn if VOID_PENDING is not NONE here, as
3749         long as the state is NULL it's ok, and that's checked immediately
3750         above.
3751
3752 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3753
3754         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3755         Fix check for perfect stream to ignore buffers with -1 
3756         offsets/offset ends when checking data contiguity.
3757
3758 2007-03-08  Wim Taymans  <wim@fluendo.com>
3759
3760         * tools/gst-launch.c: (event_loop):
3761         Print INFO messages.
3762
3763 2007-03-08  Wim Taymans  <wim@fluendo.com>
3764
3765         * libs/gst/base/gstbasetransform.c:
3766         (gst_base_transform_sink_eventfunc),
3767         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3768         (gst_base_transform_activate):
3769         * libs/gst/base/gstbasetransform.h:
3770         Add support for dropping buffers with custom GstFlowReturn.
3771         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3772         buffers or dropped buffers.
3773
3774         * docs/libs/gstreamer-libs-sections.txt:
3775         docs for new custom return code.
3776
3777         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3778         Use drop support in base class to implement drop-probability.
3779
3780 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3781
3782         * gst/gst.c: (load_plugin_func):
3783         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3784         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3785         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3786           Remove newlines at end of debug log strings.
3787
3788 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3789
3790         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3791         Only post bus message at max, once per buffer received.
3792
3793 2007-03-07  Wim Taymans  <wim@fluendo.com>
3794
3795         * docs/design/Makefile.am:
3796         * docs/design/part-synchronisation.txt:
3797         Add doc about synchronisation
3798
3799         * docs/design/draft-latency.txt:
3800         * docs/design/part-TODO.txt:
3801         * docs/design/part-clocks.txt:
3802         * docs/design/part-events.txt:
3803         * docs/design/part-gstbus.txt:
3804         * docs/design/part-gstpipeline.txt:
3805         * docs/design/part-live-source.txt:
3806         * docs/design/part-messages.txt:
3807         * docs/design/part-overview.txt:
3808         * docs/design/part-streams.txt:
3809         * docs/design/part-trickmodes.txt:
3810         Documentation updates.
3811
3812 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3813
3814         * gstreamer.doap:
3815         Update the doap file.
3816
3817 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3818
3819         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3820         Rename non-perfect to imperfect for Mike and for the sanctity of the
3821         language.
3822         Also make sure bus message gets emitted for data-incontiguities.
3823
3824 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3825
3826         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3827         (gst_identity_start):
3828         * plugins/elements/gstidentity.h:
3829         Emit bus message if check-perfect is true and we encounter a
3830         non-perfect stream between 2 consecutive buffers.
3831         Fixes #415394.
3832
3833 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3834
3835         * configure.ac:
3836         Back to CVS
3837
3838 === release 0.10.12 ===
3839
3840 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3841
3842         * configure.ac:
3843           releasing 0.10.12, "Inevitable Demise"
3844
3845 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3846
3847         * configure.ac:
3848          Version 0.10.11.2 (0.10.12 pre-release)
3849          Bump libtool versioning.
3850
3851 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3852
3853         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3854           Log flow-names and not numbers.
3855
3856 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3857
3858         * configure.ac:
3859           Convert to new AG_GST style.
3860
3861 2007-02-28  Wim Taymans  <wim@fluendo.com>
3862
3863         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3864         Don't unref query twice.
3865
3866 2007-02-28  Wim Taymans  <wim@fluendo.com>
3867
3868         * gst/gstvalue.c: (gst_value_transform_object_string),
3869         (_gst_value_initialize):
3870         Implement GstObject -> string transform so we print object names
3871         when serializing GValues containing GstObjects.
3872
3873 2007-02-28  Wim Taymans  <wim@fluendo.com>
3874
3875         * docs/gst/gstreamer-sections.txt:
3876         Add new stuff to docs.
3877
3878 2007-02-28  Wim Taymans  <wim@fluendo.com>
3879
3880         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3881         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3882         (gst_base_sink_change_state):
3883         Improve latency query code.
3884         Don't leak latency events.
3885
3886         * tests/check/gst/gstbin.c: (GST_START_TEST):
3887         Improve debugging.
3888
3889 2007-02-28  Wim Taymans  <wim@fluendo.com>
3890
3891         * gst/gstelement.c: (gst_element_message_full),
3892         (gst_element_get_state_func):
3893         * gst/gstelement.h:
3894         Improve docs a little. Added Since: for new macro.
3895
3896         * gst/gstobject.c: (gst_object_sink):
3897         * gst/gstpipeline.c: (gst_pipeline_change_state),
3898         (gst_pipeline_set_new_stream_time):
3899         * gst/gstpipeline.h:
3900         Improve debugging and docs.
3901
3902         * gst/gstutils.c: (gst_element_state_change_return_get_name):
3903         Improve debugging.
3904
3905 2007-02-28  Wim Taymans  <wim@fluendo.com>
3906
3907         * gst/gstelement.c: (gst_element_message_full),
3908         (gst_element_set_locked_state), (gst_element_get_state_func),
3909         (gst_element_change_state):
3910         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3911         Documentation updates.
3912         Small code cleanups.
3913
3914         * gst/gstmessage.c: (gst_message_new_info),
3915         (gst_message_parse_info):
3916         * gst/gstmessage.h:
3917         API: gst_message_new_info()
3918         API: gst_message_parse_info()
3919         Add INFO message create and parse code.
3920
3921 2007-02-28  Wim Taymans  <wim@fluendo.com>
3922
3923         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3924         (bin_query_latency_done):
3925         Also report the live parameter of a latency query.
3926
3927 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3928
3929         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3930           Copy the current generic/states example from -base and adapt so
3931           we can use the exact same code everywhere.
3932           Check a STATES_IGNORE_ELEMENTS env var which can be used
3933           to ignore certain element factories for this test, which is
3934           what is being done in -base
3935         * tests/check/Makefile.am:
3936           Mention this environment variable.
3937
3938 2007-02-27  Wim Taymans  <wim@fluendo.com>
3939
3940         * docs/gst/gstreamer-sections.txt:
3941         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3942         (gst_bus_timed_pop), (gst_bus_pop):
3943         * gst/gstbus.h:
3944         API: gst_bus_timed_pop()
3945         Implement gst_bus_timed_pop() to do a blocking timed wait for a
3946         message to arrive on the bus.
3947
3948         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3949         (gst_bus_suite):
3950         Two unit tests for new _timed_pop() function.
3951
3952 2007-02-23  Wim Taymans  <wim@fluendo.com>
3953
3954         * gst/gstpipeline.c: (gst_pipeline_change_state),
3955         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3956         Don't ref a NULL clock in _provide_clock_func().
3957         Don't allow an INVALID delay.
3958         Don't try to calculate base_time with an invalid start_time.
3959         Also distribute and notify a NULL clock when it was selected.
3960
3961         * tools/gst-launch.c: (event_loop):
3962         Don't crash when a NULL clock was selected in the pipeline.
3963
3964 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3965
3966         * docs/design/Makefile.am:
3967         * docs/design/draft-missing-plugins.txt:
3968         * docs/random/draft-missing-plugins.txt:
3969           Some small updates: update plugin system identifier prefix
3970           ('gstreamer.net' to 'gstreamer'), mention our new install
3971           API in libgstbaseutils rather than libgimme-codec, add
3972           reference to the online docs.
3973
3974 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3975
3976         * win32/common/config.h:
3977           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
3978           use moap cl ci to only check in what is mentioned in the ChangeLog.
3979
3980 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3981
3982         * docs/gst/gstreamer-sections.txt:
3983         * gst/gstelement.h:
3984           Fix up documentation to link to the correct GstGError section.
3985           Add GST_ELEMENT_INFO macro since someone else added a Info message.
3986
3987 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3988
3989         * tools/gst-launch.c: (event_loop):
3990           Make sure that we actually show the important message part of a
3991           warning message.
3992           No need to check if the gerror is not NULL to free; first of all
3993           g_free accepts NULL; and second the default error handler would
3994           segfault if gerror was NULL.
3995
3996 2007-02-21  Wim Taymans  <wim@fluendo.com>
3997
3998         * docs/gst/gstreamer-sections.txt:
3999         Removed docs as well.
4000
4001 2007-02-21  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstmessage.c: (gst_message_parse_duration):
4004         * gst/gstmessage.h:
4005         Remove new messages for release.
4006
4007 2007-02-20  Wim Taymans  <wim@fluendo.com>
4008
4009         * docs/design/part-gstghostpad.txt:
4010         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4011         (gst_ghost_pad_new_full):
4012         Make the ghostpad a parent of the internal pad again for better backward
4013         compatibility. Don't write code that relies on this however.
4014
4015         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4016         (gst_pad_link_check_hierarchy):
4017         Require that parents should be GstElements in the hierarchy check.
4018
4019 2007-02-20  Wim Taymans  <wim@fluendo.com>
4020
4021         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4022         (gst_bin_change_state_func), (bin_query_min_max_init),
4023         (bin_query_latency_fold), (bin_query_latency_done),
4024         (gst_bin_query):
4025         Improve debug info.
4026         Implement latency query.
4027
4028 2007-02-20  Wim Taymans  <wim@fluendo.com>
4029
4030         * docs/design/part-gstghostpad.txt:
4031         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4032         (gst_ghost_pad_internal_do_activate_push),
4033         (gst_ghost_pad_internal_do_activate_pull),
4034         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4035         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4036         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4037         Do not set the internal pad as a parent anymore so we can avoid
4038         hierarchy linking errors when the ghostpad has no parent yet. This also
4039         fixes failed activation because of unlinked internal pads, which in
4040         turn fixes the impossible case where you have to activate a pad before
4041         you can add it to a running element.
4042         Also fix the docs.
4043
4044         * gst/gstpad.c: (pre_activate), (post_activate),
4045         (gst_pad_set_active), (gst_pad_activate_pull),
4046         (gst_pad_activate_push), (gst_pad_check_pull_range):
4047         Add some more debug info.
4048         Mark activation mode in pre_activate so that we don't try to activate in
4049         endless loops. Fixes #385084.
4050
4051 2007-02-19  Wim Taymans  <wim@fluendo.com>
4052
4053         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4054         (gst_base_transform_check_get_range):
4055         Implement a checkgetrange function instead of relying on the default
4056         core behaviour that assumes we can operate in pull mode if we have a
4057         getrange function. First step at fixing #385084.
4058
4059 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4060
4061         * gst/gstchildproxy.h:
4062         * libs/gst/base/gstbasesink.h:
4063         * libs/gst/base/gstbasesrc.h:
4064         * libs/gst/base/gstbasetransform.h:
4065         More docs coverage and some ChangeLog surgery (add missing names)
4066
4067 2007-02-15  Wim Taymans  <wim@fluendo.com>
4068
4069         * docs/design/part-TODO.txt:
4070         * docs/design/part-activation.txt:
4071         * docs/design/part-block.txt:
4072         * docs/design/part-buffering.txt:
4073         * docs/design/part-clocks.txt:
4074         * docs/design/part-element-source.txt:
4075         * docs/design/part-events.txt:
4076         * docs/design/part-gstbin.txt:
4077         * docs/design/part-gstbus.txt:
4078         * docs/design/part-gstpipeline.txt:
4079         * docs/design/part-live-source.txt:
4080         * docs/design/part-messages.txt:
4081         * docs/design/part-overview.txt:
4082         * docs/design/part-qos.txt:
4083         * docs/design/part-query.txt:
4084         * docs/design/part-states.txt:
4085         * docs/design/part-trickmodes.txt:
4086         Some doc updates. Start renaming from stream_time to running_time where
4087         it was used wrongly.
4088
4089 2007-02-15  Wim Taymans  <wim@fluendo.com>
4090
4091         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4092         Answer LATENCY query.
4093
4094 2007-02-15  Wim Taymans  <wim@fluendo.com>
4095
4096         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4097         (GST_START_TEST):
4098         Improve debugging.
4099
4100 2007-02-15  Wim Taymans  <wim@fluendo.com>
4101
4102         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4103         (gst_pad_dispatcher):
4104         Improve debugging of default pad dispatcher and query functions.
4105
4106 2007-02-15  Wim Taymans  <wim@fluendo.com>
4107
4108         * docs/gst/gstreamer-sections.txt:
4109         Remove old unused method.
4110
4111 2007-02-13  Wim Taymans  <wim@fluendo.com>
4112
4113         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4114         Fix check
4115
4116 2007-02-13  Wim Taymans  <wim@fluendo.com>
4117
4118         * docs/design/part-seeking.txt:
4119         Some small update.
4120
4121         * gst/gstsegment.c: (gst_segment_set_seek):
4122         Revert old bogus change that should make seeking work again.
4123
4124 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4125
4126         * docs/random/ensonic/dynlink.txt:
4127         * docs/random/ensonic/interfaces.txt:
4128         * docs/random/ensonic/receipies.txt:
4129           Possible dynamic reconnection api, plus some type fixes the other two
4130           docs.
4131
4132 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4133
4134         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4135         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4136         Also check for an absolute path following file:// in the filesrc
4137         element. Remove redundant check and call g_path_is_absolute() on the
4138         unescaped location.
4139
4140 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4141
4142         * docs/design/draft-klass.txt:
4143           Add existing category analysis.
4144           
4145         * gst/gstcaps.c:
4146           Fix doc example, framerate is a fraction.
4147
4148 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4149
4150         * configure.ac:
4151         * docs/gst/Makefile.am:
4152         * docs/gst/gstreamer-sections.txt:
4153         * docs/libs/Makefile.am:
4154           Erm, forgot a bunch of --extra-dir.
4155
4156 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4157
4158         * configure.ac:
4159         * docs/gst/Makefile.am:
4160         * docs/libs/Makefile.am:
4161         * docs/plugins/Makefile.am:
4162           Add crossreferences to glib/gobject docs.
4163
4164 2007-02-12  Wim Taymans  <wim@fluendo.com>
4165
4166         * docs/design/draft-latency.txt:
4167         Small update.
4168
4169         * docs/libs/gstreamer-libs-sections.txt:
4170         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4171         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4172         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4173         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4174         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4175         (gst_base_sink_get_position), (gst_base_sink_query),
4176         (gst_base_sink_change_state):
4177         * libs/gst/base/gstbasesink.h:
4178         API: gst_base_sink_query_latency() to let subclasses query the upstream
4179         latency.
4180         API: gst_base_sink_get_latency() to let subclasses query the configured
4181         latency in the sink.
4182         Implement query and set latency.
4183         Update some docs.
4184         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4185         don't continue preroll when we are flushing. Fixes #405284.
4186
4187         * tests/check/pipelines/stress.c: (change_state_timeout),
4188         (quit_timeout), (GST_START_TEST), (stress_suite):
4189         Test for #405284.
4190
4191 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4192
4193         Patch by: René Stadler <mail at renestadler de>
4194
4195         * docs/gst/gstreamer-sections.txt:
4196         * gst/gsttaglist.c: (_gst_tag_initialize):
4197         * gst/gsttaglist.h:
4198           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4199
4200 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4201
4202         * docs/libs/Makefile.am:
4203           Fix path to core docs.
4204
4205         * gst/gstbin.c: (gst_bin_get_by_interface),
4206         (gst_bin_iterate_all_by_interface):
4207           Refix docs by also renaming 'interface' to 'iface' in implementation.
4208
4209         * docs/gst/gstreamer-sections.txt:
4210         * gst/gstcaps.c:
4211         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4212         * gst/gstchildproxy.h:
4213         * gst/gstelementfactory.c:
4214         * gst/gstpadtemplate.h:
4215         * libs/gst/controller/gstcontroller.c:
4216         (gst_controlled_property_new):
4217           Document more.
4218
4219 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4220
4221         * gst/gstbin.h:(gst_bin_get_by_interface),
4222         (gst_bin_iterate_all_by_interface):
4223         Replace interface parameter name by iface as interface is 
4224         a reserved keyword in Visual Studio for C++ projects so it removes
4225         a build error for application developpers using VS.
4226         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4227         Fix a bug on Windows in uri format check. Now the prefix checked
4228         is file:// and next we check if the path after file:// is absolute.
4229         * win32/common/libgstbase.def:
4230         * win32/common/libgstdataprotocol.def:
4231         * win32/common/libgstgstreamer.def:
4232         Add new exported functions.
4233
4234 2007-02-09  Andy Wingo  <wingo@pobox.com>
4235
4236         * tests/check/pipelines/simple-launch-lines.c
4237         (simple_launch_lines_suite, test_tee): Disable tee test until I
4238         have time to fix it :-(
4239
4240         * tests/check/Makefile.am (noinst_HEADERS): 
4241         * tests/check/libs/libsabi.c: 
4242         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4243         * tests/check/gst/gstabi.c: 
4244         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4245
4246         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4247         tests for push and pull tee behavior.
4248
4249         * plugins/elements/gsttee.h: 
4250         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4251         mark as deprecated as well as unimplemented. It was a crack idea.
4252         Add support for tee operating in pull mode, off by default.
4253
4254         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4255         normal-case logs down to LOG, raise errors to WARNING.
4256         (gst_registry_xml_read_cache): Don't log before calling a function
4257         that logs.
4258
4259         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4260         exit (registry finalize).
4261         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4262         DEBUG log when we emit signals that people don't even have the
4263         chance to connect to.
4264         (gst_registry_scan_path_level): Less logging in the normal case.
4265
4266 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4267
4268         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4269
4270         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4271         Correctly generate EOS for non-seekable files. We don't have a total
4272         length for them and would get an unexpected end of file if we only
4273         special-cased for regular files. (Fixes: #404569)
4274
4275 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4276
4277         * tests/check/elements/filesrc.c: (GST_START_TEST),
4278         (filesrc_suite):
4279         Add unit test for the GstURIHandler interface in filesrc. This also
4280         tests the newly added file://localhost/foo/bar support.
4281
4282 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         * gst/gstelementfactory.h:
4285           The klass string is not a hierarchy. Add reference to the design doc
4286           for more information and common types.
4287
4288 2007-02-02  Wim Taymans  <wim@fluendo.com>
4289
4290         * gst/gstquery.c: (gst_query_new_latency):
4291         Remove old structure field.
4292
4293 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4294
4295         * tools/gst-launch.1.in:
4296           Give example for network streaming (#351998)
4297
4298 2007-02-02  Wim Taymans  <wim@fluendo.com>
4299
4300         * docs/gst/gstreamer-sections.txt:
4301         Add docs for new methods.
4302
4303         * gst/gstevent.c: (gst_event_new_latency),
4304         (gst_event_parse_latency):
4305         * gst/gstevent.h:
4306         Add new LATENCY event to configure latency in a pipeline.
4307         API: gst_event_new_latency
4308         API: gst_event_parse_latency
4309
4310         * gst/gstmessage.c: (gst_message_new_buffering),
4311         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4312         (gst_message_new_latency), (gst_message_parse_buffering),
4313         (gst_message_parse_lost_preroll):
4314         * gst/gstmessage.h:
4315         Added messages used in draft-latency.
4316         API: gst_message_new_lost_preroll
4317         API: gst_message_parse_lost_preroll
4318         API: gst_message_new_prerolled
4319         API: gst_message_new_latency
4320
4321         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4322         (gst_query_parse_latency):
4323         * gst/gstquery.h:
4324         Implemented new latency query as in design doc.
4325         API: gst_query_new_latency
4326         API: gst_query_set_latency
4327         API: gst_query_parse_latency
4328
4329 2007-02-02  Wim Taymans  <wim@fluendo.com>
4330
4331         * docs/design/draft-latency.txt:
4332         Slight redesign to allow for dynamic latency adjustments.
4333
4334         * docs/design/part-negotiation.txt:
4335         Fix some typos.
4336
4337 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4338
4339         reviewed by: Wim Taymans <wim@fluendo.com>
4340
4341         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4342         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4343         Allow file://localhost/foo/bar URLs and correctly fail for every other
4344         hostname that one sets. This was gnomevfssrc is linked for those if
4345         installed as it can handle it (#403172)
4346
4347 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4348
4349         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4350
4351         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4352         (unref_data), (gst_collect_pads_add_pad_full):
4353         * libs/gst/base/gstcollectpads.h:
4354         Don't put the previously added destroy notify in the GstCollectData
4355         struct as all it's padding is already used and we don't want to break
4356         ABI. Instead put in the pad's GObject data for now. This should be
4357         cleaned up for 0.11 (#402393).
4358
4359 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4360
4361         reviewed by: Wim Taymans <wim@fluendo.com>
4362
4363         * docs/libs/gstreamer-libs-sections.txt:
4364         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4365         (unref_data), (gst_collect_pads_add_pad),
4366         (gst_collect_pads_add_pad_full):
4367         * libs/gst/base/gstcollectpads.h:
4368         API: Add function to specify a destroy notification for custom
4369         GstCollectData when adding new pads in GstCollectPads (#402393).
4370
4371 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * po/sv.po:
4374           Update Swedish translation (#378255).
4375
4376 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4377
4378         * docs/design/draft-klass.txt:
4379           Fix the previous change, this is a list of categories and not a hierarchy.
4380
4381 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4382
4383         * docs/design/draft-klass.txt:
4384           Add info about how to get a list of used classes.
4385
4386 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4387
4388         * plugins/elements/gsttypefindelement.c:
4389         (gst_type_find_element_chain_do_typefinding),
4390         (gst_type_find_element_change_state):
4391           Don't leak found caps in chain function (no idea why that never
4392           showed up as a leak anywhere).
4393
4394 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * gst/gstplugin.h:
4397           Fix and expand GstPluginDesc API docs.
4398
4399 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4400
4401         * gst/gstcaps.c:
4402         * gst/gstelementfactory.c:
4403         * gst/gstpadtemplate.h:
4404           api doc fixes
4405
4406         * libs/gst/controller/gstcontroller.c:
4407         (gst_controlled_property_new):
4408         * tests/examples/controller/audio-example.c:
4409           comment fixes
4410
4411 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4412
4413         * configure.ac:
4414           comment about refining the xml deps
4415
4416         * docs/manuals.mak:
4417           comments about moving away from jade for docs
4418         
4419         * gst/gst.c:
4420           recommit the ifdefs to use the binary registry
4421         
4422         * gst/gstbin.c: (gst_bin_change_state_func):
4423           this break is obsolete
4424
4425         * gst/gstelementfactory.h:
4426           better GST_ELEMENT_DETAILS docs, add comment about translation
4427
4428         * gst/gstinfo.h:
4429           remove eol slash
4430
4431         * gst/gstobject.c: (gst_signal_object_get_type):
4432           add G_UNLIKELY as usual
4433
4434         * gst/gstpad.c: (gst_pad_event_default):
4435           add fall trhu comment
4436
4437         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4438         (gst_registry_binary_initialize_magic),
4439         (gst_registry_binary_save_string),
4440         (gst_registry_binary_save_pad_template),
4441         (gst_registry_binary_save_feature),
4442         (gst_registry_binary_save_plugin),
4443         (gst_registry_binary_write_cache),
4444         (gst_registry_binary_check_magic),
4445         (gst_registry_binary_load_pad_template),
4446         (gst_registry_binary_load_feature),
4447         (gst_registry_binary_load_plugin),
4448         (gst_registry_binary_read_cache):
4449           comment typo and formatting
4450
4451         * gst/gstutils.c: (gst_element_state_get_name),
4452         (gst_element_state_change_return_get_name):
4453           remove obsolete breaks
4454
4455         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4456           add FIXME 0.11 and remove cpp comment
4457
4458 2007-01-29  Edward Hervey  <edward@fluendo.com>
4459
4460         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4461         Fix print statement in an even more portable way.
4462
4463 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4464
4465         * docs/gst/gstreamer-sections.txt:
4466         * gst/gstutils.h:
4467           API: add GST_ROUND_DOWN_* macros (#401781).
4468
4469 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4470
4471         * docs/gst/gstreamer.types.in:
4472         * gst/gstregistry.c: (gst_registry_class_init):
4473           Document registry signals and make gtk-doc pick them up (#401381).
4474
4475 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4476
4477         * docs/pwg/building-testapp.xml:
4478           Add some audioconverts and audioresample to the pipeline, and some
4479           more comments and error handling.
4480
4481 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * docs/manual/manual.xml:
4484         * docs/pwg/pwg.xml:
4485           Fix typo (#400987).
4486
4487 2007-01-26  Wim Taymans  <wim@fluendo.com>
4488
4489         * gst/gstcaps.c: (gst_static_caps_get):
4490         Init caps flags too.
4491
4492 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4493
4494         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4495
4496         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4497         If not using mmap'ed files try to seek to the end instead of the
4498         start to determine whether we can seek at all. This fixes the case
4499         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4500         seeks for everything afterwards fail. Fixes #400656
4501
4502 2007-01-25  Wim Taymans  <wim@fluendo.com>
4503
4504         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4505         Add some refcount debugging.
4506         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4507         in multiple streaming threads.
4508
4509 2007-01-25  Wim Taymans  <wim@fluendo.com>
4510
4511         Patch by: David Schleef <ds at schleef dot org>
4512
4513         * docs/libs/gstreamer-libs-sections.txt:
4514         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4515         * libs/gst/base/gstadapter.h:
4516         API: gst_adapter_copy() that can reduce the amount of memcpy when
4517         getting data from the adapter. Fixes #388201.
4518
4519 2007-01-25  Edward Hervey  <edward@fluendo.com>
4520
4521         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4522         In print statements, "%x" is for guint. Fixes build on macosx.
4523
4524 2007-01-24  Edward Hervey  <edward@fluendo.com>
4525
4526         * plugins/elements/gstmultiqueue.c:
4527         (gst_multi_queue_loop):
4528         Small fix.
4529         (single_queue_overrun_cb), (single_queue_underrun_cb),
4530         (single_queue_check_full), (gst_single_queue_new):
4531         Implement single queue growth system.
4532         This uses the extra-size properties, and will grow single queues by
4533         that much if one goes full whereas there are others empty. This is
4534         called extra-mode in the code.
4535         When a single queue's levels go back below the initial max-size
4536         limits, it is no longer in extra-mode. This is to ensure we don't
4537         consume too much memory.
4538         Fixes #399875
4539
4540 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4541
4542         * gst/gst.c: (gst_init_get_option_group):
4543           Make warning about late g_thread_init() calls a bit more explicit,
4544           so that it's more obvious to application developers what they need
4545           to do if a user files a bug against their application.
4546
4547 2007-01-22  Edward Hervey  <edward@fluendo.com>
4548
4549         * plugins/elements/gstmultiqueue.c:
4550         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4551         Remove previous hack of unsetting the flushing flag for the source pad
4552         instead of activating it. Instead, fix the source pad activate function
4553         so that it no longer depends on having a parent set or not.
4554
4555 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4558
4559         * docs/manual/basics-bus.xml:
4560           Fix example code, gst_element_unref() doesn't exist any longer.
4561
4562 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         Patch by: Mark Nauwelaerts <manauw at skynet be>
4565
4566         * gst/gstpad.c:
4567           Fix two docs typoes (#399094).
4568
4569 2007-01-19  Edward Hervey  <edward@fluendo.com>
4570
4571         * docs/faq/gst-uninstalled:
4572         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4573         depending on libgstbaseutils can work in uninstalled environment.
4574
4575 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4576
4577         * gst/gsttaglist.h:
4578         * gst/gsttagsetter.c:
4579         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4580         statement for new tag.
4581
4582 2007-01-17  Edward Hervey  <edward@fluendo.com>
4583
4584         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4585         When dynamically creating single queues, activate sinkpad before adding
4586         it.
4587         We should be doing the same thing for the source pad, but we can't
4588         since it would call a method which needs the parent to be set in order
4589         to work propertly. Instead of activating the source pad, we just unset
4590         the flushing flag, which is the minimal requirement for adding a pad
4591         to an element in a state greater than READY.
4592
4593 2007-01-17  Edward Hervey  <edward@fluendo.com>
4594
4595         * docs/faq/gst-uninstalled:
4596         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4597         Mac OS X.
4598
4599 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4600
4601         * tests/check/gst/gstabi.c:
4602         * tests/check/gst/struct_hppa.h:
4603         * tests/check/libs/libsabi.c:
4604         * tests/check/libs/struct_hppa.h:
4605           Add ABI structs for HPPA (see #393796).
4606
4607 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4608
4609         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4610           Actually write ABI structs to the file specified in the GST_ABI
4611           environment variable, as the message we print claims we would.
4612
4613 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * tests/check/gst/gsttask.c:
4616           Fix header comment.
4617
4618 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4619
4620         * gst/gsttaglist.c: (_gst_tag_initialize):
4621           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4622           previous two entries.
4623
4624 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4625
4626         * docs/gst/gstreamer-sections.txt:
4627         * gst/gsttaglist.c: (_gst_tag_initialize):
4628         * gst/gsttaglist.h:
4629           Add tag support for beat-per-minute.
4630
4631 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4632
4633         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4634         (gst_registry_binary_initialize_magic),
4635         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4636         (gst_registry_binary_save_pad_template),
4637         (gst_registry_binary_save_feature),
4638         (gst_registry_binary_save_plugin),
4639         (gst_registry_binary_write_cache),
4640         (gst_registry_binary_check_magic),
4641         (gst_registry_binary_load_pad_template),
4642         (gst_registry_binary_load_feature),
4643         (gst_registry_binary_load_plugin),
4644         (gst_registry_binary_read_cache):
4645         * gst/gstregistrybinary.h:
4646           Use glib types, cleanup comments, impement interfaces and uri-types.
4647
4648 2007-01-13  Andy Wingo  <wingo@pobox.com>
4649
4650         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4651         getrange() to return buffers with other caps, while we fix
4652         demuxers and typefind, or otherwise change part-negotiation.txt.
4653
4654 2007-01-12  Andy Wingo  <wingo@pobox.com>
4655
4656         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4657         Factor start/stop into this private function instead of partially
4658         in activate functions and partially in the change_state function.
4659         Fixes setup before the element has changed from READY->PAUSED, as
4660         is the case in pull-mode pipelines.
4661         (gst_base_transform_sink_activate_push)
4662         (gst_base_transform_src_activate_pull): Refactor to use
4663         gst_base_transform_activate().
4664         (gst_base_transform_change_state): Removed, not needed any more.
4665
4666         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4667         Truncate before fixating.
4668         
4669         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4670         Don't set_caps() if the result of fixating is ANY, as it's not
4671         supported, and not necessary in the case of a link with no
4672         template caps on either side. Fixes tests/check/libs/basesrc in
4673         some pull-mode tests.
4674
4675         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4676         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4677         (gst_base_transform_src_activate_pull): 
4678         Track the activation mode.
4679         (gst_base_transform_setcaps): In pull mode, when activating the
4680         src pad, after activating the sink pad, activate the sink pad's
4681         peer, as discussed in part-negotiation.txt.
4682
4683         * libs/gst/base/gstbasesrc.h: 
4684         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4685         vmethod, as in basesink.
4686
4687         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4688
4689         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4690         mode, first proxy the setcaps to the peer pad.
4691         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4692         new fixate vmethod.
4693         (gst_base_sink_default_activate_pull): Rename from
4694         gst_base_sink_activate_pull.
4695         (gst_base_sink_negotiate_pull): New function, performs negotiation
4696         in pull mode before calling ::activate_pull().
4697         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4698         vmethod instead of the default implementation. I have no idea how
4699         this worked before. Negotiate before calling activate_pull.
4700
4701         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4702         sink pads in pull mode. In addition to being correct, fixes
4703         filesrc ! decodebin ! identity ! fakesink.
4704         (gst_pad_get_range, gst_pad_pull_range): Don't call
4705         gst_pad_set_caps() if the caps changes; instead error out with
4706         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4707
4708 2007-01-12  Andy Wingo  <wingo@pobox.com>
4709
4710         * docs/design/part-negotiation.txt: Update with more policy.
4711
4712 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * libs/gst/check/gstbufferstraw.h:
4715         * libs/gst/check/gstcheck.h:
4716           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4717           belongs.
4718
4719 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * tests/check/Makefile.am:
4722         * tests/check/gst/.cvsignore:
4723         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4724         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4725         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4726         (GST_START_TEST), (gst_tag_setter_suite):
4727           Add minimal unit test for beforementioned GstTagSetter bug.
4728
4729 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         Patch by: René Stadler <mail at renestadler dot de>
4732
4733         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4734           gst_tag_list_merge() returns a new list, so it's not the best idea
4735           to ingore its return value. Effectively meant that tags could only
4736           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4737           Also add function guard to require a non-NULL taglist as input (has
4738           always been so due to gst_tag_list_copy(), just making it explicit).
4739
4740 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4741
4742         * docs/random/draft-missing-plugins.txt:
4743           Some additions: mention new API that is supposed to be used at the
4744           various stages; short blob about new gst-inspect introspection
4745           option; mention potential future problem with plugins that have
4746           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4747
4748 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * tools/gst-inspect.c:
4751         (print_plugin_automatic_install_info_codecs),
4752         (print_plugin_automatic_install_info_protocols),
4753         (print_plugin_automatic_install_info), (main):
4754         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4755         introspect plugin files and get machine-parsable output that corresponds
4756         to the last bit of the missing-plugin installer string (small gotcha:
4757         doesn't take into account ranks).
4758
4759 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4760
4761         * configure.ac:
4762         * docs/gst/gstreamer-sections.txt:
4763         * gst/Makefile.am:
4764         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4765         (gst_registry_lookup_locked):
4766         * gst/gstregistry.h:
4767         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4768         (gst_registry_binary_initialize_magic),
4769         (gst_registry_binary_save_string),
4770         (gst_registry_binary_save_pad_template),
4771         (gst_registry_binary_save_feature),
4772         (gst_registry_binary_save_plugin),
4773         (gst_registry_binary_write_cache),
4774         (gst_registry_binary_check_magic),
4775         (gst_registry_binary_load_pad_template),
4776         (gst_registry_binary_load_feature),
4777         (gst_registry_binary_load_plugin),
4778         (gst_registry_binary_read_cache):
4779         * gst/gstregistrybinary.h:
4780         * gst/gstregistryxml.c: (load_feature),
4781         (gst_registry_xml_read_cache):
4782           commit binary registry (disabled by default, see #359653)
4783
4784 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4787           Fix 'make check' too.
4788
4789 2007-01-10  Andy Wingo  <wingo@pobox.com>
4790
4791         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4792         notes.
4793         
4794         * docs/design/part-negotiation.txt: Update with, um, one way that
4795         pull-mode negotiation might work?
4796
4797         * gst/gstpad.h: 
4798         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4799         that the pad must be a src pad; makes sense to call it the other
4800         way in pull mode, and the logic is symmetric anyway.
4801
4802 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4803
4804         * plugins/elements/gstfilesink.c:
4805           Include <stdio.h> for fseeko().
4806
4807 2007-01-10  Wim Taymans  <wim@fluendo.com>
4808
4809         * gst/gstevent.c:
4810         * gst/gstevent.h:
4811         Reserve LATENCY event.
4812
4813 2007-01-09  Wim Taymans  <wim@fluendo.com>
4814
4815         * docs/design/draft-latency.txt:
4816         Updates.
4817
4818 2007-01-09  Wim Taymans  <wim@fluendo.com>
4819
4820         * docs/design/draft-latency.txt:
4821         Updates.
4822
4823         * gst/gstelement.h:
4824         * gst/gststructure.c:
4825         * gst/gsttrace.c:
4826         Small typo fixes.
4827
4828 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4829
4830         * tests/check/.cvsignore:
4831           Ignore test-registry.xml as well.
4832
4833 2007-01-09  Wim Taymans  <wim@fluendo.com>
4834
4835         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4836         unref data at the end when we are done with the pad.
4837
4838 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * docs/gst/gstreamer-sections.txt:
4841         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4842         (init_post), (gst_deinit), (gst_update_registry):
4843         * gst/gst.h:
4844           API: add gst_update_registry() (#391296).
4845
4846         * tests/check/Makefile.am:
4847         * tests/check/gst/gstregistry.c:
4848         * tests/check/gst/.cvsignore:
4849           Simple unit test for the above.
4850
4851 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         * gst/gstregistry.c: (gst_registry_scan_path_level):
4854           Plugin extension on HP-UX is .sl, add that to the list of approved
4855           plugin extensions (see #393796).
4856
4857         * tests/check/gst/gstpad.c: (GST_START_TEST):
4858           ulong => gulong. Fixes compilation with HP-UX compiler.
4859
4860         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4861           Fix compilation if valgrind headers are not available.
4862
4863 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4864
4865         * win32/common/libgstreamer.def: 
4866           Add new exported function.
4867         * win32/vs6/libgstbase.dsp: 
4868           Add gstdataqueue.c to the build.
4869         * win32/vs6/libgstcoreelements.dsp:
4870           Add gstmultiqueue.c to the build.
4871         
4872 2007-01-06  Andy Wingo  <wingo@pobox.com>
4873
4874         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4875         activate_pull(), providing for a way to specialize the process of
4876         spawning a thread to pull on the sink pad. There is a default
4877         implementation.
4878
4879         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4880         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4881         (gst_base_sink_init): Renamed pad activation functions (inserting
4882         "_pad" in their names). Refactor to use the new activate_pull
4883         vmethod, as appropriate.
4884         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4885         default activate_pull function to start a task pulling from the
4886         sink pad, as before.
4887
4888         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4889         on the pads if necessary, as in push()/chain(). Update docs.
4890         Shouldn't affect existing pull() usage as it is currently only
4891         being used on buffers without caps.
4892
4893 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4894
4895         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4896         (init_pre):
4897           Call g_thread_init() first thing in gst_init() / gst_check_init().
4898           When initialisation is done via gst_init_get_option_group() and
4899           GOption parsing, issue a warning if the GLib thread system has not
4900           been initialised yet by the time gst_init_get_option_group() is
4901           called, as it's quite likely other GLib functions such as
4902           g_option_context_new() have been called already then, and
4903           g_thread_init() must be called before any other GLib function. The
4904           application in question must be fixed in that case, since memory
4905           corruption might happen otherwise.
4906           We issue the warning because even if the GLib folks decide to work
4907           around the problem on their end in future, this is still an issue
4908           with all GLib versions >= 2.10.0, so we should warn until we depend
4909           on a GLib version we know to be safe.
4910           Update documentation as well.
4911           Closes bug #391278.
4912
4913 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4914
4915         * tools/gst-inspect.c: (main):
4916         * tools/gst-launch.c: (main):
4917         * tools/gst-typefind.c: (main):
4918         * tools/gst-xmlinspect.c: (main):
4919           Call g_thread_init() really really early, before any other GLib
4920           function (see #342564 and recent discussion on gtk-devel-list).
4921
4922 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4923
4924         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
4925
4926         * gst/gst_private.h:
4927         * gst/gstconfig.h.in:
4928         * gst/gstinfo.h:
4929           On win32, all the __declspec stuff for symbol exporting is
4930           apparently only needed with MSVC, but doesn't work with MingW.
4931           Fixes compilation with MingW and #391909.
4932
4933 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4934
4935         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4936           Change some GST_ERROR_OBJECT that aren't really errors to
4937           GST_WARNING_OBJECT in order to reduce terminal spam.
4938
4939 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4940
4941         * tests/check/Makefile.am:
4942           disable test again, as there seem to be still race problems
4943
4944 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4945
4946         * tests/check/Makefile.am:
4947         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4948         (GST_START_TEST), (queue_suite):
4949           enable queue test again, add tests for the leaky behaviour
4950
4951 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
4952
4953         * configure.ac:
4954         * tests/examples/Makefile.am:
4955           Compile adapter test/example only if the required headers are
4956           available (fixes #391915).
4957
4958 2007-01-01  David Schleef  <ds@schleef.org>
4959
4960         * gst/gstplugin.c:
4961           Restore the previous signal handler for SIGSEGV instead of
4962           setting to default, since we may have stolen it away from
4963           someone.  (i.e., Mono)
4964
4965 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * docs/random/draft-missing-plugins.txt:
4968           Some small additions and clarifications.
4969
4970 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4971
4972         * gst/gstregistryxml.c: (gst_registry_save_escaped):
4973           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4974           since that can lead to random memory corruptions and crashes
4975           (may or may not be related to #383244, #386711, and #386711).
4976
4977 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4978
4979         * tests/check/.cvsignore:
4980         * tests/check/Makefile.am:
4981           sync .cvsignome and CLEANFILES
4982
4983 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4984
4985         * tests/check/Makefile.am:
4986           fix distcheck
4987
4988 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4989
4990         * docs/design/part-states.txt:
4991           two tiny additional comments
4992         
4993         * gst/gststructure.c:
4994           doc fixing
4995
4996         * tests/check/Makefile.am:
4997         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4998         (GST_START_TEST):
4999           disable test for now, unless it gets fixed
5000
5001 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5002
5003         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5004         (GST_START_TEST):
5005           fix race in underrun test
5006
5007 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5008
5009         * tests/check/elements/.cvsignore:
5010           ignore more
5011
5012         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5013         (GST_START_TEST):
5014           try to narrow test failure
5015
5016 2006-12-21  David Schleef  <ds@schleef.org>
5017
5018         * plugins/elements/gstfakesrc.c:
5019           Use g_random_int_range(), since it produces better random
5020           numbers in a range than almost-correct floating point code.
5021
5022 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5023
5024         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5025         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5026         (gst_check_teardown_sink_pad):
5027           do not automatically (de)activate pads
5028
5029         * tests/check/Makefile.am:
5030         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5031         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5032           add new, yet simple tests for queue
5033
5034         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5035         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5036         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5037         (GST_START_TEST):
5038         * tests/check/elements/identity.c: (cleanup_identity):
5039           consistent pad (de)activation
5040
5041 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5042
5043         Patch by: Sebastian Dröge  <slomo ubuntu com>
5044
5045         * libs/gst/base/gstcollectpads.c:
5046           Fix two doc typos (#387866).
5047
5048 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5049
5050         * docs/manual/advanced-dparams.xml:
5051           Fix typo (g_object_control_properties() doesn't exist).
5052
5053 2006-12-19  Edward Hervey  <edward@fluendo.com>
5054
5055         * gst/gstsegment.c: (gst_segment_set_seek):
5056         Fine tune the cases where the segment start/stop values are really
5057         updated.
5058         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5059         Add tests for the return values of gst_segment_set_seek().
5060
5061 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         * gst/gst.c:
5064           Docs typo fix.
5065
5066         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5067         (gst_queue_init):
5068           Fix incorrect documentation and flesh it out a bit more.
5069           Set default values for the max properties on the GParamSpec as well,
5070           so it shows up correctly in gst-inspect.
5071
5072 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5073
5074         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5075           Correct docs of queue, add more detail and crosslink it more.
5076
5077 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5078
5079         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5080           Print additional debug info when the stream isn't perfectly
5081           timestamped; don't try to use invalid durations.
5082
5083 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         * docs/design/Makefile.am:
5086           Dist new design docs.
5087
5088 2006-12-16  Wim Taymans  <wim@fluendo.com>
5089
5090         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5091
5092         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5093         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5094         (gst_collect_pads_stop), (gst_collect_pads_event),
5095         (gst_collect_pads_chain):
5096         * libs/gst/base/gstcollectpads.h:
5097         Add refcounting to the collectpads data so we can track when it's safe
5098         to free the data. Fixes #383382.
5099
5100 2006-12-15  Wim Taymans  <wim@fluendo.com>
5101
5102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5103         (gst_collect_pads_remove_pad):
5104         Automatically activate/deactivate pads when they are added to a
5105         started/stoped collectpads.
5106
5107 2006-12-15  Wim Taymans  <wim@fluendo.com>
5108
5109         * gst/gstelement.c: (gst_element_add_pad):
5110         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5111         * gst/gstpad.c: (gst_pad_init):
5112         Set pads to FLUSHING when they are created. Check, warn and fix when a
5113         demuxer adds an inactive pad to itself when running. Fixes #339326.
5114
5115 2006-12-15  Wim Taymans  <wim@fluendo.com>
5116
5117         * gst/gstelement.c: (gst_element_class_init),
5118         (gst_element_default_send_event), (gst_element_send_event),
5119         (gst_element_default_query), (gst_element_query):
5120         Expose default element send_event and query handling as vmethods that
5121         subclasses can chain up to.
5122
5123 2006-12-15  Wim Taymans  <wim@fluendo.com>
5124
5125         * gst/gstelement.c: (gst_element_set_state_func):
5126         Small documentation fixes.
5127
5128 2006-12-15  Wim Taymans  <wim@fluendo.com>
5129
5130         * docs/design/draft-latency.txt:
5131         Checked in draft for handling latency in pipelines.
5132
5133 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5134
5135         * Makefile.am:
5136         * gstreamer.doap:
5137         * gstreamer.spec.in:
5138           adding .doap file
5139
5140 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * gst/gst.c: (init_pre), (init_post):
5143           init_pre() and init_post() might be called via our GOptionGroup or
5144           from gst_init(), and we should skip both of them if we've already
5145           been initialised, otherwise we will init some things twice or add
5146           two default log functions.
5147
5148 2006-12-13  Edward Hervey  <edward@fluendo.com>
5149
5150         * docs/manual/basics-bus.xml:
5151         No, gst_main_loop does not exist. Its g_main_loop.
5152         Discovered by somebody who abused the copy-paste technique of coding :)
5153
5154 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5155
5156         * gst/gstghostpad.c:
5157           Log ghostpad debug stuff to the GST_PADS category as well rather
5158           than just to the default category.
5159
5160 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * configure.ac:
5163         * gst/gst.c: (init_pre):
5164           Add some basic system details such as OS and architecture
5165           to the debug output if possible, courtesy of uname().
5166
5167 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5168
5169         * docs/gst/running.xml:
5170           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5171           environment variables.
5172
5173 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5174
5175         * tests/check/gst/gstbin.c: (GST_START_TEST):
5176         It is acceptable to have a refcount of 2 or 3 at this point in the
5177         test, because the pipeline might be just posting its state_change
5178         message. The next line then waits for that message to appear using
5179         bus_poll, so that should be fine too.
5180
5181 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5182
5183         * gst/gst.c: (ensure_current_registry_forking):
5184         Ignore EINTR when reading from the child registry pipe.
5185         Explicitly ignore the return value from close, since it makes no
5186         difference.
5187
5188         * gst/gstminiobject.c: (gst_mini_object_ref),
5189         (gst_mini_object_unref):
5190         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5191
5192         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5193         When removing cached plugins, remove their features too, so they're
5194         not visible after they've disappeared.
5195
5196         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5197         In the unlikely case that we are linking pads with no parents, don't
5198         crash trying to get the non-existent parent bin.
5199
5200         * gst/parse/grammar.y:
5201         Output debug in the PIPELINE category
5202
5203 2005-03-08  Wim Taymans  <wim@fluendo.com>
5204
5205         Patch by: René Stadler <mail at renestadler dot de>
5206
5207         * gst/gstclock.c: (gst_clock_new_periodic_id):
5208         Reject invalid clock times for interval of periodic ids.
5209         Fixes ##383506.
5210
5211 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5212
5213         * gst/gstelementfactory.c: (gst_element_factory_create):
5214         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5215         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5216         * tools/gst-inspect.c: (print_element_info):
5217         Fix refcounting of gst_plugin_feature_load to match the docs. 
5218         Fixes: #380129
5219
5220 2006-12-07  Wim Taymans  <wim@fluendo.com>
5221
5222         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5223         (gst_base_sink_get_position):
5224         Improve debugging of events.
5225
5226 2006-12-07  Wim Taymans  <wim@fluendo.com>
5227
5228         Patch by: René Stadler <mail at renestadler dot de>
5229
5230         * gst/gstclock.c: (gst_clock_id_wait):
5231         Make period ids add the interval to the origial requested time instead
5232         of the possibly updated time which can be wrong when there are multiple
5233         waiters for the same id. Fixes #382592.
5234
5235         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5236         (gst_system_clock_id_wait_jitter_unlocked),
5237         (gst_system_clock_id_wait_jitter):
5238         Fix restart in the async notify thread when an async entry is added to
5239         the front of the list. Fixes #381492. 
5240
5241         * tests/check/gst/gstsystemclock.c: (store_callback),
5242         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5243         Added test for multiple async waits.
5244         Added test for async wait order.
5245
5246 2006-12-07  Wim Taymans  <wim@fluendo.com>
5247
5248         * gst/gstbin.c: (gst_bin_query):
5249         Add some more docs about the POSITION query.
5250
5251 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5252
5253         * configure.ac:
5254         Bump version nano - back to CVS.
5255
5256 === release 0.10.11 ===
5257
5258 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5259
5260         * configure.ac:
5261           releasing 0.10.11, "Love never runs on time"
5262
5263 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5264
5265         * win32/common/libgstbase.def:
5266         * win32/common/libgstreamer.def:
5267         * win32/vs8/libgstbase.vcproj:
5268         * win32/vs8/libgstcoreelements.vcproj:
5269         * win32/vs8/libgstreamer.vcproj:
5270         Fix compilation on win32 under VS8
5271         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5272         Partially fixes #381175
5273
5274 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5275
5276         * gst/gstvalue.c: (gst_value_compare_fraction):
5277         If someone is foolish enough to compare 2 fractions with denominator =
5278         0, return UNORDERED rather than aborting.
5279
5280 2006-11-28  Edward Hervey  <edward@fluendo.com>
5281
5282         * libs/gst/base/Makefile.am:
5283         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5284         (gst_data_queue_base_init), (gst_data_queue_class_init),
5285         (gst_data_queue_init), (gst_data_queue_new),
5286         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5287         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5288         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5289         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5290         (gst_data_queue_set_flushing), (gst_data_queue_push),
5291         (gst_data_queue_pop), (gst_data_queue_drop_head),
5292         (gst_data_queue_set_property), (gst_data_queue_get_property):
5293         * libs/gst/base/gstdataqueue.h:
5294         New GstDataQueue object for threadsafe queueing. Most useful for
5295         elements that need some queueing functionnality.
5296         * docs/libs/gstreamer-libs-docs.sgml:
5297         * docs/libs/gstreamer-libs-sections.txt:
5298         Insert documentation for GstDataQueue
5299         * plugins/elements/Makefile.am:
5300         * plugins/elements/gstelements.c:
5301         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5302         (gst_multi_queue_class_init), (gst_multi_queue_init),
5303         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5304         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5305         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5306         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5307         (gst_multi_queue_loop), (gst_multi_queue_chain),
5308         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5309         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5310         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5311         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5312         (wake_up_next_non_linked), (compute_next_non_linked),
5313         (single_queue_overrun_cb), (single_queue_underrun_cb),
5314         (single_queue_check_full), (gst_single_queue_new):
5315         * plugins/elements/gstmultiqueue.h:
5316         New multiqueue element, using GstDataQueue. Used for queuing multiple
5317         streams.
5318         Closes #344639 and #347785
5319
5320 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5321
5322         * docs/pwg/advanced-types.xml:
5323           add more missing type details
5324
5325         * tools/gst-run.c: (main):
5326           remove unused variable
5327
5328 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5329
5330         * docs/libs/Makefile.am:
5331         * docs/libs/gstreamer-libs.types:
5332           add types of base classes to enable gobject specific stuff in the docs
5333
5334         * docs/random/ensonic/embedded.txt:
5335           more ideas about isolating platform specific things
5336
5337 2006-11-20  Wim Taymans  <wim@fluendo.com>
5338
5339         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5340
5341         * libs/gst/check/gstcheck.h:
5342         Fix compilation and running against 0.9.4. Fixes #377332.
5343
5344 2006-11-20  Wim Taymans  <wim@fluendo.com>
5345
5346         * gst/gstsegment.c: (gst_segment_set_seek),
5347         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5348         (gst_segment_to_running_time):
5349         Fix boundary checking in to_running_time() and to_stream_time().
5350         Fixes #377183.
5351
5352         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5353         stream and running time can now be calculated for the complete
5354         clipped segment.
5355
5356 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * gst/gstpad.c: (gst_pad_push_event):
5359           Can't access event structure after giving away ownership of
5360           the event.
5361
5362 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * docs/random/ensonic/embedded.txt:
5365         * docs/random/ensonic/profiling.txt:
5366         * docs/random/ensonic/receipies.txt:
5367           more thinking
5368
5369 2006-11-13  Wim Taymans  <wim@fluendo.com>
5370
5371         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5372
5373         * gst/gstpad.c:
5374         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5375
5376 2006-11-13  Wim Taymans  <wim@fluendo.com>
5377
5378         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5379
5380         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5381         Store new length in segment duration so we don't keep on calling the
5382         potentially expensize get_size() call. Fixes #370865.
5383
5384 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5385
5386         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5387
5388         * win32/common/libgstreamer.def:
5389           Add two missing symbols (#366492).
5390
5391 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5392
5393         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5394         (gst_adapter_take_buffer):
5395         Fix format string to use all its arguments.
5396         Remove useless >= check on a guint
5397
5398 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5399
5400         * tests/examples/adapter/.cvsignore:
5401         Ignore build file as commanded by the build-bot
5402
5403 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5404
5405         * tests/examples/adapter/Makefile.am:
5406         * tests/examples/adapter/adapter_test.c: (run_test_take),
5407         (run_test_take_buffer), (run_tests), (main):
5408
5409         Add new files from the previous commit
5410
5411 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5412
5413         * Makefile.am:
5414         * configure.ac:
5415         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5416         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5417         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5418         * libs/gst/base/gstadapter.h:
5419         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5420         (GST_START_TEST), (gst_adapter_suite):
5421         * tests/examples/Makefile.am:
5422         Do some optimisation work in GstAdapter to avoid copies in more cases.
5423         It could still do slightly better by merging buffers when
5424         gst_buffer_is_span_fast is true, but is already faster. 
5425
5426         Also, avoid traversing a single-linked list to append each incoming 
5427         buffer inside the adapter.
5428
5429         Add simple test app that times the adapter behaviour in different
5430         situations, and extend the unit test to check that bytes enter and
5431         exit the adapter in their original order.
5432
5433 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5434
5435         * docs/random/draft-missing-plugins.txt:
5436           Update: use element message instead of adding a new message
5437           type to the core; don't provide GStreamer API to initiate the
5438           plugin download, just provide API to compose the strings needed
5439           and let an external libgimmestuff handle the rest.
5440
5441 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5442
5443         * tools/gst-inspect.c: (print_element_properties_info):
5444         Print a string instead of 'unknown type' for GValueArray properties
5445
5446 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5447
5448         * docs/random/draft-missing-plugins.txt:
5449         More small fixes.
5450
5451 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * tests/examples/typefind/typefind.c: (type_found), (main):
5454           Make typefind element example work again (#371894); add a
5455           license header.
5456
5457 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * docs/random/draft-missing-plugins.txt:
5460           Commit initial draft about how to deal with missing plugins,
5461           needs work (API too).
5462
5463 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5464
5465         * docs/pwg/advanced-types.xml:
5466           documents the new caps elements (see #363118)
5467
5468 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * gst/gstplugin.c: (gst_plugin_load_file):
5471         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5472         (gst_file_src_map_region), (gst_file_src_start):
5473         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5474         (gst_file_index_commit):
5475           Use g_strerror() instead of strerror() - we want UTF-8.
5476
5477 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         Patch by: Peter Kjellerstedt <pkj at axis com>
5480
5481         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5482           Another printf fix (#371493).
5483
5484 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5485
5486         * tests/check/gst/gsttag.c:
5487           relicence (okay with author=company)
5488
5489 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5492         (gst_pad_push_event):
5493           Enhance debug and improve docs
5494         
5495         * gst/gsturi.c:
5496           Fix docs
5497
5498 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5499
5500         * docs/random/ensonic/distributed.txt:
5501         * docs/random/ensonic/profiling.txt:
5502           more ideas
5503
5504 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * docs/gst/gstreamer-sections.txt:
5507           add new API and fix the build
5508           
5509         * gst/gstbin.c: (gst_bin_recalc_state):
5510         * gst/gstelement.c: (gst_element_message_full),
5511         (gst_element_get_state_func), (gst_element_set_state_func):
5512           use new API and improve logging
5513         
5514         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5515         * gst/gstutils.h:
5516           API: add function to get StateChangereturn names to improve logs 
5517
5518 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5519
5520         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5521           I'm considering shooting the next person to put strerror stuff
5522           in the translateable part of the message.
5523
5524 2006-11-03  Wim Taymans  <wim@fluendo.com>
5525
5526         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5527         Get the type and printf conversion specifiers right.
5528
5529 2006-11-03  Wim Taymans  <wim@fluendo.com>
5530
5531         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5532
5533         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5534         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5535         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5536         Some small cleanups. Improve debugging.
5537         * gst/gstpad.h:
5538         Signal all waiting threads with a broadcast instead of just one.
5539         Fixes #369942.
5540
5541 2006-11-03  Wim Taymans  <wim@fluendo.com>
5542
5543         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5544         (gst_fd_src_create):
5545         Add some debugging. 
5546         Only update fd when it's different from the old.
5547
5548 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5549
5550         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5551           Printf fixes for PPC/OSX, take two (#369366).
5552
5553 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5554
5555         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5556
5557         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5558         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5559         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5560           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5561           don't cast to long long for portability reasons, but use
5562           GLib's types instead.
5563
5564 2006-10-30  Michael Smith  <msmith@fluendo.com>
5565
5566         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5567           Get the arguments to lseek() the right way around.
5568           Fixes 367677.
5569
5570 2006-10-30  Wim Taymans  <wim@fluendo.com>
5571
5572         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5573
5574         * gst/gstinfo.h:
5575         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5576
5577 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5580
5581         * docs/design/part-MT-refcounting.txt:
5582         * docs/random/wtay/capsnego2-docs:
5583         * gst/gstclock.c:
5584         * gst/gstxml.c:
5585           Typo fixes (#366212).
5586
5587 2006-10-28  Wim Taymans  <wim@fluendo.com>
5588
5589         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5590
5591         * gst/gst.c:
5592         * win32/common/libgstbase.def:
5593         * win32/common/libgstreamer.def:
5594         * win32/vs8/libgstbase.vcproj:
5595         * win32/vs8/libgstcontroller.vcproj:
5596         Add needed entries in .def files.
5597         Use HAVE_UNISTD_H.
5598         Rearrange def files in vs8 solutions. Fixes #366286.
5599
5600 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5601
5602         * win32/common/gstconfig.h:
5603           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5604           hand-made win32 gstconfig.h. Fixes #366321.
5605
5606 2006-10-27  Wim Taymans  <wim@fluendo.com>
5607
5608         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5609         (gst_ghost_pad_new_full):
5610         Make acceptcaps return TRUE when we don't have a target, just like
5611         setcaps does.
5612
5613 2006-10-27  Wim Taymans  <wim@fluendo.com>
5614
5615         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5616         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5617
5618 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5619
5620         * gst/gststructure.c: (gst_structure_id_set_value):
5621           If someone tries to set a non-UTF8 string field on a structure,
5622           don't just print a warning, but also ignore the request and do
5623           not change/add that field to the structure.
5624
5625         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5626           Test for the above.
5627
5628 2006-10-25  David Schleef  <ds@schleef.org>
5629
5630         * gst/gstinfo.c:
5631           g_hash_table_insert() needs a cast to a non-const pointer duh.
5632
5633 2006-10-25  David Schleef  <ds@schleef.org>
5634
5635         * gst/gstinfo.c:
5636         * gst/gstinfo.h:
5637           Change name parameter of _gst_debug_register_funcptr to const
5638           to reflect the constness of its use in the function as well
5639           as to quiet a gcc warning.
5640
5641 2006-10-25  Edward Hervey  <edward@fluendo.com>
5642
5643         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5644         Don't push the buffer if it's empty.
5645         Closes #363095
5646
5647 2006-10-24  Wim Taymans  <wim@fluendo.com>
5648
5649         * gst/gstevent.h:
5650         Add small comment.
5651
5652         * libs/gst/base/gstbasetransform.c:
5653         (gst_base_transform_sink_eventfunc):
5654         Debug segment values *after* updating them as this is more
5655         interesting.
5656
5657 2006-10-23  Wim Taymans  <wim@fluendo.com>
5658
5659         * docs/design/part-events.txt:
5660         Update some docs.
5661
5662         * docs/design/part-block.txt:
5663         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5664         (gst_pad_push_event):
5665         Revert BLOCKING patch, it tries to be smart without really having a
5666         clear idea what or how. So, now we discard all FLUSHING events again on
5667         a blocking pad. Should fix gnonlin again.
5668
5669 2006-10-23  Wim Taymans  <wim@fluendo.com>
5670
5671         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5672
5673         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5674         (gst_base_src_start), (gst_base_src_activate_push):
5675         Make sure size is always initialized. Fixes #364388.
5676
5677 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5678
5679         * docs/random/ensonic/distributed.txt:
5680           add some ideas about doing distributed processing
5681
5682         * docs/random/ensonic/profiling.txt:
5683           get_rusage look promising
5684
5685 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5686
5687         * docs/manual/basics-helloworld.xml:
5688           Add a cast in example to fix compile warning
5689
5690 2006-10-18  Wim Taymans  <wim@fluendo.com>
5691
5692         * gst/gstsegment.c: (gst_segment_set_last_stop),
5693         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5694         Relax arg checking again, -1 is allowed.
5695
5696 2006-10-18  Wim Taymans  <wim@fluendo.com>
5697
5698         * gst/gstsegment.c: (gst_segment_set_last_stop),
5699         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5700         _set_last_stop() must be with a value != -1
5701         A _TYPE_SET to -1 means seek to 0.
5702         Calc last_stop correctly for negative rates.
5703         Make sure we work with positive durations when updating a segment.
5704
5705 2006-10-18  Wim Taymans  <wim@fluendo.com>
5706
5707         * docs/design/part-live-source.txt:
5708         * gst/gstclock.h:
5709         Small docs fixes.
5710
5711 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5712
5713         * gst/gstbuffer.h:
5714           Add an explicit cast to GstBuffer** to keep old code that added an
5715           explicit cast to GstMiniObject** for gst_mini_object_replace()
5716           compiling without warning.
5717
5718 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5721           check for validity of dates
5722
5723 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5724
5725         * docs/gst/gstreamer-sections.txt:
5726           Forgot this one, makes gtk-doc shut up.
5727
5728 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5729
5730         Patch by: Peter Kjellerstedt <pkj at axis com>
5731
5732         * gst/gstobject.h:
5733           Don't define xmlNodePtr to gpointer if the core was built with
5734           --disable-loadsave and --disable-registry, this will break
5735           applications that want to use libxml2 but are buildling against a
5736           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5737           instead so we don't have to mess with the libxml2 namespace
5738           (#361675).
5739
5740 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5741
5742         * gst/gstbuffer.h:
5743           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5744           type-punned pointer warnings.
5745
5746 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gstelement.h:
5749           Add casts to the correct return type to state <=> state transition
5750           macros.
5751
5752 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5753
5754         * docs/design/part-live-source.txt:
5755           describe howto handle latency
5756         
5757         * docs/random/ensonic/profiling.txt:
5758           more ideas
5759
5760         * tools/gst-plot-timeline.py:
5761           fix log parsing for solaris, remove unused function
5762
5763 2006-10-16  Wim Taymans  <wim@fluendo.com>
5764
5765         * docs/design/part-trickmodes.txt:
5766         * gst/gstevent.c:
5767         Update some docs regarding reverse playback.
5768
5769 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5770
5771         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5772
5773         * win32/vs8/grammar.vcproj:
5774           Error out with a warning if glib-genmarshal.exe is not in path,
5775           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5776
5777 2006-10-13  Wim Taymans  <wim@fluendo.com>
5778
5779         * gst/gstsegment.c: (gst_segment_set_seek):
5780         When seeking to stop -1, set last_stop (current position) to the
5781         duration of the segment.
5782
5783 2006-10-13  Wim Taymans  <wim@fluendo.com>
5784
5785         * gst/gstelement.h:
5786         Clarify _NO_PREROLL a bit more.
5787
5788         * gst/gstevent.c:
5789         Fix docs.
5790
5791         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5792         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5793         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5794         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5795         due to wrong locking order. Fixes #361769.
5796         Remove some redundant/misplaced checks in pad_block.
5797
5798         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5799         For negative rates, count backwards from the duration.
5800
5801 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * gst/gsterror.c: (_gst_library_errors_init):
5804           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5805           up with something better).
5806
5807 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5808
5809         * win32/vs6/libgstreamer.dsp:
5810         * win32/vs7/libgstreamer.vcproj:
5811         * win32/vs8/libgstreamer.vcproj:
5812           Don't reference glib-compat.c which is currently not used and not
5813           disted; add gstquark.c which was recently added. Fixes #361730.
5814
5815 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5816
5817         * win32/common/libgstbase.def:
5818         * win32/common/libgstcontroller.def:
5819         * win32/common/libgstreamer.def:
5820           Add gst_caps_merge() and a bunch of other recently-added functions.
5821           Fixes #361732.
5822
5823 2006-10-11  Wim Taymans  <wim@fluendo.com>
5824
5825         * docs/plugins/gstreamer-plugins.args:
5826         * docs/plugins/inspect/plugin-coreelements.xml:
5827         * docs/plugins/inspect/plugin-coreindexers.xml:
5828         Update element args.
5829
5830         * gst/gstsystemclock.c:
5831         Small comment update.
5832
5833         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5834         (gst_tee_request_new_pad), (gst_tee_release_pad),
5835         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5836         (gst_tee_sink_activate_pull):
5837         * plugins/elements/gsttee.h:
5838         Some tee loving:
5839         Add default property defines.
5840         Implement release pad function.
5841         Give properties better blubs etc.
5842         Activate pads before adding them to a running tee.
5843         Do simple buffer_alloc on the first requested pad.
5844         Post error when activation fails.
5845
5846 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5847
5848         * gst/gst.c: (ensure_current_registry_forking):
5849           Check return value of write() to make compiler happy.
5850
5851 2006-10-11  Wim Taymans  <wim@fluendo.com>
5852
5853         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5854
5855         * plugins/elements/gstqueue.c: (gst_queue_chain):
5856         Recheck queue filledness after signalling the overrun when we're about
5857         to leak downstream because we released the lock when emitting the signal
5858         and the queue could be empty again. Fixes #352345.
5859
5860 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5861
5862         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5863           Fix refcounting here too, just like we did for _new_valist() a few
5864           days ago (#357180) (thanks to René Stadler). Also remove all those
5865           'Since: 0.9' from the gtk-doc blobs.
5866
5867         * tests/check/libs/controller.c: (controller_refcount_new_list),
5868         (gst_controller_suite):
5869           Unit test for the above.
5870
5871 2006-10-10  Wim Taymans  <wim@fluendo.com>
5872
5873         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5874
5875         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5876         (gst_pad_save_thyself):
5877         Update some docs.
5878         Write pad direction in XML output. Fixes #345496.
5879
5880 2006-10-10  Wim Taymans  <wim@fluendo.com>
5881
5882         Patch by: René Stadler <mail at renestadler dot de>
5883
5884         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5885         (gst_controller_new_list), (_gst_controller_dispose),
5886         (_gst_controller_finalize), (_gst_controller_class_init):
5887         Take ref to controlled object so that it cannot disappear. 
5888         Fixes #357432.
5889
5890 2006-10-10  Wim Taymans  <wim@fluendo.com>
5891
5892         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5893         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5894         (gst_check_teardown_sink_pad):
5895         Activate/deactivate pads in setup/teardown respectively.
5896
5897 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5898
5899         Patch by: Josep Torre Valles <josep@fluendo.com>
5900
5901         * gst/Makefile.am:
5902         Cast values when making gstenumtypes.h.  This pacifies Forte
5903         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5904         in the enumeration.
5905
5906 2006-10-09  Wim Taymans  <wim@fluendo.com>
5907
5908         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5909         Rename some more @cur to @start to fix docs. 
5910
5911         * gst/gstsegment.c: (gst_segment_set_seek):
5912         Fix typo.
5913         time and start must always stay in sync as defined in design doc.
5914
5915         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5916         Rename param to fix docs.
5917
5918         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5919         Check that start and time are in sync.
5920
5921         * tests/check/pipelines/parse-launch.c:
5922         (gst_parse_test_element_change_state):
5923         Activate pad before adding to the element.
5924
5925 2006-10-09  Wim Taymans  <wim@fluendo.com>
5926
5927         * docs/design/part-qos.txt:
5928         Fix typo.
5929
5930         * gst/gstevent.c:
5931         * gst/gstevent.h:
5932         Update seek event docs regarding negative rates.
5933         Rename @cur to @start. 
5934
5935         * gst/gstsegment.c: (gst_segment_set_seek):
5936         * gst/gstsegment.h:
5937         Update set_seek docs regarding negative rates.
5938         Correctly update last_stop to @stop when dealing with negative
5939         rates.
5940         Rename @cur to @start. 
5941
5942         * tests/check/gst/gstpad.c: (GST_START_TEST):
5943         Activate pads before trying to use them.
5944
5945         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5946         (gst_segment_suite):
5947         Add simple check for segments and negative rates.
5948
5949 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5950
5951         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5952         * gst/gsttaglist.h:
5953         * docs/gst/gstreamer-sections.txt:
5954           API: add gst_tag_list_is_empty() (#360467).
5955
5956         * tests/check/gst/gsttag.c: (GST_START_TEST):
5957           And a test case.
5958
5959 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5960
5961         * gst/gstmessage.h:
5962         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5963         a value that doesn't fit on enumeration.
5964
5965 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5966
5967         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5968         Remove local debugging system and use Gstreamer's instead.
5969
5970 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5971
5972         Patch by: Josep Torre Valles <josep@fluendo.com>
5973
5974         * common/m4/gst-error.m4:
5975         Disable warning of statement not reached on Forte.
5976         * gst/gstmessage.h:
5977         Fix warning on Forte (value doesn't fit on enumeration).
5978         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5979         Fix warning on Forte (value doesn't fit on enumeration).
5980         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5981         DEBUG macro says it takes minimum of 2 args and so Forte
5982         complains about the use with just 1 arg.
5983         * plugins/elements/gstfdsink.c:
5984         * plugins/elements/gstfdsrc.c:
5985         * plugins/elements/gstfilesink.c:
5986         * plugins/elements/gstfilesrc.c:
5987         Use correct return type for the uri handler implementations.
5988
5989         All these fix warnings in Forte.  Fixes bug #360860.
5990
5991 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5992
5993         * gst/gstelement.h:
5994           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5995           format string, so don't use G_GNUC_PRINTF for those versions.
5996
5997 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5998
5999         * gst/gsttaglist.c: (gst_is_tag_list):
6000         * gst/gsttaglist.h:
6001           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6002
6003         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6004           Small test for the above.
6005
6006 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * gst/gsttaglist.h:
6009           Less tabs, more spaces.
6010
6011 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6012
6013         * gst/gstinfo.h:
6014           Those two function declarations do actually belong there, revert
6015           commit from yesterday that turned them intro macros.
6016
6017 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6018
6019         Patch by: Josep Torre Valles <josep@fluendo.com>
6020
6021         * gst/gst.c: (gst_init_get_option_group):
6022         Fix empty declaration and type mismatch.
6023         * gst/gstbin.c: (gst_bin_change_state_func):
6024         Fix type mismatch.
6025         * gst/gstelement.c: (gst_element_continue_state),
6026         (gst_element_set_state_func), (gst_element_change_state),
6027         (gst_element_change_state_func):
6028         Fix type mismatches.
6029         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6030         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6031         Cast as appropriate.
6032         * gst/gstobject.c: (gst_class_signal_connect):
6033         Cast as appropriate.  The function pointer parameter really
6034         has the wrong type but would break API if we change it.
6035         * gst/gstquery.c:
6036         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6037         order of including string.h.
6038         * gst/gstutils.c: (gst_element_state_get_name):
6039         Remove unreachable line.
6040         * gst/gstxml.c: (gst_xml_parse_doc):
6041         Fix type mismatch.
6042         All these caught by Forte.
6043
6044 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6045
6046         Patch by: Josep Torre Valles <josep@fluendo.com>
6047
6048         * common/m4/gst-error.m4:
6049         Fixed bug #360151.
6050         We need to disable warnings on Forte for empty declarations
6051         due to gst-indent adding ;s to lines that just use macros
6052         where the macro actually doesn't need a ; at end to end
6053         statement.
6054
6055 2006-10-06  Wim Taymans  <wim@fluendo.com>
6056
6057         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6058         (gst_file_sink_close_file), (gst_file_sink_event),
6059         (gst_file_sink_render):
6060         Add some FIXME for the NEWSEGMENT handling.
6061
6062 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6063
6064         * gst/parse/grammar.y:
6065         Remove static function gst_parse_element_lock as all it does
6066         is return.  Looks like cruft from 0.8.
6067
6068 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6069
6070         Patch by: Josep Torre Valles <josep@fluendo.com>
6071
6072         * common/m4/gst-error.m4:
6073         * configure.ac:
6074         * libs/gst/net/Makefile.am:
6075         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6076         libresolv.
6077
6078 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6079
6080         * gst/gstpad.c: (pre_activate):
6081         * gst/gstregistry.c: (gst_registry_scan_path_level):
6082         * gst/gstregistryxml.c: (load_plugin):
6083         * libs/gst/controller/gstcontroller.c:
6084         (gst_controlled_property_set_interpolation_mode):
6085         * libs/gst/dataprotocol/dataprotocol.c:
6086         (gst_dp_packet_from_event_1_0):
6087         * libs/gst/net/gstnetclientclock.c:
6088         (gst_net_client_clock_observe_times):
6089         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6090           Printf fixes.
6091
6092 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * configure.ac:
6095         * docs/gst/gstreamer-sections.txt:
6096         * gst/gstconfig.h.in:
6097         * gst/gstelement.h:
6098         * gst/gstinfo.h:
6099           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6100           whether we can use G_GNUC_PRINTF in other header files and at
6101           least check the printf format/arguments of debug messages and
6102           GST_ELEMENT_ERROR messages when the printf extension is not
6103           being used.
6104           Replace more tabs with spaces in gstinfo.h and remove two spurious
6105           function declarations in GST_DISABLE_DEBUG part with macros.
6106
6107 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6110           More docs for the sync-message signal (mention that it is not
6111           emitted by default); log message structures of messages posted on
6112           the bus as well.
6113
6114 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6115
6116         * gst/gst.c: (ensure_current_registry_forking):
6117         Use a pipe pair to receive status results from the forked child, and
6118         ignore the result from waitpid. Fixes #355499
6119
6120 2006-10-02  Wim Taymans  <wim@fluendo.com>
6121
6122         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6123         (gst_ghost_pad_suite):
6124         Fix leak in check.
6125
6126 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6127
6128         * gst/gstpad.c:
6129           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6130
6131 2006-10-02  Edward Hervey  <edward@fluendo.com>
6132
6133         * docs/design/part-block.txt:
6134         Further explain the use of flushing on blocked pads.
6135         * docs/gst/gstreamer-sections.txt:
6136         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6137         (gst_pad_push_event):
6138         * gst/gstpad.h:
6139         Added new GstPadFlag : GST_PAD_BLOCKING.
6140         Adds the notion of pads really blocking, which enables to properly
6141         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6142         Fixes #358999
6143         API: gst_pad_is_blocking()
6144         API: GST_PAD_IS_BLOCKING() macro
6145         API: GST_PAD_BLOCKING GstPadFlag
6146         
6147 2006-10-02  Wim Taymans  <wim@fluendo.com>
6148
6149         Patch by: mrcgran <mrc.gran at gmail dot com>
6150
6151         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6152         Filter the proxied caps against the padtemplate if we have one.
6153
6154         * gst/gstquery.c: (gst_query_new_segment):
6155         Add include for gstinfo.h so that compilation with
6156         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6157
6158 2006-10-02  Wim Taymans  <wim@fluendo.com>
6159
6160         Patch by: Alessandro Decina  <alessandro at nnva org>
6161
6162         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6163         (gst_file_sink_set_location), (gst_file_sink_open_file),
6164         (gst_file_sink_close_file), (gst_file_sink_event),
6165         (gst_file_sink_render):
6166         Set file to NULL when closing filesink so that we can set a new filename
6167         in READY. Fixes #358613.
6168
6169 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         Patch by: Alessandro Decina  <alessandro at nnva org>
6172
6173         * gst/gstevent.c: (_gst_event_copy):
6174           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6175           with event structures by setting the parent refcount address of the
6176           copied structure to the address of the refcount member of the newly
6177           copied event rather than the address of the refcount member of the
6178           original event. Fixes #358737.
6179
6180         * tests/check/gst/gstevent.c: (GST_START_TEST):
6181           Unit test for the above.
6182
6183 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6184
6185         * docs/design/Makefile.am:
6186           Dist some more files.
6187
6188 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         * tests/check/libs/controller.c: (GST_START_TEST),
6191         (gst_controller_suite):
6192           Add test for the previous fix; add some more tests
6193           for correct refcounting behaviour; fix a few leaks
6194           in test cases; call gst_controller_init() at start
6195           of all tests.
6196
6197 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6200         (gst_controller_set_from_list):
6201           Don't g_return_val_if_fail() on timed values with invalid timestamps
6202           inside a critical section without unlocking the mutex. Spotted by
6203           René Stadler. (#357617)
6204           Also, fix up refcounting properly: when returning an existing
6205           controller, we should increase the reference only once and not
6206           once per property and when trying to control a property again
6207           we should also increase the refcount.
6208
6209 2006-09-29  Wim Taymans  <wim@fluendo.com>
6210
6211         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6212         * libs/gst/net/gstnettimeprovider.c:
6213         (gst_net_time_provider_thread):
6214         Stop reading commands when EOF as well.
6215
6216         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6217         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6218         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6219         Unify description of the dump property.
6220
6221 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6222
6223         * tests/examples/manual/.cvsignore:
6224         OK, so it's actually cvsignore that needs changing. Stop laughing.
6225
6226 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6227
6228         * tests/examples/manual/Makefile.am:
6229         Gah, declare vars *before* using them
6230
6231 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6232
6233         * gst/gst.c: (init_pre), (scan_and_update_registry),
6234         (ensure_current_registry_nonforking),
6235         (ensure_current_registry_forking), (ensure_current_registry),
6236         (init_post), (gst_debug_help), (gst_deinit):
6237         * gst/gst_private.h:
6238         * gst/gstregistry.c: (gst_registry_finalize),
6239         (gst_registry_remove_features_for_plugin_unlocked),
6240         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6241         (gst_registry_scan_path),
6242         (_priv_gst_registry_remove_cache_plugins),
6243         (_priv_gst_registry_cleanup):
6244         * gst/gstregistry.h:
6245         Re-commit the registry changes, along with an extra fix:
6246           When a cached plugin is encountered at a different file path,
6247           update the stored path in the registry cache so that the parent
6248           process knows where it actually is now when it re-reads the registry
6249           cache. Fixes the thing that broke distcheck with the previous commit.
6250
6251         * tests/check/Makefile.am:
6252         Clean up files named 'core' too when running make clean.
6253
6254         * tests/examples/manual/Makefile.am:
6255         Set up a registry path for running these tests, and clean it properly
6256         for distcheck.
6257
6258 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6259
6260         * configure.ac:
6261         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6262         want gmodule-no-export-2.0.pc instead so that we don't drag in
6263         --export-dynamic on every project that links to GStreamer.
6264
6265         Also, make our export regex only match the start of symbols, rather 
6266         than any symbol that contains '_gst' somewhere.
6267
6268         * libs/gst/check/Makefile.am:
6269         The libgstcheck we build does however need export-dynamic, as it
6270         produces some symbols that don't match our _gst... style regex.
6271         Fixes: #318031
6272
6273 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6274
6275         * gst/gst.c: (init_pre), (scan_and_update_registry),
6276         (ensure_current_registry_nonforking),
6277         (ensure_current_registry_forking), (ensure_current_registry),
6278         (init_post), (gst_debug_help), (gst_deinit):
6279         * gst/gst_private.h:
6280         * gst/gstregistry.c: (gst_registry_finalize),
6281         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6282         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6283         (_gst_registry_cleanup):
6284         * gst/gstregistry.h:
6285           Revert previous change until I figure out why it breaks distcheck.
6286
6287 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6288
6289         * gst/gst.c: (init_pre), (scan_and_update_registry),
6290         (ensure_current_registry_nonforking),
6291         (ensure_current_registry_forking), (ensure_current_registry),
6292         (init_post), (gst_debug_help), (gst_deinit):
6293
6294           Make init_pre and init_post take the full complement of GOptionFunc
6295           args so they can return useful GErrors. Make the registry updating
6296           functions do so.
6297
6298           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6299           ensure that the registry we're about to write out doesn't contain
6300           stale information about old-deleted plugin files.
6301
6302           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6303           that deletion of plugin files is considered a registry change.
6304
6305         * gst/gst_private.h:
6306         * gst/gstregistry.c: (gst_registry_finalize),
6307         (gst_registry_remove_features_for_plugin_unlocked),
6308         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6309         (gst_registry_scan_path),
6310         (_priv_gst_registry_remove_cache_plugins),
6311         (_priv_gst_registry_cleanup):
6312         * gst/gstregistry.h:
6313         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6314         by adding _priv prefix, so that they won't appear in the global
6315         symbol table. They still do atm though because of #318031. Move the
6316         prototypes to gst_private.h
6317
6318         When removing a plugin, remove all features for that plugin too. 
6319         Fixes #340878.
6320
6321 2006-09-27  Wim Taymans  <wim@fluendo.com>
6322
6323         * docs/random/moving-plugins:
6324         Make it clear that the "compiled-in descriptions" really mean
6325         the element details.
6326
6327         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6328         (gst_base_sink_wait_preroll):
6329         Update docs.
6330
6331         * docs/libs/gstreamer-libs-sections.txt:
6332         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6333         (gst_base_src_get_range), (gst_base_src_activate_push):
6334         * libs/gst/base/gstbasesrc.h:
6335         Added function to block while waiting for PLAYING, this function
6336         is used by live sources that block on the clock.
6337         API: gst_base_src_wait_playing()
6338
6339 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         Patch by: Peter Kjellerstedt <pkj at axis com>
6342
6343         * Makefile.am:
6344           gst-element-check.m4 is generated and should therefore be
6345           copied from the build dir rather than the source dir (#357593).
6346           'make distcheck' hasn't noticed this because we were disting
6347           the file as well, so stop doing that.
6348
6349 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6350
6351         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6352           Add some tests for gst_caps_intersect().
6353
6354         * tools/gst-launch.c: (event_loop):
6355           Print all buffering percentages we get, even the 100% one.
6356
6357 2006-09-26  Wim Taymans  <wim@fluendo.com>
6358
6359         * tools/gst-inspect.c: (print_element_properties_info),
6360         (print_signal_info):
6361         Fix printing of flags to match the look of enums.
6362
6363 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6364
6365         * gst/gstelementfactory.c:
6366           Fix typo in docs blurb.
6367
6368 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * gst/gsturi.c: (search_by_entry):
6371           Don't assert/crash here if a uri handler doesn't return any
6372           supported protocols. The list of protocols could be generated
6373           dynamically at runtime or at plugin registration, and an error
6374           in the underlying library shouldn't be fatal (#353301).
6375
6376 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * gst/gstinfo.c:
6379           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6380           (spotted by Peter Kjellerstedt).
6381
6382 2006-09-23  Wim Taymans  <wim@fluendo.com>
6383
6384         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6385
6386         * libs/gst/base/gstbasesrc.c:
6387         (gst_base_src_default_check_get_range), (gst_base_src_start),
6388         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6389         (gst_base_src_change_state):
6390         Match _start/_stop calls in the activate functions. Remove redundant
6391         _stop call from the state change function. Fixes #356910.
6392         Turn failure DEBUG into ERROR. 
6393
6394 2006-09-22  Wim Taymans  <wim@fluendo.com>
6395
6396         * docs/design/part-buffering.txt:
6397         * gst/gstmessage.c: (gst_message_new_buffering),
6398         (gst_message_parse_buffering):
6399         Update docs about buffering.
6400
6401         * docs/design/part-trickmodes.txt:
6402         Fix typo.
6403
6404 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6405
6406         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6407         (gst_controller_new_list):
6408           Ref instances when returning them again (fixes #357180)
6409
6410 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6413           Don't forget to release proxy lock when there's an error.
6414
6415 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6416
6417         * gst/gstcaps.h:
6418           Add extra initialisers for Caps things, to fix some plugin warnings
6419           when using -Wextra
6420
6421 2006-09-18  Wim Taymans  <wim@fluendo.com>
6422
6423         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6424           Also set template on the internal pad so that a getcaps from the 
6425           target pad returns the template caps.
6426
6427 2006-09-18  Wim Taymans  <wim@fluendo.com>
6428
6429         * gst/gstelement.c: (gst_element_post_message),
6430         (gst_element_dispose):
6431         Use _DEBUG_OBJECT some more.
6432
6433         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6434         Avoid typechecks.
6435
6436         * tools/gst-launch.c: (main):
6437         If the toplevel element is not a GstPipeline, it must be put in a
6438         pipeline so that a bus and clock is selected.
6439
6440 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6441
6442         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6443           JITTER, RATE, and LATENCY query should be handled by the
6444           default case and not by the CONVERT query code.
6445
6446 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6447
6448         * gst/gstformat.c: (gst_format_register):
6449           Fix locking order (must take lock before using n_values).
6450
6451         * gst/gstvalue.c: (gst_value_serialize_enum),
6452         (gst_value_deserialize_enum_iter_cmp),
6453         (gst_value_deserialize_enum):
6454           Fix serialisation/deserialisation of custom registered GstFormats.
6455
6456         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6457           Unit test for custom format serialisation/deserialisation.
6458
6459 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6460
6461         * docs/pwg/building-boiler.xml:
6462         * plugins/elements/gstcapsfilter.c:
6463         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6464         section.
6465
6466 2006-09-16  Edward Hervey  <edward@fluendo.com>
6467
6468         * libs/gst/base/gstbasetransform.c:
6469         (gst_base_transform_buffer_alloc):
6470         Check if requested caps are the same as the sinks caps IF
6471         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6472         is FALSE.
6473         This fixes the renegotiation issues stated in #352827.
6474
6475 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6476
6477         * configure.ac:
6478         * docs/manual/advanced-autoplugging.xml:
6479         * tests/examples/Makefile.am:
6480         * tests/examples/manual/.cvsignore:
6481         * tests/examples/manual/Makefile.am:
6482         * tests/examples/manual/extract.pl:
6483           Extract the manual examples again like we used to do.
6484           Fix one of them.
6485
6486 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6487
6488         * win32/common/config.h:
6489           update for version
6490
6491 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6492
6493         * gst/gsterror.c:
6494           Documents how to receive errors.
6495
6496 2006-09-15  Wim Taymans  <wim@fluendo.com>
6497
6498         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6499         (event_loop), (main):
6500         Added some comments here and there.
6501         Post an application message when an interrupt is caught instead of doing
6502         an uncontrolled state change.
6503         Clean up the event loop.
6504         Handle buffering messages, pause/resume the pipeline.
6505         Make shutdown because of an interrupt more reliable.
6506
6507 2006-09-15  Wim Taymans  <wim@fluendo.com>
6508
6509         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6510         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6511         (gst_base_sink_preroll_object):
6512         Make sure that our internal state is correct when we commit our state
6513         asynchronously. This solves a race where a state change to PLAYING
6514         could cause the sink to remain blocked in preroll in some situations.
6515
6516 2006-09-15  Wim Taymans  <wim@fluendo.com>
6517
6518         * tools/gst-inspect.c: (print_element_properties_info),
6519         (print_signal_info):
6520         List flags as hex so it's easier to deal with.
6521
6522 2006-09-15  Wim Taymans  <wim@fluendo.com>
6523
6524         * docs/libs/gstreamer-libs-sections.txt:
6525         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6526         (gst_base_sink_do_sync):
6527         * libs/gst/base/gstbasesink.h:
6528         Expose logic to wait for preroll so that subclasses such as audiosink
6529         can also use this method.
6530         API: gst_base_sink_wait_preroll()
6531
6532 2006-09-15  Wim Taymans  <wim@fluendo.com>
6533
6534         * gst/gstobject.c: (gst_object_set_parent):
6535         * gst/gstpipeline.c: (do_pipeline_seek):
6536         Small cleanups in docs and code.
6537
6538         * gst/gstsegment.c: (gst_segment_clip):
6539         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6540         if stop == start and start is in the segment, no clipping should be
6541         done. Also add a test for this.
6542
6543 2006-09-15  Wim Taymans  <wim@fluendo.com>
6544
6545         * docs/design/part-buffering.txt:
6546         * docs/gst/gstreamer-sections.txt:
6547         * gst/gstmessage.c: (gst_message_new_buffering),
6548         (gst_message_parse_buffering):
6549         * gst/gstmessage.h:
6550         Added methods to create and parse BUFFERING messages.
6551         Added preliminary docs about buffering.
6552         API: gst_message_new_buffering
6553         API: gst_message_parse_buffering
6554
6555 2006-09-06  Wim Taymans  <wim@fluendo.com>
6556
6557         * gst/gstbin.c:
6558         Update documentation.
6559
6560         * gst/gstelement.c: (gst_element_class_init),
6561         (gst_element_release_request_pad), (gst_element_set_clock),
6562         (gst_element_get_index), (gst_element_add_pad),
6563         (gst_element_remove_pad), (gst_element_get_random_pad),
6564         (gst_element_send_event), (gst_element_get_query_types),
6565         (gst_element_query), (gst_element_post_message),
6566         (gst_element_message_full), (gst_element_continue_state),
6567         (gst_element_lost_state), (gst_element_save_thyself),
6568         (gst_element_restore_thyself):
6569         Documentation updates.
6570         Rename last bit of the new-pad -> pad-added signal rename.
6571         Fix the case where an element query would only work if the source
6572         pad was linked.
6573         Avoid some useless type checking in message handling.
6574
6575         * gst/gstevent.c:
6576         * gst/gstevent.h:
6577         * gst/gstutils.c:
6578         Documentation updates.
6579
6580 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6581
6582         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6583           add an INFO line for when we actually update the fd
6584
6585 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6586
6587         * configure.ac:
6588           back to TRUNK
6589
6590 === release 0.10.10 ===
6591
6592 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6593
6594         * configure.ac:
6595           releasing 0.10.10, "Pais"
6596
6597 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * docs/manual/advanced-position.xml:
6600           Fix typo in sample code.
6601
6602 2006-09-05  Wim Taymans  <wim@fluendo.com>
6603
6604         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6605         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6606         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6607         * libs/gst/net/gstnetclientclock.h:
6608         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6609         * libs/gst/net/gstnettimepacket.h:
6610         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6611         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6612         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6613         * libs/gst/net/gstnettimeprovider.h:
6614         Make stuff compile on windows. Fixes #345295.
6615
6616 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6617
6618         * gst/gst.c: (ensure_current_registry_forking):
6619           Print better details when child was terminated by signal.
6620
6621 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6622
6623         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6624           Print a warning rather than g_assert() if a plugin feature
6625           is a URI handler but returns no protocols (#353976).
6626
6627 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * docs/random/moving-plugins:
6630         Fix two typos.         
6631
6632 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6633
6634         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6635           Fix locking order, handle NULL function values properly.
6636
6637         * gst/gstinfo.h:
6638           Fix docs.
6639
6640         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6641           Initialise variable before using it and fix debug statement to
6642           print the address of the function rather than the address of the
6643           variable on the stack holding the address of the function.
6644
6645 2006-09-01  Wim Taymans  <wim@fluendo.com>
6646
6647         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6648         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6649         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6650         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6651         (gst_ghost_pad_parent_unset),
6652         (gst_ghost_pad_internal_do_activate_push),
6653         (gst_ghost_pad_internal_do_activate_pull),
6654         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6655         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6656         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6657         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6658         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6659         (gst_ghost_pad_new_no_target_from_template),
6660         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6661         More cleanups.
6662         Avoid needless typechecking in macros.
6663         Since the internal pad is always present and never changes, there is
6664         no need to locking or ref when retrieving it.
6665         Improve debugging a bit.
6666         Handle link errors when setting the target. Fixes #341029.
6667
6668 2006-09-01  Wim Taymans  <wim@fluendo.com>
6669
6670         * docs/libs/gstreamer-libs-sections.txt:
6671         * docs/plugins/gstreamer-plugins-sections.txt:
6672         Fix docs some more.
6673
6674         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6675         (gst_collect_pads_event):
6676         * libs/gst/base/gstcollectpads.h:
6677         Documentation updates.
6678         Free queued buffer when removing a pad.
6679
6680 2006-08-31  Michael Smith  <msmith@fluendo.com>
6681
6682         * gst/gstutils.c: (gst_element_link_pads),
6683         (gst_element_link_pads_filtered):
6684           Ensure that we set a capsfilter to NULL if we failed to link it
6685           when doing filtered linking, to avoid criticals.
6686
6687           No need to check for unreffing srcpad, which is explicly NULLed
6688           above (a trivial code cleanup).
6689
6690 2006-08-31  Wim Taymans  <wim@fluendo.com>
6691
6692         * docs/design/part-gstghostpad.txt:
6693         Update ascii art in documentation.
6694
6695         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6696         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6697         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6698         (gst_ghost_pad_internal_do_activate_push),
6699         (gst_ghost_pad_internal_do_activate_pull),
6700         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6701         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6702         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6703         (gst_ghost_pad_set_target):
6704         Small cleanups and leak fixes.
6705         Remove some checks now that the internal pad is never NULL.
6706         Fix the case where linking pads without a target would create nasty
6707         criticals. Fixes #341029.
6708         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6709         value of _set_target().
6710
6711         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6712         (gst_ghost_pad_suite):
6713         Some more tests for creating and linking untargeted ghostpads.
6714
6715 2006-08-31  Edward Hervey  <edward@fluendo.com>
6716
6717         * docs/gst/gstreamer-sections.txt:
6718         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6719         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6720         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6721         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6722         (gst_ghost_pad_new_from_template),
6723         (gst_ghost_pad_new_no_target_from_template):
6724         * gst/gstghostpad.h:
6725         Refactored *_new() functions.
6726         Templates are now used as a g_object_new() parameter.
6727         Use template in _do_getcaps() if we don't have a target.
6728         Small documentation cleanups.
6729         Added two new constructors:
6730         gst_ghost_pad_new_from_template()
6731         gst_ghost_pad_new_no_target_from_template()
6732         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6733         (gst_ghost_pad_suite):
6734         Added tests for new ghostpad instanciation functions.
6735
6736         API additions: gst_ghost_pad_new_from_template,
6737         gst_ghost_pad_new_no_target_from_template
6738
6739 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6740
6741         * docs/random/ensonic/profiling.txt:
6742           Ideas about qos profiling.
6743
6744 2006-08-29  Wim Taymans  <wim@fluendo.com>
6745
6746         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6747         Code cleanups.
6748         Fix memleak.
6749
6750 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         * gst/gstxml.c:
6753           Improve and detypofy docs.
6754
6755         * tests/check/Makefile.am:
6756         * tests/check/gst/.cvsignore:
6757         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6758           Add a basic test suite for GstXML.
6759
6760 2006-08-29  Wim Taymans  <wim@fluendo.com>
6761
6762         * gst/gstelement.c: (activate_pads), (clear_caps),
6763         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6764         Clear the pad caps when the element shut down all of the pads and
6765         is not streaming data that could modify the caps. 
6766         Fixes #352958.
6767
6768 2006-08-28  Michael Smith  <msmith@fluendo.com>
6769
6770         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6771           Revert previous change; I misunderstood single-segment mode.
6772
6773 2006-08-28  Michael Smith  <msmith@fluendo.com>
6774
6775         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6776           Unset DISCONT on buffers when using single-segment mode.
6777
6778 2006-08-28  Wim Taymans  <wim@fluendo.com>
6779
6780         * gst/gstcaps.c: (gst_caps_merge_structure):
6781         * gst/gstcaps.h:
6782         Fix docs and indentation again.
6783
6784         * tests/check/gst/gstquery.c: (GST_START_TEST):
6785         Fix leak in tests and add some more tests.
6786
6787 2006-08-28  Edward Hervey  <edward@fluendo.com>
6788
6789         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6790         Inform GstSegment of the last stop position in order for the current
6791         segment to have a proper duration if it doesn't have a specific stop
6792         position from which a duration could be calculated.
6793         This bug was noticeable when a non-flushing, non-update new segment was
6794         followed by another segment (all buffers from the new segment were being
6795         dropped).
6796
6797 2006-08-28  Wim Taymans  <wim@fluendo.com>
6798
6799         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6800         Small comment update.
6801
6802         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6803         (gst_identity_transform_ip):
6804         Drop-probability is broken, mention this in the code with a 
6805         FIXME and also in the property description.
6806         Make silent also be silent about the drop messages.
6807
6808 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6809
6810         * docs/manual/appendix-win32.xml:
6811           Remove mention of popt, we don't depend on that any
6812           longer (#353136). Add some comments pointing out that
6813           this section is slightly outdated.
6814
6815 2006-08-28  Wim Taymans  <wim@fluendo.com>
6816
6817         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6818
6819         * gst/gstquery.c: (gst_query_new_segment):
6820         * tests/check/gst/gstquery.c: (GST_START_TEST):
6821         Initialize variables when creating a new segment query.
6822         Fixes #353121.
6823
6824 2006-08-28  Wim Taymans  <wim@fluendo.com>
6825
6826         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6827
6828         * gst/gstelement.c: (gst_element_get_bus):
6829         * tests/check/gst/gstelement.c: (GST_START_TEST):
6830         Check for NULL before _reffing the bus. Fixes #353122.
6831
6832 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6833
6834         * docs/manual/basics-bus.xml:
6835           Docs update: fix wrong callback return value explanation; add
6836           some lines about the implicit relationship between main loop
6837           and main context; remove duplicate main loop variable declaration.
6838
6839 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6840
6841         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6842           Don't leak caps in unit test; add a few more simple
6843           checks. 
6844
6845 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6846
6847         * docs/gst/gstreamer-sections.txt:
6848         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6849         (gst_caps_structure_is_subset), (gst_caps_merge),
6850         (gst_caps_merge_structure):
6851         * gst/gstcaps.h:
6852         * libs/gst/base/gstbasetransform.c:
6853         (gst_base_transform_transform_caps):
6854         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6855           implement caps merging (fixes #352580)
6856
6857 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6858
6859         * tools/Makefile.am:
6860         * tools/gst-plot-timeline.py:
6861           add debug-log plotting developer tool (#340674)
6862
6863 2006-08-23  Wim Taymans  <wim@fluendo.com>
6864
6865         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6866         (gst_pad_stop_task):
6867         Improve debugging for task functions.
6868
6869         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6870         (gst_task_start), (gst_task_pause), (gst_task_join):
6871         Make sure that the task function started and finished after a 
6872         join(). 
6873         Don't try to push the task function on the threadpool multiple
6874         times.
6875         Improve the g_warning message with some useful suggestions
6876         about how to fix the problem. 
6877
6878 2006-08-23  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstutils.c: (gst_pad_proxy_getcaps):
6881         Handle RESYNC correctly in _proxy_getcaps.
6882
6883 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6886         (gst_xml_parse_memory), (gst_xml_get_element):
6887           Chain up to parent class in dispose function and also
6888           unref the elements in the toplevel_elements GList.
6889           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6890           Always return a reference in gst_xml_get_element() rather
6891           than only sometimes.
6892
6893         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6894           Don't leak GstXml object.
6895
6896 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
6897
6898         * docs/gst/gstreamer-sections.txt:
6899         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6900         (gst_caps_merge):
6901         * gst/gstcaps.h:
6902         * libs/gst/base/gstbasetransform.c:
6903         (gst_base_transform_transform_caps):
6904           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6905           in a better way
6906
6907 2006-08-21  Edward Hervey  <edward@fluendo.com>
6908
6909         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6910         Implement GObject::dispose virtual method in GstXML so we can free the
6911         top_elements GList.
6912
6913 2006-08-21  Wim Taymans  <wim@fluendo.com>
6914
6915         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6916         (gst_buffer_create_sub):
6917         Copy duration/offset_end/caps when creating a subbuffer of the
6918         complete parent.
6919         Make the subbuffer read-only when we make the metadata writable for
6920         now. Fixes #351768.
6921
6922         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6923         Added check for metadata copy when creating subbuffers.
6924
6925 2006-08-21  Edward Hervey  <edward@fluendo.com>
6926
6927         * libs/gst/base/gstbasetransform.c:
6928         (gst_base_transform_buffer_alloc):
6929         Only call downstream buffer_alloc if transform element is passthrough
6930         or always_in_place. Closes #350449.
6931
6932 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6933
6934         * ChangeLog:
6935           ChangeLog surgery to add comments to previous changes
6936
6937 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6938
6939         * gst/gst.c:
6940           Add comments
6941
6942         * gst/gstpad.c: (gst_pad_set_active):
6943           Be more verbose in the log
6944
6945         * libs/gst/base/gstbasetransform.c:
6946         (gst_base_transform_transform_caps):
6947           Simplify caps to get rid of duplicates, fixes #345444
6948
6949 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6950
6951         * gst/gstvalue.c:
6952         * gst/gstvalue.h:
6953           Use these optimizations only internally.
6954
6955 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6956
6957         * gst/gstvalue.c: (gst_value_compare_list),
6958         (gst_value_compare_fraction_range),
6959         (gst_value_intersect_fraction_fraction_range),
6960         (gst_value_intersect_fraction_range_fraction_range),
6961         (gst_value_subtract_fraction_fraction_range),
6962         (gst_value_subtract_fraction_range_fraction_range),
6963         (gst_value_get_compare_func), (gst_value_compare),
6964         (gst_value_compare_with_func):
6965         * gst/gstvalue.h:
6966           Saves the expensive lookup of the compare function in many cases
6967          (#345444)
6968
6969 2006-08-18  Edward Hervey  <edward@fluendo.com>
6970
6971         * tests/check/gst/gstinfo.c: (gst_info_suite):
6972         Disable test that require gstdebug if it wasn't built in core.
6973
6974 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6975
6976         * docs/random/ensonic/logging.txt:
6977           update ideas
6978           
6979         * gst/gstinfo.c: (gst_debug_log_default):
6980           reorder fields, save some columns, add optional color codes for log
6981           levels
6982
6983 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6984
6985         * docs/random/ensonic/logging.txt:
6986           add ideas about making the logs a bit more useful
6987
6988 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6989
6990         * docs/pwg/advanced-events.xml:
6991         * docs/pwg/titlepage.xml:
6992           Update for 0.10 API (#340627). Add myself
6993           to authors list.
6994
6995 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6996
6997         * docs/libs/gstreamer-libs-docs.sgml:
6998         * docs/libs/gstreamer-libs-sections.txt:
6999         * libs/gst/check/gstbufferstraw.c:
7000           Make gstcheck stuff show up in docs (still needs to
7001           be documented properly though).
7002
7003 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7004
7005         * docs/gst/gstreamer-sections.txt:
7006         * gst/Makefile.am:
7007         * gst/gst.c: (init_post):
7008         * gst/gst_private.h:
7009         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7010         * gst/gstquark.h:
7011         * gst/gstquery.c: (gst_query_new_position),
7012         (gst_query_set_position), (gst_query_parse_position),
7013         (gst_query_new_duration), (gst_query_set_duration),
7014         (gst_query_parse_duration), (gst_query_new_convert),
7015         (gst_query_set_convert), (gst_query_parse_convert),
7016         (gst_query_new_segment), (gst_query_set_segment),
7017         (gst_query_parse_segment), (gst_query_new_seeking),
7018         (gst_query_set_seeking), (gst_query_parse_seeking):
7019         Add internal helpers for pre-registering quarks from static strings
7020         and using the quark values directly instead of looking them up when
7021         creating and parsing queries. Can be used for event construction too.
7022         Closes #350432.
7023
7024 2006-08-16  Wim Taymans  <wim@fluendo.com>
7025
7026         * gst/gstbin.c:
7027         Fix bogus docs.
7028
7029 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7030
7031         * gst/gstutils.c: (gst_util_set_value_from_string):
7032           Fix memleak (#351502).
7033
7034         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7035           Add unit test for most of gst_util_set_value_from_string()
7036           (not that one would want to encourage use of this function).
7037
7038 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7039
7040         * libs/gst/check/gstcheck.h:
7041           Use const gchar * variables in fail_unless_equals_string
7042           macro to avoid compiler warnings (and don't use tabs for
7043           indenting).
7044
7045 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7046
7047         * tools/gst-launch.c: (print_tag):
7048           More space on the left for the tag names, to cater
7049           for the 'extended comment' tag (not touching the
7050           string for the first line since it's translated).
7051
7052 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7053
7054         * libs/gst/check/gstcheck.h:
7055           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7056           print something when they fail.
7057
7058 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7059
7060         * docs/gst/gstreamer-sections.txt:
7061         * gst/gsttaglist.c: (_gst_tag_initialize):
7062         * gst/gsttaglist.h:
7063           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7064           Also change merge function for GST_TAG_COMMENT to
7065           use_first.
7066
7067 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * gst/gstinfo.c: (gst_debug_print_object):
7070           Make GST_PTR_FORMAT print messages as well.
7071
7072         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7073         (GST_START_TEST), (gst_info_suite):
7074           More tests.
7075
7076 2006-08-14  Edward Hervey  <edward@fluendo.com>
7077
7078         * gst/gstelementfactory.c: (gst_element_register):
7079         If the GstElementClass doesn't have a GstElementDetails with all fields
7080         filled up correctly (longname, description AND author), then error out
7081         nicely instead of crashing.
7082
7083 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * gst/gststructure.c:
7086           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7087
7088         * gst/gstvalue.h:
7089           Expand on the difference between arrays and lists as we use them.
7090           
7091 2006-08-14  Wim Taymans  <wim@fluendo.com>
7092
7093         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7094         If the parent state change function failed, don't assume we can safely
7095         stop the source, this will be done when the pads are deactivated.
7096
7097 2006-08-14  Wim Taymans  <wim@fluendo.com>
7098
7099         * gst/gstbuffer.c:
7100         * gst/gsttask.c: (gst_task_join):
7101         Small doc updates.
7102
7103         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7104         (gst_pad_stop_task):
7105         When pad (de)activation failed for some reason, restore the old
7106         activation mode and set the pad to flushing instead of assuming the
7107         pad is deactivated.
7108         If the _task_join() failed, reinstall the task on the pad so that it can
7109         be stopped later and return an error.
7110
7111 2006-08-11  Andy Wingo  <wingo@pobox.com>
7112
7113         * configure.ac:
7114         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7115         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7116         is only for users of API that don't want to see deprecated
7117         functions in the headers; people that want to compile out
7118         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7119         CFLAGS. Fixes the build of multifdsink, or will soon..
7120
7121 2006-08-11  Wim Taymans  <wim@fluendo.com>
7122
7123         * docs/gst/gstreamer-sections.txt:
7124         Add GstClockClass vmethod docs.
7125
7126         * gst/gstcaps.h:
7127         Mark #endif with comment for associated #if
7128
7129         * gst/gstclock.c: (gst_clock_id_wait):
7130         * gst/gstclock.h:
7131         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7132         most clock implementations.
7133         Document vmethods.
7134         Flesh out docs about resolution methods.
7135         API: GstClockClass::wait_jitter
7136
7137         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7138         (gst_system_clock_async_thread),
7139         (gst_system_clock_id_wait_jitter_unlocked),
7140         (gst_system_clock_id_wait_jitter):
7141         Use base class wait_jitter variant for improved performance
7142         due to less clock polling.
7143
7144 2006-08-11  Edward Hervey  <edward@fluendo.com>
7145
7146         * gst/gst.c: (gst_init_check), (init_post):
7147         Set gst as being initialized before scanning/updating the registry,
7148         since there might be my python plugin loader that calls gst_init() and
7149         we don't want to loop back in.
7150         Closes #350879
7151
7152 2006-08-11  Wim Taymans  <wim@fluendo.com>
7153
7154         * docs/design/part-qos.txt:
7155         Bring docs in line with the code. Mostly the sign of the jitter was
7156         wrong in the docs. Fixes #349943.
7157
7158         * gst/gstclock.c:
7159         Fix the docs for the jitter.
7160
7161         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7162         (gst_event_parse_tag), (gst_event_new_buffer_size),
7163         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7164         (gst_event_new_seek), (gst_event_parse_seek),
7165         (gst_event_new_navigation):
7166         Make sure the GstStructure has no parent when creating custom
7167         events.
7168         Add some more argument checking so that we avoid 0.0 rates.
7169         Flesh out the docs for the QoS event some more.
7170
7171 2006-08-11  Wim Taymans  <wim@fluendo.com>
7172
7173         * docs/gst/gstreamer-sections.txt:
7174         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7175         (ensure_current_registry_forking), (ensure_current_registry),
7176         (parse_one_option), (parse_goption_arg), (gst_deinit),
7177         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7178         * gst/gst.h:
7179         Doc updates.
7180         Added API and command line option to disable registry forking in
7181         addition to the environment variable.
7182         Constify some static arrays.
7183         Added some more debug.
7184         Don't deinit twice.
7185         API: gst_registry_fork_is_enabled()
7186         API: gst_registry_fork_set_enabled()
7187         API: --gst-disable-registry-fork command line option
7188         Fixes #348918.
7189
7190 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7191
7192         * gst/gst.c: (gst_init):
7193           Fix typo in error message.
7194
7195 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7196
7197         * libs/gst/controller/gstcontroller.h:
7198           fix ABI size-correction
7199
7200         * tests/check/libs/gdp.c: (gst_dp_suite):
7201           make tests that use deprecated API conditional
7202
7203 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7204
7205         * docs/libs/gstreamer-libs-sections.txt:
7206         * libs/gst/controller/gstcontroller.c:
7207         (_gst_controller_get_property), (_gst_controller_set_property),
7208         (_gst_controller_init), (_gst_controller_class_init):
7209         * libs/gst/controller/gstcontroller.h:
7210         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7211         (gst_object_set_control_rate):
7212           API: add gst_object_{s,g}et_control_rate(), add private data section,
7213           fix docs
7214
7215         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7216         * libs/gst/dataprotocol/dataprotocol.h:
7217           add deprecation guards to make gtk-doc happy and allow disabling cruft
7218
7219 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7220
7221         * tests/check/Makefile.am:
7222         * tests/check/gst/.cvsignore:
7223           Let's enable the new unit test as well.
7224
7225 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7226
7227         * configure.ac:
7228         * docs/gst/gstreamer-sections.txt:
7229         * gst/gstconfig.h.in:
7230         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7231         (_gst_info_printf_extension_ptr),
7232         (_gst_info_printf_extension_segment):
7233           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7234           register that lets us easily dump GstSegments into debug
7235           logs (#350419).
7236
7237         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7238         (info_segment_format_printf_extension), (gst_info_suite):
7239           Add simple unit test that logs a bunch of different segments (not
7240           valgrinded at the moment because of leaks in
7241           gst_debug_add_log_function).
7242
7243 2006-08-09  Edward Hervey  <edward@fluendo.com>
7244
7245         * libs/gst/base/gstbasetransform.c:
7246         (gst_base_transform_buffer_alloc):
7247         Even if we can't figure out the proper format to request downstream,
7248         call buffer_alloc() downstream with the input parameters without setting
7249         the caps on the srcpad. This will force negotiation in the chain
7250         function.
7251         Closes #350449
7252
7253 2006-08-08  Edward Hervey  <edward@fluendo.com>
7254
7255         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7256         Unlinking from a pad without a target is now a perfectly valid case
7257         which should NOT raise an assertion.
7258         This case would happen if a linked ghostpad its target set to NULL after
7259         it was previously linked.
7260
7261 2006-08-08  Edward Hervey  <edward@fluendo.com>
7262
7263         * tests/check/libs/gdp.c:
7264         Also comment out the test (see below).
7265
7266 2006-08-08  Edward Hervey  <edward@fluendo.com>
7267
7268         * tests/check/libs/gdp.c: (gst_dp_suite):
7269         Use the architecture information from config.h and not gcc macros
7270         in order to properly disable a test that fails on PPC64.
7271
7272 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7273
7274         * gst/gstelement.c: (gst_element_remove_pad):
7275           Don't crash printing the warning if the pad has no parent.
7276
7277 2006-08-02  Wim Taymans  <wim@fluendo.com>
7278
7279         * libs/gst/dataprotocol/dataprotocol.c:
7280         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7281         (gst_dp_crc), (gst_dp_header_payload_length),
7282         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7283         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7284         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7285         (gst_dp_event_from_packet), (gst_dp_validate_header),
7286         (gst_dp_validate_payload):
7287         Make debug category static
7288         Constify the crc table.
7289         Do some more arg checking in public functions.
7290         Fix some docs and do some small cleanups.
7291
7292         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7293         Add some more checks to see if GDP deals with bogus input.
7294
7295 2006-07-31  Wim Taymans  <wim@fluendo.com>
7296
7297         * gst/gstvalue.c: (gst_value_compare_list):
7298         Fix GstValueList comparison code. Fixes #347293.
7299
7300         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7301         Check to test GstValueList comparison.
7302
7303 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7304
7305         * gst/gstelementfactory.c: (gst_element_factory_create):
7306         Remove unnecessary ref/unref pair
7307
7308         * gst/parse/grammar.y:
7309         Make sure to free the parse buffer on all code paths.
7310         Move a g_free up to the error handler where it's easier to see.
7311
7312         * tests/check/gst/gstevent.c: (test_event):
7313         Extending timeout for downstream travelling events to 10 seconds to
7314         hopefully avoid intermittent failure on the buildbots.
7315
7316         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7317         Don't manually set the state of the src element - it will happen as a
7318         natural consequence of the pipeline changing state, and that way it
7319         will do it in the right order too.
7320
7321 2006-07-31  Wim Taymans  <wim@fluendo.com>
7322
7323         * libs/gst/base/gstbasetransform.c:
7324         (gst_base_transform_buffer_alloc):
7325         Use OBJECT_LOCK and refcounting to get the pad caps in the
7326         buffer_alloc function because the caps could change while we are
7327         busy with them. Fixes #349105
7328
7329 2006-07-31  Wim Taymans  <wim@fluendo.com>
7330
7331         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7332         Protect _PAD_CAPS with OBJECT_LOCK.
7333
7334 2006-07-31  Wim Taymans  <wim@fluendo.com>
7335
7336         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7337         (gst_pad_get_property), (gst_pad_activate_pull),
7338         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7339         (gst_pad_set_activate_function),
7340         (gst_pad_set_activatepull_function),
7341         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7342         (gst_pad_set_getrange_function),
7343         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7344         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7345         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7346         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7347         (gst_pad_set_acceptcaps_function),
7348         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7349         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7350         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7351         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7352         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7353         (gst_pad_configure_sink), (gst_pad_configure_src),
7354         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7355         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7356         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7357         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7358         (gst_pad_send_event):
7359         Use _DEBUG_OBJECT when it makes sense.
7360         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7361         Small cleanups and code reflows.
7362         Avoid caps refcounting in _accept_caps.
7363         Refactor alloc_buffer so that the code performed on the peer is in a
7364         separate function. Also if the pad does not implement a buffer alloc
7365         function, we should still check if the pad is flushing before falling
7366         back to the default allocator.
7367
7368 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7369
7370         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7371         Make all uses of identity and fakesink have silent=true to avoid
7372         serialising every passing data structure, which is breaking tests
7373         on FC4 for some unknown reason.
7374
7375 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7376
7377         * gst/parse/Makefile.am:
7378         * gst/parse/grammar.y:
7379         * gst/parse/parse.l:
7380           Reverted previous patch as it required to bump the flex dependency to
7381           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7382
7383 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7384
7385         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7386
7387         * gst/parse/Makefile.am:
7388         * gst/parse/grammar.y:
7389         * gst/parse/parse.l:
7390           push & pop the state of the lexer for reentrant use case
7391           Fixes #349180
7392
7393 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7394
7395         * libs/gst/base/gstbasesrc.h:
7396           Note in the docs that the ::newsegment vfunc is not actually used by
7397           GstBaseSrc.
7398
7399 2006-07-28  Wim Taymans  <wim@fluendo.com>
7400
7401         * libs/gst/base/gstcollectpads.c:
7402         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7403         (gst_collect_pads_clear), (gst_collect_pads_flush),
7404         (gst_collect_pads_event), (gst_collect_pads_chain):
7405         When flushing a pad, also clear the queued buffer so that we don't
7406         accidentally use it when we shouldn't.
7407         Fix leaks by inreffing incomming buffer.
7408         Flush out queued buffers in case of errors.
7409         Fixes #347452.
7410
7411 2006-07-28  Wim Taymans  <wim@fluendo.com>
7412
7413         * docs/random/phonon-gst:
7414         Random notes about a Phonon backend.
7415
7416 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7417
7418         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7419         Extra debug output
7420         * tests/check/libs/gdp.c: (gst_dp_suite):
7421         Take a whack at fixing the ppc compile using a different define to
7422         disable the broken test.
7423
7424         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7425         Remove excess g_print()
7426
7427 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7428
7429         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7430         Oops, meant to uncomment this line too to dampen the noise a bit.
7431
7432 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7433
7434         * gst/parse/grammar.y:
7435         * gst/parse/parse.l:
7436         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7437         (GST_START_TEST), (parse_suite):
7438         Fix some of the leaks exposed by extending the parse-launch testsuite,
7439         and move the 3 I can't figure out into a separate test that won't run
7440         the pipelines unless the appropriate line is uncommented.
7441
7442 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7443
7444         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7445           Requesting 0 bytes before the end of the file should result in
7446           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7447           unit test.
7448
7449 2006-07-27  Wim Taymans  <wim@fluendo.com>
7450
7451         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7452         Fix useless assert, a uint is always positive.
7453
7454         * gst/gststructure.c: (gst_structure_nth_field_name),
7455         (gst_structure_foreach), (gst_structure_map_in_place):
7456         Check input arguments for public functions to avoid obvious crashes.
7457
7458         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7459         * plugins/elements/gstfakesink.h:
7460         Do less useless typechecking.
7461
7462 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7463
7464         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7465           Do not use mmap() by default since there are a number of error
7466           conditions that we would like to handle in a non-fatal way that
7467           will result in a SIGBUS if we use mmap(). Examples: external
7468           devices (USB harddrive, portable music player) being unplugged
7469           while in use; file on mounted CD/DVD that can't be read because
7470           the medium is partly damaged. Fixes #348455 and #348475.
7471
7472 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7473
7474         * gst/gstquery.h:
7475         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7476         rates are a gdouble
7477
7478 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * gst/gstregistry.c:
7481           Move big documentation comment into class section header, so that it
7482           appears in the API docs.
7483
7484 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7485
7486         * docs/gst/gstreamer-sections.txt:
7487         Oops. Commit the docs additions too for new API.
7488         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7489
7490 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7491
7492         * gst/gststructure.c: (gst_structure_id_set),
7493         (gst_structure_id_set_valist):
7494         * gst/gststructure.h:
7495         Add API for setting values into structures without performing
7496         a quark lookup, if the appropriate quark is already known.
7497
7498         API: gst_structure_id_set
7499         API: gst_structure_id_set_valist
7500
7501         * gst/parse/grammar.y:
7502         * gst/parse/parse.l:
7503         Remove some dead code shown by the coverage information.
7504         Don't throw a critical g_warning when encountering a syntax error,
7505         just warn and let the normal error path handle it.
7506
7507         * plugins/elements/gstelements.c:
7508         Bump the rank of filesink up to PRIMARY so that it is preferred over
7509         gnomevfssink for file:// sink uri's
7510
7511         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7512         (GST_START_TEST), (run_delayed_test),
7513         (gst_parse_test_element_base_init),
7514         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7515         (gst_parse_test_element_change_state),
7516         (gst_register_parse_element), (parse_suite):
7517         Beef up the tests for parse syntax to check that more error cases
7518         fail as they are supposed to. Increases the test coverage a bit.
7519
7520 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7521
7522         * docs/manual/basics-elements.xml:
7523           Fix gst_element_link() example.
7524
7525         * gst/gstutils.c:
7526           Mention in API docs that one should usually gst_bin_add()
7527           elements to a bin or pipeline before doing the linking.
7528           
7529 2006-07-26  Wim Taymans  <wim@fluendo.com>
7530
7531         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7532         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7533         Avoid function call for known types by keeping the buffer and
7534         subbuffer GType global.
7535
7536         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7537         Random silly optimisations in read() path.
7538
7539 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7540
7541         * tools/gst-launch.c: (main):
7542           If the top-level of the parse is a normal bin, it doesn't do the
7543           right logic to run as a top-level element, so place it inside a
7544           pipeline.
7545
7546 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7547
7548         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7549           Remove superfluous g_object_notify() calls, GObject does
7550           that for us automatically.
7551
7552 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7553
7554         * gst/gstinfo.h:
7555           on Win32, use dllspec to export the debug category symbols
7556
7557 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7558
7559         * gst/gsttaglist.c: (_gst_tag_initialize):
7560           Allow more than one GST_TAG_IMAGE per taglist.
7561
7562 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7563
7564         * gst/gstminiobject.c:
7565           update docs
7566         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7567         (gst_fd_src_create):
7568           log recurring events at LOG level
7569           add more debug for when the fd gets set
7570
7571 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7572
7573         * gst/gstparse.c: (gst_parse_launch):
7574           Also remove reentrance checks if flex is MT safe (#348179)
7575          Fix my empty ChangeLog entry below
7576
7577 2006-07-21  Andy Wingo  <wingo@pobox.com>
7578
7579         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7580
7581         * libs/gst/check/Makefile.am
7582         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7583         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7584         * libs/gst/check/gstbufferstraw.h:
7585         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7586         functions, thus proving I am still a GStreamer haxor. OK I wrote
7587         them a long time ago, but anyways.
7588
7589 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7590
7591         * configure.ac:
7592         * gst/gstparse.c: (gst_parse_launch):
7593           Check for flex version and omit mutex if we have a MT save flex
7594           (fixes #348179)
7595
7596 2006-07-21  Wim Taymans  <wim@fluendo.com>
7597
7598         * gst/gstparse.c: (gst_parse_launch):
7599         Protect recursive calls to _parse with a recursive mutex
7600         and busy flag.
7601
7602 2006-07-21  Wim Taymans  <wim@fluendo.com>
7603
7604         * tests/check/gst/gstpad.c: (GST_START_TEST):
7605         Fix leak in test.
7606
7607 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * gst/gstparse.c: (gst_parse_launch):
7610           Do not hang on recursive usage of gst_parse_launch()
7611
7612 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7613
7614         * gst/gsttaglist.c:
7615           Add some more docs, comments and FIXME 0.11s here and there
7616           and also fix some typos.
7617
7618 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7619
7620         * gst/gstsegment.h:
7621           Convert tabs to spaces for better readability. 
7622
7623 2006-07-20  Edward Hervey  <edward@fluendo.com>
7624
7625         * tests/check/libs/gdp.c: (gst_dp_suite):
7626         the test_buffer test fails at line 140 on ppc64 at the following
7627         check:
7628         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7629                 GST_BUFFER_FLAG_IN_CAPS),
7630                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7631         See bug #348114 for more details.
7632
7633 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         * docs/pwg/advanced-scheduling.xml:
7636         * gst/gstpad.c:
7637           Fix typos (#348000).
7638
7639 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * docs/pwg/intro-basics.xml:
7642           Fix wrong links (#347927).
7643
7644 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7645
7646         * gst/gstregistry.h:
7647         * gst/gstregistryxml.c: (load_feature),
7648         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7649         * win32/common/config.h:
7650           make --disable-index work (#342564)
7651
7652 2006-07-18  Wim Taymans  <wim@fluendo.com>
7653
7654         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7655
7656         * gst/Makefile.am:
7657         * gst/gsttrace.h:
7658         The attached patch adds two missing defines to gsttrace.h when tracing
7659         is disabled.  It also corrects one existing define.
7660         Fixes #347756.
7661
7662 2006-07-17  Wim Taymans  <wim@fluendo.com>
7663
7664         * docs/gst/gstreamer-sections.txt:
7665         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7666         * gst/gst.h:
7667         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7668         Add two functions to check and change the SIGSEGV behaviour
7669         when loading plugins.
7670         Don't mess with the SIGSEGV handler when we were told not to.
7671         Fixes #347794.
7672         API: gst_segtrap_is_enabled
7673         API: gst_segtrap_set_enabled
7674
7675 2006-07-14  Wim Taymans  <wim@fluendo.com>
7676
7677         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7678         * tests/check/elements/filesrc.c: (GST_START_TEST):
7679         Revert fix for regression in #347408 after release.
7680
7681 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7682
7683         Patch by: Antoine Tremblay <hexa00 at gmail com>
7684
7685         * gst/gstutils.c: (gst_element_unlink):
7686           Free iterator when done (#347311).
7687
7688         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7689           And add a test case for this.
7690
7691 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7692
7693         * configure.ac:
7694         Bump nano back to CVS
7695
7696 === release 0.10.9 ===
7697
7698 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7699
7700         * configure.ac:
7701           releasing 0.10.9, "On the road again"
7702
7703 2006-07-13  Wim Taymans  <wim@fluendo.com>
7704
7705         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7706         * tests/check/elements/filesrc.c: (GST_START_TEST):
7707         Revert pull-0 fix for release. Disable check. Fixes #347408.
7708
7709 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7710
7711         * libs/gst/dataprotocol/dataprotocol.c:
7712         (gst_dp_event_from_packet_1_0):
7713           Fixes #347337: failure to deserialize event packets with
7714           empty payload (only event type)
7715
7716 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7717
7718         * gst/Makefile.am:
7719           do not install a .c file in the header directory
7720
7721 2006-07-13  Edward Hervey  <edward@fluendo.com>
7722
7723         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7724         GhostPad no longer implicitely use the padtemplates of the targets.
7725         Fixes #347384
7726
7727 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7728
7729         * gst/gstvalue.c: (gst_value_compare_list),
7730         (gst_value_compare_array), (_gst_value_initialize):
7731         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7732         Make GstValueArray comparison be order dependent as designed.
7733         Add checks for value lists and value array comparisons.
7734         Fixes #347221
7735
7736 2006-07-11  Edward Hervey  <edward@fluendo.com>
7737
7738         * gst/gstbin.c: (activate_pads),
7739         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7740         (gst_bin_change_state_func):
7741         (de)activate src pads before calling state_change on the childs.
7742         This is to avoid the case where a src ghostpad is blocked (holding the
7743         stream lock), which would block the deactivation of the ghostpad's
7744         target pad.
7745         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7746         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7747         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7748         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7749         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7750         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7751         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7752         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7753         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7754         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7755         (gst_ghost_pad_class_init),
7756         (gst_ghost_pad_internal_do_activate_push),
7757         (gst_ghost_pad_internal_do_activate_pull),
7758         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7759         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7760         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7761         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7762         GhostPads now create their internal GstProxyPad at creation (and not
7763         when they're linked, as it was being done previously).
7764         The internal and target pads are linked straight away.
7765         The data will also travel through the other pad in order to make
7766         pad blocking and probes non-hackish (the probe/block now really happens
7767         on the GhostPad and not on the target).
7768         * gst/gstpad.c: (gst_pad_set_blocked_async),
7769         (gst_pad_link_prepare), (gst_pad_push_event):
7770         Remove previous ghostpad cruft.
7771         * gst/gstutils.c: (gst_pad_add_data_probe),
7772         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7773         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7774         (gst_pad_remove_buffer_probe):
7775         Remove previous ghost pad cruft.
7776         Added more detailed debug statements.
7777         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7778         Fix the testsuite for refcounting changes.
7779         The comments about who has references were correct, but the refcount
7780         being checked wasn't the same (!?!).
7781
7782         Fixes #341029
7783
7784 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7785
7786         * docs/gst/gstreamer-sections.txt:
7787         * gst/gstconfig.h.in:
7788         More docs for configuration options, add docs to gtk-doc.
7789
7790 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7791
7792         * gst/Makefile.am:
7793         * gst/gstconfig.h.in:
7794         * win32/common/config.h:
7795         Fix build when disabling tracing (fixes #344016). Also start to document
7796         the defines that disable the sub-systems.
7797
7798 2006-07-10  Edward Hervey  <edward@fluendo.com>
7799
7800         * gst/gst.c: (ensure_current_registry_forking):
7801         let's make valgrind happy...
7802
7803 2006-07-09  Wim Taymans  <wim@fluendo.com>
7804
7805         * gst/gstelement.c: (activate_pads),
7806         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7807         Better pad activation code: Reset the collect value too on resync.
7808         Add some comments.
7809
7810 2006-07-09  Wim Taymans  <wim@fluendo.com>
7811
7812         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7813         (gst_pad_activate_push):
7814         Use some more macros where it makes sense.
7815         Allow pad mode switching instead of asserting. When a pad
7816         is activated in one mode and we activate it in another, 
7817         deactivate it first before activating it in a different mode.
7818         Fixes #329198.
7819
7820 2006-07-08  Andy Wingo  <wingo@pobox.com>
7821
7822         * tools/gst-launch.c (main): Handle err == NULL.
7823
7824         * gst/gst.c (init_post, ensure_current_registry)
7825         (ensure_current_registry_forking)
7826         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7827         factoring out the registry scanning into separate functions. Don't
7828         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7829         Better environment var name/interface suggestions accepted.
7830
7831 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7832
7833         * gst/gstobject.c: (gst_object_set_name_default),
7834         (gst_object_set_name):
7835           Random micro-optimisation: don't use a hash table
7836           with strings as keys and the usual strdup/strcmp
7837           involved, but rather just use the GQuark of the
7838           type name as key, since it needs to be looked up
7839           anyway to get the type name string.
7840
7841         * tests/check/gst/gstobject.c: (GST_START_TEST):
7842           Fix various leaks.
7843
7844 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7845
7846         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7847         (gst_bin_iterate_all_by_interface):
7848           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7849           GTypes are gulongs and thus the top 4 bytes might be cut
7850           off on some platforms when doing GPOINTER_TO_INT, leading
7851           to invalid GTypes and bad things happening (see RH bug #179654).
7852           Also add a check to make sure the type passed in is really
7853           an interface type.
7854
7855 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7856
7857         * .cvsignore:
7858           Ignore more.
7859
7860 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7861
7862         * Makefile.am:
7863         * configure.ac:
7864         * gst-element-check.m4:
7865         * gst-element-check.m4.in:
7866           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7867           instead of the unversioned gst-inspect (#324176, #168659).
7868
7869 2006-07-06  Wim Taymans  <wim@fluendo.com>
7870
7871         * gst/gstmessage.h:
7872         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7873         warnings.
7874
7875 2006-07-06  Wim Taymans  <wim@fluendo.com>
7876
7877         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7878         (gst_base_src_wait), (gst_base_src_update_length),
7879         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7880         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7881         (gst_base_src_loop), (gst_base_src_start),
7882         (gst_base_src_activate_pull):
7883         Update docs.
7884         blocksize == 0 now means the default blocksize when working in push
7885         based mode.
7886         Remove some pointless asserts in _wait function.
7887         Fix offset/length calculations and EOS handling. We can now pull 0
7888         bytes as well, which is allowed.
7889         use _check_get_range() to decide if we can operate in _pull based
7890         mode.
7891         Fix refcounting leak when check_get_range function was not 
7892         implemented.
7893         API GstBaseSrc::blocksize range can be 0 too now (default)
7894
7895         * tests/check/elements/filesrc.c: (GST_START_TEST),
7896         (filesrc_suite):
7897         Added check to test _get_range() behaviour.
7898
7899 2006-07-06  Wim Taymans  <wim@fluendo.com>
7900
7901         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7902         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7903         (gst_pad_pull_range):
7904         * gst/gstpad.h:
7905         Lots of comments and docs added to the pad functions.
7906         Flesh out the expected behaviour of the get_range() functions.
7907
7908 2006-07-06  Wim Taymans  <wim@fluendo.com>
7909
7910         * gst/gstbus.h:
7911         * gst/gstclock.h:
7912         * gst/gstevent.h:
7913         * gst/gstiterator.h:
7914         * gst/gstpad.h:
7915         * gst/gstplugin.h:
7916         * gst/gsttask.h:
7917         Remove comma at end of enumerator list. 
7918
7919 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
7920
7921         * win32/common/libgstbase.def:
7922         * win32/common/libgstdataprotocol.def:
7923         * win32/common/libsgtreamer.def:
7924         Add new exported functions.
7925
7926 2006-07-05  Wim Taymans  <wim@fluendo.com>
7927
7928         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7929         Add some more docs here and there.
7930
7931 2006-07-05  Wim Taymans  <wim@fluendo.com>
7932
7933         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7934         (gst_base_sink_loop), (gst_base_sink_get_position):
7935         When operating in pull mode update the offset so that we
7936         read sequentially.
7937
7938 2006-07-05  Wim Taymans  <wim@fluendo.com>
7939
7940         * gst/gstregistryxml.c: (read_string):
7941         Avoid strdup. (will happen in libxml, but hey!)
7942
7943         * gst/gsturi.c:
7944         Add some more docs.
7945
7946 2006-07-05  Wim Taymans  <wim@fluendo.com>
7947
7948         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7949         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7950         (gst_buffer_suite):
7951         No point in checking if the size of the subbuffer > 0, the
7952         code handles it correclty as demonstrated by unit test.
7953         Also add a unit test for the zero sized _new_and_alloc and
7954         _copy. Fixes #346663.
7955
7956 2006-07-05  Wim Taymans  <wim@fluendo.com>
7957
7958         * libs/gst/base/gstbasetransform.c:
7959         (gst_base_transform_prepare_output_buffer),
7960         (gst_base_transform_buffer_alloc),
7961         (gst_base_transform_handle_buffer):
7962         Make sure the buffer we pass to transform_ip has a refcount of
7963         1 and thus is writable. Fixes #343196
7964
7965 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
7966
7967         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7968         (gst_file_src_init), (gst_file_src_set_property),
7969         (gst_file_src_get_property), (gst_file_src_map_region):
7970         * plugins/elements/gstfilesrc.h:
7971         Add "sequential" property, off by default, to use madvise and hint
7972         to the kernel that sequential access is desired.
7973         Touch all retrieved pages by default to ensure they are pulled
7974         into memory. (Closes #345720)
7975
7976 2006-07-03  Wim Taymans  <wim@fluendo.com>
7977
7978         * docs/design/part-block.txt:
7979         * docs/design/part-dynamic.txt:
7980         Small docs updates.
7981
7982 2006-07-03  Wim Taymans  <wim@fluendo.com>
7983
7984         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7985         (gst_caps_unref), (gst_static_caps_get),
7986         (gst_caps_append_structure):
7987         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7988         Use GSlice when the glib we build against is >= 2.10
7989
7990 2006-07-03  Wim Taymans  <wim@fluendo.com>
7991
7992         * gst/gstelement.c: (gst_element_pads_activate):
7993         Small cleanup in pad activation code.
7994
7995 2006-07-03  Wim Taymans  <wim@fluendo.com>
7996
7997         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7998
7999         * gst/gst-i18n-app.h:
8000         * gst/gst-i18n-lib.h:
8001         * tools/gst-inspect.c: (print_signal_info):
8002         The attached patch will make the inclusion of gettext.h unconditional in
8003         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8004         libintl.h in tools/gst-inspect.c.
8005         This allows use of --disable-nls again and fixes #344642.
8006
8007 2006-07-03  Edward Hervey  <edward@fluendo.com>
8008
8009         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8010         Implement pad blocking on events according to part-block.txt.
8011         More comments on behaviour.
8012         * tests/check/gst/gstevent.c: (test_event):
8013         Send event to peer pad of blocked pad (else it will block).
8014
8015 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8016
8017         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8018         (gst_check_run_suite):
8019           if we get the wrong message, give us the types as string
8020         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8021           Fix a translatable
8022         * tests/check/elements/filesrc.c: (GST_START_TEST):
8023           add a test for trying to open a non-existing file
8024
8025 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8026
8027         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8028           add a test for adding self
8029
8030 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         * libs/gst/check/gstcheck.h:
8033           add some assert_ as alias for fail_unless_*
8034         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8035           increase test coverage
8036
8037 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8038
8039         * Makefile.am:
8040           include lcov.mak for lcov coverage generation
8041         * tools/Makefile.am:
8042           add to CLEANFILES
8043
8044 2006-07-02  Edward Hervey  <edward@fluendo.com>
8045
8046         * tests/check/elements/.cvsignore:
8047         moaping
8048
8049 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8050
8051         * configure.ac:
8052           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8053         * tests/check/Makefile.am:
8054           clean up gcov files
8055
8056 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8057
8058         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8059           remove gst_caps_simplify; it was not declared and not used
8060           and deprecated in 0.8
8061
8062 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8063
8064         * docs/faq/gst-uninstalled:
8065           don't put empty paths on PYTHONPATH
8066         * docs/gst/gstreamer-sections.txt:
8067           remove some symbols that are not there
8068
8069 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8070
8071         * gst/gstcaps.c: (gst_caps_compare_structures):
8072           whitespace fixes
8073         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8074         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8075           add more tests
8076
8077 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8078
8079         * libs/gst/dataprotocol/Makefile.am:
8080           build dataprotocol test by linking to the lib, instead of
8081           compiling the source, so we get coverage
8082         * tests/check/Makefile.am:
8083         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8084         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8085           add a test for filesrc
8086
8087 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8088
8089         * tests/check/gst/gststructure.c: (GST_START_TEST),
8090         (gst_structure_suite):
8091           Push coverage from 59.04% to 70.00%
8092
8093 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8094
8095         * tests/check/Makefile.am:
8096           gst-inspect every element; this makes sure that we also get
8097           coverage on element's get/set functions
8098
8099 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8100
8101         * configure.ac:
8102           set CFLAGS and friends to -O0 if gcov is being used
8103           add GCOV LIBS
8104         * gst/Makefile.am:
8105         * libs/gst/base/Makefile.am:
8106         * libs/gst/check/Makefile.am:
8107         * libs/gst/controller/Makefile.am:
8108         * libs/gst/dataprotocol/Makefile.am:
8109         * libs/gst/net/Makefile.am:
8110         * plugins/elements/Makefile.am:
8111         * plugins/indexers/Makefile.am:
8112           add makefile rules to generate gcov data and clean up
8113         * tests/check/Makefile.am:
8114           add a coverage target that generates an html overview
8115           of coverage data
8116
8117 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8118
8119         * tests/check/elements/fakesink.c:
8120         * tests/check/elements/fakesrc.c:
8121         * tests/check/elements/fdsrc.c:
8122         * tests/check/elements/identity.c:
8123         * tests/check/generic/sinks.c: (gst_sinks_suite):
8124         * tests/check/generic/states.c:
8125         * tests/check/gst/gst.c:
8126         * tests/check/gst/gstabi.c:
8127         * tests/check/gst/gstbin.c:
8128         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8129         * tests/check/gst/gstbus.c: (gst_bus_suite):
8130         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8131         * tests/check/gst/gstelement.c:
8132         * tests/check/gst/gstevent.c: (gst_event_suite):
8133         * tests/check/gst/gstghostpad.c:
8134         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8135         * tests/check/gst/gstmessage.c: (gst_message_suite):
8136         * tests/check/gst/gstminiobject.c:
8137         * tests/check/gst/gstobject.c:
8138         * tests/check/gst/gstpad.c:
8139         * tests/check/gst/gstpipeline.c:
8140         * tests/check/gst/gstplugin.c:
8141         * tests/check/gst/gstquery.c: (gst_query_suite):
8142         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8143         * tests/check/gst/gststructure.c:
8144         * tests/check/gst/gstsystemclock.c:
8145         * tests/check/gst/gsttag.c:
8146         * tests/check/gst/gsttask.c: (gst_task_suite):
8147         * tests/check/gst/gstutils.c:
8148         * tests/check/gst/gstvalue.c:
8149         * tests/check/libs/adapter.c:
8150         * tests/check/libs/basesrc.c:
8151         * tests/check/libs/collectpads.c:
8152         * tests/check/libs/controller.c:
8153         * tests/check/libs/gdp.c: (gst_dp_suite):
8154         * tests/check/libs/gstnetclientclock.c:
8155         * tests/check/libs/gstnettimeprovider.c:
8156         * tests/check/libs/libsabi.c: (libsabi_suite):
8157         * tests/check/libs/typefindhelper.c:
8158         * tests/check/pipelines/cleanup.c:
8159         * tests/check/pipelines/parse-launch.c:
8160         * tests/check/pipelines/simple-launch-lines.c:
8161         * tests/check/pipelines/stress.c: (stress_suite):
8162           use the new macro
8163
8164 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8167         * libs/gst/check/gstcheck.h:
8168           create a macro and function so that the simple unit test
8169           case can be just one macro to create main()
8170
8171 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8172
8173         * gst/gstbin.c: (gst_bin_restore_thyself):
8174         * gst/gstxml.c: (gst_xml_make_element):
8175           Fix deserialisation from XML. Set parent manually
8176           instead of using gst_bin_add(), since gst_bin_add()
8177           will unlink all pads of the element being added.
8178           Fixes #341667.
8179
8180 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8181
8182         Patch by: Peter Kjellerstedt <pkj at axis com>
8183
8184         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8185           Fix missing g_strdup() and double free when using the
8186           --gst-plugin-load command line option (#346097).
8187
8188 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8189
8190         * gst/gstinfo.c:
8191           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8192
8193         * libs/gst/net/gstnetclientclock.c:
8194         * libs/gst/net/gstnettimeprovider.c:
8195           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8196
8197 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8198
8199         * docs/manual/advanced-dataaccess.xml:
8200           Fix buffer probe example compilation in
8201           ADM (#345708).
8202         
8203 2006-06-22  Edward Hervey  <edward@fluendo.com>
8204
8205         * gst/gstelement.c: (gst_element_pads_activate):
8206         We need to deactivate src pads first and then sink pads.
8207         The reason is the src pads might be blocking while holding the streaming
8208         lock, so we need to deactivate them first so that deactivating the sink
8209         pads doesn't block (since it will require the streaming lock).
8210
8211 2006-06-22  Wim Taymans  <wim@fluendo.com>
8212
8213         * libs/gst/base/gstbasetransform.c:
8214         (gst_base_transform_buffer_alloc):
8215         Forgot to remove two unneeded unrefs.
8216         Simplify a check _is_equal allready checks the obvious case.
8217
8218 2006-06-22  Wim Taymans  <wim@fluendo.com>
8219
8220         * docs/design/part-block.txt:
8221         Some docs about what pad_block should do.
8222
8223 2006-06-22  Wim Taymans  <wim@fluendo.com>
8224
8225         * gst/gstcaps.c: (gst_caps_replace):
8226         Fix crasher when passed NULL. Doc clarification.
8227         Optimize for the trivial case.
8228
8229         * gst/gstpipeline.c: (gst_pipeline_change_state):
8230         Small cleanups.
8231
8232         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8233         Small documentation cleanup.
8234
8235         * libs/gst/base/gstbasetransform.c:
8236         (gst_base_transform_buffer_alloc):
8237         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8238         is what we need and it avoids a whole lot of redundant 
8239         refcount operations.
8240
8241 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8242
8243         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8244
8245         * docs/manual/advanced-dataaccess.xml:
8246           Fix 'Embedding static elements' section to use
8247           GST_PLUGIN_DEFINE_STATIC (#345607).
8248
8249 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8250
8251         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8252           Attempt to 'fix' spuriously failing test case: it seems like the
8253           timeout of half a second is simply too small when the system is under
8254           load otherwise, and the timeout doesn't really seem to serve any
8255           particular purpose here. Give the pipeline a few seconds to preroll
8256           first, and then give it another half a second to go from PAUSED to
8257           PLAYING and marshal the message into the main thread.
8258
8259 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8260
8261         * tools/gst-feedback-m.m:
8262           Don't only use unversioned tools, try versioned tools as well
8263           (#345086).
8264
8265 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8266
8267         * gst/gstbus.c: (gst_bus_class_init):
8268           Fix some typos, make docs more explicit.
8269
8270 2006-06-20  Wim Taymans  <wim@fluendo.com>
8271
8272         * tests/check/gst/gstghostpad.c: (block_callback),
8273         (GST_START_TEST), (gst_ghost_pad_suite):
8274         Added some more ghostpad tests, mainly blocking
8275         and probes.
8276
8277 2006-06-16  Wim Taymans  <wim@fluendo.com>
8278
8279         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8280         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8281         (gst_file_sink_event), (gst_file_sink_render):
8282         * plugins/elements/gstfilesink.h:
8283         Check if we can seek in the file instead of assuming
8284         we always can. Post an error when we are asked to seek in a
8285         non-seekable file (like a fifo). Fixes #343312.
8286         Some cleanups.
8287
8288 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8289
8290         * tools/gst-launch.1.in:
8291           Un-garble (fourcc) bit in filtered caps section.
8292
8293 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8294
8295         * docs/manual/advanced-autoplugging.xml:
8296         * docs/manual/basics-helloworld.xml:
8297         * docs/manual/highlevel-components.xml:
8298           Don't leak bus reference in sample code.
8299
8300 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8301
8302         * autogen.sh:
8303           Add default for new --enable-plugin-docs switch.
8304
8305         * configure.ac:
8306           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8307           Fixes #344039.
8308
8309         * docs/Makefile.am:
8310           Use new ENABLE_PLUGIN_DOCS conditional.
8311
8312 2006-06-14  Wim Taymans  <wim@fluendo.com>
8313
8314         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8315         Make it clear with a FIXME and a real define what the #if 0
8316         previously disabled.
8317
8318 2006-06-14  Wim Taymans  <wim@fluendo.com>
8319
8320         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8321         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8322         * libs/gst/base/gstbasetransform.c:
8323         (gst_base_transform_sink_eventfunc):
8324         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8325         Don't randomly and silently reset a segment when the format 
8326         changes as this is a bug somewhere upstream. Fixes #330379.
8327
8328 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         Patch by: Wouter Paesen  <wouter at kangaroot net>
8331
8332         * libs/gst/controller/gstcontroller.c:
8333         (gst_controlled_property_new):
8334           Fix controlling of float properties (#344849).
8335
8336         * tests/check/libs/controller.c:
8337         (gst_test_mono_source_get_property),
8338         (gst_test_mono_source_set_property),
8339         (gst_test_mono_source_class_init), (GST_START_TEST):
8340           While we're at it, add some float stuff to unit test.
8341
8342 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8343
8344         * docs/README:
8345         * docs/images/gdp-header.svg:
8346           add a gdp image
8347         * docs/libs/Makefile.am:
8348         * docs/libs/gdp-header.png:
8349         * libs/gst/dataprotocol/dataprotocol.c:
8350           add it to the API docs
8351         * docs/manual/intro-motivation.xml:
8352           fix typo
8353
8354 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8355
8356         * gst/gst.c: (scan_and_update_registry), (init_post):
8357           If the fork()'ed child process can't write the updated registry cache
8358           file to disk for some reason, make it exit with a failure exit code,
8359           so that the parent can then re-scan the plugins itself and update the
8360           registry structures in memory and work with that (rather than failing
8361           when creating elements because seemingly no plugins are available).
8362           Refactor registry scanning code into separate function for this and
8363           also separate fork() and non-fork() code paths. Fixes #344748.
8364
8365 2006-06-13  Wim Taymans  <wim@fluendo.com>
8366
8367         * docs/manual/advanced-dataaccess.xml:
8368         Fix wrong PluginDesc. Fixes #344755.
8369
8370 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8371
8372         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8373           Fix silly bug that prevented us from creating
8374           ~/.gstreamer-0.10 and writing the registry in one
8375           go (the first call to g_mkstemp() would overwrite the
8376           placeholder in the template string, so the second call
8377           to g_mkstemp() after creating the missing directory
8378           would then error out with 'invalid argument').
8379
8380 2006-06-13  Edward Hervey  <edward@fluendo.com>
8381
8382         * gst/gst.c: (init_post):
8383         Free string.
8384
8385 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8386
8387         * gst/glib-compat-private.h:
8388         * gst/glib-compat.c:
8389         * gst/glib-compat.h:
8390         * gst/gstvalue.c: (gst_value_serialize_flags):
8391           remove GLib 2.6 compatibility code
8392
8393 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * gst/parse/Makefile.am:
8396           Fix build with 'make -j N' even more (#340016).
8397
8398 2006-06-12  Wim Taymans  <wim@fluendo.com>
8399
8400         * docs/gst/gstreamer-sections.txt:
8401         Fix docs.
8402
8403 2006-06-12  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/gstsegment.c: (gst_segment_set_duration),
8406         (gst_segment_set_last_stop), (gst_segment_set_seek),
8407         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8408         (gst_segment_to_running_time), (gst_segment_clip):
8409         Use G_UNLIKELY to help the compiler a bit.
8410
8411 2006-06-12  Wim Taymans  <wim@fluendo.com>
8412
8413         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8414
8415         * gst/gstevent.c: (gst_event_get_type):
8416         * gst/gstmessage.c:
8417         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8418         (gst_pad_push):
8419         constify quark registration strings. Fixes #344115
8420         Avoid unneeded type checking is _pad_push() by internally
8421         calling gst_pad_chain_unchecked().
8422
8423 2006-06-12  Wim Taymans  <wim@fluendo.com>
8424
8425         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8426         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8427         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8428         (gst_buffer_is_span_fast), (gst_buffer_span):
8429         Init _type for consistency.
8430         Use _FLAGS macro to avoid type check.
8431         Avoid unneeded type checks in subbufer code.
8432
8433 2006-06-12  Wim Taymans  <wim@fluendo.com>
8434
8435         * gst/gst.c: (gst_debug_help):
8436         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8437         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8438         (gst_plugin_feature_list_free):
8439         * gst/gstregistry.c: (gst_registry_add_plugin),
8440         (gst_registry_add_feature), (gst_registry_plugin_filter),
8441         (gst_registry_feature_filter), (gst_registry_find_plugin),
8442         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8443         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8444         * gst/gstregistryxml.c: (load_feature),
8445         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8446         * gst/gstminiobject.c: (gst_mini_object_unref),
8447         (gst_mini_object_replace), (gst_value_mini_object_free),
8448         (gst_value_mini_object_copy):
8449         Use _CAST macros to avoid unneeded type checking.
8450         Added some more G_UNLIKELY.
8451
8452 2006-06-12  Wim Taymans  <wim@fluendo.com>
8453
8454         * gst/gstbuffer.h:
8455         Avoid unneeded type checking.
8456         API: GST_BUFFER_IS_DISCONT
8457
8458         * gst/gstminiobject.h:
8459         Avoid type check in flag accessor.
8460
8461         * gst/gstelementfactory.h:
8462         * gst/gstplugin.h:
8463         * gst/gstpluginfeature.h:
8464         Add _CAST macros.
8465         API: GST_ELEMENT_FACTORY_CAST
8466         API: GST_PLUGIN_CAST
8467         API: GST_PLUGIN_FEATURE_CAST
8468
8469 2006-06-12  Wim Taymans  <wim@fluendo.com>
8470
8471         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8472         (gst_object_unref):
8473         Add G_UNLIKELY in type registration.
8474         Avoid type check in _ref/_unref since that is also
8475         done in glib.
8476
8477 2006-06-12  Wim Taymans  <wim@fluendo.com>
8478
8479         * gst/gsterror.c: (gst_g_error_get_type):
8480         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8481         (gst_static_pad_template_get_type):
8482         * gst/gsttaglist.c: (gst_tag_list_get_type):
8483         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8484         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8485         * gst/gsturi.c: (gst_uri_handler_get_type):
8486         * gst/gstvalue.c: (gst_date_get_type):
8487         * gst/gstxml.c: (gst_xml_get_type):
8488         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8489         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8490         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8491         Add G_UNLIKELY in type registration.
8492
8493 2006-06-12  Wim Taymans  <wim@fluendo.com>
8494
8495         * tools/gst-inspect.c: (print_signal_info):
8496         Properly print enum values.
8497
8498 2006-06-12  Wim Taymans  <wim@fluendo.com>
8499
8500         * gst/gstinfo.c: (gst_debug_set_active),
8501         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8502         * gst/gstinfo.h:
8503         Add some G_[UN]LIKELY.
8504         Maintain __gst_debug_min to avoid formatting the arguments of
8505         debug messages that will be dropped anyway to avoid a lot of 
8506         overhead from the debugging system.
8507
8508 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8509
8510         * po/POTFILES.in:
8511         * po/POTFILES.skip:
8512           add missing files containing translatable strings, tell intltool about
8513           one exception
8514
8515 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8516
8517         * tests/check/libs/.cvsignore:
8518         add test-binary to ignore list
8519
8520 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8521
8522         * docs/libs/gstreamer-libs-docs.sgml:
8523         reorder (put dp into a chapter) and indent
8524
8525 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8526
8527         * configure.ac:
8528           back to HEAD
8529
8530 === release 0.10.8 ===
8531
8532 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8533
8534         * configure.ac:
8535           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8536
8537 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8538
8539         * gst/gst.c: (init_post):
8540           move pid declaration to declaration block
8541
8542 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8543
8544         * gst/gst.c: (init_post):
8545           use _exit() instead of exit() in our forked child; this ensures
8546           that none of the registered exit handlers from whatever is using
8547           GStreamer get executed.  This fixes gnome-mixer-applet failing
8548           to load, because ORBit would shut down.
8549           Spotted by: Edward Hervey  <edward@fluendo.com>
8550           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8551           Fixes #344474
8552
8553 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8554
8555         * configure.ac:
8556           back to TRUNK
8557
8558 === release 0.10.7 ===
8559
8560 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8561
8562         * configure.ac:
8563           releasing 0.10.7, "Soepeke, ik zie ou"
8564
8565 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8566
8567         * configure.ac:
8568         * po/af.po:
8569         * po/az.po:
8570         * po/bg.po:
8571         * po/ca.po:
8572         * po/cs.po:
8573         * po/de.po:
8574         * po/en_GB.po:
8575         * po/fr.po:
8576         * po/it.po:
8577         * po/nb.po:
8578         * po/nl.po:
8579         * po/ru.po:
8580         * po/sq.po:
8581         * po/sr.po:
8582         * po/sv.po:
8583         * po/tr.po:
8584         * po/uk.po:
8585         * po/vi.po:
8586         * po/zh_CN.po:
8587         * po/zh_TW.po:
8588         * win32/common/config.h:
8589           0.10.6.2 prerelease
8590
8591 2006-06-07  Wim Taymans  <wim@fluendo.com>
8592
8593         * gst/gstindex.c: (gst_index_gtype_resolver):
8594         * tools/gst-xmlinspect.c: (print_plugin_info):
8595         Fix leak spotted by coverity checker. Fixes #343827
8596         Fix another other leak found by paolo borelli.
8597
8598 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8599
8600         * libs/gst/dataprotocol/dataprotocol.c:
8601         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8602         (gst_dp_version_get_type), (gst_dp_init),
8603         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8604         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8605         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8606         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8607         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8608         (gst_dp_packetizer_free):
8609         * libs/gst/dataprotocol/dataprotocol.h:
8610           API: add a GstDPPacketizer object, and create/free functions
8611           API: add GstDPVersion enum
8612           Add 1.0 event function that uses the string serialization
8613           Serialize more useful buffer flags
8614           Fixes #343988
8615
8616 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8617
8618         * tests/check/Makefile.am:
8619         * tests/check/gst/gstabi.c:
8620         * tests/check/gst/struct_ppc64.h:
8621         * tests/check/libs/libsabi.c:
8622         * tests/check/libs/struct_ppc64.h:
8623           add ppc64 structure sizes
8624
8625 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8626
8627         * tests/check/Makefile.am:
8628         * tests/check/gst/gstabi.c:
8629         * tests/check/gst/struct_x86_64.h:
8630         * tests/check/libs/libsabi.c:
8631         * tests/check/libs/struct_x86_64.h:
8632           generate and add structure size lists for x86_64
8633
8634 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8635
8636         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8637         * libs/gst/check/gstcheck.h:
8638           factor out the method from tests that checks size of structures,
8639           and add code to generate the header containing these sizes
8640         * tests/check/gst/gstabi.c: (GST_START_TEST):
8641         * tests/check/gst/struct_i386.h:
8642         * tests/check/libs/libsabi.c: (GST_START_TEST):
8643         * tests/check/libs/struct_i386.h:
8644           use it
8645
8646 2006-06-06  Michael Smith  <msmith@fluendo.com>
8647
8648         * gst/gstsegment.h:
8649           Don't use c++-style comments, fixes #343929
8650
8651 2006-06-05  Edward Hervey  <edward@fluendo.com>
8652
8653         * gst/gst.c:
8654         plugin_paths is not used if we build without registry support.
8655
8656         * gst/gstsegment.c: (gst_segment_copy): 
8657         _copy() was always returning NULL...
8658
8659 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8660
8661         * libs/gst/dataprotocol/dataprotocol.c:
8662         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8663         (gst_dp_packet_from_event):
8664           factor out CRC code
8665
8666 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8667
8668         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8669           make sure we unset caps
8670
8671 2006-06-02  Michael Smith  <msmith@fluendo.com>
8672
8673         * libs/gst/check/gstcheck.c: (gst_check_init),
8674         (gst_check_chain_func):
8675         * libs/gst/check/gstcheck.h:
8676           Add a cond/mutex to the check support lib, signal this whenever we
8677           add to the buffers list. This will allow tests to not busy-wait on
8678           the buffer-list.
8679
8680 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8681
8682         * libs/gst/dataprotocol/dataprotocol.c:
8683         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8684         (gst_dp_packet_from_event):
8685           factor out some common header init code
8686
8687 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8688
8689         * docs/libs/gstreamer-libs-sections.txt:
8690         * docs/libs/tmpl/gstdataprotocol.sgml:
8691         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8692         * libs/gst/dataprotocol/dataprotocol.h:
8693           API: make gst_dp_crc() public
8694
8695 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8696
8697         * plugins/indexers/gstindexers.c: (plugin_init):
8698         conditionally register fileindexer (fixes #343598)
8699
8700 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8701
8702         * gst/gsttagsetter.h:
8703         Can't cast ifaces to a class
8704
8705         * libs/gst/net/gstnetclientclock.h:
8706         * libs/gst/net/gstnettimeprovider.h:
8707         * plugins/elements/gstfakesink.h:
8708         * plugins/elements/gstfakesrc.h:
8709         * plugins/elements/gstfdsink.h:
8710         * plugins/elements/gstfdsrc.h:
8711         * plugins/elements/gstfilesink.h:
8712         * plugins/elements/gstfilesrc.h:
8713         * plugins/elements/gstidentity.h:
8714         * plugins/elements/gstqueue.h:
8715         * plugins/elements/gsttee.h:
8716         * plugins/indexers/gstfileindex.c:
8717         * plugins/indexers/gstmemindex.c:
8718         * tests/old/examples/plugins/example.h:
8719         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8720
8721 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8722
8723         * libs/gst/dataprotocol/dataprotocol.c:
8724         (gst_dp_header_from_buffer):
8725           make sure we zero the whole ABI-compatible area
8726
8727 2006-06-01  Wim Taymans  <wim@fluendo.com>
8728
8729         Patch by: Alessandro Decina <alessandro at nnva dot org>
8730
8731         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8732         Make sure the EOS flag is cleared from pads after a flush
8733         or stop. Fixes #343538.
8734
8735         * tests/check/libs/collectpads.c: (GST_START_TEST),
8736         (gst_collect_pads_suite):
8737         Added test for collectpads reusage after EOS.
8738
8739 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8740
8741         * gst/gst.c:
8742          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8743         * win32/common/libgstbase.def:
8744          export gst_collect_pads_set_flushing
8745         * win32/common/libgstreamer.def:
8746          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8747          gst_value_fraction_multiply
8748         * win32/vs6/gst_inspect.dsp:
8749          add a link to intl.lib
8750
8751 2006-05-30  Wim Taymans  <wim@fluendo.com>
8752
8753         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8754         (gst_collect_pads_chain):
8755         Handle the case where a pad is removed from the collection
8756         that could cause the other pads to become collectable.
8757
8758 2006-05-30  Wim Taymans  <wim@fluendo.com>
8759
8760         * gst/gstelement.c:
8761         Clarify the use of _release_request_pad() and
8762         _get_request_pad() a bit better.
8763
8764         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8765         (gst_adapter_take_buffer):
8766         Fix some doc and comment typos.
8767
8768 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8769
8770         * docs/gst/gstreamer-sections.txt:
8771         * docs/libs/gstreamer-libs-sections.txt:
8772           add declared symbols
8773
8774 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8775
8776         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8777         Add debug that can be enabled using a #define at the top of the file,
8778         for dumping stats about how late/early we were when waking up from
8779         waiting on the clock.
8780
8781 2006-05-30  Wim Taymans  <wim@fluendo.com>
8782
8783         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8784         When rebuilding the pad list, don't leak the previous list.
8785
8786 2006-05-30  Wim Taymans  <wim@fluendo.com>
8787
8788         Patch by: Lutz Mueller <lutz at topfrose dot de>
8789
8790         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8791         (gst_base_src_get_query_types), (gst_base_src_update_length):
8792         Publish supported query types.
8793         Update last_stop field in get_range mode so the position
8794         query works. Fixes #342321.
8795
8796 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8797
8798         * docs/gst/gstreamer-sections.txt:
8799         * gst/gsttaglist.c: (_gst_tag_initialize):
8800         * gst/gsttaglist.h:
8801           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8802
8803 2006-05-30  Wim Taymans  <wim@fluendo.com>
8804
8805         Patch by: Alessandro Decina <alessandro at nnva dot org>
8806
8807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8808         Unlock mutex when removing an unknown pad.
8809         Fixes #343334.
8810
8811         * tests/check/Makefile.am:
8812         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8813         (push_event), (setup), (teardown), (GST_START_TEST),
8814         (gst_collect_pads_suite), (main):
8815         Added collecpads check, disabled for now as check crashes for
8816         some reason.
8817
8818 2006-05-29  Wim Taymans  <wim@fluendo.com>
8819
8820         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8821         Don't leak pads lists.
8822
8823 2006-05-29  Wim Taymans  <wim@fluendo.com>
8824
8825         * docs/libs/gstreamer-libs-sections.txt:
8826         * libs/gst/base/gstcollectpads.c:
8827         (gst_collect_pads_set_flushing_unlocked),
8828         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8829         (gst_collect_pads_stop):
8830         * libs/gst/base/gstcollectpads.h:
8831         API: gst_collect_pads_set_flushing()
8832         Added api to set the pads to flushing, useful for seeking
8833         code in elements using collectpads.
8834         Clear segment when receiving a flush.
8835
8836 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8837
8838         * gst/gst.c: (add_path_func), (init_post):
8839           Don't scan registry paths passed via --gst-plugin-path immediately
8840           (will crash, because absolutely nothing is set up and no types are
8841           registered etc.); do this later in init_post(). Fixes #343057.
8842
8843 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8844
8845         * gst/gst.c: (init_post):
8846           if we have fork, fork while reading/rebuilding the registry
8847           so the parent doesn't take the hit of having all plugins loaded
8848           in memory.  Fixes #342777.
8849         * configure.ac:
8850           Check if we have fork()
8851         * win32/common/config.h.in:
8852           no fork() on win32
8853
8854 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8855
8856         * plugins/elements/gstelements.c:
8857         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8858         (gst_file_src_init), (gst_file_src_set_property),
8859         (gst_file_src_get_property), (gst_file_src_start):
8860         * plugins/elements/gstfilesrc.h:
8861           API: GstFileSrc::use-mmap
8862
8863         Add a use-mmap property to enable easier testing of all code paths.
8864         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8865         in the absence of gnomevfssrc. (Closes #340501)
8866
8867 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8868
8869         * tools/gst-inspect.c:
8870         Add missing include, removes warning of ngettext not being defined on
8871         some arches.
8872
8873 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8874
8875         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8876         Handle NULL input and output pointers silently as a failed conversion,
8877         rather than g_warnings.
8878
8879 2006-05-25  Wim Taymans  <wim@fluendo.com>
8880
8881         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8882         Initialize variable before using. Fixes #342820.
8883
8884 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8885
8886         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8887           Fix off-by-one bug that would only allow peeks of N-1 bytes
8888           from the start even if the buffer to typefind on contains
8889           in fact N bytes of data (makes vorbis typefinding from a
8890           vorbis identification header buffer work).
8891
8892         * tests/check/Makefile.am:
8893         * tests/check/libs/.cvsignore:
8894         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8895         (gst_typefindhelper_suite), (main), (foobar_typefind),
8896         (plugin_init):
8897           Add very basic unit test for gst_type_find_helper_for_buffer()
8898           that checks for the problem fixed above.
8899
8900 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8901
8902         * tools/gst-inspect.c: (print_interfaces),
8903         (print_element_properties_info), (print_element_list), (main):
8904           add more translatable strings
8905
8906 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
8907
8908         Patch by: Julien Moutte  <julien at moutte net>
8909
8910         * docs/gst/gstreamer-sections.txt:
8911           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8912           
8913         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8914         (gst_fake_sink_preroll):
8915         * plugins/elements/gstfakesink.h:
8916           API: Add new GstFakeSink::preroll-handoff signal (#337100).
8917
8918 2006-05-23  Wim Taymans  <wim@fluendo.com>
8919
8920         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8921         * gst/gstpad.h:
8922         Added _CUSTOM error and success GstFlowReturn that can be
8923         used be elements internally. 
8924         Added macro to check for SUCCESS flowreturns.
8925         API: GST_FLOW_CUSTOM_SUCCESS
8926         API: GST_FLOW_CUSTOM_ERROR
8927         API: GST_FLOW_IS_SUCCESS
8928
8929         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8930         Added check for GstFlowReturn sanity.
8931
8932 2006-05-23  Wim Taymans  <wim@fluendo.com>
8933
8934         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8935
8936         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8937         (gst_collect_pads_event):
8938         clear/reset segment info in FLUSH_STOP.
8939         Fixes #336929.
8940
8941 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
8942
8943         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8944         (gst_collect_pads_check_collected):
8945         Flush queued buffer on _stop(), fixes playing again (#342454)
8946
8947 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8948
8949         * tests/check/gst/gststructure.c: (GST_START_TEST),
8950         (gst_structure_suite):
8951           add a test for a complete structure
8952
8953 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8954
8955         * docs/faq/developing.xml:
8956         * docs/faq/faq.xml:
8957         * docs/faq/troubleshooting.xml:
8958         * docs/faq/using.xml:
8959           Some minor FAQ updates that won't change the fact that
8960           our FAQ is badly structured, full of information hardly
8961           anyone new to GStreamer needs to know and lacking lots
8962           of information people constantly ask for.
8963           
8964 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
8965
8966         * gst/gstpad.c: (gst_pad_set_caps):
8967           Short-circuit gst_pad_set_caps if setting the existing
8968           caps pointer again, and avoid printing debug and 
8969           reffing/unreffing the caps.
8970
8971         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8972           There's actually no need to set the caps before pushing -
8973           the acceptcaps method will handle it anyway.
8974
8975 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8976
8977         * docs/gst/gstreamer-sections.txt:
8978         * win32/common/libgstreamer.def:
8979         * gst/gstutils.c: (gst_element_seek_simple):
8980         * gst/gstutils.h:
8981           API: add gst_element_seek_simple() (#342238).
8982
8983 2006-05-18  Edward Hervey  <edward@fluendo.com>
8984
8985         * gst/gsttypefind.c: (gst_type_find_get_type):
8986         * gst/gsttypefind.h:
8987         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8988         registered for GstTypeFind pointers. This allows wrapping the structure
8989         in bindings (i.e. gst-python).
8990
8991 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8992
8993         * gst/gsttagsetter.c:
8994           Docs additions and fixes (see #339918).
8995
8996 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8997
8998         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8999         The caps intersection algorithm can produce multiple copies of the
9000         caps. Until that is fixed, we need to simplify the result to be
9001         sure whether the allowed caps are fixed or not.
9002
9003         * plugins/elements/gstqueue.c: (gst_queue_init),
9004         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9005         (gst_queue_push_one):
9006         Proxied buffer alloc should not set the caps on the source pad.
9007         When pushing buffers, we always accept the caps change that triggers.
9008         This prevents negotiation errors caused by caps changing mid-stream 
9009         and then being refused on our source pad (because upstream is now
9010         refusing those caps).
9011
9012 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9013
9014         * tests/examples/helloworld/helloworld.c: (main):
9015           Must plug audioconvert and audioresample between decoder
9016           and audio sink.
9017
9018 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9019
9020         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9021         (load_feature), (load_plugin):
9022         Allow empty strings for some of the plugin fields so we don't 
9023         drop valid plugin entries that were written out correctly
9024         (Fixes #341479)
9025
9026 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9027         
9028         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9029           Use g_remove and g_rename instead of remove and rename that don't 
9030           handle utf8 characters. rename was failing for users who had specific
9031           characters in their name then the registry was built at each 
9032           gstreamer init.
9033         * win32/vs6/gst_inspect.dsp:
9034         * win32/vs6/gst_launch.dsp:
9035         * win32/vs6/libgstbase.dsp:
9036         * win32/vs6/libgstcoreelements.dsp:
9037         * win32/vs6/libgstreamer.dsp:
9038           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9039           build of libgstreamer and clean unused libraries in projects link 
9040           settings.
9041
9042 2006-05-17  Edward Hervey  <edward@fluendo.com>
9043
9044         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9045         The queue is not responsible for pushing an EOS when receiving a fatal
9046         flow error. It's up to the real element driving the pipeline to do that.
9047
9048 2006-05-16  Edward Hervey  <edward@fluendo.com>
9049
9050         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9051         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9052         buffer returned a fatal error. It should just send an EOS and stop
9053         its task.
9054         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9055         when pushing buffers on the queue and will be able to handle the event.
9056
9057 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9058
9059         * docs/manual/basics-bins.xml:
9060         * docs/manual/basics-init.xml:
9061           Fix typos and minor errors in sample code (#341856).
9062
9063 2006-05-16  Wim Taymans  <wim@fluendo.com>
9064
9065         * docs/design/part-qos.txt:
9066         Fix indexes in formulas to make more sense.
9067
9068 2006-05-15  Wim Taymans  <wim@fluendo.com>
9069
9070         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9071         Don't report POSITION based on clock time if sync is
9072         disabled in a sink.
9073
9074 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9075
9076         * gst/gstobject.h:
9077           Add cast to make compiler happy - refcount variable was a gint
9078           in GstObject but is a guint in GObject and g_atomic_int_get()
9079           wants a gint *.
9080
9081 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9082
9083         * gst/parse/Makefile.am:
9084           chain commands using &&, which also makes parallel make work
9085
9086 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9087
9088         * docs/gst/gstreamer-sections.txt:
9089         * gst/gstevent.c:
9090         * gst/gstevent.h:
9091         * gst/gstmessage.h:
9092           Minor docs fixes.
9093
9094 === release 0.10.6 ===
9095
9096 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9097
9098         * configure.ac:
9099           releasing 0.10.6, "Take the cannoli"
9100
9101 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9102
9103         * tools/gst-launch.c: (print_tag):
9104           Fix use of uninitialized variable in the hypothetical
9105           case that some broken plugin creates a GST_TAG_IMAGE
9106           tag containing a NULL buffer (#341667).
9107
9108 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9109
9110         * tools/gst-launch.c: (print_tag):
9111           Print something more intelligible for image tags when
9112           using the -t switch (#341556).
9113
9114 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9115
9116         * Makefile.am:
9117           updates for win32
9118         * configure.ac:
9119           define GST_MAJORMINOR so we have it available in win32/common/config.h
9120           Possibly remove it from our Makefile.am files later
9121         * win32/common/config.h:
9122         * win32/common/config.h.in:
9123           added GST_MAJORMINOR
9124         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9125         * win32/common/gstversion.h:
9126           updated
9127
9128 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9129
9130         * win32/MANIFEST:
9131           Update win32 files listing.
9132         * win32/common/gstversion.h:
9133           Add GST_MAJORMINOR definition.
9134         * win32/common/libgstreamer.def:
9135           Add new exported functions.
9136           
9137 2006-05-12  Michael Smith  <msmith@fluendo.com>
9138
9139         * gst/gstplugin.c: (gst_plugin_load_file):
9140           If an so file has no plugin entry point, unload the module.
9141
9142 2006-05-11  Wim Taymans  <wim@fluendo.com>
9143
9144         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9145         (gst_queue_set_property):
9146         Don't forget to signal the _chain or _loop function 
9147         when the queue size or thresholds change since that might
9148         cause them to make progres again.
9149
9150 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9151
9152         * gst/gstclock.c: (gst_clock_class_init):
9153         * gst/gstindex.c: (gst_index_class_init):
9154         * gst/gstobject.c: (gst_object_class_init):
9155         * gst/gstpad.c: (gst_pad_class_init):
9156         * gst/gstpipeline.c: (gst_pipeline_class_init):
9157         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9158         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9159         * libs/gst/base/gstbasetransform.c:
9160         (gst_base_transform_class_init):
9161         * libs/gst/net/gstnetclientclock.c:
9162         (gst_net_client_clock_class_init):
9163         * libs/gst/net/gstnettimeprovider.c:
9164         (gst_net_time_provider_class_init):
9165         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9166         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9167         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9168         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9169         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9170         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9171         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9172         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9173         * plugins/elements/gsttee.c: (gst_tee_class_init):
9174         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9175         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9176           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9177
9178 2006-05-11  Wim Taymans  <wim@fluendo.com>
9179
9180         * gst/gstbuffer.c: (_gst_buffer_initialize):
9181         Register subbufer along with the buffer type so that
9182         it does not accidentally gets registered from N
9183         different streaming threads in a non threadsafe way.
9184
9185 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * gst/gstbuffer.h:
9188         * gst/gstevent.h:
9189         * gst/gstmessage.h:
9190           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9191           gst_event_ref() and gst_message_ref() functions again
9192           (ugly hack, please do fix if there's a better way besides
9193           overrides.txt, which doesn't seem to work).
9194
9195 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9196
9197         * libs/gst/check/gstcheck.h:
9198           add an assert for setting state to avoid lots of repetitive code
9199           in the future
9200
9201 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9202
9203         * gst/gstvalue.c: (gst_value_serialize_flags):
9204           fix a leak if no flags are set
9205         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9206           fix leak in tests
9207
9208 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9209
9210         * docs/manual/basics-pads.xml:
9211           Expand a bit on caps and filtered links and update
9212           examples that were still using the no longer existing
9213           gst_pad_link_filtered() (#338206).
9214
9215 2006-05-10  Wim Taymans  <wim@fluendo.com>
9216
9217         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9218         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9219         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9220         (gst_collect_pads_stop):
9221         * libs/gst/base/gstcollectpads.h:
9222         No need to call _stop in _finalize.
9223         Iterate the main pad list in _finalize.
9224         Added some more debug.
9225         Free lists and data in the right order.
9226         Also free data whem doing _remove_pad when stopped for
9227         backward compatibility protect ::started with PAD_LOCK as
9228         well.
9229
9230 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9231
9232         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9233         (gst_structure_parse_value):
9234           add some comments
9235           rename a method so that it actually says what it does better
9236
9237 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9238
9239         * gst/gstevent.c: (_gst_event_initialize):
9240         * gst/gstformat.c: (_gst_format_initialize):
9241           make sure some essential types used by events are registered
9242           as part of gst_init()
9243         * gst/gstvalue.c: (gst_value_serialize_flags):
9244           if no flags are set, serialize them to a value that represents NONE
9245           so that deserializing them works
9246         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9247           add tests for serialization and deserialization of flags
9248
9249 2006-05-10  Wim Taymans  <wim@fluendo.com>
9250
9251         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9252         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9253         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9254         (gst_collect_pads_event), (gst_collect_pads_chain):
9255         Update docs.
9256         Better debug info.
9257         Catch and return errors from the collect function
9258         Refuse data on eos pads.
9259
9260 2006-05-10  Edward Hervey  <edward@fluendo.com>
9261
9262         * gst/gstinterface.h:
9263         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9264         GInterface type checking.
9265         They were previously using non-defined macros.
9266
9267 2006-05-09  Wim Taymans  <wim@fluendo.com>
9268
9269         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9270         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9271         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9272         (gst_collect_pads_start), (gst_collect_pads_stop),
9273         (gst_collect_pads_peek), (gst_collect_pads_pop),
9274         (gst_collect_pads_available), (gst_collect_pads_read),
9275         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9276         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9277         (gst_collect_pads_chain):
9278         * libs/gst/base/gstcollectpads.h:
9279         Clean up the mess that is collectpads, add comments and
9280         FIXMEs where needed.
9281         Maintain a separate pad list so we can add pads while
9282         collecting the other ones. For this we need a new separate 
9283         lock (see comics).
9284         Fix memory leak in finalize.
9285         Refactor some weird code to set/unset pad flushing flags, mark
9286         with comments.
9287         Don't crash in _available, _read, _flush when we're EOS.
9288
9289         * tests/check/libs/.cvsignore:
9290         Ignore adapter check binary.
9291
9292 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9293
9294         * gst/gstindex.c: (gst_index_resolver_get_type):
9295         * plugins/elements/gstfakesink.c:
9296         (gst_fake_sink_state_error_get_type):
9297         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9298         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9299         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9300           Const-ify GEnumValue arrays.
9301
9302 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9303
9304         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9305           Add test case for flags + gst_buffer_make_metadata_writable().
9306
9307 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9308
9309         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9310           gst_buffer_make_metadata_writable() should maintain the
9311           buffer flags (those that make sense at least) (see #340859).
9312
9313 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9314
9315         * tools/gst-inspect.c:
9316         * tools/gst-launch.c:
9317         * tools/gst-typefind.c:
9318         * tools/gst-xmlinspect.c:
9319         * tools/tools.h:
9320           Fix up includes: need to include stdlib.h in tools.h for exit().
9321
9322 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         * gst/gsttaglist.c: (_gst_tag_initialize):
9325         * gst/gsttaglist.h:
9326           API: add GST_TAG_IMAGE tag (#340721).
9327
9328 2006-05-08  Wim Taymans  <wim@fluendo.com>
9329
9330         * gst/gstquery.c:
9331         Added some docs for the segment query.
9332
9333 2006-05-08  Wim Taymans  <wim@fluendo.com>
9334
9335         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9336         (gst_base_src_loop), (gst_base_src_change_state):
9337         Always push non-flushing serialized events in the streaming 
9338         thread.
9339
9340 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9341
9342         * gst/gsterror.c: (_gst_stream_errors_init):
9343           Add a missing error string.
9344
9345 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9346
9347         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9348         Add applied_rate to the debug
9349
9350         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9351         Copy applied_rate into the outgoing NEWSEGMENT event
9352
9353 2006-05-08  Wim Taymans  <wim@fluendo.com>
9354
9355         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9356
9357         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9358         (gst_base_sink_change_state):
9359         call ::unlock before taking the PREROLL_LOCK so we can safely
9360         handle elements that lock in ::render.
9361         Fixes #340174.
9362
9363 2006-05-08  Edward Hervey  <edward@fluendo.com>
9364
9365         * autogen.sh: (CONFIGURE_DEF_OPT): 
9366         Darwin's libtoolize is in fact called glibtoolize.
9367         Adding glibtoolize to the list of accepted names for libtoolize.
9368
9369 2006-05-08  Wim Taymans  <wim@fluendo.com>
9370
9371         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9372         Unify error handling, don't post an error message
9373         when a push() returns EOS but perform our normal EOS
9374         handling code. Fixes #340772.
9375
9376 2006-05-08  Wim Taymans  <wim@fluendo.com>
9377
9378         * docs/design/part-overview.txt:
9379         Make upsteam/downstream concepts more clear.
9380         Give an example of serialized/non-serialized events.
9381
9382         * docs/design/part-events.txt:
9383         * docs/design/part-streams.txt:
9384         Mention applied_rate.
9385
9386         * docs/design/part-trickmodes.txt:
9387         Mention applied rate, flesh out some more use cases.
9388
9389         * gst/gstevent.c: (gst_event_new_new_segment),
9390         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9391         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9392         (gst_event_parse_tag), (gst_event_new_buffer_size),
9393         (gst_event_parse_buffer_size), (gst_event_new_qos),
9394         (gst_event_parse_qos), (gst_event_parse_seek),
9395         (gst_event_new_navigation):
9396         * gst/gstevent.h:
9397         Add applied_rate field to NEWSEGMENT event.
9398         API: gst_event_new_new_segment_full()
9399         API: gst_event_parse_new_segment_full()
9400
9401         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9402         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9403         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9404         * gst/gstsegment.h:
9405         Add applied_rate to GstSegment structure.
9406         Make calculation of stream_time and running_time more correct
9407         wrt rate/applied_rate.
9408         Add some more docs.
9409         API: GstSegment::applied_rate field
9410         API: gst_segment_set_newsegment_full();
9411
9412         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9413         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9414         * libs/gst/base/gstbasetransform.c:
9415         (gst_base_transform_sink_eventfunc),
9416         (gst_base_transform_handle_buffer):
9417         Parse and use applied_rate in the GstSegment field.
9418
9419         * tests/check/gst/gstevent.c: (GST_START_TEST):
9420         Add check for applied_rate field.
9421
9422         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9423         (gstsegments_suite):
9424         Add more checks for various GstSegment operations.
9425
9426 2006-05-08  Wim Taymans  <wim@fluendo.com>
9427
9428         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9429         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9430         (gst_base_sink_get_position), (gst_base_sink_change_state):
9431         Store the sync time of the buffer end position separatly in a
9432         new variable eos_rtime so we can properly sync the EOS event.
9433         Fixes #340697.
9434         Fix the docs for gst_base_sink_set_qos_enabled().
9435         Don't set segment start to invalid value when we receive a 
9436         non TIME newsegment.
9437         get closer to handling position reporting for negative rates 
9438         correctly.
9439
9440 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9441
9442         * gst/gstcaps.c:
9443         Docs about how to print caps for debug purposes.
9444
9445         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9446         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9447
9448 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9449
9450         * gst/gstelement.c:
9451           use full enum names and preprend a '%' in docs strings to make recent 
9452           gtk-doc turn that into a link
9453
9454 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9455
9456         * docs/manual/basics-bins.xml:
9457         * docs/manual/basics-bus.xml:
9458         * docs/manual/basics-pads.xml:
9459           Some typo fixes, some additions, some clarifications. 
9460
9461 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9462
9463         * tools/gst-inspect.c: (main):
9464         * tools/gst-launch.c: (main):
9465         * tools/gst-run.c: (main):
9466         * tools/gst-typefind.c: (main):
9467         * tools/gst-xmlinspect.c: (main):
9468           Use the string passed to g_option_context_new() for
9469           what it's intended for - the program name is already
9470           printed elsewhere.
9471
9472 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9473
9474         * tools/Makefile.am:
9475         * tools/gst-inspect.c: (main):
9476         * tools/gst-launch.c: (main):
9477         * tools/gst-xmlinspect.c: (main):
9478         * tools/tools.h:
9479           Add back --version command line option (#340460).
9480
9481         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9482           Add --version option and use GOption for argument parsing; refactor a
9483           bit; accept directories as arguments and recurse into them; lastly,
9484           print a decent error message when things go wrong.
9485
9486 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9487
9488         * docs/manual/basics-bins.xml:
9489         Don't mention GstThread (#340611)
9490         * docs/manual/basics-elements.xml:
9491         Update link to GObject tutorial (#340607)
9492         
9493 2006-05-05  Wim Taymans  <wim@fluendo.com>
9494
9495         * gst/gstbuffer.h:
9496         * gst/gstminiobject.c:
9497         Add note about refcounting and miniobject/buffer writeability
9498         to docs. Fixes #340604
9499
9500         * gst/gstelementfactory.h:
9501         Added some explanation about @klass.
9502
9503 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9504
9505         * docs/manual/intro-motivation.xml:
9506         * docs/manual/manual.xml:
9507         Avoid CORBA & Bonobo references (#340598)
9508
9509 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9510
9511         * docs/manual/basics-bus.xml:
9512         * docs/manual/basics-pads.xml:
9513         Fix up some inaccuracies and omissions (#340609)
9514         
9515 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9516
9517         * gst/gstghostpad.c:
9518           Small typo in docs (#340625)
9519
9520 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9521
9522         * gst/parse/Makefile.am:
9523           Make 'make -j' proof (see #340698).
9524
9525 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9526
9527         * configure.ac:
9528           Require GLib-2.8 here as well.
9529
9530 2006-05-05  Wim Taymans  <wim@fluendo.com>
9531
9532         * gst/glib-compat.c:
9533         * gst/gst.c: (init_pre):
9534         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9535         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9536         (gst_object_dispatch_properties_changed):
9537         * gst/gstobject.h:
9538         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9539         * gst/gststructure.c: (gst_structure_set_valist):
9540         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9541         Remove pre glib2.8 compatibility, fixes #340508
9542
9543 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9544
9545         * gst/gsttaglist.h:
9546           Mention type of tags in doc blurbs.
9547
9548 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9549
9550         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9551         (gst_pad_configure_src), (gst_pad_push):
9552         Restore acceptcaps checking behaviour now that good plugins have
9553         been released.
9554
9555 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9558
9559         * gst/gst.c:
9560         * gst/gstbus.c:
9561         * gst/gstclock.c:
9562         * gst/gstevent.c:
9563         * gst/gstformat.c:
9564         * gst/gstmessage.c:
9565         * gst/gstparse.c:
9566         * gst/gstquery.c:
9567         * gst/gstutils.c:
9568         * gst/parse/Makefile.am:
9569         * libs/gst/base/gstadapter.c:
9570         * libs/gst/base/gstbasesrc.c:
9571         * libs/gst/base/gstpushsrc.c:
9572         * libs/gst/base/gsttypefindhelper.c:
9573         * plugins/elements/gstfakesrc.c:
9574         * plugins/elements/gstidentity.c:
9575           Make sure gstprivate.h and/or config.h are
9576           always included first, otherwise some of our
9577           defines (like _FILE_OFFSET_BITS) might be
9578           redefined in the system headers. Fixes build
9579           on opensolaris (#340016).
9580
9581 2006-05-04  Wim Taymans  <wim@fluendo.com>
9582
9583         * docs/libs/gstreamer-libs-sections.txt:
9584         API: addition: gst_adapter_take_buffer()
9585         
9586         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9587         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9588         (gst_adapter_available_fast):
9589         * libs/gst/base/gstadapter.h:
9590         Prepare for optimizing the hell out of this hugely inefficient
9591         piece of code. 
9592         Added gst_adapter_take_buffer() so we can at least start thinking
9593         about subbuffering and merging.
9594         Added some comments.
9595
9596         * tests/check/Makefile.am:
9597         * tests/check/libs/adapter.c: (GST_START_TEST),
9598         (gst_adapter_suite), (main):
9599         Added GstAdapter check.
9600
9601 2006-05-04  Wim Taymans  <wim@fluendo.com>
9602
9603         * docs/design/part-overview.txt:
9604         Fix some typos, add blurb about buffer flags.
9605
9606 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9607
9608         * docs/libs/gstreamer-libs-sections.txt:
9609           make sure GstBaseTransformClass shows up in the docs
9610         * libs/gst/base/gstbasetransform.c:
9611         * libs/gst/base/gstbasetransform.h:
9612           move docs so gtk-doc picks it up now
9613
9614 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9615
9616         * docs/libs/gstreamer-libs-sections.txt:
9617           add missing symbols to docs
9618
9619 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9620
9621         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9622           back out the newsegment handling change, see #340060 for ongoing
9623           discussion
9624
9625 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9626
9627         * tools/gst-run.c: (get_candidates), (main):
9628           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9629           work); fix typo in error message. Fixes #340079.
9630
9631 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9632
9633         * common/Makefile.am:
9634         * docs/Makefile.am:
9635         * docs/faq/Makefile.am:
9636         * docs/gst/Makefile.am:
9637         * docs/libs/Makefile.am:
9638         * docs/manual/Makefile.am:
9639         * docs/plugins/Makefile.am:
9640         * docs/pwg/Makefile.am:
9641         * docs/slides/Makefile.am:
9642         * docs/upload.mak:
9643         * common/upload.mak:
9644           move upload.mak to common
9645
9646 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9647
9648         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9649           add more asserts on refcounts
9650           do more cleanup at end of tests
9651           fix test leaks showing in FC5
9652
9653 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9654
9655         * plugins/elements/gsttypefindelement.c:
9656         (gst_type_find_element_handle_event):
9657         reverted wrong change and reflowed code to avoid others falling into
9658         this trap
9659
9660 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9661
9662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9663           fix changelog entry about last collectpads change,
9664           add notes about proper fix
9665
9666 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9667
9668         * gst/gst.c:
9669         * gst/gstregistry.c: (gst_registry_scan_path_level),
9670         (gst_registry_scan_path):
9671         * gst/gstregistry.h:
9672           only write out registry if it has changed, fixes #338339
9673
9674 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9675
9676         * gst/gstbin.c:
9677         * gst/gstpipeline.c:
9678         * plugins/elements/gstcapsfilter.c:
9679         * plugins/elements/gstfakesink.c:
9680         * plugins/elements/gstfakesrc.c:
9681         * plugins/elements/gstfdsink.c:
9682         * plugins/elements/gstfdsrc.c:
9683         * plugins/elements/gstfilesink.c:
9684         * plugins/elements/gstfilesrc.c:
9685         * plugins/elements/gstidentity.c:
9686         * plugins/elements/gstqueue.c:
9687         * plugins/elements/gsttee.c:
9688         * plugins/elements/gsttypefindelement.c:
9689         (gst_type_find_element_handle_event):
9690           make GstElementDetails const
9691
9692 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9693
9694         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9696         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9697           more detailed debug and formatting cleanup,
9698           forward newsegments to src-pad (so that e.g. adder not eats them)
9699
9700 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9701
9702         * gst/gstutils.c: (gst_element_link_pads):
9703           cleanup double code
9704
9705 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9706
9707         * libs/gst/controller/gstcontroller.c:
9708         (gst_controller_sync_values):
9709           some little tuning
9710         * tests/check/libs/controller.c: (GST_START_TEST),
9711         (gst_controller_suite):
9712           a new test for live value handling
9713
9714 2006-04-28  Wim Taymans  <wim@fluendo.com>
9715
9716         * gst/gstutils.c: (push_and_ref):
9717         Added some more docs.
9718         Fix refcount issue whith gst_element_found_tags() helper 
9719         function. Fixes #338335
9720
9721         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9722         Added testsuite for gst_element_found_tags().
9723
9724 2006-04-28  Michael Smith  <msmith@fluendo.com>
9725
9726         * gst/gstvalue.c: (gst_value_serialize_flags):
9727           Avoid NULL dereference when trying to serialize flags containing
9728           invalid values.
9729
9730 2006-04-28  Michael Smith  <msmith@fluendo.com>
9731
9732         * plugins/elements/gsttypefindelement.c:
9733         (gst_type_find_element_handle_event):
9734           If we get EOS before any data is accumulated, don't use
9735           uninitialised local variables.
9736
9737 2006-04-28  Michael Smith  <msmith@fluendo.com>
9738
9739         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9740         (gst_dp_event_from_packet):
9741           Fixes in reading/writing events over GDP (not currently used?) - 
9742           dereferencing NULL events for unknown/invalid event types, memory
9743           leak, and change g_warning to GST_WARNING.
9744
9745 2006-04-28  Wim Taymans  <wim@fluendo.com>
9746
9747         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9748         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9749         (gst_base_sink_get_position), (gst_base_sink_change_state):
9750         When frame dropping is enabled, we should not ignore frames
9751         without a duration.
9752         Update some documentation.
9753
9754 2006-04-28  Wim Taymans  <wim@fluendo.com>
9755
9756         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9757         (gst_base_src_send_event), (gst_base_src_change_state):
9758         Documentation updates.
9759
9760 2006-04-28  Wim Taymans  <wim@fluendo.com>
9761
9762         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9763         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9764         handle EAGAIN, EINTR and short writes correctly. Also clean
9765         up some error cases, avoid a deadlock on bad file descriptors and
9766         use GST_DEBUG_OBJECT.
9767         Fixes #339843
9768
9769 2006-04-28  Wim Taymans  <wim@fluendo.com>
9770
9771         * gst/gstvalue.c: (gst_value_serialize_buffer),
9772         (gst_value_deserialize_buffer):
9773         Don't try to serialize a GValue with a NULL buffer. 
9774         Fixes #339821.
9775
9776         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9777         Added check for serialisation of NULL buffers.
9778
9779 2006-04-28  Wim Taymans  <wim@fluendo.com>
9780
9781         * gst/gstminiobject.c: (gst_value_take_mini_object):
9782         Taking a NULL miniobject is valid, fix the case where
9783         we try to unref the NULL miniobject.
9784
9785 2006-04-28  Wim Taymans  <wim@fluendo.com>
9786
9787         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9788
9789         * gst/gstbin.c: (gst_bin_handle_message_func):
9790         Update docs.
9791         Don't leak bin refcount when a state recalc is
9792         in progress and we delay another one #339808.
9793
9794 2006-04-28  Wim Taymans  <wim@fluendo.com>
9795
9796         * docs/design/part-TODO.txt:
9797         Mention QoS as an ongoing work item.
9798
9799         * docs/design/part-buffering.txt:
9800         New doc about buffering that needs to be fleshed out
9801         at some point.
9802
9803         * docs/design/part-qos.txt:
9804         More QoS policy for decoders/demuxers/transforms
9805
9806         * docs/design/part-trickmodes.txt:
9807         Small update.
9808
9809 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9810
9811         * configure.ac:
9812           back to HEAD
9813
9814 === release 0.10.5 ===
9815
9816 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9817
9818         * configure.ac:
9819           releasing 0.10.5, "Fogo"
9820
9821 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9822
9823         patch by: Wim Taymans
9824
9825         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9826         (gst_pad_configure_src), (gst_pad_push):
9827         * gst/gstpipeline.c: (gst_pipeline_init):
9828           Fix internal data flow errors.  Fixes #338711.
9829
9830 2006-04-12  Wim Taymans  <wim@fluendo.com>
9831
9832         * tests/check/gst/gstelement.c: (GST_START_TEST):
9833         Don't leak the factory.
9834
9835 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9836
9837         * configure.ac:
9838         * win32/common/config.h:
9839           prerelease
9840
9841 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9842
9843         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9844         (gst_controller_unset_all):
9845           Free allocated GstTimedValues when freeing list nodes.
9846           Should fix leaks 'make check-valgrind' complains about.
9847
9848         * win32/common/libgstcontroller.def:
9849           Add gst_controller_unset_all.
9850
9851 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9852
9853         * docs/libs/gstreamer-libs-sections.txt:
9854         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9855         (gst_controller_unset_all):
9856         * libs/gst/controller/gstcontroller.h:
9857         API: Added new method gst_controller_unset_all()
9858         fixed gst_controller_unset()
9859         * tests/check/libs/controller.c: (GST_START_TEST),
9860         (gst_controller_suite):
9861         Added two testcases for new and fixed method
9862
9863 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9864
9865         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9866           MSG_DONTWAIT is not defined on Cygwin, so work
9867           around that (fixes #317048).
9868           
9869 2006-04-11  Wim Taymans  <wim@fluendo.com>
9870
9871         * gst/gstelementfactory.c: (gst_element_register),
9872         (gst_element_factory_create), (gst_element_factory_make):
9873         Some cleanups.
9874         Fixed a FIXME.
9875         Updated docs (Fixes #131079)
9876
9877         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9878         Small cleanups.
9879
9880         * tests/check/gst/gstelement.c: (GST_START_TEST),
9881         (gst_element_suite):
9882         Added testcase for elementfactory class field.
9883
9884 2006-04-10  Wim Taymans  <wim@fluendo.com>
9885
9886         * gst/gstsegment.c:
9887         Added some more docs.
9888
9889         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9890         (gst_base_sink_reset_qos):
9891         Calculate more accurate rate values.
9892
9893 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
9894
9895         * gst/gst_private.h:
9896           add a new #ifdef to use __declspec(dllimport) only for
9897           other modules and not for gstreamer core
9898         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9899           use gst_guint64_to_gdouble for conversion
9900         * win32/common/libgstreamer.def:
9901           add new exported functions
9902         * win32/vs6/gst_inspect.dsp:
9903         * win32/vs6/gst_launch.dsp:
9904         * win32/vs6/libgstbase.dsp:
9905         * win32/vs6/libgstcontroller.dsp:
9906         * win32/vs6/libgstcoreelements.dsp:
9907         * win32/vs6/libgstdataprotocol.dsp:
9908         * win32/vs6/libgstnet.dsp:
9909           update project files
9910
9911 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9912
9913         * gst/gstbuffer.c: (gst_subbuffer_class_init):
9914         * gst/gstclock.c: (gst_clock_class_init):
9915         * gst/gstelement.c: (gst_element_class_init):
9916         * gst/gstindex.c: (gst_index_class_init):
9917         * gst/gstindexfactory.c: (gst_index_factory_class_init):
9918         * gst/gstobject.c: (gst_object_class_init),
9919         (gst_signal_object_class_init):
9920         * gst/gstpad.c: (gst_pad_class_init):
9921         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9922         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9923         * gst/gstregistry.c: (gst_registry_class_init):
9924         * gst/gstsystemclock.c: (gst_system_clock_class_init):
9925         * gst/gsttask.c: (gst_task_class_init):
9926         * gst/gstxml.c: (gst_xml_class_init):
9927         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9928         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9929         (gst_base_src_loop):
9930         * libs/gst/controller/gstcontroller.c:/
9931         (_gst_controller_class_init):
9932         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9933         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9934         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9935         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9936         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9937         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9938
9939 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
9940
9941         * gst/gstpad.c: (gst_pad_link):
9942           Must set peer pads before calling the link function, otherwise
9943           a task started from a link function might get a flow-not-linked
9944           result when trying to push because the other thread where the
9945           linking happens hasn't had a chance to set the peers yet. This
9946           might happen for example when a queue gets linked to a downstream
9947           element, as queue starts a streaming task when its source pad
9948           gets linked. Happens in real life when playing back flac/musepack
9949           files in playbin (#332390).
9950           
9951 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9952
9953         * gst/gstindex.h:
9954         * gst/gstxml.h:
9955         * libs/gst/base/gstadapter.h:
9956         * libs/gst/base/gstbasesink.h:
9957         * libs/gst/base/gstbasesrc.h:
9958         * libs/gst/base/gstbasetransform.h:
9959         * libs/gst/base/gstcollectpads.h:
9960         * libs/gst/base/gstpushsrc.h:
9961         Fix broken GObject macros
9962
9963 2006-04-07  Wim Taymans  <wim@fluendo.com>
9964
9965         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9966         Initialize start and stop times, thanks valgrind.
9967
9968 2006-04-07  Wim Taymans  <wim@fluendo.com>
9969
9970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9971         Be a bit nicer to badly behaving upstream elements that expect
9972         us to deal with non TIME segments and timestamps (such as fakesrc
9973         in the testsuite).
9974
9975 2006-04-07  Wim Taymans  <wim@fluendo.com>
9976
9977         * gst/gstbus.c:
9978         Small documentation clarification about the signal watch.
9979
9980         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9981         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9982         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9983         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9984         (gst_base_sink_get_position_last),
9985         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9986         Convert and store timestamps in stream time and running time, the
9987         raw timestamps are not useful, also document this better.
9988         Use different window sizes for good and bad QoS observations so
9989         we react to badness a little quicker.
9990         Keep track of the amount of rendered and dropped buffers.
9991         Send QoS timestamps in running time.
9992
9993         * libs/gst/base/gstbasetransform.c:
9994         (gst_base_transform_sink_eventfunc),
9995         (gst_base_transform_handle_buffer):
9996         Compare QoS timestamps against running time.
9997
9998 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9999
10000         * gst/gstpad.c:
10001           Typo fixes in docs.
10002
10003 2006-04-06  Michael Smith  <msmith@fluendo.com>
10004
10005         * gst/gstpad.c: (gst_pad_set_property):
10006           Use g_value_get_object() instead of g_value_dup_gst_object(),
10007           to avoid double-reffing the pad template (which we then sink,
10008           so this worked previously if (and only if) the pad template
10009           was floating.
10010
10011         * gst/gstpadtemplate.c: (gst_pad_template_init),
10012         (gst_pad_template_pad_created):
10013           Never return floating references to pad templates, create
10014           them as initially-sunken.
10015
10016           Document an extra function (and make this stop sinking our
10017           pad template, since that is now guaranteed to do nothing,
10018           since we created it sunken).
10019
10020         * gst/gstghostpad.c:
10021           Fix docs typo.
10022
10023 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10024
10025         * gst/gstinfo.c: (__gst_in_valgrind):
10026           Add some newlines.
10027
10028         * plugins/elements/gsttypefindelement.c:
10029         (gst_type_find_element_chain):
10030           Don't leak buffer caps.
10031
10032 2006-04-06  Michael Smith  <msmith@fluendo.com>
10033
10034         * gst/parse/grammar.y:
10035           Fix a leak in parse-launch for any source-or-sink named element 
10036           references used.
10037
10038         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10039           Unref the pipeline if it exists after we've failed parsing.
10040
10041 2006-04-05  Michael Smith  <msmith@fluendo.com>
10042
10043         * gst/gstpipeline.c: (gst_pipeline_init):
10044           When we create a pipeline bus, initially create it in flushing mode.
10045           Fixes leaks in at least one test, and makes a new pipeline work the
10046           same as one that has gone to READY and then back to NULL.
10047
10048         * gst/gstelement.c:
10049           Typo fix in docs.
10050
10051 2006-04-05  Michael Smith  <msmith@fluendo.com>
10052
10053         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10054           Unref a pad we reffed.
10055         * tests/check/gst/gstutils.c: (GST_START_TEST):
10056           Unref bins
10057
10058 2006-04-05  Michael Smith  <msmith@fluendo.com>
10059
10060         * gst/gstquery.c: (gst_query_set_formats),
10061         (gst_query_set_formatsv):
10062           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10063
10064 2006-04-05  Michael Smith  <msmith@fluendo.com>
10065
10066         * tests/check/generic/sinks.c: (GST_START_TEST):
10067           Fix a variety of memleaks in sinks check, which are only sometimes 
10068           shown by running the tests under valgrind (weird?).
10069
10070 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10071
10072         * docs/version.entities.in:
10073           Fix the substituted entity name after thomas' changes on the
10074           weekend.
10075
10076 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10077
10078         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10079         VALGRIND_PRINTF
10080         
10081 2006-04-05  Andy Wingo  <wingo@pobox.com>
10082
10083         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10084
10085         * libs/gst/base/gstbasetransform.c
10086         (gst_base_transform_sink_eventfunc): When resetting our segment on
10087         FLUSH_STOP, also update the flag saying we haven't seen a
10088         newsegment.
10089
10090 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10091
10092         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10093
10094         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10095         (gst_plugin_check_license):
10096           minor clean-ups: G_DEFINE_TYPE already takes care of the
10097           parent_class stuff, no need to do it twice. Mark array of
10098           license strings as constant. (#337103)
10099           
10100 2006-04-04  Michael Smith  <msmith@fluendo.com>
10101
10102         * tools/gst-inspect.c: (print_element_list):
10103           Free the right plugin list; fixes a memory leak.
10104
10105 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10106
10107         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10108
10109         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10110           Don't error out on empty buffers (#336945).
10111           
10112 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10113
10114         * docs/libs/gstreamer-libs-sections.txt:
10115         * gst/gsttaglist.c:
10116         * libs/gst/base/gstbasesink.c:
10117         * libs/gst/base/gstbasesink.h:
10118         * libs/gst/base/gstbasesrc.c:
10119         * libs/gst/base/gstbasesrc.h:
10120           Documentation updates. Make BaseSink and BaseSrc docs contain the
10121           class structure so that people can actually see the prototypes for
10122           virtual functions they're supposed to be overriding.
10123
10124 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * plugins/elements/gsttypefindelement.c:
10127         (gst_type_find_element_chain):
10128           More debug info; when skipping typefinding, send cached
10129           events in all cases.
10130
10131 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10132
10133         * configure.ac:
10134           use new AS_VERSION and AS_NANO macros
10135         * gst/gst-i18n-lib.h:
10136         * gst/gst.c:
10137         * gst/gsterror.c:
10138         * gst/gstversion.h.in:
10139         * win32/common/config.h:
10140         * win32/common/config.h.in:
10141           update accordingly
10142
10143 2006-03-31  Michael Smith  <msmith@fluendo.com>
10144
10145         * plugins/elements/gsttypefindelement.c:
10146         (gst_type_find_element_chain):
10147           Do not typefind content if the buffers already have caps.
10148           Neccesary for icydemux (#333657), and the right thing to do anyway.
10149
10150 2006-03-30  Wim Taymans  <wim@fluendo.com>
10151
10152         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10153         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10154         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10155         (gst_base_sink_record_qos_observation),
10156         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10157         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10158         (gst_base_sink_change_state):
10159         More QoS measurements as described in the design doc.
10160         Get rid of ringbuffer with observations, running average is
10161         more simple and equally good.
10162         Calculates valid proportion now.
10163         Added beginning of flood measurement.
10164
10165 2006-03-29  Wim Taymans  <wim@fluendo.com>
10166
10167         * docs/design/part-qos.txt:
10168         * gst/gstclock.c:
10169         Small documentation updates and additions.
10170
10171 2006-03-29  Wim Taymans  <wim@fluendo.com>
10172
10173         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10174         (gst_base_src_send_event), (gst_base_src_loop),
10175         (gst_base_src_change_state):
10176         Perform the EOS logic when we reach the segment stop position.
10177         Fix compilation on gcc4.1
10178
10179 2006-03-29  Wim Taymans  <wim@fluendo.com>
10180
10181         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10182
10183         * plugins/elements/gstqueue.c: (gst_queue_init),
10184         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10185         (gst_queue_set_property):
10186         * plugins/elements/gstqueue.h:
10187         In queue, when EOS is received, if minimum threshold > max_size -
10188         current_level, there is chance that queue blocks forever in conditional
10189         item del wait. This is because the queue is not emptied completely due
10190         to minimum threshold.  Here is another approach. Instead of setting
10191         cur_levels to max in EOS, just zero all minimum threshold levels. This
10192         should make sure that queue gives out all data. When going to READY
10193         (stop) state, just reset the original minimum threshold levels.
10194         Fixes #336336.
10195
10196 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10199         (gst_type_find_element_handle_event),
10200         (gst_type_find_element_send_cached_events),
10201         (gst_type_find_element_change_state):
10202         * plugins/elements/gsttypefindelement.h:
10203           When typefinding is done in push mode, we should cache
10204           events we receive during typefinding instead of just
10205           dropping them (e.g. newsegment, custom events from
10206           dvdreadsrc etc.) and then send them out once we've
10207           determined the type of the stream (and decodebin
10208           has had a chance to plug in a decoder/demuxer).
10209           
10210 2006-03-27  Wim Taymans  <wim@fluendo.com>
10211
10212         * docs/design/part-qos.txt:
10213         First QoS ideas.
10214
10215 2006-03-27  Wim Taymans  <wim@fluendo.com>
10216
10217         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10218
10219         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10220         (gst_base_src_send_event), (gst_base_src_change_state):
10221         Handle element seek correctly when we are streaming.
10222         Fixes #326998.
10223
10224 2006-03-24  Michael Smith  <msmith@fluendo.com>
10225
10226         * docs/faq/gst-uninstalled:
10227           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10228           allow you to correctly run intalled applications built against old 
10229           core, using plugins that require updated core (e.g. running
10230           installed totem against a full uninstalled gstreamer stack)
10231
10232 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10233
10234         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10235         more debug details
10236
10237 2006-03-24  Wim Taymans  <wim@fluendo.com>
10238
10239         * docs/gst/gstreamer-sections.txt:
10240         Rearrange the order of the methods so that related methods
10241         are grouped together in sections.
10242
10243 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10244
10245         * gst/gstelement.c:
10246           Little clarification in the docs
10247
10248 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10249
10250         * docs/README:
10251         formatting fix
10252         * plugins/elements/gstidentity.c:
10253         * plugins/elements/gstqueue.c:
10254         * plugins/elements/gsttee.c:
10255         * plugins/elements/gsttypefindelement.c:
10256         GST_ELEMENT_DETAILS formatting
10257
10258 2006-03-24  Wim Taymans  <wim@fluendo.com>
10259
10260         * libs/gst/base/gstbasesink.h:
10261         Only add fields, not insert or we break ABI.
10262
10263 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10264
10265         * win32/common/libgstbase.def:
10266         * win32/common/libgstreamer.def:
10267           Update, add recently added functions.
10268
10269 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10270
10271         * docs/gst/gstreamer-sections.txt:
10272         * gst/gstutils.c: (gst_pad_query_peer_position),
10273         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10274         * gst/gstutils.h:
10275           API: add some new utility functions:
10276            - gst_pad_query_peer_position()
10277            - gst_pad_query_peer_duration()
10278            - gst_pad_query_peer_convert()
10279           
10280 2006-03-23  Wim Taymans  <wim@fluendo.com>
10281
10282         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10283         (gst_base_sink_init), (gst_base_sink_finalize),
10284         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10285         (gst_base_sink_set_property), (gst_base_sink_get_property),
10286         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10287         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10288         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10289         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10290         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10291         (gst_base_sink_preroll_object), (gst_base_sink_event),
10292         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10293         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10294         (gst_base_sink_query), (gst_base_sink_change_state):
10295         Decouple max-lateness and the fact that QoS messages are generated
10296         with a new property (qos).
10297         added API: GstBaseSink::async_play()
10298         Add vmethod so subclasses can be notified of ASYNC playing
10299         state changes.
10300         Collect timestamp start and stop to report better current
10301         position in EOS/PLAYING/PAUSED/READY/NULL.
10302         Refactor QoS/frame dropping and other measurements.
10303         API: GstBaseSrc::qos
10304         Fixes #326311
10305
10306         * libs/gst/base/gstbasesink.h:
10307         Added Private struct.
10308         API: gst_base_sink_set_qos_enabled()
10309         API: gst_base_sink_is_qos_enabled()
10310
10311 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10312
10313         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10314           If compiling against GLib-2.8 or newer, try to read the
10315           registry file using GMappedFile first before falling back
10316           to fopen() + fread() (#332151).
10317
10318 2006-03-22  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstinfo.c: (gst_debug_set_active),
10321         (gst_debug_category_set_threshold):
10322         Disable debugging unless explicitly activated.
10323         Fixes #335480.
10324
10325 2006-03-22  Wim Taymans  <wim@fluendo.com>
10326
10327         * gst/gstelement.c: (gst_element_set_locked_state),
10328         (gst_element_dispose):
10329         Cleanup the error case.
10330
10331         * gst/gstobject.c: (gst_object_dispose):
10332         print a critical when some object was disposed with
10333         a parent, also revive the object since it might
10334         crash the parent.
10335
10336 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10337
10338         * tools/gst-launch.1.in:
10339           Fix another typo.
10340
10341 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10342
10343         * configure.ac:
10344         * tests/check/Makefile.am:
10345           disable some tests when we don't have a registry
10346         * tests/check/gst/gstutils.c: (gst_utils_suite):
10347           don't build the part that needs parsing
10348
10349 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10350
10351         * gst/Makefile.am
10352         * tests/examples/Makefile.am:
10353           fix --disable-parse build
10354
10355 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10356
10357         * tools/gst-feedback.1.in:
10358           Fix typo: s/feeback/feedback/ (#133494).
10359
10360 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10361
10362         * tools/Makefile.am:
10363         * tools/gst-launch.1.in:
10364           Add FILES section and correct entry about GST_REGISTRY_PATH
10365           environment variable (#133495; #133494).
10366
10367 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10368
10369         * tools/Makefile.am:
10370         * tools/gst-md5sum.1.in:
10371         * tools/gst-md5sum.c:
10372           Remove gst-md5sum and man page (the md5sink element
10373           required was removed ages ago)
10374
10375 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10376
10377         * gst/gststructure.c: (gst_structure_id_set_value):
10378           Make sure that string fields in structures/taglists
10379           contain valid UTF-8 - we don't want to pass rubbish to
10380           applications because of a buggy plugin (cp. #334167).
10381
10382 2006-03-21  Edward Hervey  <edward@fluendo.com>
10383
10384         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10385         (gst_bin_handle_message_func):
10386         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10387         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10388         (gst_element_set_bus_func):
10389         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10390         * gst/gstminiobject.c: (gst_value_set_mini_object),
10391         (gst_value_take_mini_object):
10392         * gst/gstpad.c: (gst_pad_set_pad_template):
10393         * gst/gstpipeline.c: (gst_pipeline_dispose),
10394         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10396         (gst_collect_pads_chain):
10397         * libs/gst/net/gstnettimeprovider.c:
10398         (gst_net_time_provider_set_property):
10399         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10400         It's in fact all issues with gst_*object_replace().
10401
10402 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10403
10404         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10405         
10406         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10407         * pkgconfig/gstreamer-check.pc.in:
10408           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10409
10410 2006-03-21  Edward Hervey  <edward@fluendo.com>
10411
10412         * gst/gstbuffer.h:
10413         * gst/gstevent.h:
10414         * gst/gstmessage.h:
10415         gst_[buffer|event|message]_ref() macros are replaced by a static
10416         inline functions because gcc-4.1 will about if the return value
10417         isn't used.
10418         * tests/check/gst/gstevent.c: (event_probe):
10419         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10420
10421 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10422
10423         * gst/gstutils.h:
10424         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10425         the type' case. (Closes: #335195 for now). In the future, when we
10426         depend on GLib 2.10, we could also intern the type name using
10427         g_intern_static_string()
10428
10429 2006-03-20  Wim Taymans  <wim@fluendo.com>
10430
10431         * gst/gstbin.c: (gst_bin_handle_message_func),
10432         (bin_query_max_init), (bin_query_position_fold),
10433         (bin_query_position_done), (gst_bin_query):
10434         Position query should also take max of all streams.
10435
10436 2006-03-20  Wim Taymans  <wim@fluendo.com>
10437
10438         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10439         (gst_fake_src_finalize):
10440         Fix leaks in fakesrc.
10441
10442         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10443         Fix leaks in the testcase.
10444
10445 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10446
10447         * gst/gst_private.h:
10448           add win32 specific import decoration(__declspec(dllimport)) 
10449           for all extern GstDebugCategory * variables
10450         * win32/common/libgstbase.def:
10451         * win32/common/libgstcontroller.def:
10452         * win32/common/libgstreamer.def:
10453           Add some exports, remove empty lines
10454         * win32/common/libgstdataprotocol.def:
10455         * win32/common/libgstdataprotocol.dsp:
10456         * win32/common/libgstnet.def:
10457         * win32/common/libgstnet.dsp:
10458           new project files and exportation files added
10459         
10460 2006-03-19  Wim Taymans  <wim@fluendo.com>
10461
10462         * tests/check/libs/basesrc.c: (eos_event_counter):
10463         Use proper return value for probe.
10464
10465 2006-03-17  Wim Taymans  <wim@fluendo.com>
10466
10467         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10468         (gst_pad_push):
10469         Don't leak buffers, caps and pads on negotiation errors.
10470
10471 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10472
10473         * docs/faq/cvs.xml:
10474         * docs/faq/dependencies.xml:
10475         * docs/faq/developing.xml:
10476         * docs/faq/faq.xml:
10477         * docs/faq/general.xml:
10478         * docs/faq/getting.xml:
10479         * docs/faq/legal.xml:
10480         * docs/faq/troubleshooting.xml:
10481         * docs/faq/using.xml:
10482         Faq review and update.
10483
10484 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10485
10486         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10487         (gst_pad_push):
10488         Don't pound the cpu to pieces by checking get_caps when accept_caps
10489         is called with the same caps as the pad already has.
10490         Use GST_DEBUG_OBJECT when outputting caps change information.
10491
10492 2006-03-15  Wim Taymans  <wim@fluendo.com>
10493
10494         * gst/gstclock.c: (gst_clock_class_init):
10495         Fix docs.
10496
10497 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10498
10499         * gst/gstbuffer.h:
10500         Documentation fix.
10501
10502         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10503         (gst_pad_accept_caps), (gst_pad_configure_sink),
10504         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10505         Make the default acceptcaps behaviour be to check the requested 
10506         caps against the gst_pad_get_caps output. 
10507
10508         Ensure that gst_pad_accept_caps is used to check caps when a pad
10509         doesn't have a setcaps function, so that pads automatically refuse 
10510         caps that they don't allow in their pad template. (Fixes #332986)
10511
10512         When a buffer with attached caps is pushed, ensure that the source 
10513         pad receives those caps even if the element didn't call
10514         gst_pad_set_caps first.
10515
10516 2006-03-15  Wim Taymans  <wim@fluendo.com>
10517
10518         * libs/gst/base/gstadapter.c:
10519         Add some docs.
10520
10521 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10522
10523         * win32/common/libgstbase.def:
10524         * win32/common/libgstcontroller.def:
10525         * win32/common/libgstreamer.def:
10526           Add a whole bunch of missing functions (#334434).
10527
10528 2006-03-14  Wim Taymans  <wim@fluendo.com>
10529
10530         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10531         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10532         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10533         Better debug info when we receive a segment event.
10534         Reorganize a bit so we can pass the get_times() results around.
10535         Use the segment format when calculating the running time.
10536         Don't do QoS is sync is disabled or we have no clock or the
10537         element does not want us to sync to the clock.
10538         Don't drop buffers if QoS is disabled for now.
10539
10540 2006-03-14  Wim Taymans  <wim@fluendo.com>
10541
10542         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10543         Marked the stats property as unimplemented so people don't get
10544         wild ideas.
10545         Add debug message when regression goes wrong.
10546         Added some more docs.
10547
10548 2006-03-14  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/gstsegment.c: (gst_segment_to_stream_time):
10551         Return correct return type in case of errors.
10552
10553 2006-03-14  Wim Taymans  <wim@fluendo.com>
10554
10555         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10556           Don't segfault on invalid formats.
10557
10558 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10559
10560         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10561           Can't use gst_segment_to_running_time() when the segment
10562           is not in GST_TIME_FORMAT (like with filesink, for example).
10563           Stops flac encoding pipelines from spewing critical warnings
10564           at EOS (#331248).
10565           
10566 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10567
10568         * gst/gstpipeline.c: (gst_pipeline_class_init):
10569           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10570
10571         * plugins/elements/gsttypefindelement.c:
10572         (gst_type_find_element_handle_event):
10573           Don't try to typefind empty streams.
10574
10575 2006-03-14  Wim Taymans  <wim@fluendo.com>
10576
10577         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10578         (gst_base_sink_do_qos):
10579         Separate QoS calculation.
10580         Only drop buffers when lateness is bigger than the 
10581         duration of the buffer.
10582
10583 2006-03-13  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/gstpipeline.c: (gst_pipeline_set_property),
10586         (gst_pipeline_get_property), (do_pipeline_seek),
10587         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10588         (gst_pipeline_get_delay):
10589         Don't deadlock when reading properties.
10590
10591 2006-03-13  Wim Taymans  <wim@fluendo.com>
10592
10593         * libs/gst/base/gstbasetransform.c:
10594         (gst_base_transform_class_init), (gst_base_transform_init),
10595         (gst_base_transform_sink_event),
10596         (gst_base_transform_sink_eventfunc),
10597         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10598         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10599         (gst_base_transform_set_property),
10600         (gst_base_transform_get_property),
10601         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10602         (gst_base_transform_set_qos_enabled),
10603         (gst_base_transform_is_qos_enabled):
10604         * libs/gst/base/gstbasetransform.h:
10605         Make basetransform virtual method for src events too.
10606         Handle QOS in basetransform.
10607         API: gst_base_transform_update_qos()
10608         API: gst_base_transform_set_qos_enabled()
10609         API: gst_base_transform_is_qos_enabled()
10610
10611 2006-03-13  Wim Taymans  <wim@fluendo.com>
10612
10613         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10614         (gst_base_sink_do_sync):
10615         Small cleanups.
10616         Use QOS debug category.
10617
10618 2006-03-13  Wim Taymans  <wim@fluendo.com>
10619
10620         * plugins/elements/gstqueue.c:
10621         Very small doc update.
10622
10623 2006-03-13  Wim Taymans  <wim@fluendo.com>
10624
10625         * gst/gst_private.h:
10626         * gst/gstinfo.c: (_gst_debug_init):
10627         Added QOS debug category
10628
10629 2006-03-13  Wim Taymans  <wim@fluendo.com>
10630
10631         * docs/gst/gstreamer-sections.txt:
10632         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10633         * gst/gstbin.h:
10634         * gst/gstbus.c: (gst_bus_class_init):
10635         * gst/gstbus.h:
10636         * gst/gstclock.c:
10637         * gst/gstelement.c: (gst_element_set_locked_state):
10638         * gst/gstsegment.c:
10639         Documentation updates.
10640
10641         * gst/gstpipeline.c: (gst_pipeline_get_type),
10642         (gst_pipeline_class_init), (gst_pipeline_init),
10643         (gst_pipeline_dispose), (gst_pipeline_set_property),
10644         (gst_pipeline_get_property), (do_pipeline_seek),
10645         (gst_pipeline_send_event), (gst_pipeline_change_state),
10646         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10647         (gst_pipeline_get_delay):
10648         * gst/gstpipeline.h:
10649         Added methods for setting the delay.
10650         API: gst_pipeline_set_delay()
10651         API: gst_pipeline_get_delay()
10652         Add pipeline debug category
10653         Various cleanups.
10654         Updated docs.
10655         Don't reset stream time when seek failed.
10656
10657 2006-03-13  Wim Taymans  <wim@fluendo.com>
10658
10659         * docs/design/draft-klass.txt:
10660         * docs/design/part-clocks.txt:
10661         * docs/design/part-events.txt:
10662         * docs/design/part-gstbin.txt:
10663         * docs/design/part-gstpipeline.txt:
10664         * docs/design/part-messages.txt:
10665         * docs/design/part-negotiation.txt:
10666         * docs/design/part-overview.txt:
10667         * docs/design/part-preroll.txt:
10668         * docs/design/part-seeking.txt:
10669         * docs/design/part-states.txt:
10670         * docs/design/part-streams.txt:
10671         Documentation updates.
10672
10673 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10674
10675         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10676         us to leak strings...
10677
10678 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10679
10680         * libs/gst/net/gstnettimeprovider.c:
10681           fix docs
10682         * win32/common/config.h:
10683           update
10684
10685 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10686
10687         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10688
10689         * configure.ac:
10690           Don't check for libgnomeui (leftover from old examples
10691           that aren't built or disted any longer) (#334303).
10692           
10693 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10694
10695         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10696         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10697           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10698           there's no space left on the device.
10699
10700 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10701
10702         * gst/gstclock.h:
10703           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10704           to cast the input to GstClockTime before comparing with
10705           another GstClockTime value.
10706
10707 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10708
10709         * configure.ac:
10710           back to trunk
10711
10712 === release 0.10.4 ===
10713
10714 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10715
10716         * configure.ac:
10717           releasing 0.10.4, "Light"
10718
10719 2006-03-10  Michael Smith  <msmith@fluendo.com>
10720
10721         * libs/gst/dataprotocol/dataprotocol.c:
10722           Fix docs for dataprocotol to not get the return types completely
10723           wrong for a few functions.
10724
10725 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10726
10727         * docs/gst/gstreamer-sections.txt:
10728         * gst/gstpipeline.c: (gst_pipeline_class_init),
10729         (gst_pipeline_init), (gst_pipeline_set_property),
10730         (gst_pipeline_get_property), (gst_pipeline_change_state),
10731         (gst_pipeline_set_auto_flush_bus),
10732         (gst_pipeline_get_auto_flush_bus):
10733         * gst/gstpipeline.h:
10734           Add new API: gst_pipeline_set_auto_flush_bus() and
10735           gst_pipeline_get_auto_flush_bus() to disable automatic
10736           flushing of the pipeline's GstBus when going from READY
10737           to NULL state (#332045).
10738
10739 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10740
10741         * docs/gst/gstreamer-sections.txt:
10742         * gst/gsturi.c: (gst_uri_has_protocol):
10743         * gst/gsturi.h:
10744            Add new API: gst_uri_has_protocol() (#333779).
10745
10746 2006-03-09  Wim Taymans  <wim@fluendo.com>
10747
10748         * gst/gstclock.c: (gst_clock_entry_new),
10749         (gst_clock_id_compare_func), (gst_clock_id_wait),
10750         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10751         (gst_clock_init), (gst_clock_get_internal_time),
10752         (gst_clock_set_master), (do_linear_regression),
10753         (gst_clock_add_observation), (gst_clock_set_property):
10754         * gst/gstclock.h:
10755         Review docs.
10756         Small cleanups.
10757         Fix a possible segfault when the window-size is made smaller.
10758         Calculate jitter before performing the clock wait. Ideally
10759         the clock implementation should calculate jitter but we need
10760         API breakage for that.
10761
10762         * gst/gstsystemclock.c: (gst_system_clock_init):
10763         Docs review.
10764         
10765         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10766         Remove leftover else
10767
10768         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10769         (gst_systemclock_suite):
10770         Added check to test GST_CLOCK_DIFF.
10771
10772 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10773
10774         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10775         (gst_type_find_helper_get_range):
10776           If we are provided with the size, we should implement
10777           GstTypeFind::get_length, so that typefind functions who
10778           want to can actually peek at the middle of a file.
10779
10780 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10781
10782         * docs/manual/advanced-dataaccess.xml:
10783           Add some very very basic error checking.
10784
10785         * docs/pwg/appendix-checklist.xml:
10786           Some updates to the list of things to check when writing an element.
10787
10788 2006-03-08  Wim Taymans  <wim@fluendo.com>
10789
10790         * docs/design/part-element-transform.txt:
10791         Added some docs about the design of tranform elements.
10792
10793         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10794         (gst_base_src_loop), (gst_base_src_change_state):
10795         Mark buffers with the DISCONT flag.
10796
10797 2006-03-08  Michael Smith  <msmith@fluendo.com>
10798
10799         * gst/gstregistry.h:
10800         * gst/gstregistryxml.c: (gst_registry_save),
10801         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10802         (gst_registry_xml_save_pad_template),
10803         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10804         (gst_registry_xml_write_cache):
10805           Rewrite registry-saving to avoid race conditions and check for
10806           failed writes.
10807
10808 2006-03-08  Wim Taymans  <wim@fluendo.com>
10809
10810         * libs/gst/base/gstbasetransform.c:
10811         (gst_base_transform_transform_caps),
10812         (gst_base_transform_transform_size),
10813         (gst_base_transform_prepare_output_buffer),
10814         (gst_base_transform_get_unit_size),
10815         (gst_base_transform_buffer_alloc),
10816         (gst_base_transform_handle_buffer),
10817         (gst_base_transform_change_state):
10818         Cleanups, separate normal flow from errors, add sensible
10819         DEBUG lines.
10820         Don't try to renegotiate when allocating an output buffer.
10821         Also copy DISCONT buffer flag when copying a buffer.
10822         Reset the transform after we finish streaming, not during.
10823
10824 2006-03-08  Wim Taymans  <wim@fluendo.com>
10825
10826         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10827         Use last buffer timestamp in qos message.
10828
10829 2006-03-07  Wim Taymans  <wim@fluendo.com>
10830
10831         Patch by: Christophe Fergeau
10832
10833         * docs/pwg/advanced-tagging.xml:
10834         * docs/pwg/building-pads.xml:
10835           fixes #333416
10836
10837 2006-03-07  Wim Taymans  <wim@fluendo.com>
10838
10839         * docs/libs/gstreamer-libs-sections.txt:
10840         Added basesink new methods.
10841
10842         * gst/gstevent.c:
10843         * gst/gstevent.h:
10844         Docs updates. Flesh out the QoS docs.
10845
10846         * libs/gst/base/gstadapter.c:
10847         Small doc clarification about ownership and flushing.
10848
10849         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10850         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10851         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10852         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10853         * libs/gst/base/gstbasesink.h:
10854         API additions: 
10855         Added new methods to allow subclass to control max-lateness 
10856         and sync.
10857         Generate very basic QoS events based on last sync observation.
10858         Updated docs, fix typo, added some QoS blurb.
10859
10860         * libs/gst/base/gstbasesrc.c:
10861         Remove obsolete _get_state() calls from docs.
10862
10863 2006-03-07  Wim Taymans  <wim@fluendo.com>
10864
10865         * docs/libs/gstreamer-libs-sections.txt:
10866         * libs/gst/base/gstbasetransform.h:
10867         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10868         Fix docs for GstBaseSrc.
10869
10870 2006-03-07  Wim Taymans  <wim@fluendo.com>
10871
10872         * docs/gst/gstreamer-sections.txt:
10873         * gst/gstbuffer.h:
10874         * gst/gstvalue.c:
10875         * libs/gst/base/gstbasetransform.h:
10876         Small documentation fixes.
10877
10878 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * gst/gstvalue.c:
10881           Document thread-unsafety of gst_value_register_foo_func()
10882           when used at the same time as gst_value_foo() (#322628).
10883
10884 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10885
10886         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10887         (gst_push_src_check_get_range):
10888           Push sources don't support pull mode by default.
10889
10890 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10891
10892         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10893         (gst_base_src_init), (gst_base_src_pad_check_get_range),
10894         (gst_base_src_default_check_get_range):
10895         * libs/gst/base/gstbasesrc.h:
10896           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10897           provide default implementation, and rename
10898           gst_base_src_check_get_range() to
10899           gst_base_src_pad_check_get_range() for clarity.
10900
10901 2006-03-06  Wim Taymans  <wim@fluendo.com>
10902
10903         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10904         Make property overridable.
10905
10906 2006-03-06  Wim Taymans  <wim@fluendo.com>
10907
10908         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10909         (gst_base_sink_init), (gst_base_sink_set_property),
10910         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10911         * libs/gst/base/gstbasesink.h:
10912         API addition: Make max-lateness a property.
10913
10914 2006-03-06  Wim Taymans  <wim@fluendo.com>
10915
10916         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10917         (gst_base_sink_do_sync), (gst_base_sink_render_object):
10918         Don't ever draw a frame that is >10ms late.
10919
10920 2006-03-06  Michael Smith  <msmith@fluendo.com>
10921
10922         * gst/gstmessage.c: (_gst_message_copy):
10923           When copying a message, set the parent_refcount of the enclosed
10924           structure to point at the copy, not the original message.
10925
10926 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10927
10928         Patch by: Christophe Fergeau
10929
10930         * gst/gstutils.h:
10931           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10932           usable in c++ code (#333417)
10933
10934 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10935
10936         * gst/gstclock.h:
10937           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10938
10939 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
10940
10941         * libs/gst/base/gstbasetransform.c:
10942         (gst_base_transform_transform_caps):
10943           Make sure caps are writable before passing them to
10944           gst_caps_append().
10945
10946 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * gst/gsterror.h:
10949           Fix some minor docs errors.
10950
10951 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10952
10953           Patch by: Ross Burton <ross at burtonini dot com>
10954
10955         * gst/gsterror.c: (_gst_resource_errors_init):
10956         * gst/gsterror.h:
10957           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10958
10959 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10960
10961         * gst/gst.c:
10962         Add a check and output a g_warning when GStreamer is built
10963         against GLib 2.6 but running against 2.8 or higher, and vice 
10964         versa. (Closes: #323542)
10965
10966 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10967
10968         * gst/parse/parse.l:
10969           Commit patch for parse_launch syntax from #331255. Removes 
10970           support for quoted strings and mimetypes when writing filtered 
10971           caps. See the bug report for more details - I'm pretty sure this
10972           obscure feature is not in use by _anyone_ anywhere.
10973
10974           With this simple change, the size of the gstreamer.so here 
10975           drops from 2193KB to 1565KB.
10976
10977 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10978
10979         * plugins/elements/gsttypefindelement.h:
10980         * plugins/elements/gsttypefindelement.c:
10981         (gst_type_find_element_src_event), (start_typefinding),
10982         (stop_typefinding), (gst_type_find_element_handle_event),
10983         (gst_type_find_element_chain),
10984         (gst_type_find_element_chain_do_typefinding):
10985           Use gst_type_find_helper_for_buffer() for chain-based
10986           typefinding.
10987
10988 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10989
10990         * plugins/elements/gsttypefindelement.c:
10991         (gst_type_find_element_class_init),
10992         (gst_type_find_element_set_property),
10993         (gst_type_find_element_get_property):
10994           Deprecate "maximum" property (not only was it only taken into
10995           account for typefinding in push-mode anyway, it also was never
10996           actually possible to set it in the first place because the
10997           property was registered with the numeric property ID for the
10998           "minimum" property). Register "maximum" property correctly,
10999           for the sake of future copy'n'pasters. Remove some cruft
11000           from property get/set functions.
11001
11002 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11003
11004         * plugins/elements/gsttypefindelement.c:
11005         (gst_type_find_element_activate):
11006           Use gst_type_find_helper_get_range() here, so we
11007           can honour the "minimum" property and also emit
11008           the signal with the correct probability of the found caps.
11009
11010 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11011
11012         * docs/libs/gstreamer-libs-sections.txt:
11013         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11014         (helper_find_suggest), (gst_type_find_helper_get_range),
11015         (gst_type_find_helper):
11016         * libs/gst/base/gsttypefindhelper.h:
11017           New API: gst_type_find_helper_get_range() (#333042).
11018
11019 2006-03-02  Michael Smith  <msmith@fluendo.com>
11020
11021         * gst/gstregistryxml.c: (load_feature):
11022           Asserting on a failure to read part of the registry is Not Cool.
11023           Just log a warning and return NULL (which is already handled)
11024
11025 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11026
11027         * win32/common/libgstbase.def:
11028           added export of gst_type_find_helper_for_buffer
11029         * win32/common/libgstbase.def:
11030           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11031           gst_ghost_pad_get_target
11032
11033 2006-02-28  Wim Taymans  <wim@fluendo.com>
11034
11035         * docs/design/draft-klass.txt:
11036         We use Filter now.
11037         Added Connector to mark elements that are only used to
11038         allow pipeline connections.
11039         Moved Debug to extra feature since most of them are 
11040         functionally something else.
11041
11042 2006-02-28  Wim Taymans  <wim@fluendo.com>
11043
11044         * docs/design/draft-klass.txt:
11045         Some updates and clarifications.
11046
11047 2006-02-28  Wim Taymans  <wim@fluendo.com>
11048
11049         * docs/design/draft-klass.txt:
11050         Proposal for klass field values.
11051
11052         * docs/design/part-streams.txt:
11053         Start of a doc describing stream anatomy.
11054
11055 2006-02-28  Wim Taymans  <wim@fluendo.com>
11056
11057         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11058         Help the compiler a bit with type registration.
11059         Use existing forward cod path instead of duplicating it when 
11060         handling a message.
11061         
11062         * gst/gstbus.c: (gst_bus_get_type):
11063         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11064         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11065         * gst/gstclock.c: (gst_clock_get_type):
11066         * gst/gstelement.c: (gst_element_get_type),
11067         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11068         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11069         * gst/gstminiobject.c: (gst_mini_object_get_type):
11070         * gst/gstpad.c: (gst_pad_get_type):
11071         * gst/gstsegment.c: (gst_segment_get_type):
11072         * gst/gststructure.c: (gst_structure_get_type):
11073         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11074         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11075         * gst/gstvalue.c:
11076         Help compiler with type registration.
11077
11078         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11079         Small doc update.
11080
11081 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11082
11083         * plugins/elements/gsttypefindelement.c:
11084         (gst_type_find_element_handle_event):
11085           When we get an EOS event and have not found a type yet
11086           (most likely because we had not yet accumulated
11087           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11088           type given the data we have so far. Fixes typefinding
11089           for very short streams again, most notably quicktime
11090           redirections as used on Apple's trailer site (#331701).
11091
11092 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11093
11094         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11095         (gst_type_find_helper):
11096           Try typefinding factories with the highest rank first.
11097
11098 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11099
11100         * docs/libs/gstreamer-libs-docs.sgml:
11101         * docs/libs/gstreamer-libs-sections.txt:
11102         * libs/gst/base/gsttypefindhelper.c:
11103           Add section for typefind helper and add documentation
11104           for the old and the new function.
11105
11106 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11107
11108         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11109         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11110         (gst_type_find_helper_for_buffer):
11111         * libs/gst/base/gsttypefindhelper.h:
11112           New API: gst_type_find_helper_for_buffer() (#332723).
11113           
11114 2006-02-27  Michael Smith  <msmith@fluendo.com>
11115
11116         Patch by: Loïc Minier
11117
11118         * configure.ac:
11119         * docs/Makefile.am:
11120         * docs/slides/Makefile.am:
11121           prevent CVS directories getting disted.
11122
11123 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11124
11125         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11126           Use the REFCOUNTING category for caps refcounting.
11127           
11128 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11129
11130         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11131           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11132
11133 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11134
11135         * plugins/elements/gsttypefindelement.c:
11136         (gst_type_find_element_activate):
11137           Use gst_pad_check_pull_range() before _activate_pull()
11138           to avoid unnecessary open/close (see #331690).
11139
11140 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11141
11142         * gst/gstutils.c:
11143           Docs enhancement: make it crystal clear what the
11144           gst_pad_add_*_probe() callbacks should look like.
11145
11146 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11147
11148         * libs/gst/base/gstbasesrc.c:
11149           Document how applications can stop recording from
11150           live sources (see #330996).
11151
11152 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11153
11154         * tests/check/Makefile.am:
11155         * tests/check/libs/basesrc.c: (eos_event_counter),
11156         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11157         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11158         (gst_basesrc_suite), (main):
11159           ... and add some tests for the base source EOS stuff.
11160
11161 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11164           Test case originally showed the problem fixed below,
11165           but was then amended. Add checks back at the place
11166           where they used to be.
11167
11168 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11169
11170         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11171         (gst_base_src_init), (gst_base_src_loop),
11172         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11173         (gst_base_src_change_state):
11174         * libs/gst/base/gstbasesrc.h:
11175           Don't unconditionally send EOS when going from PAUSED to
11176           READY state, esp. make sure we don't send two EOS events
11177           in some cases (e.g. one when reaching EOS and one when
11178           going from PAUSED to READY). Also, we don't want to send
11179           EOS events when operating in pull mode. However, we do
11180           want to send an EOS event when shutting down a live
11181           source explicitly, for example (fixes #330996).
11182           
11183 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11184
11185         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11186           Update src->read_position after a seek when not using mmap.
11187           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11188
11189 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11190
11191         * gst/Makefile.am:
11192         * gst/gstparse.h:
11193         * gst/gstutils.c:
11194         * gst/gstutils.h:
11195         Make things work with --disable-parse as they do with 
11196         --disable-load-save - the symbols involved disappear, but the
11197         header is still installed and GST_DISABLE_PARSE is included via
11198         gstconfig.h
11199
11200 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11201
11202         * libs/gst/base/gstbasetransform.c:
11203         (gst_base_transform_change_state): Fix a stupid bug. I was 
11204         sure I compiled that.
11205
11206 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11207
11208         * gst/gstpad.c: (gst_pad_set_blocked_async):
11209         * gst/gstutils.c: (gst_pad_add_data_probe),
11210         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11211         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11212         (gst_pad_remove_buffer_probe): Make those function act on the
11213         ghostpad target when it's a ghostpad. (Closes #331727)
11214
11215 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11216
11217         * libs/gst/base/gstbasetransform.c:
11218         (gst_base_transform_change_state): Make basetransform reusable.
11219         (Closes #331898)
11220
11221 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11222
11223         * docs/random/release:
11224         Move the current documentation of how to do a release to the top
11225         of the file.
11226
11227         * gst/gstbin.c: (gst_bin_class_init),
11228         (gst_bin_handle_message_func):
11229         Allow multiple state-recalculation threads. (Closes #328873)
11230
11231 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11232
11233         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11234         * gst/gstpad.c: (gst_pad_set_event_function),
11235         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11236         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11237         2 strings. You can't use the STR_NULL macro on that.
11238
11239 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11240
11241         * gst/gstpad.c: (gst_pad_set_event_function),
11242         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11243         (gst_pad_set_getcaps_function)
11244         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11245           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11246           So now, we can use --gst-debug-level=5 on Windows
11247         * win32/common/libgstcontroller.def:
11248           Added export of gst_controller_init
11249         * win32/vs6/libgstcontroller.dsp:
11250           Fixed Release post build configuration
11251
11252 2006-02-17  Wim Taymans  <wim@fluendo.com>
11253
11254         * tests/check/gst/gstquery.c: (GST_START_TEST):
11255         Added another check.
11256
11257 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11258
11259         * plugins/elements/gsttypefindelement.c: (find_peek):
11260           We can do peeks at non-zero offsets, as long as they
11261           fall within the buffer we have.
11262
11263 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11264
11265         * tests/check/Makefile.am:
11266         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11267         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11268         (parse_suite), (main):
11269           Add testsuite for parse launch syntax
11270
11271 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * plugins/elements/gsttypefindelement.c:
11274         (gst_type_find_element_chain):
11275           When typefinding is unsuccessful in the chain function, don't
11276           error out immediately. Only error out with NO_CAPS_FOUND if
11277           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11278           otherwise simply wait for more data so we can try typefinding
11279           again with more data later. Also, don't attempt to typefind
11280           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11281           this should improve typefinding from network sources where the
11282           size of the first buffer can be somewhat random.
11283
11284 2006-02-14  Wim Taymans  <wim@fluendo.com>
11285
11286         * docs/gst/gstreamer-sections.txt:
11287         * gst/gstpadtemplate.c:
11288         * gst/gstpadtemplate.h:
11289         Fix padtemplate docs, fixes #328805.
11290
11291 2006-02-14  Wim Taymans  <wim@fluendo.com>
11292
11293         * tools/gst-launch.c: (main):
11294         NO_PREROLL is not an ERROR so don't send confusing messages
11295         to the user.
11296
11297 2006-02-14  Wim Taymans  <wim@fluendo.com>
11298
11299         Patch by: Torsten Schoenfeld
11300
11301         * gst/gstregistry.c: (gst_registry_get_default),
11302         (_gst_registry_cleanup):
11303         Protect default registry with lock and ref/sink it.
11304         Fixes #324818
11305
11306 2006-02-14  Wim Taymans  <wim@fluendo.com>
11307
11308         * gst/gstbuffer.c:
11309         * gst/gstquery.c: (gst_query_list_add_format),
11310         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11311         (gst_query_parse_formats_nth):
11312         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11313         Docs fixes.
11314
11315 2006-02-14  Wim Taymans  <wim@fluendo.com>
11316
11317         * docs/gst/gstreamer-sections.txt:
11318         Reworked query docs.
11319
11320         * gst/gstquery.c: (gst_query_new_formats),
11321         (gst_query_list_add_format), (gst_query_set_formats),
11322         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11323         (gst_query_parse_formats_nth):
11324         * gst/gstquery.h:
11325         Flesh out formats query, added some new methods.
11326         Fix part of #324398.
11327
11328         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11329         Added query creation tests.
11330
11331 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11332
11333         * gst/gstpad.c: (fixate_value):
11334         Add a default fixation for fraction lists.
11335
11336 2006-02-13  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11339         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11340         (gst_task_join):
11341         * gst/gsttask.h:
11342         Detect and warn for obvious deadlocks. fixes #320340
11343         Fix error case where lock was not released.
11344
11345         * tests/check/Makefile.am:
11346         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11347         (task_func), (gst_element_suite), (main):
11348         Add task check.
11349
11350 2006-02-13  Wim Taymans  <wim@fluendo.com>
11351
11352         * docs/gst/gstreamer-sections.txt:
11353         * gst/gstbus.c:
11354         Add new functions to docs.
11355
11356 2006-02-13  Wim Taymans  <wim@fluendo.com>
11357
11358         * docs/design/part-TODO.txt:
11359         Updated TODO list, basesrc supports seeking to non-bytes
11360         formats.
11361
11362         * docs/design/part-element-sink.txt:
11363         Update docs.
11364
11365         * gst/gstbin.c: (bin_replace_message),
11366         (gst_bin_handle_message_func):
11367         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11368         * gst/gstevent.c: (gst_event_finalize):
11369         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11370         (gst_pad_send_event):
11371         Use shiny new _TYPE_NAME macros.
11372
11373         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11374         Move debug statement up.
11375
11376         * gst/gstelement.c: (gst_element_set_locked_state):
11377         Add some debugging.
11378
11379 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11380
11381         * docs/gst/gstreamer-sections.txt:
11382         * gst/gstmessage.h:
11383         * gst/gstquery.h:
11384           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11385           macros (#330906). Also, document the already existing
11386           GST_QUERY_TYPE macro.
11387
11388 2006-02-13  Wim Taymans  <wim@fluendo.com>
11389
11390         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11391         (event_probe), (GST_START_TEST):
11392         Only events up to the pipeline EOS are counted, there are
11393         some more when going to NULL currently which we don't care
11394         about for now.
11395
11396 2006-02-13  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/gstpad.c: (gst_pad_send_event):
11399         Correctly check flushing and emit probes. fixes #330125
11400
11401 2006-02-10  Andy Wingo  <wingo@pobox.com>
11402
11403         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11404         structure.
11405         (gst_bus_init): Cache the location of the private data in the
11406         instance structure.
11407         (gst_bus_enable_sync_message_emission) 
11408         (gst_bus_disable_sync_message_emission): Implement new public
11409         functions.
11410         (gst_bus_post): Emit the sync-message signal if the user asked for
11411         it. Fixes #330684.
11412
11413         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11414         location of the bus-private structure.
11415         (gst_bus_enable_sync_message_emission)
11416         (gst_bus_disable_sync_message_emission): API addition
11417
11418 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11419
11420         Patch by: Vincent Torri
11421
11422         * docs/pwg/building-boiler.xml:
11423         PWG patch from #326800
11424
11425 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         * configure.ac:
11428         * docs/Makefile.am:
11429         * docs/design/Makefile.am:
11430           Dist design docs.
11431
11432 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11433
11434         * configure.ac:
11435           back to CVS
11436
11437 === release 0.10.3 ===
11438
11439 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11440
11441         * configure.ac:
11442           releasing 0.10.3, "Like a virgin"
11443
11444 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11445
11446         * configure.ac:
11447           2nd prerelease of 0.10.3
11448           Bump libtool versioning.
11449
11450 2006-02-07  Andy Wingo  <wingo@pobox.com>
11451
11452         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11453         update last_stop if we're in TIME format and the timestamp is
11454         valid.
11455
11456         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11457         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11458         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11459         If we get a new newsegment with a different format, adapt
11460         accordingly.
11461
11462         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11463         of 0. Not a problem, really.
11464
11465         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11466         warn if sync=true.
11467
11468 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11469
11470         * configure.ac:
11471           Prelease of 0.10.3
11472
11473 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11474
11475         * win32/vs7:
11476           project files updated to the default vs7 configuration
11477         * win32/common/libgstbase.def:
11478         * win32/common/libgstreamer.def:
11479           added new symbols,
11480           removed empty lines,
11481           sorted all exported symbols alphabetically
11482         * win32/common/dirent.c:
11483         * win32/common/dirent.h:
11484         * win32/common/gchar.h:
11485           use windows line end.
11486           
11487 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11488
11489         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11490           Send EOS event when stopping.
11491
11492 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11493
11494         * docs/README:
11495           Tell folks what to do if the plugin-foobar.xml file
11496           hasn't been generated for a newly-added plugin.
11497
11498 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11499
11500         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11501         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11502         (gst_collect_pads_start), (gst_collect_pads_stop),
11503         (gst_collect_pads_event): Collectpads now holds a reference
11504         to the GstPad that was added. Indeed we don't want to look
11505         at pads that might just go away with no warning...
11506
11507 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11508
11509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11510         (gst_collect_pads_start), (gst_collect_pads_stop),
11511         (gst_collect_pads_event), (gst_collect_pads_chain):
11512         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11513         Mark Nauwelaerts's patch on bug #328491.
11514
11515 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11516
11517         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11518         (gst_utils_suite):
11519           Add some simple tests for gst_parse_bin_from_description() and
11520           gst_bin_find_unconnected_pad() (#329069).
11521
11522 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11523
11524         * tools/gst-launch.c: (event_loop), (main):
11525           Catch errors during preroll (#320084).
11526
11527 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11528
11529         * plugins/elements/gsttypefindelement.c:
11530         (gst_type_find_element_activate):
11531           Post TYPE_NOT_FOUND error message when typefinding
11532           is unsuccessful in the activate function as well.
11533
11534 2006-02-02  Wim Taymans  <wim@fluendo.com>
11535
11536         * docs/design/part-element-sink.txt:
11537         Updated doc.
11538
11539 2006-02-02  Wim Taymans  <wim@fluendo.com>
11540
11541         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11542         (gst_base_sink_render_object),
11543         (gst_base_sink_queue_object_unlocked):
11544         Only keep track of prerollable items when we are 
11545         prerolling.
11546         Before rendering after preroll, always check if we
11547         have queued items.
11548         Added some more debugging.
11549
11550 2006-02-02  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstelement.c: (gst_element_continue_state),
11553         (gst_element_set_state_func), (gst_element_change_state):
11554         Fixed #326576, been running this for quite some time with
11555         no regressions at all.
11556
11557 2006-02-02  Wim Taymans  <wim@fluendo.com>
11558
11559         * common/gst.supp:
11560         Added more suppressions
11561
11562 2006-02-02  Wim Taymans  <wim@fluendo.com>
11563
11564         * docs/design/part-element-sink.txt:
11565         Updated document.
11566
11567         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11568         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11569         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11570         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11571         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11572         (gst_base_sink_preroll_object),
11573         (gst_base_sink_queue_object_unlocked),
11574         (gst_base_sink_queue_object), (gst_base_sink_event),
11575         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11576         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11577         (gst_base_sink_get_position), (gst_base_sink_change_state):
11578         * libs/gst/base/gstbasesink.h:
11579         Totally refactored matching the design doc.
11580         Use two segments, one to clip incomming buffers and another to
11581         perform sync.
11582         Handle queueing correctly, bypass the queue when playing.
11583         Make EOS cancelable.
11584         Handle errors correctly when operating in pull based mode.
11585
11586         * tests/check/elements/fakesink.c: (GST_START_TEST),
11587         (fakesink_suite):
11588         Added new check for sinks.
11589
11590 2006-02-02  Wim Taymans  <wim@fluendo.com>
11591
11592         * gst/gstsegment.c: (gst_segment_clip):
11593         No reason to refuse to clip when start == -1
11594
11595 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11596
11597         * docs/README:
11598         * docs/manual/intro-basics.xml:
11599         * docs/manual/intro-preface.xml:
11600         * docs/manual/manual.xml:
11601         * docs/pwg/advanced-dparams.xml:
11602         * docs/pwg/intro-basics.xml:
11603         * docs/pwg/intro-preface.xml:
11604         * docs/pwg/pwg.xml:
11605           describe dparams (controller) for plugins
11606           unify docs a little more
11607
11608 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11609
11610         * docs/gst/gstreamer-sections.txt:
11611         * gst/gstutils.c: (element_find_unconnected_pad),
11612         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11613         * gst/gstutils.h:
11614           Add new API: gst_parse_bin_from_description() and
11615           gst_bin_find_unconnected_pad() (#329069).
11616
11617 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11618
11619         * docs/manual/README:
11620           uncover a nasty detail of the docs build
11621
11622 2006-01-31  Wim Taymans  <wim@fluendo.com>
11623
11624         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11625         Don't cache duration messages if we're not going to use or
11626         free them.
11627
11628 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11629
11630         * docs/manual/advanced-dparams.xml:
11631         * docs/pwg/advanced-dparams.xml:
11632           more dparam docs
11633         * gst/gstindex.c:
11634           fix docs
11635         * libs/gst/controller/lib.c: (gst_controller_init):
11636           init just once
11637
11638 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11639
11640         * gst/gstelement.c: (gst_element_message_full):
11641           also show file/line/func if no additional debug was given
11642
11643 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11644         
11645         * win32/vs7/grammar.vcproj:
11646           activate copy of autogenerated files for Release mode
11647
11648 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11649         
11650         * win32/common/libgstreamer.def:
11651           export gst_value_compare
11652
11653 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11654
11655         * plugins/elements/Makefile.am:
11656         * plugins/elements/gstelements.c:
11657         * plugins/elements/gstfdsink.c: (_do_init),
11658         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11659         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11660         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11661         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11662         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11663         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11664         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11665         * plugins/elements/gstfdsink.h:
11666         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11667
11668 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11669
11670         * docs/manual/advanced-dparams.xml:
11671           describe controller
11672         * docs/manual/advanced-position.xml:
11673         * docs/manual/basics-init.xml:
11674         * docs/manual/manual.xml:
11675         * docs/manual/titlepage.xml:
11676         * docs/pwg/pwg.xml:
11677         * docs/pwg/titlepage.xml:
11678           cleanup xml (more to come)
11679         * libs/gst/controller/gstcontroller.c:
11680           fix typo
11681
11682 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11683         
11684         * win32/vs6/grammar.dsp:
11685           add autogen of gstmarshal.c,h for Release mode
11686                 
11687 2006-01-30  Wim Taymans  <wim@fluendo.com>
11688
11689         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11690         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11691         (gst_base_sink_handle_object), (gst_base_sink_event),
11692         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11693         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11694         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11695         (gst_base_sink_deactivate), (gst_base_sink_activate),
11696         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11697         (gst_base_sink_query), (gst_base_sink_change_state):
11698         Basesink cleanups, remove some old code.
11699         Handle the case where a subclass can preroll in the render
11700         method (mostly audiosinks).
11701         Handle more events.
11702         Remove some locks around variables that are now protected
11703         with the PREROLL_LOCK (clock_id, flushing, ..).
11704         Optimize position query some more, do correct locking.
11705         Remove old code to push queue in state change, this is not
11706         needed anymore since preroll blocks on all prerollable items 
11707         now.
11708         Almost implemented as described in design doc.
11709
11710 2006-01-30  Wim Taymans  <wim@fluendo.com>
11711
11712         * tests/check/gst/gstbin.c: (GST_START_TEST):
11713         Wait for refcount to settle down before checking.
11714
11715 2006-01-30  Wim Taymans  <wim@fluendo.com>
11716
11717         * docs/design/part-element-sink.txt:
11718         Pseudo code overview of desired sink behaviour regarding
11719         preroll.
11720
11721 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11722         * win32/vs6/grammar.dsp:
11723           fix some bugs in Release mode for autogenerated files
11724                 
11725 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11726         * win32/common/libgstbase.def:
11727         * win32/common/libgstreamer.def:
11728           export some new symbols: gst_base_src_set_format,
11729           gst_iterator_next, gst_structure_set_valist
11730
11731 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11732
11733         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11734         Set pad functions unconditionally. Fixes #329105.
11735
11736 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11737         * win32/vs8:
11738           add vs8 project files created by Sergey Scobich
11739
11740 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11741
11742         * gst/gstutils.c: (gst_element_unlink_pads):
11743         Don't leak pad references.
11744
11745         * tests/check/elements/fakesink.c: (GST_START_TEST):
11746         * tests/check/generic/sinks.c: (GST_START_TEST):
11747         * tests/check/generic/states.c: (GST_START_TEST):
11748         * tests/check/gst/gstbin.c: (GST_START_TEST):
11749         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11750         * tests/check/gst/gstelement.c: (GST_START_TEST):
11751         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11752         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11753         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11754         Fix a bunch of leaks. Make generic/sinks.c
11755         use a bit less cpu by slowing the buffer rate
11756         between fakesrc and fakesink.
11757         
11758 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11759         * gst/gstcaps.c:
11760         * gst/gstelement.c: (gst_element_send_event):
11761         * gst/gstevent.c:
11762         * gst/gstinfo.c:
11763         * gst/gstiterator.c:
11764         * gst/gstiterator.h:
11765         * gst/gstpad.c: (gst_pad_send_event):
11766         * gst/gststructure.c:
11767         * gst/gsturi.c:
11768         * gst/gstutils.c:
11769         * gst/gstvalue.c:
11770         * libs/gst/base/gstadapter.c:
11771           doc fixes, to link to function, just write gst_cool_function(), don't
11772           prefix with '#'
11773
11774 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11775
11776         * plugins/elements/gsttee.c: (gst_tee_do_push),
11777         (gst_tee_handle_buffer):
11778         Always prefer an actual return value from a src
11779         pad in place of NOT_LINKED. This means we return
11780         WRONG_STATE when all src pads are WRONG_STATE
11781         instead of NOT_LINKED.
11782
11783         Lock when replacing the last message to prevent
11784         racing with the get_property method.
11785
11786         Add debug output
11787
11788 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11789
11790         * tests/check/Makefile.am:
11791         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11792         (main):
11793         Add a very simple check that should have caught the memleak I fixed
11794         last night (if not for the slice allocator hiding it)
11795
11796 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11797
11798         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11799         (gst_bin_remove_func), (gst_bin_handle_message_func),
11800         (bin_query_duration_fold), (bin_query_generic_fold):
11801         Clean up references to the clock provider when disposed or when
11802         handling a clock-lost message from it.
11803
11804         Unref sinks when performing a query via gst_iterator_fold, as the
11805         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11806
11807         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11808         (gst_clock_set_master):
11809         Drop our reference to the master clock, if any, when we are disposed.
11810
11811         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11812         Chain up in dispose. 
11813
11814 2006-01-26  Wim Taymans  <wim@fluendo.com>
11815
11816         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11817         Add some debugging.
11818
11819 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11820
11821         * plugins/elements/gsttee.c: (gst_tee_do_push),
11822         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11823         handles pad being NOT_LINKED or in WRONG_STATE.
11824
11825 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11826
11827         * win32/MANIFEST:
11828           more updating
11829
11830 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11831
11832         * win32/MANIFEST:
11833           remove obsolete entry
11834
11835 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11836
11837         * docs/gst/gstreamer-sections.txt:
11838         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11839         (gst_bin_iterate_sources), (gst_bin_send_event):
11840         * gst/gstbin.h:
11841         * gst/gstelement.c: (gst_element_send_event):
11842         * gst/gstevent.c:
11843         * gst/gstpad.c: (gst_pad_send_event):
11844           added code for downstream events, reviewed docs in gstevent.c
11845
11846 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11847
11848         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11849         We only query position using the clock in the playing state.
11850         Query peer in the other cases.
11851         * win32/common/config.h: Updates.
11852
11853 2006-01-24  Wim Taymans  <wim@fluendo.com>
11854
11855         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11856         A clock entry that is scheduled for the exact time of the
11857         clock is still in time.
11858
11859         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11860         (gst_base_sink_do_sync):
11861         Add some more debug info.
11862
11863 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11864
11865         * win32/vs7:
11866           Add new vs7 project files and solution.
11867
11868 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11869
11870         * win32/vs7:
11871           all files removed as they were out-dated.
11872
11873 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11874
11875         * docs/random/release:
11876           update notes
11877         * gst/gstbin.c: (gst_bin_init):
11878         * gst/gstbus.c: (gst_bus_new):
11879         * gst/gstbus.h:
11880         * gst/gstpipeline.c: (gst_pipeline_init):
11881           use gst_bus_new(), improve logging, fix docs
11882         * win32/common/config.h:
11883           update for cvs build
11884
11885 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11886
11887         * autogen.sh:
11888           up required version of automake to 1.7
11889
11890 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
11891
11892         * win32/common/libgstreamer.def:
11893           export gst_buffer_is_metadata_writable
11894
11895 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
11896
11897         * docs/gst/gstreamer-sections.txt:
11898         * gst/gstevent.h:
11899           Add gst_event_replace() (#327001)
11900
11901 2006-01-20  Wim Taymans  <wim@fluendo.com>
11902
11903         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11904         Make it actually compile too..
11905
11906 2006-01-20  Wim Taymans  <wim@fluendo.com>
11907
11908         * gst/gstcaps.c:
11909         Clarify behaviour of _is_equal() when passing NULL parameters.
11910
11911         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11912         (gst_pad_set_caps):
11913         Cleanups. Don't unref NULL caps.
11914         When setting the same caps, protect caps of the pad with
11915         proper lock.
11916         Use full functionality of _is_equal() when comparing caps.
11917
11918 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11919
11920         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11921         Don't loop infinitely if there are no buffers to present. Partially
11922         fixes #327197, but collectpads is just broken for reusing elements
11923         to do multiple encodes atm.
11924
11925 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11926
11927         * tools/gst-inspect.c: (print_element_features):
11928         * tools/gst-xmlinspect.c: (main):
11929         URL_HANDLER is not a plugin feature we can search for in
11930         the registry.
11931
11932 2006-01-19  Edward Hervey  <edward@fluendo.com>
11933
11934         * gst/gstelement.c: (gst_element_pads_activate): 
11935         When activating, do src pads first, then sink pads.
11936         When de-activating, do sink pads first, then src pads.
11937
11938 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11939
11940         * docs/gst/gstreamer-sections.txt:
11941         Add gst_index_add_associationv to the docs
11942
11943 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11944
11945         * gst/gstevent.c:
11946           Fix docs typo
11947
11948         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11949         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11950           Do some refactoring. Doesn't actually change functionality,
11951           but makes landing the DRAIN event easier later.
11952
11953 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
11954
11955         * docs/pwg/advanced-scheduling.xml:
11956           Update from 0.9.x to 0.10 API and make example a bit
11957           clearer.
11958
11959 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11960
11961         * docs/gst/gstreamer-sections.txt:
11962         Add gst_buffer_(is|make)_metadata_writable methods.
11963
11964 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11965
11966         * docs/design/part-sparsestreams.txt:
11967         Update sparse streams doc, hopefully for greater clarity
11968
11969 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
11970
11971         * docs/design/part-events.txt:
11972         Remove mention of FILLER events.
11973         Add DRAIN event.
11974
11975         * docs/design/part-sparsestreams.txt:
11976         Write some things about using NEWSEGMENT to keep sparse streams
11977         flowing.
11978
11979 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11980
11981         * gst/gstbin.c: (gst_bin_dispose):
11982           Guard gst_object_unref call against a NULL object (dispose
11983           can theoretically be called multiple times).
11984           
11985 2006-01-18  Wim Taymans  <wim@fluendo.com>
11986
11987         * gst/gstbin.c: (gst_bin_element_set_state):
11988         * gst/gstclock.c: (gst_clock_id_wait):
11989         Added some more debug info.
11990
11991         * libs/gst/base/gstadapter.c:
11992         Added more docs.
11993
11994         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11995         (gst_base_sink_do_sync), (gst_base_sink_chain):
11996         Added some comments.
11997
11998 2006-01-18  Wim Taymans  <wim@fluendo.com>
11999
12000         * tests/check/Makefile.am:
12001         * tests/check/elements/fakesink.c: (chain_async_buffer),
12002         (chain_async), (chain_async_return), (GST_START_TEST),
12003         (fakesink_suite), (main):
12004         Added fakesink test that checks prerolling and clipping
12005         behaviour.
12006
12007         * tests/check/gst/gstutils.c: (GST_START_TEST):
12008         Make check run faster so that buildbots don't timeout.
12009
12010 2006-01-18  Wim Taymans  <wim@fluendo.com>
12011
12012         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12013         (gst_base_sink_do_sync):
12014         Some cleanups.
12015         When the sink finishes blocking on the preroll buffer, it can
12016         immediatly render it instead of rendering when the next buffer
12017         arrives.
12018
12019 2006-01-18  Wim Taymans  <wim@fluendo.com>
12020
12021         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12022         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12023         (gst_base_sink_chain):
12024         Small cleanups.
12025         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12026         Don't store _last_stop if the buffer is dropped.
12027
12028 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12029
12030         * plugins/elements/gsttypefindelement.c:
12031         (gst_type_find_element_class_init):
12032           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12033           object method handler that sets the caps on the pad and we want
12034           that to happen before we emit the signal (fixes e.g. feeding a
12035           plain text file to decodebin).
12036
12037 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12038
12039         * gst/gstplugin.c: Add MPL and Proprietary as license options
12040
12041 2006-01-18  Andy Wingo  <wingo@pobox.com>
12042
12043         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12044         symbol was exported before, it appears this was just an oversight.
12045         Fixes #168703.
12046         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12047
12048         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12049         prototype to gint. OK since this prototype was not in the header.
12050
12051 2006-01-17  Andy Wingo  <wingo@pobox.com>
12052
12053         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12054         registry while we remove plugins.
12055
12056         * tools/gst-inspect.c (print_element_info): Don't unref the
12057         factory arg, that should be the responsibility of whatever code
12058         received the ref. Fixes a double-free when called from
12059         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12060         (main): Unref the factory if we have one.
12061         (print_element_list): No change -- relies on the
12062         plugin_feature_list_free to free the list of features.
12063
12064 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12065
12066         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12067         (gst_buffer_make_metadata_writable):
12068         * gst/gstbuffer.h:
12069         * libs/gst/base/gstbasetransform.c:
12070         (gst_base_transform_prepare_output_buf):
12071         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12072         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12073           Replace gst_buffer_(make|is)_metadata_writable patch now
12074           that the release is out.
12075
12076 2006-01-17  Andy Wingo  <wingo@pobox.com>
12077
12078         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12079         in the present tense without reference to versions.
12080
12081         * gst/gstregistry.c (gst_registry_add_plugin)
12082         (gst_registry_remove_plugin, gst_registry_remove_feature)
12083         (gst_registry_find_feature, gst_registry_get_feature_list)
12084         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12085         (gst_registry_lookup, gst_registry_scan_path)
12086         (_gst_registry_remove_cache_plugins)
12087         (gst_registry_get_feature_list_by_plugin): Add argument
12088         validation.
12089
12090 === release 0.10.2 ===
12091
12092 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12093
12094         * configure.ac:
12095           releasing 0.10.2, "If man is five"
12096
12097 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12098
12099         * gst/gstbuffer.c:
12100         * gst/gstbuffer.h:
12101         * libs/gst/base/gstbasetransform.c:
12102         (gst_base_transform_prepare_output_buf):
12103         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12104         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12105           Back out patch until after the release.
12106
12107 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12108
12109         * gst/gstminiobject.c:
12110           Spelling fix in docs.
12111         * ChangeLog - remove conflict indicator
12112
12113 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12114
12115         Reviewed By: Andy Wingo
12116
12117         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12118         (gst_buffer_make_metadata_writable):
12119         * gst/gstbuffer.h:
12120           Add gst_buffer_(is|make)_metadata_writable as analogues of
12121           gst_buffer_(is|make)_writable.
12122
12123         * libs/gst/base/gstbasetransform.c:
12124         (gst_base_transform_prepare_output_buf):
12125         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12126           Use name gst_buffer_(is|make)_metadata_writable functions.
12127
12128         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12129           Test gst_buffer_(is|make)_metadata_writable
12130         
12131           (Closes: #324162)
12132
12133 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12134
12135         * docs/manual/Makefile.am:
12136           don't do parallel make
12137         * configure.ac:
12138           AC_SUBST HOST_CPU
12139         * win32/common/config.h.in:
12140           add generations for HOST_CPU and GST_MAJORMINOR
12141         * win32/common/config.h:
12142           commit generated result
12143
12144 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12145
12146         * docs/manual/appendix-integration.xml:
12147           Update GNOME integration section to use gst_init_get_option_group()
12148           instead of the old popt stuff (#322911). Also, GNOME applications
12149           should  now use gconf*sink and gconf*src instead of the old gconf
12150           helper lib we had.
12151
12152 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12153
12154
12155         * docs/gst/gstreamer-docs.sgml:
12156         * docs/gst/gstreamer-sections.txt:
12157         * docs/libs/gstreamer-libs-sections.txt:
12158           add new API entries to the docs
12159         * libs/gst/controller/Makefile.am:
12160         * libs/gst/controller/gstcontroller.c:
12161         * libs/gst/controller/gstcontroller.h:
12162         * libs/gst/controller/gstcontrollerprivate.h:
12163         * libs/gst/controller/gsthelper.c:
12164         * libs/gst/controller/gstinterpolation.c:
12165           move private structs to private header
12166         * po/README:
12167           gstreamer-0.7 -> gstreamer-0.10
12168         * tests/check/libs/struct_i386.h:
12169           remove private structs
12170
12171 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12172
12173         * plugins/indexers/Makefile.am:
12174           Fixes as part of #317048
12175
12176 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12177
12178         * plugins/indexers/Makefile.am:
12179           fix #316086 - compilation when mmap is missing
12180
12181 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12182
12183         * libs/gst/base/gstbasesink.c:
12184           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12185           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12186         * win32/common/config.h:
12187           added some defines GST_MAJORMINOR and HOST_CPU
12188         * win32/common/libgstbase.def:
12189         * win32/common/libgstreamer.def:
12190           added some exported functions.
12191
12192 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12193
12194         * libs/gst/controller/gstcontroller.c:
12195         (gst_controlled_property_set_interpolation_mode),
12196         (gst_controlled_property_new):
12197         * libs/gst/controller/gstcontroller.h:
12198         * libs/gst/controller/gstinterpolation.c:
12199         (interpolate_none_get_string_value_array):
12200           make G_TYPE_STRING controlable
12201
12202 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12203
12204         * tools/README:
12205         * tools/gst-feedback.1.in:
12206         * tools/gst-inspect.1.in:
12207         * tools/gst-launch.1.in:
12208         * tools/gst-md5sum.1.in:
12209         * tools/gst-typefind.1.in:
12210         * tools/gst-xmlinspect.1.in:
12211         * tools/gst-xmllaunch.1.in:
12212           cleanup man-pages, remove reference to gst-register, document env-vars
12213
12214 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12215
12216         * gst/gstbuffer.c: (gst_buffer_span):
12217           gst_buffer_span should copy the timestamp of the first buffer
12218           if they were both originally overlapping subbuffers of the 
12219           same parent, using the same logic as the 'slow copy' case.
12220
12221 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12222
12223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12224           Need to awaken ALL the pads when we pop a buffer, otherwise
12225           collectpads only works when there is 2 input streams.
12226
12227 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12228
12229         * docs/random/ensonic/media-device-daemon.txt:
12230           more ideas (dbus)
12231         * gst/gstbuffer.c:
12232           fix doc example, add clarification
12233         * tools/gst-launch.1.in:
12234           add initial info about GST_PLUGIN_PATH, needs more work
12235
12236 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12237
12238         * docs/manual/basics-bins.xml:
12239         * docs/manual/basics-elements.xml:
12240         * docs/manual/intro-basics.xml:
12241           Some more minor docs additions and updates.
12242
12243 2006-01-11  Wim Taymans  <wim@fluendo.com>
12244
12245         * docs/manual/basics-bins.xml:
12246         * docs/manual/basics-elements.xml:
12247         Some small fixes as pointed out by Ser-ver on IRC.
12248
12249 2006-01-10  Edward Hervey  <edward@fluendo.com>
12250
12251         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12252         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12253         the single-segment mode.
12254
12255 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12256
12257         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12258
12259         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12260         (gst_base_src_perform_seek), (gst_base_src_send_event),
12261         (gst_base_src_set_property), (gst_base_src_get_property),
12262         (gst_base_src_loop), (gst_base_src_start),
12263         (gst_base_src_activate_push):
12264         * libs/gst/base/gstbasesrc.h:
12265           Name (private) union; makes Sun's Forte compiler happy (#324900).
12266
12267 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12268
12269         * README:
12270           gst-register is gone.
12271
12272 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12273
12274         * gst/gstvalue.c: (_gst_value_initialize):
12275           make the G_TYPE_DATE instantiation work if debug is disabled
12276
12277 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12278
12279         * gst/gstmessage.c: (gst_message_parse_tag),
12280         (gst_message_parse_error), (gst_message_parse_warning):
12281           Don't crash when return location for error/warning debug
12282           string is NULL; add fact that return locations can be
12283           NULL to docs where appropriate.
12284
12285 2006-01-05  Wim Taymans  <wim@fluendo.com>
12286
12287         * gst/gstplugin.c: (gst_plugin_load_file):
12288         Replace strdup by g_strdup.
12289
12290 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12291
12292         * docs/pwg/advanced-types.xml:
12293           fix doc borkage
12294
12295 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12296
12297         submitted by: Abel Cheung
12298
12299         * po/LINGUAS:
12300         * po/zh_TW.po:
12301           Added Chinese (traditional) translation
12302
12303 2006-01-04  Wim Taymans  <wim@fluendo.com>
12304
12305         * docs/manual/basics-pads.xml:
12306         * docs/plugins/Makefile.am:
12307         * docs/plugins/gstreamer-plugins-docs.sgml:
12308         * docs/plugins/gstreamer-plugins-sections.txt:
12309         * docs/pwg/advanced-clock.xml:
12310         * docs/pwg/advanced-scheduling.xml:
12311         * docs/pwg/advanced-types.xml:
12312         * plugins/elements/gstfdsink.c:
12313         * plugins/elements/gstfdsrc.c:
12314         * plugins/elements/gstfdsrc.h:
12315         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12316         * plugins/elements/gstidentity.h:
12317         * plugins/elements/gstqueue.h:
12318         * plugins/elements/gsttee.c:
12319         * plugins/elements/gsttee.h:
12320         * plugins/elements/gsttypefindelement.c:
12321         (gst_type_find_element_class_init):
12322         * plugins/elements/gsttypefindelement.h:
12323         Small updates to various docs.
12324         Added core plugins to docs.
12325
12326 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12327
12328         * common/gst.supp:
12329           add a suppression for liboil's uninitialized variable
12330
12331 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12332
12333         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12334
12335         * gst/gstutils.h:
12336           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12337           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12338           compiler switch is being used (#325429).
12339
12340 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12341
12342         * gst/gstbin.c: (gst_bin_query):
12343           Disable duration query caching in bins until it gets
12344           fixed (see #324807).
12345
12346 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12347
12348         * tools/gst-inspect.c: (print_element_properties_info):
12349           Handle properties of POINTER and BOXED type.
12350
12351 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12352
12353         * gst/gst.c: (init_post):
12354           Init tags stuff and some other things before loading
12355           any static plugins (there may be other static plugins
12356           than just the GStreamer ones, and they may want to
12357           register their own tags or formats or whatever, and
12358           preferably without segfaulting).
12359
12360         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12361           Print at least a warning in the debug logs if we drop a
12362           query just because we don't know how to adjust the value
12363           in the particular format.
12364
12365 2005-12-24  David Schleef  <ds@schleef.org>
12366
12367         * tools/gstreamer-completion:
12368           Replacement for gst-complete written in sh and sed.  Only
12369           completes names of features, but that's 90% of what I want
12370           it for.  Properties are not available in registry.xml.  (Maybe
12371           they should be...)
12372
12373 === release 0.10.1 ===
12374
12375 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12376
12377         * configure.ac:
12378           releasing 0.10.1, "Nollaig chridheil"
12379
12380 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12381
12382         * docs/faq/cvs.xml:
12383           Add missing quote, should be make ERROR_CFLAGS="".
12384
12385 2005-12-20  Wim Taymans  <wim@fluendo.com>
12386
12387         * docs/design/part-trickmodes.txt:
12388         More documentation on trickmodes.
12389
12390 2005-12-20  Edward Hervey  <edward@fluendo.com>
12391
12392         * gst/gstcaps.c: (gst_static_caps_get_type):
12393         * gst/gstcaps.h:
12394           API addition: GST_TYPE_STATIC_CAPS
12395         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12396         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12397         * gst/gstpadtemplate.h:
12398           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12399         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12400         bindings.
12401
12402 2005-12-18  Wim Taymans  <wim@fluendo.com>
12403
12404         * libs/gst/base/gstadapter.c:
12405         * libs/gst/base/gstadapter.h:
12406         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12407         (gst_base_sink_get_position):
12408         * libs/gst/base/gstbasesink.h:
12409         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12410         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12411         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12412         (gst_base_src_send_event), (gst_base_src_update_length),
12413         (gst_base_src_get_range), (gst_base_src_loop),
12414         (gst_base_src_start):
12415         * libs/gst/base/gstbasesrc.h:
12416         * libs/gst/base/gstbasetransform.h:
12417         * libs/gst/base/gstcollectpads.h:
12418         * libs/gst/base/gstpushsrc.c:
12419         * libs/gst/base/gstpushsrc.h:
12420         * libs/gst/dataprotocol/dataprotocol.c:
12421         * libs/gst/dataprotocol/dataprotocol.h:
12422         * libs/gst/net/gstnetclientclock.h:
12423         * libs/gst/net/gstnettimeprovider.h:
12424         Documentation updates.
12425
12426 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * docs/manual/basics-helloworld.xml:
12429           Remove superfluous closing bracket in helloworld example.
12430
12431 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12432
12433         * tools/gst-launch.1.in:
12434           Update gst-launch man page; add a section with useful
12435           environment variables. Fixes #323882.
12436
12437 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12438
12439         * gst/gst.c:
12440         * gst/gst_private.h:
12441           change some char* into char[]
12442
12443 2005-12-16  Wim Taymans  <wim@fluendo.com>
12444
12445         * gst/gstregistryxml.c: (load_feature):
12446         Cleanups.
12447         Don't use g_object_unref on GstObjects so that we avoid
12448         leaks on unsafe glibs.
12449
12450 2005-12-16  Wim Taymans  <wim@fluendo.com>
12451
12452         * gst/gstbin.c: (gst_bin_recalc_state):
12453         Small doc updates.
12454
12455 2005-12-16  Wim Taymans  <wim@fluendo.com>
12456
12457         * common/check.mak:
12458         Added make forever target for check.
12459
12460 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12461
12462         * gst/gst.c: (init_post):
12463           make the registry cache file HOST_CPU-dependent
12464
12465 2005-12-16  Andy Wingo  <wingo@pobox.com>
12466
12467         * plugins/elements/gstbufferstore.c
12468         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12469         return value.
12470
12471         * tests/check/gst/gstobject.c
12472         (test_fake_object_name_threaded_unique): Pay attention to
12473         g_list_sort return value.
12474
12475 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12476
12477         * tools/gst-feedback-m.m:
12478           Update for 0.9/0.10 (fixes #323870).
12479
12480 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12481
12482         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12483           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12484           
12485         * tests/check/gst/gstminiobject.c: (my_foo_init),
12486         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12487         (test_value_collection), (gst_mini_object_suite):
12488           Add test to ensure refcounts end up as expected when passing
12489           GstMiniObjects through g_object_get() and g_object_set().
12490
12491 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12492
12493         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12494         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12495         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12496         of collectpads. This version removes a lot of races without
12497         touching API/ABI. Yay !
12498
12499 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12500
12501         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12502           Don't allow activation of a srcpad in pull_range if it has no
12503           getrange function.
12504           Change some debug statements to be a little clearer
12505
12506         * plugins/elements/gsttypefindelement.c:
12507         (gst_type_find_handle_src_query):
12508           Check that we have a peer before executing queries thereupon.
12509
12510         * tests/examples/metadata/read-metadata.c: (message_loop):
12511           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12512           immediately return us any available message with 0 timeout.
12513
12514 2005-12-12  Michael Smith  <msmith@fluendo.com>
12515
12516         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12517           Don't unref factories after calling them.
12518         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12519         * plugins/elements/gsttypefindelement.c:
12520         (gst_type_find_element_chain):
12521           Free lists of factories after using them. Fixing typefinding memory
12522           leaks.
12523
12524 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12525
12526         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12527         (gst_plugin_feature_load):
12528           more meaningful debug output
12529         * configure.ac:
12530         * tests/Makefile.am:
12531         * tests/old/examples/Makefile.am:
12532           make make distcheck happy again
12533
12534 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12535
12536         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12537           Catch the special case where we are operating chain-based,
12538           but the downstream peer pad has no chain function. Emit a
12539           custom error message in this case instead of letting the
12540           core generate one implying that this is some sort of core
12541           bug. It's not, it just means that whatever got plugged
12542           into the pipeline downstream when we announced the type
12543           can only operate pull-based, while our source can only
12544           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12545           Error string has not been marked for translation yet, as
12546           it probably needs some more work first.
12547
12548         (gst_type_find_element_get_best_possibility):
12549           Add helper function to find the best of all available
12550           found possibilities that qualify given the min. threshold.
12551
12552         (gst_type_find_element_handle_event):
12553           Fix the case where we get an EOS while still in TYPEFIND
12554           mode (we want to chose the best of all possible types,
12555           not just the first type that happens to be in our unsorted
12556           list of possible types).
12557
12558         (gst_type_find_element_chain):
12559           Make sure we return GST_FLOW_ERROR when we errored out
12560           in stop_typefinding(); also, don't just find the best of
12561           all found type entries and then use the last examined
12562           type entry, but actually use the best entry.
12563
12564 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12565
12566         * tests/examples/typefind/typefind.c: (type_found):
12567         * tests/examples/xml/runxml.c: (xml_loaded):
12568           More gcc4 fixes and a mem leak fix.
12569
12570 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * tests/examples/xml/createxml.c: (object_saved):
12573           gcc 4 fixes
12574
12575 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12576
12577         * tests/Makefile.am:
12578           enable the examples even more
12579
12580 2005-12-12  Andy Wingo  <wingo@pobox.com>
12581
12582         * libs/gst/net/gstnettimeprovider.c
12583         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12584         (gst_net_time_provider_set_property)
12585         (gst_net_time_provider_get_property):
12586         API addition: Export "active" as a GObject property.
12587         (gst_net_time_provider_thread): Only respond to time queries if
12588         the time provider is active.
12589
12590         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12591         NetTimeProvider, preserving binary compat.
12592
12593 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12594
12595         * tests/examples/controller/audio-example.c: (main):
12596         * tests/examples/launch/Makefile.am:
12597           convert comments again
12598
12599 2005-12-12  Wim Taymans  <wim@fluendo.com>
12600
12601         * libs/gst/base/gstpushsrc.c:
12602         Fix typo.
12603
12604 2005-12-12  Wim Taymans  <wim@fluendo.com>
12605
12606         * docs/libs/gstreamer-libs-sections.txt:
12607         Added new symbol to docs.
12608
12609         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12610         (gst_base_src_init), (gst_base_src_set_format),
12611         (gst_base_src_default_query), (gst_base_src_query),
12612         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12613         (gst_base_src_perform_seek), (gst_base_src_send_event),
12614         (gst_base_src_default_event), (gst_base_src_event_handler),
12615         (gst_base_src_set_property), (gst_base_src_get_property),
12616         (gst_base_src_wait), (gst_base_src_do_sync),
12617         (gst_base_src_update_length), (gst_base_src_get_range),
12618         (gst_base_src_check_get_range), (gst_base_src_loop),
12619         (gst_base_src_default_negotiate), (gst_base_src_start),
12620         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12621         (gst_base_src_change_state):
12622         * libs/gst/base/gstbasesrc.h:
12623         Implement seeking to other formats than _BYTES.
12624         Implement more seeking methods correctly.
12625         Doc updates.
12626         Added query vmethod.
12627         Added do_seek vmethod to make life easier for subclasses
12628         when seeking.
12629         API addition: gst_base_src_set_format()
12630
12631 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12632
12633         * tests/examples/Makefile.am:
12634           added that too
12635
12636 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12637
12638         * configure.ac:
12639         * docs/random/ensonic/media-device-daemon.txt:
12640         * tests/examples/controller/.cvsignore:
12641         * tests/examples/controller/Makefile.am:
12642         * tests/examples/controller/audio-example.c: (main):
12643         * tests/examples/helloworld/.cvsignore:
12644         * tests/examples/helloworld/Makefile.am:
12645         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12646         * tests/examples/launch/.cvsignore:
12647         * tests/examples/launch/Makefile.am:
12648         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12649         * tests/examples/metadata/.cvsignore:
12650         * tests/examples/metadata/Makefile.am:
12651         * tests/examples/metadata/read-metadata.c: (message_loop),
12652         (make_pipeline), (print_tag), (main):
12653         * tests/examples/queue/.cvsignore:
12654         * tests/examples/queue/Makefile.am:
12655         * tests/examples/queue/queue.c: (event_loop), (main):
12656         * tests/examples/typefind/.cvsignore:
12657         * tests/examples/typefind/Makefile.am:
12658         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12659         (main):
12660         * tests/examples/xml/.cvsignore:
12661         * tests/examples/xml/Makefile.am:
12662         * tests/examples/xml/createxml.c: (object_saved), (main):
12663         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12664         * tests/old/examples/Makefile.am:
12665         * tests/old/examples/TODO:
12666         * tests/old/examples/controller/.cvsignore:
12667         * tests/old/examples/controller/Makefile.am:
12668         * tests/old/examples/controller/audio-example.c:
12669         * tests/old/examples/helloworld/.cvsignore:
12670         * tests/old/examples/helloworld/Makefile.am:
12671         * tests/old/examples/helloworld/helloworld.c:
12672         * tests/old/examples/launch/.cvsignore:
12673         * tests/old/examples/launch/Makefile.am:
12674         * tests/old/examples/launch/mp3parselaunch.c:
12675         * tests/old/examples/launch/mp3play:
12676         * tests/old/examples/manual/Makefile.am:
12677         * tests/old/examples/metadata/Makefile.am:
12678         * tests/old/examples/metadata/read-metadata.c:
12679         * tests/old/examples/queue/.cvsignore:
12680         * tests/old/examples/queue/Makefile.am:
12681         * tests/old/examples/queue/queue.c:
12682         * tests/old/examples/typefind/.cvsignore:
12683         * tests/old/examples/typefind/Makefile.am:
12684         * tests/old/examples/typefind/typefind.c:
12685         * tests/old/examples/xml/.cvsignore:
12686         * tests/old/examples/xml/Makefile.am:
12687         * tests/old/examples/xml/createxml.c:
12688         * tests/old/examples/xml/runxml.c:
12689           applied some simple fixing to some examples
12690           re-enabled the working examples
12691
12692 2005-12-12  Wim Taymans  <wim@fluendo.com>
12693
12694         * gst/gstsegment.c: (gst_segment_init),
12695         (gst_segment_set_last_stop), (gst_segment_set_seek),
12696         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12697         (gst_segment_to_running_time):
12698         Added more documentation.
12699         Make sure the last_pos value is updated properly.
12700         Make sure to_stream_time and to_running_time don't
12701         operate on wrong values.
12702
12703         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12704         Update check.
12705
12706 2005-12-12  Michael Smith  <msmith@fluendo.com>
12707
12708         * plugins/elements/gsttypefindelement.c: (free_entry),
12709         (gst_type_find_element_chain):
12710           Now that we're not leaking factories, make sure we keep references
12711           to them while we need them.
12712
12713 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12714
12715         * tests/check/gst/struct_i386.h:
12716           ifdef out the XML structs
12717
12718 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12719
12720         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12721           floor is not needed, F is always positive; this obviates the
12722           need for adding -lm when building without libxml
12723
12724 2005-12-12  Wim Taymans  <wim@fluendo.com>
12725
12726         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12727         Take current playback rate into account when reporting
12728         the position.
12729
12730 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * docs/manual/mime-world.fig:
12733           Let's try this again, this time with a file that is
12734           actually in XFig format.
12735
12736 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12737
12738         * docs/manual/mime-world.fig:
12739           Add audioconvert element to diagram so that it
12740           matches the text and the code (fixes #319526).
12741
12742 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12743
12744         * docs/pwg/building-chainfn.xml:
12745         * docs/pwg/building-pads.xml:
12746         * docs/pwg/building-state.xml:
12747         * docs/pwg/other-source.xml:
12748           Update state change stuff for 0.10 (fixes #322969).
12749
12750 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * docs/manual/advanced-dataaccess.xml:
12753         * docs/manual/appendix-checklist.xml:
12754         * docs/manual/appendix-programs.xml:
12755         * docs/manual/basics-pads.xml:
12756         * docs/manual/highlevel-components.xml:
12757         * docs/manual/manual.xml:
12758           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12759           add converters in front of pipelines; remove curly
12760           brackets for threads stuff, they no longer exist; use
12761           GST_TYPE_FRACTION for framerates; update some pieces of
12762           code to 0.10, but there's plenty more to do.
12763
12764         * docs/manual/appendix-porting.xml:
12765           Expand on asynchroneous state changes; s/0.9/0.10/;
12766           mention disappearance of gst_init_get_popt_table()
12767           (fixes #322916).
12768
12769 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12770
12771         * docs/faq/using.xml:
12772           Spider no longer exists, and neither does gst-launch-ext.
12773           Update examples to use decodebin and playbin and put
12774           converters in front of sinks (fixes #323726).
12775
12776 2005-12-09  Michael Smith  <msmith@fluendo.com>
12777
12778         * plugins/elements/gsttypefindelement.c: (find_peek),
12779         (gst_type_find_element_chain):
12780           Fix leaking element factories in typefinding.
12781           Fix problem where we forgot about a probable type on non-seekable
12782           files, and thus later mis-typefound it.
12783
12784 2005-12-09  Michael Smith  <msmith@fluendo.com>
12785
12786         * common/m4/gst-makecontext.m4:
12787         * common/m4/gst-mcsc.m4:
12788         * configure.ac:
12789         * win32/common/config.h:
12790         * win32/common/config.h.in:
12791           Remove makecontext stuff; not used in 0.10 and causes problems on
12792           HPUX according to bug #322441
12793
12794 2005-12-07  Wim Taymans  <wim@fluendo.com>
12795
12796         * tests/check/Makefile.am:
12797         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12798         (main):
12799         * tests/check/libs/struct_i386.h:
12800         Added ABI check for libs
12801
12802 2005-12-07  Wim Taymans  <wim@fluendo.com>
12803
12804         * tests/check/Makefile.am:
12805         And add the struct_i386.h to dist.
12806
12807 2005-12-07  Wim Taymans  <wim@fluendo.com>
12808
12809         * tests/check/Makefile.am:
12810         * tests/check/gst/.cvsignore:
12811         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12812         (main):
12813         * tests/check/gst/struct_i386.h:
12814         Added check for ABI compatibility.
12815
12816 2005-12-07  Wim Taymans  <wim@fluendo.com>
12817
12818         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12819         (gst_fake_src_get_times), (gst_fake_src_create):
12820         Fix broken sync option, fixes #323259
12821
12822 2005-12-07  Wim Taymans  <wim@fluendo.com>
12823
12824         * gst/gstbuffer.c:
12825         Small docs update.
12826
12827         * gst/gstcaps.c: (gst_caps_is_equal):
12828         Don't assert on NULL <--> X. Fixes #323260
12829
12830         * gst/gstminiobject.c: (gst_mini_object_replace):
12831         If we're doing atomic operations, we might just as well use
12832         the proper way to get an atomic pointer.
12833
12834         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12835         Clean up debugging.
12836
12837 2005-12-07  Michael Smith  <msmith@fluendo.com>
12838
12839         * gst/parse/grammar.y:
12840           Remove handling of { } for threads.
12841
12842 2005-12-06  David Schleef  <ds@schleef.org>
12843
12844         * libs/gst/base/gstbasetransform.c: speling fix.
12845
12846 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12847
12848         * docs/libs/tmpl/gstdataprotocol.sgml:
12849         * docs/random/omega/testing/gstobject.c:
12850         * gst/gst.c:
12851         * gst/gstclock.c:
12852         * gst/gstelement.c:
12853         * gst/gstelementfactory.c:
12854         * gst/gsterror.c:
12855         * gst/gstevent.c:
12856         * gst/gstghostpad.c:
12857         * gst/gstinfo.c:
12858         * gst/gstpadtemplate.c:
12859         * gst/gstregistryxml.c:
12860         * gst/gsttaglist.c:
12861         * gst/gsttagsetter.c:
12862         * gst/gsttypefind.c:
12863         * gst/gstvalue.c:
12864         * libs/gst/base/gstbasesrc.c:
12865         * libs/gst/net/gstnetclientclock.c:
12866         * libs/gst/net/gstnettimeprovider.c:
12867         * plugins/elements/gstfakesrc.c:
12868         * plugins/elements/gstfdsrc.c:
12869         * plugins/elements/gstfilesrc.c:
12870         * plugins/elements/gstidentity.c:
12871         * plugins/elements/gstqueue.c:
12872         * plugins/elements/gsttypefindelement.c:
12873         * plugins/indexers/gstfileindex.c:
12874         * plugins/indexers/gstmemindex.c:
12875         * tests/check/gst/gsttag.c:
12876         * tests/old/examples/cutter/cutter.c:
12877         * tests/old/examples/mixer/mixer.c:
12878         * tests/old/examples/xml/runxml.c: (main):
12879         * tests/old/testsuite/caps/normalisation.c:
12880         * tests/old/testsuite/debug/global.c:
12881         * tests/old/testsuite/parse/parse1.c:
12882         * tools/gst-xmlinspect.c:
12883         * win32/common/dirent.c:
12884           expand tabs
12885
12886 === release 0.10.0 ===
12887
12888 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12889
12890         * configure.ac:
12891           releasing 0.10.0, "Maroilles"
12892
12893 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12894
12895         submitted by: Funda Wang <fundawang@linux.net.cn>
12896
12897         * po/LINGUAS:
12898         * po/zh_CN.po:
12899           added Chinese (Traditional) translation
12900
12901 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12902
12903         * docs/gst/gstreamer-sections.txt:
12904         * docs/libs/tmpl/gstdataprotocol.sgml:
12905         * docs/random/thomasvs/TODO:
12906         * gst/gstutils.c:
12907         * gst/gstutils.h:
12908           fix docs
12909
12910 2005-12-05  Andy Wingo  <wingo@pobox.com>
12911
12912         patch by: Wim Taymans <wim@fluendo.com>
12913
12914         * libs/gst/base/gstbasetransform.c
12915         (gst_base_transform_prepare_output_buf)
12916         (gst_base_transform_buffer_alloc):
12917         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12918         alloc_buffer_and_set_caps.
12919
12920         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12921         set_caps on the source pad.
12922         (gst_pad_alloc_buffer_and_set_caps): New function, does what
12923         alloc_buffer used to do. Fixes #322874.
12924
12925         * docs/gst/gstreamer-sections.txt: 
12926         * docs/design/part-negotiation.txt: 
12927         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12928         changes.
12929
12930 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12931
12932         patch by: Sebastien Moutte
12933
12934         * win32/MANIFEST:
12935         * win32/common/config.h.in:
12936         * win32/vs6/libgstcontroller.dsp:
12937           win32 build fixes
12938
12939 2005-12-05  Wim Taymans  <wim@fluendo.com>
12940
12941         * gst/gstcaps.c: (gst_caps_is_equal):
12942         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12943         (gst_fake_src_create):
12944         Back out previous code changes, leave doc updates, file bugs 
12945         instead. 
12946
12947 2005-12-05  Wim Taymans  <wim@fluendo.com>
12948
12949         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12950         (gst_fake_src_get_times), (gst_fake_src_create):
12951         * plugins/elements/gstfakesrc.h:
12952         Fix broken sync code.
12953
12954 2005-12-05  Wim Taymans  <wim@fluendo.com>
12955
12956         * gst/gstcaps.c: (gst_caps_is_equal):
12957         Comparing NULL against !NULL yields different caps, not a
12958         failure.
12959
12960 2005-12-05  Wim Taymans  <wim@fluendo.com>
12961
12962         * gst/gstpipeline.c:
12963         Fix small typo in docs.
12964
12965 2005-12-05  Andy Wingo  <wingo@pobox.com>
12966
12967         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
12968
12969         * gst/gst.c (init_post): remove hard-coded 0.9 location for
12970         registries/plugins with a MAJORMINOR one.
12971         (plugin_desc): Rename library from gstcoreleements to
12972         staticelements. Fixes #323222.
12973
12974 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
12975
12976         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12977           Change debug category to 'collectpads' from 'collect_pads'
12978           (fixes #323250).
12979
12980 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12981
12982         patch by: Sebastien Moutte
12983
12984         * libs/gst/controller/gstinterpolation.c:
12985           use convert function for uint64/double
12986         * win32/vs6/libgstcontroller.dsp:
12987           link to GLib
12988
12989 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12990
12991         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12992         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12993         * gst/gstutils.h:
12994         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12995           add tests that seem to show that the guint64/gdouble conversions
12996           are correct.
12997
12998 2005-12-02  Wim Taymans  <wim@fluendo.com>
12999
13000         * gst/gstregistry.c: (gst_registry_add_path):
13001         * gst/gstregistry.h:
13002         * gst/gstregistryxml.c:
13003         Fix docs again.
13004
13005 2005-12-02  Wim Taymans  <wim@fluendo.com>
13006
13007         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13008         (gst_util_uint64_scale_int):
13009         Small cleanup.
13010
13011         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13012         Add debug log line.
13013
13014         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13015         Add FIXME.
13016
13017 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13018
13019         * win32/MANIFEST:
13020         * win32/common/config.h:
13021         * win32/vs6/gstreamer.dsw:
13022         * win32/vs6/libgstcoreelements.dsp:
13023         * win32/vs6/libgstelements.dsp:
13024           renamed core elements plugin
13025
13026 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13027
13028         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13029         (get_candidates):
13030           do piece-wise major/minor comparison so 0.9 < 0.10
13031           also allow .exe extensions for tools
13032
13033 2005-12-02  Michael Smith  <msmith@fluendo.com>
13034
13035         * gst/gst.c:
13036           Escape a % to make gtkdoc happier; bug 322958.
13037
13038 === release 0.9.7 ===
13039
13040 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13041
13042         * configure.ac:
13043           releasing 0.9.7, "My Dog Has No Nose"
13044
13045 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13046
13047         * common/gst-xmlinspect.py:
13048         * configure.ac:
13049         * docs/libs/tmpl/gstdataprotocol.sgml:
13050         * docs/random/release:
13051         * po/af.po:
13052         * po/az.po:
13053         * po/bg.po:
13054         * po/ca.po:
13055         * po/cs.po:
13056         * po/de.po:
13057         * po/en_GB.po:
13058         * po/fr.po:
13059         * po/it.po:
13060         * po/nb.po:
13061         * po/nl.po:
13062         * po/ru.po:
13063         * po/sq.po:
13064         * po/sr.po:
13065         * po/sv.po:
13066         * po/tr.po:
13067         * po/uk.po:
13068         * po/vi.po:
13069         * win32/common/config.h:
13070         * win32/common/config.h.in:
13071         * win32/vs6/gst_inspect.dsp:
13072         * win32/vs6/gst_launch.dsp:
13073         * win32/vs6/libgstbase.dsp:
13074         * win32/vs6/libgstelements.dsp:
13075         * win32/vs6/libgstreamer.dsp:
13076         * win32/vs7/GStreamer.vcproj:
13077         * win32/vs7/gst-inspect.vcproj:
13078         * win32/vs7/gst-launch.vcproj:
13079         * win32/vs7/libgstbase.vcproj:
13080           bump GST_MAJORMINOR to 0.10
13081           reset libtool version
13082
13083 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13084
13085         * po/LINGUAS:
13086         * po/bg.po:
13087           Added Bulgarian translation by (Alexander Shopov)
13088
13089 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13090
13091         * tests/check/gst/gstplugin.c:
13092           fix test
13093
13094 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13095
13096         * common/gst-xmlinspect.py:
13097         * common/gtk-doc-plugins.mak:
13098         * configure.ac:
13099         * docs/Makefile.am:
13100         * docs/gst/Makefile.am:
13101         * docs/gst/gstreamer-docs.sgml:
13102         * docs/gst/gstreamer-sections.txt:
13103         * docs/gst/gstreamer.types:
13104         * docs/gst/gstreamer.types.in:
13105         * docs/plugins/Makefile.am:
13106         * docs/plugins/gstreamer-plugins-docs.sgml:
13107         * docs/plugins/gstreamer-plugins-sections.txt:
13108         * docs/plugins/gstreamer-plugins.types:
13109         * docs/plugins/inspect.stamp:
13110         * docs/plugins/inspect/plugin-coreelements.xml:
13111         * docs/plugins/inspect/plugin-coreindexers.xml:
13112         * docs/plugins/scanobj-build.stamp:
13113         * gstreamer.spec.in:
13114         * plugins/elements/Makefile.am:
13115         * plugins/elements/gstelements.c:
13116         * plugins/elements/gstfakesink.c:
13117         * plugins/elements/gstfakesrc.c:
13118         * plugins/elements/gstfilesink.c:
13119         * plugins/elements/gstfilesrc.c:
13120         * plugins/elements/gstqueue.c:
13121         * plugins/indexers/Makefile.am:
13122         * plugins/indexers/gstindexers.c:
13123           document core plugins in a separate document just like all the
13124           others
13125           rename these plugins to something starting with core
13126
13127 2005-12-01  Andy Wingo  <wingo@pobox.com>
13128
13129         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13130         padding here before, but it missed the commit.
13131
13132 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13133
13134         * libs/gst/controller/gstinterpolation.c:
13135           whitespace prices have crashed, we should feel free to use some now
13136           use gst_guint64_to_gdouble
13137
13138 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13139
13140         * libs/gst/controller/gstcontroller.c:
13141         * libs/gst/controller/gsthelper.c:
13142         * libs/gst/controller/gstinterpolation.c:
13143         * libs/gst/controller/lib.c:
13144           wrap config.h include
13145
13146 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13147
13148         * docs/gst/gstreamer-sections.txt:
13149           update docs
13150
13151 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13152
13153         * plugins/elements/gstelements.c:
13154         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13155         (gst_fd_sink__class_init), (gst_fd_sink__init),
13156         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13157         (gst_fd_sink__get_property):
13158         * plugins/elements/gstfdsink.h:
13159         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13160         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13161         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13162         (gst_fd_src_unlock), (gst_fd_src_set_property),
13163         (gst_fd_src_get_property), (gst_fd_src_create),
13164         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13165         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13166         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13167         (gst_fd_src_uri_handler_init):
13168         * plugins/elements/gstfdsrc.h:
13169         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13170           more anal cleanup
13171
13172 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13173
13174         * docs/gst/Makefile.am:
13175         * docs/gst/gstreamer.types.in:
13176         * gst/Makefile.am:
13177           fix the docs build
13178
13179 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13180
13181         * configure.ac:
13182         * gst/Makefile.am:
13183         * gst/gst.c:
13184         * gst/gstplugin.h:
13185         * gst/gstregistry.h:
13186         * tests/benchmarks/complexity.c:
13187         * tests/benchmarks/mass-elements.c:
13188         * tests/check/Makefile.am:
13189         * tools/Makefile.am:
13190         * tools/gst-inspect.c:
13191         * tools/gst-xmlinspect.c:
13192           various fixes to make
13193           --disable-nls --disable-registry --disable-loadsave
13194           --disable-parse --disable-gst-debug
13195           work and get the core .so down to 360444 bytes after stripping
13196
13197 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13198
13199         * Makefile.am:
13200         * configure.ac:
13201           descend into tests
13202         * docs/random/thomasvs/TODO:
13203         * tests/Makefile.am:
13204         * tests/README:
13205           add a README
13206
13207 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13208
13209         * win32/GStreamer.vcproj:
13210         * win32/MANIFEST:
13211         * win32/Makefile:
13212         * win32/Makefile.inspect:
13213         * win32/Makefile.launch:
13214         * win32/Makefile.register:
13215         * win32/README.txt:
13216         * win32/gst-inspect.vcproj:
13217         * win32/gst-launch.vcproj:
13218         * win32/gst-register.vcproj:
13219         * win32/gstelements.vcproj:
13220         * win32/gstgetbits.def:
13221         * win32/gstgetbits.vcproj:
13222         * win32/gstreamer-dbg.def:
13223         * win32/gstreamer.def:
13224         * win32/libgstbase.def:
13225         * win32/libgstbase.vcproj:
13226         * win32/link_oldruntime.c:
13227         * win32/mman.c:
13228         * win32/mman.h:
13229         * win32/mman.inl:
13230         * win32/msvc71.sln:
13231           move even more stuff, win32/ is nice and clean now
13232
13233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13234
13235         * libs/gst/control/.cvsignore:
13236         * win32/MANIFEST:
13237         * win32/config.h:
13238         * win32/dirent.c:
13239         * win32/dirent.h:
13240         * win32/gstbytestream.def:
13241         * win32/gstbytestream.vcproj:
13242         * win32/gstconfig.h:
13243         * win32/gstenumtypes.c:
13244         * win32/gstenumtypes.h:
13245         * win32/gstoptimalscheduler.vcproj:
13246         * win32/gstversion.h:
13247         * win32/gtchar.h:
13248         * win32/testsuite/bins.vcproj:
13249         * win32/testsuite/bytestream.vcproj:
13250         * win32/testsuite/caps.vcproj:
13251         * win32/testsuite/cleanup.vcproj:
13252         * win32/testsuite/clock.vcproj:
13253         * win32/testsuite/debug.vcproj:
13254         * win32/testsuite/dlopen.vcproj:
13255         * win32/testsuite/dynparams.vcproj:
13256         * win32/testsuite/elements.vcproj:
13257         * win32/testsuite/ghostpads.vcproj:
13258         * win32/testsuite/indexers.vcproj:
13259         * win32/testsuite/negotiation.vcproj:
13260         * win32/testsuite/parse.vcproj:
13261         * win32/testsuite/plugin.vcproj:
13262         * win32/testsuite/refcounting.vcproj:
13263         * win32/testsuite/schedulers.vcproj:
13264         * win32/testsuite/states.vcproj:
13265         * win32/testsuite/tags.vcproj:
13266         * win32/testsuite/threads.vcproj:
13267           remove old win32 stuff that isn't maintained and should be
13268           reorganized
13269
13270 2005-11-30  Andy Wingo  <wingo@pobox.com>
13271
13272         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13273         loading the gst.interfaces python module bork.
13274
13275         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13276         available since GLib 2.2. Fixes #318031.
13277
13278 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13279
13280         * Makefile.am:
13281         * check/.cvsignore:
13282         * check/Makefile.am:
13283         * check/elements/.cvsignore:
13284         * check/elements/fakesrc.c:
13285         * check/elements/fdsrc.c:
13286         * check/elements/identity.c:
13287         * check/generic/.cvsignore:
13288         * check/generic/states.c:
13289         * check/gst-libs/.cvsignore:
13290         * check/gst-libs/controller.c:
13291         * check/gst-libs/gdp.c:
13292         * check/gst/.cvsignore:
13293         * check/gst/capslist.h:
13294         * check/gst/gst.c:
13295         * check/gst/gstbin.c:
13296         * check/gst/gstbuffer.c:
13297         * check/gst/gstbus.c:
13298         * check/gst/gstcaps.c:
13299         * check/gst/gstelement.c:
13300         * check/gst/gstevent.c:
13301         * check/gst/gstghostpad.c:
13302         * check/gst/gstiterator.c:
13303         * check/gst/gstmessage.c:
13304         * check/gst/gstminiobject.c:
13305         * check/gst/gstobject.c:
13306         * check/gst/gstpad.c:
13307         * check/gst/gstpipeline.c:
13308         * check/gst/gstplugin.c:
13309         * check/gst/gstsegment.c:
13310         * check/gst/gststructure.c:
13311         * check/gst/gstsystemclock.c:
13312         * check/gst/gsttag.c:
13313         * check/gst/gstutils.c:
13314         * check/gst/gstvalue.c:
13315         * check/net/.cvsignore:
13316         * check/net/gstnetclientclock.c:
13317         * check/net/gstnettimeprovider.c:
13318         * check/pipelines/.cvsignore:
13319         * check/pipelines/cleanup.c:
13320         * check/pipelines/simple_launch_lines.c:
13321         * check/pipelines/stress.c:
13322         * check/states/.cvsignore:
13323         * check/states/sinks.c:
13324         * configure.ac:
13325         * examples/Makefile.am:
13326         * examples/appreader/.cvsignore:
13327         * examples/appreader/Makefile.am:
13328         * examples/appreader/appreader.c:
13329         * examples/controller/.cvsignore:
13330         * examples/controller/Makefile.am:
13331         * examples/controller/audio-example.c:
13332         * examples/cutter/.cvsignore:
13333         * examples/cutter/Makefile.am:
13334         * examples/cutter/cutter.c:
13335         * examples/cutter/cutter.h:
13336         * examples/events/Makefile.am:
13337         * examples/events/seek.c:
13338         * examples/helloworld/.cvsignore:
13339         * examples/helloworld/Makefile.am:
13340         * examples/helloworld/helloworld.c:
13341         * examples/helloworld2/.cvsignore:
13342         * examples/helloworld2/Makefile.am:
13343         * examples/helloworld2/helloworld2.c:
13344         * examples/launch/.cvsignore:
13345         * examples/launch/Makefile.am:
13346         * examples/launch/mp3parselaunch.c:
13347         * examples/launch/mp3play:
13348         * examples/manual/.cvsignore:
13349         * examples/manual/Makefile.am:
13350         * examples/manual/extract.pl:
13351         * examples/metadata/Makefile.am:
13352         * examples/metadata/read-metadata.c:
13353         * examples/mixer/.cvsignore:
13354         * examples/mixer/Makefile.am:
13355         * examples/mixer/mixer.c:
13356         * examples/mixer/mixer.h:
13357         * examples/pingpong/.cvsignore:
13358         * examples/pingpong/Makefile.am:
13359         * examples/pingpong/pingpong.c:
13360         * examples/plugins/.cvsignore:
13361         * examples/plugins/Makefile.am:
13362         * examples/plugins/example.c:
13363         * examples/plugins/example.h:
13364         * examples/pwg/.cvsignore:
13365         * examples/pwg/Makefile.am:
13366         * examples/pwg/extract.pl:
13367         * examples/queue/.cvsignore:
13368         * examples/queue/Makefile.am:
13369         * examples/queue/queue.c:
13370         * examples/queue2/.cvsignore:
13371         * examples/queue2/Makefile.am:
13372         * examples/queue2/queue2.c:
13373         * examples/queue3/.cvsignore:
13374         * examples/queue3/Makefile.am:
13375         * examples/queue3/queue3.c:
13376         * examples/queue4/.cvsignore:
13377         * examples/queue4/Makefile.am:
13378         * examples/queue4/queue4.c:
13379         * examples/retag/.cvsignore:
13380         * examples/retag/Makefile.am:
13381         * examples/retag/retag.c:
13382         * examples/retag/transcode.c:
13383         * examples/thread/.cvsignore:
13384         * examples/thread/Makefile.am:
13385         * examples/thread/thread.c:
13386         * examples/typefind/.cvsignore:
13387         * examples/typefind/Makefile.am:
13388         * examples/typefind/typefind.c:
13389         * examples/xml/.cvsignore:
13390         * examples/xml/Makefile.am:
13391         * examples/xml/createxml.c:
13392         * examples/xml/runxml.c:
13393         * tests/Makefile.am:
13394         * tests/check/Makefile.am:
13395         * testsuite/.cvsignore:
13396         * testsuite/Makefile.am:
13397         * testsuite/Rules:
13398         * testsuite/caps/.cvsignore:
13399         * testsuite/caps/Makefile.am:
13400         * testsuite/caps/app_fixate.c:
13401         * testsuite/caps/audioscale.c:
13402         * testsuite/caps/caps.c:
13403         * testsuite/caps/caps.h:
13404         * testsuite/caps/caps_strings:
13405         * testsuite/caps/compatibility.c:
13406         * testsuite/caps/deserialize.c:
13407         * testsuite/caps/enumcaps.c:
13408         * testsuite/caps/eratosthenes.c:
13409         * testsuite/caps/filtercaps.c:
13410         * testsuite/caps/fixed.c:
13411         * testsuite/caps/fraction-convert.c:
13412         * testsuite/caps/fraction-multiply-and-zero.c:
13413         * testsuite/caps/intersect2.c:
13414         * testsuite/caps/intersection.c:
13415         * testsuite/caps/normalisation.c:
13416         * testsuite/caps/random.c:
13417         * testsuite/caps/renegotiate.c:
13418         * testsuite/caps/sets.c:
13419         * testsuite/caps/simplify.c:
13420         * testsuite/caps/string-conversions.c:
13421         * testsuite/caps/structure.c:
13422         * testsuite/caps/subtract.c:
13423         * testsuite/caps/union.c:
13424         * testsuite/debug/.cvsignore:
13425         * testsuite/debug/Makefile.am:
13426         * testsuite/debug/category.c:
13427         * testsuite/debug/commandline.c:
13428         * testsuite/debug/global.c:
13429         * testsuite/debug/output.c:
13430         * testsuite/debug/printf_extension.c:
13431         * testsuite/dlopen/.cvsignore:
13432         * testsuite/dlopen/Makefile.am:
13433         * testsuite/dlopen/dlopen_gst.c:
13434         * testsuite/dlopen/loadgst.c:
13435         * testsuite/elements/.cvsignore:
13436         * testsuite/elements/Makefile.am:
13437         * testsuite/elements/gst-inspect-check.in:
13438         * testsuite/elements/struct_i386.h:
13439         * testsuite/elements/struct_size.c:
13440         * testsuite/indexers/.cvsignore:
13441         * testsuite/indexers/Makefile.am:
13442         * testsuite/indexers/cache1.c:
13443         * testsuite/indexers/indexdump.c:
13444         * testsuite/parse/.cvsignore:
13445         * testsuite/parse/Makefile.am:
13446         * testsuite/parse/parse1.c:
13447         * testsuite/parse/parse2.c:
13448         * testsuite/plugin/.cvsignore:
13449         * testsuite/plugin/Makefile.am:
13450         * testsuite/plugin/README:
13451         * testsuite/plugin/dynamic.c:
13452         * testsuite/plugin/linked.c:
13453         * testsuite/plugin/loading.c:
13454         * testsuite/plugin/registry.c:
13455         * testsuite/plugin/static.c:
13456         * testsuite/plugin/static2.c:
13457         * testsuite/plugin/testplugin.c:
13458         * testsuite/plugin/testplugin2.c:
13459         * testsuite/plugin/testplugin2_s.c:
13460         * testsuite/plugin/testplugin_s.c:
13461         * testsuite/refcounting/.cvsignore:
13462         * testsuite/refcounting/Makefile.am:
13463         * testsuite/refcounting/bin.c:
13464         * testsuite/refcounting/element.c:
13465         * testsuite/refcounting/element_pad.c:
13466         * testsuite/refcounting/mainloop.c:
13467         * testsuite/refcounting/mem.c:
13468         * testsuite/refcounting/mem.h:
13469         * testsuite/refcounting/object.c:
13470         * testsuite/refcounting/pad.c:
13471         * testsuite/refcounting/sched.c:
13472         * testsuite/refcounting/thread.c:
13473         * testsuite/states/.cvsignore:
13474         * testsuite/states/Makefile.am:
13475         * testsuite/states/bin.c:
13476         * testsuite/states/locked.c:
13477         * testsuite/states/parent.c:
13478         * testsuite/threads/.cvsignore:
13479         * testsuite/threads/159566.c:
13480         * testsuite/threads/159852.c:
13481         * testsuite/threads/Makefile.am:
13482         * testsuite/threads/queue.c:
13483         * testsuite/threads/signals.c:
13484         * testsuite/threads/staticrec.c:
13485         * testsuite/threads/thread.c:
13486         * testsuite/threads/threadb.c:
13487         * testsuite/threads/threadc.c:
13488         * testsuite/threads/threadd.c:
13489         * testsuite/threads/threade.c:
13490         * testsuite/threads/threadf.c:
13491         * testsuite/threads/threadg.c:
13492         * testsuite/threads/threadh.c:
13493         * testsuite/threads/threadi.c:
13494           move all of these under tests
13495
13496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13497
13498         * configure.ac:
13499         * tests/Makefile.am:
13500           fix distcheck
13501
13502 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * docs/gst/gstreamer-sections.txt:
13505         * tests/sched/.cvsignore:
13506         * tests/sched/Makefile.am:
13507         * tests/sched/cases/(fs-fs).xml:
13508         * tests/sched/cases/(fs-i-fs).xml:
13509         * tests/sched/cases/(fs-i-i-fs).xml:
13510         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13511         * tests/sched/dynamic-pipeline.c:
13512         * tests/sched/interrupt1.c:
13513         * tests/sched/interrupt2.c:
13514         * tests/sched/interrupt3.c:
13515         * tests/sched/runtestcases:
13516         * tests/sched/runxml.c:
13517         * tests/sched/sched-stress.c:
13518         * tests/sched/sort.c:
13519         * tests/sched/testcases:
13520         * tests/sched/testcases1.tc:
13521         * tests/seeking/.cvsignore:
13522         * tests/seeking/Makefile.am:
13523         * tests/seeking/seeking1.c:
13524         * tests/threadstate/.cvsignore:
13525         * tests/threadstate/Makefile.am:
13526         * tests/threadstate/test1.c:
13527         * tests/threadstate/test2.c:
13528         * tests/threadstate/threadstate1.c:
13529         * tests/threadstate/threadstate2.c:
13530         * tests/threadstate/threadstate3.c:
13531         * tests/threadstate/threadstate4.c:
13532         * tests/threadstate/threadstate5.c:
13533           remove obsolete tests
13534         * configure.ac:
13535         * tests/bench-complexity.scm:
13536         * tests/bench-mass_elements.scm:
13537         * tests/complexity.c:
13538         * tests/complexity.gnuplot:
13539         * tests/instantiate/.cvsignore:
13540         * tests/instantiate/Makefile.am:
13541         * tests/instantiate/caps.c:
13542         * tests/mass_elements.c:
13543         * tests/network-clock-utils.scm:
13544         * tests/network-clock.scm:
13545         * tests/plot-data:
13546         First pass at cleaning up tests/ dir before moving the rest
13547         Combined with CVS surgery
13548
13549 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13550
13551         * po/POTFILES.in:
13552           queue has moved, update
13553
13554 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13555
13556         * docs/gst/gstreamer-sections.txt:
13557           remove double entries from the docs
13558         * gst/gst_private.h:
13559         * gst/gstinfo.c: (_gst_debug_init):
13560           remove the THREAD debug category
13561         * gst/Makefile.am:
13562         * gst/gstqueue.c:
13563         * gst/gstqueue.h:
13564         * docs/gst/gstreamer.types:
13565         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13566         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13567           completely move queue and fix up debugging categories
13568
13569 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13570
13571         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13572           make initialization portable, using LL is not
13573
13574 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13575
13576         * win32/common/gstconfig.h:
13577           add large padding
13578
13579 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13580
13581         * win32/common/libgstreamer.def:
13582           rename symbols; sort base section
13583
13584 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13585
13586         * gst/gstclock.c: (do_linear_regression):
13587           remove crack non-portable handrolled DEBUG macro
13588
13589 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13590
13591         * docs/random/release:
13592           update notes
13593         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13594         (gst_object_flags_get_type), (register_gst_bin_flags),
13595         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13596         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13597         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13598         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13599         (gst_caps_flags_get_type), (register_gst_clock_return),
13600         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13601         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13602         (gst_clock_flags_get_type), (register_gst_state),
13603         (gst_state_get_type), (register_gst_state_change_return),
13604         (gst_state_change_return_get_type), (register_gst_state_change),
13605         (gst_state_change_get_type), (register_gst_element_flags),
13606         (gst_element_flags_get_type), (register_gst_core_error),
13607         (gst_core_error_get_type), (register_gst_library_error),
13608         (gst_library_error_get_type), (register_gst_resource_error),
13609         (gst_resource_error_get_type), (register_gst_stream_error),
13610         (gst_stream_error_get_type), (register_gst_event_type_flags),
13611         (gst_event_type_flags_get_type), (register_gst_event_type),
13612         (gst_event_type_get_type), (register_gst_seek_type),
13613         (gst_seek_type_get_type), (register_gst_seek_flags),
13614         (gst_seek_flags_get_type), (register_gst_format),
13615         (gst_format_get_type), (register_gst_index_certainty),
13616         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13617         (gst_index_entry_type_get_type),
13618         (register_gst_index_lookup_method),
13619         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13620         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13621         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13622         (gst_index_flags_get_type), (register_gst_debug_level),
13623         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13624         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13625         (gst_iterator_result_get_type), (register_gst_iterator_item),
13626         (gst_iterator_item_get_type), (register_gst_message_type),
13627         (gst_message_type_get_type), (register_gst_mini_object_flags),
13628         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13629         (gst_pad_link_return_get_type), (register_gst_flow_return),
13630         (gst_flow_return_get_type), (register_gst_activate_mode),
13631         (gst_activate_mode_get_type), (register_gst_pad_direction),
13632         (gst_pad_direction_get_type), (register_gst_pad_flags),
13633         (gst_pad_flags_get_type), (register_gst_pad_presence),
13634         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13635         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13636         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13637         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13638         (gst_plugin_flags_get_type), (register_gst_rank),
13639         (gst_rank_get_type), (register_gst_query_type),
13640         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13641         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13642         (gst_tag_flag_get_type), (register_gst_task_state),
13643         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13644         (gst_alloc_trace_flags_get_type),
13645         (register_gst_type_find_probability),
13646         (gst_type_find_probability_get_type), (register_gst_uri_type),
13647         (gst_uri_type_get_type), (register_gst_parse_error),
13648         (gst_parse_error_get_type):
13649         * win32/common/gstenumtypes.h:
13650         * win32/common/gstversion.h:
13651           update visual studio generated files
13652
13653 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13654
13655         * win32/vs6/libgstbase.dsp:
13656         * win32/vs6/libgstelements.dsp:
13657           update project files for new locations
13658
13659 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13660
13661         * Makefile.am:
13662           remove some files
13663         * README:
13664           reinstate and update
13665         * DEVEL:
13666         * REQUIREMENTS:
13667           removed
13668         * LICENSE:
13669         * docs/random/LICENSE:
13670           moved to random
13671
13672 2005-11-30  Edward Hervey  <edward@fluendo.com>
13673
13674         * gst/gsttypefind.c: (gst_type_find_register):
13675         * gst/gsttypefind.h:
13676         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13677         (gst_type_find_factory_dispose):
13678         * gst/gsttypefindfactory.h:
13679         Fix memory leak in GstTypeFindFactory.
13680
13681 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13682
13683         * gst/gst.c:
13684         * plugins/elements/Makefile.am:
13685         * plugins/elements/gstelements.c:
13686         * plugins/elements/gstqueue.c:
13687           move queue from core to the elements plugin
13688
13689 2005-11-29  Andy Wingo  <wingo@pobox.com>
13690
13691         * libs/gst/base/gstbasetransform.h: 
13692         * libs/gst/base/gstbasesrc.h: 
13693         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13694
13695         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13696         of pointers by which to pad very extensible base classes (like the
13697         ones in libs/gst/base).
13698
13699 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13700
13701         * docs/gst/gstreamer-docs.sgml:
13702         * docs/gst/gstreamer-sections.txt:
13703         * docs/libs/gstreamer-libs-docs.sgml:
13704         * docs/libs/gstreamer-libs-sections.txt:
13705           moving documentation from core to lib
13706
13707 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13708
13709         * check/Makefile.am:
13710         * configure.ac:
13711         * docs/gst/Makefile.am:
13712         * gst/Makefile.am:
13713         * gst/base/.cvsignore:
13714         * gst/base/Makefile.am:
13715         * gst/base/README:
13716         * gst/base/gstadapter.c:
13717         * gst/base/gstadapter.h:
13718         * gst/base/gstbasesink.c:
13719         * gst/base/gstbasesink.h:
13720         * gst/base/gstbasesrc.c:
13721         * gst/base/gstbasesrc.h:
13722         * gst/base/gstbasetransform.c:
13723         * gst/base/gstbasetransform.h:
13724         * gst/base/gstcollectpads.c:
13725         * gst/base/gstcollectpads.h:
13726         * gst/base/gstpushsrc.c:
13727         * gst/base/gstpushsrc.h:
13728         * gst/base/gsttypefindhelper.c:
13729         * gst/base/gsttypefindhelper.h:
13730         * gst/check/Makefile.am:
13731         * gst/check/gstcheck.c:
13732         * gst/check/gstcheck.h:
13733         * gst/net/Makefile.am:
13734         * gst/net/gstnet.h:
13735         * gst/net/gstnetclientclock.c:
13736         * gst/net/gstnetclientclock.h:
13737         * gst/net/gstnettimepacket.c:
13738         * gst/net/gstnettimepacket.h:
13739         * gst/net/gstnettimeprovider.c:
13740         * gst/net/gstnettimeprovider.h:
13741         * libs/gst/Makefile.am:
13742         * libs/gst/base/Makefile.am:
13743         * libs/gst/base/gstbasetransform.c:
13744         * libs/gst/check/Makefile.am:
13745         * plugins/elements/Makefile.am:
13746         * po/POTFILES.in:
13747           CVS surgery + support to move base, check, and net out of gst
13748           and into libs/gst
13749
13750 2005-11-29  Andy Wingo  <wingo@pobox.com>
13751
13752         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13753
13754         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13755         padding.
13756
13757         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13758
13759         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13760
13761         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13762
13763         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13764         padding; reduces object size by about 30%. We don't expect
13765         anything else to go into gstobject.
13766
13767         * gst/gstminiobject.h (struct _GstMiniObject)
13768         (struct _GstMiniObjectClass): Only one pointer of padding; the
13769         payload is only a pointer and two ints anyway. For the class there
13770         are only two methods as well.
13771         
13772         * gst/gstelement.h (struct _GstElementClass): Removed
13773         the state_changed signal callback, it is not used.
13774
13775 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13776
13777         * docs/gst/gstreamer.types:
13778           fix includes, though they are a little dinky
13779
13780 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13781
13782         * check/Makefile.am:
13783           look in the right place for elements, a lot more chance of
13784           success
13785         * gst/Makefile.am:
13786           remove indexers and elements subdirs
13787         * plugins/Makefile.am:
13788           make indexers conditional
13789
13790 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13791
13792         * Makefile.am:
13793         * configure.ac:
13794         * plugins/elements/Makefile.am:
13795         * plugins/elements/gstcapsfilter.c:
13796         * plugins/elements/gstfilesink.c:
13797         * plugins/elements/gstfilesrc.c:
13798         * plugins/elements/gstidentity.c:
13799         * plugins/indexers/Makefile.am:
13800           do CVS surgery and related build fixery to move elements
13801           and indexers in a new gstreamer/plugins directory, out of the
13802           gst/ directory
13803
13804 2005-11-29  Andy Wingo  <wingo@pobox.com>
13805
13806         * check/Makefile.am:
13807         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13808         * pkgconfig/gstreamer-net.pc.in:
13809         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13810         #322257.
13811
13812 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13813
13814         * tools/Makefile.am:
13815         * tools/gst-complete.1.in:
13816         * tools/gst-complete.c:
13817         * tools/gst-compprep.1.in:
13818         * tools/gst-compprep.c:
13819           removing -compprep and -complete
13820
13821 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13822
13823         * gst/gstevent.c: (gst_event_new_new_segment),
13824         (gst_event_parse_new_segment):
13825         * gst/gstevent.h:
13826           fix #320529 - clean up new_segment API and structure.
13827           Let's hope everyone was using the methods, and not the structure.
13828
13829 2005-11-29  Edward Hervey  <edward@fluendo.com>
13830
13831         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13832         (gst_base_sink_event), (gst_base_sink_do_sync),
13833         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13834         Properly handle non GST_FORMAT_TIME segment
13835         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13836         Properly handle non GST_FORMAT_TIME segment
13837         * gst/gstsegment.c:
13838         This function is valid if the accumulator is 0 and the format
13839         is different from the requested format.
13840         
13841 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13842
13843         * docs/gst/gstreamer-sections.txt:
13844         Add gst_query_new_seeking and gst_query_parse_seeking to the
13845         docs.
13846
13847 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13848
13849         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13850           Treat a pad alloc with new caps the same as if we were not
13851           negotiated, in order to allow a changing upstream output
13852           to produce a new format of data.
13853
13854 2005-11-29  Edward Hervey  <edward@fluendo.com>
13855
13856         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13857         (gst_base_transform_event), (gst_base_transform_eventfunc):
13858         The event virtual method is now properly implemented, with a default
13859         handler
13860         Sub classes should call the parent_class event method. They should
13861         return FALSE if they had a problem handling the given event, or don't
13862         want GstBaseTransform to send that even downstream
13863         * gst/elements/gstidentity.c: (gst_identity_class_init),
13864         (gst_identity_init), (gst_identity_event),
13865         (gst_identity_transform_ip), (gst_identity_set_property),
13866         (gst_identity_get_property):
13867         * gst/elements/gstidentity.h:
13868         Added the single-segment boolean property.
13869         If set to TRUE, it will output a single segment of data, starting from
13870         0, will eat up all incoming newsegment, and modify the timestamp of the
13871         buffers accordingly
13872
13873 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
13874
13875         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13876           Don't ref NULL target pad (#322751). Improve docs.
13877
13878 2005-11-29  Michael Smith  <msmith@fluendo.com>
13879
13880         * gst/gstregistryxml.c: (load_plugin):
13881           Don't crash if we failed to load a feature from a plugin. 
13882
13883 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13884
13885         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13886         (GST_START_TEST):
13887           use more check API and less GLib API
13888
13889 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13890
13891         * Makefile.am:
13892           don't run checks if we don't have check
13893         * common/check.mak:
13894           remove the registry when running make torture
13895         * docs/gst/gstreamer-sections.txt:
13896           remove second multiply
13897         * gst/gstqueue.c: (gst_queue_loop):
13898           fix a compile warning when disabling debug
13899
13900 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13901
13902         * gst/gstinfo.h:
13903         Hey! Let's print the pad name if the pointer != NULL instead
13904         of when it == NULL :-)
13905
13906 2005-11-28  Wim Taymans  <wim@fluendo.com>
13907
13908         * check/gst/gstutils.c: (GST_START_TEST):
13909         Updated check, add some scaling accuracy checking code.
13910
13911         * gst/gstutils.c: (gst_util_div128_64),
13912         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13913         (gst_util_uint64_scale_int):
13914         Fix 6 times faster division code. Optimize for common 
13915         1/1 and less common X/1 cases.
13916
13917 2005-11-28  Wim Taymans  <wim@fluendo.com>
13918
13919         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13920         More checks.
13921
13922         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13923         (do_linear_regression), (gst_clock_add_observation):
13924         Cleanups.
13925         Release lock when the clock cannot be slaved.
13926         Catch the case where the regression returned an invalid denominator.
13927
13928         * gst/gstutils.c: (gst_util_div128_64_iterate),
13929         (gst_util_div128_64), (gst_util_uint64_scale_int64),
13930         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13931         Add protentially more performant non-iterative 128/64 divide function
13932         that unfortunatly does not work yet.
13933         Shortcut the trivial 0/X = 0 case.
13934         Remove the warnings on overflow.
13935
13936 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13937
13938         * gst/gstplugin.c: (gst_plugin_register_func):
13939           everything causing a plugin not to load should be at least a WARNING
13940
13941 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
13942
13943         * docs/random/ensonic/dparams.txt:
13944           some TODOs for the next dev cycle
13945         * libs/gst/controller/gstcontroller.c:
13946         (gst_controlled_property_set_interpolation_mode),
13947         (gst_controlled_property_new):
13948         * libs/gst/controller/gstcontroller.h:
13949           use base type to assign acccessor functions
13950
13951 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13952
13953         * check/Makefile.am:
13954         Oops, that should have been top_srcdir
13955
13956 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13957
13958         * check/Makefile.am:
13959         * check/elements/fdsrc.c: (GST_START_TEST):
13960         Use a cmdline define to specify the location of a file to use for
13961         testing, to avoid breaking distcheck.
13962
13963 2005-11-28  Andy Wingo  <wingo@pobox.com>
13964
13965         * gst/gstpad.c (fixate_value): Use array functions for arrays.
13966
13967 2005-11-28  Edward Hervey  <edward@fluendo.com>
13968
13969         * tools/gst-launch.c: (main):
13970         Clarify the output strings, makes it easier to translate.
13971         Fixes #322626
13972
13973 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13974
13975         * gst/Makefile.am:
13976           don't try and build net if we don't even have <sys/socket.h>
13977
13978 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
13979
13980         * check/Makefile.am:
13981         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13982         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13983           Add tests for fdsrc seekability
13984
13985         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13986         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13987         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13988         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13989         * gst/elements/gstfdsrc.h:
13990           fdsrc should not be a 'live' source.
13991           Implement seeking on seekable fd's.
13992
13993         * gst/gstquery.c: (gst_query_new_seeking),
13994         (gst_query_parse_seeking):
13995         * gst/gstquery.h:
13996           Implement SEEKING query functions: 
13997             *_new_seeking and *_parse_seeking
13998
13999 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14000
14001         * gst/gstelement.c: (gst_element_dispose):
14002           don't loop forever
14003
14004         * gst/gstiterator.c:
14005         * gst/gststructure.c:
14006           doc fixes
14007
14008         * libs/gst/controller/gstcontroller.c:
14009         (gst_controlled_property_set_interpolation_mode):
14010         * libs/gst/controller/gstcontroller.h:
14011         * libs/gst/controller/gstinterpolation.c:
14012         (interpolate_none_get_enum_value_array):
14013           support controlling enums
14014
14015 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14016
14017         * gst/gstvalue.c:
14018           Improve documentation for gst_value_union().
14019
14020         * gst/gstvalue.h:
14021           Change return value for union, intersect and subtract functions
14022           from gint to gboolean.
14023
14024 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14025
14026         * gst/gstvalue.c: (gst_value_serialize_any_list),
14027         (gst_value_transform_any_list_string),
14028         (gst_value_deserialize_list), (gst_value_deserialize_array),
14029         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14030         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14031         (gst_value_set_fraction_range_full),
14032         (gst_value_deserialize_fraction_range),
14033         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14034         (gst_value_deserialize_boolean),
14035         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14036         (gst_value_serialize_float), (gst_value_deserialize_float),
14037         (gst_string_wrap), (gst_value_deserialize_string),
14038         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14039         (gst_value_union_int_range_int_range),
14040         (gst_value_intersect_int_range_int_range),
14041         (gst_value_intersect_double_range_double_range),
14042         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14043         (gst_value_subtract_int_range_int_range),
14044         (gst_value_subtract_double_double_range),
14045         (gst_value_subtract_double_range_double_range),
14046         (gst_value_deserialize_fraction):
14047         * gst/gstvalue.h:
14048           Use gint, gdouble and gchar in our API instead of int, double and
14049           char (and make usage in gstvalue.c more consistent).
14050
14051 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14052
14053         * check/Makefile.am:
14054         * libs/gst/controller/Makefile.am:
14055         * libs/gst/dataprotocol/Makefile.am:
14056           fix up Makefile.am and remove GST_ENABLE_NEW
14057
14058 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14059
14060         * configure.ac:
14061         * gst/Makefile.am:
14062         * gst/base/Makefile.am:
14063         * gst/check/Makefile.am:
14064         * gst/elements/Makefile.am:
14065         * gst/net/Makefile.am:
14066           update LDFLAGS use some more
14067
14068 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14069
14070         * common/m4/gst-doc.m4:
14071           Fixes #312589
14072
14073 2005-11-26  Edward Hervey  <edward@fluendo.com>
14074
14075         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14076         This shouldn't issue a g_warning since it returns NULL if it
14077         couldn't find the plugin, and all functions using this behave
14078         properly on a NULL return. Switching to a GST_WARNING.
14079
14080 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14081
14082         * gst/gstbin.c: (gst_bin_handle_message_func):
14083         Don't leak clock messages.
14084
14085 2005-11-25  Wim Taymans  <wim@fluendo.com>
14086
14087         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14088         (gst_util_uint64_scale_int):
14089         Optimisations, remove unneeded vars.
14090
14091 2005-11-25  Wim Taymans  <wim@fluendo.com>
14092
14093         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14094         Added more checks for the high precision uint64 cases.
14095
14096         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14097         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14098         Implement high precision (guint64 * guint64) / guint64.
14099
14100 2005-11-24  Wim Taymans  <wim@fluendo.com>
14101
14102         * gst/base/gstbasesrc.c: (gst_base_src_query):
14103         Fix wrong percentage query.
14104
14105         * gst/gstutils.c: (gst_util_uint64_scale),
14106         (gst_util_uint64_scale_int):
14107         Add some more common cases that can be handled 
14108         efficiently to _scale.
14109
14110 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14111
14112         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14113         (gst_mini_object_suite):
14114           don't use check calls from threads; check probably isn't
14115           threadsafe and using a lock to make it threadsafe would
14116           defeat the purpose of this check
14117         * gst/check/gstcheck.c:
14118         * gst/check/gstcheck.h:
14119           use GST_DEBUG some more
14120
14121 2005-11-24  Wim Taymans  <wim@fluendo.com>
14122
14123         * gst/gstutils.c: (gst_util_uint64_scale),
14124         (gst_util_uint64_scale_int):
14125         Chain trivial case to _scale_int.
14126
14127 2005-11-24  Wim Taymans  <wim@fluendo.com>
14128
14129         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14130         Added test for scaling.
14131
14132         * gst/gstclock.h:
14133         Small doc fix.
14134
14135         * gst/gstutils.c: (gst_util_uint64_scale_int):
14136         Implemented high precision scaling code.
14137
14138 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14139
14140         * gst/gstinfo.h:
14141           do not crash on pad==NULL
14142
14143 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14144
14145         Patch by: Stefan Kost
14146
14147         * common/gtk-doc.mak:
14148         * docs/gst/Makefile.am:
14149         * docs/libs/Makefile.am:
14150           Fix distcheck issues for the libraries docs build
14151           Closes #319599.
14152
14153 2005-11-24  Michael Smith <msmith@fluendo.com>
14154
14155         * docs/manual/basics-helloworld.xml:
14156           Fix bug #315027: memory leak in example code in docs.
14157
14158 2005-11-24  Michael Smith <msmith@fluendo.com>
14159
14160         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14161           Unlock the PREROLL_LOCK in a failure case.
14162
14163 2005-11-24  Wim Taymans  <wim@fluendo.com>
14164
14165         * docs/gst/gstreamer-sections.txt:
14166         * gst/base/gstadapter.h:
14167         * gst/base/gstbasesink.h:
14168         * gst/base/gstbasesrc.h:
14169         * gst/base/gstbasetransform.h:
14170         * gst/base/gstpushsrc.h:
14171         * gst/elements/gstfakesink.h:
14172         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14173         * gst/elements/gstfakesrc.h:
14174         * gst/elements/gstfilesink.h:
14175         * gst/elements/gstfilesrc.h:
14176         * gst/gst.c:
14177         * gst/gstbin.c:
14178         * gst/gstbuffer.c: (_gst_buffer_copy):
14179         * gst/gstbus.h:
14180         * gst/gstcaps.c:
14181         * gst/gstchildproxy.c:
14182         * gst/gstclock.c:
14183         * gst/gstelement.c:
14184         * gst/gstelementfactory.c:
14185         * gst/gstelementfactory.h:
14186         * gst/gstevent.c:
14187         * gst/gstghostpad.h:
14188         * gst/gstindex.h:
14189         * gst/gstinterface.h:
14190         * gst/gstminiobject.c:
14191         * gst/gstminiobject.h:
14192         * gst/gstpad.c:
14193         * gst/gstpad.h:
14194         * gst/gstpadtemplate.h:
14195         * gst/gstpipeline.h:
14196         * gst/gstpluginfeature.h:
14197         * gst/gstquery.h:
14198         * gst/gstqueue.h:
14199         * gst/gsttaglist.c:
14200         * gst/gsttaglist.h:
14201         * gst/gsttagsetter.c:
14202         * gst/gsttagsetter.h:
14203         * gst/gsttrace.c:
14204         * gst/gsttrace.h:
14205         * gst/gsttypefind.h:
14206         * gst/gsturi.h:
14207         * gst/gstvalue.c:
14208         * gst/net/gstnetclientclock.c:
14209         * gst/net/gstnetclientclock.h:
14210         * gst/net/gstnettimepacket.c:
14211         * gst/net/gstnettimeprovider.c:
14212         * gst/net/gstnettimeprovider.h:
14213         Doc fixes.
14214
14215 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14216
14217         * configure.ac: back to HEAD
14218
14219 === release 0.9.6 ===
14220
14221 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14222
14223         * configure.ac:
14224           releasing 0.9.6, "Always On Time"
14225
14226 2005-11-23  Wim Taymans  <wim@fluendo.com>
14227
14228         * docs/gst/gstreamer-sections.txt:
14229         * gst/glib-compat.c:
14230         * gst/gsttagsetter.c:
14231         * gst/gstvalue.c:
14232         * gst/net/gstnetclientclock.c:
14233         * gst/net/gstnettimepacket.h:
14234         Doc updates.
14235
14236 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14237
14238         * docs/faq/using.xml:
14239         * docs/libs/tmpl/gstcontrol.sgml:
14240         * docs/manual/advanced-dparams.xml:
14241         * docs/manual/appendix-checklist.xml:
14242         * docs/manual/basics-elements.xml:
14243         * docs/pwg/other-source.xml:
14244         * docs/random/moving-plugins:
14245         * gst/gstpad.c:
14246         * tools/gst-launch.1.in:
14247           remove mentions of sinesrc
14248
14249 2005-11-23  Michael Smith <msmith@fluendo.com>
14250
14251         * docs/gst/gstreamer-sections.txt:
14252           Update for new API and API changes.
14253         * gst/gstobject.h:
14254           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14255         * gst/gstvalue.c:
14256           Documentation typo fix.
14257         * gst/net/gstnettimepacket.c:
14258           Documentation fixes for arguments.
14259
14260 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14261
14262         * gst/gststructure.c: (gst_structure_get_fraction),
14263         (gst_structure_parse_value),
14264         (gst_structure_fixate_field_nearest_fraction):
14265         * gst/gststructure.h:
14266         * gst/gstutils.c: (gst_util_uint64_scale_int):
14267         * gst/gstutils.h:
14268         * scripts/update-funcnames:
14269         API Changes. 
14270         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14271         Make gst_structure_fixate_field_nearest_fraction take a numerator
14272         and denominator argument instead of a GValue
14273         add gst_structure_get_fraction helper function.
14274
14275 2005-11-23  Wim Taymans  <wim@fluendo.com>
14276
14277         * docs/design/part-TODO.txt:
14278         Update TODO.
14279
14280         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14281         * gst/net/gstnetclientclock.h:
14282         Use parent fields for timeout and window_size.
14283
14284 2005-11-23  Andy Wingo  <wingo@pobox.com>
14285
14286         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14287         rate_num/rate_denom change.
14288
14289         * gst/net/gstnetclientclock.c
14290         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14291         OBJECT_LOCK. Don't call add_observation with the lock.
14292
14293         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14294         fraction.
14295         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14296         rate fraction.
14297         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14298         deal with rate as a fraction whose numerator and denominator are
14299         GstClockTime values.
14300         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14301         master; the other fields are protected by the SLAVE_LOCK.
14302         (do_linear_regression): Note that this must be called with the
14303         SLAVE_LOCK.
14304         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14305         OBJECT_LOCK. Call set_calibration instead of touching the
14306         variables directly.
14307         (gst_clock_set_property, gst_clock_get_property): Protect
14308         master/slave parameters with the SLAVE_LOCK.
14309
14310         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14311         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14312         note that all of the instance variables that add_observation and
14313         the set_master functions use are protected by that lock and not
14314         the OBJECT_LOCK.
14315         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14316
14317         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14318         the caller to take the object lock.
14319
14320 2005-11-23  Wim Taymans  <wim@fluendo.com>
14321
14322         * gst/gsterror.c: (_gst_core_errors_init):
14323         * gst/gsterror.h:
14324         Add error for clock stuff.
14325
14326         * gst/gstpipeline.c: (gst_pipeline_change_state),
14327         (gst_pipeline_set_clock):
14328         Post clock error when clock cannot be used in a pipeline.
14329
14330 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14331
14332         * docs/gst/gstreamer-sections.txt:
14333           make two symbols from gstinfo private for the docs
14334         * gst/base/gstcollectpads.h:
14335         * gst/gstutils.c:
14336           fix doc typos, update docs
14337
14338 2005-11-22  Wim Taymans  <wim@fluendo.com>
14339
14340         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14341         (gst_base_sink_wait), (gst_base_sink_do_sync),
14342         (gst_base_sink_handle_event):
14343         * gst/base/gstbasesink.h:
14344         No need to store the clock, the parent element class already
14345         has it.
14346
14347         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14348         Updates for clock_set returning a gboolean
14349
14350         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14351         (gst_clock_id_wait_async), (gst_clock_class_init),
14352         (gst_clock_init), (gst_clock_finalize),
14353         (gst_clock_get_internal_time), (gst_clock_get_time),
14354         (gst_clock_slave_callback), (gst_clock_set_master),
14355         (gst_clock_get_master), (do_linear_regression),
14356         (gst_clock_add_observation), (gst_clock_set_property),
14357         (gst_clock_get_property):
14358         * gst/gstclock.h:
14359         Implement master/slave. When setting a clock as a slave, a
14360         periodic timeout is scheduled to sample master and slave times.
14361         Then the slave clock is recalibrated to match offset and rate
14362         of the master clock.
14363         Update logging a bit.
14364         Add flag so that a clock can state that is cannot be slaved to
14365         another clock.
14366
14367         * gst/gstelement.c: (gst_element_set_clock):
14368         * gst/gstelement.h:
14369         The set clock returns a gboolean for when an element cannot
14370         deal with the selected clock in the pipeline. 
14371
14372         * gst/gstpipeline.c: (gst_pipeline_change_state),
14373         (gst_pipeline_set_clock):
14374         * gst/gstpipeline.h:
14375         Handle the case where the selected clock cannot be set on
14376         the pipeline.
14377
14378         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14379         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14380         (gst_net_client_clock_set_property),
14381         (gst_net_client_clock_get_property),
14382         (gst_net_client_clock_observe_times):
14383         * gst/net/gstnetclientclock.h:
14384         Use regression code in GstClock parent, remove duplicated
14385         functionality.
14386
14387 2005-11-22  Michael Smith <msmith@fluendo.com>
14388
14389         * gst/gstutils.c: (gst_util_clock_time_scale):
14390         * gst/gstutils.h:
14391         * docs/gst/gstreamer-sections.txt:
14392           Rename method to have extra underscore.
14393
14394 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14395
14396         * gst/elements/Makefile.am:
14397         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14398         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14399         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14400         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14401         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14402         * gst/elements/gstfakesrc.h:
14403         * gst/gstqueue.c: (queue_leaky_get_type):
14404           correctly fix GEnumValues so that nick is the short lowercase
14405           dashed tag
14406         * tools/gst-inspect.c: (print_element_properties_info):
14407           also show the nick, since it's useful to use from parse_launch
14408           syntax
14409           Fixes #322139
14410
14411 2005-11-22  Michael Smith <msmith@fluendo.com>
14412
14413         * gst/gstutils.c: (gst_util_clocktime_scale):
14414         * gst/gstutils.h:
14415         * docs/gst/gstreamer-sections.txt:
14416           Add util method for scaling a clocktime by a fraction. Useful 
14417           implementation is left as an exercise for the reader.
14418
14419 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14420
14421         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14422         If needed, allocate storage in the destination value during
14423         collection.
14424
14425 2005-11-22  Edward Hervey  <edward@fluendo.com>
14426
14427         * docs/gst/gstreamer-sections.txt:
14428         * gst/Makefile.am:
14429         * gst/gst.h:
14430         * gst/gsturitype.c:
14431         * gst/gsturitype.h:
14432         * gst/gstutils.c: (gst_util_set_object_arg):
14433         * tools/gst-compprep.c: (main):
14434         * tools/gst-inspect.c: (print_element_properties_info):
14435         Removed GstURI, closes bug #321061
14436
14437 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14438
14439         * check/gst/gststructure.c: (GST_START_TEST):
14440         * gst/gststructure.c: (gst_structure_parse_value):
14441           Oops, broke automatic string type parsing.
14442           Add a test to catch it in future.
14443
14444 2005-11-22  Andy Wingo  <wingo@pobox.com>
14445
14446         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14447         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14448         Actually rename the function implementations. Grr.
14449
14450 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14451
14452         * check/gst/capslist.h:
14453           Comment test cases
14454         * check/gst/gststructure.c: (GST_START_TEST),
14455         (gst_structure_suite):
14456           Test automatic value type detection in gst_structure_from_string.
14457         * gst/gststructure.c: (gst_structure_parse_value):
14458           Add fraction as a type we try and guess automatically in
14459           caps/structure strings.
14460
14461 2005-11-22  Andy Wingo  <wingo@pobox.com>
14462
14463         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14464
14465         * gst/gsttagsetter.h:
14466         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14467         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14468         (gst_tag_setter_add_tag_valist)
14469         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14470         _add_values, _add_valist, and _add_valist_values. Since this is an
14471         interface the function suffixes should be more explicit so
14472         language binding don't end up with element.add_valist ->
14473         gst_tag_setter_add_valist, for example. Fixes #322069.
14474
14475 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14476
14477         * check/gst/gstcaps.c: (GST_START_TEST):
14478           Extend caps string tests to check that a caps to string
14479           conversion is reversible and produces the same caps.
14480
14481         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14482           Output "fraction" as the generic type fraction range, so caps
14483           serialisation and deserialisation works.
14484         * check/gst/capslist.h:
14485         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14486           Support 'MIN' and 'MAX' for deserialising fractions.
14487
14488 2005-11-22  Andy Wingo  <wingo@pobox.com>
14489
14490         * gst/gstevent.h (gst_event_new_new_segment)
14491         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14492         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14493         Renamed from *_newsegment, *_buffersize, *_notarget.
14494
14495         * scripts/update-funcnames: New script, performs the changes
14496         listed above.
14497
14498 2005-11-22  Wim Taymans  <wim@fluendo.com>
14499
14500         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14501         Make sure the GstFlowReturn is returned.
14502
14503         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14504         (gst_bus_add_signal_watch):
14505         * gst/gstbus.h:
14506         add gst_bus_add_signal_watch_full.
14507
14508         * gst/gstplugin.c: (gst_plugin_load_file):
14509         Small style cleanup.
14510
14511 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14512
14513         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14514           Block the fakesrc srcpad when we send an event, to avoid
14515           contention on the stream_lock causing random test failures.
14516
14517 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14518
14519         * check/gst/gstvalue.c: (GST_START_TEST):
14520         * gst/gstvalue.c: (gst_value_fraction_subtract):
14521           Fix subtraction.
14522
14523 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14524
14525         * gst/gst.h:
14526           include "gstchildproxy.h"
14527         * gst/gstchildproxy.h:
14528         * libs/gst/controller/gstcontroller.h:
14529           use G_GNUC_NULL_TERMINATED
14530
14531 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14532
14533         * check/gst/capslist.h:
14534         * check/gst/gstcaps.c: (GST_START_TEST):
14535         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14536         * gst/gststructure.c: (gst_structure_parse_range),
14537         (gst_structure_fixate_field_nearest_fraction):
14538         * gst/gststructure.h:
14539         * gst/gstvalue.c: (gst_value_init_fraction_range),
14540         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14541         (gst_value_collect_fraction_range),
14542         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14543         (gst_value_set_fraction_range_full),
14544         (gst_value_get_fraction_range_min),
14545         (gst_value_get_fraction_range_max),
14546         (gst_value_serialize_fraction_range),
14547         (gst_value_transform_fraction_range_string),
14548         (gst_value_compare_fraction_range),
14549         (gst_value_deserialize_fraction_range),
14550         (gst_value_intersect_fraction_fraction_range),
14551         (gst_value_intersect_fraction_range_fraction_range),
14552         (gst_value_subtract_fraction_fraction_range),
14553         (gst_value_subtract_fraction_range_fraction),
14554         (gst_value_subtract_fraction_range_fraction_range),
14555         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14556         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14557         (gst_value_transform_string_fraction), (_gst_value_initialize):
14558         * gst/gstvalue.h:
14559           Implement fraction ranges and extend GstFraction to support
14560           arithmetic subtraction, as well as deserialization from integer
14561           strings such as "100"
14562           Add a testsuite as for int and double range set operations
14563
14564 2005-11-21  Andy Wingo  <wingo@pobox.com>
14565
14566         * gst/gsttaglist.h: 
14567         * gst/gstcaps.h: 
14568         * gst/gststructure.h: Add glib-compat.h.
14569
14570 2005-11-21  Wim Taymans  <wim@fluendo.com>
14571
14572         * gst/gstbin.c: (gst_bin_change_state_func):
14573         Fix for #321595
14574
14575 2005-11-21  Wim Taymans  <wim@fluendo.com>
14576
14577         * gst/gstsegment.h:
14578         And add a nice define too.
14579
14580 2005-11-21  Wim Taymans  <wim@fluendo.com>
14581
14582         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14583         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14584         (gst_segment_set_duration), (gst_segment_set_last_stop),
14585         (gst_segment_set_seek), (gst_segment_set_newsegment),
14586         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14587         (gst_segment_clip):
14588         * gst/gstsegment.h:
14589         Make binding friendly.
14590
14591 2005-11-21  Andy Wingo  <wingo@pobox.com>
14592
14593         * gst/gsttagsetter.h: 
14594         * gst/gsttaglist.h: 
14595         * gst/gststructure.h: 
14596         * gst/gstcaps.h: 
14597         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14598         #319940.
14599
14600         * gst/gsterror.c (_gst_core_errors_init):
14601         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14602         category.
14603
14604         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14605         (noinst_HEADERS): noinst the -private.
14606
14607 2005-11-21  Michael Smith <msmith@fluendo.com>
14608
14609         * gst/gstplugin.h:
14610         * gst/gstregistry.h:
14611           Remove unimplemented declarations for which we can see no sensible
14612           use.
14613
14614 2005-11-21  Andy Wingo  <wingo@pobox.com>
14615
14616         * gst/gst.h: Include glib-compat.h.
14617
14618         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14619
14620         * gst/glib-compat.c: Include the public and the private header.
14621
14622         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14623
14624         * gst/gstvalue.c: 
14625         * gst/gstpad.c: 
14626         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14627
14628         * check/gst/gstevent.c (create_custom_events): Check that
14629         FLUSH_STOP is serialized.
14630
14631         * check/elements/identity.c (event_func): 
14632         * check/elements/fakesrc.c (event_func): No stream lock, the core
14633         takes it.
14634
14635         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14636         stream lock taking, yay.
14637
14638         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14639         ensure that core takes the stream lock.
14640
14641         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14642         lock name change.
14643
14644         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14645         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14646         it already. For the flush start we do take it though so we get the
14647         right preroll state change messages.
14648
14649         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14650         the stream lock here, the core does it for us.
14651
14652         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14653         GST_STREAM_GET_LOCK.
14654         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14655         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14656         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14657         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14658         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14659         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14660
14661         * gst/gstpad.c: Update for stream lock name change.
14662
14663         * gst/base/gstbasesink.c: Update for preroll lock name change.
14664
14665 2005-11-21  Wim Taymans  <wim@fluendo.com>
14666
14667         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14668         (gst_clock_get_master):
14669         * gst/gstclock.h:
14670         * gst/gstsystemclock.c: (gst_system_clock_init):
14671         Convert Clock flags to object flags.
14672         Added methods to manage master/slave clocks.
14673
14674 2005-11-21  Wim Taymans  <wim@fluendo.com>
14675
14676         * check/gst/gstsegment.c: (GST_START_TEST):
14677         * docs/design/part-TODO.txt:
14678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14679         (gst_base_sink_event), (gst_base_sink_do_sync),
14680         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14681         (gst_base_sink_query), (gst_base_sink_change_state):
14682         * gst/base/gstbasesink.h:
14683         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14684         (gst_base_src_default_newsegment),
14685         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14686         (gst_base_src_get_range), (gst_base_src_loop),
14687         (gst_base_src_change_state):
14688         * gst/base/gstbasesrc.h:
14689         * gst/base/gstbasetransform.c:
14690         (gst_base_transform_prepare_output_buf),
14691         (gst_base_transform_event), (gst_base_transform_change_state):
14692         * gst/base/gstbasetransform.h:
14693         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14694         (gst_collect_pads_event):
14695         * gst/base/gstcollectpads.h:
14696         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14697         (gst_fake_src_create):
14698         * gst/elements/gstfakesrc.h:
14699         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14700         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14701         (gst_segment_set_last_stop), (gst_segment_set_seek),
14702         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14703         (gst_segment_to_running_time), (gst_segment_clip):
14704         * gst/gstsegment.h:
14705         More segment updates, replace code in plugins with segment
14706         helper functions.
14707
14708 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14709
14710         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14711         Don't ignore sscanf results
14712
14713 2005-11-21  Andy Wingo  <wingo@pobox.com>
14714
14715         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14716
14717         * *.h:
14718         * *.c: Ran scripts/update-macros. Oh yes.
14719
14720         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14721         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14722         GST_GET_LOCK, etc.
14723
14724         * scripts/update-macros: New script. Run it on your files to
14725         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14726         well.
14727
14728 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14729
14730         * docs/gst/Makefile.am:
14731         * docs/gst/gstreamer-docs.sgml:
14732         * docs/gst/gstreamer-sections.txt:
14733         * docs/gst/gstreamer.types:
14734         * gst/gstinfo.h:
14735           more docs fixes, add new api to the docs
14736
14737 2005-11-21  Andy Wingo  <wingo@pobox.com>
14738
14739         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14740         state_broadcast call.
14741
14742         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14743
14744 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14745
14746         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14747         function calls for arrays.
14748
14749 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14750
14751         * docs/random/ensonic/media-device-daemon.txt:
14752           wild idea, can this be done?
14753         * docs/gst/gstreamer-sections.txt:
14754         * gst/gsterror.h:
14755         * gst/gstfilter.c:
14756         * gst/gstfilter.h:
14757         * gst/gstplugin.h:
14758         * gst/gstpluginfeature.c:
14759         * gst/gsttrace.c:
14760         * gst/gstvalue.c:
14761         * gst/gstvalue.h:
14762           doc fixes and additions
14763
14764 2005-11-21  Andy Wingo  <wingo@pobox.com>
14765
14766         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14767         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14768         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14769         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14770         private to the basesrc implementation.
14771
14772         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14773         behalf of event function if necessary. It should no longer be
14774         necessary to take the stream lock in pad's event functions. Fixes
14775         #320299.
14776
14777 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14778         * docs/gst/gstreamer-sections.txt:
14779         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14780         (gst_structure_fixate_field_nearest_double),
14781         (gst_structure_fixate_field_boolean):
14782         * gst/gststructure.h:
14783         * win32/common/libgstreamer.def:
14784         * win32/gstreamer.def:
14785
14786         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14787         (#322027)
14788
14789 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14790
14791         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14792         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14793         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14794         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14795         (gst_fdsrc_uri_handler_init):
14796         * gst/elements/gstfdsrc.h:
14797           Port fd:// URI handler from 0.8 to fdsrc
14798
14799 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14800
14801         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14802         (gst_value_serialize_fourcc):
14803         * gst/gstvalue.h:
14804           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14805           consistent with our other format defines (#320324).
14806
14807 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14808
14809         * gst/gstvalue.c: (gst_value_is_fixed):
14810           Revert previous commit. Value lists are by definition
14811           not fixed, as they are a list of possible values.
14812
14813 2005-11-21  Andy Wingo  <wingo@pobox.com>
14814
14815         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14816         during the stable series if we need it. Fixes #319178.
14817
14818         * gst/gstevent.c (gst_event_new_filler): Removed.
14819
14820         * check/gst/gstevent.c: Update comment about filler events.
14821
14822 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14823
14824         * gst/gstvalue.c: (gst_value_is_fixed):
14825           Should handle both value arrays and value lists.
14826
14827 2005-11-21  Andy Wingo  <wingo@pobox.com>
14828
14829         patch by: Alessandro Dessina <alessandro nnva org>
14830
14831         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14832         functions to access arrays. Fixes #321962.
14833
14834 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14835
14836         * docs/gst/gstreamer.types:
14837           gst_collectpads_get_type => gst_collect_pads_get_type.
14838           
14839         * gst/base/gstbasetransform.c:
14840           Remove unused SIGNAL_HANDOFF enum.
14841
14842 2005-11-21  Andy Wingo  <wingo@pobox.com>
14843
14844         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14845         the event type (upstream, downstream, serialized). Renamed
14846         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14847         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14848         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14849
14850         * gst/gstevent.c: Update for new CUSTOM event names.
14851
14852         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14853
14854         * gst/gstevent.h:
14855         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14856         bug #319392.
14857
14858 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14859
14860         * docs/gst/gstreamer-sections.txt:
14861         * win32/common/libgstbase.def:
14862         * win32/libgstbase.def:
14863         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14864         (gst_collect_pads_class_init), (gst_collect_pads_init),
14865         (gst_collect_pads_finalize), (gst_collect_pads_new),
14866         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14867         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14868         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14869         (gst_collect_pads_start), (gst_collect_pads_stop),
14870         (gst_collect_pads_peek), (gst_collect_pads_pop),
14871         (gst_collect_pads_available), (gst_collect_pads_read),
14872         (gst_collect_pads_flush), (gst_collect_pads_event),
14873         (gst_collect_pads_chain):
14874         * gst/base/gstcollectpads.h:
14875           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14876           unimplemented functions as unimplemented. Add padding to
14877           GstCollectData. (#320766, #320423)
14878
14879 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14880
14881         * gst/gstmessage.c:
14882           Improve docs for DURATION message (usage of duration parameter)
14883           (#320113)
14884
14885 2005-11-20  Wim Taymans  <wim@fluendo.com>
14886
14887         * check/Makefile.am:
14888         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14889         (main):
14890         * gst/Makefile.am:
14891         * gst/gst.h:
14892         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14893         (gst_segment_set_seek), (gst_segment_set_newsegment),
14894         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14895         (gst_segment_clip):
14896         * gst/gstsegment.h:
14897         Added segment helper structure and methods. Not fully implemented
14898         yet.
14899         Added segment check.
14900
14901 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
14902
14903         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14904           Add a deserialisation test for fractions
14905         * examples/metadata/read-metadata.c: (message_loop),
14906         (make_pipeline), (main):
14907           Fix up metadata reading sample.
14908         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14909           Debug format fix
14910         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14911           Don't try and fixate empty caps
14912         * gst/gst_private.h:
14913           Wrap in G_BEGIN_DECLS/G_END_DECLS
14914         * gst/gstvalue.c: (gst_value_collect_fraction),
14915         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14916         (gst_value_transform_string_fraction),
14917         (gst_value_compare_fraction):
14918           Add some extra guards to ensure that we don't end up 
14919           with an invalid denominator of 0 in a gstfraction and
14920           that fractions always get reduced.
14921
14922 2005-11-20  Wim Taymans  <wim@fluendo.com>
14923
14924         * docs/gst/gstreamer-sections.txt:
14925         * gst/gstbuffer.h:
14926         * gst/gstelement.c:
14927         * gst/gstformat.c:
14928         * gst/gstformat.h:
14929         * gst/gstindex.h:
14930         * gst/gstquery.c:
14931         * gst/gstquery.h:
14932         * gst/gstvalue.c:
14933         Doc fixes.
14934
14935 2005-11-20  Wim Taymans  <wim@fluendo.com>
14936
14937         * docs/design/part-TODO.txt:
14938         * gst/gstcaps.h:
14939         Make a proper enum of the flag.
14940
14941 2005-11-19  Wim Taymans  <wim@fluendo.com>
14942
14943         * docs/design/part-TODO.txt:
14944         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14945         (gst_format_to_quark), (gst_format_register):
14946         * gst/gstformat.h:
14947         * gst/gstquery.c: (_gst_query_initialize),
14948         (gst_query_type_get_name), (gst_query_type_to_quark),
14949         (gst_query_type_register):
14950         * gst/gstquery.h:
14951         Add type to quark and type to string conversions.
14952
14953 2005-11-19  Andy Wingo  <wingo@pobox.com>
14954
14955         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14956         #320097.
14957
14958 2005-11-19  Wim Taymans  <wim@fluendo.com>
14959
14960         * docs/design/part-TODO.txt:
14961         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14962         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14963         (gst_bin_handle_message_func):
14964         * gst/gstbin.h:
14965         Make message handling overridable.
14966
14967 2005-11-19  Andy Wingo  <wingo@pobox.com>
14968
14969         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14970
14971         * gst/gstclock.h:
14972         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14973         be a GstClockTime.
14974         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14975         is a GstClockTime. Fixes #321710.
14976
14977         * gst/gstclock.h (GstClock): Remove offset property. Add
14978         internal_calibration and external_calibration. Fix padding. Pad
14979         also by GstClockTime so we don't run into problems.
14980
14981         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14982         (gst_clock_get_rate_offset): Remove.
14983         (gst_clock_set_time_adjust): Remove. Fixes #321712.
14984
14985         * gst/gstutils.h:
14986         * gst/gstutils.c (g_static_rec_cond_wait)
14987         (g_static_rec_cond_timed_wait): Removed, no longer needed.
14988
14989         * gst/gstbin.c: Remove terrible continue_state prototype.
14990
14991         * gst/gstelement.h (gst_element_continue_state): Make public.
14992
14993         * gst/gstelement.h:
14994         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14995         by continue_state. Fixes #319389.
14996
14997         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14998         Really fixes #168438. However I don't see anywhere where the
14999         filter function is called... stupid GStreamer...
15000         
15001         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15002         don't have a dispose function, so it won't get called when the
15003         object is unreffed, but oh well!
15004
15005         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15006         allows a destroy function to be set so user_data can be freed.
15007         Fixes #168438.
15008         (gst_index_set_filter): Call gst_index_set_filter_full.
15009
15010         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15011
15012         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15013         string should produce an error, given the lack of a way to
15014         represent NULL strings. Fixes #165650.
15015         
15016         * gst/gstvalue.h: 
15017         * gst/gstvalue.c (gst_value_array_append_value) 
15018         (gst_value_array_prepend_value, gst_value_array_get_size) 
15019         (gst_value_array_get_value): New API, copied from
15020         gst_value_list_*, only operates on arrays.
15021         (gst_value_list_append_value, gst_value_list_prepend_value) 
15022         (gst_value_list_concat, gst_value_list_get_size) 
15023         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15024
15025         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15026         init_list, because it works on both.
15027         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15028         (gst_value_copy_list_or_array): Renamed from copy_list.
15029         (gst_value_free_list_or_array): Renamed from free_list.
15030         (gst_value_collect_list_or_array): Renamed from collect_list.
15031         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15032         (gst_value_list_or_array_peek_pointer): Renamed from
15033         list_peek_pointer.
15034         (_gst_value_array_value_table, _gst_value_list_value_table):
15035         Update value table functions.
15036         (gst_value_compare_list_or_array): Renamed from compare_list.
15037
15038         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15039         some constness.
15040
15041         * gst/gsttaglist.c:
15042         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15043         GstTagList*. Fixes #143472.
15044
15045         * gst/gststructure.h: Clarify what the foreach/map functions can
15046         or can't do to their arguments.
15047
15048 2005-11-18  Wim Taymans  <wim@fluendo.com>
15049
15050         * gst/gstclock.c: (gst_clock_set_calibration),
15051         (gst_clock_get_calibration):
15052         Doc and API fixes.
15053         Calibration can be set with internal time equal to current
15054         internal time too.
15055
15056 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15057
15058         * gst/gsterror.c:
15059         * gst/gsterror.h:
15060           document
15061
15062 2005-11-18  Andy Wingo  <wingo@pobox.com>
15063
15064         * configure.ac: 
15065         * pkgconfig/gstreamer-net.pc.in:
15066         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15067         * pkgconfig/Makefile.am: Add net pkgconfig files.
15068
15069 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15070
15071         * gst/gstcaps.c:
15072         * gst/gstghostpad.c:
15073         * gst/gsttrace.c:
15074         * gst/gstvalue.c:
15075         * gst/gstvalue.h:
15076           docs fixes
15077
15078 2005-11-18  Andy Wingo  <wingo@pobox.com>
15079
15080         * gst/net/gstnetclientclock.c: Turn off debugging.
15081
15082         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15083         times connverge somewhat. Can't make a real test.
15084
15085         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15086         integer arithmetic. Return the minimum of the domain, which can be
15087         set as "internal" for gst_clock_set_calibration.
15088         (gst_net_client_clock_observe_times): Call _set_calibration.
15089         (gst_net_client_clock_new): Call _set_calibration instead of
15090         rate_offset.
15091
15092         * check/net/gstnetclientclock.c (test_functioning): Use the right
15093         adjustment api.
15094
15095         * gst/gstclock.h:
15096         * gst/gstclock.c (gst_clock_get_calibration) 
15097         (gst_clock_set_calibration): New functions, obsolete the ones I
15098         added yesterday. Doh. Precision issues mean we have to extrapolate
15099         from a point in the more recent past than 1970.
15100         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15101         obsolete.
15102         (gst_clock_adjust_unlocked): Use the right calibration data.
15103
15104 2005-11-18  Edward Hervey  <edward@fluendo.com>
15105
15106         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15107         Also reset the ->current_* values in READY->PAUSED
15108
15109 2005-11-18  Andy Wingo  <wingo@pobox.com>
15110
15111         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15112         Whoops, check the right fd. Also add some debugging.
15113         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15114         (do_linear_regression): Add a crapload of debugging. Subtract off
15115         the minimum values from the input series to discard unneeded bits.
15116         Use only int arithmetic. There is still double arithmetic when
15117         calculating the intercept that needs fixing. Return boolean to
15118         indicate success; FALSE would mean the domain or range is too
15119         great. Still needs fixes.
15120
15121 2005-11-18  Wim Taymans  <wim@fluendo.com>
15122
15123         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15124         For the current position in stream time, we need to subtract
15125         accumulated time.
15126         
15127         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15128         Release lock before calling the callback function of async
15129         entries.
15130
15131 2005-11-18  Andy Wingo  <wingo@pobox.com>
15132
15133         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15134         Port goes all the way to MAXUINT16.
15135
15136         * gst/net/gstnettimeprovider.c: Make the port range the same as
15137         for the kernel: 0 assigns, otherwise ports are less than
15138         MAXUINT16.
15139
15140         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15141         port change.
15142
15143         * check/net/gstnetclientclock.c (test_functioning): Add the start
15144         of another test. 
15145
15146 2005-11-18  Wim Taymans  <wim@fluendo.com>
15147
15148         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15149         (gst_bin_remove_func), (bin_bus_handler):
15150         * gst/gstbin.h:
15151         Removing a clock provider from a bin, triggers a clock lost message
15152         so that a new clock will be selected.
15153         Adding a clock to a bin triggers a clock provider message.
15154         Make sure we reselect a clock when we received a clock lost message.
15155         Keep a reference to the element that provided the clock.
15156
15157 2005-11-18  Andy Wingo  <wingo@pobox.com>
15158
15159         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15160         the clock initially so it produces values around the base time.
15161         (gst_net_client_clock_class_init): Typo fix.
15162         (gst_net_client_clock_thread): Add note on when the socket gets
15163         closed.
15164
15165 2005-11-17  Wim Taymans  <wim@fluendo.com>
15166
15167         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15168         Free remote and local time arrays.
15169
15170 2005-11-17  Wim Taymans  <wim@fluendo.com>
15171
15172         * gst/net/gstnetclientclock.c: (do_linear_regression),
15173         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15174         Fix compilation, uninitialized vars and a forgotten continue.
15175
15176 2005-11-17  Andy Wingo  <wingo@pobox.com>
15177
15178         * check/Makefile.am (check_PROGRAMS): 
15179         * check/net/gstnetclientclock.c: Add a most minimal test for the
15180         net client clock. More to come later.
15181
15182         * gst/net/gstnet.h: 
15183         * gst/net/Makefile.am: Add netclientclock.
15184
15185         * gst/net/gstnetclientclock.h:
15186         * gst/net/gstnetclientclock.c: New files, implement an untested
15187         GstClock that takes its time from a network time provider.
15188         Implements the algorithm in network-clock.scm.
15189
15190         * tests/network-clock.scm (*window-size*): Rename from
15191         *queue-length*.
15192         * tests/network-clock.scm (network-time): 
15193         * tests/network-clock-utils.scm (q-push): Update callers.
15194
15195 2005-11-17  Wim Taymans  <wim@fluendo.com>
15196
15197         * gst/gstbin.c: (gst_bin_provide_clock_func),
15198         (gst_bin_sort_iterator_new):
15199         And unref the child too..
15200
15201 2005-11-17  Wim Taymans  <wim@fluendo.com>
15202
15203         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15204         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15205         Refactor the sort iterator so it can be used while holding the
15206         LOCK too.
15207         Make clock selection select a clock closest to the source.
15208
15209 2005-11-17  Michael Smith <msmith@fluendo.com>
15210
15211         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15212         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15213         * gst/gstclock.h:
15214           Anonymous structs are a gcc (and some other compilers) extension, so
15215           don't use them. Since this is only for ABI-compatibility, and our
15216           API/ABI freeze is over in a few days, this whole thing will only
15217           last a few days, so don't bother trying to think up a meaningful
15218           name for the struct.
15219
15220 2005-11-17  Andy Wingo  <wingo@pobox.com>
15221
15222         * gst/gstclock.h (GstClock): Add rate and offset properties,
15223         preserving ABI stability. Add rate/offset accessors. Will file bug
15224         for the freeze break.
15225
15226         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15227         and offset, trying to keep precision and avoiding
15228         underflow/overflow.
15229         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15230         functions. Make gst_clock_set_time_adjust obsolete.
15231         (gst_clock_set_time_adjust): Note that this function is obsolete.
15232         Will file bug soon.
15233
15234         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15235         greppable by using GST_PADDING-1+1.
15236
15237 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15238
15239         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15240
15241         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15242           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15243
15244         * gst/gstpadtemplate.h:
15245         * gst/gstpluginfeature.h:
15246           Don't use c++ style comments in headers (#321638).
15247
15248 2005-11-16  Andy Wingo  <wingo@pobox.com>
15249
15250         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15251         buffer.
15252
15253         * check/net/gstnettimeprovider.c: Check to see that the time
15254         provider actually provides times. Works, yo!
15255
15256 2005-11-16  Wim Taymans  <wim@fluendo.com>
15257
15258         * check/Makefile.am:
15259         Enable more tests.
15260
15261         * check/elements/fakesrc.c: (GST_START_TEST):
15262         Set element to NULL before disposing it.
15263
15264 2005-11-16  Andy Wingo  <wingo@pobox.com>
15265
15266         * gst/net/Makefile.am:
15267         * gst/net/gstnet.h:
15268         * gst/net/gstnettimeprovider.c: 
15269         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15270         provider, include it from gstnet.h, and add it to the build.
15271
15272         * gst/net/gstnettimepacket.h: 
15273         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15274         sending and receiving.
15275
15276 2005-11-16  Wim Taymans  <wim@fluendo.com>
15277
15278         * check/Makefile.am:
15279         Enable valgrind check.
15280
15281         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15282         (gst_fake_src_alloc_buffer):
15283         Fix memleak.
15284
15285 2005-11-16  Wim Taymans  <wim@fluendo.com>
15286
15287         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15288         Call parent finalize too.
15289
15290 2005-11-16  Wim Taymans  <wim@fluendo.com>
15291
15292         * check/Makefile.am:
15293         Enable valgrind check that should work fine now.
15294
15295         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15296         * gst/gstqueue.c: (gst_queue_init):
15297         Fix memleaks in pad allocation.
15298
15299 2005-11-16  Andy Wingo  <wingo@pobox.com>
15300
15301         * gst/net/Makefile.am:
15302         * gst/net/gstnet.h: New part of core to hold network elements and
15303         objects. Put in core because it exposes API that applications want
15304         to use. The library is named libgstnet-tempname right now because
15305         of the existing libgstnet in gst-plugins-base. Solution is
15306         probably to rename the one in plugins-base; will file a bug for
15307         the freeze break.
15308
15309         * gst/net/gstnettimeprovider.c: 
15310         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15311         get_time call over the network.
15312
15313         * configure.ac: 
15314         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15315
15316         * check/Makefile.am:
15317         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15318         get additions shortly.
15319
15320 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15321
15322         * gst/gstpad.c: (gst_pad_new_from_static_template):
15323         * gst/gstpad.h:
15324           add gst_pad_new_from_static_template functions
15325         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15326         (gst_check_setup_sink_pad):
15327         * gst/elements/gsttee.c: (gst_tee_init):
15328           and use them
15329
15330 2005-11-16  Wim Taymans  <wim@fluendo.com>
15331
15332         * gst/gstpad.c: (gst_pad_pause_task):
15333         Removed warning, it's not really an error either.
15334
15335 2005-11-16  Wim Taymans  <wim@fluendo.com>
15336
15337         * gst/base/gstbasetransform.c:
15338         (gst_base_transform_prepare_output_buf),
15339         (gst_base_transform_event):
15340         Check if the caps are NULL, this can happen if the element
15341         is shutting down and the pad caps are set to NULL.
15342
15343 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15344
15345         * gst/elements/gsttee.c: (gst_tee_init):
15346           fix pad template leak in tee
15347
15348 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15349
15350         * gst/glib-compat.c: (g_value_dup_gst_object):
15351         * gst/glib-compat.h:
15352         * gst/gstpad.c: (gst_pad_set_property):
15353           use gst_object_ref when setting the pad template; this will
15354           trigger the pad template leaks on GLib 2.6 and the slaves
15355
15356 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15357
15358         * gst/glib-compat.c: (gst_flags_get_first_value):
15359         * gst/glib-compat.h:
15360         * gst/gstregistryxml.c:
15361           remove functions copied from GLib 2.6
15362
15363 2005-11-16  Michael Smith <msmith@fluendo.com>
15364
15365         * gst/Makefile.am:
15366           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15367           do, but only breaks with newer valgrind versions. We're not a
15368           valgrind tool, we have no link-time dependencies on libcoregrind.
15369
15370 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15371
15372         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15373           some debug changes
15374         * gst/gstmessage.h:
15375           typo fixes
15376
15377 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15378
15379         * gst/base/gstbasesrc.c: (gst_base_src_init):
15380         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15381         * gst/gstqueue.c: (gst_queue_init):
15382         * gst/gstregistryxml.c: (load_feature):
15383           Revert all these unrefs, they don't even pass make check !
15384
15385 2005-11-15  Johan Dahlin  <johan@gnome.org>
15386
15387         * gst/base/gstbasesrc.c: (gst_base_src_init):
15388         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15389         * gst/gstqueue.c: (gst_queue_init): 
15390         Free pad templates, fixes a couple of leaks.
15391
15392 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15393
15394         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15395
15396         * gst/gstpad.c: (gst_pad_get_property):
15397           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15398           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15399           (#321452)
15400
15401 2005-11-15  Wim Taymans  <wim@fluendo.com>
15402
15403         * gst/gstevent.c:
15404         Small doc update.
15405
15406 2005-11-15  Andy Wingo  <wingo@pobox.com>
15407
15408         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15409
15410         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15411         using GST_CLOCK_TIME_NONE to disable base time management.
15412         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15413         time if it was NONE before.
15414         (gst_pipeline_change_state): Only munge the base time if
15415         stream_time != GST_CLOCK_TIME_NONE.
15416
15417         * check/gst/gstpipeline.c (test_base_time): Punt around the
15418         problem of the probe not being called, because that's not the
15419         issue I'm looking at. Add a check that setting stream_time to NONE
15420         disables base time management.
15421         
15422 2005-11-15  Wim Taymans  <wim@fluendo.com>
15423
15424         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15425         segment_stop == -1 at startup.
15426
15427         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15428         (gst_base_transform_change_state):
15429         Init segment values at start.
15430
15431 2005-11-15  Wim Taymans  <wim@fluendo.com>
15432
15433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15434         0 segment values are 0 in any format.
15435
15436         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15437         * gst/base/gstbasetransform.h:
15438         Parse newsegment correctly in basetransform
15439
15440         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15441         Sync to clock using updated segment values.
15442
15443 2005-11-15  Andy Wingo  <wingo@pobox.com>
15444
15445         * check/gst/gstpipeline.c (test_base_time): Add check that the
15446         base time and stream time are reset correctly.
15447
15448 2005-11-15  Wim Taymans  <wim@fluendo.com>
15449
15450         * docs/design/part-TODO.txt:
15451         Some more TODO items.
15452
15453 2005-11-15  Andy Wingo  <wingo@pobox.com>
15454
15455         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15456         error if the user selected "no clock" as the clocking method.
15457
15458         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15459         timestamps with live capture.
15460
15461         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15462         is 0 but we are a live source, timestamp the buffers using the
15463         element's clock.
15464
15465 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15466
15467         * docs/gst/gstreamer-sections.txt:
15468         * gst/gsterror.c:
15469         * gst/gstghostpad.c:
15470         * gst/gstobject.h:
15471         * gst/gstxml.c:
15472           more section docs
15473
15474 2005-11-14  Wim Taymans  <wim@fluendo.com>
15475
15476         * common/gst.supp:
15477           add suppressions from Wim's Debian machine
15478
15479 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15480
15481         * common/gst.supp:
15482           add suppressions from Andy's AMD64 Ubuntu machine
15483
15484 2005-11-14  Andy Wingo  <wingo@pobox.com>
15485
15486         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15487         STATE_LOCK not necessary. Fixes #311489.
15488
15489         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15490         #305291.
15491
15492         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15493         this function is not implemented.
15494
15495 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15496
15497         * gst/base/gstbasetransform.c:
15498         (gst_base_transform_prepare_output_buf):
15499         Ref the source pad caps while we need them.
15500         Fixes (#321386)
15501
15502 2005-11-11  Wim Taymans  <wim@fluendo.com>
15503
15504         * docs/gst/gstreamer-sections.txt:
15505         Added some docs for GstCollectData.
15506
15507         * gst/base/gstadapter.c:
15508         Some small code example fix.
15509
15510         * gst/base/gstcollectpads.c:
15511         * gst/base/gstcollectpads.h:
15512         Document some more.
15513
15514 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15515
15516         * configure.ac: back to HEAD
15517
15518 === release 0.9.5 ===
15519
15520 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15521
15522         * configure.ac:
15523           releasing 0.9.5, "Bike Lunch Day"
15524
15525 2005-11-11  Wim Taymans  <wim@fluendo.com>
15526
15527         * gst/gstbuffer.c: (_gst_buffer_copy):
15528         Copy more flags.
15529
15530         * gst/gstcaps.c: (gst_caps_is_equal):
15531         Fix some docs.
15532         Make _is_equal fast in the trivial cases.
15533
15534         * gst/gstminiobject.c:
15535         * gst/gstminiobject.h:
15536         More docs. Spifify .h file.
15537
15538         * gst/gstutils.c:
15539         Small doc update.
15540
15541 2005-11-11  Wim Taymans  <wim@fluendo.com>
15542
15543         * gst/base/gstbasetransform.c:
15544         (gst_base_transform_prepare_output_buf),
15545         (gst_base_transform_handle_buffer):
15546         Small cleanups.
15547         If we're processing a buffer and need to allocate an output
15548         buffer, we cannot accept a format change. If we did get a 
15549         format change, we have to alloc a buffer ourselves of the 
15550         right size.
15551
15552 2005-11-11  Wim Taymans  <wim@fluendo.com>
15553
15554         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15555         While checking the flag for reentrancy in the gstcaps function
15556         is nice to detect recursive invocations, it also makes it 
15557         impossible to call getcaps from multiple threads, which must be
15558         possible. So, checking for recursive calls has to go.
15559
15560 2005-11-11  Michael Smith <msmith@fluendo.com>
15561
15562         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15563           Don't sync on buffers that fall partially outside our current
15564           segment. Prevents an assertion failure/abort playing some files.
15565
15566 2005-11-10  Andy Wingo  <wingo@pobox.com>
15567
15568         * check/gst/gstbin.c (test_message_state_changed_children): Style
15569         fix..
15570
15571         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15572         gst_bus_poll with the signal watch. Ensures that poll and a signal
15573         watch see the same messages.
15574
15575         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15576         a poll and a watch at the same time get the same messages.
15577
15578 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15579
15580         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15581         * gst/gstcaps.c: (gst_caps_intersect):
15582           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15583           and it's not needed.
15584
15585 2005-11-10  Wim Taymans  <wim@fluendo.com>
15586
15587         * docs/design/part-TODO.txt:
15588         Updated todo.
15589
15590 2005-11-10  Wim Taymans  <wim@fluendo.com>
15591
15592         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15593         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15594         (gst_base_src_do_sync), (gst_base_src_get_range):
15595         Implement clock sync in base class.
15596
15597 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15598
15599         patch by: Tim-Philipp Müller <tim at centricular dot net>
15600
15601         * gst/gststructure.c: (gst_structure_parse_field),
15602         (gst_structure_from_string):
15603           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15604           so that gst_parse_launch() can deal with spaces in filtered link
15605           caps (fixes #164479)
15606         * check/gst/capslist.h:
15607         * check/gst/gststructure.c: (GST_START_TEST):
15608           add unit tests for this change
15609
15610 2005-11-10  Wim Taymans  <wim@fluendo.com>
15611
15612         * docs/gst/gstreamer-sections.txt:
15613         * gst/gstelement.c:
15614         * gst/gstelement.h:
15615         Fix docs, move some STATE macros to private.
15616
15617 2005-11-10  Wim Taymans  <wim@fluendo.com>
15618
15619         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15620         Added check for bug #317341
15621
15622         * gst/gstbuffer.c:
15623         * gst/gstbuffer.h:
15624         Some more spiffifying.
15625
15626         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15627         Call peer linkfunction if we are a source pad. Totally fixes
15628         #317341
15629
15630         * gst/gstpad.c:
15631         Update docs, source pads should call the peer linkfunction
15632         so they can atomically perform the pad link.
15633
15634 2005-11-09  Wim Taymans  <wim@fluendo.com>
15635
15636         * gst/gstbuffer.c:
15637         * gst/gstbuffer.h:
15638         Uber-spiffy-spiffify some more.
15639
15640 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15641
15642         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15643         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15644         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15645         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15646         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15647         * gst/gstpad.c: (gst_pad_init):
15648           Use GST_DEBUG_FUNCPTR() more extensively.
15649
15650 2005-11-09  Wim Taymans  <wim@fluendo.com>
15651
15652         * gst/gstobject.c: (gst_object_class_init):
15653         * gst/gstobject.h:
15654         Documentation fixes.
15655
15656 2005-11-09  Edward Hervey  <edward@fluendo.com>
15657
15658         * gst/gsttypefindfactory.c:
15659         Fix docs.
15660         
15661 2005-11-09  Edward Hervey  <edward@fluendo.com>
15662
15663         * gst/base/gsttypefindhelper.c:
15664         * gst/gsttypefind.c:
15665         * gst/gsttypefind.h:
15666         Fix docs.
15667
15668 2005-11-09  Wim Taymans  <wim@fluendo.com>
15669
15670         * gst/gstiterator.c:
15671         Fix revision data.
15672
15673         * gst/gsttask.c:
15674         * gst/gsttask.h:
15675         Fix docs.
15676
15677 2005-11-09  Wim Taymans  <wim@fluendo.com>
15678
15679         * gst/gstevent.h:
15680         * gst/gsturi.h:
15681         Fix docs.
15682
15683 2005-11-09  Wim Taymans  <wim@fluendo.com>
15684
15685         * docs/gst/gstreamer-sections.txt:
15686         Moved the message async delivery private lock and cond
15687         to the private section.
15688
15689         * gst/gstmessage.c:
15690         * gst/gstmessage.h:
15691         Fixed docs.
15692
15693 2005-11-09  Edward Hervey  <edward@fluendo.com>
15694
15695         * docs/gst/gstreamer-sections.txt:
15696         * gst/gsturi.c:
15697         * gst/gsturi.h:
15698         Document GstURIHandler
15699
15700 2005-11-09  Wim Taymans  <wim@fluendo.com>
15701
15702         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15703         (gst_iterator_find_custom):
15704         * gst/gstiterator.h:
15705         Fix iterator docs.
15706
15707 2005-11-09  Wim Taymans  <wim@fluendo.com>
15708
15709         * gst/gstbin.h:
15710         Document another field.
15711
15712         * gst/gststructure.c:
15713         * gst/gststructure.h:
15714         Document.
15715
15716 2005-11-09  Wim Taymans  <wim@fluendo.com>
15717
15718         * gst/gstbin.h:
15719         Documented structs.
15720
15721 2005-11-09  Wim Taymans  <wim@fluendo.com>
15722
15723         * docs/gst/gstreamer-sections.txt:
15724         Added some new macros.
15725
15726         * gst/gstclock.c:
15727         * gst/gstclock.h:
15728         * gst/gstobject.h:
15729         Docs updates.
15730
15731 2005-11-09  Wim Taymans  <wim@fluendo.com>
15732
15733         * docs/design/part-TODO.txt:
15734         Some more items for the TODO
15735
15736         * gst/gstcaps.c:
15737         * gst/gstcaps.h:
15738         Document GstCaps.
15739
15740 2005-11-09  Andy Wingo  <wingo@pobox.com>
15741
15742         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15743         to work on something else now tho...
15744
15745         * gst/base/gstadapter.c: More adapter docs.
15746
15747         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15748         (gst_file_sink_stop): New functions, replace the state change
15749         handler.
15750         (gst_file_sink_class_init): Hook up the start and stop functions.
15751         (gst_file_sink_base_init): Don't set the state change handler any
15752         more. It was a bit ugly too, being set from here...
15753         (gst_file_sink_get_property, gst_file_sink_set_property):
15754         Cleanups...
15755         (gst_file_sink_set_location): More robust check that doesn't call
15756         GST_STATE. Ugggggg.
15757
15758 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15759
15760         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15761           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15762
15763 2005-11-08  Wim Taymans  <wim@fluendo.com>
15764
15765         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15766         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15767         (gst_base_sink_chain), (gst_base_sink_change_state):
15768         * gst/base/gstbasesink.h:
15769         * gst/base/gstbasesrc.h:
15770         * gst/gstelement.h:
15771         * gst/gstevent.h:
15772         Avoid excessive typechecking in macros.
15773
15774         * gst/gstminiobject.c: (gst_mini_object_get_type),
15775         (gst_mini_object_init), (gst_mini_object_new),
15776         (gst_mini_object_free):
15777         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15778         (gst_object_finalize):
15779         Remove cruft code, optimize alloc_trace.
15780
15781 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15782
15783         * docs/faq/gst-uninstalled:
15784           fix up PS1 for systems that try to reset it
15785
15786 2005-11-07  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/base/gstbasesrc.c: (gst_base_src_init),
15789         (gst_base_src_get_range):
15790         Set the segment_end to -1 initially. Fixed typefind.
15791
15792 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15793
15794         * gst/base/gstadapter.c:
15795           Debug category should be 'adapter', not 'GstAdapter'.
15796           
15797         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15798         (gst_collectpads_class_init), (gst_collectpads_init),
15799         (gst_collectpads_peek), (gst_collectpads_pop),
15800         (gst_collectpads_event), (gst_collectpads_chain):
15801           Add debug category and some debugging output. Use boilerplate
15802           macros. Remove some extraneous words from docs.
15803
15804 2005-11-05  Andy Wingo  <wingo@pobox.com>
15805
15806         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15807         macro.
15808
15809 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15810
15811         * docs/gst/gstreamer-sections.txt:
15812         * gst/gstcaps.h:
15813         * gst/gstinfo.c:
15814         * gst/gstminiobject.h:
15815         * gst/gstobject.h:
15816         * gst/gstutils.h:
15817           more docs added
15818
15819 2005-11-04  Wim Taymans  <wim@fluendo.com>
15820
15821         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15822         Small update to stop at the configured segment_end
15823         position.
15824
15825 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15826
15827         * gst/gstregistry.c:
15828         * gst/gstregistry.h:
15829           added missing docs
15830
15831 2005-11-04  Edward Hervey  <edward@fluendo.com>
15832
15833         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15834         Check if we are doing a segment seek and have arrived at the
15835         end of that segment.
15836
15837 2005-11-04  Wim Taymans  <wim@fluendo.com>
15838
15839         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15840         Don't leak a mutex unlock in case of an error.
15841
15842         * gst/gstbus.h:
15843         Doc fixes.
15844
15845 2005-11-04  Wim Taymans  <wim@fluendo.com>
15846
15847         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15848         (gst_bus_post):
15849         Get the context to wake up only once.
15850
15851 2005-11-03  Wim Taymans  <wim@fluendo.com>
15852
15853         * check/states/sinks.c: (GST_START_TEST):
15854         Uncomment fixed check.
15855
15856         * docs/design/part-TODO.txt:
15857         Updated TODO.
15858
15859         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15860         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15861         (gst_base_sink_get_position):
15862         If we are going to PLAYING, post the right pending state
15863         when we post the intermediate paused message.
15864
15865         * gst/gstelement.c: (gst_element_continue_state),
15866         (gst_element_set_state_func), (gst_element_change_state):
15867         Don't post state changes that were between the same state
15868         and were not ASYNC.
15869
15870 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15871
15872         * docs/gst/gstreamer-sections.txt:
15873         * gst/gstcaps.h:
15874         * gst/gstinfo.c:
15875         * gst/gstminiobject.h:
15876         * gst/gstobject.h:
15877         * gst/gstutils.h:
15878           more docs and doc style fixes
15879
15880 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15881
15882         * docs/gst/gstreamer-sections.txt:
15883         * gst/gstelement.c:
15884         * gst/gstminiobject.c:
15885         doc fixes
15886
15887 2005-11-03  Andy Wingo  <wingo@pobox.com>
15888
15889         * check/states/sinks.c (test_livesrc_sink): Add checks that the
15890         state-changed messages actually have the right order and the right
15891         values.
15892
15893 2005-11-03  Wim Taymans  <wim@fluendo.com>
15894
15895         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15896         Added some more checks. Specifically the case where NO_PREROLL
15897         elements are in the pipeline.
15898
15899         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15900         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15901         (gst_base_sink_get_position):
15902         Post READY->PAUSED state change messages too.
15903         Fix bug where VOID was posted as pending state...
15904
15905         * gst/gstbin.c: (gst_bin_recalc_state):
15906         use _element_continue_state() to continue the state change.
15907
15908         * gst/gstelement.c: (gst_element_continue_state),
15909         (gst_element_commit_state), (gst_element_set_state_func),
15910         (gst_element_change_state), (gst_element_change_state_func):
15911         Lots of state change cleanups, assign the STATE_RETURN in
15912         a new continue_state() function that also propagates the
15913         last return value from a state change to the app.
15914         Update some debug statements with proper category.
15915
15916 2005-11-03  Wim Taymans  <wim@fluendo.com>
15917
15918         * docs/design/part-events.txt:
15919         * docs/design/part-gstpipeline.txt:
15920         * docs/design/part-messages.txt:
15921         * docs/design/part-overview.txt:
15922         * docs/design/part-seeking.txt:
15923         * docs/design/part-states.txt:
15924         * docs/design/part-trickmodes.txt:
15925         * docs/manual/advanced-position.xml:
15926         Small docs updates.
15927
15928         * gst/gstobject.h:
15929         People think !! is ugly, this looks better.
15930
15931         * gst/gstpad.c: (gst_pad_set_blocked_async):
15932         Remove !! since it's fixed elsewhere now.
15933
15934 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15935
15936         * gst/gstminiobject.h:
15937         * gst/gstobject.h:
15938           Add !! to _FLAG_IS_SET macros to make the result boolean.
15939
15940 2005-11-03  Edward Hervey  <edward@fluendo.com>
15941
15942         * gst/gstpad.c: (gst_pad_set_blocked_async):
15943         comparing a flag and a gboolean rarely returns coherent results...
15944         Added two characters (!!) to make that work correctly.
15945         
15946 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15947
15948         * gst/gstbus.c: (gst_bus_class_init):
15949           Fix some typos.
15950           
15951         * gst/gstqueue.c: (gst_queue_loop):
15952           Don't assume a miniobject that isn't a buffer is an
15953           event (it could be that there is a refcounting
15954           problem somewhere and the pointer is stale and
15955           refers to an already destroyed miniobject).
15956
15957 2005-11-03  Julien MOUTTE  <julien@moutte.net>
15958
15959         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15960
15961 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15962
15963         * docs/manual/advanced-position.xml:
15964           Update seek example and explanations to current 0.9 API.
15965
15966         * gst/elements/gsttypefindelement.c:
15967         (gst_type_find_element_activate):
15968           Remove FIXME comment now that the found caps
15969           are unreffed.
15970
15971 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15972
15973         * gst/gstregistryxml.c: (load_feature):
15974           Add another GST_STR_NULL instance
15975
15976 2005-11-02  Edward Hervey  <edward@fluendo.com>
15977
15978         * gst/gstpad.c: (handle_pad_block):
15979         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15980         
15981 2005-11-02  Wim Taymans  <wim@fluendo.com>
15982
15983         * gst/gstbin.c:
15984         Fix typo in docs.
15985
15986         * gst/gstelement.c: (gst_element_commit_state):
15987         Remove unused value.
15988
15989         * gst/gstiterator.c:
15990         Mention that the returned element is reffed in the docs.
15991
15992 2005-11-02  Wim Taymans  <wim@fluendo.com>
15993
15994         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15995         (gst_pad_push), (gst_pad_push_event):
15996         Unlock blocked pads when they are flushed.
15997
15998 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15999
16000         * docs/README:
16001         * docs/gst/gstreamer-sections.txt:
16002         * gst/gstbin.c:
16003           doc updates
16004         * gst/gstregistry.c: (gst_registry_scan_path_level):
16005           fix for a nasty little missed situation where an installed plug-in
16006           which was in the cache did not get overridden by an uninstalled one
16007           which was earlier in the plugin path because the newly created plugin
16008           for the uninstalled one (not in the registry) didn't get its
16009           ->registered set to TRUE
16010
16011 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16012
16013         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16014         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16015         (gst_collectpads_is_active), (gst_collectpads_collect),
16016         (gst_collectpads_collect_range), (gst_collectpads_start),
16017         (gst_collectpads_stop), (gst_collectpads_peek),
16018         (gst_collectpads_pop), (gst_collectpads_available),
16019         (gst_collectpads_read), (gst_collectpads_flush):
16020           Guard public API with assertions.
16021         
16022         * gst/gstpad.c:
16023           Fix docs for gst_pad_set_link_function().
16024
16025 2005-11-02  Johan Dahlin  <johan@gnome.org>
16026
16027         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16028         Unref found_caps after we used it.
16029
16030 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16031
16032         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16033           Don't try to ref NULL.
16034
16035 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16036
16037         * win32/common/config.h.in:
16038           provide a GST_FUNCTION that just gives a string for now
16039
16040 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16041
16042         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16043         (gst_object_flags_get_type), (register_gst_bin_flags),
16044         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16045         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16046         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16047         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16048         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16049         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16050         (gst_clock_flags_get_type), (register_gst_state),
16051         (gst_state_get_type), (register_gst_state_change_return),
16052         (gst_state_change_return_get_type), (register_gst_state_change),
16053         (gst_state_change_get_type), (register_gst_element_flags),
16054         (gst_element_flags_get_type), (register_gst_core_error),
16055         (gst_core_error_get_type), (register_gst_library_error),
16056         (gst_library_error_get_type), (register_gst_resource_error),
16057         (gst_resource_error_get_type), (register_gst_stream_error),
16058         (gst_stream_error_get_type), (register_gst_event_type),
16059         (gst_event_type_get_type), (register_gst_seek_type),
16060         (gst_seek_type_get_type), (register_gst_seek_flags),
16061         (gst_seek_flags_get_type), (register_gst_format),
16062         (gst_format_get_type), (register_gst_index_certainty),
16063         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16064         (gst_index_entry_type_get_type),
16065         (register_gst_index_lookup_method),
16066         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16067         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16068         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16069         (gst_index_flags_get_type), (register_gst_debug_level),
16070         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16071         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16072         (gst_iterator_result_get_type), (register_gst_iterator_item),
16073         (gst_iterator_item_get_type), (register_gst_message_type),
16074         (gst_message_type_get_type), (register_gst_mini_object_flags),
16075         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16076         (gst_pad_link_return_get_type), (register_gst_flow_return),
16077         (gst_flow_return_get_type), (register_gst_activate_mode),
16078         (gst_activate_mode_get_type), (register_gst_pad_direction),
16079         (gst_pad_direction_get_type), (register_gst_pad_flags),
16080         (gst_pad_flags_get_type), (register_gst_pad_presence),
16081         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16082         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16083         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16084         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16085         (gst_plugin_flags_get_type), (register_gst_rank),
16086         (gst_rank_get_type), (register_gst_query_type),
16087         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16088         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16089         (gst_tag_flag_get_type), (register_gst_task_state),
16090         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16091         (gst_alloc_trace_flags_get_type),
16092         (register_gst_type_find_probability),
16093         (gst_type_find_probability_get_type), (register_gst_uri_type),
16094         (gst_uri_type_get_type), (register_gst_parse_error),
16095         (gst_parse_error_get_type):
16096         * win32/common/gstversion.h:
16097           update win32 copies
16098
16099 2005-11-01  Luca Ognibene  <luogni@tin.it>
16100
16101         * gst/gst.c:
16102           fix docs. popt is dead, long live GOption.
16103
16104 2005-10-31  Wim Taymans  <wim@fluendo.com>
16105
16106         * gst/gstbuffer.h:
16107         Small doc fix.
16108
16109 2005-10-31  Andy Wingo  <wingo@pobox.com>
16110
16111         * Boo!
16112
16113         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16114
16115         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16116         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16117         the possibility of deadlocks here if code calling notify() or
16118         set() has a lock that can be taken in another notify handler (ABBA
16119         with class lock and e.g. python GIL state lock).
16120
16121 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16122
16123         * gst/gstbus.c: Doc updates.
16124
16125 2005-10-28  Wim Taymans  <wim@fluendo.com>
16126
16127         * docs/design/part-TODO.txt:
16128         * gst/gstiterator.c:
16129         * gst/gstsystemclock.c:
16130         * gst/gstsystemclock.h:
16131         Doc updates.
16132
16133 2005-10-28  Edward Hervey  <edward@fluendo.com>
16134
16135         * docs/gst/gstreamer-docs.sgml:
16136         * docs/gst/gstreamer-sections.txt:
16137         the GstURIType documentation page is private, it only defines GstURIType
16138         which should be defined in the GstURIHandler page
16139         
16140 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16141
16142         * gst/gstbin.c: (gst_bin_class_init):
16143         * gst/gstbin.h:
16144         * gst/gstutils.c:
16145         Documentation updates.
16146
16147 2005-10-28  Wim Taymans  <wim@fluendo.com>
16148
16149         * docs/gst/gstreamer-sections.txt:
16150         * gst/gstclock.c:
16151         * gst/gstclock.h:
16152         Documented the clocks.
16153
16154 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16155
16156         * docs/gst/gstreamer-sections.txt:
16157           move some macros to private sections
16158         * gst/gstminiobject.c:
16159         * gst/gstminiobject.h:
16160           add descriptions provided by ds and some more
16161         * gst/gstpad.h:
16162           mark macro as to be removed
16163
16164 2005-10-28  Wim Taymans  <wim@fluendo.com>
16165
16166         * docs/design/part-TODO.txt:
16167         Add an item to TODO.
16168
16169         * gst/gstiterator.c: (gst_iterator_fold),
16170         (gst_iterator_find_custom):
16171         * gst/gstiterator.h:
16172         Add iterator docs.
16173
16174 2005-10-28  Wim Taymans  <wim@fluendo.com>
16175
16176         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16177         (gst_base_transform_init):
16178         Don't leak class.
16179
16180         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16181         An EOS event marks the queue as completely filled.
16182
16183 2005-10-27  Wim Taymans  <wim@fluendo.com>
16184
16185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16186         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16187         Some more debugging.
16188
16189         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16190         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16191         (gst_base_transform_event), (gst_base_transform_getrange),
16192         (gst_base_transform_chain):
16193         * gst/base/gstbasetransform.h:
16194         Fix debugging,
16195         Protect transform and concurrent buffer alloc with a new lock.
16196         Try not to break ABI/API.
16197
16198 2005-10-27  Wim Taymans  <wim@fluendo.com>
16199
16200         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16201         (gst_base_src_init), (gst_base_src_query),
16202         (gst_base_src_default_newsegment),
16203         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16204         (gst_base_src_send_event), (gst_base_src_event_handler),
16205         (gst_base_src_pad_get_range), (gst_base_src_loop),
16206         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16207         (gst_base_src_start), (gst_base_src_deactivate),
16208         (gst_base_src_activate_push), (gst_base_src_change_state):
16209         Move some stuff around and cleanup things.
16210
16211 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16212
16213         * gst/base/gstbasesrc.c: (gst_base_src_query):
16214           Add missing break statements.
16215
16216 2005-10-27  Wim Taymans  <wim@fluendo.com>
16217
16218         * check/gst/gstbin.c: (GST_START_TEST):
16219         An extra refcount is taken in basesrc.
16220
16221         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16222         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16223         (gst_base_src_loop):
16224         Small cleanups, check for flushing after being unlocked from the 
16225         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16226         Don't send out EOS when going to READY.
16227
16228 2005-10-27  Wim Taymans  <wim@fluendo.com>
16229
16230         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16231         (gst_base_sink_get_position):
16232         Some more debug.
16233
16234         * gst/gstbin.c: (message_check), (bin_replace_message),
16235         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16236         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16237         (bin_query_duration_init), (bin_query_duration_fold),
16238         (bin_query_duration_done), (bin_query_generic_fold),
16239         (gst_bin_query):
16240         * tools/gst-launch.c: (main):
16241         Remove old option.
16242
16243 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16244
16245         * examples/controller/audio-example.c: (main):
16246         * examples/queue/queue.c: (event_loop):
16247         * gst/base/gstbasetransform.h:
16248         * gst/gstelement.c: (gst_element_send_event):
16249         * gst/gstevent.h:
16250         * gst/gstpad.c: (gst_pad_send_event):
16251           fixing examples
16252           fixing docs typos
16253           changing log priority in error situations
16254
16255 2005-10-25  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/gstbin.c: (message_check), (bin_replace_message),
16258         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16259         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16260         (bin_query_duration_init), (bin_query_duration_fold),
16261         (bin_query_duration_done), (bin_query_generic_fold),
16262         (gst_bin_query):
16263         Some doc and debug updates.
16264         Cache previously requested query DURATION for speed. invalidate
16265         cached duration if element posts a DURATION message.
16266
16267 2005-10-25  Wim Taymans  <wim@fluendo.com>
16268
16269         * docs/design/part-TODO.txt:
16270         Update TODO.
16271
16272         * gst/gstbin.c: (message_check), (bin_replace_message),
16273         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16274         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16275         (bin_query_duration_init), (bin_query_duration_fold),
16276         (bin_query_duration_done), (bin_query_generic_fold),
16277         (gst_bin_query):
16278         Handle SEGMENT_START/DONE messages correctly.
16279         More evolved query algorithm that handles duration queries
16280         correctly.
16281
16282         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16283         (gst_element_get_state_func), (gst_element_abort_state),
16284         (gst_element_commit_state), (gst_element_lost_state):
16285         Some more debugging.
16286
16287         * gst/gstmessage.h:
16288         Added doc.
16289
16290 2005-10-25  Wim Taymans  <wim@fluendo.com>
16291
16292         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16293         Don't use invalid stream_time.
16294
16295         * gst/gstevent.c: (gst_event_new_newsegment):
16296         stream_time in newsegment cannot be undefined.
16297
16298 2005-10-24  Wim Taymans  <wim@fluendo.com>
16299
16300         * gst/gstbus.c:
16301         Doc fix.
16302
16303         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16304         (gst_queue_loop):
16305         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16306
16307 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16308
16309         * docs/libs/tmpl/gstdparam.sgml:
16310         * docs/libs/tmpl/gstdplinint.sgml:
16311         * docs/libs/tmpl/gstdpman.sgml:
16312         * docs/libs/tmpl/gstdpsmooth.sgml:
16313         * docs/libs/tmpl/gstunitconvert.sgml:
16314           these are obsolete
16315
16316 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16317
16318         * configure.ac:
16319           back to HEAD
16320
16321 === release 0.9.4 ===
16322
16323 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16324
16325         * configure.ac:
16326           releasing 0.9.4, "Tyrannosaurus Rex"
16327
16328 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16329
16330         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16331         (gst_file_sink_get_current_offset):
16332           Use fseeko() and ftello() if available. When falling back on
16333           lseek() to get the current offset, fflush() first to make sure
16334           everything is up-to-date and we get the right offset.
16335
16336 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16337
16338         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16339         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16340         * gst/gsterror.c: (_gst_stream_errors_init):
16341         * gst/gsterror.h:
16342         * gst/gstqueue.c: (gst_queue_loop):
16343         * po/POTFILES.in:
16344           remove prematurely added error category and clean up the instances
16345
16346 2005-10-21  Wim Taymans  <wim@fluendo.com>
16347
16348         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16349         (gst_base_sink_get_position), (gst_base_sink_query),
16350         (gst_base_sink_change_state):
16351         Simply set the right flag when going to playing, that's all
16352         we need to do instead of calling a function inside the object
16353         lock (that could take the lock as well and deadlock)
16354
16355 2005-10-21  Wim Taymans  <wim@fluendo.com>
16356
16357         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16358         (gst_base_src_loop):
16359         Don't warn, the peer element knows what to do best when
16360         the seek failed, it might try something else.
16361
16362 2005-10-21  Wim Taymans  <wim@fluendo.com>
16363
16364         * gst/base/gstbasesrc.c: (gst_base_src_init),
16365         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16366         Fix seeking.
16367
16368 2005-10-21  Wim Taymans  <wim@fluendo.com>
16369
16370         * docs/design/part-segments.txt:
16371         More docs.
16372
16373         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16374         Correctly set caps, even on the subbufer.
16375
16376 2005-10-21  Wim Taymans  <wim@fluendo.com>
16377
16378         * docs/gst/gstreamer-docs.sgml:
16379         * docs/gst/gstreamer-sections.txt:
16380         * gst/gstelement.h:
16381         * gst/gstevent.c:
16382         * gst/gstevent.h:
16383         * gst/gstmessage.h:
16384         * gst/gstpad.h:
16385         * gst/gstparse.h:
16386         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16387         * gst/gsttask.h:
16388         * gst/gstutils.c:
16389         * gst/gstutils.h:
16390         And 2% more doc coverage.
16391
16392 2005-10-21  Andy Wingo  <wingo@pobox.com>
16393
16394         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16395         position reporting.
16396
16397 2005-10-20  Wim Taymans  <wim@fluendo.com>
16398
16399         * gst/gsterror.c: (gst_error_get_message):
16400         * gst/gstparse.h:
16401         * gst/gstquery.h:
16402         * gst/gststructure.c:
16403         * gst/gsttrace.c:
16404         * gst/gstutils.c:
16405         More docs.
16406
16407 2005-10-20  Wim Taymans  <wim@fluendo.com>
16408
16409         * gst/gstbuffer.h:
16410         * gst/gstpad.c:
16411         * gst/gstparse.c:
16412         Another 1% more coverage.
16413
16414 2005-10-20  Wim Taymans  <wim@fluendo.com>
16415
16416         * docs/gst/gstreamer-sections.txt:
16417         * gst/gstelement.c: (gst_element_get_state_func),
16418         (gst_element_abort_state), (gst_element_commit_state),
16419         (gst_element_lost_state):
16420         * gst/gstevent.h:
16421         * gst/gstquery.c: (gst_query_set_position),
16422         (gst_query_parse_position), (gst_query_set_duration),
16423         (gst_query_parse_duration), (gst_query_new_convert):
16424         * gst/gstutils.c:
16425         Yay! 1% more docs coverage.
16426
16427 2005-10-20  Wim Taymans  <wim@fluendo.com>
16428
16429         * gst/gstpad.h:
16430         * gst/gstquery.c: (gst_query_set_position),
16431         (gst_query_parse_position), (gst_query_set_duration),
16432         (gst_query_parse_duration), (gst_query_new_convert):
16433         * gst/gstquery.h:
16434         * gst/gstutils.c: (gst_element_query_convert):
16435         * gst/gstutils.h:
16436         Docs and consistency fixes.
16437
16438 2005-10-20  Wim Taymans  <wim@fluendo.com>
16439
16440         * gst/gsttask.c:
16441         * gst/gsttask.h:
16442         More docs.
16443
16444 2005-10-20  Wim Taymans  <wim@fluendo.com>
16445
16446         * gst/gstbin.c: (message_check), (bin_replace_message),
16447         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16448         (update_degree), (gst_bin_sort_iterator_next),
16449         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16450         Reworked the message handling a bit, cache the messages instead of
16451         only the senders. alows us to do more in the future.
16452
16453 2005-10-20  Wim Taymans  <wim@fluendo.com>
16454
16455         * docs/design/part-TODO.txt:
16456         Update TODO
16457
16458         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16459         (gst_base_sink_query):
16460         Don't use clock time to report position when in EOS.
16461
16462 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16463
16464         * tools/gst-inspect.c: (print_interfaces),
16465         (print_element_properties_info), (print_element_info):
16466           Fix interface output with gst-inspect -a; don't print
16467           newlines after double/float properties.
16468
16469 2005-10-20  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16472         (gst_base_sink_query):
16473         Speed up current position calculation.
16474
16475         * gst/base/gstbasesrc.c: (gst_base_src_query),
16476         (gst_base_src_default_newsegment):
16477         Correctly set stream position in newsegment.
16478
16479         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16480         (update_degree), (gst_bin_sort_iterator_next),
16481         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16482         * gst/gstmessage.c: (gst_message_new_custom):
16483         Clean up debugging info
16484
16485         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16486         (gst_queue_loop), (gst_queue_handle_src_query):
16487         Pause task faster.
16488
16489 2005-10-19  Wim Taymans  <wim@fluendo.com>
16490
16491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16492         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16493         Fix query handling again.
16494
16495 2005-10-19  Wim Taymans  <wim@fluendo.com>
16496
16497         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16498         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16499         * gst/base/gstbasesrc.c: (gst_base_src_query):
16500         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16501         * gst/elements/gsttypefindelement.c:
16502         (gst_type_find_handle_src_query), (find_element_get_length),
16503         (gst_type_find_element_activate):
16504         API change fix.
16505
16506         * gst/gstquery.c: (gst_query_new_position),
16507         (gst_query_set_position), (gst_query_parse_position),
16508         (gst_query_new_duration), (gst_query_set_duration),
16509         (gst_query_parse_duration), (gst_query_set_segment),
16510         (gst_query_parse_segment):
16511         * gst/gstquery.h:
16512         Bundling query position/duration is not a good idea since duration
16513         does not change much and we don't want to recalculate it for every
16514         position query, so they are separated again..
16515         Base value in segment query is not needed.
16516
16517         * gst/gstqueue.c: (gst_queue_handle_src_query):
16518         * gst/gstutils.c: (gst_element_query_position),
16519         (gst_element_query_duration), (gst_pad_query_position),
16520         (gst_pad_query_duration):
16521         * gst/gstutils.h:
16522         Updates for query API change.
16523         Added some docs here and there.
16524
16525 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16526
16527         * check/gst/gstbin.c: (GST_START_TEST):
16528         * check/gst/gstghostpad.c: (GST_START_TEST):
16529         * check/pipelines/cleanup.c: (GST_START_TEST):
16530           wait on thread to die so we can check refcount correctly
16531
16532 2005-10-18  Wim Taymans  <wim@fluendo.com>
16533
16534         * check/pipelines/stress.c: (GST_START_TEST):
16535         Make check a little more time consuming.
16536
16537 2005-10-18  Wim Taymans  <wim@fluendo.com>
16538
16539         * check/Makefile.am:
16540         * check/pipelines/stress.c: (GST_START_TEST),
16541         (simple_launch_lines_suite), (main):
16542         Small state change torture test.
16543
16544         * docs/design/part-states.txt:
16545         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16546         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16547         (gst_base_sink_change_state):
16548         Never take state lock from streaming thread, clean up ugly
16549         hacks. Unfortunatly core does not yet support nice ways to
16550         async commit state.
16551         
16552         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16553         (bin_bus_handler):
16554         Start state recalc if a STATE_DIRTY message is posted, but only
16555         on the toplevel bin.
16556
16557         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16558         (gst_element_get_state_func), (gst_element_abort_state),
16559         (gst_element_commit_state), (gst_element_lost_state),
16560         (gst_element_set_state_func), (gst_element_change_state):
16561         * gst/gstelement.h:
16562         State variables are now protected with the LOCK, the state
16563         lock is only used to serialize _set_state().
16564
16565 2005-10-18  Wim Taymans  <wim@fluendo.com>
16566
16567         * check/gst/gstbin.c: (GST_START_TEST):
16568         * check/gst/gstmessage.c: (GST_START_TEST):
16569         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16570         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16571         (bin_bus_handler):
16572         * gst/gstelement.c: (gst_element_abort_state),
16573         (gst_element_commit_state), (gst_element_lost_state):
16574         * gst/gstmessage.c: (gst_message_new_state_changed),
16575         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16576         (gst_message_new_segment_done), (gst_message_new_duration),
16577         (gst_message_parse_state_changed),
16578         (gst_message_parse_segment_start),
16579         (gst_message_parse_segment_done), (gst_message_parse_duration):
16580         * gst/gstmessage.h:
16581         * tools/gst-launch.c: (event_loop):
16582         Seriously, this is better than a previous commit as we only need
16583         to notify the fact that an element changed state in a streaming
16584         thread, marking the state of the parents dirty, hence the 
16585         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16586         message.
16587
16588 2005-10-18  Wim Taymans  <wim@fluendo.com>
16589
16590         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16591         (gst_bin_recalc_func):
16592         * gst/gstelement.c: (gst_element_set_clock),
16593         (gst_element_abort_state), (gst_element_lost_state):
16594         Cleanups, prepare for state change fixes.
16595
16596 2005-10-18  Wim Taymans  <wim@fluendo.com>
16597
16598         * gst/gstbin.h:
16599         * gst/gstelement.c: (gst_element_class_init),
16600         (gst_element_set_state), (gst_element_set_state_func):
16601         * gst/gstelement.h:
16602         Pending ABI changes.
16603         GThreadPool in GstBinClass to monitor async state changes.
16604         state_cookie in GstElement to detect concurrent gst/set state.
16605         set_state is now virtual too in case a very complicated element
16606         has to be constructed.
16607
16608 2005-10-18  Wim Taymans  <wim@fluendo.com>
16609
16610         * check/gst/gstbin.c: (GST_START_TEST):
16611         * check/gst/gstmessage.c: (GST_START_TEST):
16612         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16613         * gst/gstbin.c: (bin_bus_handler):
16614         * gst/gstelement.c: (gst_element_commit_state),
16615         (gst_element_lost_state):
16616         * gst/gstmessage.c: (gst_message_new_state_changed),
16617         (gst_message_new_segment_start), (gst_message_new_segment_done),
16618         (gst_message_new_duration), (gst_message_parse_state_changed),
16619         (gst_message_parse_segment_start),
16620         (gst_message_parse_segment_done), (gst_message_parse_duration):
16621         * gst/gstmessage.h:
16622         * tools/gst-launch.c: (event_loop):
16623         Make messages future proof.
16624         state-change gets a flag if it was a message comming from the
16625         streaming thread.
16626         segment-start/stop can also be specified in other formats.
16627         A message to notify an app that a pipeline changed playback 
16628         duration.
16629         Also fix a GstMessage leak in -launch
16630
16631 2005-10-18  Andy Wingo  <wingo@pobox.com>
16632
16633         * gst/gstelement.c (gst_element_dispose): More helpful message.
16634
16635 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16636
16637         reviewed by: <delete if not using a buddy>
16638
16639         * common/gtk-doc.mak:
16640
16641 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16642
16643         * gst/gstregistry.c: (gst_registry_scan_path_level):
16644           unref a plug-in we get that was already initialized
16645
16646 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16647
16648         * docs/gst/gstreamer-sections.txt:
16649         * docs/libs/gstreamer-libs-sections.txt:
16650         * gst/gstelement.h:
16651           add new api entries
16652           hide internal macro
16653
16654 2005-10-17  Andy Wingo  <wingo@pobox.com>
16655
16656         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16657         cleanup.
16658
16659         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16660
16661         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16662
16663         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16664         (gst_element_get_state_func): Better debug message.
16665         (gst_element_commit_state): s/INFO/DEBUG/.
16666         (gst_element_lost_state, gst_element_change_state): 
16667
16668         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16669         (gst_message_new_custom): s/INFO/LOG/.
16670
16671 2005-10-17  Michael Smith <msmith@fluendo.com>
16672
16673         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16674           Check if end time is valid using end time, not start time.
16675
16676 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16677
16678         * check/gst-libs/controller.c: (GST_START_TEST),
16679         (gst_controller_suite):
16680         * libs/gst/controller/gstcontroller.c:
16681         (gst_controlled_property_set_interpolation_mode):
16682         * libs/gst/controller/gstcontroller.h:
16683         * libs/gst/controller/gstinterpolation.c:
16684         * testsuite/controller/.cvsignore:
16685         * testsuite/controller/Makefile.am:
16686         * testsuite/controller/interpolator.c:
16687           merge controller testsuites
16688           fix broken tests
16689           remove mem-chunk from docs
16690
16691 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16692
16693         * gst/gstmemchunk.c:
16694         * gst/gstmemchunk.h:
16695         * gst/gsttrashstack.c:
16696         * gst/gsttrashstack.h:
16697           out.  get out.  you're fired.  to the Attic !
16698
16699 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16700
16701         * gst/gstcaps.c: (gst_caps_intersect):
16702           fix signedness issues in a (hopefully) correct way
16703         * gst/gstelement.c: (gst_element_pads_activate):
16704           some debugging
16705         * gst/gstobject.c: (gst_object_set_parent):
16706           some debugging
16707
16708 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16709
16710         * gst/gstvalue.h: Fix prototypes.
16711
16712 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16713
16714         * docs/gst/gstreamer-sections.txt:
16715         * gst/gst.c: (gst_version_string):
16716         * gst/gst.h:
16717         * gst/gstversion.h.in:
16718         * win32/common/libgstreamer.def:
16719           add gst_version_string ()
16720
16721 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         * configure.ac:
16724           clean up further
16725         * gst/gst.c: (init_post):
16726         * win32/common/config.h.in:
16727           it's PLUGINDIR now
16728         * gst/gstcaps.c: (gst_caps_intersect):
16729           use gint64, the range could be bigger than a guint
16730
16731 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16732
16733         * gst/gstclock.h:
16734           document potential problem in 2038
16735
16736 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16737
16738         * gst/gstcaps.c: (gst_caps_intersect):
16739           Fix guint j diving under 0
16740
16741 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16742
16743         * configure.ac:
16744         * win32/common/config.h:
16745         * win32/common/config.h.in:
16746           check for process.h, declares getpid() on Windows
16747         * gst/gstinfo.c:
16748           include process.h if we have it
16749         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16750         * gst/gstmemchunk.h:
16751           fix signedness issues
16752         * win32/common/libgstreamer.def:
16753           fix get_type's
16754
16755 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16756
16757         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16758         fix. Because of unsigned ints, caps intersection was going nuts and
16759         trying to access structures with G_MAXUINT index. That fixes
16760         videotestsrc ! ffmpegcolorspace ! fakesink
16761         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16762         consistency.
16763
16764 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16765
16766         * configure.ac:
16767           use the gettext macro
16768         * gst/elements/gstelements.c:
16769         * gst/gst.c:
16770         * gst/indexers/gstindexers.c:
16771           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16772         * win32/common/config.h:
16773           updated config.h
16774         * win32/common/config.h.in:
16775           add the template to generate config.h
16776         * win32/common/gstenumtypes.c:
16777         * win32/common/gstversion.h:
16778           updated copies
16779
16780 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16781
16782         * gst/gst.c: (gst_version):
16783         * gst/gstversion.h.in:
16784           add the nano
16785
16786 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16787
16788         * gst/gstevent.h:
16789           Oops, add missing closing bracket.
16790
16791 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16792
16793         * configure.ac:
16794           use common m4's for argument checking
16795
16796 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16797
16798         * docs/gst/gstreamer-sections.txt:
16799         * gst/gstevent.h:
16800           Add GST_EVENT_TYPE_NAME() macro.
16801
16802 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16803
16804         * gst/gstinfo.c:
16805         * gst/gstpluginfeature.c:
16806         * gst/gsttask.c:
16807           privatize more symbols
16808
16809 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16810
16811         * configure.ac:
16812           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16813           everything that uses GStreamer API should have the includes
16814
16815 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16816
16817         * docs/gst/gstreamer-sections.txt:
16818         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16819         * gst/gstvalue.h:
16820           give each value a _get_type, removes the DATA exports
16821
16822 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16823
16824         * gst/gst.c:
16825         * gst/gst.h:
16826           remove _gst_registry_auto_load, not used anymore
16827         * gst/gstbin.c: (gst_bin_get_type):
16828         * gst/gstbin.h:
16829         * gst/gstelement.c: (gst_element_get_type):
16830         * gst/gstelement.h:
16831         * gst/gstobject.c: (gst_object_get_type):
16832         * gst/gstobject.h:
16833         * gst/gstpad.c: (gst_pad_get_type):
16834         * gst/gstpad.h:
16835           make _get_type functions similar, fixes data export from library
16836
16837 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16838
16839         * configure.ac:
16840           correctly make conditionals
16841         * gst/elements/Makefile.am:
16842         * gst/elements/gstelements.c:
16843           fix typo causing fdsrc not to build
16844
16845 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16846
16847         * testsuite/Makefile.am:
16848         * testsuite/bytestream/.cvsignore:
16849         * testsuite/bytestream/Makefile.am:
16850         * testsuite/bytestream/filepadsink.c:
16851         * testsuite/bytestream/gstbstest.c:
16852         * testsuite/bytestream/test1.c:
16853         * testsuite/bytestream/testfile1:
16854         * testsuite/caps/normalisation.c:
16855         * testsuite/caps/random.c: (main):
16856         * testsuite/cleanup/.cvsignore:
16857         * testsuite/cleanup/Makefile.am:
16858         * testsuite/cleanup/cleanup1.c:
16859         * testsuite/cleanup/cleanup2.c:
16860         * testsuite/cleanup/cleanup3.c:
16861         * testsuite/cleanup/cleanup4.c:
16862         * testsuite/cleanup/cleanup5.c:
16863         * testsuite/controller/interpolator.c:
16864         * testsuite/debug/printf_extension.c: (main):
16865         * testsuite/elements/tee.c:
16866         * testsuite/negotiation/.cvsignore:
16867         * testsuite/negotiation/Makefile.am:
16868         * testsuite/negotiation/pad_link.c:
16869         * testsuite/pad/Makefile.am:
16870         * testsuite/pad/chainnopull.c:
16871         * testsuite/pad/getnopush.c:
16872         * testsuite/pad/link.c:
16873         * testsuite/refcounting/sched.c: (create_pipeline):
16874         * testsuite/registry/Makefile.am:
16875         * testsuite/registry/gst-print-formats.c:
16876         * testsuite/schedulers/.cvsignore:
16877         * testsuite/schedulers/142183-2.c:
16878         * testsuite/schedulers/142183.c:
16879         * testsuite/schedulers/143777-2.c:
16880         * testsuite/schedulers/143777.c:
16881         * testsuite/schedulers/147713.c:
16882         * testsuite/schedulers/147819.c:
16883         * testsuite/schedulers/147894-2.c:
16884         * testsuite/schedulers/147894.c:
16885         * testsuite/schedulers/Makefile.am:
16886         * testsuite/schedulers/group_link.c:
16887         * testsuite/schedulers/queue_link.c:
16888         * testsuite/schedulers/relink.c:
16889         * testsuite/schedulers/unlink.c:
16890         * testsuite/schedulers/unref.c:
16891         * testsuite/schedulers/useless_iteration.c:
16892         * testsuite/states/bin.c:
16893           clean out/remove some stuff from the testsuite directories
16894
16895 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16896
16897         * configure.ac:
16898           check for some headers
16899         * gst/elements/Makefile.am:
16900         * gst/elements/gstelements.c:
16901           don't compile fdsrc without sys/socket.h
16902         * gst/indexers/Makefile.am:
16903         * gst/indexers/gstindexers.c: (plugin_init):
16904           don't compile fileindex without mmap
16905
16906 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16907
16908         * configure.ac:
16909           reorganize
16910           clean up
16911           document more
16912           remove cruft
16913         * check/Makefile.am:
16914         * docs/gst/Makefile.am:
16915         * examples/helloworld/Makefile.am:
16916         * gst/Makefile.am:
16917         * gst/base/Makefile.am:
16918         * gst/check/Makefile.am:
16919         * gst/elements/Makefile.am:
16920         * gst/indexers/Makefile.am:
16921         * gst/parse/Makefile.am:
16922         * libs/gst/controller/Makefile.am:
16923         * libs/gst/dataprotocol/Makefile.am:
16924         * examples/helloworld/helloworld.c: (event_loop):
16925           compile fixes, though it's not being compiled currently
16926
16927 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16928
16929         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16930           Add some simple tests for the new taglist date API.
16931
16932 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16933
16934         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16935         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16936           Beautify 'last-message' output: print 'none' for buffer timestamps
16937           and durations if none is set; improve alignment with next messages.
16938
16939 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16940
16941         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16942         * gst/gstpluginfeature.h:
16943         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16944         * gst/gstregistry.h:
16945         * docs/gst/gstreamer-sections.txt:
16946           Add new API to check plugin feature version requirements.
16947
16948         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16949           Some basic tests for the above.         
16950
16951 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16952
16953         * gst/gststructure.c: (gst_structure_to_string):
16954           guard against NULL printf - happens when for example
16955           a message structure with GstClock gets serialized
16956
16957 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16958
16959         * gst/base/gstcollectpads.c: (gst_collectpads_event):
16960           Fix presumable copy'n'pasto.
16961
16962 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16963
16964         * gst/elements/gstfakesrc.h:
16965         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16966         * gst/elements/gsttypefindelement.c:
16967           fix some signedness
16968         * gst/elements/gstfilesink.c: (gst_file_sink_render):
16969           I wonder if this could actually write +2GB files before
16970
16971 2005-10-13  Andy Wingo  <wingo@pobox.com>
16972
16973         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16974         Fix Timmeke Waymans bug.
16975         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16976         string of the proper length to gst_caps_from_string. There's a
16977         potential for, before this fix, that this could cause someone
16978         connecting over the network to cause a segfault if the payload is
16979         not NUL-terminated.
16980
16981 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16982
16983         * docs/design/draft-push-pull.txt:
16984         * docs/design/part-overview.txt:
16985         * docs/random/TODO-pre-0.9:
16986         * docs/random/old/ChangeLog.gstreamer:
16987         * gst/base/gstpushsrc.c:
16988         * gst/gstclock.c:
16989           fixed typos
16990
16991 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16992
16993         * gst/glib-compat.c: (gst_flags_get_first_value):
16994         * gst/glib-compat.h:
16995         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16996         (gst_value_compare_double), (gst_value_serialize_flags):
16997           GLib 2.6 g_flags_get_first_value has a bug that triggers an
16998           infinite loop
16999
17000 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17001
17002         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17003         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17004           fix up debugging
17005         * tools/gst-launch.c: (event_loop):
17006           print out clock nicely
17007
17008 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17009
17010         * docs/gst/gstreamer-sections.txt:
17011         * gst/gsttaglist.h:
17012         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17013         (gst_tag_list_get_date_index):
17014           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17015           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17016
17017 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17018
17019         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17020         (gst_collectpads_chain):
17021         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17022         in CollectData.
17023
17024 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17025
17026         * docs/gst/gstreamer-sections.txt:
17027         * gst/gst.c:
17028         * gst/gsterror.h:
17029         * tools/gst-inspect.c: (main):
17030         * tools/gst-launch.c: (main):
17031         * tools/gst-run.c: (main):
17032         * tools/gst-xmlinspect.c: (main):
17033           fix GOption context leaks
17034           doc fixes
17035
17036 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17037
17038         * gst/gstbus.c:
17039           use HAVE_UNISTD_H
17040         * win32/common/config.h:
17041           update config
17042         * win32/vs6/grammar.dsp:
17043         * win32/vs6/libgstelements.dsp:
17044         * win32/vs6/libgstreamer.dsp:
17045           update vs6 files
17046
17047 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17048
17049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17050         * gst/base/gstbasesrc.c: (gst_base_src_query):
17051           fix more guint64<->gdouble conversions
17052
17053 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17054
17055         * Makefile.am:
17056           add win32-update target
17057         * win32/common/gstconfig.h:
17058         * win32/common/gstenumtypes.c:
17059         * win32/common/gstenumtypes.h:
17060         * win32/common/gstversion.h:
17061           add files that visual studio can't generate
17062
17063 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * Makefile.am:
17066           add a win32-update target
17067         * configure.ac:
17068
17069 2005-10-12  Wim Taymans  <wim@fluendo.com>
17070
17071         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17072         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17073         * gst/gstelement.c: (gst_element_commit_state),
17074         (gst_element_set_state):
17075         Protect flags with proper lock.
17076         unref provided cached clock in dispose.
17077
17078 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17079
17080         * gst/gst.c:
17081         * gst/gstminiobject.h:
17082         * gst/gstpad.h:
17083         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17084           removed unused flags from miniobject
17085           doc fixes
17086
17087 2005-10-12  Wim Taymans  <wim@fluendo.com>
17088
17089         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17090         (gst_file_sink_event), (gst_file_sink_render):
17091         Flush before seeking.
17092
17093 2005-10-12  Andy Wingo  <wingo@pobox.com>
17094
17095         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17096         always been the case.
17097
17098 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17099
17100         * check/gst/gstbin.c: (GST_START_TEST):
17101         * docs/gst/gstreamer-sections.txt:
17102         * gst/base/gstbasesink.c: (gst_base_sink_init):
17103         * gst/base/gstbasesrc.c: (gst_base_src_init),
17104         (gst_base_src_get_range), (gst_base_src_check_get_range),
17105         (gst_base_src_start), (gst_base_src_stop):
17106         * gst/base/gstbasesrc.h:
17107         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17108         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17109         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17110         (bin_bus_handler):
17111         * gst/gstbin.h:
17112         * gst/gstbuffer.h:
17113         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17114         * gst/gstbus.h:
17115         * gst/gstelement.c: (gst_element_is_locked_state),
17116         (gst_element_set_locked_state), (gst_element_commit_state),
17117         (gst_element_set_state):
17118         * gst/gstelement.h:
17119         * gst/gstindex.c: (gst_index_init):
17120         * gst/gstindex.h:
17121         * gst/gstminiobject.h:
17122         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17123         (gst_object_set_parent):
17124         * gst/gstobject.h:
17125         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17126         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17127         * gst/gstpad.h:
17128         * gst/gstpadtemplate.h:
17129         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17130         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17131         * gst/gstpipeline.h:
17132         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17133         (gst_file_index_commit):
17134         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17135         * testsuite/pad/link.c: (gst_test_src_init),
17136         (gst_test_filter_init), (gst_test_sink_init):
17137         * testsuite/states/locked.c: (main):
17138           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17139           moved bitshift from macro to enum definition
17140
17141 2005-10-12  Wim Taymans  <wim@fluendo.com>
17142
17143         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17144         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17145         (gst_file_sink_render):
17146         Some more debugging info.
17147
17148 2005-10-12  Wim Taymans  <wim@fluendo.com>
17149
17150         * docs/design/part-states.txt:
17151         * tools/gst-launch.c: (main):
17152         Some doc updates.
17153         Revert non-intentional change.
17154
17155 2005-10-12  Wim Taymans  <wim@fluendo.com>
17156
17157         * check/gst/gstbin.c: (GST_START_TEST):
17158         * check/gst/gstelement.c: (GST_START_TEST):
17159         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17160         * check/gst/gstghostpad.c: (GST_START_TEST):
17161         * check/gst/gstpipeline.c: (GST_START_TEST):
17162         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17163         * check/states/sinks.c: (GST_START_TEST):
17164         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17165         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17166         (gst_bin_remove_func), (gst_bin_get_state_func),
17167         (gst_bin_recalc_state), (gst_bin_change_state_func),
17168         (bin_bus_handler):
17169         * gst/gstelement.c: (gst_element_get_state_func),
17170         (gst_element_get_state), (gst_element_abort_state),
17171         (gst_element_commit_state), (gst_element_set_state),
17172         (gst_element_change_state), (gst_element_change_state_func):
17173         * gst/gstelement.h:
17174         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17175         (gst_pipeline_provide_clock_func):
17176         * gst/gstutils.c: (gst_element_link_pads_filtered):
17177         * tools/gst-launch.c: (main):
17178         * tools/gst-typefind.c: (main):
17179         Use GstClockTime in _get_state() instead of GTimeVal.
17180         Remove old code in gstutils.c
17181
17182 2005-10-12  Andy Wingo  <wingo@pobox.com>
17183
17184         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17185         removed.
17186
17187         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17188         there is no task. Shouldn't affect any code, as nothing in our
17189         plugins checks this return value.
17190         (gst_pad_stop_task): Also take the stream lock if the pad has no
17191         task. Docs updated.
17192
17193 2005-10-12  Wim Taymans  <wim@fluendo.com>
17194
17195         * gst/gstpad.c: (pre_activate), (post_activate),
17196         (gst_pad_activate_pull), (gst_pad_activate_push):
17197         Cleanup activation code. Reset old state if
17198         activation failed.
17199
17200 2005-10-12  Wim Taymans  <wim@fluendo.com>
17201
17202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17203         (gst_base_sink_change_state):
17204         No need to prerol after receiving EOS.
17205
17206         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17207         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17208         * gst/elements/gstidentity.c: (gst_identity_event):
17209         Print events more verbosely.
17210
17211 2005-10-12  Wim Taymans  <wim@fluendo.com>
17212
17213         * check/Makefile.am:
17214         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17215         * check/states/sinks2.c:
17216         Moved sinks2 testcode in sinks check.
17217
17218         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17219         (gst_bin_remove_func), (gst_bin_recalc_state),
17220         (gst_bin_change_state_func), (bin_bus_handler):
17221         Fix potential race condition when _get_state() iterated over an
17222         ASYNC element right before it posted a state completion.
17223
17224         * gst/gstclock.h:
17225         Do proper cast here.
17226
17227         * gst/gstevent.c: (gst_event_new_newsegment),
17228         (gst_event_parse_newsegment):
17229         A playback rate of 0.0 is not allowed.
17230
17231 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17232
17233         * win32/common/config.h:
17234         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17235         (_trewinddir), (_ttelldir), (_tseekdir):
17236         * win32/common/dirent.h:
17237         * win32/common/gtchar.h:
17238         * win32/common/libgstbase.def:
17239         * win32/common/libgstreamer.def:
17240         * win32/vs6/grammar.dsp:
17241         * win32/vs6/gst_inspect.dsp:
17242         * win32/vs6/gst_launch.dsp:
17243         * win32/vs6/gstreamer.dsw:
17244         * win32/vs6/libgstbase.dsp:
17245         * win32/vs6/libgstelements.dsp:
17246         * win32/vs6/libgstreamer.dsp:
17247           Visual Studio 6 project files, and a new common directory.
17248           Phear.
17249
17250 2005-10-11  Wim Taymans  <wim@fluendo.com>
17251
17252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17253         (gst_base_sink_do_sync), (gst_base_sink_query),
17254         (gst_base_sink_change_state):
17255         * gst/base/gstbasesink.h:
17256         Correctly parse newsegment info.
17257
17258 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17259
17260         * gst/gst.c: (init_post):
17261           split plugin paths correctly
17262
17263 2005-10-11  Wim Taymans  <wim@fluendo.com>
17264
17265         * check/gst/gstevent.c: (GST_START_TEST):
17266         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17267         (gst_base_sink_change_state):
17268         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17269         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17270         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17271         * gst/gstevent.c: (gst_event_new_newsegment),
17272         (gst_event_parse_newsegment):
17273         * gst/gstevent.h:
17274         Added extra flag to newsegment for future API freeze.
17275         Updated check and base elements.
17276
17277 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17278
17279         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17280         (gst_collectpads_add_pad), (gst_collectpads_pop),
17281         (gst_collectpads_event), (gst_collectpads_chain):
17282         * gst/base/gstcollectpads.h: Handle EOS correctly.
17283
17284 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17285
17286         * tools/gst-launch.c: (main):
17287           more null protecting
17288
17289 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17290
17291         * gst/gst-i18n-lib.h:
17292           check for ENABLE_NLS, not GETTEXT_PACKAGE
17293         * gst/gstregistry.c: (gst_registry_add_plugin),
17294         (gst_registry_scan_path_level),
17295         (_gst_registry_remove_cache_plugins):
17296           protect possibly NULL strings
17297         * gst/parse/types.h:
17298           config.h already included before
17299         * tools/gst-inspect.c: (main):
17300           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17301           check for ENABLE_NLS, not GETTEXT_PACKAGE
17302         * tools/gst-launch.c: (main):
17303           check for ENABLE_NLS, not GETTEXT_PACKAGE
17304
17305 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17306
17307         * configure.ac:
17308           if we don't have glib, fail before testing 2.8
17309         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17310           fix a leak, should fix plugins-base testsuite
17311
17312 2005-10-11  Andy Wingo  <wingo@pobox.com>
17313
17314         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17315         take the mode we're going to as an arg. Go head and set the mode
17316         and flushing flags now, so that if the activate function starts a
17317         thread all the flags will be in the right state.
17318         (post_activate): Renamed also. Just handle making sure streaming
17319         finishes for the deactivation case, and setting the deactivated
17320         mode.
17321         (gst_pad_set_active): Complain loudly if deactivation fails.
17322         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17323         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17324         remove the terrible hack.
17325
17326 2005-10-11  Wim Taymans  <wim@fluendo.com>
17327
17328         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17329         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17330         (gst_bin_recalc_state), (gst_bin_change_state_func),
17331         (gst_bin_dispose), (bin_bus_handler):
17332         * gst/gstbin.h:
17333         Prepare to make current EOS message queue more generic.
17334         Fix some typos.
17335
17336         * gst/gstevent.c: (gst_event_new_newsegment),
17337         (gst_event_parse_newsegment):
17338         * gst/gstevent.h:
17339         Rename base to stream_time.
17340
17341         * gst/gstmessage.h:
17342         Fix typo in docs.
17343
17344 2005-10-11  Wim Taymans  <wim@fluendo.com>
17345
17346         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17347         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17348         (gst_bin_change_state_func), (bin_bus_handler):
17349         * gst/gstbin.h:
17350         Work on proper clock selection.
17351
17352 2005-10-11  Edward Hervey  <edward@fluendo.com>
17353
17354         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17355         * libs/gst/controller/gstcontroller.h:
17356         Added GList* version of _remove_properties() in order to be able to wrap
17357         it in bindings.
17358
17359 2005-10-11  Wim Taymans  <wim@fluendo.com>
17360
17361         * docs/design/part-states.txt:
17362         Some more docs.
17363
17364         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17365         (gst_bin_change_state_func), (bin_bus_handler):
17366         Doc updates. Don't distribute the same clock over and over again.
17367
17368         * gst/gstclock.c:
17369         * gst/gstclock.h:
17370         Doc updates.
17371
17372         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17373         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17374         (gst_pad_send_event):
17375         * gst/gstpad.h:
17376         Make probe emission threadsafe again.
17377         Register quarks and move _get_name() from utils.
17378         Doc updates.
17379
17380         * gst/gstpipeline.c: (gst_pipeline_class_init),
17381         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17382         Only redistribute the clock of it changed.
17383
17384         * gst/gstsystemclock.h:
17385         Doc updates. 
17386
17387         * gst/gstutils.c:
17388         * gst/gstutils.h:
17389         Moved the _flow_get_name() to GstPad.
17390
17391 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17392
17393         * check/gst-libs/gdp.c: (GST_START_TEST):
17394         * check/gst/gstcaps.c: (GST_START_TEST):
17395         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17396         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17397         (gst_dp_packet_from_caps):
17398           fix more valgrind warnings before turning up the heat
17399
17400 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17401
17402         * gst/parse/grammar.y:
17403           some cleanup before the hacking
17404
17405 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17406
17407         * gst/base/gstbasesrc.c: (gst_base_src_query):
17408           use conversions
17409         * gst/gstutils.c: (gst_guint64_to_gdouble),
17410         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17411         * gst/gstutils.h:
17412           externalize, basesrc uses it
17413           obviously the implementation needs testing
17414
17415 2005-10-10  Wim Taymans  <wim@fluendo.com>
17416
17417         * tests/sched/Makefile.am:
17418         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17419         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17420
17421 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17422
17423         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17424           apparently converting from guint64 to double is not implemented
17425           on MSVC
17426
17427 2005-10-10  Wim Taymans  <wim@fluendo.com>
17428
17429         * check/Makefile.am:
17430         * check/generic/states.c: (GST_START_TEST):
17431         * check/gst/gstbin.c: (GST_START_TEST):
17432         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17433         * check/states/sinks.c: (GST_START_TEST):
17434         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17435         (main):
17436         Check fixes, use API as stated in design docs, remove hacks.
17437
17438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17439         (gst_base_sink_change_state):
17440         Catch stopping our task while we're shutting down.
17441
17442         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17443         (gst_bin_remove_func), (gst_bin_get_state_func),
17444         (gst_bin_recalc_state), (gst_bin_change_state_func),
17445         (bin_bus_handler):
17446         * gst/gstbin.h:
17447         * gst/gstelement.c: (gst_element_init),
17448         (gst_element_get_state_func), (gst_element_abort_state),
17449         (gst_element_commit_state), (gst_element_lost_state),
17450         (gst_element_set_state), (gst_element_change_state),
17451         (gst_element_change_state_func):
17452         * gst/gstelement.h:
17453         New state change algorithm (see #318116)
17454
17455         * gst/gstpipeline.c: (gst_pipeline_class_init),
17456         (gst_pipeline_init), (gst_pipeline_set_property),
17457         (gst_pipeline_get_property), (do_pipeline_seek),
17458         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17459         * gst/gstpipeline.h:
17460         Remove crude state change hacks.
17461
17462         * gst/gstutils.h:
17463         Remove crude hacks.
17464
17465         * tools/gst-launch.c: (main):
17466         Fixes for state change. Needs some more work to fully use the
17467         new stuff.
17468
17469 2005-10-10  Andy Wingo  <wingo@pobox.com>
17470
17471         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17472
17473         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17474         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17475         issue.
17476
17477 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17478
17479         * gst/gstiterator.c: (gst_iterator_new):
17480           Fix my previous commit: GTypes passed to gst_iterator_new()
17481           can be fundamental types.
17482
17483 2005-10-10  Wim Taymans  <wim@fluendo.com>
17484
17485         * gst/gstelement.c: (gst_element_iterate_pad_list),
17486         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17487         (gst_element_iterate_sink_pads):
17488         Use src/sink pads lists for the respective iterators instead
17489         of filtering.
17490
17491 2005-10-10  Andy Wingo  <wingo@pobox.com>
17492
17493         Merged in popt removal + GOption addition patch from Ronald, bug
17494         #169772.
17495
17496         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17497         GstElement macros around, remove popt-related symbols, add goption
17498         stuff.
17499
17500         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17501         
17502         * docs/gst/Makefile.am:
17503         * docs/libs/Makefile.am: No POPT_CFLAGS.
17504         
17505         * examples/manual/Makefile.am:
17506         * docs/manual/basics-init.xml: Doc updates with an example.
17507         
17508         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17509         (gst_init), (parse_one_option), (parse_goption_arg):
17510         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17511         bit of hand merging and debugging to get the GOption stuff working
17512         tho.
17513         
17514         * tests/Makefile.am:
17515         * tools/Makefile.am:
17516         * tools/gst-inspect.c: (main):
17517         * tools/gst-launch.c: (main):
17518         * tools/gst-run.c: (main):
17519         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17520
17521 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17522
17523         * gst/gstiterator.c: (gst_iterator_new):
17524           Add assertions to make sure passed GType is likely to really
17525           be a GType (as the compiler won't catch it if the size and
17526           GType arguments get mixed up, see #318447).
17527
17528 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17529
17530         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17531
17532         * gst/gstbin.c: (gst_bin_iterate_sorted):
17533           Pass GType and size arguments to gst_iterator_new() in the right
17534           order (maybe we should make _new() take the GType as first argument
17535           just like _new_list()?) (#318447).
17536           
17537
17538 2005-10-10  Wim Taymans  <wim@fluendo.com>
17539
17540         * gst/gstelement.c: (gst_element_finalize):
17541         And free the GStaticRecMutex too
17542
17543 2005-10-10  Andy Wingo  <wingo@pobox.com>
17544
17545         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17546         Allocate and free the mutex properly.
17547
17548         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17549         New macros.
17550         (GstElement): The state_lock is now recursive. Rebuild your
17551         plugins, suckers. Old macros adapted.
17552
17553         * docs/gst/gstreamer-sections.txt: Doc updates.
17554
17555         * gst/gstutils.h:
17556         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17557         (g_static_rec_cond_wait): Ported from state changes patch, while
17558         we wait on bug #317802 to be solved in a well-distributed GLib.
17559
17560         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17561         gst_element_change_state, variable name changes.
17562         (gst_element_change_state): Split out of gst_element_set_state in
17563         preparation for the state change merge. Doesn't pay attention to
17564         the 'transition' argument.
17565         (gst_element_set_state): Updates, hopefully purely cosmetic.
17566         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17567         state change patch.
17568         (gst_element_get_state_func): Renamed from get_state, cosmetic
17569         changes.
17570
17571 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17572
17573         * gst/elements/gstelements.c:
17574         * win32/GStreamer.vcproj:
17575         * win32/config.h:
17576         * win32/dirent.c: (_tseekdir):
17577         * win32/gst-inspect.vcproj:
17578         * win32/gst-launch.vcproj:
17579         * win32/gstconfig.h:
17580         * win32/gstelements.vcproj:
17581         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17582         * win32/gstreamer.def:
17583         * win32/msvc71.sln:
17584           updates for the win32 build (patch from Sebastien Moutte)
17585
17586 2005-10-10  Andy Wingo  <wingo@pobox.com>
17587
17588         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17589         gst_bin_get_state, cleaned up (but no logic changes).
17590         (bin_element_is_sink): Comment updates.
17591         (sink_iterator_filter): Remove needless cast.
17592         (gst_bin_iterate_sinks): Doc update.
17593         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17594         cleaned up (but no logic changes).
17595
17596         * check/states/sinks.c (test_src_sink): Cleanups from the state
17597         change patch.
17598         (test_livesrc_sink): Sync on the state.
17599
17600         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17601         the state change patch.
17602
17603         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17604         change patch.
17605
17606         * check/gst/gstbin.c: Merge in some style fixes and additional
17607         checks from Wim's state change patch.
17608
17609 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17610
17611         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17612         (gst_type_find_helper):
17613           Check whether we have the requested data already in our list of
17614           cached buffers before pulling a new buffer; also make the buffer
17615           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17616
17617 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17618
17619         * gst/gstcaps.c:
17620         * gst/gstevent.c:
17621           doc updates
17622         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17623           don't use long long, it's not portable.  Replacing with
17624           gint64 seems to work; let's hope no skeletons fall out of the closet.
17625
17626 2005-10-10  Andy Wingo  <wingo@pobox.com>
17627
17628         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17629
17630 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17631
17632         * docs/gst/gstreamer-sections.txt:
17633         * gst/gstevent.c:
17634         * gst/gstevent.h:
17635         * gst/gstinfo.c:
17636         * gst/gstinfo.h:
17637         * gst/gstmessage.c: (gst_message_parse_state_changed):
17638         * gst/gstpad.c:
17639         * gst/gstpad.h:
17640           more docs, fix compilation
17641
17642 2005-10-09  Philippe Khalaf <burger@speedy.org>
17643         * gst/gstmessage.c:
17644           Fixed a few forgotten variables on previous commit
17645
17646 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17647
17648         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17649           Fix evil typefind crasher: getrange() might return a short
17650           buffer at the end of a file, but gst_type_find_peek() must
17651           either return the full data as requested or NULL, but
17652           never a short buffer.
17653
17654 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17655
17656         * gst/gstmessage.c: (gst_message_new_state_changed),
17657         (gst_message_parse_state_changed):
17658         * gst/gstmessage.h:
17659           don't use "new", it's a C++ keyword
17660
17661 2005-10-08  Wim Taymans  <wim@fluendo.com>
17662
17663         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17664         * gst/gstelement.c: (gst_element_post_message):
17665         * gst/gstpipeline.c: (gst_pipeline_change_state):
17666         Small docs and debug updates.
17667
17668 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17669
17670         * docs/gst/gstreamer-sections.txt:
17671         * gst/gstelementfactory.c:
17672         * gst/gstevent.c:
17673         * gst/gsttaglist.c:
17674           more docs
17675
17676 2005-10-08  Wim Taymans  <wim@fluendo.com>
17677
17678         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17679         (gst_bin_dispose), (bin_bus_handler):
17680         Fix typos, add comments.
17681         Clear EOS list when going to PAUSED from any direction and do it
17682         in a threadsafe way.
17683         Get base time in a threadsafe way too.
17684         Fix confusing debug in the change_state function.
17685         Various other small cleanups.
17686         
17687         * gst/gstelement.c: (gst_element_post_message):
17688         Fix very verbose bus posting code.
17689
17690         * gst/gstpipeline.c: (gst_pipeline_class_init),
17691         (gst_pipeline_set_property), (gst_pipeline_get_property),
17692         (gst_pipeline_change_state):
17693         Small ARG_ -> PROP_ cleanup
17694
17695 2005-10-08  Wim Taymans  <wim@fluendo.com>
17696
17697         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17698         Do a less CPU demanding EOS check because we can.
17699
17700 2005-10-08  Wim Taymans  <wim@fluendo.com>
17701
17702         * libs/gst/dataprotocol/dataprotocol.c:
17703         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17704         (gst_dp_packet_from_event):
17705         * libs/gst/dataprotocol/dataprotocol.h:
17706         * libs/gst/dataprotocol/dp-private.h:
17707         It's about time we bump the version number.
17708         Since event types don't fit in the guint8 anymore describing
17709         the payload type, make payload type 16 bits wide.
17710
17711 2005-10-08  Wim Taymans  <wim@fluendo.com>
17712
17713         * docs/design/part-TODO.txt:
17714         * docs/design/part-clocks.txt:
17715         * docs/design/part-events.txt:
17716         * docs/design/part-gstbin.txt:
17717         * docs/design/part-gstelement.txt:
17718         * docs/design/part-gstpipeline.txt:
17719         * docs/design/part-live-source.txt:
17720         * docs/design/part-messages.txt:
17721         * docs/design/part-overview.txt:
17722         * docs/design/part-states.txt:
17723         Many doc updates.
17724
17725 2005-10-08  Wim Taymans  <wim@fluendo.com>
17726
17727         * gst/gstevent.c:
17728         * gst/gstevent.h:
17729         Fix event quark registration.
17730         Add some space between events so we can insert them in the
17731         right groups.
17732
17733 2005-10-08  Wim Taymans  <wim@fluendo.com>
17734
17735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17736         (gst_base_sink_handle_buffer):
17737         Better log message.
17738
17739         * gst/gstbus.h:
17740         * gst/gstelement.h:
17741         More docs.
17742
17743         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17744         (gst_queue_set_property), (gst_queue_get_property):
17745         * gst/gstqueue.h:
17746         Remove old unused properties.
17747
17748 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17749         * docs/gst/gstreamer-sections.txt:
17750         * gst/gstmessage.c:
17751         * gst/gstmessage.h:
17752         * gst/gstminiobject.c:
17753         * gst/gstminiobject.h:
17754         * gst/gstobject.h:
17755         * gst/gstpad.h:
17756         * gst/gstutils.h:
17757           lots of new docs and doc fixes
17758
17759 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17760
17761         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17762         * gst/gstplugin.h:
17763         * gst/gstregistry.c: (gst_registry_lookup_locked),
17764         (gst_registry_scan_path_level):
17765         * gst/gstregistryxml.c: (load_plugin):
17766           Only ever load one plugin for a given plugin basename.
17767           This ensures correct overriding of GST_PLUGIN_PATH over
17768           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17769           system installed plugins.
17770
17771 2005-10-08  Wim Taymans  <wim@fluendo.com>
17772
17773         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17774         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17775         Prepare for doing QOS.
17776
17777 2005-10-08  Wim Taymans  <wim@fluendo.com>
17778
17779         * check/gst/gstbin.c: (GST_START_TEST):
17780         * check/pipelines/cleanup.c: (GST_START_TEST):
17781         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17782         Allow new clock message too.
17783
17784 2005-10-08  Wim Taymans  <wim@fluendo.com>
17785
17786         * gst/gstmessage.c: (gst_message_new_error),
17787         (gst_message_new_warning), (gst_message_new_tag),
17788         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17789         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17790         (gst_message_new_segment_start), (gst_message_new_segment_done),
17791         (gst_message_parse_state_changed),
17792         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17793         (gst_message_parse_new_clock):
17794         * gst/gstmessage.h:
17795         Also carry the clock in question.
17796
17797 2005-10-08  Wim Taymans  <wim@fluendo.com>
17798
17799         * gst/gstmessage.c: (gst_message_new_custom),
17800         (gst_message_new_eos), (gst_message_new_error),
17801         (gst_message_new_warning), (gst_message_new_tag),
17802         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17803         (gst_message_new_new_clock), (gst_message_new_segment_start),
17804         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17805         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17806         * gst/gstmessage.h:
17807         Clean up.
17808         Added clock related messages.
17809
17810         * gst/gstpipeline.c: (gst_pipeline_change_state):
17811         Post message when the clock changed.
17812
17813         * tools/gst-launch.c: (event_loop):
17814         Print new clock.
17815
17816 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17817
17818         * tools/gst-inspect.c: (print_element_properties_info):
17819           Can't pass NULL strings to g_print() on windows.
17820
17821 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17822
17823         * docs/Makefile.am:
17824         * docs/gst/Makefile.am:
17825         * docs/gst/gstreamer-docs.sgml:
17826         * docs/gst/running.xml:
17827         * docs/version.entities.in:
17828           add a chapter on running GStreamer.
17829           document GST_DEBUG and GST_PLUGIN* env vars
17830
17831 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17832
17833         * Makefile.am:
17834           remove include dir
17835         * configure.ac:
17836           remove PLUGINS_BUILDDIR stuff
17837         * gst/gst.c: (init_post):
17838           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17839         * idiottest.mak:
17840           remove, it was condescending and not needed
17841
17842 2005-10-08  Wim Taymans  <wim@fluendo.com>
17843
17844         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17845         (gst_base_sink_handle_object), (gst_base_sink_event),
17846         (gst_base_sink_wait), (gst_base_sink_handle_event),
17847         (gst_base_sink_change_state):
17848         * gst/base/gstbasesink.h:
17849         Repost EOS message while going to PLAYING if still EOS.
17850         Make sure that when receiving a FLUSH_START we don't attempt
17851         to sync on the clock anymore.
17852
17853 2005-10-08  Wim Taymans  <wim@fluendo.com>
17854
17855         * tools/gst-launch.c: (event_loop):
17856         Better message printout.
17857
17858 2005-10-08  Wim Taymans  <wim@fluendo.com>
17859
17860         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17861         (gst_bin_child_proxy_get_children_count):
17862         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17863         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17864         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17865         (gst_child_proxy_set_valist):
17866         * gst/parse/grammar.y:
17867         Make ChildProxy threadsafe and fix mem leaks.
17868
17869 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17870
17871         * gst/gst.c: (init_post):
17872           debug the GST_PLUGIN_ env vars
17873
17874 2005-10-08  Wim Taymans  <wim@fluendo.com>
17875
17876         * check/gst/gstbin.c: (GST_START_TEST):
17877         * check/gst/gstmessage.c: (GST_START_TEST):
17878         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17879         * gst/gstelement.c: (gst_element_commit_state),
17880         (gst_element_lost_state):
17881         * gst/gstmessage.c: (gst_message_new_state_changed),
17882         (gst_message_parse_state_changed):
17883         * gst/gstmessage.h:
17884         * tools/gst-launch.c: (event_loop):
17885         Added extra field to STATE_CHANGE message with the pending
17886         state, which will be different from the new state soon.
17887
17888 2005-10-08  Wim Taymans  <wim@fluendo.com>
17889
17890         * gst/gstbus.c: (gst_bus_pop):
17891         * gst/gstclock.c:
17892         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17893         Small cleanups and doc updates.
17894
17895 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17896
17897         * gst/gst.c: (init_pre):
17898         * gst/gstbin.c: (gst_bin_add_func):
17899           log distributing clocks and base time
17900         * gst/gstregistry.c: (gst_registry_add_plugin),
17901         (gst_registry_scan_path_level), (gst_registry_scan_path):
17902           clean up the debugging output a little
17903         * gst/gstutils.c: (gst_element_state_get_name):
17904           warn about a memleak (I've actually seen this be used, though
17905           it was probably a bug)
17906
17907 2005-10-07  Wim Taymans  <wim@fluendo.com>
17908
17909         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17910         (gst_base_src_init), (gst_base_src_default_newsegment),
17911         (gst_base_src_newsegment), (gst_base_src_do_seek),
17912         (gst_base_src_loop), (gst_base_src_start):
17913         * gst/base/gstbasesrc.h:
17914         Make the newsegment event customizable by subclasses.
17915
17916 2005-10-07  Wim Taymans  <wim@fluendo.com>
17917
17918         * gst/gstevent.c: (gst_event_new_buffersize),
17919         (gst_event_parse_buffersize):
17920         * gst/gstevent.h:
17921         New event for future idea.
17922
17923 2005-10-07  Andy Wingo  <wingo@pobox.com>
17924
17925         * gst/gstelement.c (gst_element_post_message): Doc update.
17926
17927         * docs/gst/gstreamer-sections.txt: Update.
17928
17929         * gst/gstmessage.c (gst_message_new_application): Made into a
17930         function like honest API calls.
17931         (gst_message_new_element): New message type.
17932
17933         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17934
17935         * check/elements/fakesrc.c (test_no_preroll): New check, checks
17936         that setting a live fakesrc to PAUSED returns NO_PREROLL both
17937         times.
17938
17939         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17940         NO_PREROLL from gst_element_change_state to fall through.
17941
17942 2005-10-07  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17945         (gst_ghost_pad_do_activate_push):
17946         Activating a ghostpad with no internal pad in push mode
17947         is ok.
17948
17949 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17950
17951         * gst/gstobject.h:
17952           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17953           Fixes compilation on Windows.
17954
17955 2005-10-07  Michael Smith <msmith@fluendo.com>
17956
17957         * tools/gst-inspect.c:
17958           Print out feature and plugin count at the end when printing out
17959           all features.
17960
17961 2005-10-04  Michael Smith <msmith@fluendo.com>
17962
17963         * gst/gsterror.c: (_gst_stream_errors_init):
17964           Add another error string used in a few existing plugins.
17965
17966         * gst/gstplugin.c:
17967         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17968         * tools/gst-inspect.c: (print_element_info):
17969           When a feature disappears from a plugin (and the feature exists in
17970           the cached registry file), things went horribly wrong. This isn't a
17971           complete fix, we should actually be removing the 'missing' features
17972           from the features list when we load the actual plugin. That's not
17973           yet implemented. 
17974
17975 2005-10-04  Johan Dahlin  <johan@gnome.org>
17976
17977         * check/gst/gstiterator.c: (GST_START_TEST):
17978         * gst/gstbin.c: (gst_bin_iterate_elements),
17979         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17980         * gst/gstelement.c: (gst_element_iterate_pads):
17981         * gst/gstformat.c: (gst_format_iterate_definitions):
17982         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17983         (gst_iterator_new_list), (gst_iterator_filter):
17984         * gst/gstiterator.h:
17985         * gst/gstquery.c: (gst_query_type_iterate_definitions):
17986         Add a GType to GstIterator, update callsites and tests.
17987
17988 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17989
17990         * gst/gstpad.c: (gst_pad_event_default_dispatch):
17991           give events a chance to be handled by event probes when the pad
17992           is not linked
17993
17994 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17995
17996         * gst/gstevent.c: (gst_event_type_get_name),
17997         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17998         * gst/gstevent.h:
17999           add string representations for event types
18000
18001 2005-10-06  Wim Taymans  <wim@fluendo.com>
18002
18003         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18004         Don't use NULL pointers.
18005
18006 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18007
18008         * gst/gst_private.h:
18009         * gst/gstbus.c:
18010         * gst/gstelement.c:
18011         * gst/gstinfo.c:
18012         * gst/gstpluginfeature.c:
18013           widen the debug category in output to fit the biggest one we have
18014           add a bus category and use it
18015           play with the colors
18016           fix up some categories
18017
18018 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18019
18020         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18021           add push activation of sink ghost pads.
18022           Andye, please verify
18023
18024 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18025
18026         * gst/gstutils.c: (gst_element_link_pads):
18027           fix a bug in the case where neither element has a pad
18028         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18029           add a test for that case
18030
18031 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18032
18033         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18034           emit have-data before checking for peers.  This allows
18035           for probe handlers to connect elements.  This helps autopluggers.
18036         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18037         (gst_pad_suite):
18038           add six checks, linked/unlinked with no/true/false probe
18039
18040 2005-10-04  Wim Taymans  <wim@fluendo.com>
18041
18042         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18043         (gst_fake_sink_event), (gst_fake_sink_preroll),
18044         (gst_fake_sink_render), (gst_fake_sink_change_state):
18045         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18046         (gst_fake_src_get_property), (gst_fake_src_create),
18047         (gst_fake_src_stop):
18048         * gst/elements/gstidentity.c: (gst_identity_stop):
18049         Protect last_message with lock.
18050
18051 2005-10-04  Edward Hervey  <edward@fluendo.com>
18052
18053         * gst/gstformat.h: 
18054         Added precision in the comments for GST_FORMAT_DEFAULT
18055
18056 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18057
18058         * tools/gst-launch.c: (main):
18059           Don't try to run erroneous pipelines.
18060
18061 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18062
18063         * gst/gstbus.c: We don't need this header.
18064
18065 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18066
18067         * configure.ac:
18068           back to development
18069
18070 === release 0.9.3 ===
18071
18072 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18073
18074         * README:
18075         * configure.ac:
18076           Releasing 0.9.3, "Unregistered"
18077
18078 2005-10-03  Andy Wingo  <wingo@pobox.com>
18079
18080         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18081         whereby calling a pad's activatepush() function can start a thread
18082         that starts to push or pull before the pad gets the FLUSHING flag
18083         unset. Hack around it by holding the stream lock until the flag is
18084         set. Need to replace this with a proper solution. Together with
18085         the ghost pad fixes, this fixes mp3 playing/tagreading.
18086
18087         * docs/design/part-gstghostpad.txt: Add a note about activation of
18088         proxy pads outside of ghost pads.
18089
18090         * gst/gstghostpad.c: Implement the ghost pad activation design.
18091
18092 2005-10-02  Andy Wingo  <wingo@pobox.com>
18093
18094         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18095         It is volatile, after all.
18096
18097         * docs/design/part-gstghostpad.txt: Flesh out activation with
18098         ghost pads.
18099
18100         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18101         GST_DEBUG_FUNCPTR.
18102
18103 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18104
18105         * configure.ac:
18106           Fix (unused) AM_CONDITIONAL tests.
18107
18108 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18109
18110         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18111
18112         * gst/gstutils.c: (gst_pad_query_convert):
18113           Add assertion that makes sure src_val is >=0, just like
18114           gst_query_new_convert() has. (#315895)
18115
18116 2005-09-30  Edward Hervey  <edward@fluendo.com>
18117
18118         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18119         Let's not iterate pads we're not interested in, it avoids getting 
18120         sky-high refcounts on sinkpad.
18121
18122 2005-09-30  Wim Taymans  <wim@fluendo.com>
18123
18124         * gst/gstelement.c: (gst_element_set_state),
18125         (gst_element_change_state):
18126         Small tweak, element in ASYNC remains ASYNC.
18127
18128 2005-09-30  Wim Taymans  <wim@fluendo.com>
18129
18130         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18131         Only error is an error.
18132
18133         * gst/gstbin.c: (gst_bin_change_state):
18134         Better debugging.
18135
18136         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18137         Also call pad_block in pad alloc.
18138
18139         * gst/gstutils.c: (gst_flow_get_name):
18140         Better debugging.
18141
18142 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18143
18144         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18145         (gst_base_src_get_range):
18146           Fix documentation typos. Add some more debug info.
18147
18148 2005-09-29  David Schleef  <ds@schleef.org>
18149
18150         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18151           more end-user friendly.
18152         * tools/gst-inspect.c: (main): Check if command-line argument is
18153           a file and attempt to load that file as a plugin.
18154
18155 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18156
18157         * check/gst/gstbin.c:
18158         * check/states/sinks.c:
18159           fix tests for the new warning
18160         * check/gst/gstpipeline.c:
18161           add a test for pipeline and bus interaction
18162         * gst/gstelement.c:
18163           elements should be NULL if they get disposed; add a warning if not
18164
18165 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18166
18167         * gst/gstobject.c:
18168           for 2.6 refcounting, make debug log more correct by printing
18169           the actual refcounts at the time of swap (Wim)
18170
18171 2005-09-29  Andy Wingo  <wingo@pobox.com>
18172
18173         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18174         removes signal watches previously added via
18175         gst_bus_add_signal_watch.
18176         (gst_bus_add_signal_watch): Don't return the source id, just store
18177         it on the bus if there wasn't an id already.
18178
18179         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18180         add_signal_watch and remove_signal_watch.
18181
18182 2005-09-29  Edward Hervey  <edward@fluendo.com>
18183
18184         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18185         Better if we actually iterate the list :)
18186
18187 2005-09-29  Wim Taymans  <wim@fluendo.com>
18188
18189         * check/gst/gstbin.c: (GST_START_TEST):
18190         Change for new bus API.
18191
18192         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18193         (send_messages), (GST_START_TEST), (gstbus_suite):
18194         Change for new bus signal API.
18195
18196         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18197         (gst_bus_source_prepare), (gst_bus_source_check),
18198         (gst_bus_create_watch), (gst_bus_add_watch_full),
18199         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18200         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18201         * gst/gstbus.h:
18202         Remove support for multiple GSources operating on different
18203         message types as it is too complex and unneeded when using
18204         signals.
18205         Added support for receiving signals from the bus.
18206
18207 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18208
18209         * docs/libs/tmpl/gstdataprotocol.sgml:
18210         * docs/manual/advanced-dataaccess.xml:
18211         * gst/elements/gstcapsfilter.c:
18212         * gst/gstutils.c:
18213           rename filter-caps to caps property
18214
18215 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18216
18217         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18218           More robust fraction string parsing.
18219
18220         * docs/pwg/appendix-porting.xml:
18221           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18222
18223 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18224
18225         * gst/gstcaps.c: (gst_caps_do_simplify):
18226           Thou shalt not free a structure and then continue using it
18227           in the next loop iteration.
18228
18229         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18230         (gst_caps_suite):
18231           Add test case for caps simplification.
18232
18233 2005-09-29  Wim Taymans  <wim@fluendo.com>
18234
18235         * check/gst/gstbin.c: (GST_START_TEST):
18236         Oops.
18237
18238 2005-09-29  Wim Taymans  <wim@fluendo.com>
18239
18240         * check/gst/gstbin.c: (GST_START_TEST):
18241         Add bus to bin.
18242
18243         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18244         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18245         (find_element), (gst_bin_sort_iterator_next),
18246         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18247         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18248         (gst_bin_change_state), (gst_bin_dispose):
18249         A bin does not have a bus, it gets the bus from the parent.
18250
18251         * gst/gstelement.c: (gst_element_requires_clock),
18252         (gst_element_provides_clock), (gst_element_is_indexable),
18253         (gst_element_is_locked_state), (gst_element_change_state),
18254         (gst_element_set_bus_func):
18255         Small cleanups.
18256
18257         * gst/gstpipeline.c: (gst_pipeline_class_init),
18258         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18259         The pipeline provides a bus.
18260
18261 2005-09-28  Johan Dahlin  <johan@gnome.org>
18262
18263         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18264         gst_structure_get_enum instead of gst_structure_get_int
18265
18266         * gst/gststructure.c (gst_structure_get_enum): Impl.
18267
18268         * gst/gststructure.h (gst_structure_get_enum): Add
18269
18270         * docs/gst/gstreamer-sections.txt: Ditto
18271
18272         * gst/gstmessage.c (gst_message_new_state_changed): Use
18273         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18274         which does introspection.
18275         Reviewed by Christian Schaller
18276
18277 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18278
18279         * gst/gstinfo.c: (gst_debug_log_default):
18280           don't do dummy g_strdup()s
18281         * libs/gst/controller/gstcontroller.c:
18282         (on_object_controlled_property_changed),
18283         (gst_controlled_property_new), (gst_controller_new_valist),
18284         (gst_controller_new_list),
18285         (gst_controller_remove_properties_valist), (gst_controller_set),
18286         (gst_controller_get), (gst_controller_sync_values),
18287         (gst_controller_get_value_array), (_gst_controller_class_init),
18288         (gst_controller_get_type):
18289         * libs/gst/controller/gstcontroller.h:
18290         * libs/gst/controller/gstinterpolation.c:
18291         (gst_controlled_property_find_timed_value_node):
18292           convert // to /**/ comments
18293
18294 2005-09-28  Wim Taymans  <wim@fluendo.com>
18295
18296         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18297         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18298         (gst_bus_sync_signal_handler):
18299         * gst/gstbus.h:
18300         Added async-message and sync-message signals to the bus.
18301         Added helper BusFunc to emit signals for all posted messages.
18302
18303         * gst/gstmessage.c: (gst_message_type_get_name),
18304         (gst_message_type_to_quark), (gst_message_get_type):
18305         * gst/gstmessage.h:
18306         Register quarks for message names.
18307
18308 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18309
18310         * docs/libs/gstreamer-libs-sections.txt:
18311         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18312         (gst_controller_new_list):
18313         * libs/gst/controller/gstcontroller.h:
18314           added another constructor for language bindings
18315
18316 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18317
18318         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18319           add another check
18320         * gst/gstbus.c:
18321           add some doc
18322         * gst/gstinfo.c: (_gst_debug_init):
18323           slightly more readable color for refcount debugging
18324
18325 2005-09-28  Wim Taymans  <wim@fluendo.com>
18326
18327         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18328         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18329         (find_element), (gst_bin_sort_iterator_next),
18330         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18331         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18332         (gst_bin_change_state), (gst_bin_dispose):
18333         Small doc fixes. get_clock -> provide_clock.
18334
18335         * gst/gstelement.c: (gst_element_class_init),
18336         (gst_element_provides_clock), (gst_element_provide_clock),
18337         (gst_element_get_clock), (gst_element_commit_state),
18338         (gst_element_lost_state):
18339         * gst/gstelement.h:
18340         Make get/set_clock() symetric. Add provide_clock vmethod since
18341         that is actually what this function does.
18342
18343         * gst/gstpipeline.c: (gst_pipeline_class_init),
18344         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18345         (gst_pipeline_get_clock):
18346         get_clock -> provide_clock.
18347
18348 2005-09-28  Andy Wingo  <wingo@pobox.com>
18349
18350         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18351         lieu of real docs...
18352
18353         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18354
18355 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18356
18357         * gst/elements/gstcapsfilter.c:
18358         * gst/elements/gstfakesink.c:
18359         * gst/elements/gstfakesrc.c:
18360         * gst/elements/gstfdsink.c:
18361         * gst/elements/gstfdsrc.c:
18362         * gst/elements/gstfilesink.c:
18363         * gst/elements/gstfilesrc.c:
18364         * gst/elements/gstidentity.c:
18365         * gst/elements/gsttee.c:
18366         * gst/elements/gsttypefindelement.c:
18367           Make element details static.
18368
18369 2005-09-28  Wim Taymans  <wim@fluendo.com>
18370
18371         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18372         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18373         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18374         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18375         (gst_bin_change_state), (gst_bin_dispose):
18376         Some documentation updates.
18377         Clean up dispose handlers.
18378
18379         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18380         * gst/gstpad.c: (gst_pad_dispose):
18381         Clean up dispose handler.
18382
18383         * gst/gstpipeline.c: (gst_pipeline_change_state):
18384         Removed spurious UNLOCK.
18385
18386 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18387
18388         * docs/gst/gstreamer-sections.txt:
18389         * gst/base/gstbasesrc.h:
18390         * gst/gstelement.h:
18391         * gst/gstevent.h:
18392         * gst/gstobject.h:
18393         * gst/gstpad.h:
18394         * gst/gstpipeline.c:
18395         * gst/gstpipeline.h:
18396         * gst/gstutils.h:
18397         * gst/gstxml.h:
18398           added two new functions to the docs
18399                 documents all undocumented GstXXXFlags
18400                 completed some incomplete docs 
18401
18402 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18403
18404         * gst/gstbin.c: (gst_bin_dispose):
18405         * gst/gstelement.c: (gst_element_dispose):
18406           remove now useless and leaky resurrection code in dispose
18407         * gst/base/gstbasesrc.c: (gst_base_src_init):
18408         * gst/gstelementfactory.c: (gst_element_factory_create):
18409         * gst/gstobject.c: (gst_object_set_parent):
18410           add some debugging
18411
18412 2005-09-27  Wim Taymans  <wim@fluendo.com>
18413
18414         * docs/design/part-TODO.txt:
18415         Update TODO.
18416
18417         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18418         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18419         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18420         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18421         (gst_bin_change_state):
18422         * gst/gstelement.h:
18423         Remove element variable, we keep element info in the iterator now.
18424
18425 2005-09-27  Andy Wingo  <wingo@pobox.com>
18426
18427         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18428         values.
18429
18430 2005-09-27  Wim Taymans  <wim@fluendo.com>
18431
18432         * check/gst/gstbin.c: (GST_START_TEST):
18433         Enable check that works now.
18434
18435         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18436         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18437         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18438         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18439         (gst_bin_change_state):
18440         * gst/gstbin.h:
18441         Redid the state change algorithm using a topological sort algo.
18442         Handles all cases correctly.
18443         Exposed iterator for state change order.
18444
18445         * gst/gstelement.h:
18446         Temp storage for state changes. Need to get rid of this soon.
18447
18448 2005-09-27  Wim Taymans  <wim@fluendo.com>
18449
18450         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18451         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18452         (link_fold_func), (gst_pad_proxy_setcaps):
18453         Leak fixes, the fold functions need to unref the passed object and
18454         _get_parent_*() returns ref to parent.
18455
18456 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18457
18458         * check/gst/gstbuffer.c: (test_make_writable):
18459           Plug leak in test case and fix 'make check-valgrind'
18460
18461 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18462
18463         * gst/gstbuffer.c: (gst_subbuffer_init):
18464           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18465           works correctly in all circumstances (we could have just copied
18466           the parent buffer's readonly flag, but conceptually it seems
18467           cleaner to mark all subbuffers as read-only). (based on patch
18468           by Alessandro Decina, #314710).
18469         
18470         * check/gst/gstbuffer.c: (create_read_only_buffer),
18471         (test_make_writable), (test_subbuffer_make_writable),
18472         (gst_test_suite):
18473           Add some tests for gst_buffer_make_writable().
18474
18475 2005-09-27  Wim Taymans  <wim@fluendo.com>
18476
18477         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18478         use gst_object_has_ancestor().
18479
18480         * gst/gstobject.c: (gst_object_has_ancestor):
18481         * gst/gstobject.h:
18482         gst_object_has_ancestor() copied from gstbin.c as it is a
18483         useful function.
18484
18485         * tests/instantiate/create.c: (create_all_elements):
18486         * tests/lat.c: (handoff_src), (handoff_sink):
18487         * tests/sched/runxml.c: (main):
18488         * tests/seeking/seeking1.c: (main):
18489         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18490         (main):
18491         Fix compilation of some tests.
18492
18493 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18494
18495         * gst/gsterror.h:
18496           Remove comment. GST_TYPE_G_ERROR is here to stay,
18497           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18498           (#316961, #300610).
18499
18500 2005-09-26  Wim Taymans  <wim@fluendo.com>
18501
18502         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18503         Added check that shows error in state change order.
18504
18505 2005-09-26  Wim Taymans  <wim@fluendo.com>
18506
18507         * gst/gstbin.c: (gst_bin_change_state):
18508         Make state change function use 3 queues again, we were
18509         adding elements in the wrong order.
18510
18511         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18512         Some debug info,
18513
18514         * gst/gstpad.c: (gst_pad_dispose):
18515         Added some debug info first.
18516
18517 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18518
18519         * docs/design/draft-push-pull.txt:
18520         * docs/design/part-events.txt:
18521         * docs/design/part-overview.txt:
18522         * docs/design/part-scheduling.txt:
18523           Replace all _pull_region() with _pull_range()
18524           
18525 2005-09-26  Andy Wingo  <wingo@pobox.com>
18526
18527         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18528
18529         * check/gst-libs/controller.c: Update for controller api change.
18530
18531         * configure.ac: 
18532         * tests/Makefile.am:
18533         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18534         over by GLib bug 118439.
18535         
18536         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18537         routines to a function.
18538
18539         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18540
18541         * libs/gst/controller/gsthelper.c:
18542         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18543         (gst_object_sync_values): Renamed from sink_values. Ugh.
18544
18545         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18546
18547         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18548         Renamed from controller_key, as it is exported.
18549
18550         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18551
18552 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18553
18554         * gst/Makefile.am:
18555         * gst/gst.h:
18556         * gst/gstpad.h:
18557         * gst/gstpadtemplate.h:
18558         * gst/gstquery.c:
18559         * gst/gstquery.h:
18560         * gst/gstqueryutils.c:
18561         * gst/gstqueryutils.h:
18562           remove queryutils headers after moving the two used functions
18563           to gstquery.  also fixes build problem for gstsiddec
18564
18565 2005-09-26  Michael Smith <msmith@fluendo.com>
18566
18567         * tools/gst-launch.1.in:
18568         Correct documentation in manpage of debug syntax
18569
18570 2005-09-26  Wim Taymans  <wim@fluendo.com>
18571
18572         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18573         (gst_base_src_is_seekable), (gst_base_src_change_state):
18574         Some more debugging info.
18575
18576 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18577
18578         * docs/gst/gstreamer-sections.txt:
18579         * gst/base/gstbasetransform.h:
18580         * gst/gstindex.h:
18581           added more docs
18582
18583 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18584
18585         * docs/gst/.cvsignore:
18586         * docs/gst/tmpl/.cvsignore:
18587         * docs/gst/tmpl/gstpipeline.sgml:
18588         * docs/gst/tmpl/gstplugin.sgml:
18589         * gst/gstpipeline.c:
18590         * gst/gstplugin.c:
18591         * gst/gstplugin.h:
18592           inlined the last two docs files
18593           removed the tmpl directory from cvs (no more conflicts here!)
18594
18595 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18596
18597         * docs/gst/gstreamer-sections.txt:
18598         * docs/gst/tmpl/.cvsignore:
18599         * docs/gst/tmpl/gstpad.sgml:
18600         * docs/gst/tmpl/gstpadtemplate.sgml:
18601         * gst/Makefile.am:
18602         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18603         (gst_pad_finalize), (gst_pad_set_pad_template):
18604         * gst/gstpad.h:
18605         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18606         (gst_pad_template_class_init), (gst_pad_template_init),
18607         (gst_pad_template_dispose), (name_is_valid),
18608         (gst_static_pad_template_get), (gst_pad_template_new),
18609         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18610         (gst_pad_template_pad_created):
18611         * gst/gstpadtemplate.h:
18612           inlined two more docs
18613           factored gstpadtemplate out of gstpad
18614
18615 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18616
18617         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18618         (test_children_state_change_order_semi_sink):
18619           Fix test case: we can't rely on a fixed state change order when
18620           going from READY => PAUSED because the sink might commit its 
18621           new state first when the first buffer created by the source 
18622           reaches the sink before the source has finished its change state.
18623           (Test case still fails at times, see #316856, comment 5 onwards)
18624
18625 2005-09-24  Wim Taymans  <wim@fluendo.com>
18626
18627         * docs/design/part-events.txt:
18628         * docs/design/part-gstbus.txt:
18629         * docs/design/part-gstpipeline.txt:
18630         * docs/design/part-messages.txt:
18631         * docs/design/part-overview.txt:
18632         * docs/design/part-segments.txt:
18633         * gst/gstbin.c:
18634         * gst/gstbuffer.c:
18635         * gst/gstclock.c:
18636         * gst/gstelement.c:
18637         * gst/gstevent.c:
18638         * gst/gstfilter.c:
18639         * gst/gstiterator.c:
18640         Various documentation updates.
18641
18642 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18643
18644         * gst/gstclock.h:
18645           Well, that's embarassing.  Luckily we weren't using
18646           GST_CLOCK_DIFF anywhere.
18647
18648 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         * common/gtk-doc.mak:
18651           don't fail on building XML, FC4 slave shows a bunch of doc
18652           missing bits that I don't get
18653         * gst/gstpad.c:
18654         * gst/gstpipeline.c:
18655         * gst/gststructure.c:
18656           some doc updates
18657
18658 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18659
18660         * docs/design/part-gstbin.txt:
18661         * docs/design/part-gstbus.txt:
18662         * gst/gstbus.c:
18663           Add blurb about how the bus goes into flushing mode and
18664           drops all messages when its bin goes from READY into NULL 
18665           state.
18666
18667 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18668
18669         * docs/gst/gstreamer-sections.txt:
18670         * gst/gststructure.c: (gst_structure_get_clock_time):
18671         * gst/gststructure.h:
18672           add a method to get a GstClockTime out of a structure
18673
18674 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18675
18676         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18677         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18678           Added test to check state change order in bins (can still be made
18679           to fail here under heavy disk load; bails out with 'Push on pad
18680           fakesink:sink0, but it was not activated in push mode').
18681
18682         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18683           Fix state change order when there is only a semi sink (#316856)
18684
18685         * gst/gstbus.c: (gst_bus_class_init):
18686           Use _class_peek_parent(), not _class_ref(); fix docs to say
18687           'default main context' instead of 'mainloop' where that is
18688           what's meant.
18689
18690         * gst/gstelement.c: (gst_element_commit_state),
18691         (gst_element_set_state):
18692           Fix typos in debug messages
18693
18694 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18695
18696         * docs/README:
18697         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18698         * gst/gstpluginfeature.c:
18699         * gst/gstutils.c:
18700           various doc updates
18701         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18702           change an assert into an error until it gets fixed properly
18703
18704 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18705
18706         * docs/gst/gstreamer-sections.txt:
18707         * docs/gst/tmpl/.cvsignore:
18708         * docs/gst/tmpl/gstelement.sgml:
18709         * docs/gst/tmpl/gstinfo.sgml:
18710         * docs/gst/tmpl/gstobject.sgml:
18711         * gst/gstelement.c:
18712         * gst/gstelement.h:
18713         * gst/gstinfo.c:
18714         * gst/gstinfo.h:
18715         * gst/gstobject.c: (gst_object_class_init):
18716         * gst/gstobject.h:
18717           inlined 3 more biiiig doc files and added some missing docs on the fly
18718
18719 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18720
18721         * check/gst/.cvsignore:
18722         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18723         * gst/gstregistryxml.c: (load_plugin),
18724         (gst_registry_xml_save_plugin):
18725           put back source in registry.  add checks for find_plugin.
18726         * testsuite/states/bin.c: (assert_state), (empty_bin),
18727         (test_adding_one_element), (main):
18728         * testsuite/states/locked.c: (main):
18729           some compile/run fixes
18730
18731 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18732
18733         * check/gst/gstvalue.c: (GST_START_TEST):
18734           fix leaks in the test itself
18735
18736 2005-09-22  Wim Taymans  <wim@fluendo.com>
18737
18738         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18739         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18740         (gst_base_sink_query):
18741         Prepare for more accurate position reporting and query
18742         handling.
18743
18744         * gst/gstelement.c: (gst_element_send_event),
18745         (gst_element_set_state):
18746         Add some comment.
18747
18748 2005-09-22  Wim Taymans  <wim@fluendo.com>
18749
18750         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18751         (gst_query_parse_segment):
18752         * gst/gstquery.h:
18753         More documentation.
18754         Add segment query for future use.
18755
18756 2005-09-22  Wim Taymans  <wim@fluendo.com>
18757
18758         * gst/gstbin.c: (gst_bin_add_func):
18759         Some more debug info.
18760
18761         * gst/gstelement.c: (gst_element_send_event):
18762         Simplify send_event
18763
18764         * gst/gstelement.h:
18765         Don't know how flags got broken.
18766
18767         * gst/gstquery.h:
18768         Added new query.
18769
18770 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18771
18772         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18773           Add simplistic test suite for GST_TYPE_DATE serialisation and
18774           deserialisation.
18775
18776 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18777
18778         * docs/gst/gstreamer-sections.txt:
18779         * gst/gststructure.c: (gst_structure_set_valist),
18780         (gst_structure_get_date):
18781         * gst/gststructure.h:
18782         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18783         (gst_date_copy), (gst_value_compare_date),
18784         (gst_value_serialize_date), (gst_value_deserialize_date),
18785         (gst_value_transform_date_string),
18786         (gst_value_transform_string_date), (_gst_value_initialize):
18787         * gst/gstvalue.h:
18788           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18789           bunch of utility functions along with a hack that checks that
18790           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18791           is required. Part of the grand scheme in #170777.
18792
18793 2005-09-22  Andy Wingo  <wingo@pobox.com>
18794
18795         * gst/gstconfig.h.in: Psych out gtk-doc.
18796
18797         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18798
18799         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18800
18801         * tools/gst-inspect.c (print_element_list): Plug some
18802         inconsequential leaks.
18803
18804         * gst/gstregistry.c (gst_registry_get_default): Doc.
18805
18806         * check/gst/gstplugin.c: 
18807         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18808         * gst/gstelementfactory.c (gst_element_factory_create): 
18809         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18810         refcount changes.
18811
18812         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18813         (gst_plugin_feature_load): Doc, don't eat refs.
18814
18815         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18816         (gst_plugin_list_free): Doc.
18817         (gst_plugin_load_file): Doc updates.
18818
18819         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18820         accessors returning refcounted objects, return a ref.
18821
18822         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18823         accessor for caps. IDEMPOTENCE. Oh yes.
18824
18825 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18826
18827         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18828
18829         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18830         (_gst_debug_register_funcptr):
18831           Add mutex to serialise access to the hash table with
18832           the function pointer => function name string mapping;
18833           make that hash table static scope (#316809).
18834
18835         * gst/registries/.cvsignore:
18836           Remove left-over file.
18837
18838 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18839
18840         * docs/pwg/appendix-porting.xml:
18841           And something about newsegment events and caps-on-buffers to
18842           the porting guide (feel free to improve).
18843
18844 2005-09-21  Andy Wingo  <wingo@pobox.com>
18845
18846         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18847         data and event probes on the same pad.
18848         (test_buffer_probe_once): Test that removing probes from within
18849         the probe functions works.
18850
18851 2005-09-21  Andy Wingo  <wingo@pobox.com>
18852
18853         * check/gst/gstutils.c: New file.
18854         (test_buffer_probe_n_times): A simple buffer probe test. More to
18855         come, foolios.
18856
18857         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18858         have-data::buffer, not have-data.
18859         (gst_pad_add_event_probe): Likewise for have-data::event.
18860         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18861         peer' isn't quite right yet though.
18862         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18863         (gst_pad_remove_data_probe): Change to take the guint handler_id
18864         as their arg, not the function+data, which is more glib-like.
18865
18866         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18867         the signal emission to indicate if the data is a buffer or an
18868         event.
18869         (gst_pad_get_type): Initialize buffer and event quarks.
18870         (gst_pad_class_init): have-data is now a detailed signal, yes it
18871         is.
18872
18873 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18874
18875         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18876         * gst/gstutils.c: (gst_util_set_value_from_string),
18877         (gst_util_set_object_arg):
18878           Don't put functional code in g_return_if_fail() or
18879           g_return_val_if_fail() statements, otherwise things will 
18880           break when G_DISABLE_CHECKS is defined during compilation.
18881
18882 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18883
18884         * docs/gst/tmpl/.cvsignore:
18885         * docs/gst/tmpl/gstvalue.sgml:
18886         * gst/gstvalue.c:
18887         * gst/gstvalue.h:
18888           inlied another one and added  some obvious docs
18889
18890 2005-09-21  Wim Taymans  <wim@fluendo.com>
18891
18892         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18893         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18894         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18895         (gst_fdsrc_get_property), (gst_fdsrc_create):
18896         * gst/elements/gstfdsrc.h:
18897         Properly implement fdsrc. Removed signal and timeout,
18898         better implemented somewhere else.
18899
18900 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18901
18902         * docs/gst/tmpl/.cvsignore:
18903         * docs/gst/tmpl/gstimplementsinterface.sgml:
18904         * gst/gstinterface.c:
18905           inlined more docs
18906
18907 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18908
18909         * docs/gst/gstreamer-sections.txt:
18910         * docs/gst/tmpl/.cvsignore:
18911         * docs/gst/tmpl/gstenumtypes.sgml:
18912           remove obsolete doc file
18913
18914 2005-09-21  David Schleef  <ds@schleef.org>
18915
18916         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18917         little beer, fix a little leak.
18918
18919 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18920
18921         * docs/gst/gstreamer-docs.sgml:
18922         * docs/gst/gstreamer-sections.txt:
18923         * docs/gst/tmpl/.cvsignore:
18924         * gst/Makefile.am:
18925         * gst/gst.h:
18926         * gst/gstbin.c:
18927         * gst/gstelement.h:
18928         * gst/gstindex.c: (gst_index_class_init):
18929         * gst/gstindex.h:
18930         * gst/gstindexfactory.c: (gst_index_factory_get_type),
18931         (gst_index_factory_class_init), (gst_index_factory_init),
18932         (gst_index_factory_finalize), (gst_index_factory_new),
18933         (gst_index_factory_destroy), (gst_index_factory_find),
18934         (gst_index_factory_create), (gst_index_factory_make):
18935         * gst/gstindexfactory.h:
18936         * gst/gstpluginfeature.c:
18937         * gst/gstpluginfeature.h:
18938         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18939           more docs inlined, splitted gstindex.{c,h}
18940
18941 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18944           fix a leak
18945
18946 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18947
18948         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18949           Set sync to FALSE by default.
18950
18951 2005-09-20  Wim Taymans  <wim@fluendo.com>
18952
18953         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18954         (gst_base_sink_init):
18955         Make sync property settable from subclass.
18956
18957         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18958         (gst_fake_sink_change_state):
18959         Set sync to FALSE by default.
18960
18961 2005-09-20  Wim Taymans  <wim@fluendo.com>
18962
18963         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18964         * tools/gst-launch.c: (main):
18965         The timeout handler should have lower priority than the source
18966         so we don't timeout before popping a message with 0 timeout.
18967         Dump error messages after failed state change.
18968
18969 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18970
18971         * tools/gst-inspect.c: (print_element_properties_info):
18972           Fix two typos.
18973
18974 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18975
18976         * check/gst/gstevent.c:
18977         * gst/elements/gstfakesink.c:
18978         * gst/elements/gstfakesink.h:
18979           remove the sync property from fakesink.
18980           has the side effect of setting sync TRUE
18981           for fakesink, which is a change.  Anyone who knows how
18982           to fix this nicely in a GObject-y way, feel free.
18983
18984 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18985
18986         * docs/gst/gstreamer-docs.sgml:
18987           remove probe refsection
18988
18989 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18990
18991         * check/Makefile.am:
18992           disable valgrinding the controller test again
18993         * docs/gst/gstreamer-sections.txt:
18994           update for api-changes
18995
18996 2005-09-20  Wim Taymans  <wim@fluendo.com>
18997
18998         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18999         (gst_base_sink_set_property), (gst_base_sink_get_property),
19000         (gst_base_sink_do_sync):
19001         * gst/base/gstbasesink.h:
19002         Added sync property to basesink to disable clock sync.
19003
19004 2005-09-20  Andy Wingo  <wingo@pobox.com>
19005
19006         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19007         eating the caller's refcount.
19008
19009         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19010         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19011         refcount.
19012
19013         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19014         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19015         of GLib 2.8 public, so we can know which refcount to check in
19016         tests.
19017
19018         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19019         (gst_object_init): Only set the gst refcount if we're going ahead
19020         with the refcount hack.
19021
19022 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19023
19024         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19025         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19026           more leaks plumbed, added more debug-logging
19027         * gst/gstmacros.h:
19028           whitespace fix
19029
19030 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19031
19032         * gst/gstmessage.c:
19033           remove include of gstmemchunk.h
19034
19035 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19036
19037         * gst/gstclock.c: (_gst_clock_id_free):
19038           Commit from the Political Party For More Atomic CVS Commits,
19039           so that people don't waste too much of their day fishing
19040           out obvious leaks out of massive commits.
19041           Oh, and fix a pretty damn obvious leak in the memchunk
19042           removal code.
19043
19044 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19045
19046         * check/Makefile.am:
19047         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19048           plug mem-leak, re-add to valgrindable tests
19049
19050 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19051
19052         * gst/gstplugin.h:
19053           unbreak the build for those who have chronic arthritis
19054           and typing "make check" is just too taxing on the hands
19055
19056 2005-09-20  Andy Wingo  <wingo@pobox.com>
19057
19058         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19059         really want it out, you should fix plugins at the same time.
19060
19061 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19062
19063         * configure.ac:
19064         * docs/gst/gstreamer-sections.txt:
19065         * gst/gstobject.c:
19066           added missing symbols to api docs
19067           disable ref-count hack if we have glib >= 2.8
19068
19069 2005-09-19  David Schleef  <ds@schleef.org>
19070
19071         * docs/gst/Makefile.am: Ignore a few more internal headers
19072         * docs/gst/gstreamer-docs.sgml: Remove old sections
19073         * docs/gst/gstreamer-sections.txt: Remove old sections
19074         * docs/gst/tmpl/gstobject.sgml: update
19075         * docs/gst/tmpl/gstplugin.sgml: update
19076         * docs/gst/tmpl/gstpluginfeature.sgml: update
19077         * docs/random/ds/0.9-suggested-changes: update.
19078         * gst/Makefile.am: remove memchunk and trashstack, since they're
19079           not used.
19080         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19081         * gst/gst.h: don't include some headers
19082         * gst/gstchildproxy.c: add gstmarshal.h
19083         * gst/gstclock.c: Don't use memchunks
19084         * gst/gstminiobject.c: Add some docs
19085         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19086         * gst/gstobject.h: same
19087         * gst/gstplugin.c: include gstmacros.h
19088         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19089         * gst/gstquery.c: don't use memchunks
19090         * gst/gstregistry.c: rename gst_registry_deinit()
19091         * gst/gstregistry.h: same
19092
19093 2005-09-19  David Schleef  <ds@schleef.org>
19094
19095         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19096         * docs/libs/gstreamer-libs-sections.txt:
19097         * docs/libs/tmpl/gstgetbits.sgml:
19098         * docs/libs/tmpl/gstputbits.sgml:
19099
19100 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19101
19102         * win32/gstenumtypes.c:
19103         * win32/gstenumtypes.h:
19104           Update.
19105
19106 2005-09-19  Wim Taymans  <wim@fluendo.com>
19107
19108         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19109         Automatically PAUSE and RESUME a pipeline when a flushing seek
19110         is performed.
19111
19112 2005-09-19  Andy Wingo  <wingo@pobox.com>
19113
19114         * gst/gstregistry.h: Spacing fixen.
19115
19116 2005-09-19  Wim Taymans  <wim@fluendo.com>
19117
19118         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19119         Handle state change failure more correctly.
19120
19121 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19122
19123         * check/Makefile.am:
19124         * check/pipelines/cleanup.c: (run_pipeline):
19125         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19126         (GST_START_TEST):
19127           enable cleanup again after fixing the leak
19128         * docs/README:
19129           some more info on docs
19130
19131 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19132
19133         * check/Makefile.am:
19134           re-enable tests now that leaks are plugged
19135         * check/gst/gst.c:
19136         * check/gst/gstbin.c:
19137         * check/gst/gstpipeline.c:
19138           add some more tests while fixing leaks
19139         * common/check.mak:
19140           make sure binaries are uptodate when valgrinding/gdbing
19141         * gst/gst.c:
19142         * gst/gstelementfactory.c:
19143           remove a ref too many, and add a FIXME for when we get
19144           round to disposing of classes
19145         * gst/gstplugin.c:
19146           fix the refcounting when loading a plugin from a file and
19147           the code pretends that the pointer is the same even though
19148           of course it can change
19149         * gst/gstpluginfeature.c:
19150           unref plugins marked cached (a bit confusing as a name)
19151           as the docs state should be done
19152           various doc additions to explain refcounting
19153         * gst/gstregistry.c:
19154         * gst/gstregistryxml.c:
19155           debugging
19156
19157 2005-09-19  Wim Taymans  <wim@fluendo.com>
19158
19159         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19160         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19161         (send_messages), (GST_START_TEST), (gstbus_suite):
19162         * check/gst/gstpipeline.c: (GST_START_TEST):
19163         * check/pipelines/cleanup.c: (run_pipeline):
19164         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19165         (GST_START_TEST):
19166         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19167         (gst_bus_source_check), (gst_bus_source_dispatch),
19168         (gst_bus_create_watch), (gst_bus_add_watch_full),
19169         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19170         * gst/gstbus.h:
19171         * tools/gst-launch.c: (event_loop):
19172         * tools/gst-md5sum.c: (event_loop):
19173         GstBusHandler -> GstBusFunc, return value has the same meaning as
19174         any other GSource (FALSE == remove source).
19175         _add_watch() and _add_watch_full() now take a MessageType mask to
19176         only handle specific types of messages.
19177         _poll() returns the GstMessage instead of the message type to avoid
19178         race conditions.
19179         _have_pending() takes a MessageType mask now too.
19180         Added testsuite for multiple bus watches.
19181         Fix testsuites and applications for new bus API.
19182
19183 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19184
19185         * check/Makefile.am:
19186           mark a bunch of the tests as to fix until we fix them
19187
19188 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19189
19190         * common/check.mak:
19191           use GST_PLUGIN settings for valgrind tests as well, so we're
19192           valgrinding the correct thing
19193         * gst/gst.c: (init_post):
19194           plug another leak
19195
19196 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19197
19198         * gst/gst.c: (init_post), (gst_deinit):
19199         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19200         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19201         * gst/gstindex.c: (gst_index_factory_class_init),
19202         (gst_index_factory_finalize):
19203         * gst/gstobject.c: (gst_object_dispose):
19204         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19205         (gst_plugin_load_file), (gst_plugin_desc_free):
19206         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19207         (gst_plugin_feature_finalize):
19208         * gst/gstregistry.c: (gst_registry_class_init),
19209         (gst_registry_init), (gst_registry_finalize),
19210         (gst_registry_get_default), (gst_registry_deinit):
19211         * gst/gstregistry.h:
19212         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19213           various cleanups and memleak plugging.  make valgrind is happy now.
19214
19215 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         * common/check.mak:
19218           add a check-valgrind target
19219
19220 2005-09-18  David Schleef  <ds@schleef.org>
19221
19222         * tools/gst-inspect.c: Revert the GOption code.
19223
19224 2005-09-17  David Schleef  <ds@schleef.org>
19225
19226         * check/Makefile.am: Fix environment variables.
19227         * check/gst/gstplugin.c: Fix for API changes.
19228         * tools/gst-inspect.c: Fix for API changes.
19229         * tools/gst-xmlinspect.c: Fix for API changes.
19230         * gst/gstelementfactory.c:
19231         * gst/gstplugin.c:
19232         * gst/gstplugin.h:
19233         * gst/gstpluginfeature.c:
19234         * gst/gstpluginfeature.h:
19235         * gst/gstregistry.c:
19236         * gst/gstregistry.h:
19237         * gst/gstregistryxml.c:
19238         * gst/gsttypefind.c:
19239         * gst/gsttypefindfactory.c:
19240         * gst/indexers/gstfileindex.c:
19241         * gst/indexers/gstmemindex.c:
19242         * gst/schedulers/Makefile.am:
19243           Change registry to keep track of both plugins and features,
19244           removing the feature tracking from plugins themselves.
19245
19246 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19247
19248         * check/Makefile.am:
19249         * tools/gst-register.1.in:
19250           remove gst-register
19251
19252 2005-09-15  David Schleef  <ds@schleef.org>
19253
19254         * check/gst/gstplugin.c:
19255         * gst/gstelementfactory.c:
19256         * gst/gstplugin.c:
19257         * gst/gstpluginfeature.c:
19258         * gst/gstregistry.c:
19259           Getting tired of debugging.  Disabled all the unreffing of
19260           plugins and features, which fixes the segfaults, but of
19261           course leaks like crazy.  At least playbin works.
19262
19263 2005-09-15  David Schleef  <ds@schleef.org>
19264
19265         * check/gst/gstplugin.c: (register_check_elements),
19266         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19267         More testing
19268         * gst/elements/gsttypefindelement.c: Fix refcounting.
19269         * gst/gsttypefind.c:
19270         * gst/gsttypefindfactory.c:
19271         * gst/gsttypefindfactory.h:
19272
19273 2005-09-15  David Schleef  <ds@schleef.org>
19274
19275         * gst/gstindex.c: get refcounting correct.
19276         * gst/gstregistry.c: Handle the case where a feature/plugin is
19277           not found.
19278
19279 2005-09-15  David Schleef  <ds@schleef.org>
19280
19281         * check/Makefile.am:
19282         * check/gst/gstplugin.c: Add test
19283         * gst/gstplugin.c: Fix problems noticed by testsuite
19284         * gst/gstplugin.h:
19285         * gst/gstregistry.c: 
19286         * gst/gstregistry.h:
19287
19288 2005-09-15  David Schleef  <ds@schleef.org>
19289
19290         * gst/gstplugin.c: Implement semi-decent recounting and locking
19291           in plugins and plugin features.
19292         * gst/gstplugin.h:
19293         * gst/gstpluginfeature.c:
19294         * gst/gstpluginfeature.h:
19295         * gst/gstregistry.c:
19296
19297 2005-09-15  Michael Smith <msmith@fluendo.com>
19298
19299         * gst/gstregistry.c: (gst_registry_get_feature_list):
19300           Implement this. Makes oggdemux work; decodebin still broken.
19301
19302 2005-09-14  David Schleef  <ds@schleef.org>
19303
19304         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19305           #316076)
19306         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19307         * gst/check/Makefile.am:
19308         * libs/gst/controller/Makefile.am:
19309         * libs/gst/dataprotocol/Makefile.am:
19310
19311 2005-09-14  David Schleef  <ds@schleef.org>
19312
19313         * configure.ac: Remove getbits library.  Nothing uses it, and
19314           it should be in something like liboil if someone did want
19315           to use it.
19316         * libs/gst/Makefile.am:
19317         * libs/gst/getbits/Makefile.am:
19318         * libs/gst/getbits/gbtest.c:
19319         * libs/gst/getbits/getbits.c:
19320         * libs/gst/getbits/getbits.h:
19321         * libs/gst/getbits/gstgetbits_generic.c:
19322         * libs/gst/getbits/gstgetbits_i386.s:
19323         * libs/gst/getbits/gstgetbits_inl.h:
19324
19325 2005-09-14  David Schleef  <ds@schleef.org>
19326
19327         * gst/Makefile.am: Dist glib-compat.h
19328
19329 2005-09-14  David Schleef  <ds@schleef.org>
19330
19331         * configure.ac: Remove gst/registries, since it's no longer used.
19332         * gst/registries/Makefile.am:
19333         * gst/registries/gstlibxmlregistry.c:
19334         * gst/registries/gstlibxmlregistry.h:
19335         * gst/registries/gstxmlregistry.c:
19336         * gst/registries/gstxmlregistry.h:
19337         * gst/registries/registrytest.c:
19338
19339 2005-09-14  David Schleef  <ds@schleef.org>
19340
19341         * gst/glib-compat.h:
19342         * gst/gstregistryxml.c:
19343           Convergence is near.  Seriously.
19344
19345 2005-09-14  David Schleef  <ds@schleef.org>
19346
19347         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19348         * gst/glib-compat.h:
19349           Attempt #4 to appease the buildbots.
19350
19351 2005-09-14  David Schleef  <ds@schleef.org>
19352
19353         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19354           Attempt #3.
19355
19356 2005-09-14  David Schleef  <ds@schleef.org>
19357
19358         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19359         Attempt #2.
19360
19361 2005-09-14  David Schleef  <ds@schleef.org>
19362
19363         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19364           the new functions.
19365
19366 2005-09-14  David Schleef  <ds@schleef.org>
19367
19368         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19369         * gst/glib-compat.h: Add some functions that are in newer versions
19370           of glib than we care to require.
19371         * gst/gstregistryxml.c: Use them.
19372
19373 2005-09-14  David Schleef  <ds@schleef.org>
19374
19375         * po/POTFILES.in: remove gst-register.c
19376
19377 2005-09-14  David Schleef  <ds@schleef.org>
19378
19379         * docs/gst/gstreamer-docs.sgml:
19380         * docs/gst/gstreamer-sections.txt:
19381         * docs/gst/gstreamer.types:
19382         * docs/gst/tmpl/gstelement.sgml:
19383         * docs/gst/tmpl/gstplugin.sgml:
19384         * docs/gst/tmpl/gstpluginfeature.sgml:
19385           Documentation updates for registry changes.
19386
19387 2005-09-14  David Schleef  <ds@schleef.org>
19388
19389         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19390           because we don't require glib-2.8.
19391
19392 2005-09-14  David Schleef  <ds@schleef.org>
19393
19394         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19395           registries directory.
19396
19397 2005-09-14  David Schleef  <ds@schleef.org>
19398
19399         * check/Makefile.am:
19400         * check/generic/states.c:
19401         * gst/Makefile.am:
19402         * gst/gst.c:
19403         * gst/gst.h:
19404         * gst/gst_private.h:
19405         * gst/gstelementfactory.c:
19406         * gst/gstindex.c:
19407         * gst/gstinfo.c:
19408         * gst/gstplugin.c:
19409         * gst/gstplugin.h:
19410         * gst/gstpluginfeature.c:
19411         * gst/gstpluginfeature.h:
19412         * gst/gstregistry.c:
19413         * gst/gstregistry.h:
19414         * gst/gstregistrypool.c: remove
19415         * gst/gstregistrypool.h: remove
19416         * gst/gsttypefind.c:
19417         * gst/gsttypefindfactory.c:
19418         * gst/gsturi.c:
19419         * tools/Makefile.am:
19420         * tools/gst-compprep.c:
19421         * tools/gst-inspect.c:
19422         * tools/gst-register.c: remove
19423         * tools/gst-xmlinspect.c:
19424           Registry rewrite.  Changes registry from being a file created
19425           by a tool into a simple cache file created automatically by 
19426           libgstreamer.  Removed gst-register (because it's no longer
19427           needed).  Remove registry pools, because we only have one
19428           registry implementation (XML).  Fix up other subsystems as
19429           necessary.
19430
19431 2005-09-13  Michael Smith <msmith@fluendo.com>
19432
19433         * gst/gstconfig.h.in:
19434           Don't Use windows linking attributes for MinGW. Fixes #316157
19435
19436 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19437
19438         * gst/gstutils.c: (set_state_async_thread_func),
19439         (gst_element_set_state_async):
19440           Apparently people think it's better if this function doesn't
19441           try to set the state to whatever state was asked for on the first
19442           call to this function for any object.  Seriously.
19443
19444 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * check/gst/gstpipeline.c: (GST_START_TEST):
19447         * docs/gst/gstreamer-sections.txt:
19448         * gst/gstutils.c: (set_state_async_thread_func),
19449         (gst_element_set_state_async):
19450         * gst/gstutils.h:
19451           add a "gst_element_set_state_async" method that
19452           sets the state and starts a thread to make sure the state
19453           change completes as best as it can
19454
19455 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19456
19457         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19458           codify design+behaviour in testsuite after discussion
19459
19460 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19461
19462         * docs/gst/tmpl/gstelement.sgml:
19463         * docs/manual/appendix-quotes.xml:
19464           add a quote
19465         * gst/gstelement.c: (gst_element_set_state):
19466           add some debug
19467
19468 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19469
19470         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19471         (gst_base_transform_prepare_output_buf),
19472         (gst_base_transform_handle_buffer):
19473         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19474         (gst_capsfilter_prepare_buf):
19475           Remove the requirement for sub-classes to call the parent
19476           implementation of prepare_output_buffer with a wrapper function.
19477           
19478         * gst/gsttaglist.h:
19479         * gst/gsttagsetter.h:
19480           Fix #define wrapper
19481
19482 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19483
19484         * docs/gst/gstreamer-sections.txt:
19485           more doc cleanups
19486
19487 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19488
19489         * docs/gst/gstreamer-sections.txt:
19490         * docs/gst/tmpl/gstelement.sgml:
19491         * docs/gst/tmpl/gstplugin.sgml:
19492         * gst/gstminiobject.c:
19493         * gst/gstvalue.h:
19494           docs now stop throwing warnings
19495
19496 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19497
19498         * docs/gst/gstreamer-sections.txt:
19499         * docs/gst/gstreamer.types:
19500         * docs/gst/tmpl/gstpad.sgml:
19501         * docs/gst/tmpl/gsttypes.sgml:
19502         * gst/base/gstadapter.h:
19503         * gst/base/gstbasesink.h:
19504         * gst/base/gstbasesrc.h:
19505         * gst/gstbin.h:
19506         * gst/gstbuffer.h:
19507         * gst/gstbus.h:
19508         * gst/gstcaps.h:
19509         * gst/gstclock.h:
19510         * gst/gstelement.h:
19511         * gst/gstevent.h:
19512         * gst/gstmessage.h:
19513         * gst/gstpad.h:
19514         * gst/gststructure.c:
19515         * gst/registries/gstlibxmlregistry.h:
19516           various documentation fixes
19517
19518 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * docs/gst/gstreamer-sections.txt:
19521         * docs/gst/tmpl/gstvalue.sgml:
19522           rearrange gstvalue section
19523         * gst/gstutils.c: (gst_element_state_get_name):
19524           NONE -> VOID
19525         * gst/gstvalue.c: (_gst_value_initialize):
19526         * gst/gstvalue.h:
19527           doc updates
19528
19529 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19530
19531         * check/gst-libs/controller.c:
19532           Header include fix.
19533         * gst/base/gstbasetransform.c:
19534         (gst_base_transform_default_prepare_buf),
19535         (gst_base_transform_handle_buffer):
19536         * gst/base/gstbasetransform.h:
19537           Some more basetransform changes and fixes to enable sub-classes
19538           that modify buffer metadata only.
19539         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19540         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19541         (gst_capsfilter_prepare_buf):
19542           If the output pad has fixed allowed caps and input buffers 
19543           don't have any, set the fixed caps on outgoing buffers.
19544
19545 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19546         * check/elements/identity.c: (GST_START_TEST):
19547           Make the error a little clearer when the test fails because
19548           identity made a copy of the buffer.
19549         * docs/gst/gstreamer-sections.txt:
19550           New symbols in gstbasetransform.h
19551         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19552         (gst_base_transform_init), (gst_base_transform_transform_size),
19553         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19554         (gst_base_transform_default_prepare_buf),
19555         (gst_base_transform_get_unit_size),
19556         (gst_base_transform_buffer_alloc),
19557         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19558         (gst_base_transform_change_state),
19559         (gst_base_transform_set_passthrough),
19560         (gst_base_transform_set_in_place),
19561         (gst_base_transform_is_in_place):
19562         * gst/base/gstbasetransform.h:
19563           Change BaseTransform to separate in_place operate from same_caps
19564           output. in_place implies that the element can perform the transform
19565           on incoming buffers in-place, even if the caps on the output are
19566           different.
19567           Sub-class elements can now implement special buffer allocation
19568           methods for outgoing buffers if they wish to.
19569           Big documentation addition.
19570         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19571         * gst/elements/gstelements.c:
19572           Changes for basetransform modifications.
19573         * gst/elements/Makefile.am:
19574         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19575           Compile fix. Extra debug output.
19576
19577 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19578
19579         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19580         (gst_pad_suite):
19581           add tests for valid pad naming
19582         * gst/check/gstcheck.c: (gst_check_log_message_func),
19583         (gst_check_log_critical_func):
19584           add ASSERT_WARNING
19585           remove printing of code, it is fragile when the code contains
19586           % and the line number is enough info
19587         * gst/check/gstcheck.h:
19588         * gst/gstpad.c: (gst_pad_template_new):
19589           fix memleaks
19590
19591 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19592
19593         * configure.ac:
19594           say what CHECK flags we use
19595         * docs/libs/gstreamer-libs.types:
19596         * libs/gst/controller/Makefile.am:
19597         * libs/gst/controller/gst-controller.c:
19598         * libs/gst/controller/gst-controller.h:
19599         * libs/gst/controller/gst-helper.c:
19600         * libs/gst/controller/gst-interpolation.c:
19601         * libs/gst/controller/gstcontroller.c:
19602         * libs/gst/controller/gsthelper.c:
19603         * libs/gst/controller/gstinterpolation.c:
19604         * tools/gst-inspect.c: (print_plugin_info):
19605           we don't use dashes in header names
19606
19607 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19608
19609         * check/Makefile.am:
19610         * check/gst/.cvsignore:
19611         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19612         (gst_pipeline_suite), (main):
19613           adding a test for pipelines and state changes
19614         * gst/gstutils.c: (get_state_func):
19615           add some debugging
19616         * gstreamer.spec.in:
19617           fix up spec file
19618
19619 2005-09-08  Michael Smith <msmith@fluendo.com>
19620
19621         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19622         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19623         (gst_file_src_is_seekable), (gst_file_src_get_size),
19624         (gst_file_src_start):
19625         * gst/elements/gstfilesrc.h:
19626           Various fixes for unseekable, unmmapable, and non-normal files, so
19627           that fallback to read() rather than mmap() works.
19628         * gst/gstevent.c: (gst_event_new_newsegment):
19629           Allow newsegment events with segment_start == segment_end, as will
19630           correctly happen if you use filesrc on a zero-size file, for
19631           example.
19632
19633 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19634
19635         * gst/gstplugin.c: (gst_plugin_load_file):
19636           Call g_module_close when we don't load the module
19637
19638         * gst/registries/gstlibxmlregistry.c:
19639         (gst_xml_registry_get_property):
19640           Port leak fix from 0.8
19641
19642 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19643
19644         * docs/gst/gstreamer-docs.sgml:
19645         * docs/gst/tmpl/.cvsignore:
19646         * docs/gst/tmpl/gsttrace.sgml:
19647         * docs/gst/tmpl/gsttrashstack.sgml:
19648         * gst/Makefile.am:
19649         * gst/gst.h:
19650         * gst/gstelement.h:
19651         * gst/gstevent.h:
19652         * gst/gstmessage.c:
19653         * gst/gstmessage.h:
19654         * gst/gsttag.c:
19655         * gst/gsttag.h:
19656         * gst/gsttaginterface.c:
19657         * gst/gsttaginterface.h:
19658         * gst/gsttaglist.c:
19659         * gst/gsttaglist.h:
19660         * gst/gsttagsetter.c:
19661         * gst/gsttagsetter.h:
19662         * gst/gsttrace.c:
19663         * gst/gsttrace.h:
19664         * gst/gsttrashstack.c:
19665           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19666           inlined docs for gsttrace, gsttrashstack
19667
19668 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19669
19670         * gst/Makefile.am:
19671         * gst/elements/gstbufferstore.h:
19672         * gst/elements/gsttypefindelement.c:
19673         * gst/elements/gsttypefindelement.h:
19674         * gst/gst.h:
19675         * gst/gsttypefind.c:
19676         * gst/gsttypefind.h:
19677         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19678         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19679         (gst_type_find_factory_dispose),
19680         (gst_type_find_factory_unload_thyself),
19681         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19682         (gst_type_find_factory_get_caps),
19683         (gst_type_find_factory_get_extensions),
19684         (gst_type_find_factory_call_function):
19685         * gst/gsttypefindfactory.h:
19686         * gst/registries/gstlibxmlregistry.c:
19687         * gst/registries/gstxmlregistry.c:
19688           splitted gsttypefind into gsttypefind, gsttypefindfactory
19689
19690 2005-09-07  Andy Wingo  <wingo@pobox.com>
19691
19692         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19693         condition whereby the pad's task function is entered before the
19694         pad_mode variable was set.
19695
19696 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19697
19698         * gst/gstpad.c: (gst_pad_alloc_buffer):
19699           Catch misbehaving pad_alloc functions that don't
19700           set up caps and do it for them.
19701
19702 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19703
19704         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19705           test for pipe!=NULL
19706         * docs/gst/tmpl/.cvsignore:
19707         * docs/gst/tmpl/gstmemchunk.sgml:
19708         * docs/gst/tmpl/gstparse.sgml:
19709         * docs/gst/tmpl/gsttaglist.sgml:
19710         * docs/gst/tmpl/gsttagsetter.sgml:
19711         * docs/gst/tmpl/gsttypefind.sgml:
19712         * docs/gst/tmpl/gsttypefindfactory.sgml:
19713         * gst/gstmemchunk.c:
19714         * gst/gstparse.c:
19715         * gst/gsttag.c:
19716         * gst/gsttaginterface.c:
19717         * gst/gsttypefind.c:
19718         * gst/gsttypefind.h:
19719           inlined more docs
19720
19721 === release 0.9.2 ===
19722
19723 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19724
19725         * NEWS:
19726         * RELEASE:
19727         * configure.ac:
19728           releasing 0.9.2, "South"
19729
19730 2005-09-05  Andy Wingo  <wingo@pobox.com>
19731
19732         * gst/registries/gstxmlregistry.h:
19733         * gst/registries/gstxmlregistry.c: Um... resurrect...
19734         
19735         * gst/registries/gstxmlregistry.h:
19736         * gst/registries/gstxmlregistry.c: and update to newer API.
19737         Incidentally they should be a bit faster now that they don't have
19738         to parse the caps.
19739         
19740 2005-09-05  Andy Wingo  <wingo@pobox.com>
19741
19742         * gst/registries/gstxmlregistry.h:
19743         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19744         replaced by the libxml registry a while back
19745
19746 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19747
19748         * docs/gst/tmpl/gstplugin.sgml:
19749         * gst/elements/gstelements.c:
19750         * gst/gst.c:
19751         * gst/gstplugin.c: (gst_plugin_register_func),
19752         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19753         (gst_plugin_get_source):
19754         * gst/gstplugin.h:
19755         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19756         (gst_xml_registry_save_plugin):
19757         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19758         (gst_xml_registry_save_plugin):
19759         * tools/gst-inspect.c: (print_plugin_info):
19760           add a "source" plugin description field, to represent the source
19761           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19762           will set it to PACKAGE, which is automake's idea of the name of
19763           the source project.
19764
19765 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19766
19767         * Makefile.am:
19768         * autogen.sh:
19769         * configure.ac:
19770         * docs/Makefile.am:
19771         * docs/faq/Makefile.am:
19772         * docs/gst/tmpl/gstelement.sgml:
19773         * docs/gst/tmpl/gsttypes.sgml:
19774         * docs/htmlinstall.mak:
19775         * docs/manual/Makefile.am:
19776         * docs/pwg/Makefile.am:
19777           reorganize doc build a little
19778           split out docbook and gtk-doc stuff
19779           have two separate --enable's and enable them through autogen
19780           but disable by default in configure (to be similar to other
19781           projects)
19782         * gstreamer.spec.in:
19783           clean up docs install
19784         * po/af.po:
19785         * po/az.po:
19786         * po/ca.po:
19787         * po/cs.po:
19788         * po/de.po:
19789         * po/en_GB.po:
19790         * po/fr.po:
19791         * po/it.po:
19792         * po/nb.po:
19793         * po/nl.po:
19794         * po/ru.po:
19795         * po/sq.po:
19796         * po/sr.po:
19797         * po/sv.po:
19798         * po/tr.po:
19799         * po/uk.po:
19800         * po/vi.po:
19801           translation updates
19802
19803 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19804
19805         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19806           Add comment.
19807           
19808         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19809         (gst_fake_sink_change_state):
19810           Make state change function thread-safe.
19811           
19812         * gst/gstpad.c: (gst_pad_alloc_buffer):
19813           Set offset on generic buffer allocated by fallback.
19814
19815 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19816
19817         * docs/gst/gstreamer-sections.txt:
19818         * docs/gst/tmpl/gstelement.sgml:
19819         * gst/gstpad.c:
19820         * libs/gst/controller/gst-controller.c:
19821         (gst_controlled_property_set_interpolation_mode),
19822         (gst_controlled_property_new),
19823         (gst_controller_find_controlled_property):
19824          run the wingo-magic script against the docs
19825
19826 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19827
19828         * docs/gst/gstreamer-docs.sgml:
19829         * docs/gst/gstreamer-sections.txt:
19830         * docs/gst/tmpl/.cvsignore:
19831         * docs/gst/tmpl/gstelementdetails.sgml:
19832         * docs/gst/tmpl/gstelementfactory.sgml:
19833         * gst/gst.c:
19834         * gst/gstbus.c:
19835         * gst/gstelementfactory.c:
19836         * gst/gstelementfactory.h:
19837           merged elementdetails docs into elementfactory docs
19838           inlined both
19839
19840 2005-09-02  Andy Wingo  <wingo@pobox.com>
19841
19842         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19843         consider this enum an enum and not a flags.
19844
19845 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19846
19847         * docs/gst/gstreamer-docs.sgml:
19848         * docs/gst/tmpl/.cvsignore:
19849         * docs/gst/tmpl/gstghostpad.sgml:
19850         * docs/gst/tmpl/gstiterator.sgml:
19851         * docs/gst/tmpl/gstmacros.sgml:
19852         * docs/gst/tmpl/gstrealpad.sgml:
19853         * docs/gst/tmpl/gstregistry.sgml:
19854         * docs/gst/tmpl/gstregistrypool.sgml:
19855         * docs/gst/tmpl/gststructure.sgml:
19856         * docs/gst/tmpl/gstsystemclock.sgml:
19857         * docs/gst/tmpl/gsttrace.sgml:
19858         * gst/gstghostpad.c:
19859         * gst/gstmacros.h:
19860         * gst/gstmemchunk.c:
19861         * gst/gstmemchunk.h:
19862         * gst/gstqueue.c:
19863         * gst/gstregistry.c:
19864         * gst/gstregistrypool.c:
19865         * gst/gststructure.c:
19866         * gst/gstsystemclock.c:
19867           more docs inlined
19868
19869 2005-09-02  Andy Wingo  <wingo@pobox.com>
19870
19871         * gst/gstelement.h (GstState): Renamed from GstElementState,
19872         changed to be a normal enum instead of flags.
19873         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19874         munged to be GST_STATE_CHANGE_*.
19875         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19876         work with the new state representation.
19877         (GstStateChange): New enumeration of possible state transitions.
19878         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19879         (GstElementClass::change_state): Pass the GstStateChange along as
19880         an argument. Helps language bindings, so they don't have to use
19881         tricky lock-needing macros like GST_STATE_CHANGE ().
19882
19883         * scripts/update-states (file): New script. Run it on a file to
19884         update it for state naming and API changes. Updates files in
19885         place.
19886
19887         * All files updated for the new API.
19888
19889 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19890
19891         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19892         * gst/gstutils.c: (gst_util_set_value_from_string),
19893         (gst_util_set_object_arg):
19894           fix a bunch of unchecked return values
19895         * tools/gst-complete.c: (main):
19896         * gstreamer.spec.in:
19897           clean up a little
19898
19899 2005-09-01  Wim Taymans  <wim@fluendo.com>
19900
19901         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19902         (gst_base_sink_event), (gst_base_sink_do_sync),
19903         (gst_base_sink_handle_event):
19904         * gst/base/gstbasesink.h:
19905         Handle newsegments more correctly.
19906
19907         * gst/gstbus.c:
19908         Fix docs.
19909
19910         * gst/gstevent.c: (gst_event_new_newsegment):
19911         A newsegment cannot have a start_time of -1
19912
19913 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
19914
19915         * win32/gstenumtypes.c:
19916         * win32/gstenumtypes.h:
19917           Update
19918
19919 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19920
19921         * libs/gst/controller/gst-controller.c:
19922         (gst_controlled_property_set_interpolation_mode),
19923         (gst_controlled_property_new):
19924          fixed boolean again
19925
19926 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
19927
19928         * docs/faq/gst-uninstalled:
19929           add -good
19930         * gst/gstevent.c:
19931         * gst/gstevent.h:
19932           remove wrong docs
19933         * gst/gstutils.c: (gst_element_link_filtered):
19934         * gst/gstutils.h:
19935           add gst_element_link_filtered
19936
19937 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19938
19939         * docs/gst/gstreamer-docs.sgml:
19940         * docs/gst/gstreamer-sections.txt:
19941         * docs/gst/tmpl/.cvsignore:
19942         * docs/gst/tmpl/gsterror.sgml:
19943         * docs/gst/tmpl/gstfilter.sgml:
19944         * docs/gst/tmpl/gsturihandler.sgml:
19945         * docs/gst/tmpl/gsturitype.sgml:
19946         * docs/gst/tmpl/gstutils.sgml:
19947         * docs/gst/tmpl/gstxml.sgml:
19948         * gst/gsterror.c:
19949         * gst/gsterror.h:
19950         * gst/gstfilter.c:
19951         * gst/gsturi.c:
19952         * gst/gsturitype.c:
19953         * gst/gstutils.c:
19954         * gst/gstxml.c:
19955           inlined more docs, fixed double id-ref
19956
19957 2005-08-31  Wim Taymans  <wim@fluendo.com>
19958
19959         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19960         (gst_base_transform_handle_buffer):
19961         Passthrough elements don't need the caps as they don't care.
19962
19963 2005-08-31  Wim Taymans  <wim@fluendo.com>
19964
19965         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19966         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19967         Don't leak refcounts on buffers.
19968
19969 2005-08-31  Wim Taymans  <wim@fluendo.com>
19970
19971         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19972         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19973         (gst_base_transform_chain), (gst_base_transform_change_state):
19974         * gst/base/gstbasetransform.h:
19975         Handle the case where we are not negotiated more gracefully.
19976
19977 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
19978
19979         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19980         (gst_file_src_map_region):
19981           Set READONLY flag on mmap'ed buffers, otherwise
19982           gst_buffer_make_writable() won't work properly (#314708).
19983
19984 2005-08-31  Wim Taymans  <wim@fluendo.com>
19985
19986         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19987         passthrough elements can even do inplace on non writable
19988         buffers (as they don't touch them).
19989
19990 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19991
19992         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19993         (gst_test_mono_source_set_property),
19994         (gst_test_mono_source_class_init), (GST_START_TEST),
19995         (gst_controller_suite):
19996           more tests (hehe I have the most)
19997         * gst/gstbus.c:
19998           describe popping messages whenusing mulltiple sources
19999         * libs/gst/controller/gst-controller.c:
20000         (gst_controlled_property_set_interpolation_mode),
20001         (gst_controlled_property_new):
20002         * libs/gst/controller/gst-controller.h:
20003         * libs/gst/controller/gst-interpolation.c:
20004           implement boolean properties
20005
20006 2005-08-31  Wim Taymans  <wim@fluendo.com>
20007
20008         * gst/gstminiobject.c: (gst_mini_object_ref):
20009         Cannot assert that the refcount has to be positive
20010         since a disposed object can be resurrected.
20011
20012 2005-08-31  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/gstpad.c: (gst_pad_init):
20015         Revert change, need to first fix badly behaving 
20016         apps.
20017
20018 2005-08-30  Wim Taymans  <wim@fluendo.com>
20019
20020         * check/elements/fakesrc.c: (setup_fakesrc):
20021         * check/elements/identity.c: (setup_identity):
20022         Activate pads before using them.
20023
20024 2005-08-30  Wim Taymans  <wim@fluendo.com>
20025
20026         * gst/base/gstadapter.c: (gst_adapter_flush):
20027         Flushing out 0 bytes is ok for this function.
20028
20029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20030         no newsegment gives a warning and sets the start/stop to 
20031         invalid.
20032
20033         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20034         (gst_base_transform_set_passthrough):
20035         Some debug info.
20036
20037         * gst/gstminiobject.c: (gst_mini_object_ref):
20038         Check refcount here too.
20039
20040         * gst/gstpad.c: (gst_pad_init):
20041         Pads are initially flushing and refusing data.
20042
20043         * gst/gstutils.c: (gst_element_link_pads_filtered):
20044         When adding a capsfilter element make sure it has the
20045         same state as the parent bin.
20046
20047 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20048
20049         * docs/gst/tmpl/.cvsignore:
20050         * docs/gst/tmpl/gstformat.sgml:
20051         * docs/gst/tmpl/gstversion.sgml:
20052         * gst/gstbus.h:
20053         * gst/gstformat.c:
20054         * gst/gstformat.h:
20055         * gst/gstversion.h.in:
20056           more docs and two more inlined
20057
20058 2005-08-30  Wim Taymans  <wim@fluendo.com>
20059
20060         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20061         Don't sync to clock.
20062
20063 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20064
20065         * docs/gst/gstreamer-sections.txt:
20066           ultral33t func10ns deserve to appear in the docs actually
20067         * docs/gst/tmpl/.cvsignore:
20068         * docs/gst/tmpl/gstcompat.sgml:
20069         * docs/gst/tmpl/gstconfig.sgml:
20070         * gst/check/gstcheck.c:
20071         * gst/gstcompat.h:
20072         * gst/gstconfig.h.in:
20073           inlined more docs
20074
20075 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20076
20077         * docs/gst/tmpl/.cvsignore:
20078         * docs/gst/tmpl/gstquery.sgml:
20079         * docs/gst/tmpl/gstutils.sgml:
20080         * gst/gstquery.c:
20081         * gst/gstquery.h:
20082           inlined and extended docs
20083
20084 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20085
20086         * check/gst-libs/controller.c: (GST_START_TEST),
20087         (gst_controller_suite):
20088           more tests
20089         * docs/gst/tmpl/gstutils.sgml:
20090         * docs/libs/gstreamer-libs-sections.txt:
20091         * docs/libs/tmpl/gstdataprotocol.sgml:
20092           include path fixes
20093         * examples/controller/audio-example.c: (main):
20094           controller example works now
20095         * gst/gstclock.h:
20096           doc fixes
20097         * tools/gst-inspect.c: (print_element_properties_info):
20098           show param spec flags
20099
20100 2005-08-29  Andy Wingo  <wingo@pobox.com>
20101
20102         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20103
20104 2005-08-28  Andy Wingo  <wingo@pobox.com>
20105
20106         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20107         as having two arguments instead of just one. Allows superclasses
20108         to access information on subclasses -- see the terrible for() loop
20109         in gtype.c:g_type_create_instance for the reason why. All callers
20110         changed.
20111
20112 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20113
20114         * docs/design/part-messages.txt:
20115           update info
20116         * docs/gst/tmpl/.cvsignore:
20117         * docs/gst/tmpl/gstcaps.sgml:
20118         * docs/gst/tmpl/gstclock.sgml:
20119         * gst/gstbus.c:
20120         * gst/gstcaps.c:
20121         * gst/gstcaps.h:
20122         * gst/gstclock.c:
20123         * gst/gstclock.h:
20124         * gst/gstmessage.c:
20125           added descriptions for bus and message
20126           inline caps and clock docs
20127
20128 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20129
20130         * gst/gstmessage.c:
20131         * gst/gstmessage.h:
20132           doc fixes
20133
20134 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20135
20136         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20137           fix div-by-zero
20138
20139 2005-08-26  Andy Wingo  <wingo@pobox.com>
20140
20141         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20142         element_set_state's return val.
20143         (test_2_elements): Add test that's been disabled for months.
20144
20145         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20146         can-activate-pull properties.
20147
20148         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20149         can-activate-pull properties. Implement is_seekable so fakesrc can
20150         operate in pull mode.
20151
20152         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20153         properties.
20154         (gst_base_sink_activate, gst_base_sink_activate_pull)
20155         (gst_base_sink_activate_push): Make activation mode choosing work.
20156         Cleanups.
20157         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20158         is right. Make pull mode work. Post an eos before pausing in pull
20159         mode.
20160         (gst_base_sink_change_state): Pay attention to the core's
20161         change_state() return val.
20162         
20163         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20164         has-getrange properties. Cleanups.
20165         
20166         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20167         has_getrange and replace with can_activate_pull and
20168         can_activate_push.
20169
20170         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20171         locking comments. Remove has_loop, has_chain and replace with
20172         can_activate_pull and can_activate_push.
20173
20174 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20175
20176         * configure.ac:
20177         * examples/Makefile.am:
20178         * examples/metadata/Makefile.am:
20179         * examples/metadata/read-metadata.c: (message_loop),
20180         (have_pad_handler), (make_pipeline), (print_tag), (main):
20181           Add metadata reading example that loops over a list of filenames,
20182           dumping any tags found.
20183
20184         * gst/gstbus.c: (gst_bus_dispose):
20185         * gst/gstelement.c: (gst_element_dispose):
20186           Release a few potentially-held references in dispose.
20187
20188 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20189
20190         * docs/gst/tmpl/gstminiobject.sgml:
20191           do *not* add tmpl/*.sgml files to CVS!
20192
20193 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20194
20195         * libs/gst/bytestream/.cvsignore:
20196         * libs/gst/bytestream/Makefile.am:
20197         * libs/gst/bytestream/adapter.c:
20198         * libs/gst/bytestream/adapter.h:
20199         * libs/gst/bytestream/bytestream.c:
20200         * libs/gst/bytestream/bytestream.h:
20201         * libs/gst/bytestream/filepad.c:
20202         * libs/gst/bytestream/filepad.h:
20203           removing obsolete files
20204
20205 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20206
20207         * docs/gst/gstreamer-docs.sgml:
20208         * docs/libs/gstreamer-libs-docs.sgml:
20209           disabed additional index entries again, as this makes docs-gen just
20210           slow and they aren't useful yet
20211         * docs/libs/gstreamer-libs-sections.txt:
20212           little -section.txt cleanup for libs
20213
20214 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20215
20216         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20217         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20218           fix up some debugging
20219         (gst_base_transform_get_unit_size),
20220         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20221         (gst_base_transform_handle_buffer):
20222         * gst/base/gstbasetransform.h:
20223           handle and store timed NEWSEGMENT events so that subclasses that
20224           calculate time by counting samples have a segment_start time they
20225           need to add to their timestamps - see audioresample
20226
20227 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20228
20229         * gst/gstbin.h:
20230           removed ';' from the end of macro defs
20231         * docs/gst/gstreamer-docs.sgml:
20232         * docs/gst/gstreamer-sections.txt:
20233         * docs/gst/tmpl/.cvsignore:
20234         * gst/gstbus.h:
20235         * gst/gstelement.c: (gst_element_class_init),
20236         (gst_element_set_state), (activate_pads),
20237         (gst_element_save_thyself):
20238         * gst/gstevent.c: (gst_event_new_newsegment):
20239         * gst/gstevent.h:
20240         * gst/gstiterator.c:
20241         * gst/gstiterator.h:
20242         * gst/gstpad.c:
20243         * gst/gstprobe.h:
20244         * gst/gstutils.c: (gst_pad_query_convert):
20245         * gst/gstutils.h:
20246           fixed parameter name mismatches between source, header and docs
20247           added some more docs, resolved the last batch of unused elements in
20248           docs (now someone needs to doc them)
20249
20250 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20251
20252         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20253         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20254           don't walk through the plugins backwards.  Where is all this
20255           reversed logic coming from ?
20256
20257 2005-08-25  Wim Taymans  <wim@fluendo.com>
20258
20259         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20260         (gst_base_transform_transform_size),
20261         (gst_base_transform_configure_caps),
20262         (gst_base_transform_get_unit_size),
20263         (gst_base_transform_buffer_alloc),
20264         (gst_base_transform_change_state):
20265         * gst/base/gstbasetransform.h:
20266         Cache caps unit_size.
20267         Make sure we cannot negotiate up and downstream at the
20268         same time.
20269
20270 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20271
20272         * gst/gst.c: (init_pre), (init_post):
20273           register the installed plugin path after the env var
20274         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20275         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20276           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20277           directories, so the tests can prefer uninstalled over installed
20278
20279 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20280
20281         * gst/base/gstbasetransform.h:
20282           comment
20283         * gst/gstpad.c:
20284           add to docs
20285
20286 2005-08-25  Wim Taymans  <wim@fluendo.com>
20287
20288         * gst/gstbin.c: (bin_bus_handler):
20289         Be a bit more conservative about the posted message.
20290         
20291         * gst/gstbus.c: (gst_bus_post):
20292         Some cleanups, warn wrong return values.
20293
20294 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20295
20296         * check/gst/gstbin.c: (GST_START_TEST):
20297         * gst/gstbin.c: (bin_bus_handler):
20298         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20299         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20300         (gst_message_new_warning), (gst_message_new_tag),
20301         (gst_message_new_state_changed), (gst_message_new_segment_start),
20302         (gst_message_new_segment_done), (gst_message_new_custom):
20303         * gst/gstmessage.h:
20304         * tools/gst-launch.c: (event_loop):
20305         * tools/gst-md5sum.c: (event_loop):
20306           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20307
20308 2005-08-25  Wim Taymans  <wim@fluendo.com>
20309
20310         * check/generic/states.c: (GST_START_TEST):
20311         Cleanup can be done at the end.
20312
20313         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20314         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20315         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20316         Oh boy.. Thanks for finding this, Thomas. 
20317
20318 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20319
20320         * docs/gst/gstreamer.types:
20321           added missing types
20322
20323 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20324
20325         * docs/gst/gstreamer-docs.sgml:
20326         * docs/gst/gstreamer-sections.txt:
20327         * docs/gst/tmpl/.cvsignore:
20328         * gst/gstbin.c:
20329         * gst/gstiterator.c:
20330         * gst/gstutils.c:
20331         * gst/registries/gstxmlregistry.h:
20332           added missing classes and symbols (123 more to go)
20333           removed removed symbols from section file
20334           fixed many doc-comments
20335
20336 2005-08-24  Wim Taymans  <wim@fluendo.com>
20337
20338         * check/generic/states.c: (GST_START_TEST):
20339         Make sure all tasks are stopped.
20340
20341         * check/gst/gstbin.c: (GST_START_TEST):
20342         Unref after usage for proper valgrinding.
20343
20344         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20345         Really wait for the task to stop before destroying the
20346         mutex.
20347
20348         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20349         (gst_queue_src_activate_push):
20350         Small cleanups. Don't stop the task when we did not start
20351         it.
20352
20353         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20354         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20355         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20356         (gst_task_join):
20357         * gst/gsttask.h:
20358         Protect the stream lock with the object lock.
20359         Disallow setting the stream lock when running.
20360         Add cleanup_all to wait for the threadpool to finish.
20361         Remove code to autoallocate a mutex if none was provided.
20362         Add _join() to wait for a task to stop.
20363         Protect the thread pool with a global lock.
20364
20365 2005-08-24  Wim Taymans  <wim@fluendo.com>
20366
20367         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20368         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20369         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20370         * gst/base/gstbasesink.h:
20371         Handle newsegment events correctly.
20372         Drop buffers out of the segment range.
20373
20374 2005-08-22  Andy Wingo  <wingo@pobox.com>
20375
20376         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20377         macro, implements an interface and gstimplementsinterface for a
20378         new type.
20379
20380 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20381
20382         * check/Makefile.am:
20383         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20384           add a test that does a bunch of state changes on elements
20385           needs some fixing for valgrind
20386         * check/states/sinks.c: (gst_object_suite):
20387           whitespace
20388         * gst/gstcaps.h:
20389           add prototype for gst_caps_is_equal_fixed
20390         * gst/gstplugin.c:
20391         * gst/gstregistrypool.c:
20392           doc fixes
20393
20394 2005-08-24  Andy Wingo  <wingo@pobox.com>
20395
20396         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20397         convert a negative value. Doesn't make much sense. Mostly this is
20398         here to force callers to ensure -1 maps to -1.
20399
20400 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20401
20402         * docs/pwg/advanced-types.xml:
20403           Well done to Michael for catching my deliberate introduction
20404           of this spelling mistake. 
20405         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20406         * gst/gstelement.h:
20407           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20408           unlink pads before removing the element from the bin.
20409
20410 2005-08-24  Andy Wingo  <wingo@pobox.com>
20411
20412         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20413         the same thing as GST_DEBUG=*:4.
20414         (parse_debug_level, parse_debug_category): New helper parsers.
20415
20416 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20417
20418         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20419         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20420         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20421         (gst_base_transform_buffer_alloc),
20422         (gst_base_transform_handle_buffer):
20423           use gboolean return values and pointers to size so we can use the
20424           full GST_BUFFER_SIZE range (guint) for buffer sizes
20425           use GstPadDirection for transform_caps
20426         * gst/base/gstbasetransform.h:
20427           rename get_size to get_unit_size since that's what it is
20428         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20429           use GstPadDirection for transform_caps
20430         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20431         * gst/gstutils.h:
20432           cleanup and debugging
20433
20434 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20435
20436         * gst/gstelement.c: (gst_element_class_init),
20437         (gst_element_set_state), (activate_pads),
20438         (gst_element_save_thyself):
20439         * tools/gst-compprep.c: (main):
20440         * tools/gst-inspect.c: (print_element_properties_info):
20441         * tools/gst-xmlinspect.c: (print_element_properties):
20442           Fixed long standing mem-leak
20443
20444 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20445
20446         * check/gst/gstbin.c: (GST_START_TEST):
20447         * gst/gstbin.c: (bin_bus_handler):
20448         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20449         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20450         (gst_message_new_warning), (gst_message_new_tag),
20451         (gst_message_new_state_changed), (gst_message_new_segment_start),
20452         (gst_message_new_segment_done), (gst_message_new_custom):
20453         * gst/gstmessage.h:
20454         * tools/gst-launch.c: (event_loop):
20455         * tools/gst-md5sum.c: (event_loop):
20456           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20457           that applications can sensibly post custom messages with references
20458           to their own objects.
20459
20460 2005-08-24  Andy Wingo  <wingo@pobox.com>
20461
20462         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20463         already.
20464
20465 2005-08-24  Wim Taymans  <wim@fluendo.com>
20466
20467         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20468         (gst_base_transform_transform_caps),
20469         (gst_base_transform_transform_size),
20470         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20471         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20472         (gst_base_transform_handle_buffer):
20473         * gst/base/gstbasetransform.h:
20474         Many fixes and new features added by Thomas. Can now also do
20475         transforms with variable sizes and a custom fixate_caps function.
20476
20477 2005-08-24  Wim Taymans  <wim@fluendo.com>
20478
20479         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20480         Some debugging.
20481
20482         * gst/gstclock.h:
20483         Cast to ClockTime before formatting to time.
20484
20485         * gst/gstutils.h:
20486         Cleanups.
20487
20488 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20489
20490         * check/gst-libs/controller.c: (GST_START_TEST),
20491         (gst_controller_suite):
20492         * docs/gst/tmpl/gstcaps.sgml:
20493         * docs/gst/tmpl/gstghostpad.sgml:
20494         * docs/gst/tmpl/gstquery.sgml:
20495         * docs/gst/tmpl/gstutils.sgml:
20496         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20497         (gst_object_sink_values), (gst_object_get_value_arrays),
20498         (gst_object_get_value_array):
20499           gracefully handle helper method calls to objects that are not beeing
20500           controlled, added test case for that          
20501
20502 2005-08-23  Wim Taymans  <wim@fluendo.com>
20503
20504         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20505         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20506         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20507         (gst_event_parse_qos), (gst_event_new_seek),
20508         (gst_event_parse_seek):
20509         * gst/gstevent.h:
20510         Some more debugging output and doc cleanups.
20511
20512         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20513         Fix possible deadlock.
20514
20515 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20516
20517         * docs/gst/gstreamer-docs.sgml:
20518         * docs/gst/gstreamer-sections.txt:
20519         * docs/gst/gstreamer.types:
20520         * docs/gst/tmpl/.cvsignore:
20521         * gst/gstbin.h:
20522         * gst/gstbus.c:
20523         * gst/gstelement.c:
20524         * gst/gstevent.h:
20525           added 100 symbols from gstreamer-unused.txt to the right sections
20526           fixed more broken comments
20527           added GstBus to docs
20528
20529 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20530
20531         * docs/gst/gstreamer-sections.txt:
20532         * docs/gst/tmpl/.cvsignore:
20533         * docs/gst/tmpl/gstbin.sgml:
20534         * docs/gst/tmpl/gstbuffer.sgml:
20535         * gst/base/gstbasesrc.c:
20536         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20537         * gst/gstbuffer.c:
20538         * gst/gstbuffer.h:
20539         * tools/gst-launch.1.in:
20540           inlined more doc comments, added missing comments and fixed comments
20541           fixed typos
20542
20543 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20544
20545         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20546           some debugging
20547         * gst/gstcaps.h:
20548           whitespace fixes
20549         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20550           more debugging
20551         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20552         * gst/gststructure.h:
20553           add a fixate function for booleans; add a FIXME that these func
20554           names should probably be gst_structure_fixate_*
20555
20556 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20557
20558         * docs/gst/gstreamer-docs.sgml:
20559         * docs/gst/gstreamer-sections.txt:
20560         * gst/Makefile.am:
20561         * gst/gstbin.c: (gst_bin_get_type),
20562         (gst_bin_child_proxy_get_child_by_index),
20563         (gst_bin_child_proxy_get_children_count),
20564         (gst_bin_child_proxy_init):
20565         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20566         (gst_child_proxy_get_child_by_index),
20567         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20568         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20569         (gst_child_proxy_get), (gst_child_proxy_set_property),
20570         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20571         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20572         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20573         * gst/gstchildproxy.h:
20574         * gst/parse/grammar.y:
20575         * tools/gst-inspect.c: (print_interfaces),
20576         (print_element_properties_info), (print_element_info):
20577           ported gstchildproxy over from 0.8
20578           ported gst-inspect fixes and enhancements over from 0.8
20579
20580 2005-08-22  Wim Taymans  <wim@fluendo.com>
20581
20582         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20583         (gst_base_transform_handle_buffer):
20584         Also call the transform function if we have ANY caps.
20585
20586         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20587         Fix debug info.
20588
20589 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20590
20591         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20592           Don't pretend to handle seek events if the source is not seekable
20593
20594 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20595
20596         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20597           Remove extra parameter to debug output
20598
20599         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20600         (gst_base_src_do_seek), (gst_base_src_activate_push):
20601           Fix seek event handling.
20602
20603         * gst/gstpipeline.c: (gst_pipeline_change_state):
20604         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20605         (gst_queue_src_activate_push):
20606           Don't start the src pad task on FLUSH_STOP if the pad
20607           isn't linked.
20608           Debug changes.
20609
20610 2005-08-22  Wim Taymans  <wim@fluendo.com>
20611
20612         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20613         Added check for gst_static_caps_get() refcounting.
20614
20615 2005-08-22  Wim Taymans  <wim@fluendo.com>
20616
20617         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20618         Make _static_caps_get() refcounting sane.
20619         
20620         * gst/gstelement.c: (gst_element_set_state):
20621         Add g_return_val_if_fail() to protect against segfaults.
20622
20623 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20624
20625         * docs/gst/tmpl/gstevent.sgml:
20626         * gst/gstevent.c:
20627         * gst/gstevent.h:
20628           inlined remaining docs, added missing doc comments
20629
20630 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20631
20632         * check/gst/gstbin.c: (GST_START_TEST):
20633           since we don't know when preroll is done, use refcount range
20634           check for the sink
20635         * gst/check/gstcheck.h:
20636           add macro for checking refcount range
20637
20638 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20639
20640         * check/Makefile.am:
20641           clean up environment for when registry gets built versus
20642           when actual tests are run; valgrind seems to not report
20643           leaks if GST_PLUGIN_PATH is set to some specific values
20644         * check/gst/gstbin.c: (GST_START_TEST):
20645           add more refcounting checks; maybe this exposes a
20646           preroll lock bug ?
20647         * common/check.mak:
20648         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20649         * gst/check/gstcheck.h:
20650         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20651         (gst_bin_change_state):
20652         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20653           add/fix debugging/whitespace
20654
20655 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20656
20657         * check/gst/gstevent.c: (event_probe), (test_event),
20658         (GST_START_TEST):
20659          Er, don't call gst_bin_watch_for_state_change you idiot.
20660
20661 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20662
20663         * check/Makefile.am:
20664           Use CHECK_CFLAGS and CHECK_LIBS
20665         * check/gst/gstevent.c: (event_probe), (test_event),
20666         (GST_START_TEST):
20667           Don't leak events.
20668         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20669         (gst_base_src_start), (gst_base_src_stop),
20670         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20671         (gst_base_src_change_state):
20672           Sprinkle gst_base_src_stop liberally around error paths to fix
20673           problems reusing a source after failed state changes.
20674         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20675         (helper_find_suggest), (gst_type_find_helper):
20676           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20677         * gst/gstevent.h:
20678         * docs/gst/tmpl/gstevent.sgml:
20679           Migrate part of the docs from the SGML file. Wait for ensonic to
20680           tell me how I did it wrong ;)
20681         * tools/gst-typefind.c: (main):
20682           Extra robustness to state changes between files.
20683
20684 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20685
20686         * check/Makefile.am:
20687           don't valgrind the controller test - it's leaking - Stefan, HELP
20688         * gst/check/gstcheck.c: (gst_check_message_error),
20689         (gst_check_chain_func), (gst_check_setup_element),
20690         (gst_check_teardown_element), (gst_check_setup_src_pad),
20691         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20692         (gst_check_teardown_sink_pad):
20693         * gst/check/gstcheck.h:
20694           add a bunch of methods to set up elements, and src and sink pads
20695         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20696         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20697         (GST_START_TEST):
20698           use them
20699         * gst/gstmessage.c:
20700         * gst/gsttag.h:
20701           whitespace/doc fixes
20702
20703 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20704
20705         * gst/gstelement.h:
20706           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20707           be handled by the application and not always printed as well
20708
20709 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20710
20711         * check/Makefile.am:
20712           set GST_TOOLS_DIR
20713         * gst/check/gstcheck.c: (gst_check_message_error):
20714         * gst/check/gstcheck.h:
20715           add a fail_unless_equals_int
20716           add fail_unless for error messages
20717
20718 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20719
20720         * check/Makefile.am:
20721         * check/gst.supp:
20722         * common/Makefile.am:
20723         * common/check.mak:
20724         * common/gst.supp:
20725           factor out some of the common stuff so we can use it
20726
20727 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20728
20729         * check/Makefile.am:
20730         * check/gst/gstiterator.c: (GST_START_TEST):
20731         * check/gst/gstsystemclock.c: (GST_START_TEST),
20732         (gst_systemclock_suite):
20733         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20734         * gst/gstclock.c:
20735           valgrind more tests
20736
20737 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20738
20739         * check/elements/.cvsignore:
20740         * check/elements/gstfakesrc.c:
20741           rename to name of element
20742         * check/elements/identity.c: (chain_func), (event_func),
20743         (setup_identity), (cleanup_identity), (GST_START_TEST),
20744         (identity_suite), (main):
20745           add a test for identity
20746         * check/Makefile.am:
20747         * pkgconfig/Makefile.am:
20748         * pkgconfig/gstreamer-check.pc.in:
20749         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20750         * gst/check:
20751         * gst/Makefile.am:
20752         * configure.ac:
20753           move the check stuff to a library that gets installed
20754         * check/gst-libs/controller.c: (GST_START_TEST):
20755         * check/gst-libs/gdp.c:
20756         * check/gst/gst.c: (GST_START_TEST):
20757         * check/gst/gstbin.c:
20758         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20759         * check/gst/gstbus.c:
20760         * check/gst/gstcaps.c: (GST_START_TEST):
20761         * check/gst/gstelement.c:
20762         * check/gst/gstghostpad.c:
20763         * check/gst/gstiterator.c:
20764         * check/gst/gstmessage.c:
20765         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20766         * check/gst/gstobject.c:
20767         * check/gst/gstpad.c: (GST_START_TEST):
20768         * check/gst/gststructure.c: (GST_START_TEST):
20769         * check/gst/gstsystemclock.c: (GST_START_TEST),
20770         (gst_systemclock_suite):
20771         * check/gst/gsttag.c: (gst_tag_suite):
20772         * check/gst/gstvalue.c:
20773         * check/pipelines/cleanup.c:
20774         * check/pipelines/simple_launch_lines.c:
20775         * check/states/sinks.c:
20776           change include statement
20777
20778         * docs/gst/gstreamer-sections.txt:
20779         * docs/gst/tmpl/gstpad.sgml:
20780           document more pad stuff
20781         * gst/gstminiobject.c: (gst_mini_object_ref),
20782         (gst_mini_object_unref):
20783           debug refcounting
20784
20785 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20786
20787         * docs/gst/tmpl/gst.sgml:
20788         * gst/gst.c:
20789           eliminate another tmpl file, fix spelling in the long-description
20790
20791 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20792
20793         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20794         (test_event), (timediff), (gstevents_suite):
20795           Should fix build on 64-bit arch's
20796
20797 2005-08-18  Andy Wingo  <wingo@pobox.com>
20798
20799         Make sure that when a pipeline goes to PLAYING, that data has
20800         actually hit the sink.
20801
20802         * check/states/sinks.c (test_sink): A sink that doesn't get any
20803         data shouldn't return SUCCESS for going to either PLAYING or
20804         PAUSED. Test also the return values on the way back down.
20805
20806         * gst/gstelement.c (gst_element_set_state): When changing the
20807         state of an element currently changing state asynchronously, go to
20808         lost-state after commiting the pending state. Makes future calls
20809         to get_state continue to return ASYNC.
20810
20811         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20812         ASYNC when going to PLAYING if we still don't have preroll, as can
20813         happen with live sources.
20814
20815 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20816
20817         * docs/pwg/advanced-types.xml:
20818           Hack long paragraph into 2 chunks as a workaround for buggy
20819           jadetex version in sid and breezy that loops infinitely and
20820           eats all RAM.
20821
20822 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20823
20824         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20825         (test_event), (timediff), (gstevents_suite):
20826           Provide more error margin in clock measurements to allow for 
20827           g_get_current_time inaccuracies.
20828
20829 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20830
20831         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20832         (test_event), (timediff), (gstevents_suite):
20833            Fix error message output so I might be able to tell why the
20834            test works here but fails on the build farm.
20835
20836 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20837
20838         * check/Makefile.am:
20839         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20840         (test_event), (timediff), (gstevents_suite), (main):
20841           I wrote a test!
20842
20843         * docs/design/part-seeking.txt:
20844           Spelling correction
20845
20846         * docs/gst/tmpl/gstevent.sgml:
20847         * docs/gst/tmpl/gstfakesrc.sgml:
20848           Docs updates.
20849
20850         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20851           Treat a buffer-without-newsegment the same as a receiving 
20852           a newsegment not in time format, and disable syncing to the clock
20853           with a warning.
20854
20855         * gst/gstbus.c: (gst_bus_set_sync_handler):
20856           Assert if anyone tries to replace the existing sync_handler for bus, 
20857           as only the owner should be setting it.
20858
20859         * gst/gstevent.h:
20860           Have a fixed set of custom event enums with events identified by
20861           their structure name (as in 0.8), rather than a free-for-all
20862           allowing collisions between enum values from different plugins.
20863
20864         * gst/gstpad.c: (gst_pad_class_init):
20865           Docs change.
20866           
20867         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20868           Handle out-of-band downstream events from the sending thread.
20869
20870 2005-08-17  Andy Wingo  <wingo@pobox.com>
20871
20872         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20873         play-timeout==0 to mean no timeout at all. In that case, don't
20874         bother with a get_state or a warning, just return directly, even
20875         if it's ASYNC.
20876
20877         * gst/base/gstbasetransform.c: Debug changes.
20878
20879         * gst/gstutils.h:
20880         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20881         ensure bins post state change messages. A bit of a hack but I can't
20882         think of a way to avoid it.
20883
20884         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20885
20886 2005-08-16  Andy Wingo  <wingo@pobox.com>
20887
20888         * gst/base/gstadapter.h:
20889         * gst/base/gstadapter.c (gst_adapter_take): New function, like
20890         peek() but you own the data. Not terribly efficient atm.
20891
20892 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20893
20894         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20895         (gst_element_found_tags):
20896         * gst/gstutils.h:
20897           Add two utility functions for tag handling.
20898
20899 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20900
20901         * docs/manual/advanced-dataaccess.xml:
20902         * docs/manual/basics-helloworld.xml:
20903           Fix docs to use _bin_add() before _link(), which fixes the examples
20904           with recent core versions (reported by Madhan Raj M
20905           <raj_madan@rediffmail.com>, #313199).
20906
20907 2005-08-16  Wim Taymans  <wim@fluendo.com>
20908
20909         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20910         Added subtract checks.
20911
20912         * docs/design/part-events.txt:
20913         Some more docs about newsegment
20914
20915         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20916         Fix FIXME
20917
20918         * gst/gstcaps.c: (gst_caps_to_string):
20919         Add comments, cleanups.
20920         
20921         * gst/gstelement.c: (gst_element_save_thyself):
20922         cleanups
20923         
20924         * gst/gstvalue.c: (gst_value_collect_int_range),
20925         (gst_string_unwrap), (gst_value_union_int_int_range),
20926         (gst_value_union_int_range_int_range),
20927         (gst_value_intersect_int_int_range),
20928         (gst_value_intersect_int_range_int_range),
20929         (gst_value_intersect_double_double_range),
20930         (gst_value_intersect_double_range_double_range),
20931         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20932         (gst_value_subtract_int_range_int),
20933         (gst_value_subtract_double_range_double),
20934         (gst_value_subtract_double_range_double_range),
20935         (gst_value_subtract_from_list), (gst_value_subtract_list),
20936         (gst_value_can_compare), (gst_value_compare_fraction):
20937         Cleanups, add comments, remove unneeded asserts.
20938
20939 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20940
20941         * tools/gst-launch.c: (event_loop):
20942           don't convert NULL structures to strings
20943
20944 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
20945
20946         * docs/gst/gstreamer-sections.txt:
20947           made some defines private
20948         * docs/gst/tmpl/gstconfig.sgml:
20949         * docs/gst/tmpl/gstqueue.sgml:
20950         * docs/gst/tmpl/gsttaglist.sgml:
20951         * docs/gst/tmpl/gsttypes.sgml:
20952         * docs/gst/tmpl/gstutils.sgml:
20953         * docs/pwg/appendix-porting.xml:
20954         * gst/base/gstbasesink.h:
20955         * gst/base/gstbasesrc.c:
20956         * gst/base/gstbasesrc.h:
20957         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20958         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20959         * gst/gstelement.c: (gst_element_class_init):
20960         * gst/gstpad.c: (gst_pad_class_init):
20961         * gst/gstqueue.c: (gst_queue_class_init):
20962         * gst/gstxml.c: (gst_xml_class_init):
20963           documented all undocumented signal inline
20964         * libs/gst/controller/gst-controller.h:
20965           added padding
20966
20967 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20968
20969         * docs/pwg/appendix-porting.xml:
20970           Document _set_link_function -> _set_setcaps_function.
20971
20972 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20973
20974         * check/Makefile.am:
20975           add a .check target for running the check
20976         * check/gst-libs/controller.c: (GST_START_TEST):
20977           cosmetic fixups
20978         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20979           complete checks for gstbuffer; would be nice if I could get the
20980           gcov stuff to work so I can see if I actually completed gstbuffer.c
20981         * check/gstcheck.h:
20982           add ASSERT_BUFFER_REFCOUNT
20983
20984 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
20985
20986         * docs/gst/gstreamer-sections.txt:
20987         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20988         * gst/gsttag.h:
20989           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20990           spew out a warning if a tag that is already registered
20991           is re-registered, unless it is re-registered with a 
20992           different type (#308438).
20993
20994 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
20995
20996         * docs/pwg/appendix-porting.xml:
20997         * docs/pwg/building-state.xml:
20998           Add some paragraphs about state changes in 0.9 to the PWG
20999           and the porting guide, in particular about the new meaning
21000           of GST_STATE_PAUSED and how to write state change functions
21001           with concurrent access by multiple threads in mind.
21002
21003 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21004
21005         * docs/gst/gstreamer-docs.sgml:
21006         * docs/libs/gstreamer-libs-docs.sgml:
21007           added deprecation and since indexes
21008         * libs/gst/controller/gst-controller.c:
21009         * libs/gst/controller/gst-helper.c:
21010           added since tags
21011
21012
21013 2005-08-11  Wim Taymans  <wim@fluendo.com>
21014
21015         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21016         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21017         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21018         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21019         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21020         (gst_ghost_pad_set_target):
21021         Actually implement (re)setting the target on a ghostpad
21022         as described in the docs.
21023
21024 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21025
21026         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21027           Check whether GST_DEBUG_NO_COLOR environment variable is
21028           set and disable coloured debug output if that is the case.
21029
21030 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21031
21032         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21033         (gst_type_find_helper):
21034           The memory returned by gst_type_find_peek() needs to
21035           stay valid until the end of a typefind function, and
21036           typefind functions may keep results from different 
21037           offsets around, so we can't just unref the buffer from
21038           the previous _peek(), but have to save all buffers 
21039           returned by _peek() until typefinding is done and only
21040           free them then.
21041
21042 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21043
21044         * docs/gst/gstreamer-sections.txt:
21045         * gst/gstutils.h:
21046           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21047
21048 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21049
21050         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21051           Fix a pretty good memleak.
21052
21053 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21054
21055         * gst/gstiterator.h:
21056           Fix wrong include and 'make distcheck'.
21057
21058 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21059
21060         * gst/gstbin.c: (bin_bus_handler):
21061           Use gst_element_post_message() instead.
21062
21063 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21064
21065         * gst/base/gstadapter.h:
21066         * gst/base/gstbasesink.h:
21067         * gst/base/gstbasesrc.h:
21068         * gst/base/gstbasetransform.h:
21069         * gst/base/gstcollectpads.h:
21070         * gst/base/gstpushsrc.h:
21071         * gst/gstiterator.h:
21072           Add padding to our base elements' class and instance structs and
21073           to GstIterator (you will need to rebuild all plugins and apps!)
21074
21075 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21076
21077         * gst/gstbin.c: (bin_bus_handler):
21078           Make default message forwarding from child->bus to bin->bus
21079           threadsafe and make it not emit warnings if the parent has no bus.
21080
21081 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21082
21083         * gst/gstelement.c: (activate_pads):
21084           On paused->ready, set pad->caps to NULL, as is the documented
21085           behaviour in this state change. Fixes playback of series of
21086           media files when visualization is enabled in Totem.
21087
21088 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21089
21090         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21091           Allow NULL as filter-caps (which means "any").
21092
21093 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21094
21095         * docs/libs/gstreamer-libs-sections.txt:
21096         * libs/gst/controller/gst-controller.c:
21097         * libs/gst/controller/gst-controller.h:
21098         * libs/gst/controller/gst-helper.c:
21099           adding more entries to the docs and fix small doc-bugs
21100
21101 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21102
21103         * docs/gst/gstreamer-docs.sgml:
21104         * docs/gst/gstreamer-sections.txt:
21105         * docs/gst/gstreamer.types:
21106         * docs/gst/tmpl/gstbasesink.sgml:
21107         * docs/gst/tmpl/gstbasesrc.sgml:
21108         * docs/gst/tmpl/gstbasetransform.sgml:
21109         * docs/gst/tmpl/gstfakesrc.sgml:
21110         * gst/base/gstcollectpads.c:
21111         * gst/base/gstcollectpads.h:
21112         * libs/gst/controller/gst-controller.c:
21113         * libs/gst/controller/gst-controller.h:
21114         * libs/gst/controller/gst-helper.c:
21115         * libs/gst/controller/gst-interpolation.c:
21116         * libs/gst/controller/lib.c:
21117           added long/short desc for controller docs
21118           added collectpads base class docs
21119           added correct includes to base-class docs
21120
21121 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21122
21123         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21124         (gst_test_mono_source_set_property),
21125         (gst_test_mono_source_class_init), (GST_START_TEST),
21126         (gst_controller_suite):
21127         * docs/gst/gstreamer-docs.sgml:
21128         * docs/gst/gstreamer-sections.txt:
21129         * docs/gst/gstreamer.types:
21130         * docs/libs/gstreamer-libs-docs.sgml:
21131         * docs/libs/gstreamer-libs-sections.txt:
21132         * gst/base/gstadapter.c:
21133         * libs/gst/controller/gst-controller.c:
21134         (gst_controlled_property_new), (gst_controlled_property_free),
21135         (gst_controller_new_valist),
21136         (gst_controller_remove_properties_valist),
21137         (gst_controller_sink_values), (_gst_controller_finalize):
21138         * libs/gst/controller/gst-controller.h:
21139         * libs/gst/controller/gst-helper.c:
21140         (gst_object_control_properties), (gst_object_uncontrol_properties),
21141         (gst_object_get_controller), (gst_object_set_controller),
21142         (gst_object_sink_values), (gst_object_get_value_arrays),
21143         (gst_object_get_value_array):
21144           more tests (and fixes) for the controller
21145           more docs for the controller
21146           integrated companies docs for the adapter 
21147
21148 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21149
21150         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21151         (GST_START_TEST), (fakesrc_suite):
21152           add tests for sizetype
21153
21154 2005-08-04  Andy Wingo  <wingo@pobox.com>
21155
21156         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21157         fixes buffer_alloc proxying among other things.
21158
21159         * gst/base/gstbasetransform.c:
21160         * gst/base/gstbasetransform.h:
21161         Revert patch to gstbasetransform from 7-28 removing
21162         delay_configure.
21163
21164         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21165         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21166         Semantics changed, should return not the size of the output buffer
21167         but the byte size of a buffer with a given caps.
21168
21169         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21170         debug object.
21171         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21172         out) are not the pad caps until setcaps finishes.
21173         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21174         not-in-place case as well. Deal with changing from in-place to
21175         not-in-place within calling pad_alloc_buffer. Still a bit
21176         concerned about the overhead here...
21177
21178 2005-08-03  Andy Wingo  <wingo@pobox.com>
21179
21180         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21181         fixating is an error.
21182
21183 2005-08-04  Edward Hervey  <edward@fluendo.com>
21184
21185         * gst/base/gstadapter.h: 
21186         Added gst_adapter_get_type() to the header
21187
21188 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21189
21190         * check/Makefile.am:
21191         * check/gst-libs/controller.c:
21192         * libs/gst/controller/gst-controller.c:
21193         (gst_controller_new_valist):
21194           added check test suite for the controller
21195         * gst/base/gstpushsrc.c:
21196           fixed a doc typo
21197
21198 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21199
21200         * docs/gst/Makefile.am:
21201         * docs/gst/gstreamer-docs.sgml:
21202         * docs/gst/gstreamer-sections.txt:
21203         * docs/gst/gstreamer.types:
21204         * docs/gst/tmpl/gstfakesrc.sgml:
21205         * gst/base/README:
21206         * gst/base/gstbasesink.c:
21207         * gst/base/gstbasesink.h:
21208         * gst/base/gstbasesrc.c:
21209         * gst/base/gstbasesrc.h:
21210         * gst/base/gstbasetransform.c:
21211         * gst/base/gstpushsrc.c:
21212         * gst/base/gstpushsrc.h:
21213           add short/long description docs to base classes
21214           add pushsrc to the docs
21215           remove consolidated doc fragments
21216
21217 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21218
21219         * configure.ac:
21220         * docs/libs/Makefile.am:
21221         * docs/libs/gstreamer-libs-docs.sgml:
21222         * docs/libs/gstreamer-libs-sections.txt:
21223         * docs/libs/gstreamer-libs.types:
21224         * examples/Makefile.am:
21225         * examples/controller/.cvsignore:
21226         * examples/controller/Makefile.am:
21227         * examples/controller/audio-example.c: (main):
21228         * libs/gst/Makefile.am:
21229         * libs/gst/controller/.cvsignore:
21230         * libs/gst/controller/Makefile.am:
21231         * libs/gst/controller/gst-controller.c:
21232         (on_object_controlled_property_changed), (gst_timed_value_compare),
21233         (gst_timed_value_find),
21234         (gst_controlled_property_set_interpolation_mode),
21235         (gst_controlled_property_new), (gst_controlled_property_free),
21236         (gst_controller_find_controlled_property),
21237         (gst_controller_new_valist), (gst_controller_new),
21238         (gst_controller_remove_properties_valist),
21239         (gst_controller_remove_properties), (gst_controller_set),
21240         (gst_controller_set_from_list), (gst_controller_unset),
21241         (gst_controller_get), (gst_controller_get_all),
21242         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21243         (gst_controller_get_value_array),
21244         (gst_controller_set_interpolation_mode),
21245         (_gst_controller_finalize), (_gst_controller_init),
21246         (_gst_controller_class_init), (gst_controller_get_type):
21247         * libs/gst/controller/gst-controller.h:
21248         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21249         (g_object_uncontrol_properties), (g_object_get_controller),
21250         (g_object_set_controller), (g_object_sink_values),
21251         (g_object_get_value_arrays), (g_object_get_value_array):
21252         * libs/gst/controller/gst-interpolation.c:
21253         (gst_controlled_property_find_timed_value_node),
21254         (interpolate_none_get), (interpolate_trigger_get),
21255         (interpolate_trigger_get_value_array):
21256         * libs/gst/controller/lib.c: (gst_controller_init):
21257         * pkgconfig/Makefile.am:
21258         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21259         * pkgconfig/gstreamer-control.pc.in:
21260         * testsuite/Makefile.am:
21261         * testsuite/controller/.cvsignore:
21262         * testsuite/controller/Makefile.am:
21263         * testsuite/controller/interpolator.c: (main):
21264           added controller code
21265           removed dparam pc files
21266
21267 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21268         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21269         (gst_collectpads_stop):
21270           Broadcast the condition when shutting down, to make sure we wake all
21271           threads up. Shut down pads on finalize, for safety.
21272
21273 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21274         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21275         (gst_base_transform_handle_buffer),
21276         (gst_base_transform_change_state):
21277           Handle PAUSED->READY->PAUSED transition after negotiation
21278           occurred already.
21279         * gst/gstmessage.c: (gst_message_init):
21280           Extra piece of debug for new messages.
21281
21282 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21283
21284         * configure.ac:
21285         * docs/gst/tmpl/gstbasesrc.sgml:
21286         * docs/gst/tmpl/gstelement.sgml:
21287         * docs/gst/tmpl/gstevent.sgml:
21288         * docs/gst/tmpl/gstfakesrc.sgml:
21289         * docs/gst/tmpl/gstformat.sgml:
21290         * docs/gst/tmpl/gstghostpad.sgml:
21291         * docs/gst/tmpl/gstpad.sgml:
21292         * docs/gst/tmpl/gstquery.sgml:
21293         * docs/gst/tmpl/gststructure.sgml:
21294         * docs/gst/tmpl/gsttaglist.sgml:
21295         * docs/gst/tmpl/gstvalue.sgml:
21296         * docs/libs/gstreamer-libs-docs.sgml:
21297         * docs/libs/gstreamer-libs-sections.txt:
21298         * docs/libs/gstreamer-libs.types:
21299         * libs/gst/Makefile.am:
21300         * libs/gst/control/.cvsignore:
21301         * libs/gst/control/Makefile.am:
21302         * libs/gst/control/control.c:
21303         * libs/gst/control/control.h:
21304         * libs/gst/control/dparam.c:
21305         * libs/gst/control/dparam.h:
21306         * libs/gst/control/dparam_smooth.c:
21307         * libs/gst/control/dparam_smooth.h:
21308         * libs/gst/control/dparamcommon.h:
21309         * libs/gst/control/dparammanager.c:
21310         * libs/gst/control/dparammanager.h:
21311         * libs/gst/control/dplinearinterp.c:
21312         * libs/gst/control/dplinearinterp.h:
21313         * libs/gst/control/unitconvert.c:
21314         * libs/gst/control/unitconvert.h:
21315         * testsuite/Makefile.am:
21316         * testsuite/dynparams/.cvsignore:
21317         * testsuite/dynparams/Makefile.am:
21318         * testsuite/dynparams/dparamstest.c:
21319         * tools/Makefile.am:
21320         * tools/gst-inspect.c: (print_element_info), (main):
21321         * tools/gst-xmlinspect.c: (print_element_info), (main):
21322           deactivate and remove dparams (libgstcontrol)
21323
21324 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21325
21326         * gst/elements/gsttypefindelement.c:
21327         (gst_type_find_element_have_type), (gst_type_find_element_init),
21328         (stop_typefinding), (gst_type_find_element_handle_event),
21329         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21330         * gst/elements/gsttypefindelement.h:
21331           Set caps on all outgoing buffers, not just the first one.
21332
21333 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21334
21335         * gst/elements/gsttypefindelement.c:
21336         (gst_type_find_element_have_type),
21337         (gst_type_find_element_check_set_buffer_caps),
21338         (gst_type_find_element_init), (stop_typefinding),
21339         (gst_type_find_element_handle_event),
21340         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21341         * gst/elements/gsttypefindelement.h:
21342           Set caps on first outgoing buffer when we've found the type.
21343
21344 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21345
21346         * docs/gst/gstreamer-docs.sgml:
21347         * docs/gst/gstreamer-sections.txt:
21348         * docs/gst/tmpl/gstscheduler.sgml:
21349         * docs/gst/tmpl/gstschedulerfactory.sgml:
21350           Remove some old cruft from docs.
21351
21352 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21353
21354         * gst/gstpad.h:
21355           Fix inline docs for GstPadLinkReturn.
21356           
21357         * gst/gststructure.c: (gst_structure_has_name):
21358         * gst/gststructure.h:
21359         * docs/gst/gstreamer-sections.txt:
21360           New API: gst_structure_has_name().
21361
21362 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21363
21364         * configure.ac:
21365           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21366           and _LARGEFILE_SOURCE in config.h as required. Do not 
21367           export those flags in our .pc files any longer (#142209).
21368
21369           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21370
21371         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21372         (gst_file_sink_do_seek), (gst_file_sink_event),
21373         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21374           Redo seek/tell calls with large file support in mind; add some
21375           debugging messages; add log message that tells us when large
21376           file support is unavailable or not enabled for some reason.
21377
21378         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21379           Add log message that tells us when large file support 
21380           is unavailable or not enabled for some reason.
21381
21382 2005-07-29  Wim Taymans  <wim@fluendo.com>
21383
21384         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21385         Added test for removing an element with ghostpad from a bin.
21386         Fixed test as current implementation does the right thing.
21387
21388         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21389         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21390         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21391         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21392         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21393         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21394         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21395         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21396         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21397         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21398         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21399         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21400         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21401         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21402         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21403         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21404         * gst/gstghostpad.h:
21405         Clean up ghostpads, remove properties for internal stuff.
21406         Make threadsafe.
21407         Fix refcounting.
21408         Prepare for switching targets, not all use cases work yet.
21409
21410 2005-07-29  Wim Taymans  <wim@fluendo.com>
21411
21412         * docs/design/part-gstghostpad.txt:
21413         Small update.
21414
21415         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21416         (gst_bin_remove_func):
21417         Unlinking pads while holding the bin LOCK is not a good
21418         idea.
21419
21420         * gst/gstpad.c: (gst_pad_class_init),
21421         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21422         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21423         No prob setting template after creating the pad.
21424
21425 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21426
21427         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21428         (gst_bus_peek), (gst_bus_source_dispatch),
21429         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21430         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21431           gst_bus_poll may be called from other threads. Handle
21432           this nicely by not making poll_data disappear off the
21433           stack once gst_bus_poll returns.
21434           gst_bus_peek now increments the refcount on the returned
21435           message.
21436
21437 2005-07-29  Wim Taymans  <wim@fluendo.com>
21438
21439         * docs/design/part-gstghostpad.txt:
21440         Overview of current GhostPad datastructures and use
21441         cases for changing the target.
21442
21443 2005-07-28  Wim Taymans  <wim@fluendo.com>
21444
21445         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21446         Added checks for hierarchy consistency whan adding linked
21447         elements to bins.
21448
21449         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21450         Added check to test element scheduling without bin/pipeline.
21451
21452         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21453         First add elements to bin, then link.
21454         
21455         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21456         (gst_bin_remove_func):
21457         Unlink pads from elements added/removed from bin to maintain
21458         hierarchy consistency.
21459
21460 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21461
21462         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21463         (gst_base_transform_handle_buffer):
21464         * gst/base/gstbasetransform.h:
21465           Remove broken delay_configure (fixes renegotiation of software
21466           scaling pipelines); remove some leftover printf()s.
21467
21468 2005-07-28  Wim Taymans  <wim@fluendo.com>
21469
21470         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21471         Added some more tests for wrong hierarchy
21472
21473         * docs/design/part-overview.txt:
21474         Some updates.
21475
21476         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21477         Cleanups.
21478
21479         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21480         (gst_element_dispose):
21481         Some more cleanups.
21482
21483         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21484         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21485         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21486         (gst_pad_set_caps), (gst_pad_send_event):
21487         Check for correct hierarchy when linking pads. Moving to
21488         strict requirement for ghostpads when linking elements in
21489         different bins.
21490
21491         * gst/gstpad.h:
21492         Clean ups. Added WRONG_HIERARCHY return value.
21493
21494 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21495
21496         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21497           Better debug if no transform is possible.
21498
21499 2005-07-27  Wim Taymans  <wim@fluendo.com>
21500
21501         * docs/random/wtay/network-transp:
21502         Some old doc I had.
21503
21504 2005-07-27  Wim Taymans  <wim@fluendo.com>
21505
21506         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21507         (gst_dp_event_from_packet):
21508         Fix serialization of seek events.
21509
21510 2005-07-27  Wim Taymans  <wim@fluendo.com>
21511
21512         * check/gst-libs/gdp.c: (GST_START_TEST):
21513         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21514         Fix compilation and fix event serialization.
21515
21516 2005-07-27  Wim Taymans  <wim@fluendo.com>
21517
21518         * CHANGES-0.9:
21519         * docs/design/part-TODO.txt:
21520         * docs/design/part-events.txt:
21521         Some docs updates
21522
21523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21524         (gst_base_sink_event), (gst_base_sink_do_sync),
21525         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21526         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21527         (gst_base_src_do_seek), (gst_base_src_event_handler),
21528         (gst_base_src_loop):
21529         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21530         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21531         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21532         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21533         (gst_base_transform_set_passthrough),
21534         (gst_base_transform_is_passthrough):
21535         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21536         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21537         Event updates.
21538
21539         * gst/gstbuffer.h:
21540         Use faster casts.
21541
21542         * gst/gstelement.c: (gst_element_seek):
21543         * gst/gstelement.h:
21544         Update gst_element_seek.
21545
21546         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21547         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21548         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21549         (gst_event_new_eos), (gst_event_new_newsegment),
21550         (gst_event_parse_newsegment), (gst_event_new_tag),
21551         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21552         (gst_event_parse_qos), (gst_event_new_seek),
21553         (gst_event_parse_seek), (gst_event_new_navigation):
21554         * gst/gstevent.h:
21555         Make GstEvent use GstStructure. Add parsing code, make sure the
21556         API is sufficiently generic.
21557         Mark possible directions of events and serialization.
21558
21559         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21560         (_gst_message_copy), (gst_message_new_segment_start),
21561         (gst_message_new_segment_done), (gst_message_new_custom),
21562         (gst_message_parse_segment_start),
21563         (gst_message_parse_segment_done):
21564         Small cleanups.
21565
21566         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21567         (gst_pad_set_caps), (gst_pad_send_event):
21568         Update for new events. 
21569         Catch events sent in wrong directions.
21570
21571         * gst/gstqueue.c: (gst_queue_link_src),
21572         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21573         (gst_queue_handle_src_query):
21574         Event updates.
21575
21576         * gst/gsttag.c:
21577         * gst/gsttag.h:
21578         Remove event code from this file.
21579
21580         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21581         (gst_dp_event_from_packet):
21582         Event updates.
21583
21584 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21585
21586         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21587         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21588         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21589           Make debugging actually useful.
21590
21591 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21592
21593         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21594         (gst_pad_fixate_caps):
21595           Implement default fixation once again, so that gst_pad_fixate()
21596           actually does anything at all. This probably needs to be some
21597           sort of a last resort, and use profile-based fixation first, but
21598           since that doesn't exist yet, this is the best we have. Fixes
21599           visualization in Totem.
21600
21601 2005-07-22  Wim Taymans  <wim@fluendo.com>
21602
21603         * docs/design/part-events.txt:
21604         Small update.
21605
21606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21607         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21608         (gst_base_sink_activate_pull):
21609         Some more comments.
21610
21611         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21612         (gst_fake_src_create):
21613         Fix handoff marshall.
21614
21615         * gst/elements/gstidentity.c: (gst_identity_class_init),
21616         (gst_identity_transform_ip):
21617         We're a real inplace element.
21618
21619         * gst/gstbus.c: (gst_bus_post):
21620         Added some comments.
21621
21622         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21623         * tests/muxing/case1.c: (main):
21624         * tests/sched/dynamic-pipeline.c: (main):
21625         * tests/sched/interrupt1.c: (main):
21626         * tests/sched/interrupt2.c: (main):
21627         * tests/sched/interrupt3.c: (main):
21628         * tests/sched/runxml.c: (main):
21629         * tests/sched/sched-stress.c: (main):
21630         * tests/seeking/seeking1.c: (event_received), (main):
21631         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21632         (main):
21633         * tests/threadstate/threadstate3.c: (main):
21634         * tests/threadstate/threadstate4.c: (main):
21635         * tests/threadstate/threadstate5.c: (main):
21636         Fix the tests.
21637
21638 2005-07-21  Wim Taymans  <wim@fluendo.com>
21639
21640         * docs/design/part-seeking.txt:
21641         Some small additions.
21642
21643         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21644         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21645         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21646         * gst/base/gstbasesink.h:
21647         discont values are gint64, handle the math correctly.
21648
21649         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21650         Make the basesrc report error if the source pad is not linked.
21651
21652         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21653         (gst_queue_loop), (gst_queue_handle_src_query),
21654         (gst_queue_src_activate_push):
21655         Make queue collect data even if the srcpad is not linked.
21656         Start pushing out data as soon as it is linked.
21657
21658         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21659         * gst/gstutils.h:
21660         Added gst_flow_get_name() to ease error reporting.
21661
21662 2005-07-20  Wim Taymans  <wim@fluendo.com>
21663
21664         * gst/gstmessage.c: (gst_message_new_segment_start),
21665         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21666         (gst_message_parse_segment_done):
21667         * gst/gstmessage.h:
21668         Added a bunch of messages for advanced seeking.
21669
21670         * gst/parse/grammar.y:
21671         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21672         (gst_dpman_state_changed):
21673         Fix some new-pad -> pad-added signals
21674
21675 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21676
21677         * docs/manual/appendix-porting.xml:
21678         * docs/pwg/appendix-porting.xml:
21679           Document new-pad/state-change signal renames and the FixedList
21680           type rename.
21681
21682 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21683
21684         * docs/manual/advanced-autoplugging.xml:
21685         * docs/manual/basics-helloworld.xml:
21686         * docs/manual/basics-pads.xml:
21687         * docs/random/ds/0.9-suggested-changes:
21688         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21689         * gst/gstelement.h:
21690         * gst/gstevent.h:
21691         * gst/gstformat.h:
21692         * gst/gstquery.h:
21693         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21694         (gst_structure_parse_array), (gst_structure_parse_value):
21695         * gst/gstvalue.c: (gst_type_is_fixed),
21696         (gst_value_list_prepend_value), (gst_value_list_append_value),
21697         (gst_value_list_get_size), (gst_value_list_get_value),
21698         (gst_value_transform_array_string), (gst_value_serialize_array),
21699         (gst_value_deserialize_array), (gst_value_intersect_array),
21700         (gst_value_is_fixed), (_gst_value_initialize):
21701         * gst/gstvalue.h:
21702           GstElement::new-pad -> pad-added, GstElement::state-change ->
21703           state-changed, GstValueFixedList -> GstValueArray, add format and
21704           flags as their own arguments in gst_element_seek() (should improve
21705           "bindeability"), remove function generators since they don't work
21706           under a whole bunch of compilers (they were deprecated already
21707           anyway).
21708
21709 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21710
21711         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21712         (_gst_debug_register_funcptr):
21713         * gst/gstinfo.h:
21714           Fix illegal cast on some platforms (#309253).
21715
21716 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21717
21718         * gst/gstmessage.c: (gst_message_new_custom):
21719         * gst/gstmessage.h:
21720           Add _new_custom, make _new_application a macro to _new_custom.
21721
21722 2005-07-20  Wim Taymans  <wim@fluendo.com>
21723
21724         * gst/base/gstbasesrc.c: (gst_base_src_init),
21725         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21726         * gst/base/gstbasesrc.h:
21727         Add a gboolean to decide when to push out a discont.
21728
21729         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21730         (gst_queue_loop), (gst_queue_handle_src_query),
21731         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21732         (gst_queue_set_property), (gst_queue_get_property):
21733         Some cleanups.
21734
21735         * tests/threadstate/threadstate1.c: (main):
21736         Make a thread test compile and run... very silly..
21737
21738
21739 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21740
21741         * docs/manual/appendix-porting.xml:
21742           Mention removal of libgstgconf-0.9.la and existence of gconf
21743           elements.
21744
21745 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21746
21747         * docs/pwg/advanced-clock.xml:
21748         * docs/pwg/appendix-porting.xml:
21749         * docs/pwg/intro-preface.xml:
21750         * docs/pwg/other-base.xml:
21751         * docs/pwg/other-manager.xml:
21752         * docs/pwg/other-nton.xml:
21753         * docs/pwg/other-ntoone.xml:
21754         * docs/pwg/other-oneton.xml:
21755         * docs/pwg/pwg.xml:
21756           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21757           demuxer), remove n-to-n (was never written), fix some code examples
21758           and links and update the porting section to include all this.
21759
21760 2005-07-19  Wim Taymans  <wim@fluendo.com>
21761
21762         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21763         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21764         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21765         (gst_queue_src_activate_push), (gst_queue_change_state),
21766         (gst_queue_get_property):
21767         * gst/gstqueue.h:
21768         Propagate GstFlowReturn more intelligently upstream and output
21769         an ERROR/EOS when streaming stopped due to fatal error.
21770
21771 2005-07-19  Wim Taymans  <wim@fluendo.com>
21772
21773         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21774         Don't block forever for the state change to complete, the
21775         pipeline already did with a sensible timeout.
21776
21777 2005-07-19  Wim Taymans  <wim@fluendo.com>
21778
21779         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21780         Make sure we never call the create function is we
21781         got deactivated.
21782
21783 2005-07-19  Andy Wingo  <wingo@pobox.com>
21784
21785         * gst/parse/parse.l: Attempt to solve bug #172815.
21786
21787 2005-07-19  Wim Taymans  <wim@fluendo.com>
21788
21789         * docs/design/part-clocks.txt:
21790         * docs/design/part-events.txt:
21791         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21792         Small docs updates.
21793         Only update the seeking values when we are not
21794         busy streaming.
21795
21796 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21797
21798         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21799           Oops, ignore the result of gst_pad_push_event here.
21800
21801 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21802
21803         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21804         (gst_base_src_activate_push):
21805           Send discont event from the loop function, as pads
21806           aren't activated yet in the activate_push handler.
21807
21808         * gst/gstbin.c: (bin_bus_handler):
21809           Don't leak element name.
21810
21811 2005-07-18  Andy Wingo  <wingo@pobox.com>
21812
21813         * configure.ac: Use AS_LIBTOOL_TAGS.
21814
21815 2005-07-18  Wim Taymans  <wim@fluendo.com>
21816
21817         * docs/gst/gstreamer.types:
21818         Remove deleted types.
21819
21820 2005-07-18  Wim Taymans  <wim@fluendo.com>
21821
21822         * check/elements/gstfakesrc.c: (GST_START_TEST):
21823         * configure.ac:
21824         * gst/Makefile.am:
21825         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21826         (init_popt_callback):
21827         * gst/gst.h:
21828         * gst/gst_private.h:
21829         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21830         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21831         * gst/gstbin.h:
21832         * gst/gstbus.h:
21833         * gst/gstconfig.h.in:
21834         * gst/gstelement.c: (gst_element_class_init),
21835         (gst_element_set_base_time), (gst_element_get_base_time),
21836         (iterator_fold_with_resync), (gst_element_change_state),
21837         (gst_element_dispose), (gst_element_get_bus):
21838         * gst/gstelement.h:
21839         * gst/gstelementfactory.h:
21840         * gst/gsterror.c: (_gst_core_errors_init):
21841         * gst/gsterror.h:
21842         * gst/gstevent.h:
21843         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21844         * gst/gstindex.c:
21845         * gst/gstinfo.c: (_gst_debug_init):
21846         * gst/gstmessage.c: (_gst_message_copy):
21847         * gst/gstmessage.h:
21848         * gst/gstminiobject.h:
21849         * gst/gstobject.c:
21850         * gst/gstobject.h:
21851         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21852         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21853         * gst/gstpad.h:
21854         * gst/gstparse.h:
21855         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21856         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21857         (gst_pipeline_get_last_stream_time):
21858         * gst/gstpipeline.h:
21859         * gst/gstpluginfeature.h:
21860         * gst/gstquery.h:
21861         * gst/gstscheduler.c:
21862         * gst/gstscheduler.h:
21863         * gst/gststructure.h:
21864         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21865         (gst_task_finalize), (gst_task_func), (gst_task_create),
21866         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21867         (gst_task_stop), (gst_task_pause):
21868         * gst/gsttask.h:
21869         * gst/gsttypefind.h:
21870         * gst/gsttypes.h:
21871         * gst/registries/gstlibxmlregistry.c: (load_feature),
21872         (gst_xml_registry_load), (gst_xml_registry_save_feature):
21873         * gst/registries/gstxmlregistry.c:
21874         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21875         * gst/schedulers/threadscheduler.c:
21876         * libs/gst/control/dparammanager.h:
21877         * tools/gst-inspect.c: (print_element_list),
21878         (print_plugin_features), (print_element_features):
21879         * tools/gst-xmlinspect.c: (print_element_list),
21880         (print_plugin_info), (main):
21881         Removed plugable schedulers.
21882         Removed Scheduler/Manager from elements.
21883         Removed gsttypes.h, rearranged includes.
21884         Removed dependency pad<->element, element<>pipeline, and
21885         various others,  fix includes.
21886         implement gst_pad_get_parent() with gst_object_get_parent()
21887         Make GstTask sefcontained.
21888         Fix _get_state() on GstBin, it did not return ASYNC with a 0
21889         timeout.
21890         Fix endless loop in iterator_fold_with_resync.
21891
21892
21893 2005-07-18  Wim Taymans  <wim@fluendo.com>
21894
21895         * gst/Makefile.am:
21896         * gst/gstarch.h:
21897         Remove old file.
21898
21899 2005-07-18  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/Makefile.am:
21902         No more cothreads.h
21903
21904 2005-07-18  Wim Taymans  <wim@fluendo.com>
21905
21906         * gst/cothreads.c:
21907         * gst/cothreads.h:
21908         Let's remove these.
21909
21910 2005-07-18  Wim Taymans  <wim@fluendo.com>
21911
21912         * docs/design/part-dynamic.txt:
21913         * docs/design/part-events.txt:
21914         * docs/design/part-seeking.txt:
21915         Some more docs in the works.
21916
21917         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21918         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21919         (gst_base_transform_setcaps), (gst_base_transform_get_size),
21920         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21921         (gst_base_transform_handle_buffer),
21922         (gst_base_transform_sink_activate_push),
21923         (gst_base_transform_src_activate_pull),
21924         (gst_base_transform_set_passthrough),
21925         (gst_base_transform_is_passthrough):
21926         Refcounting fixes.
21927
21928         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21929         Cleanups.
21930
21931         * gst/gstevent.c: (gst_event_finalize):
21932         Set SRC to NULL.
21933
21934         * gst/gstutils.c: (gst_element_unlink),
21935         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21936         (gst_pad_proxy_setcaps):
21937         * gst/gstutils.h:
21938         Add _get_parent_element() to get a pads parent as an element.
21939
21940 2005-07-18  Wim Taymans  <wim@fluendo.com>
21941
21942         * check/gst/gstbin.c: (GST_START_TEST):
21943         Remove bogus test.
21944
21945 2005-07-18  Wim Taymans  <wim@fluendo.com>
21946
21947         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21948         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21949         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21950         (gst_base_sink_event), (gst_base_sink_do_sync),
21951         (gst_base_sink_chain), (gst_base_sink_loop),
21952         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21953         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21954         Refcounting fixes.
21955         Fix logic for returning ASYNC when not prerolled.
21956
21957 2005-07-18  Wim Taymans  <wim@fluendo.com>
21958
21959         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21960         Fix nasty refcount bug.
21961
21962 2005-07-16 Philippe Khalaf <burger@speedy.org>
21963
21964         * gst/elements/gstfdsrc.c:
21965         * gst/elements/gstfdsrc.h:
21966         * gst/elements/gstelements.c:
21967         * gst/elements/Makefile.am:
21968         Ported fdsrc to 0.9.
21969
21970 2005-07-16  Wim Taymans  <wim@fluendo.com>
21971
21972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21973         (gst_base_sink_do_sync):
21974         Fix compile error.
21975
21976 2005-07-16  Wim Taymans  <wim@fluendo.com>
21977
21978         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21979         (gst_base_sink_event), (gst_base_sink_get_times),
21980         (gst_base_sink_do_sync), (gst_base_sink_change_state):
21981         * gst/base/gstbasesink.h:
21982         Store and use discont values when syncing buffers as described
21983         in design docs.
21984         
21985         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21986         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21987         (gst_base_src_activate_push):
21988         Push discont event when starting.
21989
21990         * gst/elements/gstidentity.c: (gst_identity_transform):
21991         Small cleanups.
21992
21993         * gst/gstbin.c: (gst_bin_change_state):
21994         Small cleanups in base_time  distribution.
21995
21996         * gst/gstelement.c: (gst_element_set_base_time),
21997         (gst_element_get_base_time), (gst_element_change_state):
21998         * gst/gstelement.h:
21999         Added methods for the base_time of the element.
22000         Some MT fixes.
22001
22002         * gst/gstpipeline.c: (gst_pipeline_send_event),
22003         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22004         (gst_pipeline_get_last_stream_time):
22005         * gst/gstpipeline.h:
22006         MT fixes.
22007         Handle seeking as described in design doc, remove stream_time
22008         hack.
22009         Cleanups clock and stream_time selection code. Added accessors
22010         for the stream_time.
22011         
22012
22013 2005-07-16  Andy Wingo  <wingo@pobox.com>
22014
22015         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22016         (#305291).
22017
22018 2005-07-16  Wim Taymans  <wim@fluendo.com>
22019
22020         * check/gst/gstbin.c: (GST_START_TEST):
22021         Make elements silent as the deep_notify refs the
22022         parent, which might make the test fail.
22023
22024         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22025         Don't hold the lock for too long.
22026
22027 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22028
22029         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22030           Don't unref the caps we passed to gst_caps_make_writable() after
22031           passing them. gst_caps_make_writable() will do that for us.
22032
22033 2005-07-15  Andy Wingo  <wingo@pobox.com>
22034
22035         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22036         (#157311).
22037
22038         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22039         own marshalling function for the handoff signal. Properly type the
22040         buffer as a buffer. Fixes some warnings. Should do a more general
22041         solution.
22042         (gst_identity_class_init): Plug into the right marshaller.
22043
22044 2005-07-15  Wim Taymans  <wim@fluendo.com>
22045
22046         * docs/design/part-TODO.txt:
22047         * docs/design/part-clocks.txt:
22048         * docs/design/part-element-sink.txt:
22049         * docs/design/part-events.txt:
22050         * docs/design/part-gstpipeline.txt:
22051         Updated docs, mostly DISCONT related.
22052
22053 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22054
22055         * docs/pwg/building-pads.xml:
22056           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22057
22058 2005-07-15  Andy Wingo  <wingo@pobox.com>
22059
22060         * tools/gst-typefind.c: Update, add copyright block.
22061
22062         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22063         Normalize and truncate caps before fixation.
22064
22065         * gst/gstcaps.h:
22066         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22067         discards all but the first structure from its argument.
22068
22069 2005-07-15  Wim Taymans  <wim@fluendo.com>
22070
22071         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22072         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22073         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22074         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22075         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22076         (gst_base_transform_chain), (gst_base_transform_change_state),
22077         (gst_base_transform_set_passthrough),
22078         (gst_base_transform_is_passthrough):
22079         * gst/base/gstbasetransform.h:
22080         Make passthrough work using the bufferpools.
22081         Changed API a bit, subclasses have to write into a buffer
22082         provided by the base class.
22083         More debug info in nego functions.
22084         
22085         * gst/elements/gstidentity.c: (gst_identity_init),
22086         (gst_identity_transform):
22087         Port to new base class.
22088
22089 2005-07-15  Wim Taymans  <wim@fluendo.com>
22090
22091         * gst/gstmessage.c: (gst_message_new_state_changed):
22092         * tools/gst-launch.c: (event_loop), (main):
22093         Totally dump messages in -launch with the -m option.
22094         Fix message name for State messages,
22095
22096 2005-07-14  Wim Taymans  <wim@fluendo.com>
22097
22098         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22099         Post error messages on errors.
22100
22101 2005-07-14  Wim Taymans  <wim@fluendo.com>
22102
22103         * gst/gstcaps.c: (gst_caps_do_simplify):
22104         Remove debug info.
22105
22106         * gst/gsterror.h:
22107         Define error for stream stopped.
22108
22109         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22110         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22111         Do proper return values.
22112
22113         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22114         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22115         (gst_pad_get_range):
22116         Better return values.
22117
22118         * gst/gstpad.h:
22119         Reorganise return values, add macro to check for fatal errors.
22120
22121         * gst/gstqueue.c: (gst_queue_chain):
22122         Return proper GstFlowReturn values,
22123
22124 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22125
22126         * docs/gst/gstreamer-sections.txt:
22127         * docs/gst/gstreamer.types:
22128         * docs/gst/tmpl/gst.sgml:
22129         * docs/gst/tmpl/gstbasesink.sgml:
22130         * docs/gst/tmpl/gstbasesrc.sgml:
22131         * docs/gst/tmpl/gstbasetransform.sgml:
22132         * docs/gst/tmpl/gstbin.sgml:
22133         * docs/gst/tmpl/gstbuffer.sgml:
22134         * docs/gst/tmpl/gstcaps.sgml:
22135         * docs/gst/tmpl/gstclock.sgml:
22136         * docs/gst/tmpl/gstcompat.sgml:
22137         * docs/gst/tmpl/gstconfig.sgml:
22138         * docs/gst/tmpl/gstelement.sgml:
22139         * docs/gst/tmpl/gstelementdetails.sgml:
22140         * docs/gst/tmpl/gstelementfactory.sgml:
22141         * docs/gst/tmpl/gstenumtypes.sgml:
22142         * docs/gst/tmpl/gsterror.sgml:
22143         * docs/gst/tmpl/gstevent.sgml:
22144         * docs/gst/tmpl/gstfakesink.sgml:
22145         * docs/gst/tmpl/gstfakesrc.sgml:
22146         * docs/gst/tmpl/gstfilesink.sgml:
22147         * docs/gst/tmpl/gstfilesrc.sgml:
22148         * docs/gst/tmpl/gstfilter.sgml:
22149         * docs/gst/tmpl/gstformat.sgml:
22150         * docs/gst/tmpl/gstghostpad.sgml:
22151         * docs/gst/tmpl/gstimplementsinterface.sgml:
22152         * docs/gst/tmpl/gstindex.sgml:
22153         * docs/gst/tmpl/gstindexfactory.sgml:
22154         * docs/gst/tmpl/gstinfo.sgml:
22155         * docs/gst/tmpl/gstiterator.sgml:
22156         * docs/gst/tmpl/gstmacros.sgml:
22157         * docs/gst/tmpl/gstmemchunk.sgml:
22158         * docs/gst/tmpl/gstminiobject.sgml:
22159         * docs/gst/tmpl/gstobject.sgml:
22160         * docs/gst/tmpl/gstpad.sgml:
22161         * docs/gst/tmpl/gstpadtemplate.sgml:
22162         * docs/gst/tmpl/gstparse.sgml:
22163         * docs/gst/tmpl/gstpipeline.sgml:
22164         * docs/gst/tmpl/gstplugin.sgml:
22165         * docs/gst/tmpl/gstpluginfeature.sgml:
22166         * docs/gst/tmpl/gstquery.sgml:
22167         * docs/gst/tmpl/gstqueue.sgml:
22168         * docs/gst/tmpl/gstregistry.sgml:
22169         * docs/gst/tmpl/gstregistrypool.sgml:
22170         * docs/gst/tmpl/gstscheduler.sgml:
22171         * docs/gst/tmpl/gstschedulerfactory.sgml:
22172         * docs/gst/tmpl/gststructure.sgml:
22173         * docs/gst/tmpl/gstsystemclock.sgml:
22174         * docs/gst/tmpl/gsttaglist.sgml:
22175         * docs/gst/tmpl/gsttagsetter.sgml:
22176         * docs/gst/tmpl/gsttrace.sgml:
22177         * docs/gst/tmpl/gsttrashstack.sgml:
22178         * docs/gst/tmpl/gsttypefind.sgml:
22179         * docs/gst/tmpl/gsttypefindfactory.sgml:
22180         * docs/gst/tmpl/gsttypes.sgml:
22181         * docs/gst/tmpl/gsturihandler.sgml:
22182         * docs/gst/tmpl/gsturitype.sgml:
22183         * docs/gst/tmpl/gstutils.sgml:
22184         * docs/gst/tmpl/gstvalue.sgml:
22185         * docs/gst/tmpl/gstversion.sgml:
22186         * docs/gst/tmpl/gstxml.sgml:
22187         * docs/libs/tmpl/gstcontrol.sgml:
22188         * docs/libs/tmpl/gstdataprotocol.sgml:
22189         * docs/libs/tmpl/gstdparam.sgml:
22190         * docs/libs/tmpl/gstdplinint.sgml:
22191         * docs/libs/tmpl/gstdpman.sgml:
22192         * docs/libs/tmpl/gstdpsmooth.sgml:
22193         * docs/libs/tmpl/gstgetbits.sgml:
22194         * docs/libs/tmpl/gstunitconvert.sgml:
22195         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22196         (gst_push_src_base_init), (gst_push_src_class_init),
22197         (gst_push_src_init), (gst_push_src_create):
22198         * gst/base/gstpushsrc.h:
22199         * gst/elements/gstelements.c:
22200         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22201         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22202         (gst_fake_sink_init), (gst_fake_sink_set_property),
22203         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22204         (gst_fake_sink_event), (gst_fake_sink_preroll),
22205         (gst_fake_sink_render), (gst_fake_sink_change_state):
22206         * gst/elements/gstfakesink.h:
22207         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22208         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22209         (gst_fake_src_base_init), (gst_fake_src_class_init),
22210         (gst_fake_src_init), (gst_fake_src_event_handler),
22211         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22212         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22213         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22214         (gst_fake_src_create_buffer), (gst_fake_src_create),
22215         (gst_fake_src_start), (gst_fake_src_stop):
22216         * gst/elements/gstfakesrc.h:
22217         * gst/elements/gstfilesink.c: (_do_init),
22218         (gst_file_sink_base_init), (gst_file_sink_class_init),
22219         (gst_file_sink_init), (gst_file_sink_dispose),
22220         (gst_file_sink_set_location), (gst_file_sink_set_property),
22221         (gst_file_sink_get_property), (gst_file_sink_open_file),
22222         (gst_file_sink_close_file), (gst_file_sink_query),
22223         (gst_file_sink_event), (gst_file_sink_render),
22224         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22225         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22226         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22227         * gst/elements/gstfilesink.h:
22228         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22229         (gst_file_src_class_init), (gst_file_src_init),
22230         (gst_file_src_finalize), (gst_file_src_set_location),
22231         (gst_file_src_set_property), (gst_file_src_get_property),
22232         (gst_file_src_map_region), (gst_file_src_map_small_region),
22233         (gst_file_src_create_mmap), (gst_file_src_create_read),
22234         (gst_file_src_create), (gst_file_src_is_seekable),
22235         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22236         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22237         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22238         (gst_file_src_uri_handler_init):
22239         * gst/elements/gstfilesrc.h:
22240           more autistic cleanliness in functions/names/defines
22241
22242 2005-07-13  Andy Wingo  <wingo@pobox.com>
22243
22244         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22245         source couldn't negotiate.
22246
22247         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22248         connections again.
22249
22250         * gst/gstutils.h:
22251         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22252         function. I am channeling Hades. Put your boots on suckers!!!
22253
22254 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22255
22256         * testsuite/caps/Makefile.am:
22257         * testsuite/caps/value_compare.c:
22258         * testsuite/caps/value_intersect.c:
22259         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22260           move two testsuite apps over to the check dir
22261
22262 2005-07-12  Wim Taymans  <wim@fluendo.com>
22263
22264         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22265         Added more debug info in the negotiate process.
22266
22267         * gst/gstmessage.h:
22268         Prepare for segment playback.
22269
22270         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22271         Better debugging.
22272
22273         * gst/gstutils.c:
22274         Some more docs.
22275
22276         * tools/gst-launch.c: (main):
22277         NULL pipeline on errors.
22278
22279 2005-07-12  Andy Wingo  <wingo@pobox.com>
22280
22281         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22282         not it comes from a malloc region. Make sure our copy gets freed.
22283
22284 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22285
22286         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22287         * check/gst/gstmessage.c: (GST_START_TEST):
22288         * check/gst/gststructure.c: (GST_START_TEST),
22289         (gst_structure_suite), (main):
22290           more testing
22291         * gst/gstelement.c: (gst_element_message_full):
22292           clean up GError and debug string now that they get copied
22293         * gst/gstmessage.c: (gst_message_new_error),
22294         (gst_message_new_warning), (gst_message_parse_error),
22295         (gst_message_parse_warning):
22296           use GST_TYPE_G_ERROR for structure_new, and take copies of
22297           arguments, so that we don't mess up refcounting
22298
22299 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22300
22301         * check/Makefile.am:
22302           add per-test valgrind targets
22303         * check/gst-libs/gdp.c: (GST_START_TEST),
22304         (gst_data_protocol_suite), (main):
22305           clean up
22306
22307 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22308
22309         * check/Makefile.am:
22310           instate more valgrindable tests
22311         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22312         (GST_START_TEST), (fakesrc_suite):
22313         * check/gst/gstpad.c: (GST_START_TEST):
22314         * check/gst/gststructure.c: (GST_START_TEST):
22315           fix test leaks
22316         * docs/gst/tmpl/gstminiobject.sgml:
22317         * gst/gstpad.c: (gst_pad_finalize):
22318           fix the static mutex leak
22319
22320 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22321
22322         * check/Makefile.am:
22323           add two more tests for valgrinding
22324         * check/gst/gstvalue.c: (GST_START_TEST):
22325           test refcount of deserialized buffer, found a leak
22326         * docs/gst/gstreamer-docs.sgml:
22327         * docs/gst/gstreamer-sections.txt:
22328         * docs/gst/gstreamer.types:
22329         * docs/gst/tmpl/gstminiobject.sgml:
22330           add miniobject to docs
22331         * gst/gstminiobject.c:
22332           add some docs
22333         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22334         (gst_string_unwrap):
22335           fix a hard-to-find invalid write for one of the tests
22336           fix a leak for deserialized buffers
22337
22338 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22339
22340         * docs/pwg/advanced-events.xml:
22341         * docs/pwg/advanced-request.xml:
22342         * docs/pwg/advanced-scheduling.xml:
22343         * docs/pwg/appendix-porting.xml:
22344         * docs/pwg/building-boiler.xml:
22345         * docs/pwg/intro-preface.xml:
22346         * docs/pwg/other-ntoone.xml:
22347           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22348           of example code and explanation for pad activation, loop() and
22349           getrange() functions and a bit more. Remove old comments pointing
22350           to loop-functions.
22351         * examples/pwg/Makefile.am:
22352           Add loop/getrange examples.
22353
22354 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22355
22356         * configure.ac:
22357           check for valgrind binary + some fixes
22358         * check/gst.supp:
22359           valgrind suppressions for the tests
22360         * check/Makefile.am:
22361           add a valgrind: target that valgrinds the unit tests
22362         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22363         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22364         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22365         * check/gst/gstghostpad.c:
22366           added some cleanup
22367         * check/gst/gstdata.c:
22368           removed
22369         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22370         (thread_unref), (gst_mini_object_suite), (main):
22371           added
22372         * gst/gst.c: (gst_deinit):
22373         * gst/gst.h:
22374           add a method to clean up.
22375         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22376         (gst_system_clock_obtain):
22377           allow for disposing the system clock.
22378         * tools/gst-launch.c: (main):
22379           deinit
22380
22381 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22382
22383         * docs/gst/tmpl/gstbasesrc.sgml:
22384         * docs/gst/tmpl/gstfakesrc.sgml:
22385         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22386         (gst_base_src_init), (gst_base_src_set_property),
22387         (gst_base_src_get_property), (gst_base_src_get_range),
22388         (gst_base_src_start):
22389         * gst/base/gstbasesrc.h:
22390           add num-buffers property
22391         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22392         (gst_fakesrc_init), (gst_fakesrc_set_property),
22393         (gst_fakesrc_get_property), (gst_fakesrc_create),
22394         (gst_fakesrc_start):
22395           remove num-buffers property
22396
22397 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22398
22399         * docs/gst/gstreamer-sections.txt:
22400         * docs/gst/tmpl/gstbasesink.sgml:
22401         * docs/gst/tmpl/gstbasesrc.sgml:
22402         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22403         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22404         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22405         (gst_base_sink_set_property), (gst_base_sink_get_property),
22406         (gst_base_sink_handle_object), (gst_base_sink_event),
22407         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22408         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22409         (gst_base_sink_loop), (gst_base_sink_deactivate),
22410         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22411         (gst_base_sink_change_state):
22412         * gst/base/gstbasesink.h:
22413         * gst/base/gstbasesrc.h:
22414         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22415         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22416         (gst_filesink_init):
22417           more macro splitting
22418
22419 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22420
22421         * gst/gstelement.c: (gst_element_get_bus):
22422           add debug
22423         * tools/gst-launch.c: (check_intr), (event_loop):
22424           fix bus leaks
22425
22426 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22427
22428         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22429           fix a caps leak
22430
22431 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22432
22433         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22434         (gst_base_src_finalize):
22435           add finalize method and clean up properly
22436         * gst/gstpipeline.c: (gst_pipeline_dispose):
22437           add debug
22438
22439 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22440
22441         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22442         (gst_bin_suite):
22443           add more things to check
22444         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22445         * gst/gstelement.c:
22446           more debug
22447
22448 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22449
22450         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22451         (GST_START_TEST), (fakesrc_suite):
22452         * check/gst-libs/gdp.c: (GST_START_TEST):
22453         * check/gst/gst.c: (GST_START_TEST):
22454         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22455         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22456         * check/gst/gstbus.c: (GST_START_TEST):
22457         * check/gst/gstcaps.c: (GST_START_TEST):
22458         * check/gst/gstdata.c: (GST_START_TEST):
22459         * check/gst/gstelement.c: (GST_START_TEST):
22460         * check/gst/gstghostpad.c: (GST_START_TEST):
22461         * check/gst/gstiterator.c: (GST_START_TEST):
22462         * check/gst/gstmessage.c: (GST_START_TEST):
22463         * check/gst/gstobject.c: (GST_START_TEST):
22464         * check/gst/gstpad.c: (GST_START_TEST):
22465         * check/gst/gststructure.c: (GST_START_TEST):
22466         * check/gst/gstsystemclock.c: (GST_START_TEST),
22467         (gst_systemclock_suite):
22468         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22469         * check/gst/gstvalue.c: (GST_START_TEST):
22470         * check/pipelines/cleanup.c: (GST_START_TEST):
22471         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22472         * check/states/sinks.c: (GST_START_TEST):
22473         * check/gstcheck.c: (gst_check_init):
22474         * check/gstcheck.h:
22475           add debugging category
22476           use GST_START_TEST now, so we add a debug line
22477
22478 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22479
22480         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22481           add test for state change message on a bin
22482         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22483           add another test
22484         * gst/gstbin.c: (gst_bin_init):
22485         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22486         * gst/gstelement.c: (gst_element_post_message),
22487         (gst_element_set_state):
22488         * gst/gstelementfactory.c: (gst_element_factory_create):
22489         * gst/gstmessage.c: (gst_message_new):
22490         * gst/gstscheduler.c:
22491           various debugging additions and cleanups
22492
22493 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22494
22495         * check/Makefile.am:
22496         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22497         (main):
22498           adding tests for elements
22499         * gst/gstelement.c: (gst_element_dispose):
22500
22501 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22502
22503         * gst/registries/gstlibxmlregistry.c: (load_feature):
22504           plug more leaks.  A simple gst_init() now is leakfree, yay.
22505
22506 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22507
22508         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22509         (gst_xml_registry_load):
22510           plug another memleak
22511
22512 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22513
22514         * configure.ac:
22515           use GST_SET_ERROR_CFLAGS
22516         * docs/faq/cvs.xml:
22517           change to ERROR_CFLAGS
22518
22519 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22520
22521         * configure.ac:
22522           make GST_ERROR_CFLAGS overridable and re-enable Werror
22523         * docs/faq/cvs.xml:
22524           add a note about error CFLAGS
22525         * docs/gst/tmpl/gstfakesrc.sgml:
22526         * gst/elements/gstfakesrc.c:
22527           comment out some unused code
22528         * gst/gst.c: (split_and_iterate):
22529         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22530         (load_feature):
22531           plug some memleaks
22532
22533 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * common/Makefile.am:
22536         * common/gtk-doc.mak:
22537         * docs/gst/Makefile.am:
22538           factor out gtk-doc.mak
22539
22540 2005-07-07  Wim Taymans  <wim@fluendo.com>
22541
22542         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22543         (gst_thread_scheduler_dispose):
22544         Unlock the STREAM_LOCK completely.
22545
22546 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * check/Makefile.am:
22549         * check/elements/.cvsignore:
22550         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22551         (START_TEST), (fakesrc_suite), (main):
22552         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22553         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22554         (gst_fakesrc_create), (gst_fakesrc_start):
22555         * gst/elements/gstfakesrc.h:
22556           adding a first element test
22557
22558 2005-07-07  Andy Wingo  <wingo@pobox.com>
22559
22560         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22561         debug message.
22562
22563 2005-07-07  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/gstquery.c:
22566         * gst/gstquery.h:
22567         Remove old types
22568
22569 2005-07-07  Wim Taymans  <wim@fluendo.com>
22570
22571         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22572         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22573         Allow subclasses to implement their own negotiation.
22574
22575 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22576
22577         * docs/design/part-gstbin.txt:
22578         * docs/design/part-gstpipeline.txt:
22579           Update design notes to reflect the movement of
22580           responsibility for bus handling from GstPipeline to
22581           GstBin
22582
22583 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22584
22585         * configure.ac:
22586           Remove unnecessary queue2/3/4 examples.
22587
22588 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22589
22590         * examples/Makefile.am:
22591         * examples/helloworld/helloworld.c: (event_loop), (main):
22592         * examples/queue/queue.c: (event_loop), (main):
22593         * examples/queue2/queue2.c: (main):
22594           Update a couple of the examples to work again.
22595
22596         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22597         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22598          Spelling corrections and extra debug.
22599         
22600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22601         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22602         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22603         * gst/gstbin.h:
22604         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22605         (gst_pipeline_change_state):
22606         * gst/gstpipeline.h:
22607           Move the bus handler for children to the GstBin, and create a
22608           separate bus for receiving messages from children to the one the
22609           bus sends 'upwards' on.
22610
22611 2005-07-06  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/README:
22614         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22615         (gst_base_sink_handle_object), (gst_base_sink_loop),
22616         (gst_base_sink_change_state):
22617         * gst/base/gstbasesink.h:
22618         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22619         (gst_base_src_init), (gst_base_src_setcaps),
22620         (gst_base_src_getcaps), (gst_base_src_loop),
22621         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22622         (gst_base_src_start), (gst_base_src_change_state):
22623         * gst/base/gstbasesrc.h:
22624         Make basesrc negotiate.
22625         Handle the case where preroll fails in basesink.
22626         Update README.
22627
22628 2005-07-06  Wim Taymans  <wim@fluendo.com>
22629
22630         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22631         Implement the fixate function.
22632         Clean up acceptcaps.
22633
22634 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22635
22636         * docs/pwg/building-filterfactory.xml:
22637         * docs/pwg/pwg.xml:
22638           Remove never-written filter-factory chapter; I'll add the various
22639           base classes to part 4 ("other element types") later on.
22640
22641 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22642
22643         * docs/pwg/advanced-negotiation.xml:
22644         * docs/pwg/building-boiler.xml:
22645         * docs/pwg/building-pads.xml:
22646         * docs/pwg/pwg.xml:
22647         * examples/pwg/Makefile.am:
22648           Add a chapter on caps negotiation, simplify the original code
22649           samples a bit w.r.t. caps negotiation, add link to the advanced
22650           section. Add a bunch of examples showing different use cases of
22651           different types of caps negotiation. Upstream renegotiation isn't
22652           fully documented yet since nobody knows how that works.
22653
22654 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22655
22656         * check/gst/gstpad.c:
22657         * check/gstcheck.c:
22658         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22659           if pad has no parent, return NULL as list of internal links
22660
22661 2005-07-05  Andy Wingo  <wingo@pobox.com>
22662
22663         * gst/elements/gstfilesrc.c:
22664         * gst/elements/gstfakesrc.c: 
22665         * gst/base/gstpushsrc.c:
22666         * gst/base/gstbasesrc.h: 
22667         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22668         
22669 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22670
22671         * Makefile.am:
22672           better report generation target (lcov needs a patch)
22673
22674 2005-07-05  Andy Wingo  <wingo@pobox.com>
22675
22676         * gst/elements, testsuite: Null if we got it...
22677
22678 2005-07-05  Wim Taymans  <wim@fluendo.com>
22679
22680         * configure.ac:
22681         * libs/gst/dataprotocol/Makefile.am:
22682         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22683         * libs/gst/dataprotocol/dataprotocol.h:
22684         * pkgconfig/Makefile.am:
22685         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22686         * pkgconfig/gstreamer-dataprotocol.pc.in:
22687         Ported dataprotol to 0.9. 
22688         Added pkgconfig files.
22689
22690 2005-07-05  Andy Wingo  <wingo@pobox.com>
22691
22692         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22693         Default to returning TRUE for the case when tranform_caps returns
22694         a fixed caps, like for identity or volume.
22695
22696         * check/gst/gstbus.c (pound_bus_with_messages): 
22697         * check/gst/gstmessage.c (START_TEST): 
22698         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22699         message API change.
22700
22701         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22702         logic weaks here: always run transform_caps, trying passthrough
22703         operation only if the original caps intersects with the transform.
22704
22705         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22706         source and sink caps.
22707
22708         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22709         Intersect the peer caps with the pad template before going into
22710         transform_caps.
22711         (gst_base_transform_transform_caps): More debugging.
22712
22713         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22714         src argument.
22715
22716 2005-07-04  Edward Hervey  <edward@fluendo.com>
22717
22718         * gst/gstutils.c:
22719         * gst/gstutils.h:
22720         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22721         in bindings.
22722
22723 2005-07-04  Andy Wingo  <wingo@pobox.com>
22724
22725         * check/gst/gstpad.c: Only set explicit caps on pads.
22726
22727 2005-07-01  Andy Wingo  <wingo@pobox.com>
22728
22729         * tests/network-clock.scm: Commentary update.
22730
22731         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22732         Didn't really make sense, not implementable with basetransform,
22733         etc.
22734         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22735         attempt at implementing the sync property, needs an unlock method.
22736
22737         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22738         New func, by default returns the same caps (the identity
22739         transformation).
22740         (gst_base_transform_getcaps): Uses transform_caps to return
22741         something sensible.
22742         (gst_base_transform_setcaps): Complicated logic to get caps on
22743         both pads, even if they are different, and to call set_caps once
22744         for every time both pads get their caps set.
22745         (gst_base_transform_handle_buffer): Give the ref to the transform
22746         function. Allows in-place modification of the buffer.
22747
22748         * gst/base/gstbasetransform.h (transform_caps): New class method.
22749         Given caps on one side, what can I do on the other.
22750         (set_caps): Take two caps, one for each side of the element.
22751
22752         * gst/gstpad.h:
22753         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22754         caps in place. This is safe because we can check the mutability of
22755         the caps, and a good idea because fixate functions are just called
22756         as a matter of last resort. (Not actually implemented.)
22757         (gst_pad_set_caps): If the caps we're setting is actually the same
22758         as the existing pad caps, just update the pointer without calling
22759         setcaps. Assert that caps is either NULL or fixed, as per the
22760         docs.
22761
22762         * gst/gstghostpad.c: Update for fixate changes.
22763
22764 2005-07-02  Andy Wingo  <wingo@pobox.com>
22765
22766         * gst/gstcaps.c:
22767         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22768         two refcounts makes it immutable, which is enough. Doc more.
22769
22770 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22771
22772         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22773           Put the mini_object into GValue as a mini_object,
22774           not a gpointer, since that's how we declared
22775           the signal.
22776
22777 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22778
22779         * examples/pwg/Makefile.am:
22780           Fix buildbot again.
22781
22782 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22783
22784         * docs/pwg/building-testapp.xml:
22785           Add extra check.
22786         * examples/pwg/Makefile.am:
22787           Fix buildbot.
22788
22789 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22790
22791         * configure.ac:
22792         * examples/Makefile.am:
22793         * examples/pwg/Makefile.am:
22794         * examples/pwg/extract.pl:
22795           Enable building the PWG examples.
22796         * docs/pwg/advanced-interfaces.xml:
22797           Add URI interface stub.
22798         * docs/pwg/advanced-types.xml:
22799         * docs/pwg/other-autoplugger.xml:
22800         * docs/pwg/appendix-porting.xml:
22801         * docs/pwg/pwg.xml:
22802           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22803         * docs/pwg/building-boiler.xml:
22804         * docs/pwg/building-chainfn.xml:
22805         * docs/pwg/building-pads.xml:
22806         * docs/pwg/building-props.xml:
22807         * docs/pwg/building-state.xml:
22808         * docs/pwg/building-testapp.xml:
22809           Update the building-*.xml parts for 0.9 changes. All examples
22810           code blocks compile in examples/pwg/*.
22811
22812 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22813
22814         * docs/manual/advanced-autoplugging.xml:
22815         * docs/manual/appendix-checklist.xml:
22816         * docs/manual/appendix-integration.xml:
22817         * docs/manual/highlevel-components.xml:
22818           Fix playbin/decodebin examples, update docs a bit, mention bus
22819           instead of signals in various places, mention kmplayer and
22820           kaffeine since they have a working GStreamer backend in the KDE
22821           section.
22822
22823 2005-06-30  Wim Taymans  <wim@fluendo.com>
22824
22825         * CHANGES-0.9:
22826         * docs/design/draft-ghostpads.txt:
22827         * docs/design/draft-push-pull.txt:
22828         * docs/design/draft-query.txt:
22829         * docs/design/part-TODO.txt:
22830         * docs/design/part-query.txt:
22831         Added CHANGES-0.9 doc, updated status of other docs.
22832         
22833         * gst/gstquery.h:
22834         Remove "hmm" macro
22835
22836 2005-06-30  Wim Taymans  <wim@fluendo.com>
22837
22838         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22839         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22840         (gst_base_sink_change_state):
22841         * gst/base/gstbasesink.h:
22842         Some tweaks, only EOS and a buffer complete a preroll.
22843
22844 2005-06-30  Andy Wingo  <wingo@pobox.com>
22845
22846         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22847         activate_push down to the internal pad as well.
22848
22849 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22850
22851         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22852
22853         * gst/gsttaginterface.c:
22854           Some documentation fixes (#307394 and #307397).
22855
22856 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22857
22858         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22859
22860         * gst/gstvalue.c: (gst_value_intersect_list):
22861           Fix memleak (#309125).
22862
22863 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22864
22865         * docs/manual/advanced-dataaccess.xml:
22866           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22867         * docs/manual/basics-pads.xml:
22868           Add reference for filtered caps to above chapter.
22869
22870 2005-06-30  Wim Taymans  <wim@fluendo.com>
22871
22872         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22873         (gst_bin_change_state):
22874         Probes are gone.
22875         Lame attempt at making the state change function a bit
22876         more readable.
22877
22878 2005-06-30  Wim Taymans  <wim@fluendo.com>
22879
22880         * docs/design/part-clocks.txt:
22881         * docs/design/part-element-sink.txt:
22882         * docs/design/part-events.txt:
22883         * docs/design/part-preroll.txt:
22884         * docs/design/part-states.txt:
22885         Some more tweeks and additions to the docs.
22886
22887 2005-06-30  Wim Taymans  <wim@fluendo.com>
22888
22889         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22890         (default_have_data), (gst_pad_class_init), (gst_pad_init),
22891         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22892         (gst_pad_check_pull_range), (gst_pad_get_range),
22893         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22894         * gst/gstpad.h:
22895         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22896         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22897         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22898         (gst_pad_remove_buffer_probe):
22899         Removed atomic operations, use existing LOCK.
22900         Move exception handling out of main code path.
22901
22902 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22903
22904         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22905         (silly_return_true_function), (gst_pad_class_init),
22906         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22907         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22908         (gst_pad_send_event):
22909           Fix accumulator, add default value by using _emitv() instead
22910           of _emit() for signal emission.
22911
22912 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22913
22914         * docs/manual/advanced-dataaccess.xml:
22915         * examples/manual/Makefile.am:
22916           Add probe example.
22917         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22918           Make work (??).
22919
22920 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
22921
22922         * gst/elements/gstfilesink.c: (gst_filesink_render):
22923           Simplify code so that we don't have to handle short
22924           writes and return GST_FLOW_ERROR if an error occured.
22925
22926 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22927
22928         * docs/gst/gstreamer-docs.sgml:
22929           Remove probes more.
22930
22931 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22932
22933         * docs/gst/gstreamer-sections.txt:
22934         * docs/gst/tmpl/gstpad.sgml:
22935         * docs/gst/tmpl/gstprobe.sgml:
22936         * gst/Makefile.am:
22937         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22938         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22939         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22940         (gst_pad_push_event), (gst_pad_send_event):
22941         * gst/gstpad.h:
22942         * gst/gstutils.c: (gst_pad_add_data_probe),
22943         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22944         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22945         (gst_pad_remove_buffer_probe):
22946         * gst/gstutils.h:
22947           Remove old probes, add new g-signal-based probes and some utility
22948           functions.
22949
22950 2005-06-29  Edward Hervey  <edward@fluendo.com>
22951
22952         * gst/gstelementfactory.c:
22953         * gst/gstutils.h:
22954         * gst/gstutils.c:
22955         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22956         the definition to the header file.
22957
22958 2005-06-29  Andy Wingo  <wingo@pobox.com>
22959
22960         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22961         plugins from the source directory.
22962
22963 2005-06-29  Wim Taymans  <wim@fluendo.com>
22964
22965         * docs/gst/tmpl/gstbuffer.sgml:
22966         * docs/gst/tmpl/gstclock.sgml:
22967         Some fixings for blantently wrong text.
22968
22969 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22970
22971         * check/Makefile.am:
22972         * gst/gst.c: (add_path_func), (init_pre):
22973         * gst/gstregistry.c: (gst_registry_add_path):
22974           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22975           only scan the GST_PLUGIN_PATH locations, and not add
22976           system locations
22977
22978 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22979
22980         * docs/gst/gstreamer-sections.txt:
22981         * docs/gst/tmpl/gstbasesrc.sgml:
22982         * gst/gstelement.c:
22983         * gst/gstelement.h:
22984         * gst/gstevent.c:
22985         * gst/gstutils.c:
22986           doc fixes
22987
22988 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22989
22990         * docs/manual/advanced-autoplugging.xml:
22991           Fix autoplugging example.
22992
22993 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22994
22995         * docs/manual/advanced-autoplugging.xml:
22996         * docs/manual/mime-world.fig:
22997           Try to get autoplugging working, fix type detection. Fix text
22998           in hello-world image.
22999
23000 2005-06-29  Wim Taymans  <wim@fluendo.com>
23001
23002         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23003         (gst_base_sink_change_state):
23004         Small debug line.
23005
23006         * gst/gstclock.h:
23007         map SIGNAL and BROADCAST to the right function.
23008
23009         * gst/gstobject.h:
23010         Remove redundant braces.
23011
23012         * gst/gstpad.c: (gst_pad_set_caps):
23013         Don't call setcaps function when reseting caps to NULL.
23014
23015         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23016         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23017         (gst_system_clock_id_unschedule):
23018         Use BROADCAST as this is what we do.
23019
23020 2005-06-29  Wim Taymans  <wim@fluendo.com>
23021
23022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23023         We are actually prerolling before commiting the state
23024         change. 
23025
23026 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23027
23028         * docs/manual/advanced-clocks.xml:
23029         * docs/manual/advanced-interfaces.xml:
23030         * docs/manual/advanced-metadata.xml:
23031         * docs/manual/advanced-position.xml:
23032         * docs/manual/advanced-schedulers.xml:
23033         * docs/manual/advanced-threads.xml:
23034         * docs/manual/appendix-porting.xml:
23035         * docs/manual/basics-bins.xml:
23036         * docs/manual/basics-bus.xml:
23037         * docs/manual/basics-elements.xml:
23038         * docs/manual/basics-helloworld.xml:
23039         * docs/manual/basics-pads.xml:
23040         * docs/manual/highlevel-components.xml:
23041         * docs/manual/manual.xml:
23042         * docs/manual/thread.fig:
23043           Update (until threads/scheduling) Application Development Manual;
23044           remove GstThread, add GstBus, add simple porting checklist, add
23045           documentation for tag writing, clocks, make all examples until this
23046           part compile and run.
23047         * examples/manual/Makefile.am:
23048           Update from changes to Application Development Manual; add bus
23049           example, remove thread example.
23050
23051 2005-06-28  Wim Taymans  <wim@fluendo.com>
23052
23053         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23054         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23055         (gst_bus_source_dispatch):
23056         Add debugging messages.
23057         Make internal methods static.
23058         Handle the case where the bus is flushed in the handler.
23059         
23060         * gst/gstelement.c: (gst_element_get_bus):
23061         Fix refcount in _get_bus();
23062
23063         * gst/gstpipeline.c: (gst_pipeline_change_state),
23064         (gst_pipeline_get_clock_func):
23065         Clock refcounting fixes.
23066         Handle the case where preroll timed out more gracefully.
23067         
23068         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23069         Clean up the internal thread in dispose. This is needed
23070         for subclasses that actually get disposed.
23071         
23072         * gst/schedulers/threadscheduler.c:
23073         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23074         (gst_thread_scheduler_dispose):
23075         Free thread pool in dispose.
23076
23077 2005-06-28  Andy Wingo  <wingo@pobox.com>
23078
23079         * tests/network-clock-utils.scm (debug, print-event): New utils.
23080
23081         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23082         (*packet-loss*): Unified loss probability.
23083         (network-time): Report out-of-band events.
23084
23085         * tests/plot-data: Add support for out-of-band events. Hack it
23086         into this script instead of passing it down the pipe; should fix
23087         this later.
23088
23089 2005-06-28  Wim Taymans  <wim@fluendo.com>
23090
23091         * docs/gst/gstreamer.types:
23092         * docs/gst/tmpl/gstbasesrc.sgml:
23093         * docs/gst/tmpl/gstpad.sgml:
23094         Docs fixes.
23095
23096 2005-06-28  Wim Taymans  <wim@fluendo.com>
23097
23098         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23099         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23100         (gst_proxy_pad_do_fixatecaps):
23101         Correctly proxy the check_pull_range function.
23102
23103 2005-06-28  Andy Wingo  <wingo@pobox.com>
23104
23105         * tests/network-clock.scm: Removed need for slib.
23106         
23107 2005-06-28  Wim Taymans  <wim@fluendo.com>
23108
23109         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23110         (gst_basesink_preroll_queue_flush):
23111         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23112         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23113         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23114         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23115         (gst_proxy_pad_set_property):
23116         * gst/gstpad.c:
23117         * gst/gstpad.h:
23118         * gst/gstqueue.c: (gst_queue_init):
23119         The deprecated pad loop function is removed now.
23120
23121 2005-06-28  Andy Wingo  <wingo@pobox.com>
23122
23123         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23124         New parameters, simulate network packet loss.
23125
23126         * tests/network-clock-utils.scm: Initialize the RNG.
23127
23128 2005-06-28  Wim Taymans  <wim@fluendo.com>
23129
23130         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23131         (gst_basesink_event), (gst_basesink_deactivate):
23132         Flushing the preroll queue always needs to unlock the waiters.
23133
23134 2005-06-28  Edward Hervey  <edward@fluendo.com>
23135
23136         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23137         Wheen a seek was successful on a pipeline, set the stream_time to the
23138         seek offset in order to have a synchronized stream_time.
23139
23140 2005-06-28  Wim Taymans  <wim@fluendo.com>
23141
23142         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23143         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23144         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23145         (gst_proxy_pad_do_fixatecaps):
23146         Call wrapper function instead of just calling the function
23147         pointers. This takes care of any locking and whatmore.
23148
23149 2005-06-28  Wim Taymans  <wim@fluendo.com>
23150
23151         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23152         (gst_pad_pull_range):
23153         * gst/gstpad.h:
23154         CONNECTED -> LINKED.
23155
23156 2005-06-28  Andy Wingo  <wingo@pobox.com>
23157
23158         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23159         source-munging commit!!!
23160
23161         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23162         (gst_object_sink): Take gpointer arguments, not GstObject --
23163         avoids casts. Like GLib.
23164
23165         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23166         activate.
23167
23168 2005-06-27  Andy Wingo  <wingo@pobox.com>
23169
23170         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23171         remaining buffer.
23172
23173         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23174         returns a sorted copy of the trace list.
23175         (gst_alloc_trace_print_live): New API, only prints traces with
23176         live objects. Sort the list.
23177         (gst_alloc_trace_print_all): Sort the list.
23178         (gst_alloc_trace_print): Align columns.
23179
23180         * gst/elements/gstttypefindelement.c:
23181         * gst/elements/gsttee.c:
23182         * gst/base/gstbasesrc.c:
23183         * gst/base/gstbasesink.c:
23184         * gst/base/gstbasetransform.c:
23185         * gst/gstqueue.c: Adapt for pad activation changes.
23186
23187         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23188         sched.
23189         (gst_pipeline_dispose): Drop ref on sched.
23190
23191         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23192         (gst_pad_activate_default): Push mode by default.
23193         (pre_activate_switch, post_activate_switch): New stubs, things to
23194         do before and after switching activation modes on pads.
23195         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23196         the pad's activate function to choose which mode to activate.
23197         Shortcut on deactivation and call the right function directly.
23198         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23199         mode.
23200         (gst_pad_activate_push): New API, same for push mode.
23201         (gst_pad_set_activate_function) 
23202         (gst_pad_set_activatepull_function) 
23203         (gst_pad_set_activatepush_function): Setters for new API.
23204
23205         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23206         Trace all miniobjects.
23207         (gst_mini_object_make_writable): Unref the arg if we copy, like
23208         gst_caps_make_writable.
23209
23210         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23211
23212         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23213         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23214         Adapt for new pad API.
23215
23216         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23217
23218         * gst/gstelement.h:
23219         * gst/gstelement.c (gst_element_iterate_src_pads) 
23220         (gst_element_iterate_sink_pads): New API functions.
23221         
23222         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23223         should fold into gstiterator.c in some form.
23224         (gst_element_pads_activate): Simplified via use of fold and
23225         delegation of decisions to gstpad->activate.
23226
23227         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23228         help in debugging.
23229
23230         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23231         class once in init, like gstmessage. Didn't run into this issue
23232         but it seems correct. Don't initialize a trace, gstminiobject does
23233         that.
23234
23235         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23236         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23237         to the bus.
23238         (assert_live_count): New util function, uses alloc traces to check
23239         cleanup.
23240
23241         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23242         To be modified when unlink drops the internal pad.
23243
23244 2005-06-27  Wim Taymans  <wim@fluendo.com>
23245
23246         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23247         (gst_bin_change_state):
23248         Cleanup the get_state() function a little, make sure it
23249         iterates the same set of elements.
23250         Added stub iterate_state_order().
23251
23252 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23253
23254         * docs/gst/gstreamer-docs.sgml:
23255         * docs/gst/gstreamer-sections.txt:
23256         * docs/gst/gstreamer.types:
23257         * docs/gst/tmpl/gstbasesink.sgml:
23258         * docs/gst/tmpl/gstbasesrc.sgml:
23259         * docs/gst/tmpl/gstbasetransform.sgml:
23260         * docs/gst/tmpl/gstelement.sgml:
23261         * docs/gst/tmpl/gstiterator.sgml:
23262         * gst/base/gstbasesrc.c:
23263         * gst/base/gstbasesrc.h:
23264         * gst/base/gstbasetransform.h:
23265         * gst/gstelement.c:
23266         * gst/gstiterator.h:
23267           adding basetransform and iterator docs
23268
23269 2005-06-27  Andy Wingo  <wingo@pobox.com>
23270
23271         * docs/design/part-activation.txt: Notes on how activation should
23272         work -- not quite implemented yet.
23273
23274 2005-06-25  Wim Taymans  <wim@fluendo.com>
23275
23276         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23277         At least get the chain function correct, needs more
23278         fixing.
23279
23280 2005-06-25  Wim Taymans  <wim@fluendo.com>
23281
23282         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23283         (gst_basesink_handle_object), (gst_basesink_event),
23284         (gst_basesink_do_sync), (gst_basesink_handle_event),
23285         (gst_basesink_change_state):
23286         * gst/gsttask.h:
23287         Right, two problems here: ghostpads don't take locks and
23288         glib _rec_mutex_lock_full() with depth==0 still locks.
23289         Catch illegal locking and g_warn them.
23290
23291 2005-06-25  Wim Taymans  <wim@fluendo.com>
23292
23293         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23294         Have to check for completion now...
23295
23296 2005-06-25  Wim Taymans  <wim@fluendo.com>
23297
23298         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23299         (gst_basesink_handle_object), (gst_basesink_event),
23300         (gst_basesink_do_sync), (gst_basesink_handle_event),
23301         (gst_basesink_change_state):
23302         * gst/gstpad.h:
23303         Unlock STREAM_LOCK whatever the recursion was.
23304
23305 2005-06-25  Wim Taymans  <wim@fluendo.com>
23306
23307         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23308         (gst_basesink_preroll_queue_empty),
23309         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23310         (gst_basesink_event), (gst_basesink_do_sync),
23311         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23312         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23313         (gst_basesink_change_state):
23314         Reworked the base sink, handle event and buffer serialisation
23315         correctly and removed possible deadlock.
23316         Handle EOS correctly.
23317
23318 2005-06-25  Wim Taymans  <wim@fluendo.com>
23319
23320         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23321         (gst_pipeline_change_state):
23322         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23323         Allow elements to post EOS in the state change function.
23324         Fix up -launch, make it exit the poll loop when the
23325         pipeline actually changed state.
23326         Fix up warning parsing in -launch.
23327
23328 2005-06-25  Wim Taymans  <wim@fluendo.com>
23329
23330         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23331         (gst_tee_sink_activate):
23332         Core takes STREAM_LOCK for us now.
23333
23334 2005-06-25  Wim Taymans  <wim@fluendo.com>
23335
23336         * gst/gstelement.c: (gst_element_get_state_func),
23337         (gst_element_set_state):
23338         * gst/gstelement.h:
23339         * gst/gstmessage.c: (gst_message_parse_error),
23340         (gst_message_parse_warning):
23341         Keep track of current target state while performing a state
23342         change so that subclasses can do something interesting.
23343         Fix parsing of warning/error messages when GError is NULL.
23344
23345 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23346
23347         * docs/gst/Makefile.am:
23348         * docs/gst/gstreamer-docs.sgml:
23349         * docs/gst/gstreamer-sections.txt:
23350         * docs/gst/gstreamer.types:
23351         * docs/gst/tmpl/gstbasesink.sgml:
23352         * docs/gst/tmpl/gstbasesrc.sgml:
23353         * docs/gst/tmpl/gstbin.sgml:
23354         * docs/gst/tmpl/gstcompat.sgml:
23355         * docs/gst/tmpl/gstfakesink.sgml:
23356         * docs/gst/tmpl/gstfakesrc.sgml:
23357         * docs/gst/tmpl/gstfilesink.sgml:
23358         * docs/gst/tmpl/gstfilesrc.sgml:
23359         * docs/gst/tmpl/gstindex.sgml:
23360         * docs/manual/appendix-quotes.xml:
23361         * gst/base/gstbasesrc.h:
23362         * gst/elements/gstfakesrc.h:
23363         * gst/gstmessage.h:
23364           start pulling in base classes and elements in our docs
23365
23366 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23367
23368         * docs/gst/Makefile.am:
23369         * docs/libs/Makefile.am:
23370           fixed make distcheck with gtk-doc 1.3
23371
23372 2005-06-23  Wim Taymans  <wim@fluendo.com>
23373
23374         * gst/gstelement.c: (gst_element_get_state_func),
23375         (gst_element_set_state), (gst_element_change_state):
23376         When the state did not change, also report NO_PREROLL
23377         when it matters.
23378
23379 2005-06-23  Wim Taymans  <wim@fluendo.com>
23380
23381         * gst/gstpad.c: (gst_pad_event_default):
23382         * gst/gstqueue.c: (gst_queue_loop):
23383         No unsafe task pausing please.
23384
23385 2005-06-23  Wim Taymans  <wim@fluendo.com>
23386
23387         * gst/schedulers/threadscheduler.c:
23388         (gst_thread_scheduler_task_start),
23389         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23390         Ref the task before pushing it on the threadpool. This
23391         makes sure that we have a ref when the threadfunction is
23392         actually called.
23393
23394 2005-06-23  Andy Wingo  <wingo@pobox.com>
23395
23396         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23397         offset is greater than the file's size.
23398
23399         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23400         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23401         * gst/gstobject.c (gst_object_class_init): Make the class lock
23402         recursive. Wim won't let me drop deep_notify. Decodebin works
23403         again, whoopdy doo.
23404
23405         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23406         internal pad, and hacks accordingly. Doesn't do it on the target
23407         pad because we change its caps. Probably catches all cases of
23408         interest tho.
23409         (gst_ghost_pad_set_property): Connect to notify::caps as
23410         appropritate.
23411
23412         * tests/network-clock.scm (plot-simulation): Pipe data to the
23413         elite python skript.
23414
23415         * tests/network-clock-utils.scm (define-parameter): New macro,
23416         defines a parameter that can be set via the command line.
23417         (set-parameter!, parse-parameter-arguments): Command line args
23418         parser.
23419
23420         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23421         stdin.
23422
23423 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23424
23425         * gst/elements/gsttypefindelement.c:
23426         (gst_type_find_element_handle_event):
23427           Don't restart typefinding on a discont.
23428         * gst/gstelement.c: (gst_element_set_state):
23429           Debug spelling fix.
23430         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23431           Allow changing mode of an active pad.
23432           Debug output fixes.
23433         * gst/registries/gstlibxmlregistry.c: (load_feature):
23434           Don't cast a static pad template to a normal pad template.
23435
23436 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23437
23438         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23439         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23440           remove gst_strtoll completely, since it didn't actually do
23441           anything more than what g_ascii_strtoull already does.
23442           check for range errors when deserializing
23443           do a cast for the unsigned cases; but further fixing needs
23444           a decision on what the interpretation of "(int)" and
23445           deserialization should be for values that fall outside the
23446           type's boundaries (ie, refuse, or interpret as casting)
23447
23448 2005-06-23  Wim Taymans  <wim@fluendo.com>
23449
23450         * check/Makefile.am:
23451         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23452         * docs/design/part-live-source.txt:
23453         * docs/design/part-states.txt:
23454         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23455         (gst_basesrc_set_live), (gst_basesrc_is_live),
23456         (gst_basesrc_get_range), (gst_basesrc_activate),
23457         (gst_basesrc_change_state):
23458         * gst/base/gstbasesrc.h:
23459         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23460         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23461         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23462         * gst/gstelement.c: (gst_element_get_state_func),
23463         (gst_element_set_state):
23464         * gst/gstelement.h:
23465         * gst/gsttypes.h:
23466         * tools/gst-launch.c: (event_loop), (main):
23467         Added support for live sources and other elements that
23468         cannot do preroll.
23469         Updated design docs, added live-source design doc.
23470         Implemented live source functionality in basesrc
23471         Fix error condition in _bin_get_state()
23472         Implement live source handling in -launch.
23473         Added check for live sources.
23474         Fixed case in GstBin where elements were changed state
23475         multiple times.
23476
23477
23478 2005-06-23  Andy Wingo  <wingo@pobox.com>
23479
23480         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23481         borken refcounting.
23482
23483         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23484         gst_caps_replace takes care of this for us.
23485
23486         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23487         gst_pad_set_caps on the target, not just its setcaps() function.
23488
23489         * tests/network-clock.scm: 
23490         * tests/network-clock-utils.scm: A network clock simulator.
23491         Something of an algorithmic testbed before doing something in C.
23492
23493 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23494
23495         * check/Makefile.am:
23496         * check/gst/capslist.h:
23497           copy over from 0.8, and add two with bitmasks specified with
23498           (int) 0xFF...
23499         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23500           add test to parse everything from capslist.h
23501         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23502         (main):
23503           add test for structure deserialization
23504         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23505           add tests for deserialization of strings to int types
23506         * gst/gststructure.c: (gst_structure_nth_field_name):
23507         * gst/gststructure.h:
23508           add a way to get the name of a field referenced by index
23509         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23510           instead of checking if the resulting long long lies between
23511           min and max, we check if the long long would fit into
23512           a number of bytes for the final type.
23513           This fixes cases where a string represents 2^32 - 1, which
23514           when cast to int would be the (valid) -1, but is bigger than
23515           G_MAXINT
23516
23517 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23518
23519         * gst/parse/grammar.y:
23520           add a log line for type deserialization
23521
23522 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23523
23524         * check/gst/gstvalue.c: (START_TEST):
23525         * gst/gstvalue.c: (gst_value_deserialize):
23526           return long long, not int, so gint64 deserialization actually
23527           works.  Is there any flag that makes the compiler check this ?
23528           Fixes #308559
23529
23530 2005-06-22  Wim Taymans  <wim@fluendo.com>
23531
23532         * gst/gstbuffer.h:
23533         Added convenience macros for setting buffers in GValue.
23534
23535 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23536
23537         * check/gst/.cvsignore:
23538         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23539           add a test deserializing int64, and comment part out because
23540           it fails, yay !
23541
23542 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23543
23544         * check/Makefile.am:
23545         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23546         * testsuite/Makefile.am:
23547         * testsuite/caps/Makefile.am:
23548         * testsuite/caps/value_serialize.c:
23549         * testsuite/test_gst_init.c:
23550           move a value_serialize test over
23551
23552 2005-06-20  Wim Taymans  <wim@fluendo.com>
23553
23554         * gst/gstpad.c:
23555         Small doc updates.
23556         
23557         * gst/gstvalue.c: (gst_value_compare_buffer),
23558         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23559         (gst_value_compare_flags), (gst_value_serialize_flags),
23560         (gst_value_deserialize_flags), (_gst_value_initialize):
23561         Fix serialisation of buffers, they are not boxed types anymore
23562
23563 2005-06-20  Wim Taymans  <wim@fluendo.com>
23564
23565         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23566         Testcase to show error in buffer-on-caps serialisation.
23567
23568 2005-06-20  Andy Wingo  <wingo@pobox.com>
23569
23570         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23571         will be adding to later.
23572
23573         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23574         if its socks fill with rocks.
23575         (gst_system_clock_obtain): Set the name on object construction.
23576         Avoid double-checked locking.
23577
23578 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23579
23580         * gst/gsturi.c: (gst_element_make_from_uri):
23581           Fix potential endless loop.
23582
23583 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23584
23585         * check/Makefile.am:
23586           add gsttag
23587         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23588         (main):
23589           move over from testsuite dir and clean up
23590         * configure.ac:
23591         * gst/gsttag.c:
23592         * testsuite/Makefile.am:
23593         * testsuite/tags/.cvsignore:
23594         * testsuite/tags/Makefile.am:
23595         * testsuite/tags/merge.c:
23596           remove testsuite/tags
23597
23598 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23599
23600         * docs/gst/gstreamer-sections.txt:
23601         * docs/gst/tmpl/gstenumtypes.sgml:
23602         * win32/gstenumtypes.c:
23603           clean up documentation build a little
23604
23605 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23606
23607         * check/gstcheck.h:
23608           add macros for checking refcounts on objects and caps
23609         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23610           add some more unit tests
23611         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23612         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23613           fix leaked refcounts (I hope :)) so unittest works
23614         * gst/gstpad.h:
23615           whitespace removal
23616
23617 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23618
23619         * configure.ac: back to HEAD
23620
23621 === release 0.9.1 ===
23622
23623 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23624
23625         * NEWS:
23626         * RELEASE:
23627           updated
23628
23629 2005-06-17  Andy Wingo  <wingo@pobox.com>
23630
23631         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23632         assert; it's always possible that the pad gets deactivated in
23633         between the checks in gstpad.c and the implementation. Rely on
23634         finish_preroll() to return a FLUSHING or similar instead of on the
23635         assert.
23636         
23637         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23638         clock and post an EOS message if we come out of finish_preroll in
23639         the playing state.
23640
23641 2005-06-16  David Schleef  <ds@schleef.org>
23642
23643         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23644         (gst_capsfilter_set_property): Allow NULL as possible value
23645         for filter_caps property, indicating GST_CAPS_ANY.
23646
23647 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23648
23649         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23650           fix debug output
23651         * gst/schedulers/Makefile.am:
23652           use libgst prefix
23653         * gstreamer.spec.in:
23654           fix spec for it
23655
23656 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * gstreamer.spec.in:
23659           clean up
23660
23661 2005-06-08  Andy Wingo  <wingo@pobox.com>
23662
23663         * gst/gstutils.c: RPAD fixes all around.
23664         (gst_element_link_pads): Refcounting fixes.
23665
23666         * tools/gst-inspect.c:
23667         * tools/gst-xmlinspect.c:
23668         * parse/grammar.y:
23669         * gst/base/gsttypefindhelper.c:
23670         * gst/base/gstbasesink.c:
23671         * gst/gstqueue.c: RPAD fixes.
23672
23673         * gst/gstghostpad.h:
23674         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23675         pads. The tricky thing is they provide both source and sink
23676         interfaces, since they proxy the internal pad for the external
23677         pad, and vice versa. Implement with lower-level ProxyPad objects,
23678         with the interior proxy pad as a child of the exterior ghost pad.
23679         Should write a doc on this.
23680         
23681         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23682         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23683         gst_object API.
23684         
23685         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23686         pads are real pads. No ghost pads in this file. Not documenting
23687         the myriad s/RPAD/PAD/ and REALIZE fixes.
23688         (gst_pad_class_init): Add properties for "direction" and
23689         "template". Both are construct-only, so they can't change during
23690         the life of the pad. Fixes properly deriving from GstPad.
23691         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23692         derived objects, just set properties when creating the objects via
23693         g_object_new.
23694         (gst_pad_get_parent): Implement as a function, return NULL if the
23695         parent is not an element.
23696         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23697         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23698         
23699         * gst/gstobject.c (gst_object_class_init): Make name a construct
23700         property. Don't set it in the object init.
23701
23702         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23703         with UNKNOWN direction.
23704         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23705         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23706         (gst_element_remove_pad): Remove ghost-pad special cases.
23707         (gst_element_pads_activate): Remove rpad cruft.
23708
23709         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23710         catch the pad's-parent-not-an-element case.
23711
23712         * gst/gst.h: Include gstghostpad.h.
23713
23714         * gst/gst.c (init_post): No more real, ghost pads.
23715
23716         * gst/Makefile.am: Add gstghostpad.[ch].
23717
23718         * check/Makefile.am:
23719         * check/gst/gstbin.c:
23720         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23721         into a bin creates ghost pads, and that the refcounts are right.
23722         Partly moved from gstbin.c.
23723
23724 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23725
23726         * check/gst-libs/.cvsignore:
23727         * check/gst/.cvsignore:
23728         * check/pipelines/.cvsignore:
23729           ignore more
23730         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23731         (START_TEST), (cleanup_suite), (main):
23732           add some tests related to cleanup after running pipelines
23733
23734 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23735
23736         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23737           add a testsuite for GstBuffer
23738
23739 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23740
23741         * gst/gstminiobject.h:
23742           add defines for accessing the refcount
23743
23744 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23745
23746         * Makefile.am: added support for html unit test coverage reports
23747
23748 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23749
23750         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23751           Free existing caps if the capsfilter changes. Add a FIXME about
23752           setting those caps on the pads.
23753
23754         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23755           Before adding a ghost pad to a parent bin, check that there isn't
23756           already one for the element on the bin. Prevents infinite recursion
23757           when using decodebin in parse pipelines. Andy says he'll rewrite the
23758           way this works anyway, so ignore the hack.
23759
23760 2005-06-02  Andy Wingo  <wingo@pobox.com>
23761
23762         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23763         file size, pass it on to the type find helper.
23764
23765         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23766         segment_start and segment_end properly according to the seek
23767         method. Segment_end is still a bit flaky because offset can be
23768         negative for CUR and END cases, but it takes -1 as an "unset"
23769         value.
23770
23771 2005-06-02  Wim Taymans  <wim@fluendo.com>
23772
23773         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23774         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23775         (gst_basesink_activate):
23776         * gst/base/gstbasesink.h:
23777         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23778         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23779         (gst_pad_query), (gst_pad_start_task):
23780         * gst/gstpad.h:
23781         * gst/gstqueue.c: (gst_queue_bufferalloc),
23782         (gst_queue_handle_sink_event), (gst_queue_chain):
23783         Bufferalloc: return GstFlowReturn to more accuratly report
23784         why allocation failed.
23785
23786 2005-06-02  Wim Taymans  <wim@fluendo.com>
23787
23788         * gst/gstpipeline.c: (gst_pipeline_send_event):
23789         Take snapshot of state without blocking.
23790
23791 2005-06-02  Wim Taymans  <wim@fluendo.com>
23792
23793         * docs/design/part-TODO.txt:
23794         * docs/design/part-caps.txt:
23795         * docs/design/part-clocks.txt:
23796         * docs/design/part-negotiation.txt:
23797         * docs/design/part-preroll.txt:
23798         Small doc updates 
23799
23800 2005-05-30  Wim Taymans  <wim@fluendo.com>
23801
23802         * gst/elements/gstidentity.c: (gst_identity_event),
23803         (gst_identity_transform), (gst_identity_get_property):
23804         Protect last_message property as it is accessed from
23805         multiple threads.
23806
23807 2005-05-30  Wim Taymans  <wim@fluendo.com>
23808
23809         * gst/gstelement.c: (gst_element_init),
23810         (gst_element_pads_activate), (gst_element_change_state):
23811         Slicker pad activation code.
23812
23813 2005-05-30  Wim Taymans  <wim@fluendo.com>
23814
23815         * gst/Makefile.am:
23816         * gst/gstelement.h:
23817         * gst/gstelementfactory.h:
23818         * gst/gsttypes.h:
23819         Move elementfactory methods to separate .h file.
23820
23821 2005-05-30  Wim Taymans  <wim@fluendo.com>
23822
23823         * docs/design/part-overview.txt:
23824         * gst/gstsystemclock.h:
23825         Small typo fixes, doc updates.
23826
23827 2005-05-30  Wim Taymans  <wim@fluendo.com>
23828
23829         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23830         (init_popt_callback):
23831         Remove cpu-opt flag.
23832
23833 2005-05-30  Wim Taymans  <wim@fluendo.com>
23834
23835         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23836         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23837         * gst/gstbuffer.h:
23838         Avoid typechecking in places where not needed.
23839         Added accessor for malloc_data.
23840
23841 2005-05-30  Wim Taymans  <wim@fluendo.com>
23842
23843         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23844         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23845         (gst_pad_configure_sink), (gst_pad_configure_src),
23846         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23847         (gst_pad_start_task):
23848         Propagate errors from _set_caps() in configure_src/sink
23849         functions instead of returning TRUE.
23850         FLUSH events can travel up and downstream
23851
23852
23853 2005-05-30  Wim Taymans  <wim@fluendo.com>
23854
23855         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23856         (gst_basesink_activate):
23857         Handle EOS in preroll.
23858
23859 2005-05-30  Wim Taymans  <wim@fluendo.com>
23860
23861         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23862         (gst_queue_loop), (gst_queue_handle_src_event):
23863         Remove old pieces of code
23864         Flushing the queue in an upstream event is a very bad idea.
23865
23866 2005-05-26  Andy Wingo  <wingo@pobox.com>
23867
23868         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23869         gst_value_set_mini_object so as to add a ref on the object (which
23870         will be removed when the value is unset).
23871
23872         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23873         arg type in ::handoff.
23874
23875         * gst/gstelement.c (gst_element_change_state): Also deactivate
23876         pads in READY->NULL, just in case the element didn't make it to
23877         PAUSED. Wingo tested, Wim approved.
23878
23879 2005-05-26  Wim Taymans  <wim@fluendo.com>
23880
23881         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23882         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23883         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23884         A flushing pad cannot be used to alloc_buffer from.
23885
23886 2005-05-26  Wim Taymans  <wim@fluendo.com>
23887
23888         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23889         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23890         (gst_bus_source_dispatch), (gst_bus_source_finalize),
23891         (gst_bus_create_watch), (gst_bus_add_watch_full):
23892         * gst/gstbus.h:
23893         Implement a real GSource and use g_main_context_wakeup() to
23894         signal new messages instead of the socketpair.
23895
23896 2005-05-25  Wim Taymans  <wim@fluendo.com>
23897
23898         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23899         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23900         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23901         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23902         (gst_pad_send_event), (gst_pad_start_task):
23903         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23904         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23905         (gst_queue_sink_activate), (gst_queue_src_activate),
23906         (gst_queue_change_state):
23907         * gst/gstqueue.h:
23908         Fix state changes for non sinks. We now change sinks, then elements
23909         with unconnected srcpads, then the rest.
23910         More efficient queue unlocking in flush and state changes.
23911         Set the pad activate mode even if it does not have an activate
23912         function.
23913
23914 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23915
23916         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23917           Don't go in pull mode for non-seekable sources.
23918         * gst/elements/gsttypefindelement.h:
23919         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23920         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23921         (free_entry), (stop_typefinding),
23922         (gst_type_find_element_handle_event), (find_peek),
23923         (gst_type_find_element_chain), (do_pull_typefind),
23924         (gst_type_find_element_change_state):
23925           Allow typefinding (w/o seeking) in push-mode, simplified version
23926           of what was in 0.8.
23927         * gst/gstutils.c: (gst_buffer_join):
23928         * gst/gstutils.h:
23929           gst_buffer_join() from 0.8.
23930
23931 2005-05-25  Wim Taymans  <wim@fluendo.com>
23932
23933         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23934         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23935         (gst_pad_send_event), (gst_pad_start_task):
23936         Disable attempt at mode switching until it is figured out.
23937
23938 2005-05-25  Wim Taymans  <wim@fluendo.com>
23939
23940         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23941         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23942         (gst_basesink_finish_preroll), (gst_basesink_chain),
23943         (gst_basesink_loop), (gst_basesink_activate),
23944         (gst_basesink_change_state):
23945         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23946         (gst_basesrc_get_range), (gst_basesrc_loop),
23947         (gst_basesrc_activate):
23948         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23949         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23950         (gst_real_pad_init), (gst_real_pad_set_property),
23951         (gst_real_pad_get_property), (gst_pad_set_active),
23952         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23953         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23954         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23955         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23956         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23957         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23958         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23959         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23960         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23961         (gst_pad_stop_task):
23962         * gst/gstpad.h:
23963         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23964         (gst_queue_loop), (gst_queue_src_activate):
23965         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23966         (gst_task_get_state):
23967         * gst/gsttask.h:
23968         * gst/schedulers/threadscheduler.c:
23969         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23970         Implement gst_pad_pause/start/stop_task(), take STREAM lock
23971         in task function.
23972         Remove ACTIVE pad flag, use FLUSHING everywhere
23973         Added _pad_chain(), _pad_get_range() to call chain/getrange 
23974         functions.
23975         Add locks around IS_FLUSHING when reading.
23976         Take STREAM lock in chain(), get_range() functions so plugins
23977         don't need to take it anymore.
23978         
23979
23980
23981 2005-05-25  Wim Taymans  <wim@fluendo.com>
23982
23983         * tools/gst-launch.c: (event_loop):
23984         Unref message after using its contents instead of
23985         before.
23986
23987 2005-05-24  Wim Taymans  <wim@fluendo.com>
23988
23989         * docs/design/draft-ghostpads.txt:
23990         * docs/design/draft-push-pull.txt:
23991         * docs/design/draft-query.txt:
23992         * docs/design/part-overview.txt:
23993         Docs updates, added general overview doc.
23994
23995 2005-05-21  David Schleef  <ds@schleef.org>
23996
23997         * docs/gst/tmpl/old/GstBin.sgml:
23998         * docs/gst/tmpl/old/GstBuffer.sgml:
23999         * docs/gst/tmpl/old/GstCaps.sgml:
24000         * docs/gst/tmpl/old/GstClock.sgml:
24001         * docs/gst/tmpl/old/GstCompat.sgml:
24002         * docs/gst/tmpl/old/GstData.sgml:
24003         * docs/gst/tmpl/old/GstElement.sgml:
24004         * docs/gst/tmpl/old/GstEvent.sgml:
24005         * docs/gst/tmpl/old/GstIndex.sgml:
24006         * docs/gst/tmpl/old/GstStructure.sgml:
24007         * docs/gst/tmpl/old/GstTag.sgml:
24008         * docs/gst/tmpl/old/cothreads.sgml:
24009         * docs/gst/tmpl/old/cothreads_compat.sgml:
24010         * docs/gst/tmpl/old/gettext.sgml:
24011         * docs/gst/tmpl/old/gobject2gtk.sgml:
24012         * docs/gst/tmpl/old/grammar.tab.sgml:
24013         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24014         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24015         * docs/gst/tmpl/old/gst_private.sgml:
24016         * docs/gst/tmpl/old/gstaggregator.sgml:
24017         * docs/gst/tmpl/old/gstarch.sgml:
24018         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24019         * docs/gst/tmpl/old/gstbufferstore.sgml:
24020         * docs/gst/tmpl/old/gstdata_private.sgml:
24021         * docs/gst/tmpl/old/gstdisksink.sgml:
24022         * docs/gst/tmpl/old/gstdisksrc.sgml:
24023         * docs/gst/tmpl/old/gstelementfactory.sgml:
24024         * docs/gst/tmpl/old/gstextratypes.sgml:
24025         * docs/gst/tmpl/old/gstfakesink.sgml:
24026         * docs/gst/tmpl/old/gstfakesrc.sgml:
24027         * docs/gst/tmpl/old/gstfdsink.sgml:
24028         * docs/gst/tmpl/old/gstfdsrc.sgml:
24029         * docs/gst/tmpl/old/gstfilesink.sgml:
24030         * docs/gst/tmpl/old/gstfilesrc.sgml:
24031         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24032         * docs/gst/tmpl/old/gstidentity.sgml:
24033         * docs/gst/tmpl/old/gstindexfactory.sgml:
24034         * docs/gst/tmpl/old/gstmarshal.sgml:
24035         * docs/gst/tmpl/old/gstmd5sink.sgml:
24036         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24037         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24038         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24039         * docs/gst/tmpl/old/gstpipefilter.sgml:
24040         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24041         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24042         * docs/gst/tmpl/old/gstshaper.sgml:
24043         * docs/gst/tmpl/old/gstspider.sgml:
24044         * docs/gst/tmpl/old/gstspideridentity.sgml:
24045         * docs/gst/tmpl/old/gststatistics.sgml:
24046         * docs/gst/tmpl/old/gsttee.sgml:
24047         * docs/gst/tmpl/old/gsttimecache.sgml:
24048         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24049         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24050         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24051         * docs/gst/tmpl/old/types.sgml:
24052           I didn't intend to add these or check them in.
24053
24054 2005-05-19  David Schleef  <ds@schleef.org>
24055
24056         * configure.ac: Use -no-common everywhere.  In a sane world, it
24057           would be the default in libtool, because without it, you can't
24058           build DLLs on Windows.
24059         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24060         * docs/gst/gstreamer-sections.txt:
24061         * docs/gst/tmpl/gstcpu.sgml:
24062         * docs/gst/tmpl/gstdata.sgml:
24063         * docs/gst/tmpl/gstthread.sgml:
24064
24065 2005-05-19  David Schleef  <ds@schleef.org>
24066
24067         * gst/gstminiobject.c: (gst_value_set_mini_object),
24068         (gst_value_take_mini_object), (gst_value_get_mini_object):
24069         * gst/gstminiobject.h: Add GValue set/get functions.
24070
24071 2005-05-19  Wim Taymans  <wim@fluendo.com>
24072
24073         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24074         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24075         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24076         * gst/gstbuffer.h:
24077         * gst/gstbus.c: (gst_bus_post):
24078         * gst/gstelement.c: (gst_element_get_random_pad):
24079         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24080         Make subbufer unref the parent in finalize.
24081         some more debugging info.
24082
24083
24084 2005-05-19  Wim Taymans  <wim@fluendo.com>
24085
24086         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24087         (gst_basesink_init), (gst_basesink_finalize),
24088         (gst_basesink_activate), (gst_basesink_change_state):
24089         Don't free preroll queue too early.
24090
24091 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24092
24093         * gst/Makefile.am:
24094         * gst/ROADMAP:
24095           Hi, I'm outdated. Please shoot me.
24096
24097 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24098
24099         * gst/gstpipeline.c: (gst_pipeline_send_event):
24100           Do not access variables after they have been deleted.
24101
24102 2005-05-19  Wim Taymans  <wim@fluendo.com>
24103
24104         * tools/gst-inspect.c: (print_plugin_features):
24105         A plugin feature does unfortunatly not use the
24106         object name yet...
24107
24108 2005-05-18  Wim Taymans  <wim@fluendo.com>
24109
24110         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24111         Port _span() functions to new subbuffers.
24112
24113 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24114
24115         * gst/gstbin.c: (gst_bin_add_func):
24116           Fix clock settery in bins when adding kids after the clock has
24117           been selected.
24118
24119 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24120
24121         * gst/elements/gstidentity.c: (gst_identity_class_init):
24122           Workaround until signals support GstMiniObject.
24123
24124 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24125
24126         * gst/gstbuffer.c:
24127         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24128
24129 2005-05-18  Wim Taymans  <wim@fluendo.com>
24130
24131         * gst/base/Makefile.am:
24132         * gst/base/gstadapter.c: (gst_adapter_base_init),
24133         (gst_adapter_class_init), (gst_adapter_init),
24134         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24135         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24136         (gst_adapter_flush), (gst_adapter_available),
24137         (gst_adapter_available_fast):
24138         * gst/base/gstadapter.h:
24139         Ported and added adapter to the base classes.
24140
24141 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24142
24143         * gst/gst.c:
24144         * gst/gstmessage.c:
24145           Make sure the class is reffed/unreffed once before threads can be
24146           used.  Fixes #304551.
24147
24148 2005-05-17  Wim Taymans  <wim@fluendo.com>
24149
24150         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24151         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24152         * gst/gstminiobject.c: (gst_mini_object_get_type),
24153         (gst_mini_object_free):
24154         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24155         (gst_pad_push), (gst_pad_push_event):
24156         * gst/gstqueue.c: (gst_queue_change_state):
24157         Don't queue buffers in basesink when we are flushing.
24158         Unref buffer when flushing in basesink.
24159         Flush queue when going to READY
24160         Unref buffer when _push() returns an error.
24161         Don't free MiniObject instance when refcount is incremented
24162         in _finalize() so that we can recover objects.
24163
24164 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24165
24166         * docs/manual/advanced-schedulers.xml:
24167         * docs/manual/appendix-checklist.xml:
24168         * docs/pwg/advanced-clock.xml:
24169         * docs/pwg/advanced-interfaces.xml:
24170         * docs/pwg/advanced-request.xml:
24171         * docs/pwg/advanced-types.xml:
24172         * docs/pwg/intro-preface.xml:
24173         * examples/plugins/example.c: (gst_example_get_type),
24174         (gst_example_class_init), (gst_example_chain),
24175         (gst_example_set_property), (gst_example_get_property),
24176         (gst_example_change_state), (plugin_init):
24177         * examples/plugins/example.h:
24178           small doc fixes
24179
24180 2005-05-17  Wim Taymans  <wim@fluendo.com>
24181
24182         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24183         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24184         * gst/gstqueue.c: (gst_queue_change_state):
24185         Clear queue when going to READY.
24186         Remove IN_SETCAPS flag too.
24187
24188 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24189
24190         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24191           Remove implicit cast from gboolean to GstElementStateReturn;
24192           make sure we still return failure in paused => ready case if
24193           the parent class fails to change state and our own stop 
24194           vfunc succeeds.
24195
24196 2005-05-17  Wim Taymans  <wim@fluendo.com>
24197
24198         * tools/gst-launch.c: (event_loop):
24199         Message was unreffed too soon.
24200
24201 2005-05-16  Andy Wingo  <wingo@pobox.com>
24202
24203         * gst/gstbin.c (sink_iterator_filter): Err... um...
24204
24205         * check/gst/gstbin.c (test_ghost_pads): New test for the
24206         ghosting-if-elements-not-in-same-bin behavior.
24207
24208 2005-05-16  David Schleef  <ds@schleef.org>
24209
24210         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24211         accessing refcount directly.
24212
24213 2005-05-15  David Schleef  <ds@schleef.org>
24214
24215         * check/Makefile.am: remove GstData checks
24216         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24217         * gst/Makefile.am: add miniobject, remove data
24218         * gst/gst.h: add miniobject, remove data
24219         * gst/gstdata.c: remove
24220         * gst/gstdata.h: remove
24221         * gst/gstdata_private.h: remove
24222         * gst/gsttypes.h: remove GstEvent and GstMessage
24223         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24224         * gst/gstmarshal.list: change BOXED -> OBJECT
24225
24226         Implement GstMiniObject.
24227         * gst/gstminiobject.c:
24228         * gst/gstminiobject.h:
24229
24230         Modify to be subclasses of GstMiniObject.
24231         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24232         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24233         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24234         (gst_subbuffer_get_type), (gst_subbuffer_init),
24235         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24236         (gst_buffer_span):
24237         * gst/gstbuffer.h:
24238         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24239         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24240         (_gst_event_copy), (gst_event_new):
24241         * gst/gstevent.h:
24242         * gst/gstmessage.c: (_gst_message_initialize),
24243         (gst_message_get_type), (gst_message_class_init),
24244         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24245         (gst_message_new), (gst_message_new_error),
24246         (gst_message_new_warning), (gst_message_new_tag),
24247         (gst_message_new_state_changed), (gst_message_new_application):
24248         * gst/gstmessage.h:
24249         * gst/gstprobe.c: (gst_probe_perform),
24250         (gst_probe_dispatcher_dispatch):
24251         * gst/gstprobe.h:
24252         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24253         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24254         (_gst_query_copy), (gst_query_new):
24255
24256         Update elements for GstData -> GstMiniObject changes
24257         * gst/gstquery.h:
24258         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24259         (gst_queue_chain), (gst_queue_loop):
24260         * gst/elements/gstbufferstore.c:
24261         (gst_buffer_store_add_buffer_func),
24262         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24263         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24264         (gst_fakesink_render):
24265         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24266         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24267         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24268         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24269         (gst_filesrc_create_read):
24270         * gst/elements/gstidentity.c: (gst_identity_class_init):
24271         * gst/elements/gsttypefindelement.c:
24272         (gst_type_find_element_src_event), (free_entry_buffers),
24273         (gst_type_find_element_handle_event):
24274         * libs/gst/dataprotocol/dataprotocol.c:
24275         (gst_dp_header_from_buffer):
24276         * libs/gst/dataprotocol/dataprotocol.h:
24277         * libs/gst/dataprotocol/dp-private.h:
24278
24279 2005-05-15  David Schleef  <ds@schleef.org>
24280
24281         * gst/elements/gstelements.c: Don't include headers that were
24282         just removed.
24283
24284 2005-05-15  David Schleef  <ds@schleef.org>
24285
24286         * gst/elements/Makefile.am: Remove some elements that don't
24287         need to be in the core (or even exist at all).
24288         * gst/elements/gstaggregator.c:
24289         * gst/elements/gstaggregator.h:
24290         * gst/elements/gstmd5sink.c:
24291         * gst/elements/gstmd5sink.h:
24292         * gst/elements/gstmultifilesrc.c:
24293         * gst/elements/gstmultifilesrc.h:
24294         * gst/elements/gstpipefilter.c:
24295         * gst/elements/gstpipefilter.h:
24296         * gst/elements/gstshaper.c:
24297         * gst/elements/gstshaper.h:
24298         * gst/elements/gststatistics.c:
24299         * gst/elements/gststatistics.h:
24300         * po/POTFILES.in: Remove above files.
24301
24302 2005-05-14  Andy Wingo  <wingo@pobox.com>
24303
24304         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24305         so as to get the refs right.
24306         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24307         unreffing objects that don't pass the filter.
24308
24309         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24310         gst_element_set_bus.
24311         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24312         normal cases, this will destroy the bus.
24313
24314         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24315         object.
24316
24317         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24318         has no sinks.
24319
24320 2005-05-13  Andy Wingo  <wingo@pobox.com>
24321
24322         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24323         gst_pad_link, call pad_link_maybe_ghosting,
24324         (pad_link_maybe_ghosting): Links pads, making sure that the
24325         elements being linked are in the same bin.
24326         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24327         Helpers for pad_link_maybe_ghosting.
24328
24329 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24330
24331         * configure.ac:
24332           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24333
24334 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24335
24336         * docs/design/part-element-source.txt:
24337           Mention GstPushSrc
24338
24339 2005-05-12  Wim Taymans  <wim@fluendo.com>
24340
24341         * gst/base/gstbasesink.c: (gst_basesink_init),
24342         (gst_basesink_activate):
24343         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24344         (gst_basesrc_is_seekable):
24345         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24346         (bin_element_is_sink), (gst_bin_change_state):
24347         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24348         * gst/gstelement.h:
24349         Identify sinks by their flag to avoid overly complicated
24350         checks (fow now).
24351         Do state changes even for elements not reachable from the
24352         sinks.
24353         BaseSink is a sink now :)
24354         Some more debugging info in the basesrc.
24355
24356
24357 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24358
24359         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24360           Implement _query on a bin, similar to _send_event.
24361
24362 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24363
24364         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24365           Discont event offset format should be GST_FORMAT_BYTES,
24366           not GST_FORMAT_TIME.
24367
24368 2005-05-12  Wim Taymans  <wim@fluendo.com>
24369
24370         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24371         Same fix as Ronald's but without the signal. 
24372
24373 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24374
24375         * gst/gstutils.c: (gst_element_query_position):
24376           No, an element is not a pad.
24377
24378 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24379
24380         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24381         (gst_bin_get_state):
24382           If a child is removed from a bin while we remove the child from
24383           the bin and while we're retrieving its state, signal this to the
24384           get_state function so we abort the wait (instead of waiting for
24385           a timeout) and can immediately re-iterate over all other elements.
24386
24387 2005-05-12  Wim Taymans  <wim@fluendo.com>
24388
24389         * gst/base/Makefile.am:
24390         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24391         (gst_basesrc_start):
24392         * gst/base/gstbasesrc.h:
24393         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24394         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24395         (gst_pushsrc_init), (gst_pushsrc_create):
24396         * gst/base/gstpushsrc.h:
24397         Added is_seekable to BaseSrc
24398         Added simple PushSrc.
24399
24400 2005-05-11  Wim Taymans  <wim@fluendo.com>
24401
24402         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24403         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24404         (gst_element_link_pads), (gst_element_query_position),
24405         (gst_element_query_convert), (intersect_caps_func),
24406         (gst_pad_query_position), (gst_pad_query_convert):
24407         Fix refcounting in utils function.
24408         No point in trying to activate a pad when it's added, it could
24409         be added from the state change function and then we deadlock, the
24410         element has to decide what to do.
24411
24412 2005-05-10  Andy Wingo  <wingo@pobox.com>
24413
24414         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24415         *all* the arguments.
24416
24417         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24418         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24419         lock (according to the docs -- if this is wrong change the docs).
24420
24421         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24422         flush messages in the NULL state.
24423
24424         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24425         message immediately and return.
24426         (gst_bus_set_flushing): New function. If a bus is flushing, it
24427         flushes out any queued messages and immediately unrefs new
24428         messages. This is so when an element goes to NULL, all of the
24429         unhandled messages coming from it can be freed, and their
24430         references to the element dropped. In other words: message source
24431         ref considered harmful :P
24432
24433         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24434         we're finished with it.
24435
24436         * gst/gstmessage.c (gst_message_new_state_changed): 
24437
24438 2005-05-10  Wim Taymans  <wim@fluendo.com>
24439
24440         * gst/gstvalue.c: (gst_value_compare_flags),
24441         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24442         (_gst_value_initialize):
24443         Added flags serialize/deserialize/compare code.
24444
24445 2005-05-09  Andy Wingo  <wingo@pobox.com>
24446
24447         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24448         Intersect the peer's caps with our caps.
24449
24450 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24451
24452         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24453         * gst/elements/gsttypefindelement.c: (find_peek):
24454           Handle negative offsets better. Fixes decodebin.
24455
24456 2005-05-09  Wim Taymans  <wim@fluendo.com>
24457
24458         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24459         (gst_base_transform_event):
24460         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24461         Implement accept_caps.
24462         Fix silly lock/unlock mismatch in base class.
24463
24464 2005-05-09  Wim Taymans  <wim@fluendo.com>
24465
24466         * docs/design/draft-push-pull.txt:
24467         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24468         * gst/elements/gstfilesink.c: (gst_filesink_init),
24469         (gst_filesink_query):
24470         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24471         (gst_type_find_handle_src_query), (find_element_get_length):
24472         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24473         * gst/gstelement.h:
24474         * gst/gstmessage.c:
24475         * gst/gstmessage.h:
24476         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24477         (gst_real_pad_get_caps_unlocked),
24478         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24479         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24480         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24481         (gst_real_pad_dispose), (gst_real_pad_finalize),
24482         (gst_pad_load_and_link), (gst_pad_save_thyself),
24483         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24484         (gst_pad_check_pull_range), (gst_pad_pull_range),
24485         (gst_pad_template_get_type), (gst_pad_template_class_init),
24486         (gst_pad_template_init), (gst_pad_template_dispose),
24487         (name_is_valid), (gst_static_pad_template_get),
24488         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24489         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24490         (gst_pad_get_element_private), (gst_pad_start_task),
24491         (gst_pad_pause_task), (gst_pad_stop_task),
24492         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24493         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24494         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24495         (gst_ghost_pad_new):
24496         * gst/gstpad.h:
24497         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24498         (gst_query_new_position), (gst_query_set_position),
24499         (gst_query_parse_position), (gst_query_new_convert),
24500         (gst_query_set_convert), (gst_query_parse_convert):
24501         * gst/gstquery.h:
24502         * gst/gstqueryutils.c:
24503         * gst/gstqueryutils.h:
24504         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24505         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24506         (gst_queue_handle_src_query):
24507         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24508         (gst_element_query_position), (gst_element_query_convert),
24509         (intersect_caps_func), (gst_pad_query_position),
24510         (gst_pad_query_convert):
24511         * gst/gstutils.h:
24512         * tools/gst-inspect.c: (print_pad_info):
24513         * tools/gst-xmlinspect.c: (print_element_info):
24514         Remove old query functions. Ported old code.
24515         Added position/convert helper functions to gstutils.
24516         Reordered gstpad.c code, grouping relevant things.
24517         Remove gst_message_new(), always need to speficy a specific
24518         message.
24519
24520
24521 2005-05-09  Andy Wingo  <wingo@pobox.com>
24522
24523         * gst/gstiterator.h: Add some includes.
24524
24525         * gst/gstqueryutils.h: Include more headers.
24526
24527         * gst/gstpad.h:
24528         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24529         some uses of gst_pad_query.
24530
24531         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24532         NULL out parameters.
24533         (gst_query_new_position): New proc, allocates a new position
24534         query.
24535
24536         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24537         gstqueryutils.c to the build.
24538
24539         * gst/gststructure.c (gst_structure_set_valist): Implement with
24540         the generic G_VALUE_COLLECT.
24541         
24542 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24543
24544         * gst/Makefile.am: (gst_headers):
24545         Added gstqueryutils.h to the list of headers to install, that was
24546         a 'nachty' move wingo :)
24547
24548 2005-05-06  Andy Wingo  <wingo@pobox.com>
24549
24550         * gst/gstquery.h
24551         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24552         GstData, init a memchunk.
24553         (standard_definitions): Add a few query types, deprecate a few.
24554         (gst_query_get_type): New proc.
24555         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24556         implementation.
24557         (gst_query_new_application, gst_query_get_structure): New public
24558         procs.
24559
24560         * docs/design/draft-query.txt: Removed LINKS from the query types,
24561         because all the rest can be dispatched to other pads -- seemed
24562         ugly to have a query that couldn't be dispatched. internal_links
24563         is fine as a pad method.
24564
24565         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24566         in gstpad.c, but maintain binary compatibility for the moment.
24567         Will fix before 0.9 is out.
24568
24569         * gst/gstqueryutils.c: 
24570         * gst/gstqueryutils.h: New files, implement 3 methods for each
24571         query type: parse_query, parse_response, and set. Probably need an
24572         allocator as well.
24573
24574         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24575
24576         * gst/elements/gstfilesink.c (gst_filesink_query2):
24577         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24578         query_types, and formats methods.
24579
24580         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24581         (gst_pad_set_query2_function): New functions.
24582         (gst_real_pad_init): Set query2_default as the default query2
24583         function. Basically just dispatches to internally linked pads.
24584
24585         Needs review!
24586         
24587         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24588         without using the atomic operations. Only one thread can possibly
24589         be accessing the data at this point. Changed so as to avoid
24590         gst_atomic operations.
24591
24592 2005-05-06  Wim Taymans  <wim@fluendo.com>
24593
24594         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24595         Also set caps if we use the fallback buffer alloc.
24596
24597 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24598
24599         * docs/gst/Makefile.am:
24600         * docs/gst/gstreamer-docs.sgml:
24601         * docs/gst/gstreamer-sections.txt:
24602         * docs/gst/tmpl/gstatomic.sgml:
24603         * docs/gst/tmpl/gstmemchunk.sgml:
24604         * testsuite/elements/struct_i386.h:
24605         * win32/GStreamer.vcproj:
24606         * win32/Makefile:
24607           Purge GstAtomic stuff from docs and win32 makefiles as well
24608
24609 2005-05-06  Wim Taymans  <wim@fluendo.com>
24610
24611         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24612         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24613         * gst/gstpad.c: (gst_pad_peer_get_caps):
24614         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24615         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24616         (gst_queue_src_activate), (gst_queue_change_state):
24617         * gst/gstqueue.h:
24618         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24619         (intersect_caps_func):
24620         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24621         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24622         Some fixes for the peer_get_caps() change.
24623
24624 2005-05-06  Wim Taymans  <wim@fluendo.com>
24625
24626         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24627         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24628         (gst_basesink_activate):
24629         Actually do something with error codes returned from the push
24630         functions.
24631
24632 2005-05-06  Wim Taymans  <wim@fluendo.com>
24633
24634         * docs/design/part-element-sink.txt:
24635         * docs/design/part-element-source.txt:
24636         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24637         (gst_basesink_event), (gst_basesink_activate):
24638         * gst/base/gstbasesink.h:
24639         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24640         (gst_basesrc_activate):
24641         * gst/base/gstbasesrc.h:
24642         * gst/gstelement.c: (gst_element_pads_activate):
24643         Some more documentation.
24644         Fixed scheduling decision in _pads_activate().
24645
24646 2005-05-05  Andy Wingo  <wingo@pobox.com>
24647
24648         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24649         the test suite.
24650
24651 2005-05-05  Wim Taymans  <wim@fluendo.com>
24652
24653         * gst/base/Makefile.am:
24654         * gst/base/gstbasesink.h:
24655         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24656         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24657         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24658         (gst_collectpads_class_init), (gst_collectpads_init),
24659         (gst_collectpads_finalize), (gst_collectpads_new),
24660         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24661         (find_pad), (gst_collectpads_remove_pad),
24662         (gst_collectpads_is_active), (gst_collectpads_collect),
24663         (gst_collectpads_collect_range), (gst_collectpads_start),
24664         (gst_collectpads_stop), (gst_collectpads_peek),
24665         (gst_collectpads_pop), (gst_collectpads_available),
24666         (gst_collectpads_read), (gst_collectpads_flush),
24667         (gst_collectpads_chain):
24668         * gst/base/gstcollectpads.h:
24669         * gst/elements/Makefile.am:
24670         * gst/elements/gstelements.c:
24671         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24672         (gst_fakesink_get_times), (gst_fakesink_event),
24673         (gst_fakesink_preroll), (gst_fakesink_render):
24674         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24675         (gst_filesink_init), (gst_filesink_set_location),
24676         (gst_filesink_open_file), (gst_filesink_close_file),
24677         (gst_filesink_pad_query), (gst_filesink_event),
24678         (gst_filesink_render), (gst_filesink_change_state):
24679         * gst/elements/gstfilesink.h:
24680         Added object to help in making collect pad based elements.
24681         Ported filesink.
24682         Make event function in sink baseclass return gboolean.
24683
24684 2005-05-05  Wim Taymans  <wim@fluendo.com>
24685
24686         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24687         (gst_bin_get_by_name):
24688         * gst/gstbuffer.h:
24689         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24690         (gst_clock_finalize):
24691         * gst/gstdata.c: (gst_data_replace):
24692         * gst/gstdata.h:
24693         * gst/gstelement.c: (gst_element_request_pad),
24694         (gst_element_pads_activate):
24695         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24696         (gst_object_unref):
24697         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24698         (gst_pad_set_checkgetrange_function),
24699         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24700         (gst_pad_check_pull_range), (gst_pad_pull_range),
24701         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24702         (gst_pad_pause_task), (gst_pad_stop_task):
24703         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24704         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24705         Fix name lookup in GstBin.
24706         Added _data_replace() function and _buffer_replace()
24707         Use finalize method to clean up clock.
24708         Fix refcounting on request pads.
24709         Fix pad schedule mode error.
24710         Some more object refcounting debug info,
24711
24712
24713 2005-05-04  Andy Wingo <wingo@pobox.com>
24714
24715         * check/Makefile.am:
24716         * docs/gst/tmpl/gstatomic.sgml:
24717         * docs/gst/tmpl/gstplugin.sgml:
24718         * gst/base/gstbasesink.c: (gst_basesink_activate):
24719         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24720         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24721         (gst_basesrc_query), (gst_basesrc_set_property),
24722         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24723         (gst_basesrc_activate):
24724         * gst/base/gstbasesrc.h:
24725         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24726         (gst_base_transform_src_activate):
24727         * gst/elements/gstelements.c:
24728         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24729         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24730         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24731         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24732         (gst_type_find_element_checkgetrange),
24733         (gst_type_find_element_activate):
24734         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24735         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24736         (gst_caps_load_thyself):
24737         * gst/gstelement.c: (gst_element_pads_activate),
24738         (gst_element_save_thyself), (gst_element_restore_thyself):
24739         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24740         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24741         * gst/gstpad.h:
24742         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24743         (gst_xml_parse_file), (gst_xml_parse_memory),
24744         (gst_xml_get_element), (gst_xml_make_element):
24745         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24746         (_file_index_id_save_xml), (gst_file_index_commit):
24747         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24748         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24749         (load_paths):
24750         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24751         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24752         * tools/gst-complete.c: (main):
24753         * tools/gst-compprep.c: (main):
24754         * tools/gst-inspect.c: (print_element_properties_info):
24755         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24756         * tools/gst-xmlinspect.c: (print_element_properties):
24757         GCC 4 fixen.
24758         
24759 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24760
24761         * gst/gstplugin.c: (gst_plugin_check_module),
24762         (gst_plugin_check_file), (gst_plugin_load_file):
24763             apply patch from #172526 to make register work on MacOSX
24764
24765 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24766
24767         * docs/gst/tmpl/gstconfig.sgml:
24768         * gst/gstconfig.h.in:
24769           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24770         * testsuite/debug/printf_extension.c: (main):
24771           Do not use GST_PTR_FORMAT on pointers to types with
24772           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24773         * testsuite/elements/property.h:
24774           use correct printf format
24775
24776 2005-05-02  Wim Taymans  <wim@fluendo.com>
24777
24778         * docs/design/draft-push-pull.txt:
24779         * docs/design/draft-query.txt:
24780         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24781         (gst_basesrc_start):
24782         Added draft for new query API.
24783         Added draft for better selecting scheduling methods.
24784         Make basesrc ignore length if the subclass does not support
24785         it.
24786
24787 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24788
24789         * gst/Makefile.am:
24790           possible fixes for automake-1.5 - _LIBADD is reserved
24791
24792 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24793
24794         * docs/faq/Makefile.am:
24795         * docs/manual/Makefile.am:
24796         * docs/manuals.mak:
24797         * docs/pwg/Makefile.am:
24798         * gst/Makefile.am:
24799           possible fixes for automake-1.5
24800
24801 2005-04-28  Wim Taymans  <wim@fluendo.com>
24802
24803         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24804         (gst_basesink_pad_getcaps), (gst_basesink_init),
24805         (gst_basesink_do_sync):
24806         * gst/gstclock.c: (gst_clock_entry_new):
24807         * gst/gstevent.c: (gst_event_discont_get_value):
24808         * gst/gstpipeline.c: (pipeline_bus_handler),
24809         (gst_pipeline_change_state):
24810         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24811         Better debugging of clocking info.
24812         Allow NULL values when getting discont values.
24813
24814 2005-04-27  Wim Taymans  <wim@fluendo.com>
24815
24816         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24817         * check/gst/gstpad.c: (gst_pad_suite):
24818         Increase timeout for checks.
24819
24820 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24821
24822         * check/Makefile.am:
24823           fix the broken rule for cleanup.  Apparently this rule is
24824           only needed on FC2, so maybe this warrants further autotool
24825           inspection.
24826
24827 2005-04-26  Wim Taymans  <wim@fluendo.com>
24828
24829         * gst/gsttrashstack.h:
24830         Ooohh. a nasty one! After having a failed pop() from the stack,
24831         it's possible that the stack is empty. In that case, don't
24832         follow the NULL pointer.
24833
24834 2005-04-25  Wim Taymans  <wim@fluendo.com>
24835
24836         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24837         (gst_pad_set_checkgetrange_function),
24838         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24839         (gst_pad_check_pull_range), (gst_pad_pull_range),
24840         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24841         (gst_pad_pause_task), (gst_pad_stop_task):
24842         * gst/gstplugin.c: (gst_plugin_load):
24843         * gst/gstplugin.h:
24844         Remove gst_library_load as it does more harm than good with
24845         the new g_module flags.
24846         Revert bogus caps template check in pad linking, pad caps
24847         are important when linking not the template, which is more
24848         general than the current caps.
24849
24850 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24851
24852         * gst/autoplug/.cvsignore:
24853         * gst/autoplug/Makefile.am:
24854         * gst/autoplug/gstsearchfuncs.c:
24855         * gst/autoplug/gstsearchfuncs.h:
24856         * gst/autoplug/gstspider.c:
24857         * gst/autoplug/gstspider.h:
24858         * gst/autoplug/gstspideridentity.c:
24859         * gst/autoplug/gstspideridentity.h:
24860         * gst/autoplug/spidertest.c:
24861           Die, spider, die.
24862
24863 2005-04-25  Wim Taymans  <wim@fluendo.com>
24864
24865         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24866         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24867         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24868         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24869         * gst/gstpad.h:
24870         Added stubs for unimplemented functions. 
24871
24872 2005-04-24  David Schleef  <ds@schleef.org>
24873
24874         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
24875         please fix.
24876
24877 2005-04-24  David Schleef  <ds@schleef.org>
24878
24879         Convert everything from GstAtomicInt to g_atomic_int_*, and
24880         remove gstatomic.
24881         * gst/Makefile.am:
24882         * gst/gstatomic.c:
24883         * gst/gstatomic.h:
24884         * gst/gstatomic_impl.h:
24885         * gst/gstbuffer.c:
24886         * gst/gstcaps.c:
24887         * gst/gstcaps.h:
24888         * gst/gstclock.c:
24889         * gst/gstclock.h:
24890         * gst/gstdata.c:
24891         * gst/gstdata.h:
24892         * gst/gstdata_private.h:
24893         * gst/gstevent.c:
24894         * gst/gstinfo.c:
24895         * gst/gstinfo.h:
24896         * gst/gstmessage.c:
24897         * gst/gstobject.c:
24898         * gst/gstobject.h:
24899         * gst/gststructure.c:
24900         * gst/gststructure.h:
24901         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24902         * gst/gstutils.h:
24903
24904 2005-04-24  David Schleef  <ds@schleef.org>
24905
24906         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24907         make the regressions tests work.  Remove some code that is no
24908         longer true.
24909         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24910         Disable warning for pads without templates.
24911
24912 2005-04-24  David Schleef  <ds@schleef.org>
24913
24914         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
24915         functions that handle filtered links.
24916         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24917         removed functions.
24918         * gst/gstutils.c: Fix/remove utility functions that handle
24919         filtered caps.
24920         * gst/gstutils.h:
24921         * gst/gstvalue.c: Add serialization/deserialization of caps
24922         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
24923         requires fixing so that the filter caps notation creates
24924         a capsfilter element and sets the filter_caps property.  I
24925         think everyone probably wants to keep the shorthand notation.
24926         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24927         * docs/gst/tmpl/gstpad.sgml:
24928
24929         * gst/elements/gstelements.c: Register capsfilter element.
24930         * gst/Makefile.am: fix spacing
24931         * docs/random/ds/0.9-suggested-changes: random
24932
24933 2005-04-23  David Schleef  <ds@schleef.org>
24934
24935         * gst/elements/Makefile.am:
24936         * gst/elements/gstcapsfilter.c: New element that acts like an
24937         identity, but filters caps.  Will eventually replace filtered
24938         caps in pad linking.
24939         * gst/gstutils.c: (gst_element_create_all_pads): New function
24940         to create all the ALWAYS pads that are registered with an
24941         element class.  This functionality should eventually be
24942         merged in with GstElement initialization.
24943         * gst/gstutils.h:
24944         * testsuite/trigger/README: part of trigger test code that should
24945         have been checked in a long time ago.
24946
24947 2005-04-23  David Schleef  <ds@schleef.org>
24948
24949         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
24950         needed with new versions of libtool (nobody will confirm this),
24951         and hard to carry around.
24952         * gst/autoplug/Makefile.am:
24953         * gst/base/Makefile.am:
24954         * gst/elements/Makefile.am:
24955         * gst/indexers/Makefile.am:
24956         * gst/schedulers/Makefile.am:
24957         * libs/gst/bytestream/Makefile.am:
24958         * libs/gst/control/Makefile.am:
24959         * libs/gst/dataprotocol/Makefile.am:
24960         * libs/gst/getbits/Makefile.am:
24961
24962 2005-04-21  Wim Taymans  <wim@fluendo.com>
24963
24964         * docs/design/draft-push-pull.txt:
24965         * docs/design/part-MT-refcounting.txt:
24966         * docs/design/part-TODO.txt:
24967         * docs/design/part-caps.txt:
24968         * docs/design/part-events.txt:
24969         * docs/design/part-gstbus.txt:
24970         * docs/design/part-gstpipeline.txt:
24971         * docs/design/part-messages.txt:
24972         * docs/design/part-push-pull.txt:
24973         * docs/design/part-query.txt:
24974         Some more docs.
24975
24976 2005-04-21  Wim Taymans  <wim@fluendo.com>
24977
24978         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24979         (gst_message_new), (gst_message_new_error),
24980         (gst_message_new_warning), (gst_message_new_tag),
24981         (gst_message_new_state_changed), (gst_message_new_application),
24982         (gst_message_get_structure):
24983         * gst/gstmessage.h:
24984         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24985         (gst_structure_copy_conditional):
24986         Use parent refcount in GstMessage to ensure GstStructure
24987         consistency.
24988         Cleaned up headers a bit.
24989         
24990
24991 2005-04-20  Wim Taymans  <wim@fluendo.com>
24992
24993         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24994         (gst_basesink_pad_getcaps), (gst_basesink_init),
24995         (gst_basesink_chain_unlocked):
24996         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24997         (gst_type_find_helper):
24998         * gst/elements/gsttypefindelement.c:
24999         (gst_type_find_element_have_type), (gst_type_find_element_init),
25000         (stop_typefinding), (gst_type_find_element_handle_event),
25001         (find_suggest), (gst_type_find_element_chain),
25002         (gst_type_find_element_checkgetrange),
25003         (gst_type_find_element_getrange), (do_typefind),
25004         (gst_type_find_element_activate):
25005         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25006         (gst_buffer_default_free), (gst_buffer_default_copy),
25007         (gst_buffer_set_caps):
25008         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25009         (gst_caps_replace):
25010         * gst/gstmessage.c: (gst_message_new),
25011         (gst_message_new_state_changed):
25012         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25013         (gst_pad_set_checkgetrange_function),
25014         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25015         (gst_pad_set_caps), (gst_pad_check_pull_range),
25016         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25017         * gst/gstpad.h:
25018         * gst/gsttypefind.c: (gst_type_find_register):
25019         Make gst_caps_replace() work like other _replace() functions.
25020         Use _caps_replace() where possible.
25021         Make sure _message_new() initialises its field.
25022         Add gst_static_pad_template_get_caps()
25023
25024
25025 2005-04-18  Andy Wingo  <wingo@pobox.com>
25026
25027         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25028         on the peer, not the pad. I think that was a typo. Pass an extra
25029         arg to see if random access is possible. Activate the pads as
25030         PULL_RANGE if possible.
25031
25032         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25033
25034         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25035         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25036         to PROP_....
25037
25038 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25039
25040         * docs/faq/using.xml:
25041           Add note on gstreamer-properties (#154996).
25042
25043 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25044
25045         * docs/random/bbb/optional-properties:
25046           Some analysis on optional properties.
25047
25048 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25049
25050         * docs/gst/tmpl/gstelementfactory.sgml:
25051         * gst/gstelement.h:
25052         * gst/gstelementfactory.c: (gst_element_factory_init),
25053         (gst_element_factory_cleanup), (gst_element_register),
25054         (__gst_element_factory_add_static_pad_template),
25055         (gst_element_factory_get_static_pad_templates),
25056         (gst_element_factory_can_src_caps),
25057         (gst_element_factory_can_sink_caps):
25058         * gst/registries/Makefile.am:
25059         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25060         (gst_xml_registry_class_init), (gst_xml_registry_init),
25061         (gst_xml_registry_new), (gst_xml_registry_set_property),
25062         (gst_xml_registry_get_property), (get_time), (make_dir),
25063         (gst_xml_registry_get_perms_func),
25064         (plugin_times_older_than_recurse), (plugin_times_older_than),
25065         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25066         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25067         (add_to_char_array), (read_string), (read_uint), (read_enum),
25068         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25069         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25070         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25071         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25072         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25073         (gst_xml_registry_rebuild):
25074         * gst/registries/gstlibxmlregistry.h:
25075         * tools/gst-compprep.c: (main):
25076         * tools/gst-inspect.c: (print_pad_templates_info):
25077         * tools/gst-xmlinspect.c: (print_element_info):
25078           Use libxml2 for registry parsing, use staticpadtemplates in
25079           elementfactories. Makes gst_init() +/- 10x faster.
25080
25081 2005-04-12  Wim Taymans  <wim@fluendo.com>
25082
25083         * gst/base/Makefile.am:
25084         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25085         (gst_basesink_pad_getcaps), (gst_basesink_init),
25086         (gst_basesink_event), (gst_basesink_change_state):
25087         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25088         (gst_basesrc_init), (gst_basesrc_query),
25089         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25090         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25091         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25092         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25093         (gst_basesrc_stop), (gst_basesrc_activate),
25094         (gst_basesrc_change_state):
25095         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25096         (helper_find_suggest), (gst_type_find_helper):
25097         * gst/base/gsttypefindhelper.h:
25098         * gst/elements/Makefile.am:
25099         * gst/elements/gstelements.c:
25100         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25101         (gst_fakesink_get_times), (gst_fakesink_event),
25102         (gst_fakesink_preroll), (gst_fakesink_render):
25103         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25104         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25105         (gst_fakesrc_get_property), (gst_fakesrc_create),
25106         (gst_fakesrc_start), (gst_fakesrc_stop):
25107         * gst/elements/gstfakesrc.h:
25108         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25109         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25110         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25111         (gst_filesrc_create_read), (gst_filesrc_create),
25112         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25113         (gst_filesrc_start):
25114         * gst/elements/gsttypefindelement.c:
25115         (gst_type_find_element_have_type), (gst_type_find_element_init),
25116         (start_typefinding), (stop_typefinding), (push_buffer_store),
25117         (gst_type_find_element_handle_event),
25118         (gst_type_find_element_chain),
25119         (gst_type_find_element_checkgetrange),
25120         (gst_type_find_element_getrange), (do_typefind),
25121         (gst_type_find_element_activate),
25122         (gst_type_find_element_change_state):
25123         * gst/elements/gsttypefindelement.h:
25124         * gst/gstpipeline.c: (pipeline_bus_handler):
25125         Added typefind helper.
25126         Small preroll fix in the base sink.
25127         Disable typefind code in basesrc.
25128         Crude port of typefindelement.
25129         Fakesrc cleanups.
25130
25131
25132 2005-04-11  Wim Taymans  <wim@fluendo.com>
25133
25134         * check/gst/gstbus.c: (gstbus_suite):
25135         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25136         * check/gstcheck.h:
25137           Fix up the timeout so that the test does not fail.
25138
25139 2005-04-06  Wim Taymans  <wim@fluendo.com>
25140
25141         * gst/base/README:
25142         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25143         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25144         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25145         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25146         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25147         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25148         (gst_basesrc_stop), (gst_basesrc_activate),
25149         (gst_basesrc_change_state), (basesrc_find_peek),
25150         (basesrc_find_suggest), (gst_basesrc_type_find):
25151         * gst/base/gstbasesrc.h:
25152         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25153         (gst_filesrc_class_init), (gst_filesrc_init),
25154         (gst_filesrc_finalize), (gst_filesrc_set_location),
25155         (gst_filesrc_set_property), (gst_filesrc_get_property),
25156         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25157         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25158         (gst_filesrc_create_read), (gst_filesrc_create),
25159         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25160         * gst/elements/gstfilesrc.h:
25161         * gst/gstelement.c: (gst_element_get_state_func),
25162         (gst_element_lost_state), (gst_element_pads_activate):
25163         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25164         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25165         (gst_pad_pull_range):
25166         * gst/gstpad.h:
25167         More work on the generic source base class, implement seeking,
25168         query.
25169         Make filesrc extend the base source class.
25170         Added gst_pad_set_checkgetrange_function to GstPad.
25171
25172 2005-04-06  Andy Wingo  <wingo@pobox.com>
25173
25174         * pkgconfig/gstreamer-base.pc.in:
25175         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25176
25177         * pkgconfig/Makefile.am:
25178         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25179
25180 2005-04-04  Wim Taymans  <wim@fluendo.com>
25181
25182         * gst/base/Makefile.am:
25183         * gst/base/README:
25184         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25185         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25186         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25187         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25188         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25189         (gst_basesrc_base_init), (gst_basesrc_class_init),
25190         (gst_basesrc_init), (gst_basesrc_get_formats),
25191         (gst_basesrc_get_query_types), (gst_basesrc_query),
25192         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25193         (gst_basesrc_set_property), (gst_basesrc_get_property),
25194         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25195         (gst_basesrc_loop), (gst_basesrc_activate),
25196         (gst_basesrc_change_state):
25197         * gst/base/gstbasesrc.h:
25198         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25199         (gst_fakesrc_class_init), (gst_fakesrc_init),
25200         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25201         (gst_fakesrc_get_property), (gst_fakesrc_create):
25202         * gst/elements/gstfakesrc.h:
25203         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25204         (gst_filesrc_open_file), (gst_filesrc_loop),
25205         (gst_filesrc_activate), (filesrc_find_peek),
25206         (gst_filesrc_type_find):
25207         Made base source class, make fakesrc extend it.
25208         Add comments to basesink class.
25209         Some filesrc cleanup.
25210
25211 2005-03-31  David Schleef  <ds@schleef.org>
25212
25213         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25214         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25215         expected to link against libgstreamer.
25216         * gst/base/Makefile.am: link against libgstreamer
25217         * gst/elements/Makefile.am: same
25218
25219 2005-03-31  Andy Wingo  <wingo@pobox.com>
25220
25221         * tests/instantiate/Makefile.am:
25222         * tests/instantiate/caps.c: Add test to test speed of caps copy
25223         and free.
25224
25225         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25226         GMemChunk to be fair.
25227
25228         * gst/gsttrashstack.h: Remove warning about using the fallback
25229         trash stack implementation, it's still faster than malloc.
25230
25231 2005-03-30  Andy Wingo  <wingo@pobox.com>
25232
25233         * tests/complexity.c: Add a copyright.
25234
25235 2005-03-31  Wim Taymans  <wim@fluendo.com>
25236
25237         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25238         (gst_base_transform_class_init), (gst_base_transform_init),
25239         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25240         (gst_base_transform_get_property),
25241         (gst_base_transform_sink_activate),
25242         (gst_base_transform_src_activate),
25243         (gst_base_transform_change_state):
25244         * gst/base/gstbasetransform.h:
25245         * gst/elements/gstidentity.c: (gst_identity_class_init),
25246         (gst_identity_event), (gst_identity_check_perfect),
25247         (gst_identity_transform), (gst_identity_start),
25248         (gst_identity_stop):
25249         Added start/stop methods to transform base class so subclasses 
25250         don't need to deal with state changes even.
25251
25252 2005-03-31  Wim Taymans  <wim@fluendo.com>
25253
25254         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25255         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25256         * gst/gstevent.h:
25257         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25258         (gst_pad_pull_range):
25259         Added rate to the discont event to prepare for variable speed
25260         and reverse playback.
25261
25262 2005-03-29  David Schleef  <ds@schleef.org>
25263
25264         * configure.ac:
25265         * testsuite/trigger/Makefile.am:
25266         * testsuite/trigger/trigger.c: A little example program to show
25267         how trigger-based elements can work.
25268
25269 2005-03-29  Wim Taymans  <wim@fluendo.com>
25270
25271         * gst/base/Makefile.am:
25272         * gst/base/README:
25273         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25274         (gst_basesink_base_init), (gst_basesink_class_init),
25275         (gst_basesink_pad_getcaps), (gst_basesink_init),
25276         (gst_basesink_activate), (gst_basesink_change_state):
25277         * gst/base/gstbasesink.h:
25278         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25279         (gst_base_transform_base_init), (gst_base_transform_finalize),
25280         (gst_base_transform_class_init), (gst_base_transform_init),
25281         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25282         (gst_base_transform_event), (gst_base_transform_getrange),
25283         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25284         (gst_base_transform_set_property),
25285         (gst_base_transform_get_property),
25286         (gst_base_transform_sink_activate),
25287         (gst_base_transform_src_activate),
25288         (gst_base_transform_change_state):
25289         * gst/base/gstbasetransform.h:
25290         * gst/elements/gstidentity.c: (gst_identity_finalize),
25291         (gst_identity_class_init), (gst_identity_init),
25292         (gst_identity_event), (gst_identity_check_perfect),
25293         (gst_identity_transform), (gst_identity_set_property),
25294         (gst_identity_get_property), (gst_identity_change_state):
25295         * gst/elements/gstidentity.h:
25296         * gst/gstelement.c: (gst_element_get_state_func),
25297         (gst_element_lost_state), (gst_element_pads_activate):
25298         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25299         (gst_pad_check_pull_range), (gst_pad_pull_range):
25300         * gst/gstpad.h:
25301         Simplify pad activation.
25302         Added function to check if pull_range can be performed.
25303         Error out when pulling inactive or flushing pads.
25304         Removed const from refcounted types as it does not make sense.
25305         Simplify pad templates in basesink
25306         Added base class for simple 1-to-1 transforms.
25307         Make identity subclass the base transform.
25308
25309 2005-03-29  Andy Wingo  <wingo@pobox.com>
25310
25311         * docs/libs/gstreamer-libs-overrides.txt: 
25312         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25313         really don't understand what's going on, but like whatever. I want
25314         green buildbot!
25315
25316         * docs/gst/Makefile.am:
25317         * docs/libs/Makefile.am: Dist the overrides files.
25318
25319         * check/Makefile.am (clean-local): Remove .libs directories.
25320
25321         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25322         elements to EXTRA_DIST, so po/ files are happy.
25323
25324         * po/POTFILES.in: Er, remove it here.
25325
25326         * po/POTFILES: Remove gstspider.c.
25327
25328         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25329
25330         * docs/libs/gstreamer-libs-docs.sgml: 
25331         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25332         bytestream.
25333
25334         * tests/complexity.c (main): Set the length of the preroll queue
25335         on the sinks to prevent a lockup.
25336
25337         * libs/gst/dataprotocol/Makefile.am: 
25338         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25339         the same as the one in check/gst-libs/gdp.c.
25340
25341         * po/, docs/gst/: Commit automatic changes to docs and po files.
25342
25343         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25344         the versioned libgstbase.
25345
25346         * check/Makefile.am: Depend on an unversioned gst-register, seems
25347         to make autoconf happier.
25348
25349         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25350
25351 2005-03-28  Wim Taymans  <wim@fluendo.com>
25352
25353         * configure.ac:
25354         * docs/design/part-gstelement.txt:
25355         * docs/design/part-negotiation.txt:
25356         * docs/design/part-preroll.txt:
25357         * docs/design/part-scheduling.txt:
25358         * docs/design/part-states.txt:
25359         * gst/Makefile.am:
25360         * gst/base/Makefile.am:
25361         * gst/base/README:
25362         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25363         (gst_basesink_base_init), (gst_basesink_class_init),
25364         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25365         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25366         (gst_basesink_set_pad_functions),
25367         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25368         (gst_basesink_set_property), (gst_basesink_get_property),
25369         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25370         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25371         (gst_basesink_preroll_queue_push),
25372         (gst_basesink_preroll_queue_empty),
25373         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25374         (gst_basesink_event), (gst_basesink_get_times),
25375         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25376         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25377         (gst_basesink_loop), (gst_basesink_activate),
25378         (gst_basesink_change_state):
25379         * gst/base/gstbasesink.h:
25380         * gst/elements/Makefile.am:
25381         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25382         (gst_fakesink_class_init), (gst_fakesink_init),
25383         (gst_fakesink_set_property), (gst_fakesink_get_property),
25384         (gst_fakesink_get_times), (gst_fakesink_event),
25385         (gst_fakesink_preroll), (gst_fakesink_render),
25386         (gst_fakesink_change_state):
25387         * gst/elements/gstfakesink.h:
25388         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25389         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25390         * gst/gstelement.c: (gst_element_add_pad),
25391         (gst_element_get_state_func), (gst_element_abort_state),
25392         (gst_element_commit_state), (gst_element_lost_state),
25393         (gst_element_set_state), (gst_element_pads_activate):
25394         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25395         * gst/gstpipeline.c: (gst_pipeline_send_event),
25396         (gst_pipeline_change_state):
25397         Added state change code.
25398         Added/updated docs.
25399         Added sink base class, make fakesink extend the base class.
25400         Small cleanups in GstPipeline.
25401
25402 2005-03-26  David Schleef  <ds@schleef.org>
25403
25404         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25405         is broken and should be implemented in a different library.
25406         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25407         * gst/gst.h: remove gstcpu.h
25408         * gst/gstcpu.c: remove
25409         * gst/gstcpu.h: remove
25410         * gst/Makefile.am.future: Remove this file.  It's ancient.
25411
25412 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25413
25414         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25415         (gst_bin_send_event):
25416           Add default event/set_manager handlers. The set_manager handler
25417           takes care that the manager is distributed over kids that were
25418           already in the bin before the manager was set. The event handler
25419           is a utility virtual function that sends the event over all sinks,
25420           so that gst_element_send_event (bin, event); has the expected
25421           behaviour.
25422         * gst/gstpad.c: (gst_pad_event_default):
25423           Re-install default event handling for discontinuities, so that
25424           seeking works without requiring hacks in applications or extra
25425           code in sinks.
25426         * gst/gstpipeline.c: (gst_pipeline_class_init),
25427         (gst_pipeline_send_event):
25428           Half hack, half utility: set a pipeline to PAUSED for seek events,
25429           since that is the only way we can guarantee a/v sync. Means that
25430           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25431           and it "just works".
25432
25433 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25434
25435         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25436           Lock/unlock mismatch.
25437
25438 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25439
25440         * docs/faq/gst-uninstalled:
25441           add gst-plugins-base
25442         * docs/gst/Makefile.am:
25443           don't error out until docs are fixed
25444         * docs/gst/gstreamer.types:
25445           remove thread
25446
25447 2005-03-22  Wim Taymans  <wim@fluendo.com>
25448
25449         * check/Makefile.am:
25450         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25451         * gst/gststructure.c: (gst_structure_set_valist),
25452         (gst_structure_copy_conditional):
25453         Activated more tests.
25454         Added message test.
25455         Added G_TYPE_POINTER to GstStructure.
25456         
25457
25458 2005-03-22  Wim Taymans  <wim@fluendo.com>
25459
25460         * docs/design/part-TODO.txt:
25461         * docs/design/part-events.txt:
25462         * docs/design/part-gstbin.txt:
25463         * docs/design/part-gstbus.txt:
25464         * docs/design/part-gstpipeline.txt:
25465         * docs/design/part-messages.txt:
25466         * gst/gstbus.c:
25467         * gst/gstmessage.c:
25468         Docs updates
25469
25470 2005-03-21  Wim Taymans  <wim@fluendo.com>
25471
25472         * gst/gstbus.c: (gst_bus_post):
25473         Fix copy-and-paste error.
25474
25475 2005-03-21  Wim Taymans  <wim@fluendo.com>
25476
25477         * check/Makefile.am:
25478         * gst/Makefile.am:
25479         * gst/elements/Makefile.am:
25480         * gst/elements/gstelements.c:
25481         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25482         (gst_fakesink_event), (gst_fakesink_chain):
25483         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25484         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25485         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25486         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25487         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25488         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25489         (gst_fakesrc_loop), (gst_fakesrc_activate),
25490         (gst_fakesrc_change_state):
25491         * gst/elements/gstfakesrc.h:
25492         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25493         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25494         (gst_filesrc_open_file), (gst_filesrc_loop),
25495         (gst_filesrc_activate), (gst_filesrc_change_state),
25496         (filesrc_find_peek), (filesrc_find_suggest),
25497         (gst_filesrc_type_find):
25498         * gst/elements/gstidentity.c: (gst_identity_finalize),
25499         (gst_identity_class_init), (gst_identity_init),
25500         (gst_identity_proxy_getcaps), (identity_queue_push),
25501         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25502         (gst_identity_getrange), (gst_identity_chain),
25503         (gst_identity_sink_loop), (gst_identity_src_loop),
25504         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25505         (gst_identity_set_property), (gst_identity_get_property),
25506         (gst_identity_change_state):
25507         * gst/elements/gstidentity.h:
25508         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25509         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25510         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25511         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25512         (gst_tee_sink_activate):
25513         * gst/elements/gsttee.h:
25514         * gst/gst.c: (gst_register_core_elements), (init_post):
25515         * gst/gst.h:
25516         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25517         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25518         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25519         (gst_bin_change_state):
25520         * gst/gstbin.h:
25521         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25522         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25523         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25524         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25525         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25526         (bus_watch_callback), (bus_watch_destroy),
25527         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25528         (poll_timeout), (gst_bus_poll):
25529         * gst/gstbus.h:
25530         * gst/gstcaps.h:
25531         * gst/gstdata.h:
25532         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25533         (gst_element_post_message), (gst_element_message_full),
25534         (gst_element_get_state_func), (gst_element_get_state),
25535         (gst_element_abort_state), (gst_element_commit_state),
25536         (gst_element_lost_state), (gst_element_set_state),
25537         (gst_element_pads_activate), (gst_element_change_state),
25538         (gst_element_dispose), (gst_element_set_manager_func),
25539         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25540         (gst_element_set_manager), (gst_element_get_manager),
25541         (gst_element_set_bus), (gst_element_get_bus),
25542         (gst_element_set_scheduler), (gst_element_get_scheduler):
25543         * gst/gstelement.h:
25544         * gst/gstevent.c: (gst_event_new_segment_seek),
25545         (gst_event_new_flush):
25546         * gst/gstevent.h:
25547         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25548         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25549         (gst_message_new_eos), (gst_message_new_error),
25550         (gst_message_new_warning), (gst_message_new_tag),
25551         (gst_message_new_state_changed), (gst_message_new_application),
25552         (gst_message_get_structure), (gst_message_parse_tag),
25553         (gst_message_parse_state_changed), (gst_message_parse_error),
25554         (gst_message_parse_warning):
25555         * gst/gstmessage.h:
25556         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25557         (gst_real_pad_set_property), (gst_pad_set_active),
25558         (gst_pad_is_active), (gst_pad_set_blocked_async),
25559         (gst_pad_set_blocked), (gst_pad_is_blocked),
25560         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25561         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25562         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25563         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25564         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25565         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25566         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25567         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25568         (gst_pad_set_caps), (gst_pad_configure_sink),
25569         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25570         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25571         (gst_real_pad_dispose), (gst_real_pad_finalize),
25572         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25573         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25574         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25575         * gst/gstpad.h:
25576         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25577         (pipeline_bus_handler), (gst_pipeline_change_state),
25578         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25579         * gst/gstpipeline.h:
25580         * gst/gstprobe.h:
25581         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25582         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25583         (gst_queue_link_src), (gst_queue_bufferalloc),
25584         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25585         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25586         (gst_queue_loop), (gst_queue_handle_src_event),
25587         (gst_queue_handle_src_query), (gst_queue_src_activate),
25588         (gst_queue_change_state):
25589         * gst/gstqueue.h:
25590         * gst/gstscheduler.c: (gst_scheduler_init),
25591         (gst_scheduler_dispose), (gst_scheduler_create_task),
25592         (gst_scheduler_factory_create):
25593         * gst/gstscheduler.h:
25594         * gst/gststructure.c: (gst_structure_get_type),
25595         (gst_structure_copy_conditional):
25596         * gst/gststructure.h:
25597         * gst/gsttaginterface.h:
25598         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25599         (gst_task_init), (gst_task_dispose), (gst_task_create),
25600         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25601         (gst_task_pause):
25602         * gst/gsttask.h:
25603         * gst/gstthread.c:
25604         * gst/gstthread.h:
25605         * gst/gsttypes.h:
25606         * gst/schedulers/Makefile.am:
25607         * gst/schedulers/cothreads_compat.h:
25608         * gst/schedulers/entryscheduler.c:
25609         * gst/schedulers/faircothreads.c:
25610         * gst/schedulers/faircothreads.h:
25611         * gst/schedulers/fairscheduler.c:
25612         * gst/schedulers/gstbasicscheduler.c:
25613         * gst/schedulers/gstoptimalscheduler.c:
25614         * gst/schedulers/gthread-cothreads.h:
25615         * gst/schedulers/threadscheduler.c:
25616         (gst_thread_scheduler_task_get_type),
25617         (gst_thread_scheduler_task_class_init),
25618         (gst_thread_scheduler_task_init),
25619         (gst_thread_scheduler_task_start),
25620         (gst_thread_scheduler_task_stop),
25621         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25622         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25623         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25624         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25625         (plugin_init):
25626         * libs/gst/Makefile.am:
25627         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25628         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25629         (gst_file_pad_parent_set):
25630         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25631         (gst_dp_event_from_packet):
25632         * tests/complexity.c: (main):
25633         * tests/mass_elements.c: (main):
25634         * testsuite/states/locked.c: (message_received), (main):
25635         * testsuite/states/parent.c: (main):
25636         * tools/gst-inspect.c: (print_element_flag_info),
25637         (print_implementation_info), (print_pad_info):
25638         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25639         (main):
25640         * tools/gst-md5sum.c: (event_loop), (main):
25641         * tools/gst-typefind.c: (main):
25642         * tools/gst-xmlinspect.c: (print_element_info):
25643         Next big merge.
25644         Added GstBus for mainloop integration.
25645         Added GstMessage for sending notifications on the bus.
25646         Added GstTask as an abstraction for pipeline entry points.
25647         Removed GstThread.
25648         Removed Schedulers.
25649         Simplified GstQueue for multithreaded core.
25650         Made _link threadsafe, removed old capsnego.
25651         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25652         Added pad blocking functions.
25653         Reworked scheduling functions in GstPad to prepare for
25654         scheduling updates soon.
25655         Moved events out of data stream.
25656         Simplified GstEvent types.
25657         Added return values to push/pull.
25658         Removed clocking from GstElement.
25659         Added prototypes for state change function for next merge.
25660         Removed iterate from bins and state change management.
25661         Fixed some elements, disabled others for now.
25662         Fixed -inspect and -launch.
25663         Added check for GstBus.
25664
25665 2005-03-10  Wim Taymans  <wim@fluendo.com>
25666
25667         * docs/design/part-MT-refcounting.txt:
25668         * docs/design/part-clocks.txt:
25669         * docs/design/part-gstelement.txt:
25670         * docs/design/part-gstobject.txt:
25671         * docs/design/part-standards.txt:
25672         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25673         (gst_bin_remove_func), (gst_bin_remove):
25674         * gst/gstbin.h:
25675         * gst/gstbuffer.c:
25676         * gst/gstcaps.h:
25677         * testsuite/clock/clock1.c: (main):
25678         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25679         (main):
25680         * testsuite/dlopen/loadgst.c: (do_test):
25681         * testsuite/refcounting/bin.c: (add_remove_test1),
25682         (add_remove_test2), (main):
25683         * testsuite/refcounting/element.c: (main):
25684         * testsuite/refcounting/element_pad.c: (main):
25685         * testsuite/refcounting/pad.c: (main):
25686         * tools/gst-launch.c: (sigint_handler_sighandler):
25687         * tools/gst-typefind.c: (main):
25688         Doc updates.
25689         Added doc about clock.
25690         removed gst_bin_iterate_recurse_up(), marked methods
25691         for removal.
25692         Fix more testsuites.
25693
25694 2005-03-09  Wim Taymans  <wim@fluendo.com>
25695
25696         * gst/gstpad.c: (gst_pad_get_direction),
25697         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25698         (gst_pad_collect_valist):
25699         * testsuite/bins/interface.c: (main):
25700         * testsuite/caps/audioscale.c: (test_caps):
25701         * testsuite/caps/caps.c: (test1), (test2), (test3):
25702         * testsuite/caps/deserialize.c: (main):
25703         * testsuite/caps/enumcaps.c: (main):
25704         * testsuite/caps/filtercaps.c: (main):
25705         * testsuite/caps/intersect2.c: (main):
25706         * testsuite/caps/random.c: (main):
25707         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25708         * testsuite/caps/sets.c: (check_caps):
25709         * testsuite/caps/simplify.c: (check_caps), (main):
25710         * testsuite/caps/subtract.c: (check_caps):
25711         Fix _pad_get_direction wrt ghostpads.
25712         Fix caps testsuite.
25713
25714 2005-03-09  Wim Taymans  <wim@fluendo.com>
25715
25716         * check/Makefile.am:
25717         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25718         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25719         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25720         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25721         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25722         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25723         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25724         (bin_element_is_sink), (gst_bin_iterate_sinks),
25725         (gst_bin_iterate_all_by_interface):
25726         * gst/gstbin.h:
25727         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25728         (gst_element_change_state), (gst_element_dispose),
25729         (gst_element_finalize), (gst_element_set_loop_function):
25730         * gst/gstelement.h:
25731         * gst/gstiterator.c: (find_custom_fold_func):
25732         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25733         (gst_pad_collectv), (gst_pad_collect_valist),
25734         (gst_pad_template_new):
25735         * gst/gstpipeline.c: (gst_pipeline_class_init),
25736         (gst_pipeline_dispose), (gst_pipeline_set_property),
25737         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25738         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25739         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25740         * gst/gstutils.h:
25741         * gst/schedulers/entryscheduler.c:
25742         * gst/schedulers/gstbasicscheduler.c:
25743         (gst_basic_scheduler_cothreaded_chain),
25744         (gst_basic_scheduler_chain_add_element):
25745         * testsuite/bins/interface.c: (main):
25746         Added GstBin test.
25747         Added GstSystemClock test.
25748         Implemented clock distribution code in GstBin.
25749         Implemented iterate sinks method for future use.
25750         Rearranged gstelement.h
25751         Fix GstIterator comparison bug.
25752         Moved some code to GstPipeline, mostly clocking related.
25753
25754 2005-03-09  Wim Taymans  <wim@fluendo.com>
25755
25756         * configure.ac:
25757         * gst/gst_private.h:
25758         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25759         (gst_bin_remove_func), (gst_bin_remove),
25760         (gst_bin_get_by_name_recurse_up):
25761         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25762         (gst_clock_id_compare_func), (gst_clock_id_wait),
25763         (gst_clock_id_wait_async), (gst_clock_init),
25764         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25765         * gst/gstelement.h:
25766         * gst/gstinfo.c: (_gst_debug_init):
25767         * gst/gstobject.h:
25768         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25769         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25770         * gst/gstpad.h:
25771         Bump version number, we're now 0.9.0
25772         Add future debugging category.
25773         Fix NULL _unref() in _get_by_name_recurse_up
25774         Rearrange gstpad.h.
25775         Update some docs.
25776
25777 2005-03-08  Wim Taymans  <wim@fluendo.com>
25778
25779         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25780         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25781         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25782         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25783         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25784         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25785         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25786         * gst/elements/gstidentity.c: (gst_identity_class_init):
25787         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25788         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25789         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25790         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25791         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25792         (gst_tee_link):
25793         * gst/gstelement.c: (gst_element_class_init),
25794         (gst_element_base_class_init), (gst_element_init),
25795         (gst_element_get_random_pad), (gst_element_wait_state_change),
25796         (gst_element_change_state), (gst_element_dispose),
25797         (gst_element_finalize), (gst_element_set_loop_function):
25798         * gst/gstelement.h:
25799         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25800         * gst/gstthread.c: (gst_thread_class_init),
25801         (gst_thread_release_children_locks), (gst_thread_change_state):
25802         * gst/schedulers/gstbasicscheduler.c:
25803         (gst_basic_scheduler_loopfunc_wrapper),
25804         (gst_basic_scheduler_chain_wrapper),
25805         (gst_basic_scheduler_src_wrapper),
25806         (gst_basic_scheduler_remove_element):
25807         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25808         Remove threadsafe properties. Fix elements because GObject
25809         complains when installing a property before declaring a
25810         set/get_property handler.
25811         Rearrange gstelement.h file, use STATE macros for state locks.
25812         Free mutexes in the finalize method instead of dispose.
25813
25814 2005-03-08  Wim Taymans  <wim@fluendo.com>
25815
25816         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25817         * gst/gstthread.c: (gst_thread_release_children_locks):
25818         Added parentage check.
25819         Fix build og GstThread again.
25820
25821 2005-03-08  Wim Taymans  <wim@fluendo.com>
25822
25823         * docs/design/part-MT-refcounting.txt:
25824         * docs/design/part-conventions.txt:
25825         * docs/design/part-gstobject.txt:
25826         * docs/design/part-relations.txt:
25827         * docs/design/part-standards.txt:
25828         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25829         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25830         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25831         (gst_bin_iterate_all_by_interface):
25832         * gst/gstbuffer.h:
25833         * gst/gstclock.h:
25834         * gst/gstelement.c: (gst_element_class_init),
25835         (gst_element_change_state), (gst_element_set_loop_function):
25836         * gst/gstelement.h:
25837         * gst/gstiterator.c:
25838         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25839         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25840         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25841         (gst_object_set_parent), (gst_object_unparent),
25842         (gst_object_check_uniqueness):
25843         * gst/gstobject.h:
25844         Docs updates, clean up some headers.
25845
25846 2005-03-07  Wim Taymans  <wim@fluendo.com>
25847
25848         * check/.cvsignore:
25849         * check/Makefile.am:
25850         * check/gst-libs/.cvsignore:
25851         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25852         * check/gst/.cvsignore:
25853         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25854         (START_TEST), (gstbus_suite), (main):
25855         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25856         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25857         (gst_data_suite), (main):
25858         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25859         (add_fold_func), (gstiterator_suite), (main):
25860         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25861         (thread_name_object), (thread_name_object_default),
25862         (gst_object_name_compare), (gst_object_suite), (main):
25863         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25864         (gst_pad_suite), (main):
25865         * check/gstcheck.c: (gst_check_log_message_func),
25866         (gst_check_log_critical_func), (gst_check_init):
25867         * check/gstcheck.h:
25868         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25869         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25870         Added checks.
25871
25872 2005-03-07  Wim Taymans  <wim@fluendo.com>
25873
25874         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25875         (gst_list_iterator_next), (gst_list_iterator_resync),
25876         (gst_list_iterator_free), (gst_iterator_new_list),
25877         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25878         (gst_iterator_free), (gst_iterator_push), (filter_next),
25879         (filter_resync), (filter_uninit), (filter_free),
25880         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25881         (gst_iterator_foreach), (find_custom_fold_func),
25882         (gst_iterator_find_custom):
25883         * gst/gstiterator.h:
25884         Added missing files.
25885
25886 2005-03-07  Wim Taymans  <wim@fluendo.com>
25887
25888         * Makefile.am:
25889         * configure.ac:
25890         * docs/design/part-MT-refcounting.txt:
25891         * docs/design/part-conventions.txt:
25892         * docs/design/part-gstobject.txt:
25893         * docs/design/part-relations.txt:
25894         * examples/mixer/mixer.c: (main):
25895         * examples/thread/thread.c: (eos), (main):
25896         * gst/Makefile.am:
25897         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25898         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25899         (gst_spider_plug_from_srcpad):
25900         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25901         (gst_spider_identity_change_state),
25902         (gst_spider_identity_sink_loop_type_finding):
25903         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25904         * gst/elements/gstidentity.c: (gst_identity_init):
25905         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25906         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25907         * gst/elements/gsttypefindelement.c: (free_entry):
25908         * gst/gst.c:
25909         * gst/gst.h:
25910         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25911         (gst_bin_set_clock_func), (gst_bin_auto_clock),
25912         (gst_bin_set_index), (gst_bin_set_element_sched),
25913         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25914         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25915         (gst_bin_iterate_elements), (iterate_child_recurse),
25916         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25917         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25918         (compare_interface), (gst_bin_get_by_interface),
25919         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25920         * gst/gstbin.h:
25921         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25922         (gst_buffer_default_free), (gst_buffer_default_copy),
25923         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25924         (gst_buffer_create_sub):
25925         * gst/gstbuffer.h:
25926         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25927         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25928         (gst_caps_unref), (gst_static_caps_get),
25929         (gst_caps_remove_and_get_structure), (gst_caps_append),
25930         (gst_caps_append_structure), (gst_caps_remove_structure),
25931         (gst_caps_copy_nth), (gst_caps_set_simple),
25932         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25933         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25934         (gst_caps_structure_intersect_field), (gst_caps_intersect),
25935         (gst_caps_structure_subtract_field), (gst_caps_subtract),
25936         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25937         (gst_caps_structure_figure_out_union),
25938         (gst_caps_switch_structures), (gst_caps_do_simplify),
25939         (gst_caps_replace), (gst_caps_from_string),
25940         (gst_caps_copy_conditional):
25941         * gst/gstcaps.h:
25942         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25943         (_gst_clock_id_free), (gst_clock_id_unref),
25944         (gst_clock_id_compare_func), (gst_clock_id_wait),
25945         (gst_clock_id_wait_async), (gst_clock_class_init),
25946         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25947         (gst_clock_get_time), (gst_clock_set_time_adjust),
25948         (gst_clock_set_property), (gst_clock_get_property):
25949         * gst/gstclock.h:
25950         * gst/gstcompat.h:
25951         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25952         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25953         * gst/gstdata.h:
25954         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25955         (gst_element_requires_clock), (gst_element_provides_clock),
25956         (gst_element_set_clock), (gst_element_clock_wait),
25957         (gst_element_wait), (gst_element_set_time_delay),
25958         (gst_element_is_indexable), (gst_element_add_pad),
25959         (gst_element_add_ghost_pad), (gst_element_remove_pad),
25960         (pad_compare_name), (gst_element_get_static_pad),
25961         (gst_element_request_pad), (gst_element_get_request_pad),
25962         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25963         (gst_element_class_get_pad_template_list),
25964         (gst_element_class_get_pad_template), (gst_element_error_func),
25965         (gst_element_get_random_pad), (gst_element_get_event_masks),
25966         (gst_element_send_event), (gst_element_seek),
25967         (gst_element_get_query_types), (gst_element_query),
25968         (gst_element_get_formats), (gst_element_convert),
25969         (gst_element_is_locked_state), (gst_element_set_locked_state),
25970         (gst_element_sync_state_with_parent), (gst_element_change_state),
25971         (gst_element_finalize), (gst_element_yield),
25972         (gst_element_interrupt), (gst_element_set_scheduler),
25973         (gst_element_get_scheduler), (gst_element_set_loop_function):
25974         * gst/gstelement.h:
25975         * gst/gstevent.h:
25976         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25977         (gst_format_get_by_nick), (gst_format_get_details),
25978         (gst_format_iterate_definitions):
25979         * gst/gstformat.h:
25980         * gst/gstindex.c: (gst_index_gtype_resolver):
25981         * gst/gstinfo.c:
25982         * gst/gstinfo.h:
25983         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25984         (gst_mem_chunk_free):
25985         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25986         (gst_object_ref), (gst_object_unref), (gst_object_sink),
25987         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25988         (gst_object_dispatch_properties_changed),
25989         (gst_object_set_name_default), (gst_object_set_name),
25990         (gst_object_get_name), (gst_object_set_name_prefix),
25991         (gst_object_get_name_prefix), (gst_object_set_parent),
25992         (gst_object_get_parent), (gst_object_unparent),
25993         (gst_object_check_uniqueness), (gst_object_save_thyself),
25994         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25995         (gst_object_set_property), (gst_object_get_property),
25996         (gst_object_get_path_string):
25997         * gst/gstobject.h:
25998         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25999         (gst_real_pad_init), (gst_real_pad_get_property),
26000         (gst_pad_custom_new), (gst_pad_get_direction),
26001         (gst_pad_set_active), (gst_pad_is_active),
26002         (gst_pad_set_event_function), (gst_pad_is_linked),
26003         (gst_pad_link_free), (gst_pad_link_intersect),
26004         (gst_pad_link_fixate), (gst_pad_set_caps),
26005         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26006         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26007         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26008         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26009         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26010         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26011         (gst_pad_realize), (gst_pad_get_allowed_caps),
26012         (gst_real_pad_dispose), (gst_real_pad_finalize),
26013         (gst_pad_collectv), (gst_pad_collect_valist),
26014         (gst_pad_template_dispose), (gst_pad_template_new),
26015         (gst_pad_get_internal_links):
26016         * gst/gstpad.h:
26017         * gst/gstpipeline.c: (gst_pipeline_dispose),
26018         (gst_pipeline_change_state):
26019         * gst/gstpipeline.h:
26020         * gst/gstplugin.c:
26021         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26022         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26023         * gst/gstpluginfeature.h:
26024         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26025         * gst/gstquery.c: (_gst_query_type_initialize),
26026         (gst_query_type_register), (gst_query_type_get_by_nick),
26027         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26028         * gst/gstquery.h:
26029         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26030         * gst/gstscheduler.c: (gst_scheduler_add_element),
26031         (gst_scheduler_factory_create):
26032         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26033         (gst_structure_free), (gst_structure_set_name),
26034         (gst_structure_id_set_value), (gst_structure_set_value),
26035         (gst_structure_set_valist), (gst_structure_remove_field),
26036         (gst_structure_remove_fields),
26037         (gst_structure_remove_fields_valist),
26038         (gst_structure_remove_all_fields), (gst_structure_foreach),
26039         (gst_structure_map_in_place),
26040         (gst_caps_structure_fixate_field_nearest_int),
26041         (gst_caps_structure_fixate_field_nearest_double):
26042         * gst/gststructure.h:
26043         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26044         (gst_system_clock_init), (gst_system_clock_dispose),
26045         (gst_system_clock_async_thread),
26046         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26047         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26048         * gst/gstsystemclock.h:
26049         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26050         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26051         * gst/gsttaginterface.c:
26052         * gst/gstthread.c: (gst_thread_dispose),
26053         (gst_thread_release_children_locks), (gst_thread_change_state),
26054         (gst_thread_main_loop):
26055         * gst/gsttrashstack.h:
26056         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26057         * gst/gsttypes.h:
26058         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26059         (gst_element_request_pad), (gst_element_get_pad_from_template),
26060         (gst_element_request_compatible_pad),
26061         (gst_element_get_compatible_pad_filtered),
26062         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26063         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26064         (gst_element_link_many), (gst_element_link),
26065         (gst_element_link_pads), (gst_element_unlink_pads),
26066         (gst_element_unlink_many), (gst_element_unlink),
26067         (gst_pad_can_link_filtered), (gst_pad_can_link),
26068         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26069         (gst_object_default_error), (gst_bin_add_many),
26070         (gst_bin_remove_many), (gst_element_populate_std_props),
26071         (gst_element_class_install_std_props), (gst_buffer_merge),
26072         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26073         (link_fold_func), (gst_pad_proxy_setcaps):
26074         * gst/gstutils.h:
26075         * gst/gstvalue.c: (gst_value_deserialize_string):
26076         * gst/parse/grammar.y:
26077         * gst/schedulers/gstbasicscheduler.c:
26078         (gst_basic_scheduler_cothreaded_chain),
26079         (gst_basic_scheduler_chain_recursive_add),
26080         (gst_basic_scheduler_pad_link):
26081         * gst/schedulers/gstoptimalscheduler.c:
26082         (get_group_schedule_function),
26083         (gst_opt_scheduler_state_transition),
26084         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26085         * libs/gst/bytestream/bytestream.c:
26086         * libs/gst/dataprotocol/dataprotocol.c:
26087         (gst_dp_header_from_buffer):
26088         * po/nb.po:
26089         * po/ru.po:
26090         * tests/threadstate/threadstate2.c: (eos):
26091         * tools/gst-compprep.c: (main):
26092         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26093         (print_pad_info), (print_children_info):
26094         * tools/gst-launch.c: (idle_func), (main):
26095         * tools/gst-md5sum.c: (idle_func), (main):
26096         * tools/gst-xmlinspect.c: (print_element_info):
26097         First THREADED backport attempt, focusing on adding locks and
26098         making sure the API is threadsafe. Needs more work. More docs
26099         follow this week.
26100
26101 2005-02-24  Andy Wingo  <wingo@pobox.com>
26102
26103         * tests/bench-complexity.scm:
26104         * tests/complexity.gnuplot: New files, good for running complexity
26105         benchmarks.
26106
26107         * tests/Makefile.am:
26108         * tests/complexity.c: New test, sets up N elements, at each level
26109         teeing into M streams per element. Eeeenteresting.
26110
26111         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26112         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26113         running bench-mass_elements.scm.
26114
26115         * tests/bench-mass_elements.scm: New script, runs mass_elements
26116         for various numbers of identities, outputting the results to a
26117         file. Requires guile 1.6. Just for testing.
26118
26119 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26120
26121         * gst/schedulers/fairscheduler.c:
26122           compile with debug disabled
26123
26124 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26125
26126         * configure.ac:
26127           hunting season on 0.9 is now OPEN