win32/common/libgstreamer.def: Add gst_tag_setter_reset_tags to the list of exported...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * win32/common/libgstreamer.def:
4         Add gst_tag_setter_reset_tags to the list of exported symbols.
5
6 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
7
8         * gst/gstghostpad.c:
9         * tests/check/gst/gstghostpad.c:
10         In a source ghostpad, when caps are changed in the target pad, the
11         change needs to be reflected in the ghostpad.
12         Fixes #564863.
13
14 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
15
16         * gst/gstutils.c: (gst_element_found_tags_for_pad):
17         Add FIXME for 0.11 to set the pad as message source and not
18         the element. Otherwise it's impossible to detect for which
19         pad the tags were found without adding an event probe
20         or something similar to the pad.
21
22 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
23
24         * docs/faq/general.xml:
25         Update the faq.
26
27 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
28
29         * docs/gst/gstreamer-sections.txt:
30         * gst/gsttagsetter.c:
31         * gst/gsttagsetter.h:
32           Rename api added in previous commit and add since tag to docs.
33           API: gst_tag_setter_reset_tags()
34
35 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
36
37         * docs/gst/gstreamer-sections.txt:
38         * gst/gsttagsetter.c:
39         * gst/gsttagsetter.h:
40           Add function to reset tagsetter for element reuse.
41
42 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
43
44         * gst/gsttaglist.c:
45           Avoid copy of empty taglist.
46
47 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
48
49         * gst/gsttaglist.c:
50         * tests/check/gst/gsttag.c:
51           More complete unit tests. Fix handling of empty taglists (they were
52           not merged before).
53
54 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
55
56         * gst/gsttaglist.h:
57         * gst/gsttagsetter.c:
58           Update GstTagSetter and GstTagMergeMode documentation. Mention
59           that tags can come from events and from application. Fix example.
60
61 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
62
63         * docs/design/part-TODO.txt:
64         Remove the seqnum entry that we implemented in 0.10 already.
65         Add entry about removing the format return value for queries.
66
67 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
68
69         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
70         (gst_base_sink_init), (gst_base_sink_set_property),
71         (gst_base_sink_get_property):
72         Expose the render-delay as a property so things like appsink can use it
73         to tweak the synchronisation.
74
75 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
76
77         * libs/gst/check/gstcheck.h: Allow check tests to use
78         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
79         CK_FORK=no to be used with multiple check test that use threads.
80
81 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
82
83         * gst/gstutils.c: (gst_element_get_compatible_pad):
84         Fix a caps memory leak introduced by the last change.
85
86 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
87
88         * gst/gstutils.c: (gst_element_get_compatible_pad):
89         Check if the caps of the pads are compatible before returning
90         a pad and claiming it is compatible. This, among other things,
91         fixes a bug with gst-launch where an incompatible pad is chosen
92         and linking fails. Fixes bug #544003.
93
94 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
95
96         * libs/gst/check/gstcheck.c: (gst_check_init):
97         Revert accidentially commited patch for bug #404631 which
98         tries to print a backtrace if a testcase is terminated by
99         a signal. This code was never activated as the corresponding
100         configure.ac change wasn't committed.
101
102 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
103
104         * tests/check/libs/controller.c: (GST_START_TEST):
105         This test should return TRUE now as syncing an uncontrolled
106         object will succeed now (there's nothing to sync).
107
108 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
109
110         * libs/gst/controller/gstcontroller.c:
111           Aggregate return value for gst_controller_sync_values(). More info in
112           logging. Always set values on first sync-call.
113
114         * libs/gst/controller/gstcontrolsource.c:
115           Microoptimizations.
116
117         * libs/gst/controller/gsthelper.c:
118           Fix return code and comment.
119
120 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
121
122         * tools/gst-launch.1.in:
123           Fix description of how to specify a type in caps. Fixes #553873.
124           Also ranges and list contain values and not property-assignments.
125
126 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
129         Check for changed pads-list before checking the last returned
130         GstFlowReturn because the pad could have been removed and we
131         need to ignore the value in that case.
132
133 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
134
135         * libs/gst/base/gstbasetransform.c:
136         (gst_base_transform_prepare_output_buffer),
137         (gst_base_transform_getrange), (gst_base_transform_chain):
138         * libs/gst/base/gstbasetransform.h:
139         Add vmethod that is called before we start the transform and which can
140         be used to configure the transform, such as dynamic properties.
141
142 2008-12-05  David Schleef  <ds@schleef.org>
143
144         * gst/gst.c:
145         Search for plugins on win32 based on the location of the
146         gstreamer DLL.  Fixes #548786
147
148 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
149
150         * configure.ac:
151         Apparently AC_CONFIG_MACRO_DIR breaks when using more
152         than one macro directory, reverting last change.
153
154 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
155
156         * configure.ac:
157         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
158         our M4 macros.
159
160 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
161
162         Patch by: Cygwin Ports maintainer
163                   <yselkowitz at users dot sourceforge dot net>
164
165         * autogen.sh:
166         * configure.ac:
167         Require gettext 0.17 because older versions don't mix with libtool
168         2.2. At build time an older gettext version will still work.
169         Fixes bug #556091.
170
171 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
172
173         Patch by: 이문형 <iwings at gmail dot com>
174
175         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
176         Adds support for FD_CONNECT event (win32). See #562258.
177
178 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
179
180         * libs/gst/base/gstbasesink.c:
181           Turn comment into gtk-doc comment.
182
183 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         * libs/gst/base/gstbasetransform.c:
186         (gst_base_transform_acceptcaps):
187         Revert quick accepcaps attempt, it's not fully equivalent to the old
188         behaviour and thus causes regressions.
189
190 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
191
192         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
193         Fix memory leak.
194
195 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
196
197         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
198
199         * gst/gstregistry.c: (gst_registry_scan_path_level):
200         Reduce the number of stat() calls for every file from three times
201         to one time. Fixes bug #560360.
202
203 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
204
205         * libs/gst/base/gstbasetransform.c:
206         (gst_base_transform_acceptcaps):
207         Rename a variable to make the code clearer.
208
209 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
210
211         * plugins/elements/gstidentity.c:
212         Don't warning on offset==-1. Taken from _check_imperfect_offset().
213
214 2008-11-21  Michael Smith <msmith@songbirdnest.com>
215
216         * plugins/elements/gstfilesrc.c:
217           Check for localhost in URI was backwards, fix it. Fixes unit test.
218
219 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
220
221         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
222         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
223         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
224         Add beginnings of a more optimized acceptcaps function than the default
225         core one.
226
227 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
228
229         * gst/gstpad.c: (gst_pad_accept_caps):
230         Avoid getting the acceptcaps function too early.
231
232 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * tools/gst-launch.c: (event_loop):
235         Make gst-launch handle LATENCY messages and make it recalculate the
236         latency.
237
238 2008-11-20  Michael Smith <msmith@songbirdnest.com>
239
240         * plugins/elements/gstfilesrc.c:
241           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
242           out own slightly incorrect version. Fixes use of some paths on
243           win32.
244
245 2008-11-20  Michael Smith <msmith@songbirdnest.com>
246
247         * gst/gstregistrybinary.c:
248           In win32 codepath, if we fail to write the registry, create the
249           directory for it and try again, matching the behaviour in non-win32
250           codepaths.
251
252 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
253
254         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
255         Changing the render delay changes the latency and so we must post a
256         latency message.
257
258 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
259
260         * gst/gstquery.c:
261         * gst/gstquery.h:
262         Add GstQueryType for custom queries instead of having to use the
263         not-so-very-convenient registration infrastructure to register new
264         types.
265
266 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
267
268         Patch by: Andrew Feren <acferen at yahoo dot com>
269
270         * gst/gstobject.c: (gst_object_default_deep_notify):
271         Unref the GEnumClass after usage again. Fixes bug #561501.
272
273 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
274
275         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
276         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
277         (gst_bin_change_state_func):
278         * gst/gstbin.h:
279         Add do-latency signal with the old default fallback implementation. This
280         allows for custom latency calculations for when the default is not
281         sufficient.
282         API: GstBin::do-latency signal.
283
284 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
285
286         * win32/common/libgstreamer.def:
287         Add new symbols to .def file.
288
289 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
290
291         * docs/gst/gstreamer-sections.txt:
292         * gst/gstbin.c: (gst_bin_recalculate_latency),
293         (gst_bin_change_state_func):
294         * gst/gstbin.h:
295         Add method to recalculate and redistribute the latency on a bin.
296         API: gst_bin_recalculate_latency().
297
298 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
299
300         * gst/gstbuffer.h:
301         Document the free_func.
302
303 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
304
305         * libs/gst/controller/gstinterpolation.c:
306         * libs/gst/controller/gstlfocontrolsource.c:
307         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
308         as it is mapped to a cast on non-win32 platforms.
309
310 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
311
312         * libs/gst/controller/gstcontroller.c:
313         * libs/gst/controller/gstcontrollerprivate.h:
314           Keep last-value and only call set_property if value has changed. This
315           supresses all the g_object_notifies we would trigger otherwise. It
316           also allows the user to chage the value while there is no controller
317           change.
318
319 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
320
321         * gst/gstvalue.c:
322           Don't crash if either of the string GValues is empty.
323
324 2008-11-17  Andy Wingo  <wingo@pobox.com>
325
326         * tools/gst-inspect.c (print_all_uri_handlers): New function,
327         prints a summary of what URI schemes are supported by what
328         elements.
329         (main): Plumb in support for --uri-handlers or -u, and fix the
330         argc check for -a and -u.
331
332 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
333
334         * gst/gstutils.h:
335         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
336         conversion functions.
337
338 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
339
340         * gst/gstbuffer.c: (gst_buffer_finalize):
341         Avoid costly typechecking for trivially correct pointers.
342
343         * gst/gstpoll.c: (gst_poll_wait):
344         Add some G_LIKELY here and there.
345
346         * libs/gst/base/gstadapter.c: (gst_adapter_push):
347         Add some debug info.
348
349 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * docs/random/wtay/poll-timeout:
352         Small tweaks.
353
354 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
355
356         * tests/old/testsuite/caps/intersection.c: (main):
357         * tests/old/testsuite/plugin/loading.c: (main):
358         Remove references to deprecated API g_mem_chunk*.
359         Fixes #560442.
360
361 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
362
363         * tools/gst-inspect.c: (main):
364         Add --plugin option. Fixes #560301.
365
366 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
367
368         * docs/random/wtay/poll-timeout:
369         Quick braindump for a possible (not totally verified) atomic case.
370
371 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
372
373         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
374         (gst_registry_binary_initialize_magic),
375         (gst_registry_binary_write_cache),
376         (gst_registry_binary_check_magic):
377         * gst/gstregistrybinary.h:
378         Don't write and check a CRC for the binary registry file. It's
379         guaranteed that the registry is completely written (it's first written
380         to a temporary file and then moved) and if the registry was corrupted
381         by some hardware failure we would have bigger problems.
382
383         Bump binary registry version to 0.10.21.1 for this as it's an
384         incompatible change and to ensure that the registry gets rebuild
385         after the update.
386
387         This saves some milliseconds for reading/writing the registry.
388         Fixes bug #560399.
389
390 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * docs/random/wtay/poll-timeout:
393         Some pseudo code for how we could implement clock timeouts with GstPoll.
394
395 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
396
397         * plugins/elements/gstfilesink.c:
398           Update Author string to match others.
399
400 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
401
402         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
403         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
404         being fixed and inline the trivial check.
405
406 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
409         (gst_caps_merge_structure), (gst_caps_get_structure),
410         (gst_caps_copy_nth), (gst_caps_set_simple),
411         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
412         (gst_caps_is_equal_fixed), (gst_caps_intersect),
413         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
414         (gst_caps_to_string):
415         Callgrind micro optimisations.
416         Avoid array bounds checks and force inline of trivial function.
417
418         * gst/gstobject.c: (gst_object_set_name_default):
419         -1 is equivalent to letting glib to the strlen but then there is more
420         room for optimisations and it's not our fault.
421
422         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
423         no need to clear the array, we're cool.
424
425         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
426         The most common _is_fixed() check is done on fundamental glib base
427         types so we check this first instead of doing a huge amount of
428         useless GST_TYPE_ARRAY calls.
429
430 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
431
432         * gst/gstevent.h:
433         Add a SKIP seek flag for use with advanced trickmodes.
434         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
435
436 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
437
438         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
439         No need to memset, we can clear the value ourselves.
440
441         * gst/gstvalue.c: (gst_type_is_fixed),
442         (gst_value_get_compare_func):
443         Some optimisations from a few callgrind sessions:
444         When checking if a type is fixed, check for trivial fundamental types
445         first before checking types for which we need to get the type followed
446         by the heavy duty type checks, this reduces the amount of
447         g_type_fundamental() calls a lot.
448         When getting the compare function, first check for our registered types.
449         If that fails, do the heavy duty g_type_is_a() checks, reduces the
450         amount of g_type_is_a() considerably.
451
452 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
453
454         * docs/design/part-TODO.txt:
455         Mumble something about removing GstXML.
456
457 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
458
459         * gst/gstbin.c: (gst_bin_handle_message_func):
460         Get the seqnum before we dispose the message.
461
462 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
463
464         * docs/design/part-TODO.txt:
465         Refer to the framestepping document.
466
467 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
468
469         * gst/gstbin.c: (bin_handle_async_start),
470         (gst_bin_handle_message_func), (gst_bin_query):
471         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
472         (gst_base_sink_event), (gst_base_sink_change_state):
473         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
474         (gst_base_src_loop), (gst_base_src_change_state):
475         Copy seqnums from events to messages so that they can all be related
476         back to eachother.
477
478 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
479
480         * tools/gst-launch.c: (event_loop):
481         Print the message seqnums.
482
483 2008-11-04  Andy Wingo  <wingo@pobox.com>
484
485         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
486
487 2008-11-04  Andy Wingo  <wingo@pobox.com>
488
489         Add sequence numbers to events and messages. See #559250.
490
491         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
492         API: New functions.
493
494         * gst/gstevent.h:
495         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
496         events with a new sequence number, and copy it when copying.
497         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
498         an event's sequence number.
499
500         * gst/gstmessage.h:
501         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
502         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
503         so with messages.
504
505         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
506
507 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         * docs/manual/advanced-position.xml:
510         * docs/manual/basics-bins.xml:
511         * docs/manual/basics-bus.xml:
512         * docs/manual/basics-pads.xml:
513         * docs/manual/intro-gstreamer.xml:
514         * docs/manual/intro-preface.xml:
515         Some Application Development Manual fixes thanks to
516         Andrew Feren. Fixes #558459.
517
518 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
519
520         * gst/gstregistrybinary.c:
521           Don't bother with the GTimer if we don't output the results.
522
523 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
524
525         Patch by: David Schleef  <ds@schleef.org>
526
527         * libs/gst/net/Makefile.am:
528         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
529
530 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
531
532         * gst/gstregistrybinary.c:
533           Oh my, studip, stupid me. Remove double stat() call.
534
535 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
536
537         * gst/gstpreset.c:
538           Use g_unlink instead of unlink.
539
540         * gst/gststructure.c:
541           Use glib type.
542
543         * gst/gstutils.c:
544           Add a FIXME:.
545
546         * gst/gsttaglist.c:
547         * gst/gsttypefind.c:
548         * gst/gstvalue.c:
549           Formatting & whitespaces.
550
551 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
552
553         * plugins/elements/gstidentity.c:
554           Doc typo. Use return value of parent_class->event.
555   
556         * plugins/elements/gsttypefindelement.c:
557           Chain up at the end for consistency.
558   
559 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
560
561         * docs/Makefile.am:
562         * docs/gst/gstreamer-docs.sgml:
563         * docs/gst/gstreamer-sections.txt:
564         * docs/gst/running.xml:
565         * docs/libs/gstreamer-libs-docs.sgml:
566           Change to xinclude based build - its faster and easier to maintain.
567
568 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
569
570         * gst/gstregistrybinary.c:
571         * gst/gstregistryxml.c:
572           Use g_unlink() as none of these are directories.
573
574 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
575
576         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
577         Some more comments.
578
579 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
580
581         * libs/gst/base/gstbasetransform.c:
582         (gst_base_transform_find_transform), (gst_base_transform_getrange):
583         If we have a fixate function, call it even if we already have fixed caps
584         because the subclass might add some caps. Makes audioconvert add a
585         default channel layout.
586
587 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
588
589         * libs/gst/base/gstbasetransform.c:
590         (gst_base_transform_prepare_output_buffer),
591         (gst_base_transform_getrange):
592         Clear the output buffer variable.
593         Cleanups to the error path in the getrange function.
594         Fixes #557649.
595
596 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
597
598         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
599         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
600         Use gst_buffer_try_new_and_alloc() and handle errors instead of
601         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
602         be allocated.
603
604 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
605
606         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
607         Set the last_stop to a more meaningful position when configuring the
608         segment. ie. the start/stop of the segment or clipped against the
609         updated segment boundaries.
610
611         * tests/check/gst/gstsegment.c: (GST_START_TEST):
612         Add some unit tests for the last_stop.
613
614 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
615
616         * libs/gst/base/gstbytereader.c:
617         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
618         copies of them.
619
620 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
621
622         * docs/gst/gstreamer-sections.txt:
623         * gst/gstutils.h:
624         API: Move float endianness conversion macros from libgstfloatcast
625         to core as it's useful in general, even in core. Fixes bug #555196.
626         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
627         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
628         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
629
630         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
631         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
632         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
633         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
634
635 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
636
637         * docs/libs/gstreamer-libs-sections.txt:
638         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
639         (gst_byte_reader_peek_data):
640         * libs/gst/base/gstbytereader.h:
641         * win32/common/libgstbase.def:
642         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
643         to get a pointer to the data at the current position and have
644         a guaranteed size.
645
646 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
647
648         * configure.ac:
649         Fix a bug in the output of the configure script summary
650         when --gst-disable-registry is supplied
651
652 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
653
654         * libs/gst/base/gstbitreader.c:
655         * libs/gst/base/gstbytereader.c:
656         Fix the names of 2 functions in the docs strings.
657
658 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
659
660         * libs/gst/base/gstbasetransform.c:
661         (gst_base_transform_prepare_output_buffer),
662         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
663         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
664         refcount problems as seen in banshee and maybe also in farsight2.
665         Remove atomic int now that we need to take the lock anyways.
666
667 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
668
669         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
670         (gst_base_sink_default_prepare_seek_segment),
671         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
672         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
673         (gst_base_sink_query):
674         Implement more seeking in pull mode.
675         Use pad convert functions to convert position to the requested format.
676         Fix position/duration reporting in pull mode.
677         Implement position and duration reporting in other formats than time.
678
679         * libs/gst/base/gstbasesink.h:
680         Add member to keep track of when the segment is playing.
681
682 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
683
684         * gst/gstpad.c: (gst_pad_configure_src):
685         When we use gst_pad_alloc_buffer() without wanting to set the caps we
686         also don't need to check if the caps are compatible because the caller
687         presumably is going to perform its own custom checks. Fixes some cases
688         where basetransform elements would error out when it was not needed.
689
690 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
691
692         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
693         Update comment.
694
695         * libs/gst/base/gstbasetransform.c:
696         (gst_base_transform_handle_buffer),
697         (gst_base_transform_reconfigure):
698         Add some debug info.
699
700         * win32/common/libgstbase.def:
701         Add new method.
702
703 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
704
705         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
706           Remove duplicated assignment and log a message in failure case.
707
708 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
709
710         Patch by: Dig Ge <dig.ge.cn at gmail com>
711
712         * tests/examples/helloworld/helloworld.c: (main):
713           Fix copy'n'paste bug in hello world example (#556900).
714
715 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
716
717         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
718         (gst_base_sink_query):
719         Query the total number of bytes when activating the pad in pull mode.
720         Implement duration query in pull mode by using the installed pad convert
721         function to convert from bytes to the requested format.
722
723 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * docs/libs/gstreamer-libs-sections.txt:
726         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
727         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
728         (gst_base_sink_event), (gst_base_sink_perform_seek),
729         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
730         (gst_base_sink_send_event), (gst_base_sink_change_state):
731         * libs/gst/base/gstbasesink.h:
732         Add method to commit the state in subclasses.
733         Refactor the flush_start and flush_stop code because we need it for
734         flushing while seeking too.
735         Implement the beginnings of seeking in pull mode.
736         Use the segment last_stop field for the pulling offset.
737         Fix the pause method in pull mode.
738         Configure the segment to BYTES for pull mode.
739         API: GstBaseSink::gst_base_sink_do_preroll()
740
741 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
742
743         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
744         Update some docs.
745
746 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
747
748         * gst/gstquark.c: (_priv_gst_quarks_initialize):
749           Fix printf format warning.
750
751 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
752
753         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
754         Fix flow aggregation of tee. Error out immediately for all flow returns
755         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
756         and return OK if at least one pad is linked.
757
758         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
759         and otherwise returned the flow return of the last pad, which is wrong.
760         
761         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
762         (GST_START_TEST), (tee_suite):
763         Add unit tests for the flow aggregation.
764
765 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
766
767         * docs/design/part-TODO.txt:
768         Remove item from the todo list because it was fixed with the latency
769         state change rewrites.
770
771         * docs/design/part-seeking.txt:
772         * docs/design/part-segments.txt:
773         Update some docs.
774
775         * gst/gstevent.c: (gst_event_new_new_segment_full),
776         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
777         (gst_event_parse_buffer_size), (gst_event_new_qos),
778         (gst_event_parse_qos), (gst_event_new_seek),
779         (gst_event_parse_seek), (gst_event_new_latency),
780         (gst_event_parse_latency):
781         Use quarks to construct and parse events.
782
783         * gst/gstquark.c: (_priv_gst_quarks_initialize):
784         * gst/gstquark.h:
785         Add some more quarks to the table.
786         Emit a warning when the quark tables are not in sync.
787
788         * tests/check/gst/gstbus.c: (GST_START_TEST):
789         Add an assert.
790
791 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
792
793         * plugins/elements/Makefile.am:
794         * plugins/indexers/Makefile.am:
795           Don't install static libs for plugins. Fixes #550851 for core.
796
797 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
798
799         * gst/gstbus.c: (gst_bus_source_finalize),
800         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
801         (gst_bus_enable_sync_message_emission),
802         (gst_bus_disable_sync_message_emission),
803         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
804         Fix deadlock, g_source_get_id() cannot be called in finalize.
805         Keep track of the watch source by keeping a pointer to the source object
806         instead.
807         Use the bus lock to protect access to the pointer to the current
808         watch source.
809
810 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
811
812         Base on Patch by: Olivier Crete <tester at tester dot ca>
813
814         * gst/gstbus.c: (gst_bus_source_finalize),
815         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
816         Only allow one bus watch to be set at a time. This is necessary
817         because the dispatcher pops the message from the bus and the second
818         watcher will then get NULL or the next message (and the first won't
819         get this next message then, etc). If more than one "watcher" is
820         required signal watches should be used. Fixes bug #526044.
821
822 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
823
824         * tools/gst-launch.c:
825         Change the printing of the 'buffering...' output to avoid putting
826         a \r in a translateable string (flagged by the TP).
827
828 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
829
830         * gst/gstxml.c:
831         Clarify that the save_thyself() and restore_thyself() virtual
832         functions of GstObject need to be overriden, not
833         gst_object_(save|restore)_thyself() which is impossible.
834         Fixes bug #555700.
835
836 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
839         Revert a patch from 21 months ago that broke caps negotiation in pull
840         mode. Basically, having a buffer pass over a pad will trigger the
841         setcaps function when caps change, just like in push mode.
842
843 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
844
845         * docs/design/part-negotiation.txt:
846         Update the docs some more.
847
848         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
849         If we pull a buffer with non-trivial caps, suggest those caps with the
850         max probability.
851
852 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
853
854         * docs/design/part-TODO.txt:
855         Add another limitation of pad-blocking with segment seeks not pushing
856         EOS events.
857
858 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
859
860         * win32/common/libgstbase.def:
861         * win32/common/libgstreamer.def:
862         Add new symbols to the win32 defs files
863
864 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
865
866         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
867         (gst_bin_handle_message_func):
868         The message src can be NULL, don't try to print the object names in that
869         case.
870
871         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
872         Add some more debug info.
873
874         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
875         (GST_START_TEST):
876         Add some debug.
877         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
878         scheduling modes.
879
880 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
881
882         * docs/design/part-negotiation.txt:
883         Small doc update.
884
885         * docs/libs/gstreamer-libs-sections.txt:
886         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
887         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
888         (gst_base_sink_init), (gst_base_sink_set_blocksize),
889         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
890         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
891         (gst_base_sink_loop), (gst_base_sink_pad_activate),
892         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
893         (gst_base_sink_change_state):
894         * libs/gst/base/gstbasesink.h:
895         Add blocksize property and methods to control the amount of data
896         to pull.
897         Negotiate first before activating upstream in pull mode so that they can
898         negotiate themselves.
899         When we operate in pull mode, we only accept the caps that we
900         negotiated.
901         Make the sink go ASYNC to PAUSED, like all other sinks.
902         API: GstBaseSink::gst_base_sink_set_blocksize()
903         API: GstBaseSink::gst_base_sink_get_blocksize()
904         API: GstBaseSink::blocksize
905
906         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
907         (gst_base_src_set_live), (gst_base_src_is_live),
908         (gst_base_src_set_format), (gst_base_src_query_latency),
909         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
910         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
911         (gst_base_src_set_property), (gst_base_src_get_property):
912         * libs/gst/base/gstbasesrc.h:
913         Add typechecking in public API functions.
914         Add methods to control the blocksize in subclasses.
915         API: GstBaseSrc::gst_base_src_set_blocksize()
916         API: GstBaseSrc::gst_base_src_get_blocksize()
917
918 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
919
920         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
921         (buffer_probe), (event_probe), (GST_START_TEST):
922         We now see 3 events go through our pad, since basesink now sends
923         upstream latency events.
924
925 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
926
927         * gst/gstpipeline.c: (gst_pipeline_change_state):
928         Release the object lock before trying to flush the bus.
929
930 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
931
932         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
933         Forward LATENCY events upstreams so that elements know about the total
934         pipeline latency. Fixes #555307.
935
936 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
937
938         * plugins/elements/gstqueue.c:
939         Allow through queries when we don't know how
940         to adjust them (not TIME or BYTES), as otherwise it's
941         not possible to query the current position in order
942         to seek in other formats at all.
943
944 2008-10-08  Andy Wingo  <wingo@pobox.com>
945
946         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
947
948 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
949
950         * gst/gstghostpad.c:
951         * gst/gstghostpad.h:
952         Unbreak -good build, private is a reserved c++ keyword.
953
954 2008-10-08  Andy Wingo  <wingo@pobox.com>
955
956         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
957         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
958         removal: re-add GST_GHOST_PAD_CAST to the header.
959
960         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
961         (GstGhostPadClass): Publically expose these structures so as to
962         allow easy subclassing from C. Hide the member data behind a
963         private opaque data pointer.
964
965         * gst/gstghostpad.c: Adapt to store instance data in the type
966         instance's private data region, not in the public struct.
967
968 2008-10-08  Andy Wingo  <wingo@pobox.com>
969
970         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
971         template via g_object_get(), be sure to unref it.
972
973         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
974
975 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
976
977         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
978         If we can't get a cache file don't try to save something to it.
979         Dereferencing NULL pointers usually isn't a good idea.
980
981 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
982
983         * tests/check/Makefile.am:
984         * tests/check/gst/gstabi.c:
985         * tests/check/gst/struct_sparc.h:
986         * tests/check/libs/libsabi.c:
987         * tests/check/libs/struct_sparc.h:
988         Add Sparc ABI checks
989
990         * tests/check/gst/gstvalue.c: (GST_START_TEST):
991         Cast signed integer to unsigned to avoid a compiler warning.
992
993 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
994
995         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
996         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
997         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
998         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
999         (gst_byte_reader_peek_int24_be):
1000         Use new GST_READ_UINT24_(LE|BE) macros.
1001
1002 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1003
1004         * docs/gst/gstreamer-sections.txt:
1005         * gst/gstutils.h:
1006         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1007         as it's too easy to break the ISO C strict aliasing rules with simple
1008         casts to the corresponding type and this would introduce hard to debug
1009         bugs. Fixes bug #545714.
1010
1011         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1012
1013 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1014
1015         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1016         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1017           Add 'Since' bits to gtk-doc chunks for new API.
1018
1019 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1020
1021         * docs/gst/gstreamer-sections.txt:
1022         Fix documentation
1023
1024 2008-10-06  Andy Wingo  <wingo@pobox.com>
1025
1026         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1027         that will be called on the malloc_data to free it. Basically a way
1028         to avoid subclassing when all you need is a different free
1029         function, i.e. free() instead of g_free().
1030
1031         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1032         calling the free function.
1033         (gst_buffer_init): Initialize the free function to g_free.
1034
1035 2008-10-06  Andy Wingo  <wingo@pobox.com>
1036
1037         * gst/gstghostpad.h:
1038         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1039         finishes the initialization of ghost pad. Useful for language
1040         bindings and subclassers of GstGhostPad. Fixes #539108.
1041         (gst_ghost_pad_new_full): Use the new constructor.
1042
1043 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1044
1045         Base on Patch by: Olivier Crete <tester at tester dot ca>
1046
1047         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1048         (gst_bin_remove_func), (update_degree),
1049         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1050         Keep track of pads that are being linked/unlinked and resync the state
1051         changes.
1052
1053         * gst/gstpad.c: (gst_pad_get_direction),
1054         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1055         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1056         (gst_pad_link_prepare), (gst_pad_link),
1057         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1058         (gst_pad_check_pull_range), (gst_pad_get_range),
1059         (gst_pad_pull_range):
1060         Some code cleanups, use macros to check pad direction.
1061         Don't need to take the lock on the pad direction.
1062         Post structure change when pads are linked/unlinked.
1063         Change some checks into _return_if_fail().
1064
1065         * tests/check/gst/gstbin.c:
1066         (test_link_structure_change_state_changed_sync_cb),
1067         (GST_START_TEST), (gst_bin_suite):
1068         Add testcase for pad link/unlinke resync during a state change.
1069         Fixes #510354.
1070
1071 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1072
1073         * docs/gst/gstreamer-sections.txt:
1074         * gst/gstmessage.c: (gst_message_new_structure_change),
1075         (gst_message_parse_structure_change):
1076         * gst/gstmessage.h:
1077         Implement STRUCTURE_CHANGED messages. These messages will be used to
1078         signal the parent bin of link/unlink operations that could require a
1079         resync when doing a state change. See ##510354.
1080         API: gst_message_new_structure_change()
1081         API: gst_message_parse_structure_change()
1082
1083 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1084
1085         * gst/gstquark.c:
1086         * gst/gstquark.h:
1087         Add some more quarks for new message. See #510354.
1088
1089 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1090
1091         * docs/libs/gstreamer-libs-docs.sgml:
1092         * docs/libs/gstreamer-libs-sections.txt:
1093         * libs/gst/base/Makefile.am:
1094         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1095         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1096         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1097         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1098         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1099         (gst_bit_reader_skip_to_byte):
1100         * libs/gst/base/gstbitreader.h:
1101         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1102         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1103         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1104         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1105         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1106         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1107         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1108         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1109         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1110         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1111         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1112         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1113         * libs/gst/base/gstbytereader.h:
1114         * tests/check/Makefile.am:
1115         * tests/check/libs/bitreader.c: (GST_START_TEST),
1116         (gst_bit_reader_suite):
1117         * tests/check/libs/bytereader.c: (GST_START_TEST),
1118         (gst_byte_reader_suite):
1119         API: Add bit reader and byte reader classes, including documentation
1120         and an extensive unit test suite. Fixes bug #553554.
1121
1122 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1123
1124         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1125         (gst_base_sink_query):
1126         Improve position reporting while flushing and other intermediate state
1127         changes. Fixes #553874.
1128
1129 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1130
1131         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1132
1133         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1134         Original patch by : Simon Descaries
1135         Fix small refount leak in caps compatibility check.
1136         Fixes #551676.
1137
1138 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1139
1140         * docs/pwg/advanced-request.xml:
1141           Fix 0.8 api usage in example. Fixes #554561
1142
1143         * docs/pwg/appendix-porting.xml:
1144           Change 0.9 to 0.10 here.
1145
1146 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1147
1148         * docs/manual/basics-data.xml:
1149           Change "event-event interaction" to "element-element interaction".
1150           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1151           updates.
1152
1153 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1154
1155         * configure.ac:
1156         Back to development -> 0.10.21.1
1157
1158 === release 0.10.21 ===
1159
1160 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1161
1162         * configure.ac:
1163           releasing 0.10.21, "Take These Things From Me"
1164
1165 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1166
1167         * configure.ac:
1168         0.10.20.4 pre-release
1169
1170 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1171
1172         * libs/gst/base/gstbasetransform.c:
1173         * plugins/elements/gstcapsfilter.c:
1174         * tests/check/Makefile.am:
1175         * tests/check/elements/.cvsignore:
1176         * tests/check/elements/capsfilter.c:
1177         Fix assertion in basetransform when the subclass chooses not to
1178         allocate a buffer in prepare_buffer(), and make capsfilter error out
1179         cleanly if requested to apply caps that don't completely specify the
1180         buffer. Fixes #551509
1181
1182 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1183
1184         * libs/gst/base/gstbasetransform.c:
1185         (gst_base_transform_prepare_output_buffer):
1186         Take new caps ref because our old one might have been gone when the
1187         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1188
1189 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1190
1191         * configure.ac:
1192           Do not probe availability of check unit test library when cross
1193           compiling, as test would not work anyway. Also cleanup verbose output
1194           of the check test. Fixes #551952.
1195
1196 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1197
1198         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1199
1200         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1201         Avoid leaking the parent ref when we fail changing the state of the
1202         element using gst_element_sync_state_with_parent(). Fixes #551978.
1203
1204 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1205
1206         * docs/manual/intro-motivation.xml::
1207           Remove some bits that no longer apply, update others (#551642).
1208
1209 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1210
1211         * configure.ac:
1212         0.10.20.2 pre-release
1213
1214         * po/LINGUAS:
1215         * po/id.po:
1216         * po/pt_BR.po:
1217
1218         New translations.
1219
1220 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1221
1222         * win32/common/config.h.in:
1223           Add GST_DATADIR, hard-code cpu to x86.
1224
1225         * win32/common/libgstreamer.def:
1226           Spaces to tabs.
1227
1228 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1229
1230         * gst/gsttaglist.h:
1231           Fix Since: markers for new geo tags.
1232
1233 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1234
1235         * gst/gsttaglist.h:
1236           Fix actual tag name define after renaming from altitude to elevation.
1237
1238 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * gst/gstpad.c: (add_unref_pad_to_list),
1241         (gst_pad_get_internal_links_default):
1242         Add fallback when calling the deprecated function on an element that
1243         implements the new internal_link handler.
1244
1245 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1246
1247         * docs/gst/gstreamer-sections.txt:
1248         * gst/gsttaglist.c:
1249         * gst/gsttaglist.h:
1250           Add new tags for geo location and clarify purpose of existing location
1251           tag. Fixes #481169
1252
1253 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         Patch by: Olivier Crete <tester at tester dot ca>
1256
1257         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1258         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1259         Use thread-safe internal links iterator. Fixes #549504.
1260
1261 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1262
1263         Based on patch by: Olivier Crete <tester at tester dot ca>
1264
1265         * docs/gst/gstreamer-sections.txt:
1266         * win32/common/libgstreamer.def:
1267         * gst/gstpad.c: (gst_pad_init),
1268         (gst_pad_set_iterate_internal_links_function),
1269         (int_link_iter_data_free), (iterate_pad),
1270         (gst_pad_iterate_internal_links_default),
1271         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1272         * gst/gstpad.h:
1273         Add threadsafe replacement functions for getting internal links of an
1274         element. Deprecate the old internal links functions.
1275         API:GstPad::gst_pad_set_iterate_internal_links_function()
1276         API:GstPad::GstPadIterIntLinkFunction
1277         API:GstPad::gst_pad_iterate_internal_links()
1278         API:GstPad::gst_pad_iterate_internal_links_default()
1279
1280         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1281         (gst_proxy_pad_init):
1282         Implement threadsafe internal links.
1283
1284         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1285         Unit test for internal links on tee. See #549504.
1286
1287 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1288
1289         * tests/check/Makefile.am:
1290         libs/transform1 test requires libs/test_transform.c
1291
1292 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1293
1294         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1295         Die evil deadlock, die !
1296
1297 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1298
1299         * gst/gstutils.c: (gst_element_get_compatible_pad):
1300         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1301         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1302         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1303         not steal the refcount of the given caps as stated.
1304
1305         REVERT THIS COMMIT ONCE FIXED !
1306         REVERT THIS COMMIT ONCE FIXED !
1307         REVERT THIS COMMIT ONCE FIXED !
1308         REVERT THIS COMMIT ONCE FIXED !
1309         REVERT THIS COMMIT ONCE FIXED !
1310         REVERT THIS COMMIT ONCE FIXED !
1311
1312 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1313
1314         * gst/gstiterator.c:
1315         * gst/gstiterator.h:
1316         After 3 years it's about time to revise the documentation of the
1317         iterator objects.
1318
1319 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1320
1321         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1322         Make the internal links function less thread-unsafe and add some
1323         comments, dunno why.
1324
1325 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1326
1327         * gst/gst_private.h:
1328           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1329           build with --disable-gst-debug.
1330
1331 2008-08-28  David Schleef  <ds@schleef.org>
1332
1333         * gst/gstpadtemplate.c: Revert last change, since it breaks
1334           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1335           but shouldn't be enabled until we've released fixed versions
1336           of -good and -ffmpeg.
1337
1338 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1339
1340         * gst/gstobject.c:
1341           Put the gst_object_get_name() back in.
1342
1343 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1344
1345         * gst/gstpadtemplate.c:
1346           The old behaviour was that gst_pad_template_new() takes ownership of
1347           the caps. As we now call g_object_new() which calls g_object_set() and
1348           which copies the caps, we have to unref them to not leak them. Fixes
1349           make valgrid for me.
1350
1351 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1352
1353         * gst/gsturi.c:
1354           Don't segfault on input like "tel:+1-123-555-1234".
1355
1356 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1357
1358         * gst/gstobject.c:
1359           Due to popular request also include ObjectType in
1360           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1361
1362 2008-08-26  David Schleef  <ds@schleef.org>
1363
1364         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1365           src_val must be positive, because that's not a requirement.
1366           This causes problems with converting negative granulepos
1367           values for Dirac.
1368         * gst/gstquery.c: Same, gst_query_new_convert().
1369
1370 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1371
1372         * gst/gstclock.c: (gst_clock_add_observation):
1373         Add some more debugging to the clock slaving code.
1374
1375         * win32/common/libgstbase.def:
1376         Add new basetransform method.
1377
1378 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1379
1380         * gst/gstbin.c: (gst_bin_element_set_state):
1381         Take the (recursive) state lock between getting the locked state of an
1382         element and changing the element state. This allows the application to
1383         lock an element's state and then change its state without races.
1384
1385 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1386
1387         * gst/gstbin.c: (gst_bin_element_set_state):
1388         When an element is in the locked state we still want to update the
1389         base_time of the element.
1390
1391 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1392
1393         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1394         Use the result from gst_pad_set_caps() instead of assuming the element
1395         always accepted the caps computed by the default negotiate function.
1396
1397 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1398
1399         * docs/libs/gstreamer-libs-sections.txt:
1400         * libs/gst/base/gstbasetransform.c:
1401         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1402         (gst_base_transform_chain), (gst_base_transform_suggest),
1403         (gst_base_transform_reconfigure):
1404         * libs/gst/base/gstbasetransform.h:
1405         Implement method for reconfiguring basetransform.
1406         API: GstBaseTransform::gst_base_transform_reconfigure()
1407
1408 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1409
1410         patch by: Murray Cumming <murrayc@murrayc.com>
1411
1412         * gst/gstutils.c:
1413           Mention that this is just like gst_buffer_merge() but with extra
1414           unreffing for C coders. Advise language bindings not to wrap it.
1415           Fixes Bug #533856.
1416           
1417           Also fix file comment.
1418
1419 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1420
1421         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1422
1423         * plugins/elements/gstfakesink.c:
1424         * plugins/elements/gstfakesrc.c:
1425           Call super::event() when not handling it. Fixes #544855.
1426
1427 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1428
1429         Patch by: Alessandro Decina <alessandro@nnva.org>
1430         * plugins/elements/gstfilesrc.c:
1431           Use 64 bit variants of stat functions on win32, to enable support
1432           of large files there.
1433           Fixes #547277.
1434
1435 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1436
1437         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1438         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1439         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1440         (gst_base_sink_get_position), (gst_base_sink_change_state):
1441         Improve position reporting in the flushing state.
1442         Also report the position when we are not yet prerolled but we
1443         have a newsegment event. Fixes #543444.
1444         Improve the pull-based negotiation code.
1445
1446         * tests/check/elements/fakesink.c: (GST_START_TEST),
1447         (fakesink_suite):
1448         Add testcase for position reporting while flushing in PAUSED and
1449         PLAYING.
1450
1451         * tests/check/generic/sinks.c: (GST_START_TEST):
1452         Update unit-test, we can now query the position as soon as we receive a
1453         NEWSEGMENT event.
1454
1455 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1456
1457         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1458
1459         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1460         When the subclass event handler releases the PREROLL_LOCK, we could be
1461         in the flushing state and we have to ignore the event. Fixes #548394.
1462
1463 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1464
1465         * tools/gst-launch.1.in:
1466           Document GST_REGISTRY_UPDATE environment variable.
1467
1468 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1469
1470         * libs/gst/base/gstbasetransform.c:
1471         (gst_base_transform_prepare_output_buffer):
1472         If the element is configured in passthrough mode but the
1473         prepare_output_buffer gave us a new output buffer, discard that buffer
1474         and reuse the input buffer.
1475
1476 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1477
1478         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1479
1480         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1481         (gst_tee_request_new_pad), (gst_tee_release_pad),
1482         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1483         * plugins/elements/gsttee.h:
1484         Protect pad_alloc with a new lock so that we can be sure that nothing is
1485         performing a pad_alloc when removing the pad. Fixes #547835.
1486
1487         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1488         (buffer_alloc_harness_teardown), (app_thread_func),
1489         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1490         Added testcase for shutdown race.
1491
1492 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1493
1494         * gst/gstpad.h:
1495         Add doc
1496
1497 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1498
1499         * libs/gst/base/gstbasetransform.c:
1500         (gst_base_transform_prepare_output_buffer),
1501         (gst_base_transform_buffer_alloc):
1502         Go over the buffer_alloc function again and make sure we always end up
1503         allocating a buffer.
1504         Add some more docs.
1505         Avoid doing pad alloc when we have a pending suggestion because we
1506         cannot yet deal with changing caps in that case. Fixes #547728
1507
1508 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1509
1510         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1511
1512         * docs/manual/advanced-clocks.xml:
1513         * docs/manual/clocks.png:
1514         * docs/manual/diagrams-clocks.svg:
1515           Add one more image showing different times together with a describing
1516           paragraph. Fixes #547729.
1517
1518 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1519
1520         * win32/common/libgstbase.def:
1521         Add new method.
1522
1523 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1524
1525         * libs/gst/base/gstbasetransform.c:
1526         (gst_base_transform_transform_caps),
1527         (gst_base_transform_prepare_output_buffer),
1528         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1529         Don't overwrite the outsize when calculating the expected size of a new
1530         buffer because we still need it in case we cannot process the new
1531         buffer.
1532         When converting the size of the new buffer to an upstream size, actually
1533         use the expected size of the buffer, not some other random value.
1534         Use an atomic int to signal that a new upstream caps suggestion is
1535         available.
1536         When we can convert the current buffer to a new format, check if the
1537         buffer size is of the expected size and allocate a new buffer of the
1538         expected size when this is not the case. Fixes #546883.
1539
1540         * tests/check/libs/transform1.c: (GST_START_TEST):
1541         remove ifdeffed code from the unit test.
1542
1543 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1544
1545         * pkgconfig/gstreamer-uninstalled.pc.in:
1546         * pkgconfig/gstreamer.pc.in:
1547           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1548           called gstcontroller-0.10.
1549
1550 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * gst/gstchildproxy.h:
1553         * gst/gstpreset.h:
1554           Remove double interface from doc-string.        
1555
1556 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1557
1558         * libs/gst/base/gstbasesrc.c:
1559         * libs/gst/base/gstbasetransform.c:
1560           Fix headings in docs and gtk-doc warnings.
1561
1562 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1563
1564         * gst/gstregistrybinary.c:
1565           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1566           libc.
1567           Fixes #544776.
1568
1569 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1570
1571         * libs/gst/base/gstbasetransform.c:
1572         (gst_base_transform_buffer_alloc):
1573         Fix a "may be used unitialized" warning.
1574
1575 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1576
1577         * docs/gst/gstreamer-sections.txt:
1578         * gst/gstpreset.h:
1579           Document preset-iface vmethods.
1580
1581 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1582
1583         * docs/manual/advanced-interfaces.xml:
1584           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1585           only used to discover devices.
1586
1587 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1588
1589         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1590
1591         * gst/gst.c: (init_pre):
1592         Make sure gettext returns translations in UTF-8 encoding rather
1593         than in the current locale encoding (#546822).
1594
1595 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1596
1597         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1598         Fix subset test.
1599
1600         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1601         Improve unit test subset tests and add a testcase for the subset failure
1602         cases.
1603
1604         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1605         Improve subtraction unit test.
1606
1607 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1608
1609         * plugins/elements/gsttee.c:
1610           Unlock, instead of locking again.
1611
1612 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1613
1614         * gst/gstpad.h:
1615         Clarify the docs a bit more.
1616
1617 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1618
1619         * tests/examples/metadata/read-metadata.c:
1620           Don't leak old taglist.
1621
1622 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1623
1624         Patch by: Olivier Crete <tester at tester dot ca>
1625
1626         * gst/gststructure.c:
1627         (gst_structure_fixate_field_nearest_fraction):
1628         Avoid overflows in fixation code when dealing with MAXINT values, which
1629         v4l2src seems to do.
1630         Fixes #546328.
1631
1632         * tests/check/gst/gststructure.c: (GST_START_TEST):
1633         Make a unit test to check the fix. 
1634
1635 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1636
1637         * plugins/elements/gstcapsfilter.c: (copy_func),
1638         (gst_capsfilter_set_property):
1639         Use new caps suggestion feature of basetransform to request a caps
1640         negotiation upstream.
1641
1642 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1643
1644         * docs/libs/gstreamer-libs-sections.txt:
1645         Add new function:
1646         API: GstBaseTransform::gst_base_transform_suggest()
1647
1648         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1649         (gst_base_transform_init), (gst_base_transform_transform_caps),
1650         (gst_base_transform_transform_size),
1651         (gst_base_transform_configure_caps),
1652         (gst_base_transform_can_transform),
1653         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1654         (gst_base_transform_prepare_output_buffer),
1655         (gst_base_transform_buffer_alloc),
1656         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1657         (gst_base_transform_chain), (gst_base_transform_activate),
1658         (gst_base_transform_set_passthrough),
1659         (gst_base_transform_is_passthrough),
1660         (gst_base_transform_set_in_place),
1661         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1662         (gst_base_transform_set_qos_enabled),
1663         (gst_base_transform_is_qos_enabled),
1664         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1665         (gst_base_transform_reconfigure):
1666         * libs/gst/base/gstbasetransform.h:
1667         Rewrite of basetransform to perform negotiation outside of the
1668         buffer_alloc functions.  Fixes #545853.
1669
1670         * tests/check/libs/transform1.c: (GST_START_TEST),
1671         (buffer_alloc_ct2):
1672         Update unit test.
1673
1674 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1675
1676         * tests/check/gst/gstpreset.c:
1677           Only run preset tests when $HOME is writable. Preliminary fix for
1678           #545433.
1679
1680 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1681
1682         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1683         (gst_bin_change_state_func), (bin_handle_async_done),
1684         (gst_bin_handle_message_func):
1685         Fix race for bins that simulate ASYNC state changes by inserting
1686         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1687         pending ASYNC messages even when the bin does not have ASYNC children.
1688         We note detect this behaviour because we will receive an ASYNC message
1689         that is originating from the bin itself. 
1690         Fixes races with decodebin2 state changes.
1691
1692         * tests/check/gst/gstbin.c: (GST_START_TEST):
1693         Add some more debug.
1694
1695 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1696
1697         * gst/gsttaglist.c: (_gst_tag_initialize):
1698           Fix typo.
1699
1700 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1701
1702         * gst/gsttaglist.c:
1703           Argh. actually save the text before committing. Now adds
1704           gst_tag_merge_strings_with_comma() to gst_tag_register().
1705
1706 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1707
1708         * gst/gsttaglist.c:
1709         * gst/gsttaglist.h:
1710           Do as tim pointed out and actually register the new tag. Also improve
1711           te docs and use gst_tag_merge_strings_with_comma() method to allow
1712           retriving all keywords merged in one list.
1713
1714 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * configure.ac:
1717         * docs/gst/gstreamer.types:
1718           Revert 'accidential' change of the configure option removal. We still
1719           need to generate the types file in configure --disable-load-save.
1720
1721 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * docs/gst/gstreamer-sections.txt:
1724         * gst/gsttaglist.h:
1725           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1726
1727 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1728
1729         * gst/gstpadtemplate.c:
1730           (gst_pad_template_class_init), (gst_static_pad_template_get),
1731           (gst_pad_template_new), (gst_pad_template_pad_created),
1732           (gst_pad_template_set_property), (gst_pad_template_get_property):
1733           Add "name-template", "direction", "presence" and "caps" properties,
1734           so that gst_pad_template_new() is just a thin wrapper around
1735           g_object_new(), which is better for bindings. (Fixes: #539772)
1736
1737 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1738
1739         * gst/gsturi.c:
1740           Be more liberal in what URIs we accept.
1741           Do not unescape bits of the URI for no apparent reason before passing to
1742           the element. Fixes #545352.
1743
1744 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1745
1746         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1747
1748         * gst/gst.c:
1749         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1750
1751 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1752
1753         * configure.ac:
1754         * docs/gst/gstreamer-sections.txt:
1755         * docs/gst/gstreamer.types:
1756         * docs/gst/gstreamer.types.in:
1757         * gst/Makefile.am:
1758         * gst/gst.c:
1759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1760         * gst/gstconfig.h.in:
1761         * gst/gstelement.c: (gst_element_get_index):
1762         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1763         (gst_registry_binary_load_feature),
1764         (gst_registry_binary_read_cache):
1765         * gst/gstregistryxml.c: (load_feature),
1766         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1767         * plugins/Makefile.am:
1768         * tools/gst-indent:
1769         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1770         (print_plugin_features), (print_element_features):
1771         * tools/gst-xmlinspect.c: (print_event_masks),
1772         (print_element_info):
1773         * win32/common/gstconfig.h:
1774         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1775
1776         Disabling the indexers and URI handler code will only reduce the
1777         required amount of memory by a very small amount but on the other hand
1778         requires much more maintaince work. Apart from that many places of
1779         code are broken when disabling them.
1780
1781         Disabling the enum types doesn't reduce the required amount of memory
1782         by more than a few bytes and makes it hard to fix bugs like #539772,
1783         i.e. use the enums as GObject properties.
1784
1785 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1786
1787         * docs/design/part-TODO.txt:
1788         Add some thoughts and problems with upstream renegotiation.
1789
1790 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1791
1792         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1793         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1794         Remove silly redundant debug.
1795         Add some more debug info.
1796         Clarify the docs regarding new caps received from pad_alloc.
1797
1798 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1799
1800         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1801         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1802         Make setting the caps more threadsafe.
1803
1804 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1805
1806         * docs/design/part-element-transform.txt:
1807         Update docs.
1808
1809 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1810
1811         * plugins/elements/gstqueue.c: (gst_queue_init),
1812         (gst_queue_acceptcaps):
1813         Add and use a custom acceptcaps function instead of falling back to the
1814         potentially less optimized default implementation.
1815
1816 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1817
1818         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1819           Only sanity-check the buffer size if requested_caps == buffer_caps
1820           (ie. don't take pad caps into account, they're not relevant here)
1821
1822 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1823
1824         * plugins/elements/gsttee.c:
1825         * plugins/elements/gsttee.h:
1826           Reverting as not everything is clear yet. Needs some general design
1827           work.
1828
1829 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1830
1831         * ChangeLog:
1832           ChangeLog surgery for tee commit.
1833
1834 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * docs/gst/gstreamer-sections.txt:
1837           Cleanup section-file.
1838
1839 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1840
1841         * plugins/elements/gsttee.c:
1842         * plugins/elements/gsttee.h:
1843           Relay tag events in tee. Fixes parts of #474016.
1844           Downgrades 3 reoccurring debugs to log.
1845
1846 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1847
1848         * configure.ac:
1849         * libs/gst/Makefile.am:
1850           Build the net library if we have winsock2.
1851
1852 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1853
1854         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1855
1856         * docs/manual/advanced-threads.xml:
1857         * docs/manual/diagrams-pipelines.svg:
1858         * docs/manual/hello-world.png:
1859         * docs/manual/linked-elements.png:
1860         * docs/manual/mime-world.png:
1861         * docs/manual/queue.png:
1862         * docs/manual/thread-buffering.png:
1863         * docs/manual/thread-synchronizing.png:
1864           Replace one diagram with two separate ones and updates others.
1865           Fixes #542401.
1866
1867 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1868
1869         * gst/gstelement.h:
1870         Fix link in documentation.
1871
1872 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1873
1874         * gst/gstmessage.c:
1875         Fix confusing documentation.
1876
1877 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1878
1879         * libs/gst/base/gstbasesrc.h:
1880         revert the changes to the header file for the ABI.
1881
1882 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1883
1884         * libs/gst/base/gstbasesrc.c:
1885         * libs/gst/base/gstbasesrc.h:
1886         Don't cache the seekable status.
1887         Fixes bug #544174
1888
1889 2008-07-24  Rene Stadler  <mail@renestadler.de>
1890
1891         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1892         code to close the pipeline graph.  This prevents the program from
1893         printing internal data flow errors.
1894
1895 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1896
1897         * docs/manual/basics-bus.xml:
1898         Correct typo. Fixes bug #544320.
1899
1900 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1901
1902         * configure.ac:
1903           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1904           Add check (taken from -base) for winsock, adds WIN32_LIBS
1905         * gst/Makefile.am:
1906           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1907           winsock.
1908           Define GST_EXPORTS when building libgstreamer (only used on win32)
1909         * gst/gst_private.h:
1910         * gst/gstinfo.h:
1911           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1912           for symbols that we need to export in both these files.
1913         * gst/gstpoll.c:
1914           Include gst_private.h higher up to avoid some compile problems on win32.
1915
1916 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1917
1918         * gst/gstvalue.c:
1919         Fix typos.
1920
1921 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1922
1923         * gst/gstcaps.c:
1924         Previous commit was wrong NULL caps does not exist
1925         and indicate an error, so also add a FIXME to
1926         gst_caps_is_equal where NULL caps are accepted.
1927
1928 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1929
1930         * gst/gstcaps.c:
1931         Allow passing of NULL to gst_caps_union
1932
1933 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1934
1935         * gst/gstghostpad.c:
1936         Add in doc that gst_ghost_pad_set_target can accept
1937         NULL to clear target
1938
1939 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1940
1941         * gst/gstplugin.c:
1942         * gst/gstregistry.c:
1943           GstRegistryPool doesn't exist; don't refer to it in docs.
1944           Don't refer to functions that don't exist in docs, it's
1945           unhelpful.
1946
1947 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1948
1949         * gst/gst.c:
1950         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1951
1952 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1953
1954         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1955
1956         * docs/pwg/building-testapp.xml:
1957         Don't use an undeclared variable in the example program.
1958         Fixes bug #542573.
1959
1960 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * gst/gstdebugutils.c:
1963           Squeeze ghost-pad links and remove <> from classname labels to save
1964           more horizontal space.
1965
1966 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1967
1968         * gst/gstdebugutils.c:
1969           Give request and sometimes pads a different shpe style. Condense the
1970           graphs a little more.
1971
1972 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1973
1974         * configure.ac:
1975           Don't require flex and bison if the parser is disabled.
1976
1977 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1978
1979         * libs/gst/controller/gstinterpolationcontrolsource.c:
1980         (_list_find_sorted_custom):
1981         Don't use declarations after statements.
1982
1983 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1984
1985         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1986         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1987         of the the child-added / -removed signals as GstChildProxy
1988         only supports GstObjects.
1989
1990 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1991
1992         * gst/gstdebugutils.c:
1993         Fix memleak
1994
1995 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1996
1997         Patch by: Alessandro Decina <alessandro at nnva dot org>
1998
1999         * gst/gstpoll.c:
2000         Fix "ignored return value" compiler warning with newer glibc.
2001
2002 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2003
2004         * gst/gstchildproxy.c:
2005         Fix copy&paste error in gst_child_proxy_removed() documentation.
2006
2007 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2008
2009         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2010           Print error debug message if plugin description fields that should
2011           be set are NULL.
2012
2013         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2014           Don't crash if the string to serialise is NULL (it really should
2015           not be, but apparently this used to work with the xml registry ...).
2016
2017 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2018
2019         * tools/gst-plot-timeline.py:
2020         Fix parsing of log messages
2021
2022 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2023
2024         * win32/common/libgstbase.def::
2025           Sort alphabetically so make check-exports doesn't barf.
2026
2027 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2028
2029         * gst/gstevent.c:
2030           Use gst_format_get_name() to improve debug output.
2031
2032         * gst/gstpreset.c:
2033           Remove #ifdef'ed code. Add TODO comment.
2034
2035         * gst/gstsegment.c:
2036           Add debug output to ease spotting format != segment.format assertions.
2037
2038 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2039
2040         * tests/check/libs/gdp.c: (gst_dp_suite):
2041         Also enable the GDP unit test again on PPC now that the bug
2042         is fixed.
2043
2044 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2045
2046         * libs/gst/dataprotocol/dataprotocol.c:
2047         Don't write to the same region of memory as a uint64 and uint16
2048         as this breaks strict aliasing rules and apparantly breaks on PPC
2049         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2050
2051 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2052
2053         * libs/gst/controller/gstinterpolationcontrolsource.c:
2054           Optimize list handling. Use own find function. Exploit that fact that
2055           the list is sorted. Also pass back the node before, so that we can
2056           insert quickly. Have a fast path for append.
2057
2058 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2059
2060         * docs/design/draft-framestep.txt:
2061         * docs/design/part-negotiation.txt:
2062           Fix two typos.
2063
2064 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2065
2066         * configure.ac:
2067           Show configuration sumary after configure run. Based on patch by
2068           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2069
2070 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2071
2072         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2073
2074         * docs/manual/advanced-autoplugging.xml:
2075         * docs/manual/advanced-threads.xml:
2076         * docs/manual/basics-bins.xml:
2077         * docs/manual/basics-elements.xml:
2078         * docs/manual/basics-helloworld.xml:
2079         * docs/manual/basics-pads.xml:
2080           Add scale factor for pdf output.
2081
2082         * docs/manual/intro-basics.xml:
2083           Switched sections "pads" and "bins" and added a pipeline diagram.
2084
2085         * docs/manual/intro-gstreamer.xml:
2086           Added more info on gstreamer.
2087
2088         * docs/manual/intro-motivation.xml:
2089           Commented out the whole section "current problem", which sounds
2090           historical and somehow osolete; it could be turned in a positive
2091           way and reused to improve the design principles.
2092
2093         * docs/manual/intro-preface.xml:
2094           - Update URLs to library.gnome.org. 
2095           - Do not mention GTK+ in preliminary reading (irrelevant). 
2096           - Mention Plugin Writer's Manual and further reading only in the
2097             previous section.
2098           - Added a list of most relevant GObject/glib topics.
2099
2100         * docs/manual/Makefile.am:
2101         * docs/manual/bin-element-ghost.fig:
2102         * docs/manual/bin-element-ghost.png:
2103         * docs/manual/bin-element-noghost.fig:
2104         * docs/manual/bin-element-noghost.png:
2105         * docs/manual/bin-element.fig:
2106         * docs/manual/bin-element.png:
2107         * docs/manual/filter-element-multi.fig:
2108         * docs/manual/filter-element-multi.png:
2109         * docs/manual/filter-element.fig:
2110         * docs/manual/filter-element.png:
2111         * docs/manual/gstreamer-overview.png:
2112         * docs/manual/hello-world.fig:
2113         * docs/manual/hello-world.png:
2114         * docs/manual/linked-elements.fig:
2115         * docs/manual/linked-elements.png:
2116         * docs/manual/mime-world.fig:
2117         * docs/manual/mime-world.png:
2118         * docs/manual/queue.fig:
2119         * docs/manual/queue.png:
2120         * docs/manual/simple-player.png:
2121         * docs/manual/sink-element.fig:
2122         * docs/manual/sink-element.png:
2123         * docs/manual/src-element.fig:
2124         * docs/manual/src-element.png:
2125         * docs/manual/diagrams-general.svg:
2126         * docs/manual/diagrams-pipelines.svg:
2127           Removed .fig, added .png counterpart.
2128           
2129           Fixes: #539137
2130
2131 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2132
2133         * plugins/elements/gstmultiqueue.c:
2134         * plugins/elements/gstmultiqueue.h:
2135         revert extra-size-buffers stuff, caused some race conditions
2136         and extra-size-buffers is not used anymore. Docs needs some updates
2137
2138 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2139
2140         * win32/common/config.h:
2141         * win32/common/gstenumtypes.c:
2142         * win32/common/gstenumtypes.h:
2143         * win32/common/gstversion.h:
2144           Update win32 files.
2145
2146 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2147
2148         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2149           (GST_DEBUG_BIN_TO_DOT_FILE):
2150           Add missing Since' markers to gtk-doc blurbs.
2151
2152 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2153
2154         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2155         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2156         (set_caps_1), (set_caps_ct1), (transform_ct1),
2157         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2158         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2159         (transform_size_ct2), (buffer_alloc_ct2):
2160         Add some more tests with switching caps in buffer_alloc.
2161
2162 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2163
2164         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2165         (gst_test_trans_class_init), (result_sink_chain),
2166         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2167         (gst_test_trans_push), (gst_test_trans_pop):
2168         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2169         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2170         (set_caps_1), (set_caps_ct1), (transform_ct1),
2171         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2172         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2173         (transform_size_ct2), (buffer_alloc_ct2),
2174         (gst_basetransform_suite):
2175         More tests, prepare for tests with switching caps in buffer_alloc.
2176
2177 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2178
2179         * plugins/elements/gstmultiqueue.c:
2180         * plugins/elements/gstmultiqueue.h:
2181         Fix dead-lock in underrun_cb
2182
2183 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2184
2185         * docs/design/part-states.txt:
2186         Fix device open/close docs.
2187
2188 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2189
2190         * ChangeLog:
2191           Mention bugnumber for last commit.
2192
2193 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2194
2195         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2196
2197         * docs/manual/manual.xml:
2198         - Reorganised the previous "introduction" bundle into Foreword,
2199         Introduction, and About GStreamer. The two first are <preface>
2200         docbook elements. The later is the first part of the book.
2201         - added intro-gstreamer.xml (content partially from
2202         intro-preface.xml)
2203         - moved appendix-win32.xml into appendix-integration.xml
2204
2205         * docs/manual/intro-preface.xml: gstreamer section moved...
2206         * docs/manual/intro-gstreamer.xml: ...here. new file.
2207
2208         * docs/manual/appendix-win32.xml: removed file. Content moved...
2209         * docs/manual/appendix-integration.xml: ...here.
2210         
2211         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2212         * docs/manual/appendix-checklist.xml: ...here.
2213         
2214         Fixes: 538764
2215
2216 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2217
2218         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2219
2220         * docs/manual/basics-helloworld.xml:
2221         * docs/manual/hello-world.fig:
2222           - Explicitely include glib.h.
2223           - Do not use global variables.
2224           - Use g_printerr() instead of g_print().
2225           - Minor formating/renaming to increase readibility.
2226           - Renamed new_pad() to on_pad_added()
2227           - Improved explenatory comments.
2228           - renamed ogg parser to ogg demuxer
2229           - Use "autoaudiosink" instead of "alsasink".
2230           Fixes: #538619
2231
2232 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2233
2234         * ChangeLog:
2235           Remove cvs conflict marker.
2236
2237 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2238
2239         * docs/README:
2240           Document that for plgin-docs we extraxt he short-desc from the element
2241           details.
2242
2243         * docs/design/part-states.txt:
2244           Tell that devices should be closed in PAUSED -> READY.
2245
2246         * docs/manual/README:
2247           Document how tests in the manual are handled.
2248
2249         * docs/manuals.mak:
2250           Typo in comment.
2251
2252 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2253
2254         * gst/gstbin.c: (bin_query_latency_fold):
2255         Only care about latency min and max when the sink is actually a live
2256         sink.
2257
2258 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2259
2260         * docs/design/part-block.txt:
2261         Fix typo.
2262
2263         * docs/design/part-element-transform.txt:
2264         Add notes about why transform needs to know input/output sizes.
2265         Add some issues that need to be solved.
2266         Add some more use cases.
2267
2268         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2269         (gst_test_trans_class_init), (result_sink_chain),
2270         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2271         (gst_test_trans_push), (gst_test_trans_pop):
2272         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2273         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2274         (set_caps_1), (set_caps_ct1), (transform_ct1),
2275         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2276         (gst_basetransform_suite):
2277         Add suport for different pad templates and buffer-alloc.
2278         Add more checks for caps and buffer-alloc.
2279         Add checks for proxy buffer alloc.
2280         Add unit test for copy transform.
2281
2282 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2283
2284         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2285
2286         * docs/manual/appendix-integration.xml:
2287         * docs/manual/appendix-licensing.xml:
2288         * docs/manual/basics-elements.xml:
2289         * docs/manual/basics-helloworld.xml:
2290         * docs/manual/basics-pads.xml:
2291         * docs/manual/highlevel-components.xml:
2292         * docs/manual/highlevel-xml.xml:
2293         * docs/manual/intro-basics.xml:
2294         * docs/manual/intro-preface.xml:
2295           Typo and formatting fixes (#538594).
2296
2297 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2298
2299         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2300         Fix some memory leaks and uses of object instances that we don't
2301         actually own.
2302
2303 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2304
2305         * plugins/elements/gstmultiqueue.c:
2306         Add functionality to extra-size-buffers property.
2307
2308 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2309
2310         * plugins/elements/gstmultiqueue.c:
2311         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2312         activate the pads if they are added in STATE_NULL.
2313
2314 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2315
2316         * docs/libs/gstreamer-libs-sections.txt:
2317         Add new API to doc
2318         * libs/gst/check/gstcheck.c:
2319         * libs/gst/check/gstcheck.h:
2320         API: gst_check_teardown_pad_by_name
2321
2322 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2323
2324         * libs/gst/check/gstcheck.c:
2325         * libs/gst/check/gstcheck.h:
2326         Also setup request pads and allow setup pads by name (#537812)
2327         API: gst_check_setup_src_pad_by_name
2328         API: gst_check_setup_sink_pad_by_name
2329
2330 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2331
2332         * tests/check/gst/gstbuffer.c:
2333         * tests/check/pipelines/parse-launch.c:
2334           Use HAVE_VALGRIND_H some more.
2335
2336 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2337
2338         * scripts/cvs-update.sh:
2339           Pass arguments to make.
2340           Run autoregen.sh if Makefile is not there.
2341
2342 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2343
2344         * configure.ac:
2345         * gst/gstinfo.c:
2346           Don't assume that <valgrind/valgrind.h> exists just because
2347           the binary is there.
2348
2349 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2350
2351         * tests/check/Makefile.am:
2352         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2353         (gst_test_trans_class_init), (gst_test_trans_init),
2354         (gst_test_trans_set_data), (result_sink_chain),
2355         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2356         (gst_test_trans_pop):
2357         * tests/check/libs/transform1.c: (GST_START_TEST),
2358         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2359         Add some test basetransform element and the beginnings of various
2360         unit tests for it.
2361
2362 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2363
2364         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2365         Increase code readability.
2366         Don't try to compare buffer offsets when ther are invalid.
2367
2368 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2369
2370         * docs/design/Makefile.am:
2371           Dist some more design docs.
2372
2373         * docs/random/moving-plugins:
2374           Small addition: good plugins mustn't have functional code
2375           within assertion macros.
2376
2377 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2378
2379         * docs/design/draft-framestep.txt:
2380         Some ideas about a framestep API
2381
2382         * docs/design/part-element-transform.txt:
2383         Start design and use cases for basetransform in order to get it
2384         fixed soon.
2385
2386 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2387
2388         * gst/gsttaglist.h:
2389           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2390           be in UTF-8 encoding.
2391
2392 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2393
2394         * gst/gstbus.c:
2395           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2396
2397 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2398
2399         * plugins/elements/gstcapsfilter.c:
2400         * plugins/elements/gstfakesink.c:
2401         * plugins/elements/gstfakesrc.c:
2402         * plugins/elements/gstfdsink.c:
2403         * plugins/elements/gstfdsrc.c:
2404         * plugins/elements/gstfilesink.c:
2405         * plugins/elements/gstfilesrc.c:
2406         * plugins/elements/gstidentity.c:
2407         * plugins/elements/gstmultiqueue.c:
2408         * plugins/elements/gstqueue.c:
2409         * plugins/elements/gsttee.c:
2410         * plugins/elements/gsttypefindelement.c:
2411           Remove short_description. Add basic docs for gsttypefindelement.
2412           Simplify markup for fakesrc/fdsrc.
2413
2414 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2415
2416         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2417         Added Since doc.
2418
2419 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2420
2421         Patch by: Joel Larsson <tilljoel at gmail dot com>
2422
2423         * docs/plugins/gstreamer-plugins.args:
2424         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2425         (gst_fd_src_init), (gst_fd_src_update_fd),
2426         (gst_fd_src_set_property), (gst_fd_src_get_property),
2427         (gst_fd_src_create):
2428         * plugins/elements/gstfdsrc.h:
2429         Add timeout property like udpsrc. Fixes #538628.
2430         Add some more docs and example pipelines.
2431
2432 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2433
2434         * docs/libs/gstreamer-libs-sections.txt:
2435         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2436         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2437         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2438         (gst_base_sink_do_sync):
2439         * libs/gst/base/gstbasesink.h:
2440         * win32/common/libgstbase.def:
2441         Add method to allow sinks to specify additional delay between the sync
2442         times and the actual rendering of the data.
2443         API: gst_base_sink_set_render_delay()
2444         API: gst_base_sink_get_render_delay()
2445
2446 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2447
2448         * configure.ac:
2449         Bump version number back to dev -> 0.10.20.1
2450
2451 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2452
2453         * docs/gst/gstreamer-sections.txt:
2454         * gst/gsttaglist.c: (_gst_tag_initialize):
2455         * gst/gsttaglist.h:
2456         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2457         Fixes bug #538568.
2458
2459 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2460
2461         * libs/gst/controller/gstcontroller.c:
2462           Revert one change, that make ret value possible uninitialized.
2463
2464 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2465
2466         * libs/gst/controller/gstcontroller.c:
2467           Use freeze/thaw notify to sync notify emission a bit (its also more
2468           efficient). Move debug output to LOG (is called a lot in a loop).
2469           Always unset g_values if the have been initialized.
2470
2471 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2472
2473         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2474         (gst_base_sink_wait_eos), (gst_base_sink_event):
2475         If we have not seen a buffer before EOS, use the segment values to
2476         report the current position instead of invalid positions.
2477
2478 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2479
2480         * docs/plugins/tmpl/.cvsignore:
2481         * tests/check/gst/.cvsignore:
2482           Ignore more.
2483
2484 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2485
2486         * libs/gst/controller/gstinterpolation.c:
2487         * libs/gst/controller/gstinterpolationcontrolsource.c:
2488         * tests/check/libs/controller.c:
2489           Rewrite handling of default values. Fix overflow with unsigned types
2490           in linear interpolation. Remove now obsolete _first_value() function.
2491           Add more tests. Fixes #538201.
2492
2493 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2494
2495         * libs/gst/base/gstbasetransform.c:
2496         (gst_base_transform_class_init), (gst_base_transform_init),
2497         (gst_base_transform_transform_caps),
2498         (gst_base_transform_prepare_output_buffer):
2499         Add debug info.
2500         When a buffer is writable, its metadata is also writable so we don't
2501         need to subbuffer (which then makes the buffer not-writable anymore).
2502
2503 === release 0.10.20 ===
2504
2505 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2506
2507         * configure.ac:
2508           releasing 0.10.20, "You Crazy Diamond"
2509
2510 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2511
2512         * configure.ac:
2513         0.10.19.3 pre-release
2514
2515 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2516
2517         * configure.ac:
2518         * gst/gstpreset.c:
2519         Rename DATADIR to GST_DATADIR to avoid build problems
2520         on win32. Patch By: David Schleef <ds@schleef.org>
2521         Fixes: #536857
2522
2523 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2524
2525         * configure.ac:
2526         Explicitely link with -ldl if dladdr() is found there. Before it was
2527         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2528         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2529
2530 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2531
2532         * gst/gsterror.c: (_gst_stream_errors_init):
2533           Fix typo (spotted by Fabricio Godoy, #536723).
2534
2535 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2536
2537         * configure.ac:
2538         0.10.19.2 pre-release
2539
2540 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2541
2542         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2543         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2544         Add some debug.
2545         Make sure we don't generate invalid QoS messages.
2546
2547 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2548
2549         * gst/gstevent.c: (gst_event_new_qos):
2550         Add some assert and docs for invalid input to the qos function.
2551
2552 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2553
2554         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2555         (gst_base_sink_get_position):
2556         The reported position must always be smaller than the last seen
2557         timestamps (or timestamp + duration for reverse).
2558
2559 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2560
2561         Patch by: Rob Bradford <rob at robster dot org dot uk>
2562
2563         * gst/gstregistry.c: (gst_registry_scan_path_level):
2564         Don't recurse into .debug directories as some distros install
2565         the debugging symbols next to the plugins in .debug directories
2566         and dlopen() crashes on them sometimes. Fixes bug #508070.
2567
2568         Add FIXME for 0.11 to not recurse into directories at all because
2569         it's very inconsistent to the behaviour of other PATH environment
2570         variables.
2571
2572 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2573
2574         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2575         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2576         Fix position query range checks in reverse playback.
2577
2578 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2579
2580         * gst/gstelement.c:
2581         * gst/gstelement.h:
2582         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2583         clear of the reference to the resulting pad must be released later
2584         or not, resulting in possible leaks. Fixes bug #533865.
2585
2586 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2587
2588         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2589
2590         * gst/gstelementfactory.c:
2591         Small doc fix. Fixes #535285.
2592
2593 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2594
2595         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2596
2597         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2598         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2599         (gst_base_src_loop), (gst_base_src_set_flushing),
2600         (gst_base_src_change_state):
2601         Make sending an EOS event to the basesrc non-blocking even if the
2602         implementation does blocking waits in the create function. This is done
2603         by unlocking the create function when EOS is sent.
2604         Fixes #535218.
2605
2606 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2607
2608         * tools/gst-inspect.c: (print_element_properties_info):
2609         If possible print the element type of GValueArray properties.
2610
2611 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2612
2613         * gst/gstiterator.c:
2614         Remove an unused field from the private GstListIterator struct.
2615
2616 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2617
2618         * libs/gst/controller/gstcontroller.c:
2619           Add parameter guards.
2620
2621 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2622
2623         * tests/check/gst/gstpipeline.c:
2624           Revert test change and add comment why it should not work.
2625
2626 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2627
2628         * tests/check/gst/gstpipeline.c:
2629           Extending the test a little to verify that we also get the NULL state-
2630           change message.
2631
2632 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2633
2634         * gst/gstpreset.c: (gst_preset_default_get_meta),
2635           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2636           (gst_preset_load_preset), (gst_preset_save_preset),
2637           (gst_preset_rename_preset), (gst_preset_delete_preset),
2638           (gst_preset_set_meta):
2639           Add Since: markers to docs blurbs.
2640
2641         * win32/common/libgstreamer.def:
2642           Add recently-added API.
2643
2644 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2645
2646         Patch by: Stefan Kost  <ensonic@users.sf.net>
2647
2648         * configure.ac:
2649         Add DATADIR for storing presets.
2650
2651         * docs/gst/gstreamer-docs.sgml:
2652         * docs/gst/gstreamer-sections.txt:
2653         * docs/gst/gstreamer.types.in:
2654         Add GstPreset to docs.
2655
2656         * gst/Makefile.am:
2657         * gst/gst.h:
2658         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2659         (preset_open_and_parse_header), (preset_parse_version),
2660         (preset_merge), (preset_get_keyfile),
2661         (gst_preset_default_get_preset_names),
2662         (gst_preset_default_get_property_names),
2663         (gst_preset_default_load_preset),
2664         (gst_preset_default_save_presets_file),
2665         (gst_preset_default_save_preset),
2666         (gst_preset_default_rename_preset),
2667         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2668         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2669         (gst_preset_default_reset), (gst_preset_get_preset_names),
2670         (gst_preset_get_property_names), (gst_preset_load_preset),
2671         (gst_preset_save_preset), (gst_preset_rename_preset),
2672         (gst_preset_delete_preset), (gst_preset_set_meta),
2673         (gst_preset_get_meta), (gst_preset_class_init),
2674         (gst_preset_base_init), (gst_preset_get_type):
2675         * gst/gstpreset.h:
2676         Add GstPreset to core. Fixes #396779
2677
2678         * tests/check/Makefile.am:
2679         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2680         (gst_preset_test_set_property), (gst_preset_test_class_init),
2681         (gst_preset_test_base_init), (gst_preset_test_get_type),
2682         (gst_preset_test_plugin_init), (GST_START_TEST),
2683         (remove_preset_file), (test_setup), (test_teardown),
2684         (gst_preset_suite):
2685         Add GstPreset unit tests.
2686
2687 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2688
2689         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2690         The default event function on a sinkpad should return TRUE when
2691         there are no internal links but should collect the return values from
2692         the internal links otherwise.
2693
2694 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2695
2696         * plugins/elements/gsttypefindelement.c:
2697         (gst_type_find_element_src_event),
2698         (gst_type_find_element_handle_event):
2699         Use faster and safer _pad_push_event().
2700
2701 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2702
2703         * docs/gst/gstreamer-sections.txt:
2704         * gst/gstutils.c: (element_find_unlinked_pad),
2705           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2706         * gst/gstutils.h:
2707           API: add gst_bin_find_unlinked_pad()
2708           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2709
2710 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2711
2712         * gst/gstclock.c:
2713         * gst/gstclock.h:
2714         * gst/gsttask.c:
2715         * gst/gsttask.h:
2716         Fixed a bunch of typos.
2717
2718 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2719
2720         * gst/gstpad.h:
2721         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2722           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2723           (gst_parse_bin_from_description_full):
2724         * gst/gstutils.h:
2725           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2726
2727 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2728
2729         * docs/pwg/advanced-tagging.xml:
2730           Small docs update, can't be bothered to rewrite the nonsensical
2731           examples right now.
2732
2733 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2734
2735         * gst/gstevent.h:
2736           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2737
2738 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2739
2740         * gst/parse/grammar.y:
2741           Remove unneeded casts.
2742
2743 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2744
2745         * gst/parse/grammar.y:
2746         * tests/check/pipelines/parse-launch.c:
2747           Get all missing elements from a parse launch string if possible
2748           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2749
2750 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2751
2752         * tests/check/Makefile.am:
2753         * tests/check/pipelines/parse-launch.c:
2754           Add some unit tests for the new gst_parse_launch*_full() API.
2755           (Exposes a previously-existing memory leak in the error code
2756           path, so adding to VALGRIND_TO_FIX for now).
2757
2758 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2759
2760         * docs/gst/gstreamer-sections.txt:
2761         * gst/gst.c: (init_post):
2762         * gst/gst_private.h: (_GstParseContext):
2763         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2764           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2765           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2766           (gst_parse_launch_full):
2767         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2768           (GstParseFlags), (GstParseContext):
2769         * gst/gstutils.c: (gst_parse_bin_from_description),
2770           (gst_parse_bin_from_description_full):
2771         * gst/gstutils.h:
2772         * gst/parse/grammar.y:
2773         * gst/parse/types.h:
2774         * win32/common/libgstreamer.def:
2775           Add new gst_parse_*_full API (#528178):
2776           API: gst_parse_launch_full()
2777           API: gst_parse_launchv_full()
2778           API: gst_parse_bin_from_description_full()
2779           API: gst_parse_context_new()
2780           API: gst_parse_context_free()
2781           API: gst_parse_context_get_missing_elements()
2782
2783 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2784
2785         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2786
2787         * docs/faq/gst-uninstalled:
2788           Also support ffmpeg in gst-uninstalled.
2789
2790 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2791
2792         * configure.ac:
2793         After discussion on IRC use the binary registry as default
2794         but allow to disable it with --disable-binary-registry.
2795
2796         * win32/common/libgstreamer.def:
2797         Add the two new symbols for the binary registry.
2798
2799 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2800
2801         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2802         * gst/gstutils.c: (gst_parse_bin_from_description):
2803         * gst/parse/grammar.y: (graph):
2804           More guards against bad input; typo fix; some minor clean-ups.
2805
2806 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2807
2808         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2809
2810         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2811         If nothing else can be used, use the last buffer's start time as
2812         the segment's last stop. Fixes bug #534258.
2813
2814 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2815
2816         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2817           Move size sanity check to the right place: downstream may return
2818           a buffer with a smaller size if the buffer caps are different than
2819           the requested ones, as may happen when doing reverse negotiation.
2820
2821 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2822
2823         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2824         (gst_file_sink_render):
2825         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2826         (gst_file_src_start):
2827         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2828         use it yet.
2829
2830 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2831
2832         * gst/gstpad.c: (gst_pad_load_and_link):
2833         * gst/gstutils.c: (gst_element_link_pads),
2834         (gst_element_unlink_pads):
2835         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2836         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2837         (gst_check_teardown_sink_pad),
2838         (gst_check_element_push_buffer_list):
2839         * tests/check/elements/fakesink.c: (GST_START_TEST):
2840         * tests/check/elements/filesink.c:
2841         * tests/check/elements/filesrc.c: (GST_START_TEST):
2842         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2843         (mq_sinkpad_to_srcpad):
2844         * tests/check/elements/tee.c: (GST_START_TEST):
2845         * tests/check/generic/sinks.c: (GST_START_TEST):
2846         * tests/check/gst/gstbin.c: (GST_START_TEST):
2847         * tests/check/gst/gstevent.c: (GST_START_TEST):
2848         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2849         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2850         * tests/check/gst/gstquery.c: (GST_START_TEST):
2851         * tests/check/gst/gstutils.c: (GST_START_TEST):
2852         * tests/check/libs/basesrc.c: (GST_START_TEST):
2853         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2854         (gst_parse_test_element_change_state):
2855         Don't use gst_element_get_pad().
2856
2857 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2858
2859         * docs/Makefile.am:
2860         Fix installing plugin documentation when gtk-doc is disabled.
2861
2862 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2863
2864         * docs/manual/advanced-autoplugging.xml:
2865         * docs/manual/basics-helloworld.xml:
2866         * docs/manual/basics-pads.xml:
2867         * docs/manual/highlevel-components.xml:
2868         Avoid using a bad function in the example code.
2869
2870 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2871
2872         * gst/gstclock.c: (gst_clock_set_calibration):
2873         Fix debug of the new clock rate.
2874
2875 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2876
2877         * win32/common/libgstbase.def:
2878         Add gst_base_sink_wait_clock() to the exported symbols.
2879
2880 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2881
2882         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2883
2884         * libs/gst/base/gstbasetransform.c:
2885         (gst_base_transform_sink_event):
2886         Unref events that the GstBaseTransform::event vfunc didn't want to
2887         have forwarded by the base class. Closes a leak in identity.
2888         Fixes bug #446763.
2889
2890 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2891
2892         * docs/libs/gstreamer-libs-sections.txt:
2893         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2894         * libs/gst/base/gstbasesink.h:
2895         Expose a method that was previously used internally to synchronize
2896         against the clock because it can be useful for subclasses too.
2897         API: GstBaseSink::gst_base_sink_wait_clock()
2898
2899 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2900
2901         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2902           Add sanity check to make sure we don't get smaller buffers
2903           than requested (and fallback to normal buffer alloc if we do).
2904
2905 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2906
2907         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2908         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2909         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2910         Refactor adjusting the running_time with latency and offset into a
2911         separate method.
2912         When doing clipping, we still want to use the subclass get_times method,
2913         just in case the DURATION or TIMESTAMP are not set.
2914
2915 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2916
2917         * docs/gst/gstreamer-sections.txt:
2918         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2919         * gst/gsttypefind.h:
2920         * win32/common/libgstreamer.def:
2921           API: add gst_type_find_suggest_simple(), #533740.
2922
2923 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2924
2925         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2926           Use right error code when typefinding fails, so we can use
2927           the default (translated) error messages.
2928
2929 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2930
2931         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2932         (gst_base_src_start):
2933         When the subclass did not set caps on outgoing buffers, configure the
2934         caps we negotiated on the source pad.
2935         When the typefind helper does not find caps, error out properly instead
2936         of doing things with NULL caps.
2937
2938 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2939
2940         * gst/gsttypefind.h:
2941           Tabs to spaces, oh yes!
2942
2943 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2944
2945         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2946           Add David's and Benjamin's tests for array intersection to the
2947           unit test suite (#147931).
2948
2949 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2950
2951         * gst/gstevent.c:
2952           Document that gst_event_new_tag() and gst_event_new_navigation()
2953           take ownership of the taglist/structure passed to them. (#533635).
2954
2955 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2956
2957         * docs/Makefile.am:
2958         Don't descend into the plugins dir if plugin docs building
2959         is disabled.
2960
2961         * docs/README:
2962         Add a note about the new type:GTypeName syntax for the plugin
2963         documentation .types file.
2964
2965 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2966
2967         * gst/gstmessage.c: (gst_message_new_error),
2968         (gst_message_new_warning), (gst_message_new_info):
2969         * gst/gstmessage.h:
2970         Mark the debug string parameters as const. Fixes bug #533490.
2971
2972 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2973
2974         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2975         Sort buffer cache list by end offsets. This makes sure that we don't
2976         stop to search for a cached buffer that contains the requested data
2977         too early.
2978         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2979         more efficient. Fixes bug #459862.
2980
2981 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2982
2983         * gst/gstinfo.c:
2984           Explain why we copy the list.
2985
2986         * gst/gstpipeline.c:
2987           Improve docs.
2988
2989         * gst/gstutils.c:
2990           Add one debug-log statement to help tracing probelms with linking pads.
2991
2992 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2993
2994         * tests/check/gst/gstinfo.c:
2995         Add a test for removing the default log handler. Seems to fail under
2996         windows.
2997
2998 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2999
3000         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3001         Release pad lock before calling out to avoid a possible deadlock.
3002
3003 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3004
3005         * gst/parse/grammar.y:
3006         Remove unneeded value unset.
3007
3008         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3009         Add unit test for de/serialization of caps.
3010
3011 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3012
3013         * plugins/elements/gstfakesink.c:
3014         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3015         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3016         (gst_fake_src_class_init):
3017         Use custom marshalers that take GstMiniObject as first parameter.
3018         Using OBJECT as parameter while a GstMiniObject is given will lead
3019         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3020
3021 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3022
3023         * plugins/elements/gsttypefindelement.c:
3024         (gst_type_find_element_handle_event),
3025         (gst_type_find_element_send_cached_events),
3026         (gst_type_find_element_change_state):
3027         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3028         immediately.
3029
3030 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3031
3032         * plugins/elements/gsttypefindelement.c:
3033         (gst_type_find_handle_src_query), (stop_typefinding),
3034         (gst_type_find_element_handle_event),
3035         (gst_type_find_element_send_cached_events),
3036         (gst_type_find_element_change_state):
3037         Forward FLUSH_START events immediately and clean up instead of
3038         caching them.
3039
3040 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3043
3044         * libs/gst/base/gstbasetransform.c:
3045         (gst_base_transform_buffer_alloc):
3046         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3047         fall back to default negotiation in the chain function if the caps
3048         are different from what was requested. Fixes bug #526768.
3049
3050 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3051
3052         * gst/gstsegment.c:
3053         * tests/check/gst/gstsegment.c:
3054           No, let's not use g_slice_{dup|copy} here, since they only exist
3055           since GLib 2.14 and we still depend only on >= 2.12. Also add
3056           unit test for gst_segment_copy().
3057
3058 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3059
3060         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3061           Try to fix 'dereferencing type-punned pointer will break strict
3062           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3063           changed the default GType typedef from gulong to gsize at some point,
3064           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3065           g_once_* functions all take a gsize * though, so work around the type
3066           mismatch for C++ by doing everything in gsize and casting to GType
3067           later.
3068
3069 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3070
3071         * plugins/elements/gstmultiqueue.c:
3072         Add documentation for the signals to push our core plugin docs
3073         coverage back up to 100%.
3074
3075 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3076
3077         * gst/gstinfo.h (GST_FUNCTION):
3078           Reverted GST_FUNCTION to the old version as we don't want the
3079           full signature in C++ code. Also added support for MSVC.
3080
3081 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3082
3083         * gst/gstutils.h:
3084         Intern the type name string, similar to what G_DEFINE_TYPE does.
3085
3086 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3087
3088         * gst/gstutils.h:
3089         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3090
3091 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3092
3093         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3094
3095         * libs/gst/base/gstbasetransform.c:
3096         (gst_base_transform_buffer_alloc):
3097         Don't passthrough buffer allocation too easily if the caps change.
3098         This breaks when working in passthrough mode and upstream changes
3099         it's caps. Fixes bug #526768.
3100
3101 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3102
3103         * gst/gstinfo.c (gst_debug_log_valist):
3104           Improved the __FILE__ part of debug output for MSVC.
3105
3106 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3107
3108         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3109           Declaration after statement fix for compilers like MSVC.
3110
3111 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3112
3113         * win32/common/config.h.in:
3114           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3115           use the real thing than having "???" unconditionally.
3116
3117 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3118
3119         * gst/gstinfo.h (GST_FUNCTION):
3120           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3121
3122 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3123
3124         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3125         Small code cleanup.
3126
3127         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3128         (gst_base_sink_set_flushing):
3129         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3130         Fix some comments.
3131
3132 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3133
3134         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3135         (gst_fake_src_init), (gst_fake_src_set_property),
3136         (gst_fake_src_get_property), (gst_fake_src_start):
3137         * plugins/elements/gstfakesrc.h:
3138         Added format property to control the format of the newsegment events.
3139         API: GstFakeSrc:format
3140
3141 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3142
3143         * win32/common/libgstreamer.def:
3144         Add gst_pad_has_name() to the exported symbols.
3145
3146 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3147
3148         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3149         * libs/gst/base/gstbasetransform.c:
3150         (gst_base_transform_prepare_output_buffer):
3151         Don't allow negative sizes when allocating new buffers.
3152         Fixes bug #461253.
3153
3154 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3155
3156         Patch by: Sjoerd Simons <sjoerd at luon net>
3157
3158         * gst/gstbus.c: (gst_bus_source_dispatch):
3159           Don't print a warning if the queue is empty when we try to pop
3160           here. That could happen if another thread or callback set the
3161           bus to flushing between the source's check/prepare and the
3162           dispatch being called (#531538).
3163
3164 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3165
3166         * plugins/elements/gstmultiqueue.c:
3167           Small docs fix.
3168         
3169 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3170
3171         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3172         Add unit test for deserializing uint64s and check some really large
3173         numbers in the int64 test.
3174
3175 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3176
3177         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3178         (print_interfaces), (print_element_properties_info),
3179         (print_signal_info):
3180         Use "%s" as format string instead of printing strings directly.
3181
3182 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gstclock.c: (gst_clock_set_calibration):
3185         Make some checks actually useful.
3186
3187         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3188         Remove some unused code. Unsigned integers tend to be >= 0.
3189
3190 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3191
3192         * gst/gstminiobject.c: (gst_value_get_mini_object):
3193           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3194           function was not in the unscheduled 0.10.19 release.
3195
3196 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3197
3198         * gst/gstregistry.c: (gst_registry_scan_path_level):
3199           Only print one log message per non-plugin file.
3200
3201 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3202
3203         * gst/gstinfo.c: (gst_debug_log_default):
3204           Fix alignment of debug log columns on 64-bit.
3205
3206 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3207
3208         * docs/libs/Makefile.am:
3209         * docs/libs/gstreamer-libs-sections.txt:
3210           Ignore private controller headers for docs.
3211
3212 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3213
3214         * libs/gst/controller/gstcontrollerprivate.h:
3215         * libs/gst/controller/gsthelper.c:
3216         * libs/gst/controller/gstinterpolation.c:
3217         * libs/gst/controller/gstinterpolationcontrolsource.c:
3218         (gst_interpolation_control_source_set_interpolation_mode):
3219         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3220         * libs/gst/controller/lib.c:
3221         Move some private declarations into private headers.
3222
3223 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3224
3225         * gst/gstdebugutils.c: (debug_dump_element_pad):
3226         Remove some code that is unused after Stefan's refactoring and uses
3227         uninitialized variables now, resulting in a compiler warning.
3228
3229 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3230
3231         * gst/gstregistry.c: (gst_registry_scan_path_level):
3232           Run g_str_has_suffix() only on the file name, not the
3233           entire file path.
3234
3235 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3236
3237         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3238           Since we're not called only from the chain function any longer,
3239           we can't assume that there's always data in the queue, so move
3240           the is_full check to the beginning of the loop (otherwise we'd
3241           hit the assert when changing the limit properties while the
3242           queue is empty or not running yet).
3243           Also, only set a discont if items were actually removed from
3244           the queue.
3245
3246         * tests/check/elements/queue.c: (test_leaky_downstream):
3247           Test case for the above.
3248
3249 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3250
3251         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3252
3253         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3254         (gst_queue_chain), (queue_capacity_change),
3255         (gst_queue_set_property):
3256         When changing thr max capacity of a leaky queue, immediatly drop buffers
3257         instead of waiting for a push on the sinkpad. Fixes #530637.
3258
3259 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3260
3261         * gst/gstdebugutils.c:
3262           Refactor code and fix handling of ghostpads and their proxypads.
3263
3264 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3265
3266         * docs/gst/gstreamer-sections.txt:
3267         * gst/gstevent.c: (gst_event_has_name):
3268         * gst/gstevent.h:
3269         * tests/check/gst/gstevent.c: (GST_START_TEST):
3270         Add method to conveniently check the name of a custom event with
3271         gst_event_has_name().
3272         Reformat the event docs so that related methods are put together instead
3273         of the default alphabetical sort.
3274         Update unit test with new method.
3275         API: GstEvent::gst_event_has_name()
3276
3277 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3278
3279         * libs/gst/check/Makefile.am:
3280           Don't add an explicit link to libgstreamer-0.10.la; it's already
3281           included in GST_OBJ_LIBS.
3282
3283 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3284
3285         * gst/gst.c:
3286         Register GstClock type from a type-safe context. Fixes bug #530317.
3287
3288 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3289
3290         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3291         * tools/gst-run.c:
3292           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3293
3294 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3295
3296         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3297         (gst_bin_dispose):
3298         Use the GLib stuff to create a private structure.
3299         Add some locking around some dispose methods to make them a little
3300         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3301
3302 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3303
3304         * libs/gst/base/gstbasesink.h:
3305         * libs/gst/base/gstbasesrc.h:
3306         * libs/gst/base/gstbasetransform.h:
3307         * libs/gst/base/gstcollectpads.h:
3308           Fix doc typos and unify caps a bit.
3309
3310 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * tools/gst-launch.1.in:
3313           Forgot to also add the envvar docs here.
3314
3315 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3316
3317         * gst/gst.c: (init_post), (gst_deinit):
3318         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3319           (test_concurrent_create), (gst_pipeline_suite):
3320           Ref some more classes in gst_init() to work around thread-safety
3321           issues in pre-2.16 GLibs, and add basic unit test.
3322
3323 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3324
3325         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3326         (gst_base_sink_send_event):
3327         Rearrange the latency query code. We always want to do the upstream
3328         query, even if we are not live so that the upstream elements can get the
3329         latency results too. If we fail doing the query and we are live, we
3330         return TRUE afterwards.
3331
3332 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3333
3334         patch by: Jason Zhao <e3423c@motorola.com>
3335
3336         * docs/gst/running.xml:
3337         * gst/gst.c:
3338           Enable/disable scan_and_update_registry() based on commandline switch
3339           or environment variable. Fixes #520468.
3340           
3341         * ChangeLog:
3342           Fix typo in my previous commit.
3343
3344 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * gst/gstregistrybinary.c:
3347           Add a warning if we hit unhandled factories when saving.
3348           More debug logging detail, but move to LOG category.
3349
3350 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * gst/gstregistry.c:
3353           Tell the *truth* when improving the documentation.
3354
3355 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3356
3357         * gst/gstelementfactory.c: (gst_element_factory_make):
3358         Unref the factory after it was used the last time, not before.
3359
3360         * gst/gstindexfactory.c: (gst_index_factory_make):
3361         Improve debugging a bit and don't leak a ref to the index factory with
3362         each call.
3363
3364 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3365
3366         * gst/gstregistry.c:
3367           Improve the documentation.
3368
3369 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3370
3371         * gst/gstsegment.c:
3372           The glib macro seems to be borked. Use g_slice_copy directly and cast
3373           in the hope that this fixes the warning on 64bit.
3374
3375 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3376
3377         * gst/gstsegment.c:
3378           Document the new function. Use g_slice_dup() (no need for
3379           gst_segment_init()).    
3380
3381 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3382
3383         * docs/gst/gstreamer-sections.txt:
3384           Move GParamSepc macros to standart section.
3385   
3386         * gst/gstbin.c:
3387           Dn't document _get_type - its in private section in docs anyway and
3388           this doc-blob was incomplete.
3389
3390         * gst/gstclock.h:
3391           Fix wrong symbol names in docs.
3392
3393         * gst/gstmacros.h:
3394           Add once doc sentence.
3395
3396         * tests/check/gst/.cvsignore:
3397           Ignore more.
3398
3399 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3400
3401         * docs/gst/Makefile.am:
3402           And remove those libs here.
3403
3404 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         * docs/libs/Makefile.am:
3407           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3408
3409 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3410
3411         Patch by: Olivier Crete <tester at tester dot ca>
3412
3413         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3414         Add the min-threshold to the min latency if possible. Fixes #529148.
3415
3416 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3417
3418         * docs/gst/gstreamer.types.in:
3419           Stupid editor, I removed that line as it should go in yet.
3420
3421 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3422
3423         * docs/gst/gstreamer.types.in:
3424         * docs/libs/gstreamer-libs.types:
3425           Remove library types fro core docs and have them in libs docs.
3426           Reformat and cleanup. Add comment for miniobject types.
3427
3428 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3429
3430         * gst/gsturi.c: (gst_uri_get_protocol):
3431           Fix leak: g_strdown operates on the string in place, while
3432           g_ascii_strdown() returns a newly-allocated string.
3433
3434 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3435
3436         * tools/gst-inspect.c: (print_uri_handler_info),
3437         (print_element_info):
3438         Print the URI protocols and the URI type supported by the element.
3439
3440 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3441
3442         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3443         Use g_value_take_string() instead of the deprecated
3444         g_value_set_string_take_ownership().
3445
3446 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3447
3448         * gst/gstregistrybinary.c: (_gst_crc32):
3449         Return the old CRC instead of 0 if we give a NULL buffer
3450         or a buffer with a length of 0.
3451
3452 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3453
3454         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3455         (gst_uri_get_protocol), (gst_uri_has_protocol),
3456         (gst_uri_construct), (gst_uri_handler_set_uri):
3457         A valid URI scheme can also include '+', '-' and '.' additional
3458         to alphanumeric characters as per RFC 3986 Section 3.1.
3459
3460         Handle URI schemes case insensitive in all places and convert
3461         to lower-case when constructing an URI or setting an URI with
3462         the GstURIHandler interface. Fixes bug #528868.
3463         All elements can still assume (as before) that they will
3464         get passed URIs with a lower-case URI scheme by the GstURIHandler
3465         interface.
3466
3467 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3468
3469         * gst/gstcaps.c: (gst_static_caps_get):
3470         * gst/gstclock.c: (gst_clock_entry_new):
3471           Don't use g_atomic_set_int where it's not needed.
3472
3473 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3474
3475         * gst/gstvalue.c: (gst_value_deserialize_caps):
3476         * gst/parse/grammar.y:
3477         Fix 2 caps leaks.
3478
3479 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3480
3481         * gst/gstutils.c: (gst_atomic_int_set):
3482         Use g_atomic_int_set() here too instead of assignment +
3483         g_atomic_int_get().
3484
3485 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3486         
3487         * gst/gstutils.c:
3488         * gst/gstutils.h:
3489         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3490         now that we depend on new enough GLib.
3491
3492         * gst/gstcaps.c: (gst_static_caps_get):
3493         * gst/gstclock.c: (gst_clock_entry_new):
3494         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3495         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3496         (gst_debug_category_set_threshold):
3497         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3498         (gst_base_sink_set_qos_enabled):
3499         * libs/gst/net/gstnettimeprovider.c:
3500         (gst_net_time_provider_set_property):
3501         Use g_atomic_int_set() instead of gst_atomic_int_set().
3502
3503 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3504
3505         * gst/gstquery.c:
3506           Also use G_GINT64_CONSTANT for the queries.
3507
3508 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * gst/gstmessage.c:
3511           Use G_GINT64_CONSTANT in varargs function.
3512
3513 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3514
3515         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3516         Initialize the registry magic with zeroes.
3517
3518 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3519
3520         * gst/gstregistrybinary.c: (_gst_crc32),
3521         (gst_registry_binary_write),
3522         (gst_registry_binary_initialize_magic),
3523         (gst_registry_binary_write_cache),
3524         (gst_registry_binary_check_magic),
3525         (gst_registry_binary_read_cache):
3526         * gst/gstregistrybinary.h:
3527         Add crc32 checksum to the binary registry file and check this before
3528         accepting a registry file.
3529
3530         Also free the data list when writing to the registry file fails.
3531
3532 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3533
3534         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3535         (gst_registry_binary_load_feature),
3536         (gst_registry_binary_load_plugin):
3537         If an element supports the Uri interface, returns a valid pointer
3538         to the supported URI protocols but this pointer contains nothing
3539         don't try to save that as it will corrupt the registry.
3540
3541         Don't unref the plugin if we added it to the registry already but
3542         fail to load a feature as gst_registry_add_plugin() takes ownership
3543         of the plugin.
3544
3545         Improve debugging a bit.
3546
3547 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * gst/gsttaglist.h:
3550           Clarify some tag item docs after discussion on irc.
3551
3552 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3553
3554         * docs/gst/gstreamer-docs.sgml:
3555           Remove commented out plugins (they have their own docs). Update
3556           comments.
3557
3558 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * docs/gst/gstreamer-docs.sgml:
3561         * docs/gst/gstreamer-sections.txt:
3562         * gst/gstparamspecs.c:
3563         * gst/gstparamspecs.h:
3564           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3565           docs to own section.
3566
3567         * gst/gstvalue.c:
3568           This now only documents GValue.
3569           
3570         * docs/libs/gstreamer-libs-sections.txt:
3571         * libs/gst/controller/gstcontroller.h:
3572           Remove GST_PARAM_CONTROLLABLE.
3573
3574 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3575
3576         * docs/README:
3577           Correct file path. Tell about how to use -overrides.txt.
3578         * docs/design/draft-tagreading.txt:
3579           Small design update.
3580
3581 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3582
3583         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3584         (gst_registry_binary_load_plugin):
3585         Fix a typo in a debug message and revert change from yesterday as
3586         gst_registry_add_plugin() will only fail if something is really wrong
3587         already and we can't survive it anyway.
3588
3589 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3590
3591         * gst/gst.c: (init_post), (gst_deinit):
3592           Pre-register GstGError GType from a thread-safe context
3593           (fixes #527967); unref enum type classes in deinit.
3594
3595 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         Patch by: Rene Stadler <mail at renestadler de>
3598
3599         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3600           Merging an empty list with another list in KEEP_ALL mode should
3601           yield an empty list as result and not the second list (#512578).
3602
3603         * tests/check/gst/gsttagsetter.c:
3604           Add unit test for tag merge modes and the aforementioned bug.
3605
3606 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3607
3608         Patch by: Rene Stadler <mail at renestadler de>
3609
3610         * gst/gsttaglist.h:
3611           Fix description to match the order in the table (#512577).
3612   
3613 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3614
3615         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3616
3617         * libs/gst/net/gstnettimepacket.h:
3618         * docs/libs/gstreamer-libs-sections.txt:
3619           Define socklen_t as int if it's not defined yet. Fixes compilation
3620           with MSVC6 and other versions where socklen_t is not defined in
3621           the windows headers (#518022).
3622
3623 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3624
3625         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3626         If gst_registry_add_plugin() fails our reference to the plugin is
3627         invalid so don't try to use it anymore and instead error out.
3628
3629 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * tools/gst-xmlinspect.c: (print_element_info), (main):
3632           De-cruft a bit. If no argument is specified, print all elements in
3633           XML syntax rather than a freestyle list of elements like gst-inspect.
3634           Also, don't print XML header chunk unless we actually have something
3635           to print (ie. don't print it before an error message); print error
3636           message to stderr not stdout. Remove support for printing plugin
3637           info (it would just output something freestyle along the lines of
3638           gst-inspect so far), which fixes #514507. Also add license header.
3639
3640 2008-04-11  Julien Moutte  <julien@fluendo.com>
3641
3642         Mac OS X love...
3643         * configure.ac: Merge platform specific defines, introduce a new
3644         define on OS X to remember that forking when updating registry is
3645         unsafe.
3646         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3647         module.
3648         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3649         is defined.
3650         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3651         condition that leads to absolutely no plugins being registered on
3652         OS X.
3653
3654 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3655
3656         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3657
3658         * gst/gstutils.c: (gst_pad_add_data_probe),
3659           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3660           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3661           (gst_pad_add_buffer_probe_full):
3662         * gst/gstutils.h:
3663         * docs/gst/gstreamer-sections.txt:
3664         * win32/common/libgstreamer.def:
3665           Add gst_pad_add_*_probe_full() functions with a notify callback that
3666           lets the caller free the data it passes to the probe functions. This
3667           is useful for bindings such as gst-python or gstreamermm (#526814).
3668           API: gst_pad_add_data_probe_full
3669           API: gst_pad_add_buffer_probe_full
3670           API: gst_pad_add_event_probe_full
3671
3672         * tests/check/gst/gstutils.c:
3673           Add minimal unit test to make sure freeing the data actually works
3674           as expected.
3675
3676         * tests/benchmarks/.cvsignore:
3677           Random cvsignore addendum.
3678
3679 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3682           (GST_DEBUG_BIN_TO_DOT_FILE):
3683           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3684           to it in the docs (since these are macros the types of the arguments
3685           won't be shown in the docs otherwise).
3686
3687 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3688
3689         * gst/gstpad.c:
3690           Do not abort on out of memory for pad_alloc_buffer.
3691
3692 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3693
3694         * libs/gst/check/gstcheck.c:
3695           Remove blank line between symbol name ad parameters to fix gtkdoc
3696           warning.
3697
3698 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3699
3700         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3701
3702         * docs/gst/gstreamer-sections.txt:
3703         * gst/gstsegment.c:
3704         * gst/gstsegment.h:
3705         * win32/common/libgstreamer.def:
3706           Expose gst_segment_copy() to make things easier for the c++ bindings.
3707           Fixes #518932.
3708           API: gst_segment_copy()
3709
3710 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3711
3712         * gst/gst.c: (gst_init_get_option_group), (init_post):
3713           Fix const position; ref GType classes for enum types to work
3714           around thread-safety issues in GLib versions < 2.16.
3715
3716 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3717
3718         * docs/design/part-buffering.txt:
3719         Fix some typos and set the estimated total for push mode to -1.
3720
3721         * gst/gstquery.c: (gst_query_new_buffering):
3722         Set buffering-left to 0 as we're not buffering by default.
3723
3724         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3725         Implement BUFFERING query.
3726
3727 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         Based on patch by: Milosz Derezynski <internalerror gmail com>
3730
3731         * gst/gsterror.c: (_gst_stream_errors_init):
3732         * gst/gsterror.h:
3733           Add two new error codes for encrypted content. Fixes #524659.
3734           API: GST_STREAM_ERROR_DECRYPT
3735           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3736
3737 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3738
3739         * gst/gstquery.h:
3740           Fix typo.
3741
3742         * win32/common/libgstreamer.def:
3743           Add new functions.
3744
3745 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3746
3747         * plugins/elements/gstidentity.c: (gst_identity_event),
3748         (gst_identity_start):
3749         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3750         event after processing some data. Fixes bug #526042.
3751
3752 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3753
3754         * docs/gst/gstreamer-sections.txt:
3755         * gst/gstquery.c: (gst_query_parse_latency),
3756         (gst_query_set_buffering_percent),
3757         (gst_query_parse_buffering_percent),
3758         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3759         * gst/gstquery.h:
3760         Rename _avail -> _range
3761         API: gst_query_set_buffering_range
3762         API: gst_query_parse_buffering_range
3763
3764 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3765
3766         * docs/design/part-buffering.txt:
3767         * gst/gstquark.c:
3768         * gst/gstquark.h:
3769         * gst/gstquery.c: (gst_query_parse_latency),
3770         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3771         (gst_query_parse_buffering_percent):
3772         * gst/gstquery.h:
3773         Add busy field and quark for the buffering query so that the app can
3774         only use the query to see if buffering is in progress.
3775
3776 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3777
3778         * docs/gst/gstreamer-sections.txt:
3779         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3780         (gst_message_parse_buffering_stats):
3781         * gst/gstmessage.h:
3782         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3783         (gst_query_parse_latency), (gst_query_new_buffering),
3784         (gst_query_set_buffering_percent),
3785         (gst_query_parse_buffering_percent),
3786         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3787         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3788         * gst/gstquery.h:
3789         Reorder the message docs and headers for clarity.
3790         Add aditional buffering stats API for messages.
3791         Add buffering query.
3792         Convert some leftover queries to use GstQuark.
3793         API: gst_message_set_buffering_stats
3794         API: gst_message_parse_buffering_stats
3795         API: GST_QUERY_BUFFERING
3796         API: GstBufferingMode
3797         API: gst_query_new_buffering
3798         API: gst_query_set_buffering_percent
3799         API: gst_query_parse_buffering_percent
3800         API: gst_query_set_buffering_stats
3801         API: gst_query_parse_buffering_stats
3802
3803 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3804
3805         * gst/gstmessage.c: (gst_message_new_error),
3806         (gst_message_new_warning), (gst_message_new_info),
3807         (gst_message_new_buffering), (gst_message_new_state_changed),
3808         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3809         (gst_message_new_new_clock), (gst_message_new_segment_start),
3810         (gst_message_new_segment_done), (gst_message_new_duration),
3811         (gst_message_new_async_start), (gst_message_parse_buffering),
3812         (gst_message_parse_state_changed),
3813         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3814         (gst_message_parse_new_clock), (gst_message_parse_error),
3815         (gst_message_parse_warning), (gst_message_parse_info),
3816         (gst_message_parse_segment_start),
3817         (gst_message_parse_segment_done), (gst_message_parse_duration),
3818         (gst_message_parse_async_start):
3819         Use GstQuark for messages.
3820
3821 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3822
3823         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3824         * gst/gstquark.h:
3825         Add some more quarks needed for messages and queries.
3826
3827 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3828
3829         * docs/design/part-buffering.txt:
3830         Remove the "none" buffering mode, STREAM is a good default.
3831         Move estimated-time to the avail query, that's when it will be needed.
3832         Other small typo fixes and updates.
3833
3834 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3835
3836         * gst/gstindex.c: (gst_index_resolver_get_type):
3837           Don't put descriptions into the nick field of a GEnumValue: it's not
3838           meant for that and some language bindings rely on the nick field to
3839           construct constants and the like. Fixes #526705.
3840
3841 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3842
3843         * NEWS:
3844         * RELEASE:
3845         * gstreamer.doap:
3846           Merge other changes from 0.10.19 release branch.
3847
3848 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3849
3850         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3851
3852         * configure.ac:
3853         Actually build dlls when cross-compiling with mingw32.
3854         Fixes bug #526247.
3855
3856 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3857
3858         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3859
3860         * gst/gstpoll.c:
3861         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3862
3863 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3864
3865         * docs/design/draft-latency.txt:
3866         Fix typo.
3867
3868         * docs/design/part-buffering.txt:
3869         Update design docs with more buffering ideas.
3870
3871 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3872
3873         * configure.ac:
3874           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3875
3876 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3877
3878         * configure.ac:
3879           Revert part that belongs to the preset patch.
3880
3881 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3882
3883         * configure.ac:
3884           Add qoutes to the define. Fixes # 525961.
3885
3886 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3887
3888         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3889         (gst_file_index_load), (gst_file_index_add_id),
3890         (gst_file_index_get_assoc_entry):
3891         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3892         (gst_mem_index_free_id), (gst_mem_index_add_id),
3893         (gst_mem_index_index_format):
3894         Use GSlice when possible.
3895
3896 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3897
3898         * libs/gst/controller/gstinterpolationcontrolsource.c:
3899         (gst_control_point_free),
3900         (gst_interpolation_control_source_set_internal):
3901         Use GSlice for allocating the control points.
3902
3903 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3904
3905         * plugins/elements/gsttypefindelement.c:
3906         (gst_type_find_element_class_init),
3907         (gst_type_find_element_set_property),
3908         (gst_type_find_element_get_property),
3909         (gst_type_find_element_activate):
3910         * plugins/elements/gsttypefindelement.h:
3911         Cleanup properties.
3912         Fix pad leak when peer query fails.
3913         We can still typefind when the peer returns -1.
3914         Add property to force caps and bypass typefinding. This will be used in
3915         uridecodebin.
3916         API::force-caps
3917
3918 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3919
3920         * configure.ac:
3921         Require GLib 2.12.
3922
3923         * gst/glib-compat-private.h:
3924         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3925         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3926         Unconditionally use GSlice for allocation.
3927
3928         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3929         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3930         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3931         (gst_structure_free):
3932         Use GSlice for allocation.
3933
3934 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3935
3936         * gst/parse/Makefile.am:
3937         * gst/parse/grammar.tab.pre.c:
3938         * gst/parse/grammar.tab.pre.h:
3939         * gst/parse/lex._gst_parse_yy.pre.c:
3940         Require a new enough flex and bison and remove the parser hacks to use
3941         a pre-regenerated version.
3942
3943 2008-04-01  Julien Moutte  <julien@fluendo.com>
3944
3945         patch by: Jason Zhao <E3423C@motorola.com>
3946
3947         * configure.ac: Add a configure switch to disable option parsing
3948         in gst_init.
3949         Fixes #522882.
3950
3951 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3952
3953         * configure.ac:
3954         * gst/gstregistry.c:
3955           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3956           and handle this case.
3957
3958         * gst/gst.c:
3959           Add a comment here describing, why we stat each plugin and not try to
3960           be smart.
3961
3962 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3963
3964         * libs/gst/base/gstbasetransform.c:
3965         (gst_base_transform_prepare_output_buffer):
3966         Also unset the GAP flag on buffers if we're working inplace but
3967         the element is not GAP-aware.
3968
3969         Mark a comment as FIXME 0.11.
3970
3971 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3972
3973         * gst/gst.c:
3974           Fix type in log message and add one to ease seeing how long registry
3975           cache verification takes.
3976
3977         * gst/gstregistry.c:
3978           Only test plugin filenames against G_MODULE_SUFFIX.
3979
3980 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3981
3982         * gst/gstdebugutils.c:
3983           Improve handling ghost/proxy pads.
3984
3985 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3986
3987         * docs/gst/gstreamer-sections.txt:
3988         * gst/gstpad.c:
3989         * gst/gstpad.h:
3990           Expose macro to docs and fix link to it.
3991
3992 2008-03-27  Michael Smith <msmith@fluendo.com>
3993
3994         * libs/gst/dataprotocol/dataprotocol.c:
3995         (gst_dp_packet_from_event_1_0):
3996           When calculating GDP body CRC, use the correct pointer. 
3997           Fixes part of #522401.
3998
3999 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4000
4001         Patch by: Mark Nauwelaerts <manauw at skynet be>
4002
4003         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4004         (gst_identity_init), (gst_identity_prepare_output_buffer):
4005         Identity is not always a passthrough element, it can modify the buffer
4006         timestamps when it has a datarate and operates in single-segment mode.
4007         We therefore make it an in_place filter with a custom buffer prepare
4008         function that conditionally makes the input buffer metadata writable
4009         when needed.  Fixes #523985.
4010
4011 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4012
4013         Patch by: Mark Nauwelaerts <manauw at skynet be>
4014
4015         * gst/gstclock.h:
4016         * libs/gst/base/gstbasesrc.h:
4017         * libs/gst/base/gstbasetransform.c:
4018         * libs/gst/check/gstcheck.c:
4019         Small documentation fixes. Fixes #523978.
4020
4021 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4022
4023         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4024         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4025         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4026
4027 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4028
4029         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4030         (single_queue_underrun_cb):
4031         When trying to make room in the queue, bump the max allowed buffers
4032         bigger than the current amount of buffers in the queue. this fixes some
4033         nasty deadlocks in multiqueue when dynamically changing the limits of
4034         the queue.
4035
4036 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4037
4038         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4039
4040         * gst/gstcaps.c: (gst_caps_set_simple),
4041         (gst_caps_set_simple_valist), (gst_caps_intersect):
4042         * gst/gstcaps.h:
4043         Constify the field gchar * params in set_simple and friends.
4044         Fixes #522326.
4045
4046 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4047
4048         * gst/gstvalue.c: (gst_value_transform_object_string):
4049         Transform a GstObject to a more meaningfull string that includes the
4050         object type in addition to its name.
4051
4052 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4053
4054         * ChangeLog:
4055           ChangeLog surgery to add bugnumber to commit.
4056
4057 2008-03-23  Rene Stadler  <mail@renestadler.de>
4058
4059         * libs/gst/base/gstbasetransform.c:
4060         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4061
4062 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4063
4064         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4065         Rename constant everywhere and don't forget one occurence.
4066
4067 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4068
4069         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4070         Align memory to the pointer size even if the architecture allows
4071         unaligned memory access. Unaligned memory access usually comes with
4072         performance penality.
4073
4074 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4075
4076         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4077         (gst_registry_binary_check_magic),
4078         (gst_registry_binary_load_pad_template),
4079         (gst_registry_binary_load_feature),
4080         (gst_registry_binary_load_plugin):
4081         Align memory to the pointer size instead of always 32 bit. Fixes
4082         unaligned memory accesses on ia64 and friends.
4083
4084         * gst/gstregistrybinary.h:
4085         Bump binary registry format version for this as it changes the
4086         format on those architectures that don't have unaligned access
4087         and 64 bit pointers.
4088
4089 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4090
4091         * docs/pwg/advanced-dparams.xml:
4092         * docs/pwg/building-props.xml:
4093         * docs/pwg/other-source.xml:
4094         * gst/glib-compat.h:
4095         * gst/gstbin.c: (gst_bin_class_init):
4096         * gst/gstclock.c: (gst_clock_class_init):
4097         * gst/gstindex.c: (gst_index_class_init):
4098         * gst/gstobject.c: (gst_object_class_init):
4099         * gst/gstpad.c: (gst_pad_class_init):
4100         * gst/gstpipeline.c: (gst_pipeline_class_init):
4101         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4102         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4103         * libs/gst/base/gstbasetransform.c:
4104         (gst_base_transform_class_init):
4105         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4106         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4107         (_gst_check_fault_handler_sighandler),
4108         (_gst_check_fault_handler_setup), (gst_check_init):
4109         * libs/gst/controller/gstcontroller.c:
4110         (_gst_controller_class_init):
4111         * libs/gst/controller/gstlfocontrolsource.c:
4112         (gst_lfo_control_source_class_init):
4113         * libs/gst/net/gstnetclientclock.c:
4114         (gst_net_client_clock_class_init):
4115         * libs/gst/net/gstnettimeprovider.c:
4116         (gst_net_time_provider_class_init):
4117         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4118         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4119         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4120         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4121         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4122         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4123         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4124         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4125         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4126         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4127         * plugins/elements/gsttee.c: (gst_tee_class_init):
4128         * plugins/elements/gsttypefindelement.c:
4129         (gst_type_find_element_class_init):
4130         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4131         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4132         use it everywhere for GParamSpecs that use static strings (i.e. all).
4133         This gives us less memory usage, fewer allocations and thus less
4134         memory defragmentation. Fixes bug #523806.
4135
4136 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4137
4138         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4139         (gst_param_spec_mini_object):
4140         * gst/gstminiobject.h:
4141         * win32/common/libgstreamer.def:
4142         * docs/gst/gstreamer-sections.txt:
4143         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4144         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4145         GstParamSpecMiniObject into a public header for this.
4146
4147         This make GstMiniObject a bit more consistent with GObject and makes
4148         it possible to extend the param specs.
4149
4150         gst_value_dup_mini_object is mainly useful for set_property methods.
4151
4152         Fixes bug #523798.
4153
4154         * tools/gst-inspect.c: (print_element_properties_info):
4155         Print something useful for GstMiniObject properties and not just
4156         "unknown type".
4157
4158 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4159
4160         * docs/gst/gstreamer-sections.txt:
4161         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4162         (gst_registry_binary_check_magic):
4163         * gst/gstregistrybinary.h:
4164         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4165         and add it to the (private part) of the docs to fix the build.
4166
4167 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4168
4169         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4170         (gst_registry_binary_check_magic),
4171         (gst_registry_binary_read_cache):
4172         * gst/gstregistrybinary.h:
4173         Don't use GST_MAJORMINOR for the binary registry version. Instead
4174         hardcode a value that must be changed whenever the format changes
4175         in an incompatible way.
4176         Also don't GST_ERROR when there is a version mismatch, just
4177         regenerate the registry silently.
4178
4179 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4180
4181         * configure.ac:
4182         Back to development - 0.10.18.1
4183
4184 === release 0.10.18 ===
4185
4186 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4187
4188         * configure.ac:
4189           releasing 0.10.18, "So far away"
4190
4191 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4192
4193         * configure.ac:
4194         * win32/common/config.h:
4195         0.10.17.4 pre-release
4196
4197 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4198
4199         Patch by: Ole André Vadla Ravnås
4200             <ole dot andre dot ravnas at tandberg dot com>
4201
4202         * docs/gst/gstreamer-sections.txt:
4203         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4204         (gst_poll_update_winsock_event_mask),
4205         (gst_poll_prepare_winsock_active_sets),
4206         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4207         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4208         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4209         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4210         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4211         * gst/gstpoll.h:
4212         * win32/common/libgstreamer.def:
4213         Add new function gst_poll_fd_ignored() for improved Windows
4214         compatibility.
4215         Various minor fixes and cleanups. See #520808.
4216
4217 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4218
4219         * gst/gstindex.c: (gst_index_entry_free):
4220         * gst/gstindex.h:
4221           Don't free key strings which we don't own. Fixes crash in
4222           gst_index_entry_free() (#522741).
4223
4224         * tests/check/Makefile.am:
4225         * tests/check/gst/.cvsignore:
4226         * tests/check/gst/gstindex.c: (test_index_entries),
4227           (gst_index_suite), (gst_index):
4228           Add unit test for the above.
4229
4230 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4231
4232         * win32/common/libgstreamer.def:
4233         Remove symbols that were removed recently. Fixes bug #521740.
4234
4235 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4236
4237         * configure.ac:
4238         * win32/common/config.h:
4239         0.10.17.3 pre-release
4240
4241 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4242
4243         Patch by: Ole André Vadla Ravnås
4244             <ole dot andre dot ravnas at tandberg dot com>
4245
4246         * docs/gst/gstreamer-sections.txt:
4247         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4248         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4249         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4250         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4251         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4252         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4253         (gst_poll_fd_can_write), (gst_poll_wait),
4254         (gst_poll_set_controllable), (gst_poll_restart),
4255         (gst_poll_set_flushing):
4256         * gst/gstpoll.h:
4257         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4258         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4259         (gst_net_time_provider_new):
4260         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4261         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4262         * tests/benchmarks/gstpollstress.c: (main):
4263         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4264         Remove GstPollMode from the API, it does not make sense to let the
4265         application control this.
4266         Add support for Win32.
4267         Fix the testsuite. Fixes #520671.
4268
4269 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4270
4271         Patch by: Ole André Vadla Ravnås
4272             <ole dot andre dot ravnas at tandberg dot com>
4273
4274         * gst/gstregistrybinary.c:
4275         Include io.h for write() and close() when building with MSVC. Fixes
4276         bug #520877.
4277
4278 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4279
4280         * configure.ac:
4281         * gst/gst_private.h:
4282         * gst/gstconfig.h.in:
4283         * gst/gstregistry.h:
4284         * gst/gstregistrybinary.c:
4285         * win32/common/gstconfig.h:
4286           Move registry backend API to private headers where we can. Add
4287           fixme-0.11 comments for the others. Add stubs for the xml backend when
4288           using the binary to ensure they functions exists (they should not be
4289           used though). Fixes #520756.
4290
4291 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4292
4293         * configure.ac:
4294         * win32/common/config.h:
4295         0.10.17.2 prelease
4296
4297 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4298
4299         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4300         (gst_registry_binary_read_cache):
4301         * gst/gstregistryxml.c: (gst_registry_save):
4302         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4303         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4304         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4305         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4306         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4307         Fixes #520152
4308
4309 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4310
4311         * gst/gstminiobject.c:
4312         Import gst_private.h before any other header that might include other
4313         glib headers. This fixes the build on windows using native compilers.
4314
4315 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4316
4317         * win32/common/gstconfig.h:
4318           Add here too, just for completeness.
4319
4320 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4321
4322         * configure.ac:
4323         * gst/gstconfig.h.in:
4324         * gst/gstregistry.h:
4325           Fix broken use of config.h-defined preprocessor directive in a public
4326           header file. Add a corresponding define to gstconfig.h, since we can't
4327           really remove those function declarations from the header file now
4328           (or can we? and why are they there in the first place?).
4329
4330 2008-03-03  Andy Wingo  <wingo@pobox.com>
4331
4332         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4333         the new warning.
4334
4335         * gst/gststructure.c (gst_structure_from_string): Warn if
4336         structure_from_string didn't consume the whole string, but the
4337         caller did not provide an end pointer.
4338
4339 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4340
4341         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4342
4343         * gst/gstregistryxml.c: (read_string), (load_feature):
4344           Strings allocated by libxml2 should be freed with xmlFree(), not
4345           with g_free(). Fixes issues on windows in certain contexts (#519698).
4346
4347 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * gst/gstinterface.c: (gst_element_implements_interface):
4350           Don't crash if the element supports the interface queried, but does
4351           not implement GstImplementsInterface. Fixes #519584.
4352
4353         * tests/check/Makefile.am:
4354         * tests/check/gst/.cvsignore:
4355         * tests/check/gst/gstinterface.c:
4356           Add unit test for the above.
4357
4358 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4359
4360         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4361         Small doc update.
4362
4363 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4364
4365         * gst/gstsegment.c: (gst_segment_set_seek),
4366         (gst_segment_to_stream_time):
4367         Improve some comment.
4368         Update variables where it makes more sense.
4369
4370 2008-02-29  Rene Stadler  <mail@renestadler.de>
4371
4372         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4373         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4374         URIHandlers implemented using language bindings.
4375
4376 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4377
4378         * gst/gstelementfactory.h:
4379         * tests/check/elements/fakesink.c:
4380         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4381         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4382         * tests/check/elements/filesink.c: (setup_filesink):
4383         * tests/check/elements/filesrc.c: (setup_filesrc):
4384         * tests/check/elements/identity.c: (setup_identity):
4385         * tests/check/elements/tee.c:
4386         * tests/check/generic/sinks.c:
4387         * tests/check/generic/states.c: (setup), (teardown):
4388         * tests/check/gst/gst.c:
4389         * tests/check/gst/gstabi.c:
4390         * tests/check/gst/gstbin.c:
4391         * tests/check/gst/gstbus.c: (pull_messages):
4392         * tests/check/gst/gstcaps.c:
4393         * tests/check/gst/gstelement.c:
4394         * tests/check/gst/gstevent.c:
4395         * tests/check/gst/gstghostpad.c:
4396         * tests/check/gst/gstiterator.c:
4397         * tests/check/gst/gstmessage.c:
4398         * tests/check/gst/gstminiobject.c: (my_foo_init):
4399         * tests/check/gst/gstobject.c: (thread_name_object),
4400         (gst_object_suite):
4401         * tests/check/gst/gstpad.c:
4402         * tests/check/gst/gstplugin.c:
4403         * tests/check/gst/gstpoll.c:
4404         * tests/check/gst/gstquery.c:
4405         * tests/check/gst/gstsegment.c:
4406         * tests/check/gst/gststructure.c:
4407         * tests/check/gst/gstsystemclock.c:
4408         * tests/check/gst/gsttask.c:
4409         * tests/check/gst/gstutils.c:
4410         * tests/check/gst/gstvalue.c:
4411         * tests/check/gst/struct_hppa.h:
4412         * tests/check/gst/struct_i386.h:
4413         * tests/check/gst/struct_ppc32.h:
4414         * tests/check/gst/struct_ppc64.h:
4415         * tests/check/gst/struct_x86_64.h:
4416         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4417         * tests/check/libs/basesrc.c:
4418         * tests/check/libs/controller.c: (GST_START_TEST):
4419         * tests/check/libs/gdp.c:
4420         * tests/check/libs/gstnetclientclock.c:
4421         * tests/check/libs/gstnettimeprovider.c:
4422         * tests/check/libs/libsabi.c:
4423         * tests/check/libs/struct_hppa.h:
4424         * tests/check/libs/struct_i386.h:
4425         * tests/check/libs/struct_ppc32.h:
4426         * tests/check/libs/struct_ppc64.h:
4427         * tests/check/libs/struct_x86_64.h:
4428         * tests/check/pipelines/cleanup.c:
4429         * tests/check/pipelines/simple-launch-lines.c:
4430         * tests/check/pipelines/stress.c:
4431         And correct even more valid sparse warnings.
4432
4433         * win32/common/libgstreamer.def:
4434         Add gst_poll_fd_init to the list of symbols.
4435
4436 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4437
4438         * gst/gstconfig.h.in:
4439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4440         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4441         (gst_check_log_critical_func), (gst_check_drop_buffers),
4442         (gst_check_element_push_buffer_list):
4443         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4444         (gst_controller_get_type):
4445         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4446         (gst_object_get_controller), (gst_object_get_control_source):
4447         * libs/gst/controller/gstinterpolationcontrolsource.c:
4448         (gst_interpolation_control_source_new):
4449         * libs/gst/controller/gstlfocontrolsource.c:
4450         (gst_lfo_control_source_new):
4451         * libs/gst/dataprotocol/dataprotocol.c:
4452         (gst_dp_event_from_packet_0_2):
4453         * plugins/elements/gstfdsrc.c:
4454         * plugins/elements/gstmultiqueue.c:
4455         * plugins/elements/gsttee.c:
4456         * plugins/elements/gsttypefindelement.c:
4457         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4458         (gst_file_index_add_association):
4459         * plugins/indexers/gstmemindex.c:
4460         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4461         * tests/check/elements/queue.c: (setup_queue):
4462         * tests/check/gst/gstpipeline.c:
4463         * tests/check/libs/collectpads.c: (setup), (teardown),
4464         (gst_collect_pads_suite):
4465         * tests/examples/adapter/adapter_test.c:
4466         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4467         * tests/examples/xml/createxml.c:
4468         * tests/examples/xml/runxml.c:
4469         * tools/gst-inspect.c:
4470         * tools/gst-run.c:
4471         Correct all relevant warnings found by the sparse semantic code
4472         analyzer. This include marking several symbols static, using
4473         NULL instead of 0 for pointers, not using variable sized arrays
4474         on the stack, moving variable declarations to the beginning of
4475         a block and using "foo (void)" instead of "foo ()" for declarations.
4476
4477 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4478
4479         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4480         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4481         Don't reset GstPollFDs, this is not necessary at all.
4482
4483         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4484         (delayed_restart), (delayed_control):
4485         Use GST_POLL_FD_INIT.
4486
4487 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4488
4489         * gst/gstpoll.c: (gst_poll_fd_init):
4490         * gst/gstpoll.h:
4491         Added Since tags.
4492
4493         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4494         Use some more init macros.
4495
4496 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4497
4498         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4499         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4500         Use init macros and functions.
4501
4502 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4503
4504         * docs/gst/gstreamer-sections.txt:
4505         * gst/gstpoll.c: (gst_poll_fd_init):
4506         * gst/gstpoll.h:
4507         Add INIT macro and _init method for initializing the GstPollFD.
4508
4509 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4510
4511         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4512         (gst_fd_sink_update_fd):
4513         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4514         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4515         (delayed_restart), (delayed_control):
4516         Initialize some uninitialized variables as spotted by valgrind.
4517
4518 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4519
4520         * tests/benchmarks/Makefile.am:
4521         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4522         (main):
4523         Add poll stress test.
4524
4525 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4526
4527         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4528
4529         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4530         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4531         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4532         * plugins/elements/gstfdsink.h:
4533         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4534         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4535         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4536         (gst_fd_src_uri_set_uri):
4537         * plugins/elements/gstfdsrc.h:
4538         Port to GstPoll. See #505417.
4539
4540 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4541
4542         * win32/common/libgstreamer.def:
4543         Add new gst_poll_ symbols to win32 defs.
4544
4545 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4546
4547         * docs/libs/gstreamer-libs-sections.txt:
4548         * libs/gst/net/gstnetclientclock.c:
4549         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4550         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4551         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4552         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4553         * libs/gst/net/gstnetclientclock.h:
4554         * libs/gst/net/gstnettimeprovider.c:
4555         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4556         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4557         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4558         (gst_net_time_provider_new):
4559         * libs/gst/net/gstnettimeprovider.h:
4560         Use a private stuct to not break ABI.
4561
4562 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4563
4564         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4565
4566         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4567         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4568         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4569         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4570         * libs/gst/net/gstnetclientclock.h:
4571         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4572         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4573         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4574         (gst_net_time_provider_new):
4575         * libs/gst/net/gstnettimeprovider.h:
4576         Massive code removal and cleanups because of GstPoll.
4577         Fixes #505417.
4578
4579 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4580
4581         * configure.ac:
4582         Add checks for poll, ppoll and pselect.
4583
4584         * docs/gst/gstreamer-docs.sgml:
4585         * docs/gst/gstreamer-sections.txt:
4586         Add docs for GstPoll.
4587
4588         * gst/Makefile.am:
4589         * gst/gst.h:
4590         * gst/gstpoll.c: (find_index), (selectable_fds),
4591         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4592         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4593         (gst_poll_set_mode), (gst_poll_get_mode),
4594         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4595         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4596         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4597         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4598         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4599         (gst_poll_fd_can_write), (gst_poll_wait),
4600         (gst_poll_set_controllable), (gst_poll_restart),
4601         (gst_poll_set_flushing):
4602         * gst/gstpoll.h:
4603         Add generic poll abstraction. We ideally don't want to have this in core
4604         here but in glib intead...
4605         This code will be used in various network elements and ultimately for
4606         the nanosecond precision monotonic clock (that's why it's here in core).
4607         It'll allow us to implement cancelable socket operations for windows too.
4608
4609         * tests/check/Makefile.am:
4610         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4611         (delayed_stop), (delayed_restart), (delayed_flush),
4612         (delayed_control), (gst_poll_suite):
4613         Add GstPoll unit test.
4614
4615 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4616
4617         * gst/gstfilter.c:
4618           Improve documentation of gst_filter_run(). Fixes #518627.
4619
4620 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4621
4622         * docs/README:
4623           Add a few lines about the new 'check-inspected-versions' target.
4624
4625 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4626
4627         * tests/check/gst/gstevent.c:
4628           Add qos to the event test. Rename tcase/tsuite; is not only about
4629           custom events.
4630
4631 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4632
4633         * plugins/elements/gstqueue.c:
4634           Ensure that buffer metadata is writeable, before modifying. Spotted by
4635           Mike.
4636
4637 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4638
4639         * plugins/elements/gstqueue.c:
4640         * plugins/elements/gstqueue.h:
4641           When dropping buffers in leaky modes, mark next buffers we sent as
4642           DISCONT.
4643
4644 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4647           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4648
4649 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4650
4651         * plugins/elements/Makefile.am:
4652         * plugins/elements/gstbufferstore.c:
4653         * plugins/elements/gstbufferstore.h:
4654         * plugins/elements/gsttypefindelement.h:
4655           Remove GstBufferStore, no idea why we were still building it.
4656           It's not used anywhere and superseded by GstAdapter.
4657
4658         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4659           (gst_file_src_create_mmap):
4660         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4661           Printf format fixes for 64-bit integers.
4662
4663 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4664
4665         * configure.ac:
4666         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4667         We're not in 0.8 times anymore.
4668
4669 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4670
4671         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4672         (gst_check_element_push_buffer_list):
4673         * libs/gst/check/gstcheck.h:
4674         Make the declaration in the header for
4675         gst_check_element_push_buffer_list match the implementation.
4676
4677         Fix up spelling, grammar and wording of the documentation in a few
4678         places, and add the Since keyword to new API functions.
4679         Use g_list_delete_link instead of g_list_remove in
4680         gst_check_drop_buffers, since it's immeasurably more efficient.
4681
4682         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4683         Use new gst_check_drop_buffers function where appropriate.
4684
4685         * win32/common/libgstbase.def:
4686         * win32/common/libgstreamer.def:
4687         Add new symbols gst_collect_pads_take_buffer, 
4688         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4689         exports
4690
4691         Changelog surgery to add API keyword to new gst_check API.
4692
4693 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4694
4695         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4696         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4697         Update pre-generated flex files with flex 2.3.34.
4698
4699 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4700
4701         * gst/gstminiobject.c:
4702           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4703           friendly to subclasses and not require them to know all internals
4704           of their parent class.
4705
4706 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * docs/libs/gstreamer-libs-sections.txt:
4709         * libs/gst/base/gstcollectpads.c:
4710         * libs/gst/base/gstcollectpads.h:
4711           Add sub-buffer functions to collectpads. Fixes #516187.
4712           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4713
4714 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4715
4716         * gst/gstbuffer.c:
4717           Copy selected buffer-flags when creating subbuffers.
4718           Fixes #516395.
4719
4720 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4721
4722         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4723         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4724         * gst/gstmessage.c: (gst_message_class_init),
4725         (gst_message_finalize):
4726         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4727         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4728         (gst_mmap_buffer_finalize):
4729         Properly chain up finalize functions to the parent class.
4730
4731 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4732
4733         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4734
4735         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4736         (gst_index_set_resolver_full):
4737         * gst/gstindex.h:
4738         Add new function with option to dispose of user_data in resolver.
4739         Actually call the dispose function when finalizing the object and not
4740         just when changing the resolver/filter.
4741         API: GstIndex::gst_index_set_resolver_full()
4742
4743         * docs/gst/gstreamer-sections.txt:
4744         Add new function to docs. Fixes #515469.
4745
4746 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4747
4748         * gst/gstindex.c: (gst_index_finalize):
4749         Chain up finalize to the parent class. Fixes leaking the GstObject
4750         name and other things.
4751
4752 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4753
4754         * configure.ac:
4755         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4756         pre-releases or releases.
4757
4758         * docs/faq/gst-uninstalled:
4759         Add gst-plugins-gl
4760
4761         * docs/random/release:
4762         Change one of the steps - we only upload core & base to Gnome FTP
4763
4764 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4765
4766         * gst/gstconfig.h.in:
4767           Add 'id' for example.
4768
4769         * gst/gstpad.c:
4770         * gst/gstutils.c:
4771         * plugins/elements/gstfdsink.c:
4772           Link to signals. Doc and comment fixes.
4773
4774 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4775
4776         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4777         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4778           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4779           unused and unimplemented; finally, it is plugin features, not
4780           plugins, that have ranks.
4781           
4782 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4783
4784         * gst/gstpluginfeature.h:
4785           Clarify GstRank range docs.
4786
4787 2008-02-05  David Schleef  <ds@schleef.org>
4788
4789         * gst/gst.c: Add a separate gst_deinitialized that prevents
4790           gst_init() from being called after gst_deinit().  Fixes #509559
4791
4792 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4793
4794         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4795         (gst_bin_class_init):
4796         * gst/gstelement.c: (gst_element_base_class_init),
4797         (gst_element_class_add_pad_template):
4798         * gst/gstpadtemplate.c: (gst_pad_template_init):
4799         * gst/gstpipeline.c: (gst_pipeline_get_type),
4800         (gst_pipeline_base_init), (gst_pipeline_class_init):
4801         * libs/gst/base/gstbasesink.c:
4802         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4803         (gst_base_src_base_init), (gst_base_src_class_init):
4804         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4805         (gst_capsfilter_class_init):
4806         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4807         (gst_fake_sink_class_init):
4808         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4809         (gst_fake_src_class_init):
4810         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4811         (gst_fd_sink_class_init):
4812         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4813         (gst_fd_src_class_init):
4814         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4815         (gst_file_sink_class_init):
4816         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4817         (gst_file_src_class_init):
4818         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4819         (gst_identity_class_init):
4820         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4821         (gst_multi_queue_class_init):
4822         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4823         (gst_queue_class_init):
4824         * plugins/elements/gsttee.c: (gst_tee_base_init),
4825         (gst_tee_class_init):
4826         * plugins/elements/gsttypefindelement.c:
4827         (gst_type_find_element_base_init),
4828         (gst_type_find_element_class_init):
4829         * tests/check/gst/gstelement.c: (gst_element_suite):
4830         Revert previous changes to the behaviour of GstPadTemplates, etc
4831         and the possiblity to call them in class_init as it breaks too
4832         many elements. Reopens bug #491501.
4833
4834         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4835         several places.
4836
4837 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4838
4839         * tools/gst-launch.c:
4840         Dump one graph per pipeline state-change and state change name
4841         (if GST_DEBUG_DUMP_DOT_DIR is set).
4842
4843 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4844
4845         * gst/gstpad.c:
4846         * tests/check/gst/gstpad.c:
4847         Be sure that we have a new copy of the caps and not
4848         reffed caps from a template
4849
4850 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4851
4852         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4853         * gst/gstpipeline.c: (gst_pipeline_get_type),
4854         (gst_pipeline_class_init):
4855         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4856         (gst_base_sink_class_init):
4857         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4858         (gst_base_src_class_init):
4859         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4860         (gst_base_transform_class_init):
4861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4862         (gst_collect_pads_class_init):
4863         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4864         * libs/gst/net/gstnettimeprovider.c:
4865         (gst_net_time_provider_base_init),
4866         (gst_net_time_provider_class_init):
4867         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4868         (gst_capsfilter_class_init):
4869         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4870         (gst_fake_sink_class_init):
4871         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4872         (gst_fake_src_class_init):
4873         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4874         (gst_fd_sink_class_init):
4875         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4876         (gst_fd_src_class_init):
4877         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4878         (gst_file_sink_class_init):
4879         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4880         (gst_file_src_class_init):
4881         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4882         (gst_identity_class_init):
4883         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4884         (gst_multi_queue_class_init):
4885         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4886         (gst_queue_class_init):
4887         * plugins/elements/gsttee.c: (gst_tee_base_init),
4888         (gst_tee_class_init):
4889         * plugins/elements/gsttypefindelement.c:
4890         (gst_type_find_element_base_init),
4891         (gst_type_find_element_class_init):
4892         Don't use base_init where not absolutely necessary. For example it's
4893         not necessary anymore for adding pad templates or setting element
4894         details.
4895
4896         Leave empty base_init functions in several places as GST_BOILERPLATE
4897         still defines and uses them.
4898
4899 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4900
4901         * gst/gstelement.c: (gst_element_base_class_init),
4902         (gst_element_class_add_pad_template):
4903         * gst/gstpadtemplate.c:
4904         Make it possible (and recommended) to set element details and add
4905         pad templates in the class_init functions by copying the details/pad
4906         templates in GstElement's base_init.
4907
4908         Also make it possible to replace existing pad templates by adding
4909         a new one with the same name. This was done in a hackish fashion
4910         in same elements before already.
4911
4912         Don't reference pad templates that are added a second time. A
4913         new pad template has a refcount of one and is not floating anymore
4914         and to be owned by the element's class. Make this more explicit by
4915         mentioning it in the docs of gst_element_class_add_pad_template().
4916
4917         These changes are backwards compatible. Fixes bug #491501.
4918
4919         * tests/check/gst/gstelement.c:
4920         Add unit test for setting element details, adding pad templates and
4921         replacing them in a subclass.
4922
4923 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4924
4925         * tools/gst-inspect.c: (print_interfaces),
4926         (print_element_properties_info), (print_pad_info),
4927         (print_signal_info), (print_element_info):
4928         Fix a few memory leaks.
4929
4930 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4931
4932         * docs/libs/gstreamer-libs-sections.txt:
4933         * libs/gst/check/gstcheck.c:
4934         * libs/gst/check/gstcheck.h:
4935         Add more functions for unit testing: gst_check_drop_buffers,
4936         gst_check_caps_equal, gst_check_element_push_buffer_list,
4937         gst_check_element_push_buffer
4938         API: gst_check_drop_buffers
4939         API: gst_check_caps_equal
4940         API: gst_check_element_push_buffer_list
4941         API: gst_check_element_push_buffer
4942
4943 2008-02-01  Julien Moutte  <julien@fluendo.com>
4944
4945         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4946         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4947         (gst_index_finalize), (gst_index_entry_free),
4948         (gst_index_add_association): Fix memory leaks.
4949         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4950         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4951         (gst_mem_index_free_format), (gst_mem_index_free_id),
4952         (gst_mem_index_finalize): Fix memory leaks.
4953         * win32/common/config.h: Updated to CVS HEAD.
4954
4955 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4956
4957         * docs/README:
4958           Some more details about how the plugin docs works.
4959
4960         * docs/plugins/gstreamer-plugins-sections.txt:
4961           Whitespace cleanup.
4962
4963 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4964
4965         * gst/parse/grammar.tab.pre.c:
4966         * gst/parse/grammar.tab.pre.h:
4967         * gst/parse/grammar.y:
4968         * gst/parse/lex._gst_parse_yy.pre.c:
4969           Add delayed set-property. This allows to set properties on dynamicaly
4970           created objects (pads in videomxer). Fixes #509391.
4971
4972 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4973
4974         * gst/gstutils.c:
4975         Check if caps are not NULL (fix bug #510194)
4976
4977 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4978
4979         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4980         (gst_base_sink_get_position_paused):
4981         Add fixme regarding EOS in pull mode.
4982         Fix position reporting in PAUSED for negative rates.
4983
4984 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4985
4986         * gst/gstminiobject.c: (gst_mini_object_replace):
4987         When replacing a miniobject, do a quick equality check first so that we
4988         can avoid a ref/unref pair.
4989
4990 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4991
4992         * docs/design/part-synchronisation.txt:
4993         Update some docs.
4994
4995         * docs/plugins/Makefile.am:
4996         * docs/plugins/gstreamer-plugins-docs.sgml:
4997         * docs/plugins/gstreamer-plugins-sections.txt:
4998         * plugins/elements/gstmultiqueue.c:
4999         Add multiqueue to the docs.
5000
5001 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5002
5003         * configure.ac:
5004           Back to CVS
5005
5006 === release 0.10.17 ===
5007
5008 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5009
5010         * configure.ac:
5011           releasing 0.10.17, "Due Negligence"
5012
5013 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5014
5015         * gst/gstutils.c:
5016         Revert caps != NULL check temporarily for 0.10.17 release.
5017
5018 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5019
5020         * gst/gstutils.c:
5021         Check if caps are not NULL (fix bug #510194)
5022
5023 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5024
5025         * gst/gstutils.c:
5026         Fix compilation on systems that have posix timers but no
5027         monotonic clock.
5028         Fixes: #512715
5029         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5030         dot net>
5031
5032 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5033
5034         * tools/gst-inspect.c:
5035         Revert previous commit in preparation for an impromptu 0.10.17 release
5036
5037 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5038
5039         * tools/gst-inspect.c: (print_interfaces),
5040         (print_element_properties_info), (print_pad_info),
5041         (print_signal_info), (print_element_info):
5042         Fix a few memory leaks.
5043
5044 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5045
5046         * configure.ac:
5047         Back to CVS
5048
5049 === release 0.10.16 ===
5050
5051 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5052
5053         * configure.ac:
5054           releasing 0.10.16, "Special Dispensation"
5055
5056 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5057
5058         * configure.ac:
5059           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5060           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5061           not fail when trying to crosscompile on OpenEmbedded (#511750).
5062
5063 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5064
5065         * docs/manuals.mak:
5066         Use $(MAKE) instead of make to fix the build if GNU make is
5067         called different. Fixes bug #510747.
5068
5069 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * gst/gstplugin.c: (_gst_plugin_initialize):
5072           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5073           again, which I broke two commits ago when changing the API
5074           of gst_plugin_register_static(): the g_list_foreach() in
5075           _gst_plugin_register_static still assumed the old function
5076           signature and would therefore fail (re-fixes #510187).
5077
5078         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5079           (_gst_plugin_register_static), (gst_plugin_register_static):
5080           Revert the (technically correct) change to call g_thread_init() from
5081           the pre-main() constructor. This will break programs which call
5082           g_thread_init() without an if (!g_thread_supported()) guard in their
5083           main function. We could just blame it on GLib or the application, but
5084           it's probably best to just avoid this altogether and simply not use
5085           any GLib functions here and use plain old malloc() with a simple
5086           array to store the plugins to register later when gst_init() is
5087           finally called (re-fixes #510187).
5088
5089         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5090           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5091           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5092           (GST_START_TEST), (gst_plugin_suite):
5093           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5094           works.
5095
5096 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5099           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5100           This makes gtk-doc complain, but results in slightly better
5101           compiler errors. The old _gst_plugin_register_static() is
5102           still guarded, so there'll be a compiler warning about that
5103           instead. Fixes #510187 too.
5104
5105 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         * gst/gst.c: (init_post):
5108         * gst/gstplugin.c: (_gst_plugin_register_static),
5109           (gst_plugin_register_static), (_gst_plugin_initialize):
5110         * gst/gstplugin.h: (GstPluginFilter):
5111           Change API of gst_plugin_register_static() to not take
5112           a GstPluginDesc, but rather just take all the arguments
5113           in a GstPluginDesc directly. This is more intuitive and
5114           avoids certain mistakes when porting code from
5115           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5116           Fixes #510187.
5117
5118         * tests/check/gst/gstplugin.c:
5119           Fix up for changed API.
5120
5121 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5122
5123         * docs/faq/legal.xml:
5124           Update FAQ, Totem actually has an exception these days.
5125
5126 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5127
5128         * win32/common/libgstreamer.def:
5129         Add new API declarations
5130
5131 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5132
5133         * gst/gstminiobject.c:
5134           Spelling fixes for the API docs.
5135
5136 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5137
5138         * libs/gst/base/gstbasetransform.c:
5139           Fix long property description for QoS.
5140
5141 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5142
5143         * gst/gst.c:
5144         _gst_trace_on is already provided by gsttrace.h, no need to declare
5145         it ourselves.
5146
5147         * docs/libs/gstreamer-libs-sections.txt:
5148         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5149         and remove strange tcase_add_test which is outputting a warning.
5150
5151         * libs/gst/check/gstcheck.c:
5152         * libs/gst/check/gstcheck.h:
5153         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5154         and define them in gstcheck.c instead of having every .c file whcih
5155         includes gstcheck.h be defining its own copy and relying on symbol
5156         interposing to marry them all, which doesn't work on Solaris.
5157
5158         * tests/check/elements/identity.c: (GST_START_TEST):
5159         Don't define 'buffers' locally, it comes from libgstcheck.
5160
5161         * tests/check/generic/sinks.c: (send_buffer):
5162         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5163
5164         * tests/check/gst/gststructure.c: (GST_START_TEST):
5165         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5166         * tests/check/gst/gstutils.c: (GST_START_TEST):
5167         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5168         Add a bunch of casts to make various constants fit the types
5169         they're being assigned to.
5170
5171 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5172
5173         * gst/gstchildproxy.c:
5174           Improve docs and add some ideas for making this more general-purpose.
5175
5176 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5177
5178         * gst/gst_private.h: (GST_CAT_TYPES):
5179           Add GST_CAT_TYPES, for consistency, and so that the other
5180           debug categories don't make fun of it. Spotted by Saur on IRC.
5181
5182 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5183
5184         * gst/parse/Makefile.am:
5185           Move types.h from EXTRA_DIST to noinst_HEADERS.
5186
5187 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5188
5189         * autogen.sh:
5190           Add -Wno-portability to the automake parameters to stop warnings
5191           about GNU make extensions being used. We require GNU make in almost
5192           every Makefile anyway.
5193
5194         * configure.ac:
5195           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5196           at the same time is required for per target flags.
5197
5198 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5199
5200         * gst/gstmacros.h:
5201           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5202           __GNUC__ is defined before using it.
5203
5204 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5205
5206         * docs/gst/gstreamer-sections.txt:
5207         * gst/gst.c: (init_post):
5208         * gst/gstplugin.c: (_gst_plugin_register_static),
5209           (gst_plugin_register_static), (_gst_plugin_initialize),
5210           (gst_plugin_register_func):
5211         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5212           API: add gst_plugin_register_static() and deprecate
5213           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5214           (#498924).
5215           Also, in _gst_plugin_register_static(), make sure to call
5216           g_thread_init() before calling GLib functions such as
5217           g_list_append() if we're not initialised yet, since that
5218           may lead to random crashes with older GSlice/GLib versions.
5219
5220         * tests/check/gst/gstplugin.c:
5221           Adapt unit test to above changes.
5222
5223 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5226         * gst/gstcaps.c: (gst_caps_to_string):
5227         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5228           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5229           Yet another gratuitous GString micro-optimisation: add a (private)
5230           function that serialises a structure appending to an existing
5231           GString, so that when we serialise caps we don't need to alloc+free
5232           a throwaway GString for each structure (each of which also entailing
5233           multiple reallocs on the way); also use g_string_sized_new() in
5234           various places with an approximate string length to avoid reallocs
5235           within GString. See #500143.
5236
5237 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5238
5239         * gst/gststructure.c: (gst_structure_id_set_value):
5240           Always check UTF-8 conformance of structure strings and not only
5241           if the debugging system is enabled; reasoning: the behaviour of
5242           the actual code shouldn't really change depending on whether the
5243           debugging system is enabled or not (#508291).
5244
5245 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5246
5247         * Makefile.am:
5248           Remove old coverage target in favour of "make lcov".
5249
5250 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5251
5252         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5253         (gst_base_src_loop):
5254         The start segment for reverse playback goes from start to last_stop.
5255
5256 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5257
5258         Patch by: Peter Kjellerstedt <pkj axis com>
5259
5260         * gst/gstclock.h:
5261         Cast the results from the timeval/spec_to_time macros to what the
5262         docs say it casts to, a GstClockTime. fixes #508175.
5263
5264 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5265
5266         * gst/gstbuffer.c:
5267         Update some comments.
5268
5269         * tools/gst-inspect.c: (print_element_properties_info):
5270         Improve printing of flags.
5271
5272 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * libs/gst/base/gstbasetransform.c:
5275           (gst_base_transform_transform_size):
5276           Print element name with g_warning() if there's a problem
5277           with the unit size.
5278
5279 2008-01-07  David Schleef  <ds@schleef.org>
5280
5281         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5282
5283         * libs/gst/controller/gstcontroller.h:
5284         * libs/gst/controller/gstcontrolsource.h:
5285         * libs/gst/controller/gstinterpolationcontrolsource.h:
5286         * libs/gst/controller/gstlfocontrolsource.h:
5287         * libs/gst/dataprotocol/dataprotocol.h:
5288           Fix empty prototypes.  Fixes bug #507957.
5289
5290 2008-01-07  David Schleef  <ds@schleef.org>
5291
5292         * docs/faq/dependencies.xml: Fix typo.
5293
5294 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5295
5296         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5297         (gst_base_src_loop):
5298         Don't update the last_stop position in do_seek, that's the position we
5299         did a seek to.
5300         Read backwards when we have a negative rate.
5301
5302         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5303         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5304         (filesrc_suite):
5305         Add check for reverse reading.
5306
5307 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5308
5309         Patch by: Alexis Ballier <aballier at gentoo org>
5310
5311         * tests/check/gst/gstabi.c:
5312         * tests/check/gst/struct_ppc64.h:
5313         * tests/check/libs/libsabi.c:
5314         * tests/check/libs/struct_ppc64.h:
5315           Decide which header to include based on the userland ABI target
5316           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5317           for 64-bit userland (#503590).  Might need something similar for
5318           x86 too.
5319
5320 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5321
5322         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5323           Log the reason why fopen fails in addition to the fact that it failed.
5324           
5325 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5326
5327         * gst/parse/parse.l:
5328         Use "%option never-interactive" to prevent useless calls to isatty()
5329         on every input when parsing. Also use "%option noinput" to not define
5330         the static input/yyinput functions which we don't use anyway. This
5331         removes a compiler warning with gcc 4.3 and saves some bytes in the
5332         library.
5333         
5334         * gst/parse/lex._gst_parse_yy.pre.c:
5335         Regenerated for the above change.
5336
5337 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5338
5339         * gst/gstpad.c: (fixate_value):
5340         Don't crash when trying to fixate and empty list.
5341         Fixes #506643.
5342
5343 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5344
5345         * docs/faq/gst-uninstalled:
5346         Clarify the comments to make the usage of this script and what it
5347         does easier to understand.
5348
5349 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5350
5351         * tools/gst-plot-timeline.py:
5352         Add more options to gst-plot-timeline
5353
5354 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5355
5356         * docs/design/part-synchronisation.txt:
5357         Some more info on how the stream_time in GstBaseSink is done.
5358
5359 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5360
5361         * tests/check/generic/sinks.c: (gst_sinks_suite):
5362           Put back the tcase_set_timeout(), apparently it's needed after
5363           all; fix it up in a way that makes things work with valgrind too.
5364
5365 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5366
5367         * gst/gstdebugutils.c:
5368           Add warning when failed to open file for writing.
5369
5370 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5371
5372         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5373
5374         * gst/gstvalue.c: (gst_value_is_fixed):
5375           Optimisation: bail out of the loop as early as possible (#500143).
5376
5377 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         * gst/gstcaps.c: (gst_caps_to_string):
5380         * gst/gstinfo.c: (gst_debug_construct_term_color):
5381         * gst/gstparse.c: (gst_parse_launchv):
5382         * gst/gstutils.c: (gst_util_dump_mem):
5383         * gst/gstvalue.c: (gst_value_serialize_any_list),
5384           (gst_value_transform_any_list_string):
5385           Bunch of gratuitous nano-optimisations.
5386
5387 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * tests/check/generic/sinks.c: (async_done_func),
5390           (async_done_eos_func):
5391           Fix leak in unit test (bus sync handler must unref the message
5392           if it returns GST_BUS_DROP). Don't fiddle with the default test
5393           timeout, this is smaller than the current preconfigured value
5394           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5395           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5396
5397 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5398
5399         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5400
5401         * configure.ac:
5402         Check for stdio_ext.h for the filesink changes.
5403
5404         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5405         (gst_file_sink_class_init), (gst_file_sink_init),
5406         (gst_file_sink_dispose), (gst_file_sink_set_property),
5407         (gst_file_sink_get_property), (gst_file_sink_open_file),
5408         (gst_file_sink_close_file):
5409         * plugins/elements/gstfilesink.h:
5410         Add two properties to control the buffering mode and size.
5411         API: GstFileSink::buffer-mode
5412         API: GstFileSink::buffer-size
5413         Fixes #500150.
5414
5415 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5416
5417         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5418         Add some more docs to explain why a FIXME was wrongly added. 
5419
5420 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5421
5422         * gst/gstobject.c:
5423           Fix typo in the gst_object_{ref,unref} documentation.
5424
5425 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5426
5427         * tests/check/libs/controller.c:
5428         * tests/check/libs/typefindhelper.c:
5429         * tests/check/pipelines/parse-launch.c:
5430           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5431           going to be deprecated (see #498924).
5432
5433 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5434
5435         * gst/gsttypefind.c: (gst_type_find_register):
5436           Make gst_type_find_register work for static typefind functions,
5437           ie. allow passing plugin == NULL (prerequisite for #498924).
5438
5439         * gst/gstelementfactory.c: (gst_element_register):
5440           Small docs addition.
5441
5442 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5443
5444         * gst/gstpad.c: (gst_pad_dispose):
5445         Really unlink the peer pad instead of setting the peer pointer to NULL
5446         when we dispose the pad.
5447         This correctly calls the unlink functions and makes sure that the peer
5448         does not have a handle to invalid memory. See #504671.
5449
5450         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5451         Add testsuite for above case.
5452
5453 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5454
5455         Patch by: Peter Kjellerstedt <pkj axis com>
5456
5457         * libs/gst/check/gstcheck.h:
5458           Fix detection of the check version we're compiling against (would
5459           otherwise break if check goes v0.10.0); correctly report the
5460           name of the failed test again in case of failure, instead of
5461           just 'tf' (fixes #504499).
5462
5463 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5464
5465         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5466         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5467         (gst_base_src_loop), (gst_base_src_set_flushing),
5468         (gst_base_src_change_state):
5469         Allow sending EOS to the source to make it send out an EOS event from
5470         the streaming thread.
5471         Update docs and deprecate the old NULL/READY shutdown method.
5472
5473         * tests/check/libs/basesrc.c: (GST_START_TEST),
5474         (gst_basesrc_suite):
5475         Add unit test for controlled shutdown.
5476
5477 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5478
5479         * docs/design/part-synchronisation.txt:
5480         Small updates.
5481
5482         * gst/gstsegment.c: (gst_segment_set_seek),
5483         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5484         (gst_segment_to_running_time):
5485         The seek format can be different from the segment format when the start
5486         and stop values are not to be updated, when we only do a rate change for
5487         example.
5488
5489         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5490         (gst_segment_suite):
5491         Add a testcase for the rate-only seeks, checking that the format is
5492         correctly ignored when start and stop are not updated.
5493
5494 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5495
5496         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5497
5498         * win32/vs8/grammar.vcproj:
5499         * win32/vs8/libgstcontroller.vcproj:
5500         * win32/vs8/libgstreamer.vcproj:
5501         Fix compilation with VS8 and include some missing files.
5502
5503 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5504
5505         * gst/gsttaglist.c:
5506           Small docs addition: mention that the strings returned by
5507           gst_tag_list_get_string*() are in UTF-8 encoding.
5508
5509 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5510
5511         * Makefile.am:
5512           The check-exports stuff moved to common/win32.mak, so include that.
5513
5514 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5515
5516         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5517         (gst_base_src_perform_seek), (gst_base_src_get_range),
5518         (gst_base_src_set_playing), (gst_base_src_change_state):
5519         Make _wait_playing() not check any variables so that we can call this
5520         function from subclasses. Move the checks elsewhere similar to
5521         _wait_preroll() in basesink.
5522         Add some debugging.
5523         Only signal the LIVE cond when we are going back to PLAYING.
5524
5525 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5526
5527         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5528           Use g_remove() and g_rename(). Check result of g_rename(), and
5529           don't leak the open file descriptor if we error out when writing.
5530
5531         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5532           Must check the return value of close() after writing out the new
5533           registry file.  Sometimes write problems such as out-of-diskspace
5534           are only reported when the file is closed and not already during
5535           the write.  This may have caused partial/broken registry files in
5536           some rare circumstances. Should fix #503675.
5537
5538 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5539
5540         * docs/gst/.cvsignore:
5541         * docs/libs/.cvsignore:
5542         * docs/plugins/.cvsignore:
5543         Ignore files generated by new common/* modifications
5544
5545 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5546
5547         * win32/common/libgstbase.def:
5548           Yes, you can also have a <TAB> if you want.
5549
5550 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5551
5552         * win32/common/libgstbase.def:
5553           Add new basetransform API to win export file.
5554
5555 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5556
5557         * tests/check/gst/gstbin.c:
5558           Adjust the test to the refcount change two days ago.
5559
5560 2007-12-14  David Schleef  <ds@schleef.org>
5561
5562         * docs/faq/getting.xml: Fix typo.
5563
5564 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5565
5566         * docs/libs/gstreamer-libs-sections.txt:
5567         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5568           (gst_base_transform_prepare_output_buffer),
5569           (gst_base_transform_set_gap_aware):
5570         * libs/gst/base/gstbasetransform.h:
5571           API: Add gst_base_transform_set_gap_aware() to control whether
5572           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5573           get buffers with this flag at all. Fixes #503231.
5574
5575 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5576
5577         * libs/gst/base/gstbasesink.c:
5578         * libs/gst/base/gstbasesrc.c:
5579         * libs/gst/base/gstbasetransform.c:
5580           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5581           thread. Correct log message in gstbasesrc.c.
5582
5583 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5584
5585         * gst/gstutils.c: (element_find_unconnected_pad):
5586           Fix possible compiler warning (#503417).
5587
5588 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5589
5590         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5591           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5592
5593 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5594
5595         * tools/gst-inspect.c: (print_element_properties_info):
5596           Add support for GstFraction properties.
5597
5598 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5599
5600         * Makefile.am:
5601           Add check-exports target and run it as part of 'make check'
5602           (see #499140 and #493983).
5603
5604         * gst/gst_private.h:
5605         * gst/gstelementfactory.h:
5606         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5607         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5608           (_priv_gst_in_valgrind):
5609         * gst/gstinfo.h: (GstLogFunction):
5610         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5611           (gst_type_find_register):
5612         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5613           (gst_type_find_factory_get_type):
5614         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5615           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5616           (gst_controller_new_valist), (gst_controller_new_list),
5617           (_gst_controller_dispose), (_gst_controller_class_init):
5618         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5619         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5620           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5621           (gst_object_get_controller), (gst_object_set_controller),
5622           (gst_object_suggest_next_sync), (gst_object_sync_values),
5623           (gst_object_set_control_source), (gst_object_get_control_source),
5624           (gst_object_get_value_arrays), (gst_object_get_value_array),
5625           (gst_object_get_control_rate), (gst_object_set_control_rate):
5626         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5627         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5628           Make some functions that should be static static; rename some
5629           private symbols so that they don't get exported; add some FIXME
5630           comments so we can move accidentally exported functions into
5631           our private section in 0.11.
5632
5633         * win32/common/libgstreamer.def:
5634           Add gst_utils_get_timestamp().
5635
5636 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5637
5638         * gst/gstvalue.c:
5639         * gst/gstvalue.h:
5640           Add more missing "Since:" tags to docs.
5641
5642 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * gst/gstutils.c:
5645           Add mising "Since:" to docs.
5646
5647 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5648
5649         * gst/gstplugin.c:
5650           Include "glib-compat-private.h" to fix the build on system with
5651           glib < 2.10. Fixes #503131.
5652
5653 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5654
5655         * gst/gstutils.c:
5656         * gst/gstutils.h:
5657           Actually its not PURE as it gets the time from elsewhere.
5658
5659 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5660
5661         * docs/gst/gstreamer-sections.txt:
5662         * gst/gstclock.h:
5663         * gst/gstdebugutils.c:
5664         * gst/gstinfo.c:
5665         * gst/gstutils.c:
5666         * gst/gstutils.h:
5667         * libs/gst/base/gstbasesink.c:
5668         * tools/gst-launch.c:
5669           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5670           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5671           Thanks Tim for spotting.
5672           API: gst_util_get_timestamp
5673
5674 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5675
5676         * configure.ac:
5677           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5678
5679 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5680
5681         * gst/gststructure.c: (gst_structure_validate_name),
5682           (gst_structure_new_valist), (gst_structure_parse_value),
5683           (gst_structure_from_string):
5684           Don't crash in _from_string() if the structure name is not valid
5685           (fixes #501560).  Allow structure names to start with a number
5686           again (this apparently broke the ubuntu codec installer).
5687
5688         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5689           (GST_START_TEST):
5690           Add unit test for the crash; update unit tests for new behaviour.
5691
5692 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5693
5694         * gst/gstutils.c:
5695         Clarify gst_element_get_compatible_pad() documentation.
5696         Fixes #500919.
5697
5698 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5699
5700         * tests/check/Makefile.am:
5701           Don't forget to dist {gst,libs}/struct_hppa.h.
5702
5703 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * libs/gst/base/gstbasesink.c:
5706           Use new API to get elapsed time.
5707
5708 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5709
5710         * gst/gstdebugutils.c:
5711         * gst/gstinfo.c:
5712           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5713
5714         * tools/gst-launch.c:
5715           Use new API to get elapsed time.
5716
5717 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * docs/gst/gstreamer-sections.txt:
5720         * gst/gstclock.h:
5721         * gst/gstdebugutils.c:
5722         * gst/gstinfo.c:
5723           Rename new API + ChangeLog surgery to remove old name from last entry..
5724
5725 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5726
5727         * docs/gst/gstreamer-sections.txt:
5728         * gst/gstclock.h:
5729         * gst/gstdebugutils.c:
5730         * gst/gstinfo.c:
5731           Now hide the different clock stuff behind a macro.
5732
5733 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5734
5735         * configure.ac:
5736         * gst/gstdebugutils.c:
5737         * gst/gstinfo.c:
5738           Apply the posix-timer check from #361155. Conditionally use the posix
5739           timer for logging. This gives better timestamp precission, less
5740           overhead and no ntp jitter.
5741
5742 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5743
5744         * gst/gstminiobject.c: (gst_mini_object_get_type),
5745         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5746         (gst_mini_object_finalize), (gst_mini_object_copy),
5747         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5748         (gst_mini_object_replace), (param_mini_object_validate),
5749         (gst_param_spec_mini_object_get_type):
5750         Some cleanup and checking against invalid function parameters.
5751
5752 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5753
5754         * docs/gst/gstreamer-sections.txt:
5755         * gst/gstclock.h:
5756         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5757         (gst_systemclock_suite):
5758         Start merging in the easy bits of #361155, the monotonic clock patch.
5759         This one adds a few handy macros with docs and a testsuite.
5760
5761 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5762
5763         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5764         Be a bit smarter when seeking, like, don't try to do a seek when it's
5765         not needed. This avoids errors when the file is not seekable.
5766         Fixes #499771.
5767
5768 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5769
5770         * docs/gst/gstreamer-docs.sgml:
5771         * docs/gst/gstreamer-sections.txt:
5772         * docs/gst/gstreamer.types.in:
5773         * gst/Makefile.am:
5774         * gst/gst.h:
5775         * gst/gstpreset.c:
5776         * gst/gstpreset.h:
5777         * plugins/elements/gstqueue.c:
5778           Due to popular request remove preset interface again. :-(.
5779
5780 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5781
5782         * tools/gst-inspect.c:
5783           Print 'default value' for enums and flags too.
5784
5785 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5786
5787         * docs/random/ensonic/profiling.txt:
5788           More ideas.
5789
5790         * gst/gstbin.c:
5791           Fix typo and give better log output.
5792
5793         * gst/gstdebugutils.c:
5794         * gst/gstdebugutils.h:
5795           More ideas, make graphs a bit smaller and fix param name in macro.
5796
5797 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5798
5799         * gst/gstpreset.c:
5800           Try harder to use the return value from fgets().
5801
5802 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5803
5804         * gst/gstpreset.c:
5805           For theses two fgets we handle the error below.
5806
5807 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5808
5809         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5810         Only send upstream events upstream. Fixes #498746.
5811
5812 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5813
5814         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5815
5816         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5817         (gst_identity_init), (gst_identity_transform_ip),
5818         (gst_identity_set_property), (gst_identity_get_property):
5819         * plugins/elements/gstidentity.h:
5820         Add property to disable handoff signal emission. Fixes #498694.
5821         API: GstIdentity::signal-handoffs
5822
5823 2007-11-21  Julien Moutte  <julien@fluendo.com>
5824
5825         * docs/faq/gst-uninstalled: Yet another missing library for the
5826         uninstalled script (fft)
5827
5828 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5829
5830         * docs/faq/developing.xml:
5831         Add a question about how to submit new translations.
5832
5833         * docs/random/release:
5834         Update the contact email address for the Translation Project
5835
5836         * plugins/elements/gstfdsrc.c:
5837         The parent_class for fdsrc is pushsrc, not GstElement.
5838
5839 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5840
5841         * gst/gstpreset.c:
5842           Plug a leak and fix saving.
5843
5844 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5845
5846         * docs/gst/gstreamer-sections.txt:
5847         Add new gst_preset__get_property_names() function to the docs
5848         to fix the build.
5849
5850 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * gst/gstpreset.c:
5853         * gst/gstpreset.h:
5854           Change _get_preset_names API to return a strv with copies. Add
5855           _get_property_names to allow implementations to filter and provide
5856           good default implementation.
5857
5858 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5859
5860         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5861         script (sdp).
5862
5863 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5864
5865         * gst/gstpreset.c:
5866           More cleanups, docs, and TODOs from comments that now slowly come in.
5867
5868 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5869
5870         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5871         search path.
5872
5873 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * gst/gstpreset.c:
5876           Fix bogus warning and make the property type specific code more
5877           similar.
5878
5879 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5880
5881         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5882         it build on OS X.
5883
5884 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5885
5886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5887         (gst_bin_add_func), (gst_bin_remove_func),
5888         (gst_bin_change_state_func), (gst_bin_continue_func):
5889         Change email, cleanups add some more debug and comments.
5890         Also set bus and clock on new elements when the pipeline was in error.
5891
5892 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5893
5894         * gst/gstbin.c:
5895         * gst/gstdebugutils.c:
5896           Fix build with --disable-gst-debug. Fixes #497859.
5897           Spotted by Sameer Naik.
5898
5899 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * gst/gstevent.c:
5902           Little documentation improvment.
5903
5904         * gst/gstpreset.c:
5905           More TODO cleanups. Remove c++ comments.
5906
5907         * libs/gst/controller/gstcontroller.c:
5908           Add TODO and use quark from static string.
5909
5910         * tests/check/gst/gstmessage.c:
5911         * tests/check/gst/gststructure.c:
5912           Use quark from static string.
5913
5914 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * gst/gstpreset.c:
5917           Add some comments and TODOs.
5918
5919         * gst/gstpreset.h:
5920           Add padding for future changes.
5921
5922         * plugins/elements/gstqueue.c:
5923           Implement the iface.    
5924
5925 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5926
5927         * docs/gst/gstreamer-docs.sgml:
5928         * docs/gst/gstreamer-sections.txt:
5929         * docs/gst/gstreamer.types.in:
5930         * gst/Makefile.am:
5931         * gst/gst.h:
5932         * gst/gstpreset.c:
5933         * gst/gstpreset.h:
5934           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5935
5936 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5937
5938         * configure.ac:
5939
5940         Back to CVS
5941
5942 === release 0.10.15 ===
5943
5944 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5945
5946         * configure.ac:
5947           releasing 0.10.15, "October"
5948
5949 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5950
5951         * win32/vs6/libgstreamer.dsp:
5952         Convert line endings back to DOS.
5953
5954 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5955
5956         * docs/design/draft-tagreading.txt:
5957         * docs/random/ensonic/profiling.txt:
5958         Update fast tagreading draft and performance profiling ideas.
5959
5960 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5961
5962         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5963         Don't hold the object lock when unreffing a buffer because it could
5964         cause a deadlock when the finalize function wants to grab the object
5965         lock too. Fixes #495133.
5966
5967 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5968
5969         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5970         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5971         Also accumulate time correctly when doing reverse playback. Fixes
5972         #488201,
5973         When converting to running and stream time, use default values for
5974         start/stop/time/accum when comparing different formats. Fixes #494245.
5975
5976         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5977         Do running/stream time in TIME format.
5978
5979         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5980         (gst_segment_suite):
5981         2 new unit tests for segment accumulation.
5982
5983 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5984
5985         * gst/gst.c: (init_pre):
5986         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5987           (_gst_debug_bin_to_dot_file):
5988           Move getenv() back into gst_init, so everyone can live happily
5989           ever after. Make sure the symbol isn't exported though.
5990
5991 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5992
5993         Patch by: Sebastien Moutte  <sebastien moutte net>
5994
5995         * win32/common/gstenumtypes.c:
5996         * win32/common/gstenumtypes.h:
5997           Update enum types.
5998
5999         * win32/vs6/libgstreamer.dsp:
6000           Update vs6 project files (#494343).
6001
6002 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6003
6004         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6005         (gst_base_src_perform_seek), (gst_base_src_default_event),
6006         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6007         (gst_base_src_activate_pull):
6008         Unify flushing code, remove some old unlock code that is no longer used.
6009         Take the streaming lock when seeking to avoid races. Fixes #492729.
6010         Added some more comments.
6011
6012 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6013
6014         * gst/gst.c: (_gst_disable_segtrap):
6015           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6016           we can use gst_segtrap_is_enabled() there now that we have that API.
6017           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6018           to do the getenv here (and export the variable).
6019
6020         * gst/gstdebugutils.c: (debug_dump_element),
6021           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6022           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6023
6024         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6025           (gst_debug_log_default):
6026           Rename _gst_info_start_time to priv_gst_info_start_time so it
6027           doesn't get exported (was never in any header).
6028
6029         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6030           (gst_plugin_loading_mutex):
6031           Make static mutex gst_plugin_loading_mutex really static (was never
6032           in any header), and use gst_segtrap_is_enabled() instead of
6033           _gst_disable_segtrap.
6034
6035         * gst/gsttrace.c: (_gst_trace_default):
6036           Make local _gst_trace_default static (was never in any header).
6037
6038 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6041
6042         * win32/common/libgstbase.def:
6043         * win32/common/libgstcontroller.def:
6044         * win32/common/libgstdataprotocol.def:
6045         * win32/common/libgstnet.def:
6046         * win32/common/libgstreamer.def:
6047           Add more missing symbols, remove some duplicates, and sort
6048           as the 'sort' command sorts it (partially fixes #493983).
6049
6050 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6051
6052         * gst/gstelement.c: (gst_element_set_state_func):
6053         Only change the state cookie if a different state was set on the
6054         element. See #492729.
6055
6056 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6057
6058         * gst/gstvalue.c:
6059           Remove unused and uninitialised type variables that were still
6060           exported for some reason (they were never in any header files
6061           though).
6062
6063 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6064
6065         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6066         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6067         (gst_base_sink_event), (gst_base_sink_get_position_last),
6068         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6069         (gst_base_sink_change_state):
6070         Don't try to report a 0 position when we don't know, return -1 and FALSE
6071         instead. This mostly happens when we are prerolling.
6072         Make sure we can report the right position before we post the ASYNC_DONE
6073         message so that a message handler can query position without races.
6074
6075         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6076         (async_done_handoff), (async_done_func), (send_buffer),
6077         (async_done_eos_func), (gst_sinks_suite):
6078         Add two tests for the above.
6079
6080 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6081
6082         * MAINTAINERS:
6083         Update with new email address.
6084
6085         * docs/design/part-TODO.txt:
6086         Add some more info about future pad-block and negotiation changes.
6087
6088         * docs/design/part-buffering.txt:
6089         Add some ideas about buffering reporting.
6090
6091 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6092
6093         * tests/check/gst/gstobject.c:
6094         Disable silly racy test that always fails on this combination of CPU
6095         and kernel.
6096
6097 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6098
6099         Patch by: Murray Cumming  <murrayc@murrayc.com>
6100
6101         * gst/gstobject.c:
6102           Corrected the registration of the parent-set and parent-unset
6103           signals: The parameter is a GstObject, not a GObject (#493134).
6104
6105 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6106
6107         * gst/gst_private.h:
6108         * gst/gstbuffer.h:
6109         * gst/gstevent.h:
6110         * gst/gstformat.h:
6111         * gst/gstmessage.h:
6112         * gst/gstplugin.h:
6113         * gst/gstquery.h:
6114         * gst/gsttaglist.h:
6115         * gst/gstvalue.h:
6116           Move declaration of private _gst_foo_initialize() functions into
6117           our private header file where they should have been all along.
6118
6119 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6120
6121         * docs/plugins/gstreamer-plugins-sections.txt:
6122         * gst/gstdebugutils.h:
6123         * gst/gstxml.h:
6124         * plugins/elements/gstqueue.c:
6125           gtk-doc fixes; trailing-comma-in-enum fix.
6126
6127 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * gst/gst.c: (gst_deinit):
6130           Clean up on deinit (not the external ones though, doesn't seem to be
6131           needed for some reason).
6132
6133 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6136           Remove __declspec(dllimport) for MSVC that was copied over into core
6137           from a plugin, obviously without ever having been tested (note the
6138           single underscore in _declspec in the initial commit), and that doesn't
6139           really make sense.  See #492077.
6140
6141 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * gst/gst.c: (init_post):
6144         * gst/gstevent.c: (_gst_event_initialize):
6145         * gst/gstquery.c: (_gst_query_initialize):
6146         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6147           g_type_class_ref() other types as well, see #349410 and #64764.
6148
6149         * gst/gstbuffer.c: (_gst_buffer_initialize):
6150         * gst/gstmessage.c: (_gst_message_initialize):
6151           Simplify existing g_type_class_ref().
6152
6153 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         * gst/gstformat.c: (_gst_format_initialize):
6156           g_type_class_ref() our GstFormat type to make sure we avoid the
6157           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6158           bug #64764. Should fix intermittent tee unit test failures (#474823).
6159
6160 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6161
6162         * tests/check/elements/tee.c: (test_num_buffers):
6163           Simplify, simplify, simplify - or not.  Rewrite unit test
6164           not to use gst_parse_launch(); allow N sub-streams. Increasing
6165           the number of sub-streams seems to reproduce #474823 more easily.
6166
6167 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6168
6169         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6170
6171         * gst/gsttrace.c:
6172         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6173         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6174         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6175           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6176           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6177           so use _pipe() directly (#492077).
6178
6179         * win32/common/dirent.c: (_treaddir):
6180           Add a couple of casts to make it build without warnings with MSVC.
6181
6182         * win32/common/libgstreamer.def:
6183           Add some more symbols that need to be exported.
6184
6185 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6186
6187         * tests/examples/metadata/read-metadata.c: (message_loop):
6188           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6189           arriving in a second or third tag message are added to
6190           the tag list as well.
6191
6192 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6193
6194         * libs/gst/base/gstbasesrc.c:
6195           Its "Since:" and not "@Since:". And remove an superflous cast.
6196
6197 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6198
6199         * docs/libs/gstreamer-libs-sections.txt:
6200         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6201         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6202         (gst_base_sink_get_property), (gst_base_sink_render_object),
6203         (gst_base_sink_preroll_object),
6204         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6205         (gst_base_sink_change_state):
6206         * libs/gst/base/gstbasesink.h:
6207         Add a new last-buffer property that contains the last buffer used in
6208         basesink for preroll or rendering. useful for making snapshots.
6209         API: gst_base_sink_get_last_buffer()
6210         API: GstBaseSink::last-buffer
6211
6212 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6213
6214         * docs/gst/running.xml:
6215         * gst/gst.c:
6216         * gst/gstdebugutils.c:
6217         * gst/gstdebugutils.h:
6218         * tools/gst-launch.c:
6219           Improve bin graph dumping, by using the envvar to specify a path.
6220           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6221
6222 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6223
6224         * plugins/elements/gsttypefindelement.c:
6225           (gst_type_find_element_handle_event),
6226           (gst_type_find_element_activate):
6227           Post special error message if we can't determine the type of a stream
6228           because it's empty.
6229
6230 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6231
6232         * docs/gst/running.xml:
6233         * gst/gstdebugutils.c:
6234           Document new env-var. Add one log-line after dumpng a graph.
6235
6236 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * configure.ac:
6239           Ugly hack to put the (recently removed and non-portable, apparently)
6240           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6241           GNU ld, because without that 'make check' fails miserably on my debian
6242           stable box.  Someone with more knowledge of linker intricacies and
6243           portability issues than me fix this properly please.
6244
6245 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6246
6247         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6248         Reset last seen position after flushing so that we don't report the old
6249         position anymore.
6250
6251 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6252
6253         * gst/gstelementfactory.c: (gst_element_register):
6254         * gst/gsturi.h:
6255         Patch from Alessandro Decina adding get_type_full and
6256         get_protocols_full private vfuncs to the URIHandler interface
6257         to allow bindings to support creating URI handlers. 
6258         Partially fixes: #339279
6259         API: GstURIHandlerInterface::get_type_full
6260         API: GstURIHandlerInterface::get_protocols_full
6261
6262 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6263
6264         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6265         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6266         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6267         Make it so that pads are considered linked until a buffer is pushed
6268         and discovered otherwise. This avoids problems with decodebin2 hanging
6269         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6270         case.
6271
6272         Make sure we lock the multiqueue when updating the max-size properties.
6273         
6274         Fix a crash on Solaris in a debug statement in get_request_pad that
6275         passes a NULL string to GST_DEBUG. 
6276
6277         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6278         (run_output_order_test):
6279         Fix the test to allow the first buffer on not-linked pads to come out
6280         of sequence while multiqueue discovers that they are not-linked.
6281
6282 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6283
6284         * configure.ac:
6285         * libs/gst/check/Makefile.am:
6286         Use a custom export symbol regex for libgstcheck, as it needs
6287         to export symbols that don't match the standard GStreamer gst_*
6288         pattern, and  --export-dynamic is not portable (only works on 
6289         GNU ld)
6290
6291         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6292         (gst_check_setup_sink_pad):
6293         Make sure to pass a message parameter to the fail_* macros.
6294
6295         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6296         Fix some compiler warnings.
6297
6298 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6299
6300         * tests/check/gst/gststructure.c: (test_to_string):
6301           Disable test that checks that white spaces are not allowed
6302           in structure names or field names, since we need to
6303           support that for now for backwards compatibility reasons.
6304
6305 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6306
6307         * docs/gst/gstreamer-sections.txt:
6308         * gst/gsttaglist.c:
6309         * gst/gsttaglist.h:
6310           API: add GST_TAG_ARTIST_SORTNAME
6311           API: add GST_TAG_ALBUM_SORTNAME
6312           API: add GST_TAG_TITLE_SORTNAME
6313           Add tag variants for sorting (#414539).
6314
6315 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * gst/gststructure.c:
6318           Also allow white space for names so we don't break
6319           backwards compatibility.
6320
6321 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6322
6323         * docs/design/part-TODO.txt:
6324         * docs/design/part-segments.txt:
6325         * docs/design/part-streams.txt:
6326         Small updates.
6327
6328 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6329
6330         * docs/gst/gstreamer-sections.txt:
6331          Fixed documentation from my previous commit (added new API add
6332          gst_value_set_structure(), add gst_value_get_structure() and
6333          GST_VALUE_HOLDS_STRUCTURE).
6334
6335 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6336
6337         * gst/gstdebugutils.c:
6338           Reflow code to fix uninitialized variable warning.
6339
6340 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6341
6342         * gst/gstcaps.c: (gst_caps_to_string),
6343         (gst_caps_from_string_inplace):
6344         * gst/gststructure.c: (gst_structure_get_abbrs),
6345         (gst_structure_to_string), (gst_structure_from_string):
6346         * gst/gstvalue.c: (gst_value_set_structure),
6347         (gst_value_get_structure), (gst_value_serialize_structure),
6348         (gst_value_deserialize_structure), (_gst_value_initialize):
6349         * gst/gstvalue.h:
6350         * tests/check/gst/gststructure.c: (GST_START_TEST),
6351         (gst_structure_suite):
6352         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6353          Added GstStructure to gst_value_table and its related functions.
6354          Changed gst_structure_to_string to print ';' in the end.
6355          Changed gst_caps_to_string to not print ';' beteween its
6356          fields (structures) anymore and remove the lastes ';' from latest
6357          structure. Now it is possible to have nested structures.
6358          In addition, backward compatibilty is assured by accepting '\0' as
6359          end delimiter. Fixes: #487969.
6360          API: add gst_value_set_structure()
6361          API: add gst_value_get_structure()
6362          API: add GST_VALUE_HOLDS_STRUCTURE
6363
6364 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * gst/gstbus.c:
6367           When no GSource callback has been set up, tell developer
6368           to use a function that actually exists.
6369
6370 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6371
6372         * docs/gst/gstreamer-sections.txt:
6373         * gst/Makefile.am:
6374         * gst/gst.c:
6375         * gst/gst.h:
6376         * gst/gstdebugutils.c:
6377         * gst/gstdebugutils.h:
6378         * gst/gstinfo.c:
6379         * gst/gstinfo.h:
6380         * tools/gst-launch.c:
6381           Allow dumping pipelines as dot graphs. Fixes #456573.
6382
6383 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6384
6385         * gst/gststructure.c:
6386           Allow '+' as well, it can be part of media or mime types
6387           such as image/svg+xml.
6388
6389 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6390
6391         * docs/gst/gstreamer-sections.txt:
6392         * gst/gstbus.c:
6393         * gst/gstbus.h:
6394           API: add gst_bus_pop_filtered
6395           API: add gst_bus_timed_pop_filtered
6396           Two new functions for waiting for specific message types on the
6397           bus for a specified amount of time without iterating any main
6398           loops or main contexts.
6399
6400         * tests/check/gst/gstbus.c:
6401           Some tests for the new functions.
6402
6403 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6404
6405         * docs/libs/gstreamer-libs-sections.txt:
6406           Make gtk-doc ignore stuff it should ignore.
6407
6408 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6409
6410         * libs/gst/check/gstcheck.c:
6411         * libs/gst/check/gstcheck.h:
6412           Allow runtime selection of unit tests to run via the GST_CHECKS
6413           environment variable (test case function names, comma-separated).
6414
6415 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6416
6417         * gst/gststructure.c:
6418         * tests/check/gst/gststructure.c:
6419           Revert serialisation change and constrain structure-names after
6420           consensus on irc. Update api documentation to reflect the change.
6421
6422 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6423
6424         * gst/gststructure.c:
6425           Improve serialization and fix tests.
6426
6427         * tests/check/gst/gststructure.c:
6428           Add another test that covers why I actually did the previous structure
6429           change.
6430
6431 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6432
6433         * tools/gst-inspect.c: (print_element_info):
6434         Don't crash when inspecting an element.
6435
6436 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * tests/check/gst/gststructure.c:
6439           Add unit test for escaping of structure name when serialising
6440           and deserialising to/from strings.
6441
6442 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6443
6444         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6445         (gst_single_queue_new):
6446         * plugins/elements/gstqueue.c: (gst_queue_init),
6447         (gst_queue_push_one):
6448         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6449         upstream is tricked into thinking it can suggest a format downstream
6450         while downstream does not support that format. The real problem is that
6451         core calls acceptcaps when pushing a buffer with new caps, for which we
6452         do a little workaround by setting the caps on the srcpad ourselves
6453         before pushing the buffer (until this is figured out). Fixes #486758.
6454
6455 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6456
6457         * gst/gststructure.c:
6458         * gst/gstvalue.c:
6459           Add some more comments and debug output. Quote structure name to fix
6460           deserialisation of some strings.
6461
6462 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6463
6464         * gst/gstbuffer.h:
6465           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6466           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6467
6468 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6469
6470         * tools/gst-inspect.c:
6471           Save approx. 400 1 byte allocs when printing. Use API to acces element
6472           details.
6473
6474         * tools/gst-run.c:
6475           Avoid a strdup.
6476
6477         * tools/gst-xmlinspect.c:
6478           Use API to acces element details.
6479
6480 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6481
6482         * gst/gstinfo.c:
6483           Fix some spelling errors.
6484
6485 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6486
6487         * gst/gstbin.c: (bin_handle_async_done):
6488         Correctly set the next state if all of our async children commited their
6489         state. This makes sure we can actually cancel the state change in
6490         progress. Fixes a regression in Rhythmbox when seeking.
6491
6492 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * gst/gstbin.c:
6495           Don't shadow local variable.
6496
6497         * gst/gstinfo.c:
6498           Don't shadow global function name.
6499
6500 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * gst/gstelementfactory.c:
6503         * gst/gstpluginfeature.c:
6504         * gst/gstpluginfeature.h:
6505         * gst/gstregistrybinary.c:
6506         * gst/gstregistryxml.c:
6507         * gst/gsttypefind.c:
6508           Use already-interned string for the private GstPluginFeature
6509           plugin_name field.
6510
6511 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6512
6513         * docs/libs/gstreamer-libs-sections.txt:
6514           Add new API to docs; fixes the build.
6515
6516 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6517         
6518         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6519
6520         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6521         (gst_base_sink_event):
6522         * libs/gst/base/gstbasesink.h:
6523         Add function to wait for EOS, subclasses can use this to correctly wait
6524         for devices to drain before performing the EOS logic. Fixes #485343.
6525         API: gst_base_sink_wait_eos()
6526
6527 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6528
6529         * gst/gstplugin.h:
6530           Cast description string constants in GST_PLUGIN_DEFINE macros
6531           to a (gchar*) to make C++ code using these macros compile
6532           without warning with g++-4.2 (see #462737).  Even if slightly
6533           ugly, this seems preferable to putting the description strings
6534           into the GLib quark table or making the structure member a
6535           const gchar * and doing casts in core code that allocs and
6536           frees these strings, or requiring a cast in the C++ code.
6537
6538 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6539
6540         * gst/gstinfo.h:
6541           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6542           to print the entire class/function signature into the log
6543           file for C++ code.  This only affects C++ code, for C code
6544           everything remains the same.
6545
6546 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6547
6548         * gst/gstbin.c: (remove_from_queue):
6549         Work around a problem with pipelines containing (semi)loops until a
6550         proper, more complicated solution is ready. See #475455.
6551
6552 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6553
6554         * gst/gstplugin.c:
6555         * gst/gstplugin.h:
6556         * gst/gstregistrybinary.c:
6557         * gst/gstregistryxml.c:
6558           Put more strings into the GLib quark table. No need to keep
6559           a hundred-something copies of identical version strings,
6560           license strings, package name strings and package origin
6561           strings around. 
6562
6563 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6564
6565         * docs/manual/advanced-dataaccess.xml:
6566           Don't imply that it's okay to unconditionally change
6567           buffer data or buffer metadata in a pad probe callback,
6568           and a bunch of other comments. Fixes #430031.
6569
6570 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * win32/common/gstenumtypes.c:
6573         * win32/common/gstenumtypes.h:
6574         * win32/common/gstversion.h:
6575           Update generated files.
6576
6577 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6578
6579         * docs/manual/advanced-autoplugging.xml:
6580           Prefix section with broken code with a warning (see #342432).
6581
6582 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6583
6584         * docs/manual/appendix-integration.xml:
6585         * docs/manual/basics-init.xml:
6586           Call g_thread_init() before g_option_context_new() to
6587           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6588
6589 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6590
6591         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6592         (gst_base_sink_queue_object_unlocked),
6593         (gst_base_sink_queue_object), (gst_base_sink_event),
6594         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6595         When we received EOS and are waiting for when to post the EOS message,
6596         our state is prerolled and we should not return ASYNC.
6597         Reorganize some code paths to implement this behavior.
6598
6599         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6600         (gst_sinks_suite):
6601         Add unit test to verify above EOS fix.
6602
6603 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6604
6605         * plugins/elements/gsttypefindelement.c:
6606         (gst_type_find_element_have_type), (gst_type_find_element_init),
6607         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6608         Move detecting the input caps of the sinkpad to the setcaps function.
6609         This allows us to update the output caps when we receive new input caps
6610         instead of always using the first detected caps.
6611
6612 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6613
6614         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6615         (gst_base_sink_get_position):
6616         Don't try to preroll non-async elements after a flush.
6617         Subtract latency form clock times when reporting position.
6618
6619 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6620
6621         * gst/gstpad.c: (gst_pad_pause_task):
6622         * gst/gstutils.c:
6623         Small comment and documentation update.
6624
6625 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6626
6627         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6628         (gst_base_src_set_live), (gst_base_src_is_live),
6629         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6630         (gst_base_src_default_event), (gst_base_src_wait),
6631         (gst_base_src_do_sync), (gst_base_src_get_range),
6632         (gst_base_src_pad_get_range), (gst_base_src_loop),
6633         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6634         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6635         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6636         (gst_base_src_change_state):
6637         Rework the locking of basesrc in a similar fashion to basesink. We
6638         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6639         us to handle live sources and semi live ones much better.
6640         Simplify flushing.
6641         Fix unlocking when seeking, shutting down and pausing in live sources.
6642
6643 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6644
6645         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6646         Fix compilation again.
6647
6648 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6649
6650         * gst/gstelement.c:
6651           Use meaningful categories for the logs to clean the default one.
6652
6653 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6654
6655         * tests/check/pipelines/cleanup.c:
6656           Print message name and not just number.
6657
6658 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * docs/design/draft-tagreading.txt:
6661           Add some more thoughts.
6662
6663 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6664
6665         * tests/check/pipelines/simple-launch-lines.c:
6666           Print message name and not just number.
6667
6668 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6669
6670         * libs/gst/base/gsttypefindhelper.c:
6671           Speedup typefinding. This is work in progress (see #459862).
6672
6673 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6674
6675         * gst/gstplugin.c:
6676           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6677           Spotted by Josep Torra Valles <josep@fluendo.com>.
6678
6679 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6680
6681         * gst/gstclock.h:
6682           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6683           field has moved to GstObject.
6684
6685 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6686
6687         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6688         (gst_base_src_get_range), (gst_base_src_change_state):
6689         Call unlock for live sources so that they can't get stuck in _create and
6690         produce a buffer before they are set back to PLAYING.
6691
6692 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6693
6694         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6695         (gst_queue_locked_dequeue):
6696         Comment the segment-related code... in the PROPER function.
6697         See #482147 and my commit from yesterday.
6698
6699 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6700
6701         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6702         Also initialize the counter that calculates the first timestamp on a
6703         buffer correctly for non-live sources.
6704
6705 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6706
6707         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6708         Disable code that's breaking the current-time-level reporting.
6709         See #482147
6710
6711 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6712
6713         * docs/gst/gstreamer-sections.txt:
6714         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6715         as they shouldn't show up. Fixes the docs build.
6716
6717 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6718         
6719         * gst/gstinfo.h:
6720         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6721         Define M_PI which is used in files which are including gstinfo.h. 
6722         VS6 includes doesn't define it.
6723         * win32/common/libgstbase.def:
6724         * win32/common/libgstcontroller.def:
6725         * win32/common/libgstreamer.def:
6726         Add new exported functions and variables.
6727         * win32/vs6/libgstcontroller.dsp:
6728         * win32/vs6/libgstreamer.dsp:
6729         Update the list of files to build.
6730         
6731 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6732
6733         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6734
6735         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6736         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6737         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6738         Improve debugging. Fixes #480858.
6739
6740 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6743
6744         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6745         First patch of code cleanups, use the macros and right arguments in the
6746         macros to signal and lock the queue. See #480858.
6747
6748 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6749
6750         * gst/gstbus.c: (poll_func):
6751         Improve debugging when dealing with _poll().
6752
6753 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6754
6755         * gst/gstregistryxml.c:
6756           Fix memory leak I introduced a few days ago.
6757
6758 2007-09-26  Michael Smith <msmith@fluendo.com>
6759
6760         * gst/gstbuffer.c: (gst_buffer_finalize):
6761           Make it once again possible to free GstBuffers in the default
6762           build.
6763           The poisoning scribbles on parts of the miniobject we need in
6764           order to free it.
6765           Fixes #480341
6766
6767 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6768
6769         * docs/gst/gstreamer-sections.txt:
6770         * gst/gsttaglist.c:
6771         * gst/gsttaglist.h:
6772         API: add GST_TAG_COMPOSER, fixes #459809.
6773
6774 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6775
6776         * gst/gstplugin.c:
6777         * gst/gstplugin.h:
6778         Add the 3-clause BSD license and the MIT/X11 license to the license
6779         list. Fixes #479784.
6780
6781 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6782
6783         * docs/faq/getting.xml:
6784           Add Q+A about different GStreamer versions (#364056).
6785
6786 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6787
6788         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6789         (gst_base_sink_event), (gst_base_sink_change_state):
6790         Return correct gboolean from query function.
6791
6792 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6793
6794         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6795         (gst_base_sink_event), (gst_base_sink_query),
6796         (gst_base_sink_change_state):
6797         Simplify latency query.
6798         When not synchronizing, we can report latency without querying the peer
6799         element.
6800
6801 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6802
6803         * gst/gstobject.h:
6804         * gst/gstvalue.c:
6805         Fix small typos in the docs.
6806
6807 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6808
6809         * docs/design/draft-latency.txt:
6810         * docs/design/draft-push-pull.txt:
6811         * docs/design/draft-tagreading.txt:
6812         * docs/design/part-MT-refcounting.txt:
6813         * docs/design/part-activation.txt:
6814         * docs/design/part-block.txt:
6815         * docs/design/part-element-source.txt:
6816         * docs/design/part-events.txt:
6817         * docs/design/part-gstbin.txt:
6818         * docs/design/part-gstelement.txt:
6819         * docs/design/part-gstobject.txt:
6820         * docs/design/part-gstpipeline.txt:
6821         * docs/design/part-messages.txt:
6822         * docs/design/part-preroll.txt:
6823         * docs/design/part-push-pull.txt:
6824         * docs/design/part-qos.txt:
6825         * docs/design/part-query.txt:
6826         * docs/design/part-scheduling.txt:
6827         * docs/design/part-seeking.txt:
6828         * docs/design/part-segments.txt:
6829         * docs/design/part-states.txt:
6830         Documentation updates and typo fixes.
6831
6832 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6833
6834         * plugins/elements/gstfakesink.c:
6835           Add some debug text to error message to indicate that
6836           we errored out on request.
6837
6838         * tools/gst-launch.c:
6839           When the state change to PLAYING fails, check for an
6840           error message on the bus and print it.
6841
6842 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6843
6844         translated by: Jorge González González <aloriel@gmail.com>
6845
6846         * po/LINGUAS:
6847         * po/es.po:
6848           Added Spanish translation.
6849
6850 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6851
6852         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6853         Fix printf arguments.
6854
6855 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6856
6857         * tests/check/generic/states.c:
6858           Improved state change unit test.
6859
6860 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6861
6862         * gst/gstbin.h:
6863           Move priv to the right place.
6864
6865         * gst/gstsystemclock.c:
6866           Add FIXME: and improve log.
6867
6868         * tests/check/Makefile.am:
6869         * tests/examples/manual/Makefile.am:
6870           Work with all types of registries.
6871
6872 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6873
6874         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6875         Don't unref the event after pushing it. Fixes #478401.
6876
6877 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6878
6879         * .cvsignore:
6880         * tests/examples/manual/.cvsignore:
6881           Ignore registries in any format.
6882
6883 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/glib-compat-private.h:
6886           Add compatibility macro for g_intern_string() for
6887           GLib-2.8 (any reason we can't just bump the
6888           requirement to at least 2.10?)
6889
6890         * gst/gstpadtemplate.h:
6891         * gst/gstelementfactory.c:
6892         * gst/gstregistryxml.c:
6893         * gst/gstregistrybinary.c:
6894           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6895           up the internal code accordingly.  This shouldn't be a problem, since
6896           there is no reason external code could ever assume the string in such
6897           a structure is dynamically allocated unless it did that itself;  the
6898           use of g_strdup() is private to element factories.  The new code also
6899           saves some memory by putting pad template name strings into the GLib
6900           quark table instead of allocating them dynamically.
6901           Declaring this field constant fixes warnings with g++-4.2 when using
6902           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6903
6904 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6905
6906         * gst/gstelementfactory.c:
6907           Release static caps. Fixes #475723.
6908
6909 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6910
6911         * gst/gstinfo.c:
6912         * gst/gstinfo.h:
6913           Make some internal API take const gchar * instead of just
6914           gchar * to avoid compiler warnings with g++-4.2.2 when
6915           passing string constants (partially fixes #478092).
6916
6917 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6918
6919         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6920         A latency query fails when one of the sinks fail.
6921
6922         * gst/gstelement.c: (gst_element_set_base_time):
6923         Improve debugging.
6924
6925 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6926
6927         * gst/gstbin.c: (gst_bin_continue_func):
6928         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6930         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6931
6932         Fix minor compilation warnings shown with Forte.
6933
6934 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6935
6936         * plugins/elements/gstqueue.c: (apply_buffer),
6937         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6938         Measure queue level based on the diff between head and tail timestamps
6939         even when pushing the first buffer.
6940
6941 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6942
6943         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6944         (gst_base_sink_event), (gst_base_sink_change_state):
6945         Sinks that don't preroll can always be queried for the latency.
6946         Don't post ASYNC start when we are not async.
6947
6948 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6949
6950         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6951         (gst_queue_handle_sink_event), (gst_queue_chain),
6952         (gst_queue_push_one), (gst_queue_handle_src_query),
6953         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6954         * plugins/elements/gstqueue.h:
6955         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6956         push more buffers but allow pushing of EOS and NEWSEGMENT.
6957         Add some more debug info here and there. Fixes #476514.
6958
6959 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6960
6961         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6962         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6963         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6964         (gst_base_sink_set_flushing), (gst_base_sink_query),
6965         (gst_base_sink_change_state):
6966         Latency query is allowed after we are prerolled. Introduce a new flag
6967         for this and stop abusing other variables.
6968
6969 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6970
6971         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6972         Push OOB events downstream when we get them in send_event. This allows
6973         the application to insert events in the pipeline.
6974         Add some more comments.
6975
6976 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6977
6978         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6979         (do_bin_latency), (gst_bin_change_state_func):
6980         * gst/gstpipeline.c: (gst_pipeline_change_state):
6981         Move latency query from GstPipeline to GstBin so that we can also
6982         use it when async-handling is enabled on bins.
6983
6984 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6985
6986         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6987         (gst_base_src_do_sync), (gst_base_src_change_state):
6988         Update docs.
6989         Clean up the timestamping and syncing code for pseudo live sources.
6990
6991 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6992
6993         Patch by: Steve Fink  <sphink gmail com>
6994
6995         * docs/manual/appendix-checklist.xml:
6996           Mention less -R switch in the section about debug output (#474055).
6997
6998 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6999
7000         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7001         Queue can latency to the pipeline up to the configured max size in time.
7002         Report this fact in the latency query.
7003
7004 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7005
7006         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7007
7008         * libs/gst/controller/gstinterpolation.c:
7009         * libs/gst/controller/gstlfocontrolsource.c:
7010         Use gst_guint64_to_gdouble() when converting from a uint64 or
7011         GstClockTime to double to fix the build on win32. Fixes #474371.
7012
7013 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7014
7015         * gst/gstbuffer.c: (gst_buffer_finalize):
7016         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7017         When finalizing a buffer the complete struct is filled with 0xff,
7018         thus making a use of the buffer after the final unref impossible.
7019
7020 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7021
7022         * tests/check/libs/controller.c: (GST_START_TEST):
7023         Use fail_unless_equals_int(a, b) instead of
7024         fail_unless_equals (a == b) to get better output on failures.
7025
7026 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7027
7028         * tests/check/gst/gsturi.c:
7029           Also check for the other file URI variant on win32.
7030
7031 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * gst/gsturi.c: (gst_uri_get_location):
7034           If there's no hostname, we want to return 'c:/foo/bar.txt'
7035           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7036
7037         * tests/check/gst/gsturi.c:
7038           Unit test for the above and a few more things.
7039
7040 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7041
7042         * docs/design/part-live-source.txt:
7043         Add docs on how live sources should timestamp.
7044
7045         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7046         Add some more debug info.
7047         For subclasses that are live and like to sync, add aditional startup
7048         latency to sync time and timestamps so that we timstamp according to the
7049         design doc.
7050
7051 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7052
7053         * gst/gstbuffer.c:
7054           Also do a g_type_class_ref() for the subbuffer type in
7055           the init function.
7056
7057 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7058
7059         * docs/gst/gstreamer-sections.txt:
7060         * gst/gstpad.c: (gst_pad_peer_query):
7061         * gst/gstpad.h:
7062         Add function to perform a query on the peer of a pad.
7063         API: gst_pad_peer_query()
7064
7065 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7066
7067         * tests/check/gst/gstsystemclock.c:
7068           Cleanup the test a little (use gst-logging and not g_message). Improve
7069           test to check if a wait reached the target.
7070
7071 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7072
7073         * docs/libs/gstreamer-libs-sections.txt:
7074           Add new API to docs and fix the build.
7075
7076 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7077
7078         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7079         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7080         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7081         (gst_base_src_get_property), (gst_base_src_do_sync):
7082         * libs/gst/base/gstbasesrc.h:
7083         Add property to make the basesrc timestamp buffers based on the current
7084         running time.
7085         API: GstBaseSrc::do-timestamp
7086         API: gst_base_src_set_do_timestamp()
7087         API: gst_base_src_get_do_timestamp()
7088
7089 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7090
7091         * docs/random/release:
7092           Really make sure translations are up-to-date before
7093           a release (#465010).
7094
7095 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7096
7097         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7098         Always destroy the timer, also in error cases.
7099
7100 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7101
7102         * docs/manual/highlevel-xml.xml:
7103         Fix XML example code. Fixes #472714.
7104
7105 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7106
7107         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7108         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7109         (gst_base_sink_query):
7110         Protect eos and have_preroll with the OBJECT lock so we don't need to
7111         take the PREROLL lock when querying the latency. Fixes #473846.
7112
7113 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7114
7115         * gst/gstelement.c:
7116           Give some log-messages a category.
7117
7118 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7119
7120         * gst/gststructure.c:
7121         (gst_structure_fixate_field_nearest_fraction):
7122         Fix fraction list fixation code. Take the fraction with the smallest
7123         difference with the target instead of the first one in the list.
7124
7125         * tests/check/gst/gststructure.c: (GST_START_TEST),
7126         (gst_structure_suite):
7127         Added test to verify correct fraction list fixation behaviour.
7128
7129 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7130
7131         * win32/common/libgstreamer.def:
7132           Export gst_bus_add_signal_watch too.
7133
7134 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7135
7136         * docs/libs/gstreamer-libs-sections.txt:
7137         Add new methods to docs.
7138
7139         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7140         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7141         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7142         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7143         * libs/gst/base/gstbasesink.h:
7144         Add ts-offset property to fine-tune the synchronisation.
7145         API: GstBaseSink::ts-offset property
7146         API: gst_base_sink_set_ts_offset()
7147         API: gst_base_sink_get_ts_offset()
7148
7149 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7150
7151         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7152         (gst_base_sink_init), (gst_base_sink_set_sync),
7153         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7154         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7155         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7156         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7157         (gst_base_sink_get_property), (gst_base_sink_change_state):
7158         * libs/gst/base/gstbasesink.h:
7159         Add async property to instruct the sink never to inform the parent about
7160         ASYNC state changes, update docs.
7161         Check argument with g_return_* for the public functions.
7162         API: GstBaseSink::async property
7163         API: gst_base_sink_set_async_enabled()
7164         API: gst_base_sink_is_async_enabled()
7165
7166 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7167
7168         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7169         Improve debugging.
7170
7171         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7172         (gst_base_src_default_query), (gst_base_src_wait),
7173         (gst_base_src_do_sync), (gst_base_src_change_state):
7174         Rearrange some code so that we can add support for measuring the 
7175         startup latency.
7176
7177 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7178
7179         * docs/random/ensonic/dynlink.txt:
7180           More thoughs on this.
7181
7182         * plugins/elements/gstcapsfilter.c:
7183           Add bugzilla ticket number to FIXME comment.
7184
7185 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7186
7187         * docs/design/part-TODO.txt:
7188         * docs/design/part-block.txt:
7189         Update some docs.
7190
7191 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7192
7193         * gst/Makefile.am:
7194           Revert patch which uses $(gst_headers) instead of $^ because it
7195           breaks make dist.
7196
7197 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7198
7199         * tests/check/gst/gstbin.c: (GST_START_TEST):
7200           Fix leaks in the new unit test.
7201
7202 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7203
7204         * gst/gst.c:
7205           Don't use GST_INFO before the debug system is actually initialised
7206           (shouldn't do any harm, but won't print anything either, so we can
7207           just as well remove it).
7208
7209         * gst/gstinfo.h:
7210           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7211           compilers that don't support variadic macros (such as MSVC), should
7212           check for debug_level <= __gst_debug_min as well, since that's the
7213           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7214           inline helper functions. Should improve performance a bit, but also
7215           makes sure uses of GST_INFO et.al are ignored if the debugging
7216           system isn't initialised yet (instead of printing an assertion
7217           failure).
7218
7219 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7220
7221         patch by: David Nečas <yeti@physics.muni.cz>
7222
7223         * gst/Makefile.am:
7224           Replace some non portable makefile constructs.
7225
7226 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7227
7228         * common/gtk-doc-plugins.mak:
7229           Grrrrr. Don't remove the types file on make clean.
7230
7231 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7232
7233         * tools/gst-launch.1.in:
7234         Add colorspace to example pipeline. Fixes #458274.
7235
7236 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7237
7238         * docs/random/release:
7239           The release manager should run 'make download-po' before making a
7240           release to make sure translations are up-to-date.
7241
7242         * po/LINGUAS:
7243         * po/be.po:
7244         * po/pl.po:
7245         * po/rw.po:
7246           Add some new translations.
7247
7248 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7249
7250         * tools/gst-launch.c: (event_loop), (main):
7251         Don´t try to do any state management when a live pipeline posts
7252         buffering messages.
7253         Also make the buffering string translatable.
7254
7255 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7256
7257         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7258         (bin_handle_async_start), (gst_bin_handle_message_func):
7259         Improve debugging.
7260         When adding elements, insert messages into the bus of the newly added
7261         element and make sure the element is the source of the message. This
7262         allows the parent bin to intercept the message and do the
7263         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7264         messages to the app (which is not allowed).
7265         Update some docs.
7266
7267         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7268         Fix testsuite so that is does not work around messages that should not
7269         have been posted in the first place.
7270
7271 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7272
7273         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7274         (update_degree), (gst_bin_sort_iterator_next):
7275         Fix annoying bug in the sorted iterator where a sink that is not really
7276         a sink (when it has downstream links) screwed up the iterator.
7277
7278         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7279         Unit test to verify the fix.
7280
7281 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7282
7283         * gst/gstmessage.h:
7284         Add some more docs for the messages.
7285
7286         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7287         (gst_base_sink_query):
7288         Add some more debugging.
7289
7290         * tools/gst-launch.c: (event_loop):
7291         When interrupting, don't try to set pipeline to PAUSED twice.
7292
7293 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7294
7295         
7296         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7297         (bin_handle_async_start), (gst_bin_handle_message_func):
7298         Move ASYNC_START message posting to where it belongs, similar to
7299         async_done. 
7300         Don't post ASYNC_START when we are in error. 
7301         Post ASYNC_START when we added an async element to a bin.
7302
7303 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7304
7305         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7306         generation from vargs. Fixes #466595.
7307
7308 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7309
7310         * gst/gstbin.c: (gst_bin_element_set_state):
7311         Always change the state of a NO_PREROLL element even if it has ASYNC
7312         elements inside (in case of a bin).
7313
7314         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7315         Unit test for this case.
7316
7317 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7318
7319         * libs/gst/check/gstbufferstraw.c:
7320         * libs/gst/check/gstcheck.h:
7321         * libs/gst/controller/gstcontroller.c:
7322         * libs/gst/controller/gstcontrolsource.h:
7323         * libs/gst/controller/gstlfocontrolsource.h:
7324         * plugins/elements/gstcapsfilter.h:
7325         * plugins/elements/gstfdsink.h:
7326         * plugins/elements/gstfdsrc.h:
7327           Add more missing docs.
7328
7329 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7330
7331         * gst/gststructure.c:
7332         Add Since tag to docs.
7333
7334 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7335
7336         * docs/gst/gstreamer-sections.txt:
7337         * gst/gststructure.c: (gst_structure_get_uint):
7338         * gst/gststructure.h:
7339         Add function to get uint from a structure.
7340         API: gst_structure_get_uint()
7341
7342 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7343
7344         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7345         (gst_caps_intersect):
7346         Fix proper check for simple caps.
7347
7348 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7349
7350         * docs/gst/Makefile.am:
7351         * docs/libs/Makefile.am:
7352           Remove cruft and do some cleanups.
7353
7354         * docs/gst/gstreamer-docs.sgml:
7355         * docs/libs/gstreamer-libs-docs.sgml:
7356           Prepare for comming gtkdoc features (rebase against online docs).
7357
7358 2007-08-10  Michael Smith <msmith@fluendo.com>
7359
7360         * docs/gst/gstreamer-sections.txt:
7361           Add gst_registry_add_path to docs.
7362
7363 2007-08-10  Michael Smith <msmith@fluendo.com>
7364
7365         * gst/gstregistry.h:
7366           Add gst_registry_add_path, which was missing from this header.
7367
7368 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7369
7370         * libs/gst/controller/gstlfocontrolsource.c:
7371           Printf format fix.
7372
7373 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7374
7375         * libs/gst/base/gstbasesink.c:
7376           Don't send an async_start message during downwards state change if 
7377           target state is less than READY
7378
7379 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7380
7381         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7382
7383         * po/LINGUAS:
7384         * po/hu.po:
7385           Added Hungarian translation.
7386
7387 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7388
7389         * po/fi.po:
7390         * po/it.po:
7391         * po/nl.po:
7392         * po/sv.po:
7393         * po/uk.po:
7394           Updated translations.
7395
7396 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7397
7398         * libs/gst/controller/Makefile.am:
7399         Dist gstlfocontrolsourceprivate.h
7400
7401 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7402
7403         * docs/libs/gstreamer-libs.types:
7404         Don't register the enum type gst_lfo_waveform_get_type() in the
7405         .types file - only GObject derived types belong.
7406
7407 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7408
7409         Patch by: <arenevier at fdn dot fr>
7410
7411         * gst/gstbuffer.h:
7412         Remove comma from last element in enum to avoid compile errors when
7413         using -pendantic. Fixes #464366.
7414
7415 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7416
7417         * docs/design/part-TODO.txt:
7418         Add some more TODO items
7419
7420         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7421         Improve debugging.
7422
7423         * gst/gstcaps.c: (gst_caps_intersect):
7424         Optimize trivial intersection case between identical caps pointers.
7425
7426         * gst/gstelement.c: (gst_element_continue_state),
7427         (gst_element_set_state_func):
7428         * gst/gstpad.c:
7429         Fix spelling and grammar mistakes.
7430
7431 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7432
7433         * po/POTFILES.in:
7434         * po/POTFILES.skip:
7435           Update POTFILES. Fixes #461599.
7436
7437 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7438
7439         * gst/gst.c:
7440         Fix confusing typo in debug output.
7441
7442 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7443
7444         reviewed by: Stefan Kost <ensonic@users.sf.net>
7445
7446         * libs/gst/controller/Makefile.am:
7447         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7448         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7449         (gst_lfo_control_source_new),
7450         (gst_lfo_control_source_set_waveform),
7451         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7452         (gst_lfo_control_source_finalize),
7453         (gst_lfo_control_source_dispose),
7454         (gst_lfo_control_source_set_property),
7455         (gst_lfo_control_source_get_property),
7456         (gst_lfo_control_source_class_init):
7457         * libs/gst/controller/gstlfocontrolsource.h:
7458         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7459         API: Add GstLFOControlSource, a control source that gives values
7460         for specific timestamps based on several periodic waveforms.
7461         Fixes #459717.
7462
7463         * tests/check/libs/controller.c: (GST_START_TEST),
7464         (gst_controller_suite):
7465         * docs/libs/gstreamer-libs-docs.sgml:
7466         * docs/libs/gstreamer-libs-sections.txt:
7467         * docs/libs/gstreamer-libs.types:
7468         Add documentation and unit tests for GstLFOControlSource.
7469
7470 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7471
7472         * configure.ac:
7473         Back to CVS
7474
7475 === release 0.10.14 ===
7476
7477 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7478
7479         * configure.ac:
7480           releasing 0.10.14, "Breathing Vacuum"
7481
7482 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7483
7484         * gst/gstelement.c: (gst_element_class_set_details_simple):
7485         * gst/gstelement.h:
7486           Make strings passed to gst_element_class_set_details_simple()
7487           constant, as they should be (#462752).
7488
7489 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7490
7491         * gst/gstbin.c: (gst_bin_change_state_func),
7492         (bin_handle_async_done), (gst_bin_handle_message_func):
7493         Don't forget about the fact that some element went ASYNC even after a
7494         resync. This makes us post the ASYNC_DONE message correctly.
7495         Fixes #462558.
7496
7497 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7498
7499         * gst/gstregistry.c: (gst_registry_add_feature):
7500         When replacing an existing feature in the registry, make sure to
7501         continue holding a reference until we've replaced the name string
7502         within our feature hash table. Make sure to use g_hash_table_replace
7503         instead of g_hash_table_insert to ensure the new name string is used
7504         as a key instead of the old one that we're about to free.
7505         Fixes: #462085
7506
7507 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7508
7509         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7510         (gst_plugin_feature_set_name):
7511         Revert patch from #459466 until after the release and we can work
7512         out exactly what the problem is (if any).
7513
7514 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7515
7516         * docs/gst/gstreamer-sections.txt:
7517         * gst/gsttaglist.c:
7518         * gst/gsttaglist.h:
7519           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7520
7521 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7522
7523         * docs/libs/Makefile.am:
7524         Include our build-prefix libs and includes before the generic ones to
7525         avoid linking against the installed libs when we want the build-tree
7526         ones.
7527
7528 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7529
7530         Patch by: Steve Fink  <sphink gmail com>
7531
7532         * docs/pwg/building-testapp.xml:
7533           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7534           if people try to build or install the example from the plugin
7535           template against a GStreamer from package using the configure
7536           defaults.
7537
7538 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7539
7540         Patch by: Steve Fink  <sphink gmail com>
7541
7542         * tools/gst-inspect.1.in:
7543           Document --print-all and --print-plugin-auto-install-info command
7544           line options in man page.
7545
7546 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7547
7548         * docs/gst/gstreamer-sections.txt:
7549         Add docs for new api function.
7550
7551 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7552
7553         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7554         * gst/gstelementfactory.h:
7555         API: gst_element_factory_has_interface()
7556         Added method to check if an element factory implements a named
7557         interface.
7558
7559 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7560
7561         * configure.ac:
7562         * docs/gst/gstreamer.types.in:
7563           Another conditional doc check.
7564
7565         * gst/gstmessage.c:
7566         * gst/gstparamspecs.h:
7567         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7568         * gst/gstvalue.c:
7569         * gst/gstxml.h:
7570           API-doc fixes.
7571
7572 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7573
7574         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7575         (gst_registry_binary_load_feature),
7576         (gst_registry_binary_load_plugin),
7577         (gst_registry_binary_read_cache):
7578           Print error just once and with additional info.
7579
7580 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7581
7582         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7583         (helper_find_suggest), (helper_find_get_length),
7584         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7585         (gst_type_find_helper_for_buffer):
7586           Cleanup the typefindhelper code and add private doc comments.
7587
7588 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7589
7590         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7591         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7592         Fix capsfilter for cases where the caps set on capsfilter will provide
7593         additional information.
7594         Fixes #449197
7595
7596 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7597
7598         * gst/gsttypefindfactory.c:
7599           Fix docs that recommened wrong function to use.
7600
7601 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * tools/gst-inspect.c: (print_plugin_features):
7604           Also give media-type for typefinders in element output.
7605
7606 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7607
7608         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7609         (gst_registry_remove_features_for_plugin_unlocked),
7610         (gst_registry_add_feature), (gst_registry_remove_feature),
7611         (gst_registry_lookup_feature_locked):
7612         * gst/gstregistry.h:
7613           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7614           Fixes #459501.
7615
7616 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7617
7618         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7619         (gst_plugin_feature_set_name):
7620           Avoid double memory usage for pluginfeature names. Fixes #459466.
7621
7622 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7623
7624         * gst/gstpad.h:
7625           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7626           driving the pipeline may need to explicitly check for NOT_LINKED as
7627           well, since IS_FATAL doesn't cover that.
7628
7629 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7630
7631         * docs/pwg/advanced-types.xml:
7632           Fix typo and duplicate entry in video formats list.
7633
7634 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7635
7636         * libs/gst/controller/gstinterpolation.c:
7637         Also round to the nearest int when using cubic interpolation.
7638
7639 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7640
7641         * libs/gst/controller/gstinterpolation.c:
7642         When linearly interpolating integer types, round to the nearest int
7643         by adding 0.5. Don't do it for float/double types.
7644         Fixes the failing controller test on my machine, which is somehow
7645         rounding differently than on the buildbots.
7646
7647 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7648
7649         * tools/gst-plot-timeline.py:
7650           Better log parsing (categories can have -). Adjust text vs. lines, so
7651           that they span the same y-range.        
7652
7653 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7654
7655         * docs/random/ensonic/audiobaseclasses.txt:
7656         * docs/random/ensonic/dynlink.txt:
7657         * docs/random/ensonic/profiling.txt:
7658           Save my thoughts.
7659
7660         * docs/random/moving-plugins:
7661           Add note to use g_assert type macros.
7662
7663 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7664
7665         * configure.ac:
7666         * libs/gst/check/Makefile.am:
7667           Add libm check as we use in for plugins.
7668
7669 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7670
7671         * gst/gstbin.c: (gst_bin_continue_func):
7672         Check that the state_cookie hasn't changed since the continue_func
7673         was scheduled. Avoids problems where the state changes back to
7674         something it shouldn't be because it was changed in the meantime.
7675
7676 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7679         (gst_registry_binary_save_string),
7680         (gst_registry_binary_save_pad_template),
7681         (gst_registry_binary_save_feature),
7682         (gst_registry_binary_save_plugin),
7683         (gst_registry_binary_load_feature),
7684         (gst_registry_binary_load_plugin),
7685         (gst_registry_binary_read_cache):
7686           Fix memory leak. Be less verbose in the log.
7687
7688 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7689
7690         * tests/check/elements/.cvsignore:
7691         Add file to cvsignore as commanded.
7692
7693 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7694
7695         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7696         (mq_dummypad_event), (run_output_order_test):
7697         Use a GStaticMutex to protect all cases where libcheck
7698         fail_if/fail_unless macros might be called from multiple threads
7699         simultaneously to avoid errors like:
7700           "check_pack.c:107: :-1081725400:Bad message type arg"
7701
7702 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7703
7704         * tests/check/pipelines/stress.c: (GST_START_TEST):
7705         Make sure we set the pipeline back to the NULL state before
7706         dropping our final reference.
7707
7708 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7709
7710         * tests/check/elements/tee.c: (GST_START_TEST):
7711         Make the tee stress-test a little less stressful so it doesn't just
7712         time out on slow-machines, and remove a small race when it's starting 
7713         up by adding a get_state() call.
7714
7715 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7716
7717         * gst/gst.c:
7718           Avoid reading registry twice on startup. Fixes #457322.
7719
7720 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7721
7722         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7723         * pkgconfig/gstreamer-check.pc.in:
7724         Substitute the CFLAGS for libcheck into our .pc file too so that
7725         dependent modules will pick it up properly if libcheck is installed
7726         into some other prefix.
7727
7728 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7729
7730         * configure.ac:
7731         Revert the pkg-config check for libcheck, since it pulls in the
7732         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7733         a proper solution, either from the check project, or something else.
7734
7735 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7736
7737         * configure.ac:
7738           Use pkg-config to locate check.
7739
7740 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7741
7742         * gst/gsttaglist.c:
7743           Fix doc syntax.
7744
7745         * gst/gstutils.c:
7746         * gst/gstutils.h:
7747           Add deprecation guards.
7748
7749         * libs/gst/base/gstcollectpads.h:
7750           Don't document object (this is implicitly private).
7751
7752 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7753
7754         * gst/gststructure.c: (gst_structure_parse_value):
7755           When deserialising foo=bar without a type cast, check if it's a
7756           boolean before falling back to a string type, otherwise things like
7757           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7758           because the filtercaps end up having a signed=(string)true field,
7759           which causes problems later when intersection caps.
7760
7761         * tests/check/gst/gststructure.c: (GST_START_TEST):
7762           Add a unit test for this.
7763
7764 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7765
7766         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7767
7768         * libs/gst/controller/Makefile.am:
7769         * libs/gst/controller/gstcontroller.c:
7770         (gst_controlled_property_add_interpolation_control_source),
7771         (gst_controlled_property_new), (gst_controlled_property_free),
7772         (gst_controller_find_controlled_property),
7773         (gst_controller_new_valist), (gst_controller_new_list),
7774         (gst_controller_new), (gst_controller_remove_properties_valist),
7775         (gst_controller_remove_properties_list),
7776         (gst_controller_remove_properties),
7777         (gst_controller_set_property_disabled),
7778         (gst_controller_set_disabled), (gst_controller_set_control_source),
7779         (gst_controller_get_control_source), (gst_controller_get),
7780         (gst_controller_sync_values), (gst_controller_get_value_array),
7781         (_gst_controller_dispose), (gst_controller_get_type),
7782         (gst_controlled_property_set_interpolation_mode),
7783         (gst_controller_set), (gst_controller_set_from_list),
7784         (gst_controller_unset), (gst_controller_unset_all),
7785         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7786         * libs/gst/controller/gstcontroller.h:
7787         * libs/gst/controller/gstcontrollerprivate.h:
7788         * libs/gst/controller/gstcontrolsource.c:
7789         (gst_control_source_class_init), (gst_control_source_init),
7790         (gst_control_source_get_value),
7791         (gst_control_source_get_value_array), (gst_control_source_bind):
7792         * libs/gst/controller/gstcontrolsource.h:
7793         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7794         (gst_object_get_control_source):
7795         * libs/gst/controller/gstinterpolation.c:
7796         (gst_interpolation_control_source_find_control_point_node),
7797         (gst_interpolation_control_source_get_first_value),
7798         (_interpolate_none_get), (interpolate_none_get),
7799         (interpolate_none_get_boolean_value_array),
7800         (interpolate_none_get_enum_value_array),
7801         (interpolate_none_get_string_value_array),
7802         (_interpolate_trigger_get), (interpolate_trigger_get),
7803         (interpolate_trigger_get_boolean_value_array),
7804         (interpolate_trigger_get_enum_value_array),
7805         (interpolate_trigger_get_string_value_array):
7806         * libs/gst/controller/gstinterpolationcontrolsource.c:
7807         (gst_control_point_free), (gst_interpolation_control_source_reset),
7808         (gst_interpolation_control_source_new),
7809         (gst_interpolation_control_source_set_interpolation_mode),
7810         (gst_interpolation_control_source_bind),
7811         (gst_control_point_compare), (gst_control_point_find),
7812         (gst_interpolation_control_source_set_internal),
7813         (gst_interpolation_control_source_set),
7814         (gst_interpolation_control_source_set_from_list),
7815         (gst_interpolation_control_source_unset),
7816         (gst_interpolation_control_source_unset_all),
7817         (gst_interpolation_control_source_get_all),
7818         (gst_interpolation_control_source_get_count),
7819         (gst_interpolation_control_source_init),
7820         (gst_interpolation_control_source_finalize),
7821         (gst_interpolation_control_source_dispose),
7822         (gst_interpolation_control_source_class_init):
7823         * libs/gst/controller/gstinterpolationcontrolsource.h:
7824         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7825         API: Refactor GstController into the core controller which can take
7826         a GstControlSource for providing actual values for timestamps.
7827         Implement a interpolation control source and use this for backward
7828         compatibility, deprecate a bunch of functions that are now handled
7829         by GstControlSource or GstInterpolationControlSource.
7830         Make it possible to disable the controller completely or only for
7831         specific properties. Fixes #450711.
7832         * docs/libs/gstreamer-libs-docs.sgml:
7833         * docs/libs/gstreamer-libs-sections.txt:
7834         * docs/libs/gstreamer-libs.types:
7835         Add new functions and classes to the docs.
7836         * tests/check/libs/controller.c: (GST_START_TEST),
7837         (gst_controller_suite):
7838         * tests/examples/controller/audio-example.c: (main):
7839         Port unit test and example to the new API and add some new
7840         unit tests.
7841
7842 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7843
7844         Patch by: Mark Nauwelaerts <manauw at skynet be>
7845
7846         * plugins/elements/gstmultiqueue.c:
7847         (gst_multi_queue_get_internal_links), (apply_buffer),
7848         (single_queue_overrun_cb), (gst_single_queue_new):
7849         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7850         the pipeline layout can be tracked correctly. Fixes #453732.
7851
7852 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7853
7854         * docs/gst/Makefile.am:
7855         * docs/libs/Makefile.am:
7856         * docs/plugins/Makefile.am:
7857           Simplify --extra-dir as gtkdoc scans recursively.
7858
7859 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7860
7861         * tools/gst-launch.c: (main):
7862         When we got an error, there is no point in waiting for preroll when
7863         shutting down.
7864
7865 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7866
7867         * plugins/elements/gsttee.c: (gst_tee_base_init),
7868         (gst_tee_request_new_pad), (gst_tee_release_pad),
7869         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7870         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7871         (gst_tee_chain):
7872         Be a lot smarter when deciding what srcpad to use for proxying
7873         the buffer_alloc. Also handle pad added/removed when doing so.
7874         Fixes #357959.
7875         Keep track of what pads we already pushed on in case we have pads
7876         added/removed while pushing. Fixes #374639 
7877
7878         * tests/check/Makefile.am:
7879         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7880         (tee_suite):
7881         Added unit test for pad resync.
7882
7883 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7884
7885         * po/nl.po:
7886         * po/sv.po:
7887           Updated translations.
7888
7889 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7890
7891         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7892
7893         * po/LINGUAS:
7894         * po/fi.po:
7895           Added new Finnish translation.
7896
7897 2007-06-28  Wim Taymans  <wim@fluendo.com>
7898
7899         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7900         (single_queue_overrun_cb):
7901         When figuring out when a queue is filled, use our internal time estimate
7902         based on segments, just like check_full does.
7903
7904 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7905
7906         * gst/gstminiobject.c: (gst_mini_object_get_type):
7907           Remove 3 do-nothing methods.
7908
7909 2007-06-27  Wim Taymans  <wim@fluendo.com>
7910
7911         Patch by: Tim Angus <tim at ngus dot net>
7912
7913         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7914         (gst_capsfilter_set_property):
7915         Take a reference instead of a copy when setting "caps".
7916         Fix documentation to clarify this behaviour. Fixes #449414.
7917
7918 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7919
7920         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7921         * gst/gstplugin.c: (gst_plugin_init):
7922         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7923         * gst/gstquery.c: (gst_query_get_type):
7924         * gst/gstregistry.c: (gst_registry_init):
7925         * gst/gsturi.c: (gst_uri_handler_base_init):
7926           Remove empty instance_init() functions to save relocs and lessen the
7927           noise. Remove some of the function prototypes that are doubled by
7928           G_DEFINE_TYPE.
7929           
7930 2007-06-27  Wim Taymans  <wim@fluendo.com>
7931
7932         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7933
7934         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7935         Add peer and direction in the XML serialisation of ghostpads.
7936         Fixes #449226.
7937
7938 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7939
7940         * configure.ac:
7941           Preserve useful information, thanks Tim.
7942
7943 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7944
7945         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7946         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7947         (gst_single_queue_push_one), (gst_multi_queue_loop),
7948         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7949         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7950         (compute_high_id), (gst_single_queue_new):
7951         * plugins/elements/gstmultiqueue.h:
7952         Take the multiqueue lock when updating the fill level so we don't get
7953         confused. 
7954
7955         After applying a buffer or event on the src pad segment, make sure to
7956         call gst_data_queue_limits_changed() to get the data queue to unblock
7957         and check the filled state again.
7958         
7959         Rework the not-linked pad handling so the logic is that not-linked 
7960         pads can push as fast as they like, but only so they never get 
7961         ahead of any linked pads.
7962
7963         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7964         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7965         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7966
7967         Add a test to check that not-linked pads always stay behind
7968         linked pads.
7969
7970         Fixes: #430682
7971
7972 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7973
7974         * docs/random/release:
7975           Some updates to the release procedure.
7976
7977 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7978
7979         * gst/gstelementfactory.c: (__gst_element_details_clear):
7980           Microoptimization that saves stunning 80 bytes.
7981
7982 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7983
7984         * docs/plugins/gstreamer-plugins.args:
7985         * docs/plugins/inspect/plugin-coreelements.xml:
7986         * docs/plugins/inspect/plugin-coreindexers.xml:
7987           Update docs with caps info.
7988
7989 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7990
7991         * po/it.po:
7992           Updated Italian translation.
7993
7994 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7995
7996         * ChangeLog:
7997         * po/vi.po:
7998           Update Vietnamese translations.
7999
8000 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8001
8002         * libs/gst/base/gstbasesink.c:
8003           Remove unused signal enum.
8004
8005 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8006
8007         * docs/gst/gstreamer-sections.txt:
8008         * gst/gstelement.c:
8009         * gst/gstutils.c: (gst_type_register_static_full):
8010         Beef up and include the docs for gst_type_register_static_full and
8011         gst_element_class_set_details_simple and add the API keyword
8012         in the ChangeLog.
8013
8014 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8015
8016         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8017         (update_time_level), (gst_single_queue_push_one),
8018         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8019         (single_queue_overrun_cb), (single_queue_underrun_cb),
8020         (single_queue_check_full):
8021         Fix setting max-* properties after adding queues.
8022         Use IS_FILLED for checking visible items.
8023         Signal overrun if multiple queues overrun.
8024         Add extra debug output.
8025         Patch by: Wim Taymans <wim@fluendo.com>
8026
8027 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8028
8029         * gst/gstelement.c: (gst_element_class_set_details_simple):
8030         * gst/gstelement.h:
8031         * gst/gstutils.c: (gst_type_register_static_full):
8032         * gst/gstutils.h:
8033         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8034         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8035         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8036         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8037         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8038         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8039         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8040         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8041         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8042         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8043         (apply_buffer), (gst_queue_chain):
8044         * plugins/elements/gsttee.c: (gst_tee_base_init):
8045         * plugins/elements/gsttypefindelement.c:
8046         (gst_type_find_element_base_init),
8047         (gst_type_find_element_class_init):
8048           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8049           API: add gst_type_register_static_full
8050           API: add gst_element_class_set_details_simple
8051
8052 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8053
8054         * docs/pwg/advanced-types.xml:
8055           Fix typo in iana.org URI.
8056
8057 2007-06-19  Andy Wingo  <wingo@pobox.com>
8058
8059         * tests/check/pipelines/simple-launch-lines.c
8060         (test_state_change_returns): Enable pull-mode tests now that
8061         basesink has been fixed.
8062
8063         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8064         Changed from gst_base_sink_is_prerolled, reversing the sense of
8065         the return value. Returns FALSE also if the sink is in pull mode,
8066         in which case it needs no preroll.
8067         (gst_base_sink_query, gst_base_sink_change_state): Update for
8068         needs_preroll change.
8069         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8070         chaining up, in which we return SUCCESS directly if we activated
8071         in pull mode instead of ASYNC. Involves countering an async_start
8072         message sent before chaining up; not sure if this is correct, in
8073         an ideal world we only send async-start when activating in push
8074         mode.
8075
8076         * tests/check/pipelines/simple-launch-lines.c
8077         (test_state_change_returns): New test, partially disabled until
8078         basesink is fixed.
8079
8080 2007-06-19  Wim Taymans  <wim@fluendo.com>
8081
8082         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8083         (gst_multi_queue_sink_event):
8084         Fix event leak.
8085
8086 2007-06-19  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8089         (gst_bin_change_state_func), (bin_push_state_continue),
8090         (bin_handle_async_start), (bin_handle_async_done),
8091         (gst_bin_handle_message_func):
8092         Move the common code for posting state-change messages into
8093         one function.
8094         Broadcast the state signal after we posted the messages.
8095         Mark the bin as busy when it's doing a state-change.
8096         Make sure async-start/done messages don't interfere with the bin's
8097         state when it's busy.
8098         After the state change, let the bin check which elements completed the
8099         state change while it was busy so that it can update its state.
8100
8101 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8102
8103         * docs/random/release:
8104         Add a note about updating the doap file to the release checklist
8105
8106 2007-06-18  Wim Taymans  <wim@fluendo.com>
8107
8108         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8109         (gst_single_queue_push_one), (gst_multi_queue_chain),
8110         (gst_multi_queue_sink_event):
8111         Make sure we don't reference the buffer/event after we have given away
8112         ownership in the queue.
8113
8114 2007-06-18  Wim Taymans  <wim@fluendo.com>
8115
8116         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8117         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8118         Update queue state _after_ adding the item in the queue because else we
8119         could end up being full without the element added yet.
8120
8121 2007-06-18  Wim Taymans  <wim@fluendo.com>
8122
8123         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8124         (gst_bin_remove_func), (gst_bin_get_state_func),
8125         (gst_bin_element_set_state), (gst_bin_continue_func),
8126         (bin_push_state_continue), (bin_handle_async_start),
8127         (bin_handle_async_done), (gst_bin_handle_message_func):
8128         * gst/gstbin.h:
8129         Immediatly commit the toplevel bin state when receiving an async-done
8130         message. This enables us to avoid spawning a thread to commit the state
8131         in some common cases and it also avoids some races.
8132         Avoid spawning a state thread when adding/removing async elements to a
8133         toplevel bin. Instead we immediatly update the bin state.
8134         Get rid of iterating all the children when getting the state in the bin
8135         because it is now always up-to-date.
8136         Fix bug where locked elements would always return _SUCCESS even it they
8137         returned NO_PREROLL before being locked.
8138         Fix the order of the state_change, async-start/done messages that was
8139         sometimes incorrect.
8140         Mark the state_dirty field as deprecated, we don't need it anymore as we
8141         are always up-to-date.
8142
8143         * gst/gstelement.c: (gst_element_get_state_func),
8144         (gst_element_continue_state):
8145         Small debug inprovements.
8146         Return the previous element state return when nothing is pending instead
8147         of blindly returning SUCCESS.
8148
8149         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8150         (gst_sinks_suite):
8151         Add a whole bunch of new testcases.
8152
8153 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8154
8155         * po/uk.po:
8156         * po/vi.po:
8157           Update translations.
8158
8159 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8160
8161         * gst/gstpad.c:
8162         Fix typo in the docs.
8163
8164 2007-06-15  Wim Taymans  <wim@fluendo.com>
8165
8166         * docs/libs/gstreamer-libs-sections.txt:
8167         Add docs for new methods.
8168
8169 2007-06-15  Wim Taymans  <wim@fluendo.com>
8170
8171         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8172         (gst_multi_queue_item_new):
8173         Don't use GSlice because we don't depend on >= 2.10 yet.
8174
8175 2007-06-15  Wim Taymans  <wim@fluendo.com>
8176
8177         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8178         (update_time_level), (apply_segment), (apply_buffer),
8179         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8180         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8181         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8182         (single_queue_underrun_cb), (single_queue_check_full):
8183         Remove debug printf.
8184
8185 2007-06-15  Wim Taymans  <wim@fluendo.com>
8186
8187         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8188         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8189         (gst_data_queue_set_flushing), (gst_data_queue_push),
8190         (gst_data_queue_pop), (gst_data_queue_drop_head),
8191         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8192         * libs/gst/base/gstdataqueue.h:
8193         Various cleanups.
8194         Added methods to get the current levels and to inform the queue that the
8195         'full' limits changed.
8196
8197         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8198         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8199         (gst_single_queue_flush), (update_time_level), (apply_segment),
8200         (apply_buffer), (gst_single_queue_push_one),
8201         (gst_multi_queue_item_steal_object),
8202         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8203         (gst_multi_queue_loop), (gst_multi_queue_chain),
8204         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8205         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8206         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8207         (single_queue_underrun_cb), (single_queue_check_full),
8208         (gst_single_queue_new):
8209         Keep track of time in the queue by measuring the difference between
8210         running_time on input and output. This gives more accurate results and
8211         can compensate for segments correctly.
8212         Make a queue by default only 5 buffers deep. We will now increase the
8213         buffer size depending on the filledness of the other queues.
8214         Factor out commong flush code.
8215         Make sure we don't add additional refcounts to buffers when we can avoid
8216         it.
8217         Propagate GstFlowReturn differently.
8218         Use GSlice for intermediate GstMultiQueueItems.
8219         Keep track of EOS.
8220         Resize queues on over and underruns based on filled level of other
8221         queues.
8222         When checking if the queue is filled, prefer to measure in time if we
8223         can and fall back to bytes when no time is known.
8224
8225         * plugins/elements/gstqueue.c:
8226         Fix return value.
8227
8228 2007-06-15  Wim Taymans  <wim@fluendo.com>
8229
8230         * libs/gst/base/gstbasetransform.c:
8231         (gst_base_transform_sink_event):
8232         Work around the brokenness of the event vmethod in basetransform. Prefer
8233         to return TRUE when the subclass returned FALSE (meaning don't forward
8234         the event). 
8235
8236         * libs/gst/base/gstbasetransform.h:
8237         Clarify the docs.
8238
8239 2007-06-15  Wim Taymans  <wim@fluendo.com>
8240
8241         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8242         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8243         (gst_base_src_default_query), (gst_base_src_get_range),
8244         (gst_base_src_start):
8245         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8246         Improve debugging.
8247
8248 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8249
8250         * docs/pwg/advanced-types.xml:
8251           Added more formats to caps table.
8252
8253 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8254
8255         * tools/gst-launch.c: (main):
8256           Remove crufy code. GOption does not need this workaround.
8257
8258 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8259
8260         * libs/gst/controller/gstcontroller.c:
8261         (gst_controlled_property_set_interpolation_mode):
8262           Fix wrong getter for enums in controller.
8263
8264 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8265
8266         * libs/gst/check/gstcheck.c: (gst_check_init):
8267           Intercept criticals and warnings in the Gst-Phonon log domain, so
8268           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8269           well.
8270         
8271 2007-06-14  Edward Hervey  <edward@fluendo.com>
8272
8273         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8274         Since this file doesn't include "gst.h" it will not go through the
8275         macros that disable GST_LOG if debugging was disabled.
8276
8277 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8278
8279         * libs/gst/check/Makefile.am:
8280         * libs/gst/check/gstcheck.h:
8281         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8282         * pkgconfig/gstreamer-check.pc.in:
8283           Ugly 'fix' for the controller unit test on the p5 bot: in
8284           fail_unless_equals_float() check whether the values are 'almost
8285           equal' by allowing a small absolute error, which should be good
8286           enough for our use cases (normal numbers and values close to 0).
8287           Proper fixage left to floating point arithmetic aficionados.
8288
8289 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8290
8291         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8292         (gst_base_sink_render_object), (gst_base_sink_get_position):
8293           Add two breaks thats where missing.
8294
8295 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8296
8297         * docs/libs/gstreamer-libs-sections.txt:
8298         * libs/gst/check/gstcheck.h:
8299           API: add fail_unless_equals_float() and assert_equals_float().
8300           Add documentation for some of the macros.
8301
8302         * tests/check/libs/controller.c: (GST_START_TEST):
8303           Use newly-added asserts.
8304
8305 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8306
8307         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8308           Show the caps change in the log to help spotting the case of not
8309           exactly matching caps.
8310
8311 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * docs/pwg/building-boiler.xml:
8314           Fix typos, spotted by Thijs Vermeir (#447190).
8315
8316 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8317
8318         * docs/plugins/tmpl/.cvsignore:
8319         Ignore file to keep the buildbots happy
8320
8321 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8322
8323         * docs/plugins/Makefile.am:
8324         * docs/plugins/gstreamer-plugins-docs.sgml:
8325         * docs/plugins/gstreamer-plugins-sections.txt:
8326         Pull fdsink into the docs too.
8327
8328 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8329
8330         * libs/gst/controller/gstinterpolation.c:
8331         Actually use the new functions with min/max checks for the trigger and
8332         none interpolation modes for get() and get_value_array() instead of
8333         just the latter.
8334
8335 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8336
8337         * libs/gst/controller/gstcontroller.c:
8338         (gst_controlled_property_free):
8339         Unset the minimum and maximum GValues when freeing the corresponding
8340         GstControllerProperty struct.
8341
8342 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8343
8344         * libs/gst/controller/gstcontroller.c:
8345         (gst_controlled_property_new):
8346         * libs/gst/controller/gstcontrollerprivate.h:
8347         * libs/gst/controller/gstinterpolation.c:
8348         (gst_controlled_property_find_control_point_node),
8349         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8350         (interpolate_none_get_string_value_array),
8351         (interpolate_trigger_get),
8352         (interpolate_trigger_get_enum_value_array),
8353         (interpolate_trigger_get_string_value_array):
8354         Protect against values larger or smaller than the minimum or maximum
8355         allowed value for the property when using values that can be compared.
8356
8357         Optimize trigger interpolator a bit by taking the last requested value
8358         into account instead of always looping through the complete list.
8359
8360         Fix coding style a bit, everywhere else we use "return foo" instead
8361         of "return (foo)".
8362         
8363         * tests/check/libs/controller.c: (GST_START_TEST),
8364         (gst_controller_suite):
8365         Add unit test for the protection against too large or too small
8366         values.
8367
8368 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8369
8370         * docs/random/slomo/controller.txt:
8371         Add some thoughts about the future of the controller.
8372
8373 2007-06-08  Wim Taymans  <wim@fluendo.com>
8374
8375         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8376         Don't overflow in retimestamping code.
8377
8378 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8379
8380         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8381         Use gst_util_guint64_to_gdouble for conversions.
8382         * win32/common/libgstreamer.def:
8383         Add new exported functions.
8384
8385 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8386
8387         * gst/gstutils.c:
8388           Small docs addition.
8389
8390 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8391
8392         * README:
8393           Remove that test line again.
8394
8395 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8396
8397         * README:
8398           Test commit mail sending.
8399
8400 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8401
8402         * configure.ac:
8403           Fix typo and test commit mail sending.
8404
8405 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8406
8407         * tests/examples/controller/audio-example.c:
8408           Improve comment and test commit mail sending.
8409
8410 2007-06-07  Wim Taymans  <wim@fluendo.com>
8411
8412         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8413         (gst_bin_remove_func), (gst_bin_element_set_state),
8414         (bin_handle_async_start), (bin_handle_async_done),
8415         (gst_bin_handle_message_func):
8416         Add helper function to find messages.
8417         Generate the async-done messages together with the state change
8418         messages.
8419         Small cleanups in handling toplevel bins.
8420
8421 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8422
8423         * libs/gst/base/gstdataqueue.c:
8424         * libs/gst/base/gstdataqueue.h:
8425         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8426         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8427         (gst_multi_queue_sink_event):
8428         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8429           Fix multiqueue leaking buffers and events when downstream or the
8430           queue are flushing. Make refcounting assumptions explicit and
8431           document them (shouldn't break existing code that uses it other than
8432           maybe leak miniobjects, but that already happens anyway). Add unit
8433           test for the most common flushing case. Fixes #423700.
8434           
8435 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8436
8437         * libs/gst/controller/gstcontroller.c:
8438         Clarify docs: The get_all, get_value_array(s) functions
8439         don't modify the GObject properties.
8440
8441 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8442
8443         * libs/gst/controller/gstcontroller.c:
8444         (gst_controlled_property_set_interpolation_mode),
8445         (gst_controlled_property_prepend_default),
8446         (gst_controlled_property_new), (gst_controller_set_unlocked),
8447         (gst_controller_set), (gst_controller_set_from_list),
8448         (gst_controller_unset), (gst_controller_unset_all):
8449         * libs/gst/controller/gstcontrollerprivate.h:
8450         * libs/gst/controller/gstinterpolation.c:
8451         Factor out the 'set' logic into gst_controller_set_unlocked for the
8452         gst_controller_set and gst_controller_set_from_list functions.
8453
8454         To make life of the interpolators easier always add a control point
8455         at timestamp zero with the default value.
8456
8457         In the linear interpolator make things more obvious by better variable
8458         naming (slope).
8459
8460         Implement cubic interpolation mode (by using a natural cubic spline)
8461         and map the quadratic interpolation mode to this too (as quadratic
8462         doesn't make much sense, see discussion on the list).
8463
8464         * tests/check/libs/controller.c: (GST_START_TEST),
8465         (gst_controller_suite):
8466         Add unit test for the cubic interpolation mode and check everywhere
8467         if the interpolation mode could be set as expected.
8468
8469 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8470
8471         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8472           Don't use GLib-2.10 functions, we still depend on
8473           GLib-how-old-is-it-again-2.8.
8474
8475 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8476
8477         * docs/gst/gstreamer-sections.txt:
8478         * gst/Makefile.am:
8479         * gst/gst.c:
8480         * gst/gst.h:
8481         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8482         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8483         (_gst_param_fraction_values_cmp),
8484         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8485         * gst/gstparamspecs.h:
8486         * gst/gstvalue.c:
8487         * tests/check/Makefile.am:
8488         * tests/check/gst/.cvsignore:
8489         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8490         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8491         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8492         (GST_START_TEST), (gst_param_spec_suite):
8493           API: add GstParamSpecFraction, so elements can have fraction
8494           properties without lots of painful string parsing (#444648).
8495
8496 2007-06-05  Wim Taymans  <wim@fluendo.com>
8497
8498         * gst/gstobject.c: (gst_object_class_init):
8499         Fix signal signature.
8500
8501         * gst/gstsegment.c:
8502         Add small clarification in the api docs.
8503
8504         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8505         States are protected with object lock.
8506
8507 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8508
8509         * AUTHORS:
8510         I should probably be listed as an author by now.
8511
8512         * docs/random/release:
8513         Update the release doc
8514
8515 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8516
8517         * gst/gstvalue.c:
8518           Make docs for gst_value_compare() mention return enums that
8519           actually exist.
8520
8521 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8522
8523         * configure.ac:
8524           Back to CVS
8525
8526 === release 0.10.13 ===
8527
8528 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8529
8530         * configure.ac:
8531           releasing 0.10.13, "With or without you"
8532
8533 2007-05-25  Wim Taymans  <wim@fluendo.com>
8534
8535         * gst/gstbin.c: (bin_handle_async_done):
8536         Make sure that the child bin stops after completing the async state
8537         change so that the parent can continue the state change to PLAYING.
8538         Fixes #441159.
8539
8540 2007-05-25  Wim Taymans  <wim@fluendo.com>
8541
8542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8543         (unref_data), (gst_collect_pads_remove_pad),
8544         (gst_collect_pads_check_pads):
8545         Use additional refcounting to avoid crashes when dynamically adding and
8546         removing pads. Fixes #420206.
8547
8548 2007-05-24  Wim Taymans  <wim@fluendo.com>
8549
8550         * tools/gst-launch.c: (event_loop):
8551         When buffering goes from a two digit to a single digit number, make sure
8552         to remove the old second digit by writing a blank over it.
8553
8554 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8555
8556         * libs/gst/base/gstdataqueue.c:
8557           Eliminate tabs and trailing comma in enum list; fix some typos.
8558
8559 2007-05-24  Wim Taymans  <wim@fluendo.com>
8560
8561         * tests/check/gst/gstbin.c: (GST_START_TEST):
8562         Allow refcount of 3 and 4 because some state thread might still be busy
8563         with it.
8564
8565 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8566
8567         * plugins/elements/Makefile.am:
8568         * plugins/elements/gstmultiqueue.h:
8569         * plugins/elements/gstqueue.h:
8570           These are not installed headers, no need for padding.
8571
8572 2007-05-24  Wim Taymans  <wim@fluendo.com>
8573
8574         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8575         (gst_bin_continue_func):
8576         Enable latency for next release.
8577         Restore STATE_LOCK around recalc_state that was left out during the
8578         rewrite and could result in racy behaviour when _get_state and
8579         recalc_state are run concurrently. See #440463.
8580
8581 2007-05-23  Wim Taymans  <wim@fluendo.com>
8582
8583         * tests/check/gst/gstsystemclock.c: (store_callback),
8584         (GST_START_TEST):
8585         Improve test_async_order to also work when both timers are already
8586         expired when we get scheduled to check it.
8587
8588 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8589
8590         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8591         (gst_bin_set_property), (gst_bin_get_property),
8592         (gst_bin_remove_func), (gst_bin_handle_message_func):
8593         * gst/gstbin.h:
8594           'private' is a c++ keyword, let's not use that in header files,
8595           otherwise c++ compilers will throw a tantrum.
8596
8597 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8598
8599         * plugins/elements/gstelements.c:
8600         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8601         (gst_file_sink_get_current_offset):
8602         * plugins/indexers/gstindexers.c: (plugin_init):
8603           Use #ifdef for HAVE_XYZ for consistency.
8604
8605         * tests/check/Makefile.am:
8606         * tests/check/elements/.cvsignore:
8607         * tests/check/elements/filesink.c: (setup_filesink),
8608         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8609           Add some unit tests for filesink.
8610
8611 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         Patch by: Mark Nauwelaerts <manauw at skynet be>
8614
8615         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8616         (gst_file_sink_query), (gst_file_sink_do_seek),
8617         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8618         * plugins/elements/gstfilesink.h:
8619           Fix position reporting; rename data_written member to current_pos to
8620           reflect its real meaning (fixes #412648).
8621
8622 2007-05-22  Edward Hervey  <edward@fluendo.com>
8623
8624         * docs/gst/gstreamer-sections.txt:
8625         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8626         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8627         (gst_bin_remove_func), (gst_bin_handle_message_func):
8628         * gst/gstbin.h:
8629         Add a property for bins that handle the state change of their childs.
8630         Fixes #435880
8631
8632 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8633
8634         * libs/gst/controller/gstinterpolation.c:
8635         Use an array of the correct type when using _get_value_array with
8636         linear interpolation.
8637
8638 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8639
8640         * gst/gstelement.c (gst_element_requires_clock,
8641           gst_element_provides_clock, gst_element_request_pad,
8642           gst_element_class_set_details, gst_element_class_set_details_simple,
8643           gst_element_default_send_event, gst_element_abort_state,
8644           gst_element_continue_state, gst_element_set_state,
8645           gst_element_set_state_func, iterator_activate_fold_with_resync):
8646         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8647           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8648           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8649           gst_pad_get_range, gst_pad_pull_range):
8650         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8651           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8652           GstPadActivateModeFunction, GstPadChainFunction,
8653           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8654           GstPadFixateCapsFunction, GstPadTemplate):
8655         * gst/gstpipeline.c (gst_pipeline_change_state,
8656           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8657           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8658           gst_pipeline_get_delay):
8659           Whitespace and docs fixes.
8660
8661 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8662
8663         * libs/gst/controller/gstinterpolation.c:
8664         (interpolate_trigger_get_enum_value_array),
8665         (interpolate_trigger_get_string_value_array):
8666         Add support for retrieving value arrays when using the trigger
8667         interpolation mode. 
8668
8669 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8670
8671         * libs/gst/controller/gstcontroller.c:
8672         (gst_controller_get_value_array):
8673         * libs/gst/controller/gstcontroller.h:
8674         Clarify the docs of gst_controller_get_value_array(): The array where
8675         the values should be written to must be allocated as there seems to be
8676         no way to get the size of a random GType. This doesn't change any
8677         behaviour. Also fix some typos all over the place and remove an unused,
8678         commented function that is not necessary as g_object_set() could be
8679         used instead.
8680         * tests/check/libs/controller.c: (GST_START_TEST),
8681         (gst_controller_suite):
8682         Add unit test for gst_controller_get_value_array().
8683
8684 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8685
8686         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8687
8688         Disable part of the gst_buffer_try_new_and_alloc test, because
8689         it can happily succeed on 64-bit systems where there's more address
8690         space available.
8691
8692 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8693
8694         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8695         Add unit test for the improved caps checking from bug #421543.
8696
8697 2007-05-21  Wim Taymans  <wim@fluendo.com>
8698
8699         * docs/design/part-synchronisation.txt:
8700         Small addition.
8701
8702         * gst/gstbin.c: (gst_bin_query):
8703         * plugins/elements/gstqueue.c: (apply_segment):
8704         Improve debugging.
8705
8706         * gst/gstmessage.h:
8707         Improve docs.
8708
8709 2007-05-21  Wim Taymans  <wim@fluendo.com>
8710
8711         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8712         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8713         (gst_pad_configure_src):
8714         Added simple version of improved caps checking. It was previously
8715         assumed that a setcaps function would check the validity of the caps but
8716         people prefer us to check caps against the template automatically. 
8717         Fixes #421543.
8718
8719 2007-05-21  Wim Taymans  <wim@fluendo.com>
8720
8721         * libs/gst/base/gstbasetransform.h:
8722         Fix macro for locking/unlocking the transform lock.
8723
8724 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8725
8726         * docs/plugins/tmpl/.cvsignore:
8727           Ignore more.
8728
8729 2007-05-18  Edward Hervey  <edward@fluendo.com>
8730
8731         * plugins/elements/gstqueue.c: (gst_queue_loop):
8732         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8733         for the subtle art of warning a potentially blocking thread that it
8734         should check the source pad return value, and relay the information
8735         upstream.
8736
8737 2007-05-18  Edward Hervey  <edward@fluendo.com>
8738
8739         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8740         Release the queue lock !
8741
8742 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8743
8744         * docs/libs/gstreamer-libs-sections.txt:
8745         Add the two new controller functions to the appropiate places.
8746
8747 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8748
8749         reviewed by: Stefan Kost <ensonic@users.sf.net>
8750
8751         * libs/gst/controller/gstcontroller.c:
8752         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8753         (_gst_controller_get_property), (_gst_controller_set_property),
8754         (_gst_controller_init), (_gst_controller_class_init):
8755         * libs/gst/controller/gstcontroller.h:
8756         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8757         (gst_object_get_control_rate), (gst_object_set_control_rate):
8758         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8759         Add API that provides sync suggestion timestamps for elements that
8760         call gst_object_sync_values() from which those elements can subdivide
8761         their processing loop to get the best results for the controlled
8762         properties. For now it just suggests last_sync + control_rate as
8763         new timestamp but this will be improved in the future.
8764
8765         While doing that change the control-rate property to a GstClockTime
8766         from guint and change it's meaning from samples to nanoseconds as
8767         the GstController doesn't know anything about sampling rate. Strictly
8768         speaking this breaks ABI but as the control-rate property didn't do
8769         anything in the past and as such couldn't be used this should be no
8770         problem.        
8771
8772 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8773
8774         reviewed by: Stefan Kost <ensonic@users.sf.net>
8775
8776         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8777         (gst_controller_unset_all):
8778         * libs/gst/controller/gstcontrollerprivate.h:
8779         * libs/gst/controller/gstinterpolation.c:
8780         (gst_controlled_property_find_control_point_node):
8781         Save last synced value from the list to continue searching from there
8782         in future syncs. This speeds everything up a bit.
8783         
8784 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8785
8786         reviewed by: Stefan Kost <ensonic@users.sf.net>
8787
8788         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8789         (gst_control_point_find), (gst_controlled_property_new),
8790         (gst_control_point_free), (gst_controlled_property_free),
8791         (gst_controller_set), (gst_controller_set_from_list),
8792         (gst_controller_unset), (gst_controller_unset_all),
8793         (gst_controller_sync_values):
8794         * libs/gst/controller/gstcontroller.h:
8795         * libs/gst/controller/gstcontrollerprivate.h:
8796         * libs/gst/controller/gstinterpolation.c:
8797         (gst_controlled_property_find_control_point_node),
8798         (interpolate_none_get), (interpolate_trigger_get):
8799         Add a new private GstControlPoint struct which "inherits" from
8800         GstTimedValue to allow different interpolators to store internal
8801         values next to each control point. From the outside everything is
8802         still a GstControlPoint so we don't loose binary compatibility.
8803         Also fixup all the GValue handling to not leak GValues or list nodes.
8804         * tests/check/libs/controller.c: (GST_START_TEST):
8805         Free the list nodes and GValues in the controller_misc test.
8806
8807 2007-05-17  Edward Hervey  <edward@fluendo.com>
8808
8809         * gst/gstsegment.c:
8810         Small doc fix.
8811
8812 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8813
8814         * gst/gstplugin.c: (gst_plugin_load_file):
8815           If we fail to load a plugin because of unresolved symbols or missing
8816           libraries and spew a warning to stderr, we may just as well mention
8817           which plugin it was that failed to load.
8818
8819 2007-05-13  David Schleef  <ds@schleef.org>
8820
8821         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8822           handles the case when ENABLE_GTK_DOC is false, and installs
8823           the prebuilt documentation.  So gtk-doc subdirs are 
8824           unconditionally enabled.  Fixes: #349099.
8825
8826 2007-05-13  David Schleef  <ds@schleef.org>
8827
8828         * gst/gstutils.h: Reword some documentation.
8829
8830 2007-05-12  David Schleef  <ds@schleef.org>
8831
8832         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8833           do anything with the passed "module" parameter, so remove it.
8834           Allows removal of additional vestigal code.
8835
8836 2007-05-12  David Schleef  <ds@schleef.org>
8837
8838         * gst/gstplugin.c:
8839           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8840           Switch to using g_stat() because it's more portable.
8841
8842 2007-05-12  David Schleef  <ds@schleef.org>
8843
8844         * gst/gst.c:
8845           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8846           parsing for embedded systems.
8847         * gst/gstelementfactory.c:
8848           Allow gst_element_register() to be called with plugin==NULL.
8849           Did nobody notice that static elements were broken?
8850
8851 2007-05-12  Wim Taymans  <wim@fluendo.com>
8852
8853         * tools/gst-launch.c: (event_loop):
8854         Give more interesting info when buffering starts and stops.
8855         Fix case where buffering starts but we fail to update the buffering flag
8856         because the target state is not PLAYING.
8857
8858 2007-05-12  Wim Taymans  <wim@fluendo.com>
8859
8860         * plugins/elements/gstqueue.c: (gst_queue_init),
8861         (gst_queue_finalize), (update_time_level), (apply_segment),
8862         (apply_buffer), (gst_queue_locked_flush),
8863         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8864         (gst_queue_handle_sink_event), (gst_queue_chain),
8865         (gst_queue_push_one), (gst_queue_loop):
8866         * plugins/elements/gstqueue.h:
8867         Refactor an cleanup queue a bit.
8868         Do better time level calculations that also work when the srcpad is not
8869         yet running.
8870         Remove some unneeded debug lines.
8871
8872         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8873         Added testcase for time level measurement.
8874         Try to make some stuff more racefree.
8875
8876 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8877
8878         * gst/gsturi.c: (gst_element_make_from_uri):
8879           Don't leak plugin feature.
8880
8881         * tests/check/Makefile.am:
8882         * tests/check/gst/.cvsignore:
8883         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8884           Add brain-dead unit test.
8885
8886 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8887
8888         Patch by: Jeroen Wouters <woutersj at gmail com>
8889
8890         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8891           Treat protocol strings in a case-insensitive way (#437563).
8892
8893 2007-05-11  Michael Smith <msmith@fluendo.com>
8894
8895         * gst/gstplugin.c: (gst_plugin_load_file):
8896         * gst/gstregistry.c: (gst_registry_scan_path_level):
8897           Don't print a g_warning for any failure to load a shared object.
8898           Instead, push this down into gstplugin.c, and warn _only_ if we
8899           failed to open the module (i.e. failure to link).
8900           Avoids warnings on normal, working, non-plugin .so files.
8901
8902 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8903
8904         * gst/gstplugin.c (gst_plugin_load_file):
8905         * gst/gstregistry.c (GST_CAT_DEFAULT,
8906           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8907           Print a g_warning if there was an error when loading a plugins during
8908           registry scan. The shuld help beginners starting with gst-plugin
8909           template.
8910
8911 2007-05-10  Wim Taymans  <wim@fluendo.com>
8912
8913         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8914         (update_time_level), (gst_queue_locked_flush),
8915         (gst_queue_handle_sink_event), (gst_queue_chain),
8916         (gst_queue_push_one), (gst_queue_loop):
8917         * plugins/elements/gstqueue.h:
8918         Be smarter when calculating the current amount of data in the queue by
8919         measuring the difference between start and end timestamps (in running
8920         time) inside the queue. Fixes #432876.
8921         API: GstQueue::pushing to notify elements that we are pushing data again
8922         since the running signal is rather broken for this purpose.
8923
8924 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8925
8926         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8927           gst_queue_base_init, gst_queue_init):
8928           use GST_BOILERPLATE
8929
8930 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8931
8932         * win32/common/libgstreamer.def:
8933         Add new exported functions.
8934         * win32/vs6/grammar.dsp:
8935         Use grammar pre-generated files.
8936
8937 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8938
8939         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8940
8941         * gst/Makefile.am:
8942         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8943         * gst/gstparse.h:
8944         * gst/gstutils.c: (gst_parse_bin_from_description):
8945         * gst/gstutils.h:
8946           Maintain API and ABI when --disable-parse is used. Now that
8947           we have an appropriate error code, we can just return NULL and the
8948           appropriate error when gst_parse_launch() is used despite it having
8949           been disabled (#342564).
8950
8951         * tests/check/Makefile.am:
8952         * tests/check/pipelines/.cvsignore:
8953         * tests/check/pipelines/parse-disabled.c:
8954           Make sure these functions exist and return NULL plus a GError when
8955           --disable-parse is used.
8956
8957 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * tests/benchmarks/complexity.c: (main):
8960         * tests/benchmarks/mass-elements.c: (main):
8961           Set a good example and don't leak messages.
8962
8963 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8964
8965         * docs/gst/Makefile.am:
8966         * docs/libs/Makefile.am:
8967           Correct fixxrefs options.
8968
8969         * docs/plugins/Makefile.am:
8970         * docs/plugins/gstreamer-plugins-docs.sgml:
8971         * docs/plugins/gstreamer-plugins-sections.txt:
8972         * plugins/elements/Makefile.am:
8973         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8974         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8975           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8976           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8977           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8978           _GstCapsFilterClass, trans_class):
8979         * plugins/elements/gstelements.c (name, rank, type, _elements):
8980         * plugins/elements/gstidentity.c
8981           (gst_identity_check_imperfect_timestamp,
8982           gst_identity_check_imperfect_offset):
8983           Document capsfilter and add doc-blurb to identity.
8984
8985 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8986
8987         * libs/gst/controller/gstcontroller.c:
8988         (gst_controlled_property_set_interpolation_mode):
8989         * libs/gst/controller/gstinterpolation.c:
8990           Don't crash if someone tries to set an interpolation mode that
8991           is invalid or that isn't supported yet. Fixes #422295.
8992
8993         * tests/check/libs/controller.c: (GST_START_TEST),
8994         (gst_controller_suite):
8995           Add a test case for the above.
8996
8997 2007-05-03  Edward Hervey  <edward@fluendo.com>
8998
8999         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9000         Properly set the last_stop position on GstSegment. This will only happen
9001         if there is a buffer to push out.
9002
9003 2007-05-03  Wim Taymans  <wim@fluendo.com>
9004
9005         * libs/gst/base/gstbasetransform.c:
9006         (gst_base_transform_buffer_alloc):
9007         always_in_place does not mean that the sink and source caps are the
9008         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9009
9010 2007-05-03  Wim Taymans  <wim@fluendo.com>
9011
9012         * docs/libs/gstreamer-libs-sections.txt:
9013         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9014         (gst_base_src_default_query), (gst_base_src_get_range):
9015         * libs/gst/base/gstbasesrc.h:
9016         API: gst_base_src_query_latency(). Added method so that subclasses can
9017         easily get the latency values of the base source class.
9018
9019 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9020
9021         * tools/gst-inspect.c (print_implementation_info):
9022         Remove 0.8 cruft.
9023
9024 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9025
9026         * tools/Makefile.am:
9027         * tools/gst-launch.1.in:
9028           Don't create a customised man page based on the host architecture,
9029           describe the default registry path generically. That way the man
9030           page is the same for all architectures and packagers have one
9031           multilib issue less to deal with. Fixes #434926.
9032
9033 2007-05-02  Wim Taymans  <wim@fluendo.com>
9034
9035         * gst/gstpad.c:
9036         Fix documentation as spotted by rg on IRC. 
9037
9038 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9039
9040         * gst/gstutils.c:
9041           Improve docs for gst_element_{link,unlink}.
9042
9043 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9044
9045         * docs/design/part-events.txt:
9046         * docs/design/part-overview.txt:
9047         * gst/gstevent.c:
9048         * gst/gsturi.c:
9049         * gst/gsturi.h:
9050         * libs/gst/base/gstbasesink.c:
9051           Typo fixes; minor docs addition.
9052
9053 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9054
9055         * docs/gst/gstreamer-sections.txt:
9056         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9057         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9058         * gst/gsturi.h:
9059         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9060         or src that supports a given URI protocol exists.
9061
9062 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9063
9064         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9065         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9066         Set the location to NULL if "file://" is set as URI. Otherwise
9067         some random previous URI would still be set if "file://" is
9068         set on an already used filesink/filesrc.
9069
9070 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9071
9072         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9073         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9074         Special case the "file://" URI as as this is used by some
9075         applications to test with gst_element_make_from_uri if there's
9076         an element that supports the URI protocol.
9077         Also move the g_path_is_absolute() check for the location part
9078         of the URI to also check this for "file://localhost/bla" URIs.
9079
9080 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9081
9082         * docs/gst/gstreamer-sections.txt:
9083         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9084         * gst/gstbuffer.h:
9085         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9086         (gst_buffer_suite):
9087           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9088
9089 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9090
9091         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9092         (gst_registry_binary_load_pad_template),
9093         (gst_registry_binary_load_plugin),
9094         (gst_registry_binary_read_cache):
9095         * gst/gstregistrybinary.h:
9096           Implement no-mmap alternative for registry reading. Do code cleanups.
9097           Add more comments about avoiding strdups for all text data. Comments
9098           welcome.
9099
9100 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9101
9102         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9103           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9104           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9105           Comment structs and reformat to fix the build (that stuff should go
9106           into a priv. header).
9107
9108 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9109
9110         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9111         (gst_registry_binary_load_feature):
9112         * gst/gstregistrybinary.h:
9113           Refactor so that we can implement multiple features. Add support for
9114           TypeFindFactory features.
9115
9116 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9117
9118         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9119
9120         * configure.ac:
9121           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9122
9123 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9124
9125         * gst/gstbin.c: (gst_bin_element_set_state),
9126         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9127         (bin_handle_async_done), (gst_bin_handle_message_func):
9128           Fix build with --gst-disable-gst-debug
9129
9130 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9131
9132         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9133           Make sure streaming has finished before calling the ::stop() vfunc,
9134           since that vfunc might clear state which is being used in the
9135           streaming thread. This fixes a race that caused crashes in
9136           audioresample when shutting down a pipeline (#420106).
9137
9138 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9139
9140         * docs/gst/gstreamer-sections.txt:
9141           That was one byte missing.
9142
9143 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9144
9145         * configure.ac:
9146         * docs/gst/gstreamer-sections.txt:
9147         * gst/Makefile.am:
9148         * gst/gstconfig.h.in:
9149         * gst/gstobject.c: (gst_object_class_init),
9150         (gst_signal_object_class_init):
9151         * gst/gstobject.h:
9152           2nd attempt to have a xml-less build as a joined effort of #413123
9153           and #421480.
9154
9155 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9156
9157         * docs/design/draft-tagreading.txt:
9158           Added open issues/thoughts to draft.
9159
9160 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9161
9162         * gst/parse/grammar.tab.pre.c:
9163         * gst/parse/grammar.tab.pre.h:
9164         * gst/parse/lex._gst_parse_yy.pre.c:
9165         Update the prebuild parser sources.
9166
9167 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9168
9169         * gst/parse/Makefile.am:
9170         And now fix the building of the flex sources. Now everything should
9171         work as expected.
9172
9173 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9174
9175         * gst/parse/Makefile.am:
9176         Now hopefully fix the build failures by setting proper rule
9177         dependencies and moving instead of copying.
9178
9179 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9180
9181         * tests/benchmarks/complexity.gnuplot:
9182         * tests/benchmarks/complexity.scm:
9183         * tests/benchmarks/mass-elements.gnuplot:
9184         * tests/benchmarks/mass-elements.scm:
9185           Total licensification.
9186
9187 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9188
9189         * gst/parse/Makefile.am:
9190           Fix the build by correcting the rule that gave wrong files to flex.
9191
9192 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9193
9194         * tests/benchmarks/complexity.c:
9195         * tests/benchmarks/mass-elements.c:
9196           Change licence to LGPL as granted by Benjamin and Andy.
9197
9198 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9199
9200         * gst/parse/Makefile.am:
9201         Add correct grammar.tab.h dependency if compiling without new enough
9202         flex. Fixes #431150.
9203
9204 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9205
9206         * gst/parse/Makefile.am:
9207         Fix typo and use outdated sources if the flex/bison sources are newer
9208         than the pregenerated ones but flex is too old. Print a warning in
9209         that case. This should fix the build on the build bot.
9210
9211 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9212
9213         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9214         * gst/parse/Makefile.am:
9215         * gst/parse/grammar.y:
9216         * gst/parse/parse.l:
9217         Make the parser reentrant and recursively callable. This requires flex
9218         >= 2.5.31, for older versions pregenerated sources are used as we
9219         can't bump the build dependency. Finally fixes #349180.
9220
9221         * gst/gstparse.c: (gst_parse_launch):
9222         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9223         now anyway.
9224
9225         * docs/gst/Makefile.am:
9226         * docs/gst/Makefile.am:
9227         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9228         (__gst_parse_strfree), (__gst_parse_link_new),
9229         (__gst_parse_link_free), (__gst_parse_chain_new),
9230         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9231         (gst_parse_element_set), (gst_parse_free_link),
9232         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9233         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9234         (_gst_parse_launch):
9235         * gst/parse/grammar.tab.pre.h:
9236         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9237         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9238         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9239         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9240         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9241         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9242         (_gst_parse_yypop_buffer_state),
9243         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9244         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9245         (yy_fatal_error), (_gst_parse_yyget_extra),
9246         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9247         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9248         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9249         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9250         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9251         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9252         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9253         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9254         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9255         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9256         (_gst_parse_yyfree):
9257         If the installed flex version is too old use pre-generated parser
9258         sources. These pre-generated parser sources are always updated when
9259         the actual flex/bison sources change but require everybody who wants
9260         to change something in the parser to have flex >= 2.5.31 installed.
9261
9262 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9263
9264         * common/m4/gst-gettext.m4:
9265         * gst/gst-i18n-lib.h:
9266           Make --disable-nls to work
9267
9268 2007-04-17  Wim Taymans  <wim@fluendo.com>
9269
9270         * gst/gstconfig.h.in:
9271         Revert previous change that broke the build.
9272
9273 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9274
9275         * configure.ac:
9276         * gst/Makefile.am:
9277         * gst/gstconfig.h.in:
9278           Drop libxml2 dependency when building with 
9279           --enable-binary-registry --disable-loadsave
9280
9281 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9282
9283         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9284         (gst_registry_binary_read_cache):
9285         * gst/gstregistrybinary.h:
9286           Remove unnecessary <sys/mman.h> include which broke the win32 build
9287           with MingW; move includes from header file to .c file, even if the
9288           header file isn't installed; use g_strerror() where UTF-8 strings
9289           are expected, such as in GST_DEBUG messages.
9290
9291 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9292
9293         * docs/libs/gstreamer-libs-sections.txt:
9294         Remove bogus addition for API I didn't end up keeping.
9295
9296         * libs/gst/base/gstbasesrc.h:
9297         Mention Since: 0.10.13 in the documentation.
9298
9299         Add the API keyword to the previous ChangeLog entry.
9300
9301 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9302
9303         * docs/libs/gstreamer-libs-sections.txt:
9304         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9305         (gst_base_src_default_prepare_seek_segment),
9306         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9307         * libs/gst/base/gstbasesrc.h:
9308         Allow basesrc derived classes to execute seeks in other formats
9309         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9310         to prepare the GstSegment in any format that their perform_seek method
9311         will be able to understand. The default implementation provides the
9312         old behaviour of attempting to convert the seek offsets to the 
9313         configured native format.
9314
9315         API: basesrc::prepare_seek_segment vmethod.
9316
9317 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9318
9319         * gst/gstelement.c: (gst_element_get_state_func):
9320         Don't output the same debug statement twice.
9321
9322         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9323         (gst_adapter_peek), (gst_adapter_take_buffer):
9324         Optimise the case where we have buffers at the head of the queue that
9325         can be joined quickly (because they're contiguous sub-buffers) by
9326         merging them together rather than copying data out into new memory.
9327
9328         * gst/parse/grammar.y:
9329         * tests/check/pipelines/parse-launch.c:
9330         Fix a leak in an error path for parse_launch, and add a check 
9331         for it to the testsuite.
9332
9333 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9334
9335         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9336           Don't deadlock when releasing a pad - gst_pad_set_active may try
9337           and take the multiqueue lock too.
9338
9339 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9340
9341         * gst/gsterror.c: (_gst_core_errors_init):
9342         * gst/gsterror.h:
9343           API: add GST_CORE_ERROR_DISABLED (#392804).
9344
9345 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9346
9347         * docs/faq/gst-uninstalled:
9348           don't get empty paths on the PATH variables
9349         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9350           Don't format for the uncommon terminal width of 84 characters.
9351
9352 2007-04-06  Wim Taymans  <wim@fluendo.com>
9353
9354         * gst/gstpipeline.c: (reset_stream_time),
9355         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9356         Only try to select a different pipeline clock when we went back to
9357         PAUSED and not when we merely got flushed.
9358
9359 2007-04-05  Michael Smith  <msmith@fluendo.com>
9360
9361         * tools/gst-launch.1.in:
9362           fractions are better supported in gstreamer than ractions, so
9363           suggest using those.
9364
9365 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9366
9367         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9368
9369         * po/LINGUAS:
9370         * po/da.po:
9371           Added Danish translation.
9372
9373 2007-04-05  Wim Taymans  <wim@fluendo.com>
9374
9375         * libs/gst/base/gstbasesink.c:
9376         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9377         Fix leak caused when refusing newsegment after EOS.
9378
9379         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9380         (gst_fake_sink_init), (gst_fake_sink_set_property),
9381         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9382         (gst_fake_sink_render), (gst_fake_sink_change_state):
9383         * plugins/elements/gstfakesink.h:
9384         Add num-buffers property to make the element generate EOS after a
9385         configurable amount of buffers.
9386         API: fakesink::num-buffers property.
9387
9388         * tests/check/elements/fakesink.c: (GST_START_TEST),
9389         (fakesink_suite):
9390         Fix GstBus leak in test.
9391         Test for fakesink num-buffers.
9392
9393 2007-04-05  Wim Taymans  <wim@fluendo.com>
9394
9395         * libs/gst/base/gstbasesink.c:
9396         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9397         (gst_base_sink_change_state):
9398         Don't accept anything after an EOS, return UNEXPECTED instead.
9399
9400         * tests/check/elements/fakesink.c: (GST_START_TEST),
9401         (fakesink_suite):
9402         Unit test for new EOS behaviour.
9403
9404 2007-04-05  Wim Taymans  <wim@fluendo.com>
9405
9406         * gst/gstelement.c: (gst_element_get_request_pad):
9407         Make padtemplates also work when they don't contain %s or %d.
9408
9409 2007-04-05  Wim Taymans  <wim@fluendo.com>
9410
9411         * docs/gst/gstreamer-sections.txt:
9412         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9413         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9414         * gst/gstclock.h:
9415         Improve _adjust_unlocked() so that it overflows less.
9416         Add gst_clock_unadjust_unlocked to convert from external time to
9417         internal time based on calibration.
9418         Add some more debug.
9419         API: GstClock::gst_clock_unadjust_unlocked()
9420
9421 2007-04-03  Wim Taymans  <wim@fluendo.com>
9422
9423         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9424
9425         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9426         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9427         when releasing sink pad. Fixes #425400.
9428
9429 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9430
9431         * docs/random/ensonic/dynlink.txt:
9432           More work on proposal for new core api.
9433
9434         * docs/libs/gstreamer-libs-sections.txt:
9435         * libs/gst/base/gstbasetransform.h:
9436           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9437           
9438         * libs/gst/controller/gstcontroller.c:
9439         (on_object_controlled_property_changed),
9440         (gst_controller_sync_values),
9441         (gst_controller_set_interpolation_mode):
9442         * libs/gst/controller/gstcontroller.h:
9443           Less verbose logging add docs for unimplemented parts and correctly
9444           return when using unavailable parts.
9445
9446 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9447
9448         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9449         Move all the debug to the CLOCK category, and associate it with
9450         the clock object.
9451
9452 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9453
9454         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9455         Make take_buffer a bit quicker by removing redundant checks
9456         caused by calling gst_adapter_take.
9457
9458 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9459
9460         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9461           Don't leak GCond.
9462
9463         * tests/check/Makefile.am:
9464         * tests/check/elements/.cvsignore:
9465         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9466         (GST_START_TEST), (multiqueue_suite):
9467           Add some dead simple unit tests for the 'multiqueue' element
9468           (some bits don't work yet and are disabled for now).
9469
9470 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9471
9472         * gst/gstelement.c: (gst_element_get_request_pad),
9473         (gst_element_class_get_request_pad_template):
9474           Make gst_element_get_request_pad() create request pads only for
9475           request pad templates and not for, say, sometimes pad templates.
9476
9477 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9478
9479         * docs/design/draft-klass.txt:
9480           Add example that needs more thinking.
9481         
9482         * docs/design/draft-missing-plugins.txt:
9483           More thoughts about wrapper plugins.
9484         
9485         * docs/random/ensonic/embedded.txt:
9486         * docs/random/ensonic/profiling.txt:
9487           More design work.
9488
9489 2007-03-25  Wim Taymans  <wim@fluendo.com>
9490
9491         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9492         (gst_base_src_loop):
9493         Only push the segment events in the PLAYING state for live sources.
9494
9495 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9496
9497         * gst/gstpipeline.c: (gst_pipeline_change_state):
9498         Modify the clock distribution path in PAUSED->PLAYING so that we 
9499         never attempt to choose a new clock unless we're actually leaving
9500         the PAUSED state for the first time. This prevents choosing a
9501         different clock when the state_change gets called for a 2nd time due
9502         to some element doing an async state change.
9503
9504 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9505
9506         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9507         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9508         (gst_pad_chain_unchecked), (gst_pad_push):
9509         Revert last commit. This needs some more thoughts.
9510
9511 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9512
9513         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9514         (gst_pad_chain_unchecked), (gst_pad_push):
9515         Check in set_caps if the caps are compatible with the pad and remove
9516         two functions that are redundant now. Fixes #421543.
9517
9518 2007-03-22  Wim Taymans  <wim@fluendo.com>
9519
9520         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9521         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9522         Unref some more to make valgrind happy.
9523
9524 2007-03-22  Wim Taymans  <wim@fluendo.com>
9525
9526         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9527         (gst_system_clock_id_wait_jitter),
9528         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9529         Fix anoying regression that survived a few releases. When adding an
9530         async entry while blocking on a sync entry, the sync entry will unblock
9531         but still be busy, so it should continue to wait instead of returning
9532         _BUSY to the app.
9533         Add some comments here and there.
9534
9535         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9536         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9537         Add testcase for this.
9538
9539 2007-03-22  Wim Taymans  <wim@fluendo.com>
9540
9541         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9542         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9543         WRONG_STATE and can silently pause the task. All other cases should
9544         error out.
9545
9546 2007-03-22  Wim Taymans  <wim@fluendo.com>
9547
9548         Patch by: Ville Syrjala <syrjala at sci dot fi>
9549
9550         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9551         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9552         Improve debugging.
9553
9554 2007-03-21  Michael Smith  <msmith@fluendo.com>
9555
9556         * docs/pwg/advanced-types.xml:
9557           Fix some errors in the typefinding docs pointed out on irc.
9558
9559 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9560
9561         * libs/gst/base/gstbasesrc.c:
9562         Clarify FIXME comment in the face of having added unlock_stop()
9563
9564 2007-03-21  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9567         Prepare for release where we warn against possible app breakage in the
9568         case of live pipelines along with an env var to enable/disable live
9569         preroll mode (GST_COMPAT=[no-]live-preroll).
9570
9571 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9572
9573         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9574         So we should use correct constants for checking for None offset.
9575
9576 2007-03-20  Wim Taymans  <wim@fluendo.com>
9577
9578         * docs/design/part-block.txt:
9579         Mention the fact that the newly switched element should be set to at
9580         least PAUSED.
9581
9582 2007-03-20  Wim Taymans  <wim@fluendo.com>
9583
9584         * gst/gst.c:
9585         Fix compilation with registry disabled as spotted by Saur.
9586
9587 2007-03-20  Wim Taymans  <wim@fluendo.com>
9588
9589         Patch by: Olivier Crete <tester at tester dot ca>
9590
9591         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9592         Look at the pending state too when syncing the element state to the
9593         parent. Fixes #420133.
9594
9595 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9596
9597         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9598         (gst_base_sink_change_state):
9599         * libs/gst/base/gstbasesink.h:
9600         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9601         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9602         (gst_base_src_deactivate):
9603         * libs/gst/base/gstbasesrc.h:
9604         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9605         for sub-classes to correctly clear any state they set trying to
9606         unlock, such as clearing out unlock commands from a command fd.
9607         API: basesrc::unlock_stop
9608         API: basesink::unlock_stop
9609
9610         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9611         (gst_fd_sink_render), (gst_fd_sink_unlock),
9612         (gst_fd_sink_unlock_stop):
9613         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9614         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9615         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9616
9617         Implement unlock_stop in fdsrc and fdsink.
9618         Implement seeking in fdsrc when a seekable fd is passed, as in
9619         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9620
9621 2007-03-19  Wim Taymans  <wim@fluendo.com>
9622
9623         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9624
9625         * gst/gstelement.c: (gst_element_class_init):
9626         Fix pad-added and pad-removed signal signatures so that the pad type is
9627         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9628
9629 2007-03-19  Wim Taymans  <wim@fluendo.com>
9630
9631         * docs/gst/gstreamer-sections.txt:
9632         Add new element field and method.
9633
9634         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9635         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9636         (gst_bin_recalc_state), (gst_bin_get_state_func),
9637         (gst_bin_element_set_state), (gst_bin_change_state_func),
9638         (gst_bin_continue_func), (bin_bus_handler),
9639         (bin_push_state_continue), (bin_handle_async_start),
9640         (bin_handle_async_done), (gst_bin_handle_message_func):
9641         Make async state changes a bit smarter by using new ASYNC_START and
9642         ASYNC_DONE messages. This reduces the number of times we run the state
9643         recalculation thread.
9644         Don't change state of element with a pending ASYNC_START message.
9645         Deprecate STATE_DIRTY messages.
9646         
9647         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9648         (gst_element_get_state_func), (gst_element_continue_state),
9649         (gst_element_lost_state), (gst_element_set_state_func),
9650         (gst_element_change_state):
9651         * gst/gstelement.h:
9652         Keep the state that was last set by the app in a new element field.
9653         Don't allow state changes when handling an element event.
9654         Post ASYNC_START and ASYNC_DONE messages.
9655         Change lost_state so that we go to PAUSED and wait for the parent to set
9656         us to PLAYING again (so latency calculation can be performed)
9657         Export gst_element_change_state() method so that subclasses can use it.
9658         API: gst_element_change_state()
9659         API: GST_STATE_TARGET
9660
9661         * gst/gstpipeline.c: (gst_pipeline_class_init),
9662         (reset_stream_time), (gst_pipeline_change_state),
9663         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9664         Using the new ASYNC_START message we can reset the base_time when
9665         needed. This can then be used to implement base_time redistribution in
9666         flushing seeks so that we can remove the explicit seek handling.
9667         Perform latency query and configuration when going to PLAYING.
9668
9669         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9670         (gst_base_sink_query), (gst_base_sink_change_state):
9671         Post new ASYNC_START/ASYNC_DONE messages.
9672
9673         * tests/check/generic/sinks.c: (GST_START_TEST):
9674         Fix test because the bin will not set the async element to PLAYING right
9675         away.
9676
9677         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9678         Make the message check a little stronger.
9679         Handle ASYNC messages.
9680
9681         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9682         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9683         Expect ASYNC_DONE messages.
9684
9685 2007-03-19  Wim Taymans  <wim@fluendo.com>
9686
9687         * docs/gst/gstreamer-sections.txt:
9688         * gst/gstmessage.c: (gst_message_new_async_start),
9689         (gst_message_new_async_done), (gst_message_parse_info),
9690         (gst_message_parse_async_start):
9691         * gst/gstmessage.h:
9692         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9693         support.
9694
9695 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * tools/gst-inspect.c:
9698         (print_plugin_automatic_install_info_codecs):
9699           Now that we don't check for the 'Codec' keyword any longer in the
9700           klass, we shouldn't spew a warning if the klass isn't a decoder or
9701           encoder (since it might be a Source/Network, for example).
9702
9703 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9704
9705         * tools/gst-inspect.c:
9706         (print_plugin_automatic_install_info_codecs):
9707           Don't require decoder/demuxer/depayloader elements or
9708           encoder/muxer/paylader elements to have 'Codec' as part of their
9709           factory class string when introspecting a plugin's capabilities.
9710           draft-klass.txt mentions that it might be removed in future, and
9711           flump3dec doesn't have it as part of its class string, so chances
9712           are others might also not have it.
9713
9714 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9715
9716         * po/af.po:
9717         * po/az.po:
9718         * po/bg.po:
9719         * po/ca.po:
9720         * po/cs.po:
9721         * po/de.po:
9722         * po/en_GB.po:
9723         * po/fr.po:
9724         * po/it.po:
9725         * po/nb.po:
9726         * po/nl.po:
9727         * po/ru.po:
9728         * po/sq.po:
9729         * po/sr.po:
9730         * po/sv.po:
9731         * po/tr.po:
9732         * po/uk.po:
9733         * po/vi.po:
9734         * po/zh_CN.po:
9735         * po/zh_TW.po:
9736           Update translations from translation project
9737
9738 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9739
9740         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9741         (gst_child_proxy_set_property):
9742           Invert precondition check to be alike the ones in the mimiced gobject
9743           api.
9744
9745 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9746
9747         * docs/design/draft-tagreading.txt:
9748         * docs/random/ensonic/audiobaseclasses.txt:
9749           Do some Architect work.
9750
9751         * gst/gstobject.c: (gst_object_set_name):
9752           Add a WARNING.
9753
9754         * gst/gstpad.c:
9755           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9756
9757 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9758
9759         * gst/gstsystemclock.c: (gst_system_clock_init),
9760         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9761         Defer starting the async system clock thread until the first async
9762         wait is scheduled. Fixes #414986.
9763
9764 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9767         (gst_single_queue_free):
9768           Fix small leak (free GstSingleQueue structure too, not only contents).
9769
9770 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9771
9772         * gst/gstbin.c:(gst_bin_add):
9773         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9774         * win32/common/libgstbase.def:
9775         * win32/common/libgstreamer.def:
9776         Add new exported functions.
9777
9778 2007-03-09  Wim Taymans  <wim@fluendo.com>
9779
9780         * docs/plugins/gstreamer-plugins-sections.txt:
9781         Fix GstTee docs.
9782
9783 2007-03-09  Wim Taymans  <wim@fluendo.com>
9784
9785         * docs/gst/gstreamer-sections.txt:
9786         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9787         * gst/gstbuffer.h:
9788         Add metadata copy functions. Fixes #393099.
9789         API: gst_buffer_copy_metadata()
9790
9791         * gst/gstutils.c: (gst_buffer_stamp):
9792         * libs/gst/base/gstbasetransform.c:
9793         (gst_base_transform_prepare_output_buffer):
9794         Use new metadata copy functions.
9795
9796 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9797
9798         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9799         (gst_identity_init), (gst_identity_check_perfect),
9800         (gst_identity_check_imperfect_timestamp),
9801         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9802         (gst_identity_set_property), (gst_identity_get_property):
9803         * plugins/elements/gstidentity.h:
9804         Separate out check-imperfect-timestamp and check-imperfect-offset.
9805         Put back check-perfect as it was to keep compatibility.
9806
9807 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9808
9809         * gst/gstelement.c: (gst_element_dispose):
9810         There's no need to warn if VOID_PENDING is not NONE here, as
9811         long as the state is NULL it's ok, and that's checked immediately
9812         above.
9813
9814 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9815
9816         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9817         Fix check for perfect stream to ignore buffers with -1 
9818         offsets/offset ends when checking data contiguity.
9819
9820 2007-03-08  Wim Taymans  <wim@fluendo.com>
9821
9822         * tools/gst-launch.c: (event_loop):
9823         Print INFO messages.
9824
9825 2007-03-08  Wim Taymans  <wim@fluendo.com>
9826
9827         * libs/gst/base/gstbasetransform.c:
9828         (gst_base_transform_sink_eventfunc),
9829         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9830         (gst_base_transform_activate):
9831         * libs/gst/base/gstbasetransform.h:
9832         Add support for dropping buffers with custom GstFlowReturn.
9833         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9834         buffers or dropped buffers.
9835
9836         * docs/libs/gstreamer-libs-sections.txt:
9837         docs for new custom return code.
9838
9839         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9840         Use drop support in base class to implement drop-probability.
9841
9842 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9843
9844         * gst/gst.c: (load_plugin_func):
9845         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9846         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9847         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9848           Remove newlines at end of debug log strings.
9849
9850 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9851
9852         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9853         Only post bus message at max, once per buffer received.
9854
9855 2007-03-07  Wim Taymans  <wim@fluendo.com>
9856
9857         * docs/design/Makefile.am:
9858         * docs/design/part-synchronisation.txt:
9859         Add doc about synchronisation
9860
9861         * docs/design/draft-latency.txt:
9862         * docs/design/part-TODO.txt:
9863         * docs/design/part-clocks.txt:
9864         * docs/design/part-events.txt:
9865         * docs/design/part-gstbus.txt:
9866         * docs/design/part-gstpipeline.txt:
9867         * docs/design/part-live-source.txt:
9868         * docs/design/part-messages.txt:
9869         * docs/design/part-overview.txt:
9870         * docs/design/part-streams.txt:
9871         * docs/design/part-trickmodes.txt:
9872         Documentation updates.
9873
9874 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9875
9876         * gstreamer.doap:
9877         Update the doap file.
9878
9879 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9880
9881         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9882         Rename non-perfect to imperfect for Mike and for the sanctity of the
9883         language.
9884         Also make sure bus message gets emitted for data-incontiguities.
9885
9886 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9887
9888         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9889         (gst_identity_start):
9890         * plugins/elements/gstidentity.h:
9891         Emit bus message if check-perfect is true and we encounter a
9892         non-perfect stream between 2 consecutive buffers.
9893         Fixes #415394.
9894
9895 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9896
9897         * configure.ac:
9898         Back to CVS
9899
9900 === release 0.10.12 ===
9901
9902 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9903
9904         * configure.ac:
9905           releasing 0.10.12, "Inevitable Demise"
9906
9907 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9908
9909         * configure.ac:
9910          Version 0.10.11.2 (0.10.12 pre-release)
9911          Bump libtool versioning.
9912
9913 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9914
9915         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9916           Log flow-names and not numbers.
9917
9918 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9919
9920         * configure.ac:
9921           Convert to new AG_GST style.
9922
9923 2007-02-28  Wim Taymans  <wim@fluendo.com>
9924
9925         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9926         Don't unref query twice.
9927
9928 2007-02-28  Wim Taymans  <wim@fluendo.com>
9929
9930         * gst/gstvalue.c: (gst_value_transform_object_string),
9931         (_gst_value_initialize):
9932         Implement GstObject -> string transform so we print object names
9933         when serializing GValues containing GstObjects.
9934
9935 2007-02-28  Wim Taymans  <wim@fluendo.com>
9936
9937         * docs/gst/gstreamer-sections.txt:
9938         Add new stuff to docs.
9939
9940 2007-02-28  Wim Taymans  <wim@fluendo.com>
9941
9942         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9943         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9944         (gst_base_sink_change_state):
9945         Improve latency query code.
9946         Don't leak latency events.
9947
9948         * tests/check/gst/gstbin.c: (GST_START_TEST):
9949         Improve debugging.
9950
9951 2007-02-28  Wim Taymans  <wim@fluendo.com>
9952
9953         * gst/gstelement.c: (gst_element_message_full),
9954         (gst_element_get_state_func):
9955         * gst/gstelement.h:
9956         Improve docs a little. Added Since: for new macro.
9957
9958         * gst/gstobject.c: (gst_object_sink):
9959         * gst/gstpipeline.c: (gst_pipeline_change_state),
9960         (gst_pipeline_set_new_stream_time):
9961         * gst/gstpipeline.h:
9962         Improve debugging and docs.
9963
9964         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9965         Improve debugging.
9966
9967 2007-02-28  Wim Taymans  <wim@fluendo.com>
9968
9969         * gst/gstelement.c: (gst_element_message_full),
9970         (gst_element_set_locked_state), (gst_element_get_state_func),
9971         (gst_element_change_state):
9972         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9973         Documentation updates.
9974         Small code cleanups.
9975
9976         * gst/gstmessage.c: (gst_message_new_info),
9977         (gst_message_parse_info):
9978         * gst/gstmessage.h:
9979         API: gst_message_new_info()
9980         API: gst_message_parse_info()
9981         Add INFO message create and parse code.
9982
9983 2007-02-28  Wim Taymans  <wim@fluendo.com>
9984
9985         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9986         (bin_query_latency_done):
9987         Also report the live parameter of a latency query.
9988
9989 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9990
9991         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9992           Copy the current generic/states example from -base and adapt so
9993           we can use the exact same code everywhere.
9994           Check a STATES_IGNORE_ELEMENTS env var which can be used
9995           to ignore certain element factories for this test, which is
9996           what is being done in -base
9997         * tests/check/Makefile.am:
9998           Mention this environment variable.
9999
10000 2007-02-27  Wim Taymans  <wim@fluendo.com>
10001
10002         * docs/gst/gstreamer-sections.txt:
10003         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10004         (gst_bus_timed_pop), (gst_bus_pop):
10005         * gst/gstbus.h:
10006         API: gst_bus_timed_pop()
10007         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10008         message to arrive on the bus.
10009
10010         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10011         (gst_bus_suite):
10012         Two unit tests for new _timed_pop() function.
10013
10014 2007-02-23  Wim Taymans  <wim@fluendo.com>
10015
10016         * gst/gstpipeline.c: (gst_pipeline_change_state),
10017         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10018         Don't ref a NULL clock in _provide_clock_func().
10019         Don't allow an INVALID delay.
10020         Don't try to calculate base_time with an invalid start_time.
10021         Also distribute and notify a NULL clock when it was selected.
10022
10023         * tools/gst-launch.c: (event_loop):
10024         Don't crash when a NULL clock was selected in the pipeline.
10025
10026 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10027
10028         * docs/design/Makefile.am:
10029         * docs/design/draft-missing-plugins.txt:
10030         * docs/random/draft-missing-plugins.txt:
10031           Some small updates: update plugin system identifier prefix
10032           ('gstreamer.net' to 'gstreamer'), mention our new install
10033           API in libgstbaseutils rather than libgimme-codec, add
10034           reference to the online docs.
10035
10036 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10037
10038         * win32/common/config.h:
10039           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10040           use moap cl ci to only check in what is mentioned in the ChangeLog.
10041
10042 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10043
10044         * docs/gst/gstreamer-sections.txt:
10045         * gst/gstelement.h:
10046           Fix up documentation to link to the correct GstGError section.
10047           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10048
10049 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10050
10051         * tools/gst-launch.c: (event_loop):
10052           Make sure that we actually show the important message part of a
10053           warning message.
10054           No need to check if the gerror is not NULL to free; first of all
10055           g_free accepts NULL; and second the default error handler would
10056           segfault if gerror was NULL.
10057
10058 2007-02-21  Wim Taymans  <wim@fluendo.com>
10059
10060         * docs/gst/gstreamer-sections.txt:
10061         Removed docs as well.
10062
10063 2007-02-21  Wim Taymans  <wim@fluendo.com>
10064
10065         * gst/gstmessage.c: (gst_message_parse_duration):
10066         * gst/gstmessage.h:
10067         Remove new messages for release.
10068
10069 2007-02-20  Wim Taymans  <wim@fluendo.com>
10070
10071         * docs/design/part-gstghostpad.txt:
10072         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10073         (gst_ghost_pad_new_full):
10074         Make the ghostpad a parent of the internal pad again for better backward
10075         compatibility. Don't write code that relies on this however.
10076
10077         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10078         (gst_pad_link_check_hierarchy):
10079         Require that parents should be GstElements in the hierarchy check.
10080
10081 2007-02-20  Wim Taymans  <wim@fluendo.com>
10082
10083         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10084         (gst_bin_change_state_func), (bin_query_min_max_init),
10085         (bin_query_latency_fold), (bin_query_latency_done),
10086         (gst_bin_query):
10087         Improve debug info.
10088         Implement latency query.
10089
10090 2007-02-20  Wim Taymans  <wim@fluendo.com>
10091
10092         * docs/design/part-gstghostpad.txt:
10093         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10094         (gst_ghost_pad_internal_do_activate_push),
10095         (gst_ghost_pad_internal_do_activate_pull),
10096         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10097         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10098         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10099         Do not set the internal pad as a parent anymore so we can avoid
10100         hierarchy linking errors when the ghostpad has no parent yet. This also
10101         fixes failed activation because of unlinked internal pads, which in
10102         turn fixes the impossible case where you have to activate a pad before
10103         you can add it to a running element.
10104         Also fix the docs.
10105
10106         * gst/gstpad.c: (pre_activate), (post_activate),
10107         (gst_pad_set_active), (gst_pad_activate_pull),
10108         (gst_pad_activate_push), (gst_pad_check_pull_range):
10109         Add some more debug info.
10110         Mark activation mode in pre_activate so that we don't try to activate in
10111         endless loops. Fixes #385084.
10112
10113 2007-02-19  Wim Taymans  <wim@fluendo.com>
10114
10115         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10116         (gst_base_transform_check_get_range):
10117         Implement a checkgetrange function instead of relying on the default
10118         core behaviour that assumes we can operate in pull mode if we have a
10119         getrange function. First step at fixing #385084.
10120
10121 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10122
10123         * gst/gstchildproxy.h:
10124         * libs/gst/base/gstbasesink.h:
10125         * libs/gst/base/gstbasesrc.h:
10126         * libs/gst/base/gstbasetransform.h:
10127         More docs coverage and some ChangeLog surgery (add missing names)
10128
10129 2007-02-15  Wim Taymans  <wim@fluendo.com>
10130
10131         * docs/design/part-TODO.txt:
10132         * docs/design/part-activation.txt:
10133         * docs/design/part-block.txt:
10134         * docs/design/part-buffering.txt:
10135         * docs/design/part-clocks.txt:
10136         * docs/design/part-element-source.txt:
10137         * docs/design/part-events.txt:
10138         * docs/design/part-gstbin.txt:
10139         * docs/design/part-gstbus.txt:
10140         * docs/design/part-gstpipeline.txt:
10141         * docs/design/part-live-source.txt:
10142         * docs/design/part-messages.txt:
10143         * docs/design/part-overview.txt:
10144         * docs/design/part-qos.txt:
10145         * docs/design/part-query.txt:
10146         * docs/design/part-states.txt:
10147         * docs/design/part-trickmodes.txt:
10148         Some doc updates. Start renaming from stream_time to running_time where
10149         it was used wrongly.
10150
10151 2007-02-15  Wim Taymans  <wim@fluendo.com>
10152
10153         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10154         Answer LATENCY query.
10155
10156 2007-02-15  Wim Taymans  <wim@fluendo.com>
10157
10158         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10159         (GST_START_TEST):
10160         Improve debugging.
10161
10162 2007-02-15  Wim Taymans  <wim@fluendo.com>
10163
10164         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10165         (gst_pad_dispatcher):
10166         Improve debugging of default pad dispatcher and query functions.
10167
10168 2007-02-15  Wim Taymans  <wim@fluendo.com>
10169
10170         * docs/gst/gstreamer-sections.txt:
10171         Remove old unused method.
10172
10173 2007-02-13  Wim Taymans  <wim@fluendo.com>
10174
10175         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10176         Fix check
10177
10178 2007-02-13  Wim Taymans  <wim@fluendo.com>
10179
10180         * docs/design/part-seeking.txt:
10181         Some small update.
10182
10183         * gst/gstsegment.c: (gst_segment_set_seek):
10184         Revert old bogus change that should make seeking work again.
10185
10186 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10187
10188         * docs/random/ensonic/dynlink.txt:
10189         * docs/random/ensonic/interfaces.txt:
10190         * docs/random/ensonic/receipies.txt:
10191           Possible dynamic reconnection api, plus some type fixes the other two
10192           docs.
10193
10194 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10195
10196         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10197         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10198         Also check for an absolute path following file:// in the filesrc
10199         element. Remove redundant check and call g_path_is_absolute() on the
10200         unescaped location.
10201
10202 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10203
10204         * docs/design/draft-klass.txt:
10205           Add existing category analysis.
10206           
10207         * gst/gstcaps.c:
10208           Fix doc example, framerate is a fraction.
10209
10210 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10211
10212         * configure.ac:
10213         * docs/gst/Makefile.am:
10214         * docs/gst/gstreamer-sections.txt:
10215         * docs/libs/Makefile.am:
10216           Erm, forgot a bunch of --extra-dir.
10217
10218 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10219
10220         * configure.ac:
10221         * docs/gst/Makefile.am:
10222         * docs/libs/Makefile.am:
10223         * docs/plugins/Makefile.am:
10224           Add crossreferences to glib/gobject docs.
10225
10226 2007-02-12  Wim Taymans  <wim@fluendo.com>
10227
10228         * docs/design/draft-latency.txt:
10229         Small update.
10230
10231         * docs/libs/gstreamer-libs-sections.txt:
10232         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10233         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10234         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10235         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10236         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10237         (gst_base_sink_get_position), (gst_base_sink_query),
10238         (gst_base_sink_change_state):
10239         * libs/gst/base/gstbasesink.h:
10240         API: gst_base_sink_query_latency() to let subclasses query the upstream
10241         latency.
10242         API: gst_base_sink_get_latency() to let subclasses query the configured
10243         latency in the sink.
10244         Implement query and set latency.
10245         Update some docs.
10246         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10247         don't continue preroll when we are flushing. Fixes #405284.
10248
10249         * tests/check/pipelines/stress.c: (change_state_timeout),
10250         (quit_timeout), (GST_START_TEST), (stress_suite):
10251         Test for #405284.
10252
10253 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10254
10255         Patch by: René Stadler <mail at renestadler de>
10256
10257         * docs/gst/gstreamer-sections.txt:
10258         * gst/gsttaglist.c: (_gst_tag_initialize):
10259         * gst/gsttaglist.h:
10260           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10261
10262 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10263
10264         * docs/libs/Makefile.am:
10265           Fix path to core docs.
10266
10267         * gst/gstbin.c: (gst_bin_get_by_interface),
10268         (gst_bin_iterate_all_by_interface):
10269           Refix docs by also renaming 'interface' to 'iface' in implementation.
10270
10271         * docs/gst/gstreamer-sections.txt:
10272         * gst/gstcaps.c:
10273         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10274         * gst/gstchildproxy.h:
10275         * gst/gstelementfactory.c:
10276         * gst/gstpadtemplate.h:
10277         * libs/gst/controller/gstcontroller.c:
10278         (gst_controlled_property_new):
10279           Document more.
10280
10281 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10282
10283         * gst/gstbin.h:(gst_bin_get_by_interface),
10284         (gst_bin_iterate_all_by_interface):
10285         Replace interface parameter name by iface as interface is 
10286         a reserved keyword in Visual Studio for C++ projects so it removes
10287         a build error for application developpers using VS.
10288         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10289         Fix a bug on Windows in uri format check. Now the prefix checked
10290         is file:// and next we check if the path after file:// is absolute.
10291         * win32/common/libgstbase.def:
10292         * win32/common/libgstdataprotocol.def:
10293         * win32/common/libgstgstreamer.def:
10294         Add new exported functions.
10295
10296 2007-02-09  Andy Wingo  <wingo@pobox.com>
10297
10298         * tests/check/pipelines/simple-launch-lines.c
10299         (simple_launch_lines_suite, test_tee): Disable tee test until I
10300         have time to fix it :-(
10301
10302         * tests/check/Makefile.am (noinst_HEADERS): 
10303         * tests/check/libs/libsabi.c: 
10304         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10305         * tests/check/gst/gstabi.c: 
10306         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10307
10308         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10309         tests for push and pull tee behavior.
10310
10311         * plugins/elements/gsttee.h: 
10312         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10313         mark as deprecated as well as unimplemented. It was a crack idea.
10314         Add support for tee operating in pull mode, off by default.
10315
10316         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10317         normal-case logs down to LOG, raise errors to WARNING.
10318         (gst_registry_xml_read_cache): Don't log before calling a function
10319         that logs.
10320
10321         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10322         exit (registry finalize).
10323         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10324         DEBUG log when we emit signals that people don't even have the
10325         chance to connect to.
10326         (gst_registry_scan_path_level): Less logging in the normal case.
10327
10328 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10329
10330         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10331
10332         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10333         Correctly generate EOS for non-seekable files. We don't have a total
10334         length for them and would get an unexpected end of file if we only
10335         special-cased for regular files. (Fixes: #404569)
10336
10337 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10338
10339         * tests/check/elements/filesrc.c: (GST_START_TEST),
10340         (filesrc_suite):
10341         Add unit test for the GstURIHandler interface in filesrc. This also
10342         tests the newly added file://localhost/foo/bar support.
10343
10344 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10345
10346         * gst/gstelementfactory.h:
10347           The klass string is not a hierarchy. Add reference to the design doc
10348           for more information and common types.
10349
10350 2007-02-02  Wim Taymans  <wim@fluendo.com>
10351
10352         * gst/gstquery.c: (gst_query_new_latency):
10353         Remove old structure field.
10354
10355 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10356
10357         * tools/gst-launch.1.in:
10358           Give example for network streaming (#351998)
10359
10360 2007-02-02  Wim Taymans  <wim@fluendo.com>
10361
10362         * docs/gst/gstreamer-sections.txt:
10363         Add docs for new methods.
10364
10365         * gst/gstevent.c: (gst_event_new_latency),
10366         (gst_event_parse_latency):
10367         * gst/gstevent.h:
10368         Add new LATENCY event to configure latency in a pipeline.
10369         API: gst_event_new_latency
10370         API: gst_event_parse_latency
10371
10372         * gst/gstmessage.c: (gst_message_new_buffering),
10373         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10374         (gst_message_new_latency), (gst_message_parse_buffering),
10375         (gst_message_parse_lost_preroll):
10376         * gst/gstmessage.h:
10377         Added messages used in draft-latency.
10378         API: gst_message_new_lost_preroll
10379         API: gst_message_parse_lost_preroll
10380         API: gst_message_new_prerolled
10381         API: gst_message_new_latency
10382
10383         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10384         (gst_query_parse_latency):
10385         * gst/gstquery.h:
10386         Implemented new latency query as in design doc.
10387         API: gst_query_new_latency
10388         API: gst_query_set_latency
10389         API: gst_query_parse_latency
10390
10391 2007-02-02  Wim Taymans  <wim@fluendo.com>
10392
10393         * docs/design/draft-latency.txt:
10394         Slight redesign to allow for dynamic latency adjustments.
10395
10396         * docs/design/part-negotiation.txt:
10397         Fix some typos.
10398
10399 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10400
10401         reviewed by: Wim Taymans <wim@fluendo.com>
10402
10403         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10404         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10405         Allow file://localhost/foo/bar URLs and correctly fail for every other
10406         hostname that one sets. This was gnomevfssrc is linked for those if
10407         installed as it can handle it (#403172)
10408
10409 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10410
10411         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10412
10413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10414         (unref_data), (gst_collect_pads_add_pad_full):
10415         * libs/gst/base/gstcollectpads.h:
10416         Don't put the previously added destroy notify in the GstCollectData
10417         struct as all it's padding is already used and we don't want to break
10418         ABI. Instead put in the pad's GObject data for now. This should be
10419         cleaned up for 0.11 (#402393).
10420
10421 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10422
10423         reviewed by: Wim Taymans <wim@fluendo.com>
10424
10425         * docs/libs/gstreamer-libs-sections.txt:
10426         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10427         (unref_data), (gst_collect_pads_add_pad),
10428         (gst_collect_pads_add_pad_full):
10429         * libs/gst/base/gstcollectpads.h:
10430         API: Add function to specify a destroy notification for custom
10431         GstCollectData when adding new pads in GstCollectPads (#402393).
10432
10433 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10434
10435         * po/sv.po:
10436           Update Swedish translation (#378255).
10437
10438 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10439
10440         * docs/design/draft-klass.txt:
10441           Fix the previous change, this is a list of categories and not a hierarchy.
10442
10443 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10444
10445         * docs/design/draft-klass.txt:
10446           Add info about how to get a list of used classes.
10447
10448 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * plugins/elements/gsttypefindelement.c:
10451         (gst_type_find_element_chain_do_typefinding),
10452         (gst_type_find_element_change_state):
10453           Don't leak found caps in chain function (no idea why that never
10454           showed up as a leak anywhere).
10455
10456 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10457
10458         * gst/gstplugin.h:
10459           Fix and expand GstPluginDesc API docs.
10460
10461 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10462
10463         * gst/gstcaps.c:
10464         * gst/gstelementfactory.c:
10465         * gst/gstpadtemplate.h:
10466           api doc fixes
10467
10468         * libs/gst/controller/gstcontroller.c:
10469         (gst_controlled_property_new):
10470         * tests/examples/controller/audio-example.c:
10471           comment fixes
10472
10473 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10474
10475         * configure.ac:
10476           comment about refining the xml deps
10477
10478         * docs/manuals.mak:
10479           comments about moving away from jade for docs
10480         
10481         * gst/gst.c:
10482           recommit the ifdefs to use the binary registry
10483         
10484         * gst/gstbin.c: (gst_bin_change_state_func):
10485           this break is obsolete
10486
10487         * gst/gstelementfactory.h:
10488           better GST_ELEMENT_DETAILS docs, add comment about translation
10489
10490         * gst/gstinfo.h:
10491           remove eol slash
10492
10493         * gst/gstobject.c: (gst_signal_object_get_type):
10494           add G_UNLIKELY as usual
10495
10496         * gst/gstpad.c: (gst_pad_event_default):
10497           add fall trhu comment
10498
10499         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10500         (gst_registry_binary_initialize_magic),
10501         (gst_registry_binary_save_string),
10502         (gst_registry_binary_save_pad_template),
10503         (gst_registry_binary_save_feature),
10504         (gst_registry_binary_save_plugin),
10505         (gst_registry_binary_write_cache),
10506         (gst_registry_binary_check_magic),
10507         (gst_registry_binary_load_pad_template),
10508         (gst_registry_binary_load_feature),
10509         (gst_registry_binary_load_plugin),
10510         (gst_registry_binary_read_cache):
10511           comment typo and formatting
10512
10513         * gst/gstutils.c: (gst_element_state_get_name),
10514         (gst_element_state_change_return_get_name):
10515           remove obsolete breaks
10516
10517         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10518           add FIXME 0.11 and remove cpp comment
10519
10520 2007-01-29  Edward Hervey  <edward@fluendo.com>
10521
10522         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10523         Fix print statement in an even more portable way.
10524
10525 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10526
10527         * docs/gst/gstreamer-sections.txt:
10528         * gst/gstutils.h:
10529           API: add GST_ROUND_DOWN_* macros (#401781).
10530
10531 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10532
10533         * docs/gst/gstreamer.types.in:
10534         * gst/gstregistry.c: (gst_registry_class_init):
10535           Document registry signals and make gtk-doc pick them up (#401381).
10536
10537 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * docs/pwg/building-testapp.xml:
10540           Add some audioconverts and audioresample to the pipeline, and some
10541           more comments and error handling.
10542
10543 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10544
10545         * docs/manual/manual.xml:
10546         * docs/pwg/pwg.xml:
10547           Fix typo (#400987).
10548
10549 2007-01-26  Wim Taymans  <wim@fluendo.com>
10550
10551         * gst/gstcaps.c: (gst_static_caps_get):
10552         Init caps flags too.
10553
10554 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10555
10556         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10557
10558         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10559         If not using mmap'ed files try to seek to the end instead of the
10560         start to determine whether we can seek at all. This fixes the case
10561         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10562         seeks for everything afterwards fail. Fixes #400656
10563
10564 2007-01-25  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10567         Add some refcount debugging.
10568         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10569         in multiple streaming threads.
10570
10571 2007-01-25  Wim Taymans  <wim@fluendo.com>
10572
10573         Patch by: David Schleef <ds at schleef dot org>
10574
10575         * docs/libs/gstreamer-libs-sections.txt:
10576         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10577         * libs/gst/base/gstadapter.h:
10578         API: gst_adapter_copy() that can reduce the amount of memcpy when
10579         getting data from the adapter. Fixes #388201.
10580
10581 2007-01-25  Edward Hervey  <edward@fluendo.com>
10582
10583         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10584         In print statements, "%x" is for guint. Fixes build on macosx.
10585
10586 2007-01-24  Edward Hervey  <edward@fluendo.com>
10587
10588         * plugins/elements/gstmultiqueue.c:
10589         (gst_multi_queue_loop):
10590         Small fix.
10591         (single_queue_overrun_cb), (single_queue_underrun_cb),
10592         (single_queue_check_full), (gst_single_queue_new):
10593         Implement single queue growth system.
10594         This uses the extra-size properties, and will grow single queues by
10595         that much if one goes full whereas there are others empty. This is
10596         called extra-mode in the code.
10597         When a single queue's levels go back below the initial max-size
10598         limits, it is no longer in extra-mode. This is to ensure we don't
10599         consume too much memory.
10600         Fixes #399875
10601
10602 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10603
10604         * gst/gst.c: (gst_init_get_option_group):
10605           Make warning about late g_thread_init() calls a bit more explicit,
10606           so that it's more obvious to application developers what they need
10607           to do if a user files a bug against their application.
10608
10609 2007-01-22  Edward Hervey  <edward@fluendo.com>
10610
10611         * plugins/elements/gstmultiqueue.c:
10612         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10613         Remove previous hack of unsetting the flushing flag for the source pad
10614         instead of activating it. Instead, fix the source pad activate function
10615         so that it no longer depends on having a parent set or not.
10616
10617 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10618
10619         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10620
10621         * docs/manual/basics-bus.xml:
10622           Fix example code, gst_element_unref() doesn't exist any longer.
10623
10624 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10625
10626         Patch by: Mark Nauwelaerts <manauw at skynet be>
10627
10628         * gst/gstpad.c:
10629           Fix two docs typoes (#399094).
10630
10631 2007-01-19  Edward Hervey  <edward@fluendo.com>
10632
10633         * docs/faq/gst-uninstalled:
10634         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10635         depending on libgstbaseutils can work in uninstalled environment.
10636
10637 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10638
10639         * gst/gsttaglist.h:
10640         * gst/gsttagsetter.c:
10641         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10642         statement for new tag.
10643
10644 2007-01-17  Edward Hervey  <edward@fluendo.com>
10645
10646         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10647         When dynamically creating single queues, activate sinkpad before adding
10648         it.
10649         We should be doing the same thing for the source pad, but we can't
10650         since it would call a method which needs the parent to be set in order
10651         to work propertly. Instead of activating the source pad, we just unset
10652         the flushing flag, which is the minimal requirement for adding a pad
10653         to an element in a state greater than READY.
10654
10655 2007-01-17  Edward Hervey  <edward@fluendo.com>
10656
10657         * docs/faq/gst-uninstalled:
10658         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10659         Mac OS X.
10660
10661 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10662
10663         * tests/check/gst/gstabi.c:
10664         * tests/check/gst/struct_hppa.h:
10665         * tests/check/libs/libsabi.c:
10666         * tests/check/libs/struct_hppa.h:
10667           Add ABI structs for HPPA (see #393796).
10668
10669 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10670
10671         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10672           Actually write ABI structs to the file specified in the GST_ABI
10673           environment variable, as the message we print claims we would.
10674
10675 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10676
10677         * tests/check/gst/gsttask.c:
10678           Fix header comment.
10679
10680 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10681
10682         * gst/gsttaglist.c: (_gst_tag_initialize):
10683           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10684           previous two entries.
10685
10686 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10687
10688         * docs/gst/gstreamer-sections.txt:
10689         * gst/gsttaglist.c: (_gst_tag_initialize):
10690         * gst/gsttaglist.h:
10691           Add tag support for beat-per-minute.
10692
10693 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10694
10695         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10696         (gst_registry_binary_initialize_magic),
10697         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10698         (gst_registry_binary_save_pad_template),
10699         (gst_registry_binary_save_feature),
10700         (gst_registry_binary_save_plugin),
10701         (gst_registry_binary_write_cache),
10702         (gst_registry_binary_check_magic),
10703         (gst_registry_binary_load_pad_template),
10704         (gst_registry_binary_load_feature),
10705         (gst_registry_binary_load_plugin),
10706         (gst_registry_binary_read_cache):
10707         * gst/gstregistrybinary.h:
10708           Use glib types, cleanup comments, impement interfaces and uri-types.
10709
10710 2007-01-13  Andy Wingo  <wingo@pobox.com>
10711
10712         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10713         getrange() to return buffers with other caps, while we fix
10714         demuxers and typefind, or otherwise change part-negotiation.txt.
10715
10716 2007-01-12  Andy Wingo  <wingo@pobox.com>
10717
10718         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10719         Factor start/stop into this private function instead of partially
10720         in activate functions and partially in the change_state function.
10721         Fixes setup before the element has changed from READY->PAUSED, as
10722         is the case in pull-mode pipelines.
10723         (gst_base_transform_sink_activate_push)
10724         (gst_base_transform_src_activate_pull): Refactor to use
10725         gst_base_transform_activate().
10726         (gst_base_transform_change_state): Removed, not needed any more.
10727
10728         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10729         Truncate before fixating.
10730         
10731         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10732         Don't set_caps() if the result of fixating is ANY, as it's not
10733         supported, and not necessary in the case of a link with no
10734         template caps on either side. Fixes tests/check/libs/basesrc in
10735         some pull-mode tests.
10736
10737         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10738         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10739         (gst_base_transform_src_activate_pull): 
10740         Track the activation mode.
10741         (gst_base_transform_setcaps): In pull mode, when activating the
10742         src pad, after activating the sink pad, activate the sink pad's
10743         peer, as discussed in part-negotiation.txt.
10744
10745         * libs/gst/base/gstbasesrc.h: 
10746         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10747         vmethod, as in basesink.
10748
10749         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10750
10751         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10752         mode, first proxy the setcaps to the peer pad.
10753         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10754         new fixate vmethod.
10755         (gst_base_sink_default_activate_pull): Rename from
10756         gst_base_sink_activate_pull.
10757         (gst_base_sink_negotiate_pull): New function, performs negotiation
10758         in pull mode before calling ::activate_pull().
10759         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10760         vmethod instead of the default implementation. I have no idea how
10761         this worked before. Negotiate before calling activate_pull.
10762
10763         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10764         sink pads in pull mode. In addition to being correct, fixes
10765         filesrc ! decodebin ! identity ! fakesink.
10766         (gst_pad_get_range, gst_pad_pull_range): Don't call
10767         gst_pad_set_caps() if the caps changes; instead error out with
10768         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10769
10770 2007-01-12  Andy Wingo  <wingo@pobox.com>
10771
10772         * docs/design/part-negotiation.txt: Update with more policy.
10773
10774 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10775
10776         * libs/gst/check/gstbufferstraw.h:
10777         * libs/gst/check/gstcheck.h:
10778           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10779           belongs.
10780
10781 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10782
10783         * tests/check/Makefile.am:
10784         * tests/check/gst/.cvsignore:
10785         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10786         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10787         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10788         (GST_START_TEST), (gst_tag_setter_suite):
10789           Add minimal unit test for beforementioned GstTagSetter bug.
10790
10791 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10792
10793         Patch by: René Stadler <mail at renestadler dot de>
10794
10795         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10796           gst_tag_list_merge() returns a new list, so it's not the best idea
10797           to ingore its return value. Effectively meant that tags could only
10798           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10799           Also add function guard to require a non-NULL taglist as input (has
10800           always been so due to gst_tag_list_copy(), just making it explicit).
10801
10802 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         * docs/random/draft-missing-plugins.txt:
10805           Some additions: mention new API that is supposed to be used at the
10806           various stages; short blob about new gst-inspect introspection
10807           option; mention potential future problem with plugins that have
10808           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10809
10810 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10811
10812         * tools/gst-inspect.c:
10813         (print_plugin_automatic_install_info_codecs),
10814         (print_plugin_automatic_install_info_protocols),
10815         (print_plugin_automatic_install_info), (main):
10816         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10817         introspect plugin files and get machine-parsable output that corresponds
10818         to the last bit of the missing-plugin installer string (small gotcha:
10819         doesn't take into account ranks).
10820
10821 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10822
10823         * configure.ac:
10824         * docs/gst/gstreamer-sections.txt:
10825         * gst/Makefile.am:
10826         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10827         (gst_registry_lookup_locked):
10828         * gst/gstregistry.h:
10829         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10830         (gst_registry_binary_initialize_magic),
10831         (gst_registry_binary_save_string),
10832         (gst_registry_binary_save_pad_template),
10833         (gst_registry_binary_save_feature),
10834         (gst_registry_binary_save_plugin),
10835         (gst_registry_binary_write_cache),
10836         (gst_registry_binary_check_magic),
10837         (gst_registry_binary_load_pad_template),
10838         (gst_registry_binary_load_feature),
10839         (gst_registry_binary_load_plugin),
10840         (gst_registry_binary_read_cache):
10841         * gst/gstregistrybinary.h:
10842         * gst/gstregistryxml.c: (load_feature),
10843         (gst_registry_xml_read_cache):
10844           commit binary registry (disabled by default, see #359653)
10845
10846 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10847
10848         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10849           Fix 'make check' too.
10850
10851 2007-01-10  Andy Wingo  <wingo@pobox.com>
10852
10853         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10854         notes.
10855         
10856         * docs/design/part-negotiation.txt: Update with, um, one way that
10857         pull-mode negotiation might work?
10858
10859         * gst/gstpad.h: 
10860         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10861         that the pad must be a src pad; makes sense to call it the other
10862         way in pull mode, and the logic is symmetric anyway.
10863
10864 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10865
10866         * plugins/elements/gstfilesink.c:
10867           Include <stdio.h> for fseeko().
10868
10869 2007-01-10  Wim Taymans  <wim@fluendo.com>
10870
10871         * gst/gstevent.c:
10872         * gst/gstevent.h:
10873         Reserve LATENCY event.
10874
10875 2007-01-09  Wim Taymans  <wim@fluendo.com>
10876
10877         * docs/design/draft-latency.txt:
10878         Updates.
10879
10880 2007-01-09  Wim Taymans  <wim@fluendo.com>
10881
10882         * docs/design/draft-latency.txt:
10883         Updates.
10884
10885         * gst/gstelement.h:
10886         * gst/gststructure.c:
10887         * gst/gsttrace.c:
10888         Small typo fixes.
10889
10890 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10891
10892         * tests/check/.cvsignore:
10893           Ignore test-registry.xml as well.
10894
10895 2007-01-09  Wim Taymans  <wim@fluendo.com>
10896
10897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10898         unref data at the end when we are done with the pad.
10899
10900 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10901
10902         * docs/gst/gstreamer-sections.txt:
10903         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10904         (init_post), (gst_deinit), (gst_update_registry):
10905         * gst/gst.h:
10906           API: add gst_update_registry() (#391296).
10907
10908         * tests/check/Makefile.am:
10909         * tests/check/gst/gstregistry.c:
10910         * tests/check/gst/.cvsignore:
10911           Simple unit test for the above.
10912
10913 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10914
10915         * gst/gstregistry.c: (gst_registry_scan_path_level):
10916           Plugin extension on HP-UX is .sl, add that to the list of approved
10917           plugin extensions (see #393796).
10918
10919         * tests/check/gst/gstpad.c: (GST_START_TEST):
10920           ulong => gulong. Fixes compilation with HP-UX compiler.
10921
10922         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10923           Fix compilation if valgrind headers are not available.
10924
10925 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10926
10927         * win32/common/libgstreamer.def: 
10928           Add new exported function.
10929         * win32/vs6/libgstbase.dsp: 
10930           Add gstdataqueue.c to the build.
10931         * win32/vs6/libgstcoreelements.dsp:
10932           Add gstmultiqueue.c to the build.
10933         
10934 2007-01-06  Andy Wingo  <wingo@pobox.com>
10935
10936         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10937         activate_pull(), providing for a way to specialize the process of
10938         spawning a thread to pull on the sink pad. There is a default
10939         implementation.
10940
10941         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10942         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10943         (gst_base_sink_init): Renamed pad activation functions (inserting
10944         "_pad" in their names). Refactor to use the new activate_pull
10945         vmethod, as appropriate.
10946         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10947         default activate_pull function to start a task pulling from the
10948         sink pad, as before.
10949
10950         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10951         on the pads if necessary, as in push()/chain(). Update docs.
10952         Shouldn't affect existing pull() usage as it is currently only
10953         being used on buffers without caps.
10954
10955 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10956
10957         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10958         (init_pre):
10959           Call g_thread_init() first thing in gst_init() / gst_check_init().
10960           When initialisation is done via gst_init_get_option_group() and
10961           GOption parsing, issue a warning if the GLib thread system has not
10962           been initialised yet by the time gst_init_get_option_group() is
10963           called, as it's quite likely other GLib functions such as
10964           g_option_context_new() have been called already then, and
10965           g_thread_init() must be called before any other GLib function. The
10966           application in question must be fixed in that case, since memory
10967           corruption might happen otherwise.
10968           We issue the warning because even if the GLib folks decide to work
10969           around the problem on their end in future, this is still an issue
10970           with all GLib versions >= 2.10.0, so we should warn until we depend
10971           on a GLib version we know to be safe.
10972           Update documentation as well.
10973           Closes bug #391278.
10974
10975 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10976
10977         * tools/gst-inspect.c: (main):
10978         * tools/gst-launch.c: (main):
10979         * tools/gst-typefind.c: (main):
10980         * tools/gst-xmlinspect.c: (main):
10981           Call g_thread_init() really really early, before any other GLib
10982           function (see #342564 and recent discussion on gtk-devel-list).
10983
10984 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10985
10986         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10987
10988         * gst/gst_private.h:
10989         * gst/gstconfig.h.in:
10990         * gst/gstinfo.h:
10991           On win32, all the __declspec stuff for symbol exporting is
10992           apparently only needed with MSVC, but doesn't work with MingW.
10993           Fixes compilation with MingW and #391909.
10994
10995 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10996
10997         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10998           Change some GST_ERROR_OBJECT that aren't really errors to
10999           GST_WARNING_OBJECT in order to reduce terminal spam.
11000
11001 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11002
11003         * tests/check/Makefile.am:
11004           disable test again, as there seem to be still race problems
11005
11006 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11007
11008         * tests/check/Makefile.am:
11009         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11010         (GST_START_TEST), (queue_suite):
11011           enable queue test again, add tests for the leaky behaviour
11012
11013 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11014
11015         * configure.ac:
11016         * tests/examples/Makefile.am:
11017           Compile adapter test/example only if the required headers are
11018           available (fixes #391915).
11019
11020 2007-01-01  David Schleef  <ds@schleef.org>
11021
11022         * gst/gstplugin.c:
11023           Restore the previous signal handler for SIGSEGV instead of
11024           setting to default, since we may have stolen it away from
11025           someone.  (i.e., Mono)
11026
11027 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11028
11029         * docs/random/draft-missing-plugins.txt:
11030           Some small additions and clarifications.
11031
11032 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11033
11034         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11035           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11036           since that can lead to random memory corruptions and crashes
11037           (may or may not be related to #383244, #386711, and #386711).
11038
11039 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11040
11041         * tests/check/.cvsignore:
11042         * tests/check/Makefile.am:
11043           sync .cvsignome and CLEANFILES
11044
11045 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11046
11047         * tests/check/Makefile.am:
11048           fix distcheck
11049
11050 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11051
11052         * docs/design/part-states.txt:
11053           two tiny additional comments
11054         
11055         * gst/gststructure.c:
11056           doc fixing
11057
11058         * tests/check/Makefile.am:
11059         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11060         (GST_START_TEST):
11061           disable test for now, unless it gets fixed
11062
11063 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11064
11065         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11066         (GST_START_TEST):
11067           fix race in underrun test
11068
11069 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11070
11071         * tests/check/elements/.cvsignore:
11072           ignore more
11073
11074         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11075         (GST_START_TEST):
11076           try to narrow test failure
11077
11078 2006-12-21  David Schleef  <ds@schleef.org>
11079
11080         * plugins/elements/gstfakesrc.c:
11081           Use g_random_int_range(), since it produces better random
11082           numbers in a range than almost-correct floating point code.
11083
11084 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11085
11086         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11087         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11088         (gst_check_teardown_sink_pad):
11089           do not automatically (de)activate pads
11090
11091         * tests/check/Makefile.am:
11092         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11093         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11094           add new, yet simple tests for queue
11095
11096         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11097         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11098         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11099         (GST_START_TEST):
11100         * tests/check/elements/identity.c: (cleanup_identity):
11101           consistent pad (de)activation
11102
11103 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11104
11105         Patch by: Sebastian Dröge  <slomo ubuntu com>
11106
11107         * libs/gst/base/gstcollectpads.c:
11108           Fix two doc typos (#387866).
11109
11110 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11111
11112         * docs/manual/advanced-dparams.xml:
11113           Fix typo (g_object_control_properties() doesn't exist).
11114
11115 2006-12-19  Edward Hervey  <edward@fluendo.com>
11116
11117         * gst/gstsegment.c: (gst_segment_set_seek):
11118         Fine tune the cases where the segment start/stop values are really
11119         updated.
11120         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11121         Add tests for the return values of gst_segment_set_seek().
11122
11123 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11124
11125         * gst/gst.c:
11126           Docs typo fix.
11127
11128         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11129         (gst_queue_init):
11130           Fix incorrect documentation and flesh it out a bit more.
11131           Set default values for the max properties on the GParamSpec as well,
11132           so it shows up correctly in gst-inspect.
11133
11134 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11135
11136         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11137           Correct docs of queue, add more detail and crosslink it more.
11138
11139 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11140
11141         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11142           Print additional debug info when the stream isn't perfectly
11143           timestamped; don't try to use invalid durations.
11144
11145 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         * docs/design/Makefile.am:
11148           Dist new design docs.
11149
11150 2006-12-16  Wim Taymans  <wim@fluendo.com>
11151
11152         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11153
11154         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11155         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11156         (gst_collect_pads_stop), (gst_collect_pads_event),
11157         (gst_collect_pads_chain):
11158         * libs/gst/base/gstcollectpads.h:
11159         Add refcounting to the collectpads data so we can track when it's safe
11160         to free the data. Fixes #383382.
11161
11162 2006-12-15  Wim Taymans  <wim@fluendo.com>
11163
11164         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11165         (gst_collect_pads_remove_pad):
11166         Automatically activate/deactivate pads when they are added to a
11167         started/stoped collectpads.
11168
11169 2006-12-15  Wim Taymans  <wim@fluendo.com>
11170
11171         * gst/gstelement.c: (gst_element_add_pad):
11172         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11173         * gst/gstpad.c: (gst_pad_init):
11174         Set pads to FLUSHING when they are created. Check, warn and fix when a
11175         demuxer adds an inactive pad to itself when running. Fixes #339326.
11176
11177 2006-12-15  Wim Taymans  <wim@fluendo.com>
11178
11179         * gst/gstelement.c: (gst_element_class_init),
11180         (gst_element_default_send_event), (gst_element_send_event),
11181         (gst_element_default_query), (gst_element_query):
11182         Expose default element send_event and query handling as vmethods that
11183         subclasses can chain up to.
11184
11185 2006-12-15  Wim Taymans  <wim@fluendo.com>
11186
11187         * gst/gstelement.c: (gst_element_set_state_func):
11188         Small documentation fixes.
11189
11190 2006-12-15  Wim Taymans  <wim@fluendo.com>
11191
11192         * docs/design/draft-latency.txt:
11193         Checked in draft for handling latency in pipelines.
11194
11195 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * Makefile.am:
11198         * gstreamer.doap:
11199         * gstreamer.spec.in:
11200           adding .doap file
11201
11202 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11203
11204         * gst/gst.c: (init_pre), (init_post):
11205           init_pre() and init_post() might be called via our GOptionGroup or
11206           from gst_init(), and we should skip both of them if we've already
11207           been initialised, otherwise we will init some things twice or add
11208           two default log functions.
11209
11210 2006-12-13  Edward Hervey  <edward@fluendo.com>
11211
11212         * docs/manual/basics-bus.xml:
11213         No, gst_main_loop does not exist. Its g_main_loop.
11214         Discovered by somebody who abused the copy-paste technique of coding :)
11215
11216 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         * gst/gstghostpad.c:
11219           Log ghostpad debug stuff to the GST_PADS category as well rather
11220           than just to the default category.
11221
11222 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11223
11224         * configure.ac:
11225         * gst/gst.c: (init_pre):
11226           Add some basic system details such as OS and architecture
11227           to the debug output if possible, courtesy of uname().
11228
11229 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * docs/gst/running.xml:
11232           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11233           environment variables.
11234
11235 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11236
11237         * tests/check/gst/gstbin.c: (GST_START_TEST):
11238         It is acceptable to have a refcount of 2 or 3 at this point in the
11239         test, because the pipeline might be just posting its state_change
11240         message. The next line then waits for that message to appear using
11241         bus_poll, so that should be fine too.
11242
11243 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11244
11245         * gst/gst.c: (ensure_current_registry_forking):
11246         Ignore EINTR when reading from the child registry pipe.
11247         Explicitly ignore the return value from close, since it makes no
11248         difference.
11249
11250         * gst/gstminiobject.c: (gst_mini_object_ref),
11251         (gst_mini_object_unref):
11252         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11253
11254         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11255         When removing cached plugins, remove their features too, so they're
11256         not visible after they've disappeared.
11257
11258         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11259         In the unlikely case that we are linking pads with no parents, don't
11260         crash trying to get the non-existent parent bin.
11261
11262         * gst/parse/grammar.y:
11263         Output debug in the PIPELINE category
11264
11265 2005-03-08  Wim Taymans  <wim@fluendo.com>
11266
11267         Patch by: René Stadler <mail at renestadler dot de>
11268
11269         * gst/gstclock.c: (gst_clock_new_periodic_id):
11270         Reject invalid clock times for interval of periodic ids.
11271         Fixes ##383506.
11272
11273 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11274
11275         * gst/gstelementfactory.c: (gst_element_factory_create):
11276         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11277         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11278         * tools/gst-inspect.c: (print_element_info):
11279         Fix refcounting of gst_plugin_feature_load to match the docs. 
11280         Fixes: #380129
11281
11282 2006-12-07  Wim Taymans  <wim@fluendo.com>
11283
11284         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11285         (gst_base_sink_get_position):
11286         Improve debugging of events.
11287
11288 2006-12-07  Wim Taymans  <wim@fluendo.com>
11289
11290         Patch by: René Stadler <mail at renestadler dot de>
11291
11292         * gst/gstclock.c: (gst_clock_id_wait):
11293         Make period ids add the interval to the origial requested time instead
11294         of the possibly updated time which can be wrong when there are multiple
11295         waiters for the same id. Fixes #382592.
11296
11297         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11298         (gst_system_clock_id_wait_jitter_unlocked),
11299         (gst_system_clock_id_wait_jitter):
11300         Fix restart in the async notify thread when an async entry is added to
11301         the front of the list. Fixes #381492. 
11302
11303         * tests/check/gst/gstsystemclock.c: (store_callback),
11304         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11305         Added test for multiple async waits.
11306         Added test for async wait order.
11307
11308 2006-12-07  Wim Taymans  <wim@fluendo.com>
11309
11310         * gst/gstbin.c: (gst_bin_query):
11311         Add some more docs about the POSITION query.
11312
11313 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11314
11315         * configure.ac:
11316         Bump version nano - back to CVS.
11317
11318 === release 0.10.11 ===
11319
11320 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11321
11322         * configure.ac:
11323           releasing 0.10.11, "Love never runs on time"
11324
11325 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11326
11327         * win32/common/libgstbase.def:
11328         * win32/common/libgstreamer.def:
11329         * win32/vs8/libgstbase.vcproj:
11330         * win32/vs8/libgstcoreelements.vcproj:
11331         * win32/vs8/libgstreamer.vcproj:
11332         Fix compilation on win32 under VS8
11333         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11334         Partially fixes #381175
11335
11336 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11337
11338         * gst/gstvalue.c: (gst_value_compare_fraction):
11339         If someone is foolish enough to compare 2 fractions with denominator =
11340         0, return UNORDERED rather than aborting.
11341
11342 2006-11-28  Edward Hervey  <edward@fluendo.com>
11343
11344         * libs/gst/base/Makefile.am:
11345         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11346         (gst_data_queue_base_init), (gst_data_queue_class_init),
11347         (gst_data_queue_init), (gst_data_queue_new),
11348         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11349         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11350         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11351         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11352         (gst_data_queue_set_flushing), (gst_data_queue_push),
11353         (gst_data_queue_pop), (gst_data_queue_drop_head),
11354         (gst_data_queue_set_property), (gst_data_queue_get_property):
11355         * libs/gst/base/gstdataqueue.h:
11356         New GstDataQueue object for threadsafe queueing. Most useful for
11357         elements that need some queueing functionnality.
11358         * docs/libs/gstreamer-libs-docs.sgml:
11359         * docs/libs/gstreamer-libs-sections.txt:
11360         Insert documentation for GstDataQueue
11361         * plugins/elements/Makefile.am:
11362         * plugins/elements/gstelements.c:
11363         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11364         (gst_multi_queue_class_init), (gst_multi_queue_init),
11365         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11366         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11367         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11368         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11369         (gst_multi_queue_loop), (gst_multi_queue_chain),
11370         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11371         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11372         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11373         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11374         (wake_up_next_non_linked), (compute_next_non_linked),
11375         (single_queue_overrun_cb), (single_queue_underrun_cb),
11376         (single_queue_check_full), (gst_single_queue_new):
11377         * plugins/elements/gstmultiqueue.h:
11378         New multiqueue element, using GstDataQueue. Used for queuing multiple
11379         streams.
11380         Closes #344639 and #347785
11381
11382 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11383
11384         * docs/pwg/advanced-types.xml:
11385           add more missing type details
11386
11387         * tools/gst-run.c: (main):
11388           remove unused variable
11389
11390 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11391
11392         * docs/libs/Makefile.am:
11393         * docs/libs/gstreamer-libs.types:
11394           add types of base classes to enable gobject specific stuff in the docs
11395
11396         * docs/random/ensonic/embedded.txt:
11397           more ideas about isolating platform specific things
11398
11399 2006-11-20  Wim Taymans  <wim@fluendo.com>
11400
11401         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11402
11403         * libs/gst/check/gstcheck.h:
11404         Fix compilation and running against 0.9.4. Fixes #377332.
11405
11406 2006-11-20  Wim Taymans  <wim@fluendo.com>
11407
11408         * gst/gstsegment.c: (gst_segment_set_seek),
11409         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11410         (gst_segment_to_running_time):
11411         Fix boundary checking in to_running_time() and to_stream_time().
11412         Fixes #377183.
11413
11414         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11415         stream and running time can now be calculated for the complete
11416         clipped segment.
11417
11418 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * gst/gstpad.c: (gst_pad_push_event):
11421           Can't access event structure after giving away ownership of
11422           the event.
11423
11424 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11425
11426         * docs/random/ensonic/embedded.txt:
11427         * docs/random/ensonic/profiling.txt:
11428         * docs/random/ensonic/receipies.txt:
11429           more thinking
11430
11431 2006-11-13  Wim Taymans  <wim@fluendo.com>
11432
11433         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11434
11435         * gst/gstpad.c:
11436         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11437
11438 2006-11-13  Wim Taymans  <wim@fluendo.com>
11439
11440         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11441
11442         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11443         Store new length in segment duration so we don't keep on calling the
11444         potentially expensize get_size() call. Fixes #370865.
11445
11446 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11447
11448         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11449
11450         * win32/common/libgstreamer.def:
11451           Add two missing symbols (#366492).
11452
11453 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11454
11455         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11456         (gst_adapter_take_buffer):
11457         Fix format string to use all its arguments.
11458         Remove useless >= check on a guint
11459
11460 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11461
11462         * tests/examples/adapter/.cvsignore:
11463         Ignore build file as commanded by the build-bot
11464
11465 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11466
11467         * tests/examples/adapter/Makefile.am:
11468         * tests/examples/adapter/adapter_test.c: (run_test_take),
11469         (run_test_take_buffer), (run_tests), (main):
11470
11471         Add new files from the previous commit
11472
11473 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11474
11475         * Makefile.am:
11476         * configure.ac:
11477         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11478         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11479         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11480         * libs/gst/base/gstadapter.h:
11481         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11482         (GST_START_TEST), (gst_adapter_suite):
11483         * tests/examples/Makefile.am:
11484         Do some optimisation work in GstAdapter to avoid copies in more cases.
11485         It could still do slightly better by merging buffers when
11486         gst_buffer_is_span_fast is true, but is already faster. 
11487
11488         Also, avoid traversing a single-linked list to append each incoming 
11489         buffer inside the adapter.
11490
11491         Add simple test app that times the adapter behaviour in different
11492         situations, and extend the unit test to check that bytes enter and
11493         exit the adapter in their original order.
11494
11495 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11496
11497         * docs/random/draft-missing-plugins.txt:
11498           Update: use element message instead of adding a new message
11499           type to the core; don't provide GStreamer API to initiate the
11500           plugin download, just provide API to compose the strings needed
11501           and let an external libgimmestuff handle the rest.
11502
11503 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11504
11505         * tools/gst-inspect.c: (print_element_properties_info):
11506         Print a string instead of 'unknown type' for GValueArray properties
11507
11508 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11509
11510         * docs/random/draft-missing-plugins.txt:
11511         More small fixes.
11512
11513 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * tests/examples/typefind/typefind.c: (type_found), (main):
11516           Make typefind element example work again (#371894); add a
11517           license header.
11518
11519 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11520
11521         * docs/random/draft-missing-plugins.txt:
11522           Commit initial draft about how to deal with missing plugins,
11523           needs work (API too).
11524
11525 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11526
11527         * docs/pwg/advanced-types.xml:
11528           documents the new caps elements (see #363118)
11529
11530 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11531
11532         * gst/gstplugin.c: (gst_plugin_load_file):
11533         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11534         (gst_file_src_map_region), (gst_file_src_start):
11535         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11536         (gst_file_index_commit):
11537           Use g_strerror() instead of strerror() - we want UTF-8.
11538
11539 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11540
11541         Patch by: Peter Kjellerstedt <pkj at axis com>
11542
11543         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11544           Another printf fix (#371493).
11545
11546 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11547
11548         * tests/check/gst/gsttag.c:
11549           relicence (okay with author=company)
11550
11551 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11552
11553         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11554         (gst_pad_push_event):
11555           Enhance debug and improve docs
11556         
11557         * gst/gsturi.c:
11558           Fix docs
11559
11560 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11561
11562         * docs/random/ensonic/distributed.txt:
11563         * docs/random/ensonic/profiling.txt:
11564           more ideas
11565
11566 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11567
11568         * docs/gst/gstreamer-sections.txt:
11569           add new API and fix the build
11570           
11571         * gst/gstbin.c: (gst_bin_recalc_state):
11572         * gst/gstelement.c: (gst_element_message_full),
11573         (gst_element_get_state_func), (gst_element_set_state_func):
11574           use new API and improve logging
11575         
11576         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11577         * gst/gstutils.h:
11578           API: add function to get StateChangereturn names to improve logs 
11579
11580 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11581
11582         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11583           I'm considering shooting the next person to put strerror stuff
11584           in the translateable part of the message.
11585
11586 2006-11-03  Wim Taymans  <wim@fluendo.com>
11587
11588         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11589         Get the type and printf conversion specifiers right.
11590
11591 2006-11-03  Wim Taymans  <wim@fluendo.com>
11592
11593         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11594
11595         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11596         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11597         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11598         Some small cleanups. Improve debugging.
11599         * gst/gstpad.h:
11600         Signal all waiting threads with a broadcast instead of just one.
11601         Fixes #369942.
11602
11603 2006-11-03  Wim Taymans  <wim@fluendo.com>
11604
11605         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11606         (gst_fd_src_create):
11607         Add some debugging. 
11608         Only update fd when it's different from the old.
11609
11610 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11611
11612         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11613           Printf fixes for PPC/OSX, take two (#369366).
11614
11615 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11616
11617         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11618
11619         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11620         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11621         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11622           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11623           don't cast to long long for portability reasons, but use
11624           GLib's types instead.
11625
11626 2006-10-30  Michael Smith  <msmith@fluendo.com>
11627
11628         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11629           Get the arguments to lseek() the right way around.
11630           Fixes 367677.
11631
11632 2006-10-30  Wim Taymans  <wim@fluendo.com>
11633
11634         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11635
11636         * gst/gstinfo.h:
11637         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11638
11639 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11640
11641         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11642
11643         * docs/design/part-MT-refcounting.txt:
11644         * docs/random/wtay/capsnego2-docs:
11645         * gst/gstclock.c:
11646         * gst/gstxml.c:
11647           Typo fixes (#366212).
11648
11649 2006-10-28  Wim Taymans  <wim@fluendo.com>
11650
11651         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11652
11653         * gst/gst.c:
11654         * win32/common/libgstbase.def:
11655         * win32/common/libgstreamer.def:
11656         * win32/vs8/libgstbase.vcproj:
11657         * win32/vs8/libgstcontroller.vcproj:
11658         Add needed entries in .def files.
11659         Use HAVE_UNISTD_H.
11660         Rearrange def files in vs8 solutions. Fixes #366286.
11661
11662 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11663
11664         * win32/common/gstconfig.h:
11665           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11666           hand-made win32 gstconfig.h. Fixes #366321.
11667
11668 2006-10-27  Wim Taymans  <wim@fluendo.com>
11669
11670         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11671         (gst_ghost_pad_new_full):
11672         Make acceptcaps return TRUE when we don't have a target, just like
11673         setcaps does.
11674
11675 2006-10-27  Wim Taymans  <wim@fluendo.com>
11676
11677         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11678         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11679
11680 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11681
11682         * gst/gststructure.c: (gst_structure_id_set_value):
11683           If someone tries to set a non-UTF8 string field on a structure,
11684           don't just print a warning, but also ignore the request and do
11685           not change/add that field to the structure.
11686
11687         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11688           Test for the above.
11689
11690 2006-10-25  David Schleef  <ds@schleef.org>
11691
11692         * gst/gstinfo.c:
11693           g_hash_table_insert() needs a cast to a non-const pointer duh.
11694
11695 2006-10-25  David Schleef  <ds@schleef.org>
11696
11697         * gst/gstinfo.c:
11698         * gst/gstinfo.h:
11699           Change name parameter of _gst_debug_register_funcptr to const
11700           to reflect the constness of its use in the function as well
11701           as to quiet a gcc warning.
11702
11703 2006-10-25  Edward Hervey  <edward@fluendo.com>
11704
11705         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11706         Don't push the buffer if it's empty.
11707         Closes #363095
11708
11709 2006-10-24  Wim Taymans  <wim@fluendo.com>
11710
11711         * gst/gstevent.h:
11712         Add small comment.
11713
11714         * libs/gst/base/gstbasetransform.c:
11715         (gst_base_transform_sink_eventfunc):
11716         Debug segment values *after* updating them as this is more
11717         interesting.
11718
11719 2006-10-23  Wim Taymans  <wim@fluendo.com>
11720
11721         * docs/design/part-events.txt:
11722         Update some docs.
11723
11724         * docs/design/part-block.txt:
11725         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11726         (gst_pad_push_event):
11727         Revert BLOCKING patch, it tries to be smart without really having a
11728         clear idea what or how. So, now we discard all FLUSHING events again on
11729         a blocking pad. Should fix gnonlin again.
11730
11731 2006-10-23  Wim Taymans  <wim@fluendo.com>
11732
11733         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11734
11735         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11736         (gst_base_src_start), (gst_base_src_activate_push):
11737         Make sure size is always initialized. Fixes #364388.
11738
11739 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11740
11741         * docs/random/ensonic/distributed.txt:
11742           add some ideas about doing distributed processing
11743
11744         * docs/random/ensonic/profiling.txt:
11745           get_rusage look promising
11746
11747 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11748
11749         * docs/manual/basics-helloworld.xml:
11750           Add a cast in example to fix compile warning
11751
11752 2006-10-18  Wim Taymans  <wim@fluendo.com>
11753
11754         * gst/gstsegment.c: (gst_segment_set_last_stop),
11755         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11756         Relax arg checking again, -1 is allowed.
11757
11758 2006-10-18  Wim Taymans  <wim@fluendo.com>
11759
11760         * gst/gstsegment.c: (gst_segment_set_last_stop),
11761         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11762         _set_last_stop() must be with a value != -1
11763         A _TYPE_SET to -1 means seek to 0.
11764         Calc last_stop correctly for negative rates.
11765         Make sure we work with positive durations when updating a segment.
11766
11767 2006-10-18  Wim Taymans  <wim@fluendo.com>
11768
11769         * docs/design/part-live-source.txt:
11770         * gst/gstclock.h:
11771         Small docs fixes.
11772
11773 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11774
11775         * gst/gstbuffer.h:
11776           Add an explicit cast to GstBuffer** to keep old code that added an
11777           explicit cast to GstMiniObject** for gst_mini_object_replace()
11778           compiling without warning.
11779
11780 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11781
11782         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11783           check for validity of dates
11784
11785 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11786
11787         * docs/gst/gstreamer-sections.txt:
11788           Forgot this one, makes gtk-doc shut up.
11789
11790 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11791
11792         Patch by: Peter Kjellerstedt <pkj at axis com>
11793
11794         * gst/gstobject.h:
11795           Don't define xmlNodePtr to gpointer if the core was built with
11796           --disable-loadsave and --disable-registry, this will break
11797           applications that want to use libxml2 but are buildling against a
11798           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11799           instead so we don't have to mess with the libxml2 namespace
11800           (#361675).
11801
11802 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11803
11804         * gst/gstbuffer.h:
11805           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11806           type-punned pointer warnings.
11807
11808 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11809
11810         * gst/gstelement.h:
11811           Add casts to the correct return type to state <=> state transition
11812           macros.
11813
11814 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11815
11816         * docs/design/part-live-source.txt:
11817           describe howto handle latency
11818         
11819         * docs/random/ensonic/profiling.txt:
11820           more ideas
11821
11822         * tools/gst-plot-timeline.py:
11823           fix log parsing for solaris, remove unused function
11824
11825 2006-10-16  Wim Taymans  <wim@fluendo.com>
11826
11827         * docs/design/part-trickmodes.txt:
11828         * gst/gstevent.c:
11829         Update some docs regarding reverse playback.
11830
11831 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11832
11833         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11834
11835         * win32/vs8/grammar.vcproj:
11836           Error out with a warning if glib-genmarshal.exe is not in path,
11837           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11838
11839 2006-10-13  Wim Taymans  <wim@fluendo.com>
11840
11841         * gst/gstsegment.c: (gst_segment_set_seek):
11842         When seeking to stop -1, set last_stop (current position) to the
11843         duration of the segment.
11844
11845 2006-10-13  Wim Taymans  <wim@fluendo.com>
11846
11847         * gst/gstelement.h:
11848         Clarify _NO_PREROLL a bit more.
11849
11850         * gst/gstevent.c:
11851         Fix docs.
11852
11853         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11854         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11855         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11856         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11857         due to wrong locking order. Fixes #361769.
11858         Remove some redundant/misplaced checks in pad_block.
11859
11860         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11861         For negative rates, count backwards from the duration.
11862
11863 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11864
11865         * gst/gsterror.c: (_gst_library_errors_init):
11866           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11867           up with something better).
11868
11869 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11870
11871         * win32/vs6/libgstreamer.dsp:
11872         * win32/vs7/libgstreamer.vcproj:
11873         * win32/vs8/libgstreamer.vcproj:
11874           Don't reference glib-compat.c which is currently not used and not
11875           disted; add gstquark.c which was recently added. Fixes #361730.
11876
11877 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * win32/common/libgstbase.def:
11880         * win32/common/libgstcontroller.def:
11881         * win32/common/libgstreamer.def:
11882           Add gst_caps_merge() and a bunch of other recently-added functions.
11883           Fixes #361732.
11884
11885 2006-10-11  Wim Taymans  <wim@fluendo.com>
11886
11887         * docs/plugins/gstreamer-plugins.args:
11888         * docs/plugins/inspect/plugin-coreelements.xml:
11889         * docs/plugins/inspect/plugin-coreindexers.xml:
11890         Update element args.
11891
11892         * gst/gstsystemclock.c:
11893         Small comment update.
11894
11895         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11896         (gst_tee_request_new_pad), (gst_tee_release_pad),
11897         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11898         (gst_tee_sink_activate_pull):
11899         * plugins/elements/gsttee.h:
11900         Some tee loving:
11901         Add default property defines.
11902         Implement release pad function.
11903         Give properties better blubs etc.
11904         Activate pads before adding them to a running tee.
11905         Do simple buffer_alloc on the first requested pad.
11906         Post error when activation fails.
11907
11908 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11909
11910         * gst/gst.c: (ensure_current_registry_forking):
11911           Check return value of write() to make compiler happy.
11912
11913 2006-10-11  Wim Taymans  <wim@fluendo.com>
11914
11915         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11916
11917         * plugins/elements/gstqueue.c: (gst_queue_chain):
11918         Recheck queue filledness after signalling the overrun when we're about
11919         to leak downstream because we released the lock when emitting the signal
11920         and the queue could be empty again. Fixes #352345.
11921
11922 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11923
11924         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11925           Fix refcounting here too, just like we did for _new_valist() a few
11926           days ago (#357180) (thanks to René Stadler). Also remove all those
11927           'Since: 0.9' from the gtk-doc blobs.
11928
11929         * tests/check/libs/controller.c: (controller_refcount_new_list),
11930         (gst_controller_suite):
11931           Unit test for the above.
11932
11933 2006-10-10  Wim Taymans  <wim@fluendo.com>
11934
11935         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11936
11937         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11938         (gst_pad_save_thyself):
11939         Update some docs.
11940         Write pad direction in XML output. Fixes #345496.
11941
11942 2006-10-10  Wim Taymans  <wim@fluendo.com>
11943
11944         Patch by: René Stadler <mail at renestadler dot de>
11945
11946         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11947         (gst_controller_new_list), (_gst_controller_dispose),
11948         (_gst_controller_finalize), (_gst_controller_class_init):
11949         Take ref to controlled object so that it cannot disappear. 
11950         Fixes #357432.
11951
11952 2006-10-10  Wim Taymans  <wim@fluendo.com>
11953
11954         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11955         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11956         (gst_check_teardown_sink_pad):
11957         Activate/deactivate pads in setup/teardown respectively.
11958
11959 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11960
11961         Patch by: Josep Torra Valles <josep@fluendo.com>
11962
11963         * gst/Makefile.am:
11964         Cast values when making gstenumtypes.h.  This pacifies Forte
11965         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11966         in the enumeration.
11967
11968 2006-10-09  Wim Taymans  <wim@fluendo.com>
11969
11970         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11971         Rename some more @cur to @start to fix docs. 
11972
11973         * gst/gstsegment.c: (gst_segment_set_seek):
11974         Fix typo.
11975         time and start must always stay in sync as defined in design doc.
11976
11977         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11978         Rename param to fix docs.
11979
11980         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11981         Check that start and time are in sync.
11982
11983         * tests/check/pipelines/parse-launch.c:
11984         (gst_parse_test_element_change_state):
11985         Activate pad before adding to the element.
11986
11987 2006-10-09  Wim Taymans  <wim@fluendo.com>
11988
11989         * docs/design/part-qos.txt:
11990         Fix typo.
11991
11992         * gst/gstevent.c:
11993         * gst/gstevent.h:
11994         Update seek event docs regarding negative rates.
11995         Rename @cur to @start. 
11996
11997         * gst/gstsegment.c: (gst_segment_set_seek):
11998         * gst/gstsegment.h:
11999         Update set_seek docs regarding negative rates.
12000         Correctly update last_stop to @stop when dealing with negative
12001         rates.
12002         Rename @cur to @start. 
12003
12004         * tests/check/gst/gstpad.c: (GST_START_TEST):
12005         Activate pads before trying to use them.
12006
12007         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12008         (gst_segment_suite):
12009         Add simple check for segments and negative rates.
12010
12011 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12012
12013         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12014         * gst/gsttaglist.h:
12015         * docs/gst/gstreamer-sections.txt:
12016           API: add gst_tag_list_is_empty() (#360467).
12017
12018         * tests/check/gst/gsttag.c: (GST_START_TEST):
12019           And a test case.
12020
12021 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12022
12023         * gst/gstmessage.h:
12024         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12025         a value that doesn't fit on enumeration.
12026
12027 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12028
12029         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12030         Remove local debugging system and use Gstreamer's instead.
12031
12032 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12033
12034         Patch by: Josep Torra Valles <josep@fluendo.com>
12035
12036         * common/m4/gst-error.m4:
12037         Disable warning of statement not reached on Forte.
12038         * gst/gstmessage.h:
12039         Fix warning on Forte (value doesn't fit on enumeration).
12040         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12041         Fix warning on Forte (value doesn't fit on enumeration).
12042         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12043         DEBUG macro says it takes minimum of 2 args and so Forte
12044         complains about the use with just 1 arg.
12045         * plugins/elements/gstfdsink.c:
12046         * plugins/elements/gstfdsrc.c:
12047         * plugins/elements/gstfilesink.c:
12048         * plugins/elements/gstfilesrc.c:
12049         Use correct return type for the uri handler implementations.
12050
12051         All these fix warnings in Forte.  Fixes bug #360860.
12052
12053 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12054
12055         * gst/gstelement.h:
12056           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12057           format string, so don't use G_GNUC_PRINTF for those versions.
12058
12059 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12060
12061         * gst/gsttaglist.c: (gst_is_tag_list):
12062         * gst/gsttaglist.h:
12063           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12064
12065         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12066           Small test for the above.
12067
12068 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * gst/gsttaglist.h:
12071           Less tabs, more spaces.
12072
12073 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12074
12075         * gst/gstinfo.h:
12076           Those two function declarations do actually belong there, revert
12077           commit from yesterday that turned them intro macros.
12078
12079 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12080
12081         Patch by: Josep Torra Valles <josep@fluendo.com>
12082
12083         * gst/gst.c: (gst_init_get_option_group):
12084         Fix empty declaration and type mismatch.
12085         * gst/gstbin.c: (gst_bin_change_state_func):
12086         Fix type mismatch.
12087         * gst/gstelement.c: (gst_element_continue_state),
12088         (gst_element_set_state_func), (gst_element_change_state),
12089         (gst_element_change_state_func):
12090         Fix type mismatches.
12091         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12092         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12093         Cast as appropriate.
12094         * gst/gstobject.c: (gst_class_signal_connect):
12095         Cast as appropriate.  The function pointer parameter really
12096         has the wrong type but would break API if we change it.
12097         * gst/gstquery.c:
12098         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12099         order of including string.h.
12100         * gst/gstutils.c: (gst_element_state_get_name):
12101         Remove unreachable line.
12102         * gst/gstxml.c: (gst_xml_parse_doc):
12103         Fix type mismatch.
12104         All these caught by Forte.
12105
12106 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12107
12108         Patch by: Josep Torra Valles <josep@fluendo.com>
12109
12110         * common/m4/gst-error.m4:
12111         Fixed bug #360151.
12112         We need to disable warnings on Forte for empty declarations
12113         due to gst-indent adding ;s to lines that just use macros
12114         where the macro actually doesn't need a ; at end to end
12115         statement.
12116
12117 2006-10-06  Wim Taymans  <wim@fluendo.com>
12118
12119         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12120         (gst_file_sink_close_file), (gst_file_sink_event),
12121         (gst_file_sink_render):
12122         Add some FIXME for the NEWSEGMENT handling.
12123
12124 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12125
12126         * gst/parse/grammar.y:
12127         Remove static function gst_parse_element_lock as all it does
12128         is return.  Looks like cruft from 0.8.
12129
12130 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12131
12132         Patch by: Josep Torra Valles <josep@fluendo.com>
12133
12134         * common/m4/gst-error.m4:
12135         * configure.ac:
12136         * libs/gst/net/Makefile.am:
12137         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12138         libresolv.
12139
12140 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12141
12142         * gst/gstpad.c: (pre_activate):
12143         * gst/gstregistry.c: (gst_registry_scan_path_level):
12144         * gst/gstregistryxml.c: (load_plugin):
12145         * libs/gst/controller/gstcontroller.c:
12146         (gst_controlled_property_set_interpolation_mode):
12147         * libs/gst/dataprotocol/dataprotocol.c:
12148         (gst_dp_packet_from_event_1_0):
12149         * libs/gst/net/gstnetclientclock.c:
12150         (gst_net_client_clock_observe_times):
12151         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12152           Printf fixes.
12153
12154 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12155
12156         * configure.ac:
12157         * docs/gst/gstreamer-sections.txt:
12158         * gst/gstconfig.h.in:
12159         * gst/gstelement.h:
12160         * gst/gstinfo.h:
12161           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12162           whether we can use G_GNUC_PRINTF in other header files and at
12163           least check the printf format/arguments of debug messages and
12164           GST_ELEMENT_ERROR messages when the printf extension is not
12165           being used.
12166           Replace more tabs with spaces in gstinfo.h and remove two spurious
12167           function declarations in GST_DISABLE_DEBUG part with macros.
12168
12169 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12170
12171         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12172           More docs for the sync-message signal (mention that it is not
12173           emitted by default); log message structures of messages posted on
12174           the bus as well.
12175
12176 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12177
12178         * gst/gst.c: (ensure_current_registry_forking):
12179         Use a pipe pair to receive status results from the forked child, and
12180         ignore the result from waitpid. Fixes #355499
12181
12182 2006-10-02  Wim Taymans  <wim@fluendo.com>
12183
12184         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12185         (gst_ghost_pad_suite):
12186         Fix leak in check.
12187
12188 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12189
12190         * gst/gstpad.c:
12191           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12192
12193 2006-10-02  Edward Hervey  <edward@fluendo.com>
12194
12195         * docs/design/part-block.txt:
12196         Further explain the use of flushing on blocked pads.
12197         * docs/gst/gstreamer-sections.txt:
12198         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12199         (gst_pad_push_event):
12200         * gst/gstpad.h:
12201         Added new GstPadFlag : GST_PAD_BLOCKING.
12202         Adds the notion of pads really blocking, which enables to properly
12203         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12204         Fixes #358999
12205         API: gst_pad_is_blocking()
12206         API: GST_PAD_IS_BLOCKING() macro
12207         API: GST_PAD_BLOCKING GstPadFlag
12208         
12209 2006-10-02  Wim Taymans  <wim@fluendo.com>
12210
12211         Patch by: mrcgran <mrc.gran at gmail dot com>
12212
12213         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12214         Filter the proxied caps against the padtemplate if we have one.
12215
12216         * gst/gstquery.c: (gst_query_new_segment):
12217         Add include for gstinfo.h so that compilation with
12218         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12219
12220 2006-10-02  Wim Taymans  <wim@fluendo.com>
12221
12222         Patch by: Alessandro Decina  <alessandro at nnva org>
12223
12224         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12225         (gst_file_sink_set_location), (gst_file_sink_open_file),
12226         (gst_file_sink_close_file), (gst_file_sink_event),
12227         (gst_file_sink_render):
12228         Set file to NULL when closing filesink so that we can set a new filename
12229         in READY. Fixes #358613.
12230
12231 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12232
12233         Patch by: Alessandro Decina  <alessandro at nnva org>
12234
12235         * gst/gstevent.c: (_gst_event_copy):
12236           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12237           with event structures by setting the parent refcount address of the
12238           copied structure to the address of the refcount member of the newly
12239           copied event rather than the address of the refcount member of the
12240           original event. Fixes #358737.
12241
12242         * tests/check/gst/gstevent.c: (GST_START_TEST):
12243           Unit test for the above.
12244
12245 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12246
12247         * docs/design/Makefile.am:
12248           Dist some more files.
12249
12250 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12251
12252         * tests/check/libs/controller.c: (GST_START_TEST),
12253         (gst_controller_suite):
12254           Add test for the previous fix; add some more tests
12255           for correct refcounting behaviour; fix a few leaks
12256           in test cases; call gst_controller_init() at start
12257           of all tests.
12258
12259 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12260
12261         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12262         (gst_controller_set_from_list):
12263           Don't g_return_val_if_fail() on timed values with invalid timestamps
12264           inside a critical section without unlocking the mutex. Spotted by
12265           René Stadler. (#357617)
12266           Also, fix up refcounting properly: when returning an existing
12267           controller, we should increase the reference only once and not
12268           once per property and when trying to control a property again
12269           we should also increase the refcount.
12270
12271 2006-09-29  Wim Taymans  <wim@fluendo.com>
12272
12273         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12274         * libs/gst/net/gstnettimeprovider.c:
12275         (gst_net_time_provider_thread):
12276         Stop reading commands when EOF as well.
12277
12278         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12279         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12280         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12281         Unify description of the dump property.
12282
12283 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12284
12285         * tests/examples/manual/.cvsignore:
12286         OK, so it's actually cvsignore that needs changing. Stop laughing.
12287
12288 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12289
12290         * tests/examples/manual/Makefile.am:
12291         Gah, declare vars *before* using them
12292
12293 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12294
12295         * gst/gst.c: (init_pre), (scan_and_update_registry),
12296         (ensure_current_registry_nonforking),
12297         (ensure_current_registry_forking), (ensure_current_registry),
12298         (init_post), (gst_debug_help), (gst_deinit):
12299         * gst/gst_private.h:
12300         * gst/gstregistry.c: (gst_registry_finalize),
12301         (gst_registry_remove_features_for_plugin_unlocked),
12302         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12303         (gst_registry_scan_path),
12304         (_priv_gst_registry_remove_cache_plugins),
12305         (_priv_gst_registry_cleanup):
12306         * gst/gstregistry.h:
12307         Re-commit the registry changes, along with an extra fix:
12308           When a cached plugin is encountered at a different file path,
12309           update the stored path in the registry cache so that the parent
12310           process knows where it actually is now when it re-reads the registry
12311           cache. Fixes the thing that broke distcheck with the previous commit.
12312
12313         * tests/check/Makefile.am:
12314         Clean up files named 'core' too when running make clean.
12315
12316         * tests/examples/manual/Makefile.am:
12317         Set up a registry path for running these tests, and clean it properly
12318         for distcheck.
12319
12320 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12321
12322         * configure.ac:
12323         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12324         want gmodule-no-export-2.0.pc instead so that we don't drag in
12325         --export-dynamic on every project that links to GStreamer.
12326
12327         Also, make our export regex only match the start of symbols, rather 
12328         than any symbol that contains '_gst' somewhere.
12329
12330         * libs/gst/check/Makefile.am:
12331         The libgstcheck we build does however need export-dynamic, as it
12332         produces some symbols that don't match our _gst... style regex.
12333         Fixes: #318031
12334
12335 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12336
12337         * gst/gst.c: (init_pre), (scan_and_update_registry),
12338         (ensure_current_registry_nonforking),
12339         (ensure_current_registry_forking), (ensure_current_registry),
12340         (init_post), (gst_debug_help), (gst_deinit):
12341         * gst/gst_private.h:
12342         * gst/gstregistry.c: (gst_registry_finalize),
12343         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12344         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12345         (_gst_registry_cleanup):
12346         * gst/gstregistry.h:
12347           Revert previous change until I figure out why it breaks distcheck.
12348
12349 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12350
12351         * gst/gst.c: (init_pre), (scan_and_update_registry),
12352         (ensure_current_registry_nonforking),
12353         (ensure_current_registry_forking), (ensure_current_registry),
12354         (init_post), (gst_debug_help), (gst_deinit):
12355
12356           Make init_pre and init_post take the full complement of GOptionFunc
12357           args so they can return useful GErrors. Make the registry updating
12358           functions do so.
12359
12360           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12361           ensure that the registry we're about to write out doesn't contain
12362           stale information about old-deleted plugin files.
12363
12364           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12365           that deletion of plugin files is considered a registry change.
12366
12367         * gst/gst_private.h:
12368         * gst/gstregistry.c: (gst_registry_finalize),
12369         (gst_registry_remove_features_for_plugin_unlocked),
12370         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12371         (gst_registry_scan_path),
12372         (_priv_gst_registry_remove_cache_plugins),
12373         (_priv_gst_registry_cleanup):
12374         * gst/gstregistry.h:
12375         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12376         by adding _priv prefix, so that they won't appear in the global
12377         symbol table. They still do atm though because of #318031. Move the
12378         prototypes to gst_private.h
12379
12380         When removing a plugin, remove all features for that plugin too. 
12381         Fixes #340878.
12382
12383 2006-09-27  Wim Taymans  <wim@fluendo.com>
12384
12385         * docs/random/moving-plugins:
12386         Make it clear that the "compiled-in descriptions" really mean
12387         the element details.
12388
12389         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12390         (gst_base_sink_wait_preroll):
12391         Update docs.
12392
12393         * docs/libs/gstreamer-libs-sections.txt:
12394         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12395         (gst_base_src_get_range), (gst_base_src_activate_push):
12396         * libs/gst/base/gstbasesrc.h:
12397         Added function to block while waiting for PLAYING, this function
12398         is used by live sources that block on the clock.
12399         API: gst_base_src_wait_playing()
12400
12401 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12402
12403         Patch by: Peter Kjellerstedt <pkj at axis com>
12404
12405         * Makefile.am:
12406           gst-element-check.m4 is generated and should therefore be
12407           copied from the build dir rather than the source dir (#357593).
12408           'make distcheck' hasn't noticed this because we were disting
12409           the file as well, so stop doing that.
12410
12411 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12412
12413         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12414           Add some tests for gst_caps_intersect().
12415
12416         * tools/gst-launch.c: (event_loop):
12417           Print all buffering percentages we get, even the 100% one.
12418
12419 2006-09-26  Wim Taymans  <wim@fluendo.com>
12420
12421         * tools/gst-inspect.c: (print_element_properties_info),
12422         (print_signal_info):
12423         Fix printing of flags to match the look of enums.
12424
12425 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12426
12427         * gst/gstelementfactory.c:
12428           Fix typo in docs blurb.
12429
12430 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12431
12432         * gst/gsturi.c: (search_by_entry):
12433           Don't assert/crash here if a uri handler doesn't return any
12434           supported protocols. The list of protocols could be generated
12435           dynamically at runtime or at plugin registration, and an error
12436           in the underlying library shouldn't be fatal (#353301).
12437
12438 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * gst/gstinfo.c:
12441           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12442           (spotted by Peter Kjellerstedt).
12443
12444 2006-09-23  Wim Taymans  <wim@fluendo.com>
12445
12446         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12447
12448         * libs/gst/base/gstbasesrc.c:
12449         (gst_base_src_default_check_get_range), (gst_base_src_start),
12450         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12451         (gst_base_src_change_state):
12452         Match _start/_stop calls in the activate functions. Remove redundant
12453         _stop call from the state change function. Fixes #356910.
12454         Turn failure DEBUG into ERROR. 
12455
12456 2006-09-22  Wim Taymans  <wim@fluendo.com>
12457
12458         * docs/design/part-buffering.txt:
12459         * gst/gstmessage.c: (gst_message_new_buffering),
12460         (gst_message_parse_buffering):
12461         Update docs about buffering.
12462
12463         * docs/design/part-trickmodes.txt:
12464         Fix typo.
12465
12466 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12467
12468         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12469         (gst_controller_new_list):
12470           Ref instances when returning them again (fixes #357180)
12471
12472 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12473
12474         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12475           Don't forget to release proxy lock when there's an error.
12476
12477 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12478
12479         * gst/gstcaps.h:
12480           Add extra initialisers for Caps things, to fix some plugin warnings
12481           when using -Wextra
12482
12483 2006-09-18  Wim Taymans  <wim@fluendo.com>
12484
12485         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12486           Also set template on the internal pad so that a getcaps from the 
12487           target pad returns the template caps.
12488
12489 2006-09-18  Wim Taymans  <wim@fluendo.com>
12490
12491         * gst/gstelement.c: (gst_element_post_message),
12492         (gst_element_dispose):
12493         Use _DEBUG_OBJECT some more.
12494
12495         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12496         Avoid typechecks.
12497
12498         * tools/gst-launch.c: (main):
12499         If the toplevel element is not a GstPipeline, it must be put in a
12500         pipeline so that a bus and clock is selected.
12501
12502 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12503
12504         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12505           JITTER, RATE, and LATENCY query should be handled by the
12506           default case and not by the CONVERT query code.
12507
12508 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12509
12510         * gst/gstformat.c: (gst_format_register):
12511           Fix locking order (must take lock before using n_values).
12512
12513         * gst/gstvalue.c: (gst_value_serialize_enum),
12514         (gst_value_deserialize_enum_iter_cmp),
12515         (gst_value_deserialize_enum):
12516           Fix serialisation/deserialisation of custom registered GstFormats.
12517
12518         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12519           Unit test for custom format serialisation/deserialisation.
12520
12521 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12522
12523         * docs/pwg/building-boiler.xml:
12524         * plugins/elements/gstcapsfilter.c:
12525         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12526         section.
12527
12528 2006-09-16  Edward Hervey  <edward@fluendo.com>
12529
12530         * libs/gst/base/gstbasetransform.c:
12531         (gst_base_transform_buffer_alloc):
12532         Check if requested caps are the same as the sinks caps IF
12533         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12534         is FALSE.
12535         This fixes the renegotiation issues stated in #352827.
12536
12537 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12538
12539         * configure.ac:
12540         * docs/manual/advanced-autoplugging.xml:
12541         * tests/examples/Makefile.am:
12542         * tests/examples/manual/.cvsignore:
12543         * tests/examples/manual/Makefile.am:
12544         * tests/examples/manual/extract.pl:
12545           Extract the manual examples again like we used to do.
12546           Fix one of them.
12547
12548 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12549
12550         * win32/common/config.h:
12551           update for version
12552
12553 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12554
12555         * gst/gsterror.c:
12556           Documents how to receive errors.
12557
12558 2006-09-15  Wim Taymans  <wim@fluendo.com>
12559
12560         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12561         (event_loop), (main):
12562         Added some comments here and there.
12563         Post an application message when an interrupt is caught instead of doing
12564         an uncontrolled state change.
12565         Clean up the event loop.
12566         Handle buffering messages, pause/resume the pipeline.
12567         Make shutdown because of an interrupt more reliable.
12568
12569 2006-09-15  Wim Taymans  <wim@fluendo.com>
12570
12571         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12572         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12573         (gst_base_sink_preroll_object):
12574         Make sure that our internal state is correct when we commit our state
12575         asynchronously. This solves a race where a state change to PLAYING
12576         could cause the sink to remain blocked in preroll in some situations.
12577
12578 2006-09-15  Wim Taymans  <wim@fluendo.com>
12579
12580         * tools/gst-inspect.c: (print_element_properties_info),
12581         (print_signal_info):
12582         List flags as hex so it's easier to deal with.
12583
12584 2006-09-15  Wim Taymans  <wim@fluendo.com>
12585
12586         * docs/libs/gstreamer-libs-sections.txt:
12587         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12588         (gst_base_sink_do_sync):
12589         * libs/gst/base/gstbasesink.h:
12590         Expose logic to wait for preroll so that subclasses such as audiosink
12591         can also use this method.
12592         API: gst_base_sink_wait_preroll()
12593
12594 2006-09-15  Wim Taymans  <wim@fluendo.com>
12595
12596         * gst/gstobject.c: (gst_object_set_parent):
12597         * gst/gstpipeline.c: (do_pipeline_seek):
12598         Small cleanups in docs and code.
12599
12600         * gst/gstsegment.c: (gst_segment_clip):
12601         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12602         if stop == start and start is in the segment, no clipping should be
12603         done. Also add a test for this.
12604
12605 2006-09-15  Wim Taymans  <wim@fluendo.com>
12606
12607         * docs/design/part-buffering.txt:
12608         * docs/gst/gstreamer-sections.txt:
12609         * gst/gstmessage.c: (gst_message_new_buffering),
12610         (gst_message_parse_buffering):
12611         * gst/gstmessage.h:
12612         Added methods to create and parse BUFFERING messages.
12613         Added preliminary docs about buffering.
12614         API: gst_message_new_buffering
12615         API: gst_message_parse_buffering
12616
12617 2006-09-06  Wim Taymans  <wim@fluendo.com>
12618
12619         * gst/gstbin.c:
12620         Update documentation.
12621
12622         * gst/gstelement.c: (gst_element_class_init),
12623         (gst_element_release_request_pad), (gst_element_set_clock),
12624         (gst_element_get_index), (gst_element_add_pad),
12625         (gst_element_remove_pad), (gst_element_get_random_pad),
12626         (gst_element_send_event), (gst_element_get_query_types),
12627         (gst_element_query), (gst_element_post_message),
12628         (gst_element_message_full), (gst_element_continue_state),
12629         (gst_element_lost_state), (gst_element_save_thyself),
12630         (gst_element_restore_thyself):
12631         Documentation updates.
12632         Rename last bit of the new-pad -> pad-added signal rename.
12633         Fix the case where an element query would only work if the source
12634         pad was linked.
12635         Avoid some useless type checking in message handling.
12636
12637         * gst/gstevent.c:
12638         * gst/gstevent.h:
12639         * gst/gstutils.c:
12640         Documentation updates.
12641
12642 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12643
12644         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12645           add an INFO line for when we actually update the fd
12646
12647 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12648
12649         * configure.ac:
12650           back to TRUNK
12651
12652 === release 0.10.10 ===
12653
12654 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12655
12656         * configure.ac:
12657           releasing 0.10.10, "Pais"
12658
12659 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * docs/manual/advanced-position.xml:
12662           Fix typo in sample code.
12663
12664 2006-09-05  Wim Taymans  <wim@fluendo.com>
12665
12666         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12667         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12668         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12669         * libs/gst/net/gstnetclientclock.h:
12670         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12671         * libs/gst/net/gstnettimepacket.h:
12672         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12673         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12674         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12675         * libs/gst/net/gstnettimeprovider.h:
12676         Make stuff compile on windows. Fixes #345295.
12677
12678 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12679
12680         * gst/gst.c: (ensure_current_registry_forking):
12681           Print better details when child was terminated by signal.
12682
12683 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12684
12685         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12686           Print a warning rather than g_assert() if a plugin feature
12687           is a URI handler but returns no protocols (#353976).
12688
12689 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12690
12691         * docs/random/moving-plugins:
12692         Fix two typos.         
12693
12694 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12695
12696         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12697           Fix locking order, handle NULL function values properly.
12698
12699         * gst/gstinfo.h:
12700           Fix docs.
12701
12702         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12703           Initialise variable before using it and fix debug statement to
12704           print the address of the function rather than the address of the
12705           variable on the stack holding the address of the function.
12706
12707 2006-09-01  Wim Taymans  <wim@fluendo.com>
12708
12709         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12710         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12711         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12712         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12713         (gst_ghost_pad_parent_unset),
12714         (gst_ghost_pad_internal_do_activate_push),
12715         (gst_ghost_pad_internal_do_activate_pull),
12716         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12717         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12718         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12719         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12720         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12721         (gst_ghost_pad_new_no_target_from_template),
12722         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12723         More cleanups.
12724         Avoid needless typechecking in macros.
12725         Since the internal pad is always present and never changes, there is
12726         no need to locking or ref when retrieving it.
12727         Improve debugging a bit.
12728         Handle link errors when setting the target. Fixes #341029.
12729
12730 2006-09-01  Wim Taymans  <wim@fluendo.com>
12731
12732         * docs/libs/gstreamer-libs-sections.txt:
12733         * docs/plugins/gstreamer-plugins-sections.txt:
12734         Fix docs some more.
12735
12736         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12737         (gst_collect_pads_event):
12738         * libs/gst/base/gstcollectpads.h:
12739         Documentation updates.
12740         Free queued buffer when removing a pad.
12741
12742 2006-08-31  Michael Smith  <msmith@fluendo.com>
12743
12744         * gst/gstutils.c: (gst_element_link_pads),
12745         (gst_element_link_pads_filtered):
12746           Ensure that we set a capsfilter to NULL if we failed to link it
12747           when doing filtered linking, to avoid criticals.
12748
12749           No need to check for unreffing srcpad, which is explicly NULLed
12750           above (a trivial code cleanup).
12751
12752 2006-08-31  Wim Taymans  <wim@fluendo.com>
12753
12754         * docs/design/part-gstghostpad.txt:
12755         Update ascii art in documentation.
12756
12757         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12758         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12759         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12760         (gst_ghost_pad_internal_do_activate_push),
12761         (gst_ghost_pad_internal_do_activate_pull),
12762         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12763         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12764         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12765         (gst_ghost_pad_set_target):
12766         Small cleanups and leak fixes.
12767         Remove some checks now that the internal pad is never NULL.
12768         Fix the case where linking pads without a target would create nasty
12769         criticals. Fixes #341029.
12770         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12771         value of _set_target().
12772
12773         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12774         (gst_ghost_pad_suite):
12775         Some more tests for creating and linking untargeted ghostpads.
12776
12777 2006-08-31  Edward Hervey  <edward@fluendo.com>
12778
12779         * docs/gst/gstreamer-sections.txt:
12780         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12781         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12782         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12783         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12784         (gst_ghost_pad_new_from_template),
12785         (gst_ghost_pad_new_no_target_from_template):
12786         * gst/gstghostpad.h:
12787         Refactored *_new() functions.
12788         Templates are now used as a g_object_new() parameter.
12789         Use template in _do_getcaps() if we don't have a target.
12790         Small documentation cleanups.
12791         Added two new constructors:
12792         gst_ghost_pad_new_from_template()
12793         gst_ghost_pad_new_no_target_from_template()
12794         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12795         (gst_ghost_pad_suite):
12796         Added tests for new ghostpad instanciation functions.
12797
12798         API additions: gst_ghost_pad_new_from_template,
12799         gst_ghost_pad_new_no_target_from_template
12800
12801 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12802
12803         * docs/random/ensonic/profiling.txt:
12804           Ideas about qos profiling.
12805
12806 2006-08-29  Wim Taymans  <wim@fluendo.com>
12807
12808         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12809         Code cleanups.
12810         Fix memleak.
12811
12812 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12813
12814         * gst/gstxml.c:
12815           Improve and detypofy docs.
12816
12817         * tests/check/Makefile.am:
12818         * tests/check/gst/.cvsignore:
12819         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12820           Add a basic test suite for GstXML.
12821
12822 2006-08-29  Wim Taymans  <wim@fluendo.com>
12823
12824         * gst/gstelement.c: (activate_pads), (clear_caps),
12825         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12826         Clear the pad caps when the element shut down all of the pads and
12827         is not streaming data that could modify the caps. 
12828         Fixes #352958.
12829
12830 2006-08-28  Michael Smith  <msmith@fluendo.com>
12831
12832         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12833           Revert previous change; I misunderstood single-segment mode.
12834
12835 2006-08-28  Michael Smith  <msmith@fluendo.com>
12836
12837         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12838           Unset DISCONT on buffers when using single-segment mode.
12839
12840 2006-08-28  Wim Taymans  <wim@fluendo.com>
12841
12842         * gst/gstcaps.c: (gst_caps_merge_structure):
12843         * gst/gstcaps.h:
12844         Fix docs and indentation again.
12845
12846         * tests/check/gst/gstquery.c: (GST_START_TEST):
12847         Fix leak in tests and add some more tests.
12848
12849 2006-08-28  Edward Hervey  <edward@fluendo.com>
12850
12851         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12852         Inform GstSegment of the last stop position in order for the current
12853         segment to have a proper duration if it doesn't have a specific stop
12854         position from which a duration could be calculated.
12855         This bug was noticeable when a non-flushing, non-update new segment was
12856         followed by another segment (all buffers from the new segment were being
12857         dropped).
12858
12859 2006-08-28  Wim Taymans  <wim@fluendo.com>
12860
12861         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12862         Small comment update.
12863
12864         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12865         (gst_identity_transform_ip):
12866         Drop-probability is broken, mention this in the code with a 
12867         FIXME and also in the property description.
12868         Make silent also be silent about the drop messages.
12869
12870 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * docs/manual/appendix-win32.xml:
12873           Remove mention of popt, we don't depend on that any
12874           longer (#353136). Add some comments pointing out that
12875           this section is slightly outdated.
12876
12877 2006-08-28  Wim Taymans  <wim@fluendo.com>
12878
12879         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12880
12881         * gst/gstquery.c: (gst_query_new_segment):
12882         * tests/check/gst/gstquery.c: (GST_START_TEST):
12883         Initialize variables when creating a new segment query.
12884         Fixes #353121.
12885
12886 2006-08-28  Wim Taymans  <wim@fluendo.com>
12887
12888         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12889
12890         * gst/gstelement.c: (gst_element_get_bus):
12891         * tests/check/gst/gstelement.c: (GST_START_TEST):
12892         Check for NULL before _reffing the bus. Fixes #353122.
12893
12894 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12895
12896         * docs/manual/basics-bus.xml:
12897           Docs update: fix wrong callback return value explanation; add
12898           some lines about the implicit relationship between main loop
12899           and main context; remove duplicate main loop variable declaration.
12900
12901 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12904           Don't leak caps in unit test; add a few more simple
12905           checks. 
12906
12907 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12908
12909         * docs/gst/gstreamer-sections.txt:
12910         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12911         (gst_caps_structure_is_subset), (gst_caps_merge),
12912         (gst_caps_merge_structure):
12913         * gst/gstcaps.h:
12914         * libs/gst/base/gstbasetransform.c:
12915         (gst_base_transform_transform_caps):
12916         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12917           implement caps merging (fixes #352580)
12918
12919 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12920
12921         * tools/Makefile.am:
12922         * tools/gst-plot-timeline.py:
12923           add debug-log plotting developer tool (#340674)
12924
12925 2006-08-23  Wim Taymans  <wim@fluendo.com>
12926
12927         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12928         (gst_pad_stop_task):
12929         Improve debugging for task functions.
12930
12931         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12932         (gst_task_start), (gst_task_pause), (gst_task_join):
12933         Make sure that the task function started and finished after a 
12934         join(). 
12935         Don't try to push the task function on the threadpool multiple
12936         times.
12937         Improve the g_warning message with some useful suggestions
12938         about how to fix the problem. 
12939
12940 2006-08-23  Wim Taymans  <wim@fluendo.com>
12941
12942         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12943         Handle RESYNC correctly in _proxy_getcaps.
12944
12945 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12946
12947         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12948         (gst_xml_parse_memory), (gst_xml_get_element):
12949           Chain up to parent class in dispose function and also
12950           unref the elements in the toplevel_elements GList.
12951           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12952           Always return a reference in gst_xml_get_element() rather
12953           than only sometimes.
12954
12955         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12956           Don't leak GstXml object.
12957
12958 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12959
12960         * docs/gst/gstreamer-sections.txt:
12961         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12962         (gst_caps_merge):
12963         * gst/gstcaps.h:
12964         * libs/gst/base/gstbasetransform.c:
12965         (gst_base_transform_transform_caps):
12966           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12967           in a better way
12968
12969 2006-08-21  Edward Hervey  <edward@fluendo.com>
12970
12971         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12972         Implement GObject::dispose virtual method in GstXML so we can free the
12973         top_elements GList.
12974
12975 2006-08-21  Wim Taymans  <wim@fluendo.com>
12976
12977         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12978         (gst_buffer_create_sub):
12979         Copy duration/offset_end/caps when creating a subbuffer of the
12980         complete parent.
12981         Make the subbuffer read-only when we make the metadata writable for
12982         now. Fixes #351768.
12983
12984         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12985         Added check for metadata copy when creating subbuffers.
12986
12987 2006-08-21  Edward Hervey  <edward@fluendo.com>
12988
12989         * libs/gst/base/gstbasetransform.c:
12990         (gst_base_transform_buffer_alloc):
12991         Only call downstream buffer_alloc if transform element is passthrough
12992         or always_in_place. Closes #350449.
12993
12994 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12995
12996         * ChangeLog:
12997           ChangeLog surgery to add comments to previous changes
12998
12999 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13000
13001         * gst/gst.c:
13002           Add comments
13003
13004         * gst/gstpad.c: (gst_pad_set_active):
13005           Be more verbose in the log
13006
13007         * libs/gst/base/gstbasetransform.c:
13008         (gst_base_transform_transform_caps):
13009           Simplify caps to get rid of duplicates, fixes #345444
13010
13011 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13012
13013         * gst/gstvalue.c:
13014         * gst/gstvalue.h:
13015           Use these optimizations only internally.
13016
13017 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13018
13019         * gst/gstvalue.c: (gst_value_compare_list),
13020         (gst_value_compare_fraction_range),
13021         (gst_value_intersect_fraction_fraction_range),
13022         (gst_value_intersect_fraction_range_fraction_range),
13023         (gst_value_subtract_fraction_fraction_range),
13024         (gst_value_subtract_fraction_range_fraction_range),
13025         (gst_value_get_compare_func), (gst_value_compare),
13026         (gst_value_compare_with_func):
13027         * gst/gstvalue.h:
13028           Saves the expensive lookup of the compare function in many cases
13029          (#345444)
13030
13031 2006-08-18  Edward Hervey  <edward@fluendo.com>
13032
13033         * tests/check/gst/gstinfo.c: (gst_info_suite):
13034         Disable test that require gstdebug if it wasn't built in core.
13035
13036 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13037
13038         * docs/random/ensonic/logging.txt:
13039           update ideas
13040           
13041         * gst/gstinfo.c: (gst_debug_log_default):
13042           reorder fields, save some columns, add optional color codes for log
13043           levels
13044
13045 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13046
13047         * docs/random/ensonic/logging.txt:
13048           add ideas about making the logs a bit more useful
13049
13050 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * docs/pwg/advanced-events.xml:
13053         * docs/pwg/titlepage.xml:
13054           Update for 0.10 API (#340627). Add myself
13055           to authors list.
13056
13057 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13058
13059         * docs/libs/gstreamer-libs-docs.sgml:
13060         * docs/libs/gstreamer-libs-sections.txt:
13061         * libs/gst/check/gstbufferstraw.c:
13062           Make gstcheck stuff show up in docs (still needs to
13063           be documented properly though).
13064
13065 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13066
13067         * docs/gst/gstreamer-sections.txt:
13068         * gst/Makefile.am:
13069         * gst/gst.c: (init_post):
13070         * gst/gst_private.h:
13071         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13072         * gst/gstquark.h:
13073         * gst/gstquery.c: (gst_query_new_position),
13074         (gst_query_set_position), (gst_query_parse_position),
13075         (gst_query_new_duration), (gst_query_set_duration),
13076         (gst_query_parse_duration), (gst_query_new_convert),
13077         (gst_query_set_convert), (gst_query_parse_convert),
13078         (gst_query_new_segment), (gst_query_set_segment),
13079         (gst_query_parse_segment), (gst_query_new_seeking),
13080         (gst_query_set_seeking), (gst_query_parse_seeking):
13081         Add internal helpers for pre-registering quarks from static strings
13082         and using the quark values directly instead of looking them up when
13083         creating and parsing queries. Can be used for event construction too.
13084         Closes #350432.
13085
13086 2006-08-16  Wim Taymans  <wim@fluendo.com>
13087
13088         * gst/gstbin.c:
13089         Fix bogus docs.
13090
13091 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13092
13093         * gst/gstutils.c: (gst_util_set_value_from_string):
13094           Fix memleak (#351502).
13095
13096         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13097           Add unit test for most of gst_util_set_value_from_string()
13098           (not that one would want to encourage use of this function).
13099
13100 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13101
13102         * libs/gst/check/gstcheck.h:
13103           Use const gchar * variables in fail_unless_equals_string
13104           macro to avoid compiler warnings (and don't use tabs for
13105           indenting).
13106
13107 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13108
13109         * tools/gst-launch.c: (print_tag):
13110           More space on the left for the tag names, to cater
13111           for the 'extended comment' tag (not touching the
13112           string for the first line since it's translated).
13113
13114 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13115
13116         * libs/gst/check/gstcheck.h:
13117           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13118           print something when they fail.
13119
13120 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13121
13122         * docs/gst/gstreamer-sections.txt:
13123         * gst/gsttaglist.c: (_gst_tag_initialize):
13124         * gst/gsttaglist.h:
13125           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13126           Also change merge function for GST_TAG_COMMENT to
13127           use_first.
13128
13129 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13130
13131         * gst/gstinfo.c: (gst_debug_print_object):
13132           Make GST_PTR_FORMAT print messages as well.
13133
13134         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13135         (GST_START_TEST), (gst_info_suite):
13136           More tests.
13137
13138 2006-08-14  Edward Hervey  <edward@fluendo.com>
13139
13140         * gst/gstelementfactory.c: (gst_element_register):
13141         If the GstElementClass doesn't have a GstElementDetails with all fields
13142         filled up correctly (longname, description AND author), then error out
13143         nicely instead of crashing.
13144
13145 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13146
13147         * gst/gststructure.c:
13148           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13149
13150         * gst/gstvalue.h:
13151           Expand on the difference between arrays and lists as we use them.
13152           
13153 2006-08-14  Wim Taymans  <wim@fluendo.com>
13154
13155         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13156         If the parent state change function failed, don't assume we can safely
13157         stop the source, this will be done when the pads are deactivated.
13158
13159 2006-08-14  Wim Taymans  <wim@fluendo.com>
13160
13161         * gst/gstbuffer.c:
13162         * gst/gsttask.c: (gst_task_join):
13163         Small doc updates.
13164
13165         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13166         (gst_pad_stop_task):
13167         When pad (de)activation failed for some reason, restore the old
13168         activation mode and set the pad to flushing instead of assuming the
13169         pad is deactivated.
13170         If the _task_join() failed, reinstall the task on the pad so that it can
13171         be stopped later and return an error.
13172
13173 2006-08-11  Andy Wingo  <wingo@pobox.com>
13174
13175         * configure.ac:
13176         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13177         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13178         is only for users of API that don't want to see deprecated
13179         functions in the headers; people that want to compile out
13180         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13181         CFLAGS. Fixes the build of multifdsink, or will soon..
13182
13183 2006-08-11  Wim Taymans  <wim@fluendo.com>
13184
13185         * docs/gst/gstreamer-sections.txt:
13186         Add GstClockClass vmethod docs.
13187
13188         * gst/gstcaps.h:
13189         Mark #endif with comment for associated #if
13190
13191         * gst/gstclock.c: (gst_clock_id_wait):
13192         * gst/gstclock.h:
13193         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13194         most clock implementations.
13195         Document vmethods.
13196         Flesh out docs about resolution methods.
13197         API: GstClockClass::wait_jitter
13198
13199         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13200         (gst_system_clock_async_thread),
13201         (gst_system_clock_id_wait_jitter_unlocked),
13202         (gst_system_clock_id_wait_jitter):
13203         Use base class wait_jitter variant for improved performance
13204         due to less clock polling.
13205
13206 2006-08-11  Edward Hervey  <edward@fluendo.com>
13207
13208         * gst/gst.c: (gst_init_check), (init_post):
13209         Set gst as being initialized before scanning/updating the registry,
13210         since there might be my python plugin loader that calls gst_init() and
13211         we don't want to loop back in.
13212         Closes #350879
13213
13214 2006-08-11  Wim Taymans  <wim@fluendo.com>
13215
13216         * docs/design/part-qos.txt:
13217         Bring docs in line with the code. Mostly the sign of the jitter was
13218         wrong in the docs. Fixes #349943.
13219
13220         * gst/gstclock.c:
13221         Fix the docs for the jitter.
13222
13223         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13224         (gst_event_parse_tag), (gst_event_new_buffer_size),
13225         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13226         (gst_event_new_seek), (gst_event_parse_seek),
13227         (gst_event_new_navigation):
13228         Make sure the GstStructure has no parent when creating custom
13229         events.
13230         Add some more argument checking so that we avoid 0.0 rates.
13231         Flesh out the docs for the QoS event some more.
13232
13233 2006-08-11  Wim Taymans  <wim@fluendo.com>
13234
13235         * docs/gst/gstreamer-sections.txt:
13236         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13237         (ensure_current_registry_forking), (ensure_current_registry),
13238         (parse_one_option), (parse_goption_arg), (gst_deinit),
13239         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13240         * gst/gst.h:
13241         Doc updates.
13242         Added API and command line option to disable registry forking in
13243         addition to the environment variable.
13244         Constify some static arrays.
13245         Added some more debug.
13246         Don't deinit twice.
13247         API: gst_registry_fork_is_enabled()
13248         API: gst_registry_fork_set_enabled()
13249         API: --gst-disable-registry-fork command line option
13250         Fixes #348918.
13251
13252 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13253
13254         * gst/gst.c: (gst_init):
13255           Fix typo in error message.
13256
13257 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13258
13259         * libs/gst/controller/gstcontroller.h:
13260           fix ABI size-correction
13261
13262         * tests/check/libs/gdp.c: (gst_dp_suite):
13263           make tests that use deprecated API conditional
13264
13265 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13266
13267         * docs/libs/gstreamer-libs-sections.txt:
13268         * libs/gst/controller/gstcontroller.c:
13269         (_gst_controller_get_property), (_gst_controller_set_property),
13270         (_gst_controller_init), (_gst_controller_class_init):
13271         * libs/gst/controller/gstcontroller.h:
13272         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13273         (gst_object_set_control_rate):
13274           API: add gst_object_{s,g}et_control_rate(), add private data section,
13275           fix docs
13276
13277         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13278         * libs/gst/dataprotocol/dataprotocol.h:
13279           add deprecation guards to make gtk-doc happy and allow disabling cruft
13280
13281 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13282
13283         * tests/check/Makefile.am:
13284         * tests/check/gst/.cvsignore:
13285           Let's enable the new unit test as well.
13286
13287 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13288
13289         * configure.ac:
13290         * docs/gst/gstreamer-sections.txt:
13291         * gst/gstconfig.h.in:
13292         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13293         (_gst_info_printf_extension_ptr),
13294         (_gst_info_printf_extension_segment):
13295           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13296           register that lets us easily dump GstSegments into debug
13297           logs (#350419).
13298
13299         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13300         (info_segment_format_printf_extension), (gst_info_suite):
13301           Add simple unit test that logs a bunch of different segments (not
13302           valgrinded at the moment because of leaks in
13303           gst_debug_add_log_function).
13304
13305 2006-08-09  Edward Hervey  <edward@fluendo.com>
13306
13307         * libs/gst/base/gstbasetransform.c:
13308         (gst_base_transform_buffer_alloc):
13309         Even if we can't figure out the proper format to request downstream,
13310         call buffer_alloc() downstream with the input parameters without setting
13311         the caps on the srcpad. This will force negotiation in the chain
13312         function.
13313         Closes #350449
13314
13315 2006-08-08  Edward Hervey  <edward@fluendo.com>
13316
13317         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13318         Unlinking from a pad without a target is now a perfectly valid case
13319         which should NOT raise an assertion.
13320         This case would happen if a linked ghostpad its target set to NULL after
13321         it was previously linked.
13322
13323 2006-08-08  Edward Hervey  <edward@fluendo.com>
13324
13325         * tests/check/libs/gdp.c:
13326         Also comment out the test (see below).
13327
13328 2006-08-08  Edward Hervey  <edward@fluendo.com>
13329
13330         * tests/check/libs/gdp.c: (gst_dp_suite):
13331         Use the architecture information from config.h and not gcc macros
13332         in order to properly disable a test that fails on PPC64.
13333
13334 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13335
13336         * gst/gstelement.c: (gst_element_remove_pad):
13337           Don't crash printing the warning if the pad has no parent.
13338
13339 2006-08-02  Wim Taymans  <wim@fluendo.com>
13340
13341         * libs/gst/dataprotocol/dataprotocol.c:
13342         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13343         (gst_dp_crc), (gst_dp_header_payload_length),
13344         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13345         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13346         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13347         (gst_dp_event_from_packet), (gst_dp_validate_header),
13348         (gst_dp_validate_payload):
13349         Make debug category static
13350         Constify the crc table.
13351         Do some more arg checking in public functions.
13352         Fix some docs and do some small cleanups.
13353
13354         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13355         Add some more checks to see if GDP deals with bogus input.
13356
13357 2006-07-31  Wim Taymans  <wim@fluendo.com>
13358
13359         * gst/gstvalue.c: (gst_value_compare_list):
13360         Fix GstValueList comparison code. Fixes #347293.
13361
13362         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13363         Check to test GstValueList comparison.
13364
13365 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13366
13367         * gst/gstelementfactory.c: (gst_element_factory_create):
13368         Remove unnecessary ref/unref pair
13369
13370         * gst/parse/grammar.y:
13371         Make sure to free the parse buffer on all code paths.
13372         Move a g_free up to the error handler where it's easier to see.
13373
13374         * tests/check/gst/gstevent.c: (test_event):
13375         Extending timeout for downstream travelling events to 10 seconds to
13376         hopefully avoid intermittent failure on the buildbots.
13377
13378         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13379         Don't manually set the state of the src element - it will happen as a
13380         natural consequence of the pipeline changing state, and that way it
13381         will do it in the right order too.
13382
13383 2006-07-31  Wim Taymans  <wim@fluendo.com>
13384
13385         * libs/gst/base/gstbasetransform.c:
13386         (gst_base_transform_buffer_alloc):
13387         Use OBJECT_LOCK and refcounting to get the pad caps in the
13388         buffer_alloc function because the caps could change while we are
13389         busy with them. Fixes #349105
13390
13391 2006-07-31  Wim Taymans  <wim@fluendo.com>
13392
13393         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13394         Protect _PAD_CAPS with OBJECT_LOCK.
13395
13396 2006-07-31  Wim Taymans  <wim@fluendo.com>
13397
13398         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13399         (gst_pad_get_property), (gst_pad_activate_pull),
13400         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13401         (gst_pad_set_activate_function),
13402         (gst_pad_set_activatepull_function),
13403         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13404         (gst_pad_set_getrange_function),
13405         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13406         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13407         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13408         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13409         (gst_pad_set_acceptcaps_function),
13410         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13411         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13412         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13413         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13414         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13415         (gst_pad_configure_sink), (gst_pad_configure_src),
13416         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13417         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13418         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13419         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13420         (gst_pad_send_event):
13421         Use _DEBUG_OBJECT when it makes sense.
13422         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13423         Small cleanups and code reflows.
13424         Avoid caps refcounting in _accept_caps.
13425         Refactor alloc_buffer so that the code performed on the peer is in a
13426         separate function. Also if the pad does not implement a buffer alloc
13427         function, we should still check if the pad is flushing before falling
13428         back to the default allocator.
13429
13430 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13431
13432         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13433         Make all uses of identity and fakesink have silent=true to avoid
13434         serialising every passing data structure, which is breaking tests
13435         on FC4 for some unknown reason.
13436
13437 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13438
13439         * gst/parse/Makefile.am:
13440         * gst/parse/grammar.y:
13441         * gst/parse/parse.l:
13442           Reverted previous patch as it required to bump the flex dependency to
13443           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13444
13445 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13446
13447         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13448
13449         * gst/parse/Makefile.am:
13450         * gst/parse/grammar.y:
13451         * gst/parse/parse.l:
13452           push & pop the state of the lexer for reentrant use case
13453           Fixes #349180
13454
13455 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * libs/gst/base/gstbasesrc.h:
13458           Note in the docs that the ::newsegment vfunc is not actually used by
13459           GstBaseSrc.
13460
13461 2006-07-28  Wim Taymans  <wim@fluendo.com>
13462
13463         * libs/gst/base/gstcollectpads.c:
13464         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13465         (gst_collect_pads_clear), (gst_collect_pads_flush),
13466         (gst_collect_pads_event), (gst_collect_pads_chain):
13467         When flushing a pad, also clear the queued buffer so that we don't
13468         accidentally use it when we shouldn't.
13469         Fix leaks by inreffing incomming buffer.
13470         Flush out queued buffers in case of errors.
13471         Fixes #347452.
13472
13473 2006-07-28  Wim Taymans  <wim@fluendo.com>
13474
13475         * docs/random/phonon-gst:
13476         Random notes about a Phonon backend.
13477
13478 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13479
13480         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13481         Extra debug output
13482         * tests/check/libs/gdp.c: (gst_dp_suite):
13483         Take a whack at fixing the ppc compile using a different define to
13484         disable the broken test.
13485
13486         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13487         Remove excess g_print()
13488
13489 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13490
13491         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13492         Oops, meant to uncomment this line too to dampen the noise a bit.
13493
13494 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13495
13496         * gst/parse/grammar.y:
13497         * gst/parse/parse.l:
13498         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13499         (GST_START_TEST), (parse_suite):
13500         Fix some of the leaks exposed by extending the parse-launch testsuite,
13501         and move the 3 I can't figure out into a separate test that won't run
13502         the pipelines unless the appropriate line is uncommented.
13503
13504 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13505
13506         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13507           Requesting 0 bytes before the end of the file should result in
13508           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13509           unit test.
13510
13511 2006-07-27  Wim Taymans  <wim@fluendo.com>
13512
13513         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13514         Fix useless assert, a uint is always positive.
13515
13516         * gst/gststructure.c: (gst_structure_nth_field_name),
13517         (gst_structure_foreach), (gst_structure_map_in_place):
13518         Check input arguments for public functions to avoid obvious crashes.
13519
13520         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13521         * plugins/elements/gstfakesink.h:
13522         Do less useless typechecking.
13523
13524 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13525
13526         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13527           Do not use mmap() by default since there are a number of error
13528           conditions that we would like to handle in a non-fatal way that
13529           will result in a SIGBUS if we use mmap(). Examples: external
13530           devices (USB harddrive, portable music player) being unplugged
13531           while in use; file on mounted CD/DVD that can't be read because
13532           the medium is partly damaged. Fixes #348455 and #348475.
13533
13534 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13535
13536         * gst/gstquery.h:
13537         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13538         rates are a gdouble
13539
13540 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13541
13542         * gst/gstregistry.c:
13543           Move big documentation comment into class section header, so that it
13544           appears in the API docs.
13545
13546 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13547
13548         * docs/gst/gstreamer-sections.txt:
13549         Oops. Commit the docs additions too for new API.
13550         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13551
13552 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13553
13554         * gst/gststructure.c: (gst_structure_id_set),
13555         (gst_structure_id_set_valist):
13556         * gst/gststructure.h:
13557         Add API for setting values into structures without performing
13558         a quark lookup, if the appropriate quark is already known.
13559
13560         API: gst_structure_id_set
13561         API: gst_structure_id_set_valist
13562
13563         * gst/parse/grammar.y:
13564         * gst/parse/parse.l:
13565         Remove some dead code shown by the coverage information.
13566         Don't throw a critical g_warning when encountering a syntax error,
13567         just warn and let the normal error path handle it.
13568
13569         * plugins/elements/gstelements.c:
13570         Bump the rank of filesink up to PRIMARY so that it is preferred over
13571         gnomevfssink for file:// sink uri's
13572
13573         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13574         (GST_START_TEST), (run_delayed_test),
13575         (gst_parse_test_element_base_init),
13576         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13577         (gst_parse_test_element_change_state),
13578         (gst_register_parse_element), (parse_suite):
13579         Beef up the tests for parse syntax to check that more error cases
13580         fail as they are supposed to. Increases the test coverage a bit.
13581
13582 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13583
13584         * docs/manual/basics-elements.xml:
13585           Fix gst_element_link() example.
13586
13587         * gst/gstutils.c:
13588           Mention in API docs that one should usually gst_bin_add()
13589           elements to a bin or pipeline before doing the linking.
13590           
13591 2006-07-26  Wim Taymans  <wim@fluendo.com>
13592
13593         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13594         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13595         Avoid function call for known types by keeping the buffer and
13596         subbuffer GType global.
13597
13598         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13599         Random silly optimisations in read() path.
13600
13601 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13602
13603         * tools/gst-launch.c: (main):
13604           If the top-level of the parse is a normal bin, it doesn't do the
13605           right logic to run as a top-level element, so place it inside a
13606           pipeline.
13607
13608 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13609
13610         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13611           Remove superfluous g_object_notify() calls, GObject does
13612           that for us automatically.
13613
13614 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13615
13616         * gst/gstinfo.h:
13617           on Win32, use dllspec to export the debug category symbols
13618
13619 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13620
13621         * gst/gsttaglist.c: (_gst_tag_initialize):
13622           Allow more than one GST_TAG_IMAGE per taglist.
13623
13624 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13625
13626         * gst/gstminiobject.c:
13627           update docs
13628         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13629         (gst_fd_src_create):
13630           log recurring events at LOG level
13631           add more debug for when the fd gets set
13632
13633 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13634
13635         * gst/gstparse.c: (gst_parse_launch):
13636           Also remove reentrance checks if flex is MT safe (#348179)
13637          Fix my empty ChangeLog entry below
13638
13639 2006-07-21  Andy Wingo  <wingo@pobox.com>
13640
13641         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13642
13643         * libs/gst/check/Makefile.am
13644         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13645         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13646         * libs/gst/check/gstbufferstraw.h:
13647         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13648         functions, thus proving I am still a GStreamer haxor. OK I wrote
13649         them a long time ago, but anyways.
13650
13651 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13652
13653         * configure.ac:
13654         * gst/gstparse.c: (gst_parse_launch):
13655           Check for flex version and omit mutex if we have a MT save flex
13656           (fixes #348179)
13657
13658 2006-07-21  Wim Taymans  <wim@fluendo.com>
13659
13660         * gst/gstparse.c: (gst_parse_launch):
13661         Protect recursive calls to _parse with a recursive mutex
13662         and busy flag.
13663
13664 2006-07-21  Wim Taymans  <wim@fluendo.com>
13665
13666         * tests/check/gst/gstpad.c: (GST_START_TEST):
13667         Fix leak in test.
13668
13669 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13670
13671         * gst/gstparse.c: (gst_parse_launch):
13672           Do not hang on recursive usage of gst_parse_launch()
13673
13674 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13675
13676         * gst/gsttaglist.c:
13677           Add some more docs, comments and FIXME 0.11s here and there
13678           and also fix some typos.
13679
13680 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13681
13682         * gst/gstsegment.h:
13683           Convert tabs to spaces for better readability. 
13684
13685 2006-07-20  Edward Hervey  <edward@fluendo.com>
13686
13687         * tests/check/libs/gdp.c: (gst_dp_suite):
13688         the test_buffer test fails at line 140 on ppc64 at the following
13689         check:
13690         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13691                 GST_BUFFER_FLAG_IN_CAPS),
13692                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13693         See bug #348114 for more details.
13694
13695 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13696
13697         * docs/pwg/advanced-scheduling.xml:
13698         * gst/gstpad.c:
13699           Fix typos (#348000).
13700
13701 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13702
13703         * docs/pwg/intro-basics.xml:
13704           Fix wrong links (#347927).
13705
13706 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13707
13708         * gst/gstregistry.h:
13709         * gst/gstregistryxml.c: (load_feature),
13710         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13711         * win32/common/config.h:
13712           make --disable-index work (#342564)
13713
13714 2006-07-18  Wim Taymans  <wim@fluendo.com>
13715
13716         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13717
13718         * gst/Makefile.am:
13719         * gst/gsttrace.h:
13720         The attached patch adds two missing defines to gsttrace.h when tracing
13721         is disabled.  It also corrects one existing define.
13722         Fixes #347756.
13723
13724 2006-07-17  Wim Taymans  <wim@fluendo.com>
13725
13726         * docs/gst/gstreamer-sections.txt:
13727         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13728         * gst/gst.h:
13729         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13730         Add two functions to check and change the SIGSEGV behaviour
13731         when loading plugins.
13732         Don't mess with the SIGSEGV handler when we were told not to.
13733         Fixes #347794.
13734         API: gst_segtrap_is_enabled
13735         API: gst_segtrap_set_enabled
13736
13737 2006-07-14  Wim Taymans  <wim@fluendo.com>
13738
13739         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13740         * tests/check/elements/filesrc.c: (GST_START_TEST):
13741         Revert fix for regression in #347408 after release.
13742
13743 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13744
13745         Patch by: Antoine Tremblay <hexa00 at gmail com>
13746
13747         * gst/gstutils.c: (gst_element_unlink):
13748           Free iterator when done (#347311).
13749
13750         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13751           And add a test case for this.
13752
13753 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13754
13755         * configure.ac:
13756         Bump nano back to CVS
13757
13758 === release 0.10.9 ===
13759
13760 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13761
13762         * configure.ac:
13763           releasing 0.10.9, "On the road again"
13764
13765 2006-07-13  Wim Taymans  <wim@fluendo.com>
13766
13767         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13768         * tests/check/elements/filesrc.c: (GST_START_TEST):
13769         Revert pull-0 fix for release. Disable check. Fixes #347408.
13770
13771 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13772
13773         * libs/gst/dataprotocol/dataprotocol.c:
13774         (gst_dp_event_from_packet_1_0):
13775           Fixes #347337: failure to deserialize event packets with
13776           empty payload (only event type)
13777
13778 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13779
13780         * gst/Makefile.am:
13781           do not install a .c file in the header directory
13782
13783 2006-07-13  Edward Hervey  <edward@fluendo.com>
13784
13785         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13786         GhostPad no longer implicitely use the padtemplates of the targets.
13787         Fixes #347384
13788
13789 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13790
13791         * gst/gstvalue.c: (gst_value_compare_list),
13792         (gst_value_compare_array), (_gst_value_initialize):
13793         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13794         Make GstValueArray comparison be order dependent as designed.
13795         Add checks for value lists and value array comparisons.
13796         Fixes #347221
13797
13798 2006-07-11  Edward Hervey  <edward@fluendo.com>
13799
13800         * gst/gstbin.c: (activate_pads),
13801         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13802         (gst_bin_change_state_func):
13803         (de)activate src pads before calling state_change on the childs.
13804         This is to avoid the case where a src ghostpad is blocked (holding the
13805         stream lock), which would block the deactivation of the ghostpad's
13806         target pad.
13807         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13808         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13809         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13810         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13811         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13812         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13813         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13814         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13815         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13816         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13817         (gst_ghost_pad_class_init),
13818         (gst_ghost_pad_internal_do_activate_push),
13819         (gst_ghost_pad_internal_do_activate_pull),
13820         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13821         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13822         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13823         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13824         GhostPads now create their internal GstProxyPad at creation (and not
13825         when they're linked, as it was being done previously).
13826         The internal and target pads are linked straight away.
13827         The data will also travel through the other pad in order to make
13828         pad blocking and probes non-hackish (the probe/block now really happens
13829         on the GhostPad and not on the target).
13830         * gst/gstpad.c: (gst_pad_set_blocked_async),
13831         (gst_pad_link_prepare), (gst_pad_push_event):
13832         Remove previous ghostpad cruft.
13833         * gst/gstutils.c: (gst_pad_add_data_probe),
13834         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13835         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13836         (gst_pad_remove_buffer_probe):
13837         Remove previous ghost pad cruft.
13838         Added more detailed debug statements.
13839         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13840         Fix the testsuite for refcounting changes.
13841         The comments about who has references were correct, but the refcount
13842         being checked wasn't the same (!?!).
13843
13844         Fixes #341029
13845
13846 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13847
13848         * docs/gst/gstreamer-sections.txt:
13849         * gst/gstconfig.h.in:
13850         More docs for configuration options, add docs to gtk-doc.
13851
13852 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13853
13854         * gst/Makefile.am:
13855         * gst/gstconfig.h.in:
13856         * win32/common/config.h:
13857         Fix build when disabling tracing (fixes #344016). Also start to document
13858         the defines that disable the sub-systems.
13859
13860 2006-07-10  Edward Hervey  <edward@fluendo.com>
13861
13862         * gst/gst.c: (ensure_current_registry_forking):
13863         let's make valgrind happy...
13864
13865 2006-07-09  Wim Taymans  <wim@fluendo.com>
13866
13867         * gst/gstelement.c: (activate_pads),
13868         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13869         Better pad activation code: Reset the collect value too on resync.
13870         Add some comments.
13871
13872 2006-07-09  Wim Taymans  <wim@fluendo.com>
13873
13874         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13875         (gst_pad_activate_push):
13876         Use some more macros where it makes sense.
13877         Allow pad mode switching instead of asserting. When a pad
13878         is activated in one mode and we activate it in another, 
13879         deactivate it first before activating it in a different mode.
13880         Fixes #329198.
13881
13882 2006-07-08  Andy Wingo  <wingo@pobox.com>
13883
13884         * tools/gst-launch.c (main): Handle err == NULL.
13885
13886         * gst/gst.c (init_post, ensure_current_registry)
13887         (ensure_current_registry_forking)
13888         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13889         factoring out the registry scanning into separate functions. Don't
13890         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13891         Better environment var name/interface suggestions accepted.
13892
13893 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13894
13895         * gst/gstobject.c: (gst_object_set_name_default),
13896         (gst_object_set_name):
13897           Random micro-optimisation: don't use a hash table
13898           with strings as keys and the usual strdup/strcmp
13899           involved, but rather just use the GQuark of the
13900           type name as key, since it needs to be looked up
13901           anyway to get the type name string.
13902
13903         * tests/check/gst/gstobject.c: (GST_START_TEST):
13904           Fix various leaks.
13905
13906 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13907
13908         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13909         (gst_bin_iterate_all_by_interface):
13910           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13911           GTypes are gulongs and thus the top 4 bytes might be cut
13912           off on some platforms when doing GPOINTER_TO_INT, leading
13913           to invalid GTypes and bad things happening (see RH bug #179654).
13914           Also add a check to make sure the type passed in is really
13915           an interface type.
13916
13917 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13918
13919         * .cvsignore:
13920           Ignore more.
13921
13922 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13923
13924         * Makefile.am:
13925         * configure.ac:
13926         * gst-element-check.m4:
13927         * gst-element-check.m4.in:
13928           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13929           instead of the unversioned gst-inspect (#324176, #168659).
13930
13931 2006-07-06  Wim Taymans  <wim@fluendo.com>
13932
13933         * gst/gstmessage.h:
13934         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13935         warnings.
13936
13937 2006-07-06  Wim Taymans  <wim@fluendo.com>
13938
13939         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13940         (gst_base_src_wait), (gst_base_src_update_length),
13941         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13942         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13943         (gst_base_src_loop), (gst_base_src_start),
13944         (gst_base_src_activate_pull):
13945         Update docs.
13946         blocksize == 0 now means the default blocksize when working in push
13947         based mode.
13948         Remove some pointless asserts in _wait function.
13949         Fix offset/length calculations and EOS handling. We can now pull 0
13950         bytes as well, which is allowed.
13951         use _check_get_range() to decide if we can operate in _pull based
13952         mode.
13953         Fix refcounting leak when check_get_range function was not 
13954         implemented.
13955         API GstBaseSrc::blocksize range can be 0 too now (default)
13956
13957         * tests/check/elements/filesrc.c: (GST_START_TEST),
13958         (filesrc_suite):
13959         Added check to test _get_range() behaviour.
13960
13961 2006-07-06  Wim Taymans  <wim@fluendo.com>
13962
13963         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13964         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13965         (gst_pad_pull_range):
13966         * gst/gstpad.h:
13967         Lots of comments and docs added to the pad functions.
13968         Flesh out the expected behaviour of the get_range() functions.
13969
13970 2006-07-06  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/gstbus.h:
13973         * gst/gstclock.h:
13974         * gst/gstevent.h:
13975         * gst/gstiterator.h:
13976         * gst/gstpad.h:
13977         * gst/gstplugin.h:
13978         * gst/gsttask.h:
13979         Remove comma at end of enumerator list. 
13980
13981 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13982
13983         * win32/common/libgstbase.def:
13984         * win32/common/libgstdataprotocol.def:
13985         * win32/common/libsgtreamer.def:
13986         Add new exported functions.
13987
13988 2006-07-05  Wim Taymans  <wim@fluendo.com>
13989
13990         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13991         Add some more docs here and there.
13992
13993 2006-07-05  Wim Taymans  <wim@fluendo.com>
13994
13995         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13996         (gst_base_sink_loop), (gst_base_sink_get_position):
13997         When operating in pull mode update the offset so that we
13998         read sequentially.
13999
14000 2006-07-05  Wim Taymans  <wim@fluendo.com>
14001
14002         * gst/gstregistryxml.c: (read_string):
14003         Avoid strdup. (will happen in libxml, but hey!)
14004
14005         * gst/gsturi.c:
14006         Add some more docs.
14007
14008 2006-07-05  Wim Taymans  <wim@fluendo.com>
14009
14010         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14011         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14012         (gst_buffer_suite):
14013         No point in checking if the size of the subbuffer > 0, the
14014         code handles it correclty as demonstrated by unit test.
14015         Also add a unit test for the zero sized _new_and_alloc and
14016         _copy. Fixes #346663.
14017
14018 2006-07-05  Wim Taymans  <wim@fluendo.com>
14019
14020         * libs/gst/base/gstbasetransform.c:
14021         (gst_base_transform_prepare_output_buffer),
14022         (gst_base_transform_buffer_alloc),
14023         (gst_base_transform_handle_buffer):
14024         Make sure the buffer we pass to transform_ip has a refcount of
14025         1 and thus is writable. Fixes #343196
14026
14027 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14028
14029         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14030         (gst_file_src_init), (gst_file_src_set_property),
14031         (gst_file_src_get_property), (gst_file_src_map_region):
14032         * plugins/elements/gstfilesrc.h:
14033         Add "sequential" property, off by default, to use madvise and hint
14034         to the kernel that sequential access is desired.
14035         Touch all retrieved pages by default to ensure they are pulled
14036         into memory. (Closes #345720)
14037
14038 2006-07-03  Wim Taymans  <wim@fluendo.com>
14039
14040         * docs/design/part-block.txt:
14041         * docs/design/part-dynamic.txt:
14042         Small docs updates.
14043
14044 2006-07-03  Wim Taymans  <wim@fluendo.com>
14045
14046         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14047         (gst_caps_unref), (gst_static_caps_get),
14048         (gst_caps_append_structure):
14049         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14050         Use GSlice when the glib we build against is >= 2.10
14051
14052 2006-07-03  Wim Taymans  <wim@fluendo.com>
14053
14054         * gst/gstelement.c: (gst_element_pads_activate):
14055         Small cleanup in pad activation code.
14056
14057 2006-07-03  Wim Taymans  <wim@fluendo.com>
14058
14059         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14060
14061         * gst/gst-i18n-app.h:
14062         * gst/gst-i18n-lib.h:
14063         * tools/gst-inspect.c: (print_signal_info):
14064         The attached patch will make the inclusion of gettext.h unconditional in
14065         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14066         libintl.h in tools/gst-inspect.c.
14067         This allows use of --disable-nls again and fixes #344642.
14068
14069 2006-07-03  Edward Hervey  <edward@fluendo.com>
14070
14071         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14072         Implement pad blocking on events according to part-block.txt.
14073         More comments on behaviour.
14074         * tests/check/gst/gstevent.c: (test_event):
14075         Send event to peer pad of blocked pad (else it will block).
14076
14077 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14078
14079         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14080         (gst_check_run_suite):
14081           if we get the wrong message, give us the types as string
14082         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14083           Fix a translatable
14084         * tests/check/elements/filesrc.c: (GST_START_TEST):
14085           add a test for trying to open a non-existing file
14086
14087 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14088
14089         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14090           add a test for adding self
14091
14092 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14093
14094         * libs/gst/check/gstcheck.h:
14095           add some assert_ as alias for fail_unless_*
14096         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14097           increase test coverage
14098
14099 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14100
14101         * Makefile.am:
14102           include lcov.mak for lcov coverage generation
14103         * tools/Makefile.am:
14104           add to CLEANFILES
14105
14106 2006-07-02  Edward Hervey  <edward@fluendo.com>
14107
14108         * tests/check/elements/.cvsignore:
14109         moaping
14110
14111 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14112
14113         * configure.ac:
14114           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14115         * tests/check/Makefile.am:
14116           clean up gcov files
14117
14118 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14119
14120         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14121           remove gst_caps_simplify; it was not declared and not used
14122           and deprecated in 0.8
14123
14124 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14125
14126         * docs/faq/gst-uninstalled:
14127           don't put empty paths on PYTHONPATH
14128         * docs/gst/gstreamer-sections.txt:
14129           remove some symbols that are not there
14130
14131 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14132
14133         * gst/gstcaps.c: (gst_caps_compare_structures):
14134           whitespace fixes
14135         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14136         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14137           add more tests
14138
14139 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14140
14141         * libs/gst/dataprotocol/Makefile.am:
14142           build dataprotocol test by linking to the lib, instead of
14143           compiling the source, so we get coverage
14144         * tests/check/Makefile.am:
14145         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14146         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14147           add a test for filesrc
14148
14149 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14150
14151         * tests/check/gst/gststructure.c: (GST_START_TEST),
14152         (gst_structure_suite):
14153           Push coverage from 59.04% to 70.00%
14154
14155 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14156
14157         * tests/check/Makefile.am:
14158           gst-inspect every element; this makes sure that we also get
14159           coverage on element's get/set functions
14160
14161 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14162
14163         * configure.ac:
14164           set CFLAGS and friends to -O0 if gcov is being used
14165           add GCOV LIBS
14166         * gst/Makefile.am:
14167         * libs/gst/base/Makefile.am:
14168         * libs/gst/check/Makefile.am:
14169         * libs/gst/controller/Makefile.am:
14170         * libs/gst/dataprotocol/Makefile.am:
14171         * libs/gst/net/Makefile.am:
14172         * plugins/elements/Makefile.am:
14173         * plugins/indexers/Makefile.am:
14174           add makefile rules to generate gcov data and clean up
14175         * tests/check/Makefile.am:
14176           add a coverage target that generates an html overview
14177           of coverage data
14178
14179 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14180
14181         * tests/check/elements/fakesink.c:
14182         * tests/check/elements/fakesrc.c:
14183         * tests/check/elements/fdsrc.c:
14184         * tests/check/elements/identity.c:
14185         * tests/check/generic/sinks.c: (gst_sinks_suite):
14186         * tests/check/generic/states.c:
14187         * tests/check/gst/gst.c:
14188         * tests/check/gst/gstabi.c:
14189         * tests/check/gst/gstbin.c:
14190         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14191         * tests/check/gst/gstbus.c: (gst_bus_suite):
14192         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14193         * tests/check/gst/gstelement.c:
14194         * tests/check/gst/gstevent.c: (gst_event_suite):
14195         * tests/check/gst/gstghostpad.c:
14196         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14197         * tests/check/gst/gstmessage.c: (gst_message_suite):
14198         * tests/check/gst/gstminiobject.c:
14199         * tests/check/gst/gstobject.c:
14200         * tests/check/gst/gstpad.c:
14201         * tests/check/gst/gstpipeline.c:
14202         * tests/check/gst/gstplugin.c:
14203         * tests/check/gst/gstquery.c: (gst_query_suite):
14204         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14205         * tests/check/gst/gststructure.c:
14206         * tests/check/gst/gstsystemclock.c:
14207         * tests/check/gst/gsttag.c:
14208         * tests/check/gst/gsttask.c: (gst_task_suite):
14209         * tests/check/gst/gstutils.c:
14210         * tests/check/gst/gstvalue.c:
14211         * tests/check/libs/adapter.c:
14212         * tests/check/libs/basesrc.c:
14213         * tests/check/libs/collectpads.c:
14214         * tests/check/libs/controller.c:
14215         * tests/check/libs/gdp.c: (gst_dp_suite):
14216         * tests/check/libs/gstnetclientclock.c:
14217         * tests/check/libs/gstnettimeprovider.c:
14218         * tests/check/libs/libsabi.c: (libsabi_suite):
14219         * tests/check/libs/typefindhelper.c:
14220         * tests/check/pipelines/cleanup.c:
14221         * tests/check/pipelines/parse-launch.c:
14222         * tests/check/pipelines/simple-launch-lines.c:
14223         * tests/check/pipelines/stress.c: (stress_suite):
14224           use the new macro
14225
14226 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14227
14228         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14229         * libs/gst/check/gstcheck.h:
14230           create a macro and function so that the simple unit test
14231           case can be just one macro to create main()
14232
14233 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14234
14235         * gst/gstbin.c: (gst_bin_restore_thyself):
14236         * gst/gstxml.c: (gst_xml_make_element):
14237           Fix deserialisation from XML. Set parent manually
14238           instead of using gst_bin_add(), since gst_bin_add()
14239           will unlink all pads of the element being added.
14240           Fixes #341667.
14241
14242 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14243
14244         Patch by: Peter Kjellerstedt <pkj at axis com>
14245
14246         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14247           Fix missing g_strdup() and double free when using the
14248           --gst-plugin-load command line option (#346097).
14249
14250 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14251
14252         * gst/gstinfo.c:
14253           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14254
14255         * libs/gst/net/gstnetclientclock.c:
14256         * libs/gst/net/gstnettimeprovider.c:
14257           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14258
14259 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14260
14261         * docs/manual/advanced-dataaccess.xml:
14262           Fix buffer probe example compilation in
14263           ADM (#345708).
14264         
14265 2006-06-22  Edward Hervey  <edward@fluendo.com>
14266
14267         * gst/gstelement.c: (gst_element_pads_activate):
14268         We need to deactivate src pads first and then sink pads.
14269         The reason is the src pads might be blocking while holding the streaming
14270         lock, so we need to deactivate them first so that deactivating the sink
14271         pads doesn't block (since it will require the streaming lock).
14272
14273 2006-06-22  Wim Taymans  <wim@fluendo.com>
14274
14275         * libs/gst/base/gstbasetransform.c:
14276         (gst_base_transform_buffer_alloc):
14277         Forgot to remove two unneeded unrefs.
14278         Simplify a check _is_equal allready checks the obvious case.
14279
14280 2006-06-22  Wim Taymans  <wim@fluendo.com>
14281
14282         * docs/design/part-block.txt:
14283         Some docs about what pad_block should do.
14284
14285 2006-06-22  Wim Taymans  <wim@fluendo.com>
14286
14287         * gst/gstcaps.c: (gst_caps_replace):
14288         Fix crasher when passed NULL. Doc clarification.
14289         Optimize for the trivial case.
14290
14291         * gst/gstpipeline.c: (gst_pipeline_change_state):
14292         Small cleanups.
14293
14294         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14295         Small documentation cleanup.
14296
14297         * libs/gst/base/gstbasetransform.c:
14298         (gst_base_transform_buffer_alloc):
14299         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14300         is what we need and it avoids a whole lot of redundant 
14301         refcount operations.
14302
14303 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14304
14305         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14306
14307         * docs/manual/advanced-dataaccess.xml:
14308           Fix 'Embedding static elements' section to use
14309           GST_PLUGIN_DEFINE_STATIC (#345607).
14310
14311 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14312
14313         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14314           Attempt to 'fix' spuriously failing test case: it seems like the
14315           timeout of half a second is simply too small when the system is under
14316           load otherwise, and the timeout doesn't really seem to serve any
14317           particular purpose here. Give the pipeline a few seconds to preroll
14318           first, and then give it another half a second to go from PAUSED to
14319           PLAYING and marshal the message into the main thread.
14320
14321 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14322
14323         * tools/gst-feedback-m.m:
14324           Don't only use unversioned tools, try versioned tools as well
14325           (#345086).
14326
14327 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14328
14329         * gst/gstbus.c: (gst_bus_class_init):
14330           Fix some typos, make docs more explicit.
14331
14332 2006-06-20  Wim Taymans  <wim@fluendo.com>
14333
14334         * tests/check/gst/gstghostpad.c: (block_callback),
14335         (GST_START_TEST), (gst_ghost_pad_suite):
14336         Added some more ghostpad tests, mainly blocking
14337         and probes.
14338
14339 2006-06-16  Wim Taymans  <wim@fluendo.com>
14340
14341         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14342         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14343         (gst_file_sink_event), (gst_file_sink_render):
14344         * plugins/elements/gstfilesink.h:
14345         Check if we can seek in the file instead of assuming
14346         we always can. Post an error when we are asked to seek in a
14347         non-seekable file (like a fifo). Fixes #343312.
14348         Some cleanups.
14349
14350 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14351
14352         * tools/gst-launch.1.in:
14353           Un-garble (fourcc) bit in filtered caps section.
14354
14355 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14356
14357         * docs/manual/advanced-autoplugging.xml:
14358         * docs/manual/basics-helloworld.xml:
14359         * docs/manual/highlevel-components.xml:
14360           Don't leak bus reference in sample code.
14361
14362 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14363
14364         * autogen.sh:
14365           Add default for new --enable-plugin-docs switch.
14366
14367         * configure.ac:
14368           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14369           Fixes #344039.
14370
14371         * docs/Makefile.am:
14372           Use new ENABLE_PLUGIN_DOCS conditional.
14373
14374 2006-06-14  Wim Taymans  <wim@fluendo.com>
14375
14376         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14377         Make it clear with a FIXME and a real define what the #if 0
14378         previously disabled.
14379
14380 2006-06-14  Wim Taymans  <wim@fluendo.com>
14381
14382         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14383         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14384         * libs/gst/base/gstbasetransform.c:
14385         (gst_base_transform_sink_eventfunc):
14386         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14387         Don't randomly and silently reset a segment when the format 
14388         changes as this is a bug somewhere upstream. Fixes #330379.
14389
14390 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14391
14392         Patch by: Wouter Paesen  <wouter at kangaroot net>
14393
14394         * libs/gst/controller/gstcontroller.c:
14395         (gst_controlled_property_new):
14396           Fix controlling of float properties (#344849).
14397
14398         * tests/check/libs/controller.c:
14399         (gst_test_mono_source_get_property),
14400         (gst_test_mono_source_set_property),
14401         (gst_test_mono_source_class_init), (GST_START_TEST):
14402           While we're at it, add some float stuff to unit test.
14403
14404 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14405
14406         * docs/README:
14407         * docs/images/gdp-header.svg:
14408           add a gdp image
14409         * docs/libs/Makefile.am:
14410         * docs/libs/gdp-header.png:
14411         * libs/gst/dataprotocol/dataprotocol.c:
14412           add it to the API docs
14413         * docs/manual/intro-motivation.xml:
14414           fix typo
14415
14416 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14417
14418         * gst/gst.c: (scan_and_update_registry), (init_post):
14419           If the fork()'ed child process can't write the updated registry cache
14420           file to disk for some reason, make it exit with a failure exit code,
14421           so that the parent can then re-scan the plugins itself and update the
14422           registry structures in memory and work with that (rather than failing
14423           when creating elements because seemingly no plugins are available).
14424           Refactor registry scanning code into separate function for this and
14425           also separate fork() and non-fork() code paths. Fixes #344748.
14426
14427 2006-06-13  Wim Taymans  <wim@fluendo.com>
14428
14429         * docs/manual/advanced-dataaccess.xml:
14430         Fix wrong PluginDesc. Fixes #344755.
14431
14432 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14433
14434         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14435           Fix silly bug that prevented us from creating
14436           ~/.gstreamer-0.10 and writing the registry in one
14437           go (the first call to g_mkstemp() would overwrite the
14438           placeholder in the template string, so the second call
14439           to g_mkstemp() after creating the missing directory
14440           would then error out with 'invalid argument').
14441
14442 2006-06-13  Edward Hervey  <edward@fluendo.com>
14443
14444         * gst/gst.c: (init_post):
14445         Free string.
14446
14447 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14448
14449         * gst/glib-compat-private.h:
14450         * gst/glib-compat.c:
14451         * gst/glib-compat.h:
14452         * gst/gstvalue.c: (gst_value_serialize_flags):
14453           remove GLib 2.6 compatibility code
14454
14455 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14456
14457         * gst/parse/Makefile.am:
14458           Fix build with 'make -j N' even more (#340016).
14459
14460 2006-06-12  Wim Taymans  <wim@fluendo.com>
14461
14462         * docs/gst/gstreamer-sections.txt:
14463         Fix docs.
14464
14465 2006-06-12  Wim Taymans  <wim@fluendo.com>
14466
14467         * gst/gstsegment.c: (gst_segment_set_duration),
14468         (gst_segment_set_last_stop), (gst_segment_set_seek),
14469         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14470         (gst_segment_to_running_time), (gst_segment_clip):
14471         Use G_UNLIKELY to help the compiler a bit.
14472
14473 2006-06-12  Wim Taymans  <wim@fluendo.com>
14474
14475         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14476
14477         * gst/gstevent.c: (gst_event_get_type):
14478         * gst/gstmessage.c:
14479         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14480         (gst_pad_push):
14481         constify quark registration strings. Fixes #344115
14482         Avoid unneeded type checking is _pad_push() by internally
14483         calling gst_pad_chain_unchecked().
14484
14485 2006-06-12  Wim Taymans  <wim@fluendo.com>
14486
14487         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14488         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14489         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14490         (gst_buffer_is_span_fast), (gst_buffer_span):
14491         Init _type for consistency.
14492         Use _FLAGS macro to avoid type check.
14493         Avoid unneeded type checks in subbufer code.
14494
14495 2006-06-12  Wim Taymans  <wim@fluendo.com>
14496
14497         * gst/gst.c: (gst_debug_help):
14498         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14499         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14500         (gst_plugin_feature_list_free):
14501         * gst/gstregistry.c: (gst_registry_add_plugin),
14502         (gst_registry_add_feature), (gst_registry_plugin_filter),
14503         (gst_registry_feature_filter), (gst_registry_find_plugin),
14504         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14505         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14506         * gst/gstregistryxml.c: (load_feature),
14507         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14508         * gst/gstminiobject.c: (gst_mini_object_unref),
14509         (gst_mini_object_replace), (gst_value_mini_object_free),
14510         (gst_value_mini_object_copy):
14511         Use _CAST macros to avoid unneeded type checking.
14512         Added some more G_UNLIKELY.
14513
14514 2006-06-12  Wim Taymans  <wim@fluendo.com>
14515
14516         * gst/gstbuffer.h:
14517         Avoid unneeded type checking.
14518         API: GST_BUFFER_IS_DISCONT
14519
14520         * gst/gstminiobject.h:
14521         Avoid type check in flag accessor.
14522
14523         * gst/gstelementfactory.h:
14524         * gst/gstplugin.h:
14525         * gst/gstpluginfeature.h:
14526         Add _CAST macros.
14527         API: GST_ELEMENT_FACTORY_CAST
14528         API: GST_PLUGIN_CAST
14529         API: GST_PLUGIN_FEATURE_CAST
14530
14531 2006-06-12  Wim Taymans  <wim@fluendo.com>
14532
14533         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14534         (gst_object_unref):
14535         Add G_UNLIKELY in type registration.
14536         Avoid type check in _ref/_unref since that is also
14537         done in glib.
14538
14539 2006-06-12  Wim Taymans  <wim@fluendo.com>
14540
14541         * gst/gsterror.c: (gst_g_error_get_type):
14542         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14543         (gst_static_pad_template_get_type):
14544         * gst/gsttaglist.c: (gst_tag_list_get_type):
14545         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14546         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14547         * gst/gsturi.c: (gst_uri_handler_get_type):
14548         * gst/gstvalue.c: (gst_date_get_type):
14549         * gst/gstxml.c: (gst_xml_get_type):
14550         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14551         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14552         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14553         Add G_UNLIKELY in type registration.
14554
14555 2006-06-12  Wim Taymans  <wim@fluendo.com>
14556
14557         * tools/gst-inspect.c: (print_signal_info):
14558         Properly print enum values.
14559
14560 2006-06-12  Wim Taymans  <wim@fluendo.com>
14561
14562         * gst/gstinfo.c: (gst_debug_set_active),
14563         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14564         * gst/gstinfo.h:
14565         Add some G_[UN]LIKELY.
14566         Maintain __gst_debug_min to avoid formatting the arguments of
14567         debug messages that will be dropped anyway to avoid a lot of 
14568         overhead from the debugging system.
14569
14570 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14571
14572         * po/POTFILES.in:
14573         * po/POTFILES.skip:
14574           add missing files containing translatable strings, tell intltool about
14575           one exception
14576
14577 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14578
14579         * tests/check/libs/.cvsignore:
14580         add test-binary to ignore list
14581
14582 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14583
14584         * docs/libs/gstreamer-libs-docs.sgml:
14585         reorder (put dp into a chapter) and indent
14586
14587 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14588
14589         * configure.ac:
14590           back to HEAD
14591
14592 === release 0.10.8 ===
14593
14594 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14595
14596         * configure.ac:
14597           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14598
14599 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14600
14601         * gst/gst.c: (init_post):
14602           move pid declaration to declaration block
14603
14604 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14605
14606         * gst/gst.c: (init_post):
14607           use _exit() instead of exit() in our forked child; this ensures
14608           that none of the registered exit handlers from whatever is using
14609           GStreamer get executed.  This fixes gnome-mixer-applet failing
14610           to load, because ORBit would shut down.
14611           Spotted by: Edward Hervey  <edward@fluendo.com>
14612           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14613           Fixes #344474
14614
14615 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14616
14617         * configure.ac:
14618           back to TRUNK
14619
14620 === release 0.10.7 ===
14621
14622 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14623
14624         * configure.ac:
14625           releasing 0.10.7, "Soepeke, ik zie ou"
14626
14627 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14628
14629         * configure.ac:
14630         * po/af.po:
14631         * po/az.po:
14632         * po/bg.po:
14633         * po/ca.po:
14634         * po/cs.po:
14635         * po/de.po:
14636         * po/en_GB.po:
14637         * po/fr.po:
14638         * po/it.po:
14639         * po/nb.po:
14640         * po/nl.po:
14641         * po/ru.po:
14642         * po/sq.po:
14643         * po/sr.po:
14644         * po/sv.po:
14645         * po/tr.po:
14646         * po/uk.po:
14647         * po/vi.po:
14648         * po/zh_CN.po:
14649         * po/zh_TW.po:
14650         * win32/common/config.h:
14651           0.10.6.2 prerelease
14652
14653 2006-06-07  Wim Taymans  <wim@fluendo.com>
14654
14655         * gst/gstindex.c: (gst_index_gtype_resolver):
14656         * tools/gst-xmlinspect.c: (print_plugin_info):
14657         Fix leak spotted by coverity checker. Fixes #343827
14658         Fix another other leak found by paolo borelli.
14659
14660 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14661
14662         * libs/gst/dataprotocol/dataprotocol.c:
14663         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14664         (gst_dp_version_get_type), (gst_dp_init),
14665         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14666         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14667         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14668         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14669         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14670         (gst_dp_packetizer_free):
14671         * libs/gst/dataprotocol/dataprotocol.h:
14672           API: add a GstDPPacketizer object, and create/free functions
14673           API: add GstDPVersion enum
14674           Add 1.0 event function that uses the string serialization
14675           Serialize more useful buffer flags
14676           Fixes #343988
14677
14678 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14679
14680         * tests/check/Makefile.am:
14681         * tests/check/gst/gstabi.c:
14682         * tests/check/gst/struct_ppc64.h:
14683         * tests/check/libs/libsabi.c:
14684         * tests/check/libs/struct_ppc64.h:
14685           add ppc64 structure sizes
14686
14687 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14688
14689         * tests/check/Makefile.am:
14690         * tests/check/gst/gstabi.c:
14691         * tests/check/gst/struct_x86_64.h:
14692         * tests/check/libs/libsabi.c:
14693         * tests/check/libs/struct_x86_64.h:
14694           generate and add structure size lists for x86_64
14695
14696 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14699         * libs/gst/check/gstcheck.h:
14700           factor out the method from tests that checks size of structures,
14701           and add code to generate the header containing these sizes
14702         * tests/check/gst/gstabi.c: (GST_START_TEST):
14703         * tests/check/gst/struct_i386.h:
14704         * tests/check/libs/libsabi.c: (GST_START_TEST):
14705         * tests/check/libs/struct_i386.h:
14706           use it
14707
14708 2006-06-06  Michael Smith  <msmith@fluendo.com>
14709
14710         * gst/gstsegment.h:
14711           Don't use c++-style comments, fixes #343929
14712
14713 2006-06-05  Edward Hervey  <edward@fluendo.com>
14714
14715         * gst/gst.c:
14716         plugin_paths is not used if we build without registry support.
14717
14718         * gst/gstsegment.c: (gst_segment_copy): 
14719         _copy() was always returning NULL...
14720
14721 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14722
14723         * libs/gst/dataprotocol/dataprotocol.c:
14724         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14725         (gst_dp_packet_from_event):
14726           factor out CRC code
14727
14728 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14729
14730         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14731           make sure we unset caps
14732
14733 2006-06-02  Michael Smith  <msmith@fluendo.com>
14734
14735         * libs/gst/check/gstcheck.c: (gst_check_init),
14736         (gst_check_chain_func):
14737         * libs/gst/check/gstcheck.h:
14738           Add a cond/mutex to the check support lib, signal this whenever we
14739           add to the buffers list. This will allow tests to not busy-wait on
14740           the buffer-list.
14741
14742 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14743
14744         * libs/gst/dataprotocol/dataprotocol.c:
14745         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14746         (gst_dp_packet_from_event):
14747           factor out some common header init code
14748
14749 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14750
14751         * docs/libs/gstreamer-libs-sections.txt:
14752         * docs/libs/tmpl/gstdataprotocol.sgml:
14753         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14754         * libs/gst/dataprotocol/dataprotocol.h:
14755           API: make gst_dp_crc() public
14756
14757 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14758
14759         * plugins/indexers/gstindexers.c: (plugin_init):
14760         conditionally register fileindexer (fixes #343598)
14761
14762 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14763
14764         * gst/gsttagsetter.h:
14765         Can't cast ifaces to a class
14766
14767         * libs/gst/net/gstnetclientclock.h:
14768         * libs/gst/net/gstnettimeprovider.h:
14769         * plugins/elements/gstfakesink.h:
14770         * plugins/elements/gstfakesrc.h:
14771         * plugins/elements/gstfdsink.h:
14772         * plugins/elements/gstfdsrc.h:
14773         * plugins/elements/gstfilesink.h:
14774         * plugins/elements/gstfilesrc.h:
14775         * plugins/elements/gstidentity.h:
14776         * plugins/elements/gstqueue.h:
14777         * plugins/elements/gsttee.h:
14778         * plugins/indexers/gstfileindex.c:
14779         * plugins/indexers/gstmemindex.c:
14780         * tests/old/examples/plugins/example.h:
14781         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14782
14783 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14784
14785         * libs/gst/dataprotocol/dataprotocol.c:
14786         (gst_dp_header_from_buffer):
14787           make sure we zero the whole ABI-compatible area
14788
14789 2006-06-01  Wim Taymans  <wim@fluendo.com>
14790
14791         Patch by: Alessandro Decina <alessandro at nnva dot org>
14792
14793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14794         Make sure the EOS flag is cleared from pads after a flush
14795         or stop. Fixes #343538.
14796
14797         * tests/check/libs/collectpads.c: (GST_START_TEST),
14798         (gst_collect_pads_suite):
14799         Added test for collectpads reusage after EOS.
14800
14801 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14802
14803         * gst/gst.c:
14804          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14805         * win32/common/libgstbase.def:
14806          export gst_collect_pads_set_flushing
14807         * win32/common/libgstreamer.def:
14808          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14809          gst_value_fraction_multiply
14810         * win32/vs6/gst_inspect.dsp:
14811          add a link to intl.lib
14812
14813 2006-05-30  Wim Taymans  <wim@fluendo.com>
14814
14815         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14816         (gst_collect_pads_chain):
14817         Handle the case where a pad is removed from the collection
14818         that could cause the other pads to become collectable.
14819
14820 2006-05-30  Wim Taymans  <wim@fluendo.com>
14821
14822         * gst/gstelement.c:
14823         Clarify the use of _release_request_pad() and
14824         _get_request_pad() a bit better.
14825
14826         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14827         (gst_adapter_take_buffer):
14828         Fix some doc and comment typos.
14829
14830 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14831
14832         * docs/gst/gstreamer-sections.txt:
14833         * docs/libs/gstreamer-libs-sections.txt:
14834           add declared symbols
14835
14836 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14837
14838         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14839         Add debug that can be enabled using a #define at the top of the file,
14840         for dumping stats about how late/early we were when waking up from
14841         waiting on the clock.
14842
14843 2006-05-30  Wim Taymans  <wim@fluendo.com>
14844
14845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14846         When rebuilding the pad list, don't leak the previous list.
14847
14848 2006-05-30  Wim Taymans  <wim@fluendo.com>
14849
14850         Patch by: Lutz Mueller <lutz at topfrose dot de>
14851
14852         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14853         (gst_base_src_get_query_types), (gst_base_src_update_length):
14854         Publish supported query types.
14855         Update last_stop field in get_range mode so the position
14856         query works. Fixes #342321.
14857
14858 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14859
14860         * docs/gst/gstreamer-sections.txt:
14861         * gst/gsttaglist.c: (_gst_tag_initialize):
14862         * gst/gsttaglist.h:
14863           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14864
14865 2006-05-30  Wim Taymans  <wim@fluendo.com>
14866
14867         Patch by: Alessandro Decina <alessandro at nnva dot org>
14868
14869         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14870         Unlock mutex when removing an unknown pad.
14871         Fixes #343334.
14872
14873         * tests/check/Makefile.am:
14874         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14875         (push_event), (setup), (teardown), (GST_START_TEST),
14876         (gst_collect_pads_suite), (main):
14877         Added collecpads check, disabled for now as check crashes for
14878         some reason.
14879
14880 2006-05-29  Wim Taymans  <wim@fluendo.com>
14881
14882         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14883         Don't leak pads lists.
14884
14885 2006-05-29  Wim Taymans  <wim@fluendo.com>
14886
14887         * docs/libs/gstreamer-libs-sections.txt:
14888         * libs/gst/base/gstcollectpads.c:
14889         (gst_collect_pads_set_flushing_unlocked),
14890         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14891         (gst_collect_pads_stop):
14892         * libs/gst/base/gstcollectpads.h:
14893         API: gst_collect_pads_set_flushing()
14894         Added api to set the pads to flushing, useful for seeking
14895         code in elements using collectpads.
14896         Clear segment when receiving a flush.
14897
14898 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14899
14900         * gst/gst.c: (add_path_func), (init_post):
14901           Don't scan registry paths passed via --gst-plugin-path immediately
14902           (will crash, because absolutely nothing is set up and no types are
14903           registered etc.); do this later in init_post(). Fixes #343057.
14904
14905 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14906
14907         * gst/gst.c: (init_post):
14908           if we have fork, fork while reading/rebuilding the registry
14909           so the parent doesn't take the hit of having all plugins loaded
14910           in memory.  Fixes #342777.
14911         * configure.ac:
14912           Check if we have fork()
14913         * win32/common/config.h.in:
14914           no fork() on win32
14915
14916 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14917
14918         * plugins/elements/gstelements.c:
14919         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14920         (gst_file_src_init), (gst_file_src_set_property),
14921         (gst_file_src_get_property), (gst_file_src_start):
14922         * plugins/elements/gstfilesrc.h:
14923           API: GstFileSrc::use-mmap
14924
14925         Add a use-mmap property to enable easier testing of all code paths.
14926         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14927         in the absence of gnomevfssrc. (Closes #340501)
14928
14929 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14930
14931         * tools/gst-inspect.c:
14932         Add missing include, removes warning of ngettext not being defined on
14933         some arches.
14934
14935 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14936
14937         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14938         Handle NULL input and output pointers silently as a failed conversion,
14939         rather than g_warnings.
14940
14941 2006-05-25  Wim Taymans  <wim@fluendo.com>
14942
14943         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14944         Initialize variable before using. Fixes #342820.
14945
14946 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14947
14948         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14949           Fix off-by-one bug that would only allow peeks of N-1 bytes
14950           from the start even if the buffer to typefind on contains
14951           in fact N bytes of data (makes vorbis typefinding from a
14952           vorbis identification header buffer work).
14953
14954         * tests/check/Makefile.am:
14955         * tests/check/libs/.cvsignore:
14956         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14957         (gst_typefindhelper_suite), (main), (foobar_typefind),
14958         (plugin_init):
14959           Add very basic unit test for gst_type_find_helper_for_buffer()
14960           that checks for the problem fixed above.
14961
14962 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * tools/gst-inspect.c: (print_interfaces),
14965         (print_element_properties_info), (print_element_list), (main):
14966           add more translatable strings
14967
14968 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14969
14970         Patch by: Julien Moutte  <julien at moutte net>
14971
14972         * docs/gst/gstreamer-sections.txt:
14973           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14974           
14975         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14976         (gst_fake_sink_preroll):
14977         * plugins/elements/gstfakesink.h:
14978           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14979
14980 2006-05-23  Wim Taymans  <wim@fluendo.com>
14981
14982         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14983         * gst/gstpad.h:
14984         Added _CUSTOM error and success GstFlowReturn that can be
14985         used be elements internally. 
14986         Added macro to check for SUCCESS flowreturns.
14987         API: GST_FLOW_CUSTOM_SUCCESS
14988         API: GST_FLOW_CUSTOM_ERROR
14989         API: GST_FLOW_IS_SUCCESS
14990
14991         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14992         Added check for GstFlowReturn sanity.
14993
14994 2006-05-23  Wim Taymans  <wim@fluendo.com>
14995
14996         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14997
14998         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14999         (gst_collect_pads_event):
15000         clear/reset segment info in FLUSH_STOP.
15001         Fixes #336929.
15002
15003 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15004
15005         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15006         (gst_collect_pads_check_collected):
15007         Flush queued buffer on _stop(), fixes playing again (#342454)
15008
15009 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15010
15011         * tests/check/gst/gststructure.c: (GST_START_TEST),
15012         (gst_structure_suite):
15013           add a test for a complete structure
15014
15015 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15016
15017         * docs/faq/developing.xml:
15018         * docs/faq/faq.xml:
15019         * docs/faq/troubleshooting.xml:
15020         * docs/faq/using.xml:
15021           Some minor FAQ updates that won't change the fact that
15022           our FAQ is badly structured, full of information hardly
15023           anyone new to GStreamer needs to know and lacking lots
15024           of information people constantly ask for.
15025           
15026 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15027
15028         * gst/gstpad.c: (gst_pad_set_caps):
15029           Short-circuit gst_pad_set_caps if setting the existing
15030           caps pointer again, and avoid printing debug and 
15031           reffing/unreffing the caps.
15032
15033         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15034           There's actually no need to set the caps before pushing -
15035           the acceptcaps method will handle it anyway.
15036
15037 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15038
15039         * docs/gst/gstreamer-sections.txt:
15040         * win32/common/libgstreamer.def:
15041         * gst/gstutils.c: (gst_element_seek_simple):
15042         * gst/gstutils.h:
15043           API: add gst_element_seek_simple() (#342238).
15044
15045 2006-05-18  Edward Hervey  <edward@fluendo.com>
15046
15047         * gst/gsttypefind.c: (gst_type_find_get_type):
15048         * gst/gsttypefind.h:
15049         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15050         registered for GstTypeFind pointers. This allows wrapping the structure
15051         in bindings (i.e. gst-python).
15052
15053 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * gst/gsttagsetter.c:
15056           Docs additions and fixes (see #339918).
15057
15058 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15059
15060         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15061         The caps intersection algorithm can produce multiple copies of the
15062         caps. Until that is fixed, we need to simplify the result to be
15063         sure whether the allowed caps are fixed or not.
15064
15065         * plugins/elements/gstqueue.c: (gst_queue_init),
15066         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15067         (gst_queue_push_one):
15068         Proxied buffer alloc should not set the caps on the source pad.
15069         When pushing buffers, we always accept the caps change that triggers.
15070         This prevents negotiation errors caused by caps changing mid-stream 
15071         and then being refused on our source pad (because upstream is now
15072         refusing those caps).
15073
15074 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * tests/examples/helloworld/helloworld.c: (main):
15077           Must plug audioconvert and audioresample between decoder
15078           and audio sink.
15079
15080 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15081
15082         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15083         (load_feature), (load_plugin):
15084         Allow empty strings for some of the plugin fields so we don't 
15085         drop valid plugin entries that were written out correctly
15086         (Fixes #341479)
15087
15088 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15089         
15090         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15091           Use g_remove and g_rename instead of remove and rename that don't 
15092           handle utf8 characters. rename was failing for users who had specific
15093           characters in their name then the registry was built at each 
15094           gstreamer init.
15095         * win32/vs6/gst_inspect.dsp:
15096         * win32/vs6/gst_launch.dsp:
15097         * win32/vs6/libgstbase.dsp:
15098         * win32/vs6/libgstcoreelements.dsp:
15099         * win32/vs6/libgstreamer.dsp:
15100           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15101           build of libgstreamer and clean unused libraries in projects link 
15102           settings.
15103
15104 2006-05-17  Edward Hervey  <edward@fluendo.com>
15105
15106         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15107         The queue is not responsible for pushing an EOS when receiving a fatal
15108         flow error. It's up to the real element driving the pipeline to do that.
15109
15110 2006-05-16  Edward Hervey  <edward@fluendo.com>
15111
15112         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15113         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15114         buffer returned a fatal error. It should just send an EOS and stop
15115         its task.
15116         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15117         when pushing buffers on the queue and will be able to handle the event.
15118
15119 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * docs/manual/basics-bins.xml:
15122         * docs/manual/basics-init.xml:
15123           Fix typos and minor errors in sample code (#341856).
15124
15125 2006-05-16  Wim Taymans  <wim@fluendo.com>
15126
15127         * docs/design/part-qos.txt:
15128         Fix indexes in formulas to make more sense.
15129
15130 2006-05-15  Wim Taymans  <wim@fluendo.com>
15131
15132         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15133         Don't report POSITION based on clock time if sync is
15134         disabled in a sink.
15135
15136 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15137
15138         * gst/gstobject.h:
15139           Add cast to make compiler happy - refcount variable was a gint
15140           in GstObject but is a guint in GObject and g_atomic_int_get()
15141           wants a gint *.
15142
15143 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15144
15145         * gst/parse/Makefile.am:
15146           chain commands using &&, which also makes parallel make work
15147
15148 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15149
15150         * docs/gst/gstreamer-sections.txt:
15151         * gst/gstevent.c:
15152         * gst/gstevent.h:
15153         * gst/gstmessage.h:
15154           Minor docs fixes.
15155
15156 === release 0.10.6 ===
15157
15158 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15159
15160         * configure.ac:
15161           releasing 0.10.6, "Take the cannoli"
15162
15163 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15164
15165         * tools/gst-launch.c: (print_tag):
15166           Fix use of uninitialized variable in the hypothetical
15167           case that some broken plugin creates a GST_TAG_IMAGE
15168           tag containing a NULL buffer (#341667).
15169
15170 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15171
15172         * tools/gst-launch.c: (print_tag):
15173           Print something more intelligible for image tags when
15174           using the -t switch (#341556).
15175
15176 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15177
15178         * Makefile.am:
15179           updates for win32
15180         * configure.ac:
15181           define GST_MAJORMINOR so we have it available in win32/common/config.h
15182           Possibly remove it from our Makefile.am files later
15183         * win32/common/config.h:
15184         * win32/common/config.h.in:
15185           added GST_MAJORMINOR
15186         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15187         * win32/common/gstversion.h:
15188           updated
15189
15190 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15191
15192         * win32/MANIFEST:
15193           Update win32 files listing.
15194         * win32/common/gstversion.h:
15195           Add GST_MAJORMINOR definition.
15196         * win32/common/libgstreamer.def:
15197           Add new exported functions.
15198           
15199 2006-05-12  Michael Smith  <msmith@fluendo.com>
15200
15201         * gst/gstplugin.c: (gst_plugin_load_file):
15202           If an so file has no plugin entry point, unload the module.
15203
15204 2006-05-11  Wim Taymans  <wim@fluendo.com>
15205
15206         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15207         (gst_queue_set_property):
15208         Don't forget to signal the _chain or _loop function 
15209         when the queue size or thresholds change since that might
15210         cause them to make progres again.
15211
15212 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15213
15214         * gst/gstclock.c: (gst_clock_class_init):
15215         * gst/gstindex.c: (gst_index_class_init):
15216         * gst/gstobject.c: (gst_object_class_init):
15217         * gst/gstpad.c: (gst_pad_class_init):
15218         * gst/gstpipeline.c: (gst_pipeline_class_init):
15219         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15220         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15221         * libs/gst/base/gstbasetransform.c:
15222         (gst_base_transform_class_init):
15223         * libs/gst/net/gstnetclientclock.c:
15224         (gst_net_client_clock_class_init):
15225         * libs/gst/net/gstnettimeprovider.c:
15226         (gst_net_time_provider_class_init):
15227         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15228         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15229         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15230         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15231         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15232         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15233         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15234         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15235         * plugins/elements/gsttee.c: (gst_tee_class_init):
15236         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15237         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15238           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15239
15240 2006-05-11  Wim Taymans  <wim@fluendo.com>
15241
15242         * gst/gstbuffer.c: (_gst_buffer_initialize):
15243         Register subbufer along with the buffer type so that
15244         it does not accidentally gets registered from N
15245         different streaming threads in a non threadsafe way.
15246
15247 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15248
15249         * gst/gstbuffer.h:
15250         * gst/gstevent.h:
15251         * gst/gstmessage.h:
15252           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15253           gst_event_ref() and gst_message_ref() functions again
15254           (ugly hack, please do fix if there's a better way besides
15255           overrides.txt, which doesn't seem to work).
15256
15257 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15258
15259         * libs/gst/check/gstcheck.h:
15260           add an assert for setting state to avoid lots of repetitive code
15261           in the future
15262
15263 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15264
15265         * gst/gstvalue.c: (gst_value_serialize_flags):
15266           fix a leak if no flags are set
15267         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15268           fix leak in tests
15269
15270 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15271
15272         * docs/manual/basics-pads.xml:
15273           Expand a bit on caps and filtered links and update
15274           examples that were still using the no longer existing
15275           gst_pad_link_filtered() (#338206).
15276
15277 2006-05-10  Wim Taymans  <wim@fluendo.com>
15278
15279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15280         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15281         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15282         (gst_collect_pads_stop):
15283         * libs/gst/base/gstcollectpads.h:
15284         No need to call _stop in _finalize.
15285         Iterate the main pad list in _finalize.
15286         Added some more debug.
15287         Free lists and data in the right order.
15288         Also free data whem doing _remove_pad when stopped for
15289         backward compatibility protect ::started with PAD_LOCK as
15290         well.
15291
15292 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15293
15294         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15295         (gst_structure_parse_value):
15296           add some comments
15297           rename a method so that it actually says what it does better
15298
15299 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15300
15301         * gst/gstevent.c: (_gst_event_initialize):
15302         * gst/gstformat.c: (_gst_format_initialize):
15303           make sure some essential types used by events are registered
15304           as part of gst_init()
15305         * gst/gstvalue.c: (gst_value_serialize_flags):
15306           if no flags are set, serialize them to a value that represents NONE
15307           so that deserializing them works
15308         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15309           add tests for serialization and deserialization of flags
15310
15311 2006-05-10  Wim Taymans  <wim@fluendo.com>
15312
15313         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15314         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15315         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15316         (gst_collect_pads_event), (gst_collect_pads_chain):
15317         Update docs.
15318         Better debug info.
15319         Catch and return errors from the collect function
15320         Refuse data on eos pads.
15321
15322 2006-05-10  Edward Hervey  <edward@fluendo.com>
15323
15324         * gst/gstinterface.h:
15325         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15326         GInterface type checking.
15327         They were previously using non-defined macros.
15328
15329 2006-05-09  Wim Taymans  <wim@fluendo.com>
15330
15331         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15332         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15333         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15334         (gst_collect_pads_start), (gst_collect_pads_stop),
15335         (gst_collect_pads_peek), (gst_collect_pads_pop),
15336         (gst_collect_pads_available), (gst_collect_pads_read),
15337         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15338         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15339         (gst_collect_pads_chain):
15340         * libs/gst/base/gstcollectpads.h:
15341         Clean up the mess that is collectpads, add comments and
15342         FIXMEs where needed.
15343         Maintain a separate pad list so we can add pads while
15344         collecting the other ones. For this we need a new separate 
15345         lock (see comics).
15346         Fix memory leak in finalize.
15347         Refactor some weird code to set/unset pad flushing flags, mark
15348         with comments.
15349         Don't crash in _available, _read, _flush when we're EOS.
15350
15351         * tests/check/libs/.cvsignore:
15352         Ignore adapter check binary.
15353
15354 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15355
15356         * gst/gstindex.c: (gst_index_resolver_get_type):
15357         * plugins/elements/gstfakesink.c:
15358         (gst_fake_sink_state_error_get_type):
15359         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15360         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15361         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15362           Const-ify GEnumValue arrays.
15363
15364 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15365
15366         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15367           Add test case for flags + gst_buffer_make_metadata_writable().
15368
15369 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15370
15371         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15372           gst_buffer_make_metadata_writable() should maintain the
15373           buffer flags (those that make sense at least) (see #340859).
15374
15375 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15376
15377         * tools/gst-inspect.c:
15378         * tools/gst-launch.c:
15379         * tools/gst-typefind.c:
15380         * tools/gst-xmlinspect.c:
15381         * tools/tools.h:
15382           Fix up includes: need to include stdlib.h in tools.h for exit().
15383
15384 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15385
15386         * gst/gsttaglist.c: (_gst_tag_initialize):
15387         * gst/gsttaglist.h:
15388           API: add GST_TAG_IMAGE tag (#340721).
15389
15390 2006-05-08  Wim Taymans  <wim@fluendo.com>
15391
15392         * gst/gstquery.c:
15393         Added some docs for the segment query.
15394
15395 2006-05-08  Wim Taymans  <wim@fluendo.com>
15396
15397         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15398         (gst_base_src_loop), (gst_base_src_change_state):
15399         Always push non-flushing serialized events in the streaming 
15400         thread.
15401
15402 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15403
15404         * gst/gsterror.c: (_gst_stream_errors_init):
15405           Add a missing error string.
15406
15407 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15408
15409         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15410         Add applied_rate to the debug
15411
15412         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15413         Copy applied_rate into the outgoing NEWSEGMENT event
15414
15415 2006-05-08  Wim Taymans  <wim@fluendo.com>
15416
15417         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15418
15419         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15420         (gst_base_sink_change_state):
15421         call ::unlock before taking the PREROLL_LOCK so we can safely
15422         handle elements that lock in ::render.
15423         Fixes #340174.
15424
15425 2006-05-08  Edward Hervey  <edward@fluendo.com>
15426
15427         * autogen.sh: (CONFIGURE_DEF_OPT): 
15428         Darwin's libtoolize is in fact called glibtoolize.
15429         Adding glibtoolize to the list of accepted names for libtoolize.
15430
15431 2006-05-08  Wim Taymans  <wim@fluendo.com>
15432
15433         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15434         Unify error handling, don't post an error message
15435         when a push() returns EOS but perform our normal EOS
15436         handling code. Fixes #340772.
15437
15438 2006-05-08  Wim Taymans  <wim@fluendo.com>
15439
15440         * docs/design/part-overview.txt:
15441         Make upsteam/downstream concepts more clear.
15442         Give an example of serialized/non-serialized events.
15443
15444         * docs/design/part-events.txt:
15445         * docs/design/part-streams.txt:
15446         Mention applied_rate.
15447
15448         * docs/design/part-trickmodes.txt:
15449         Mention applied rate, flesh out some more use cases.
15450
15451         * gst/gstevent.c: (gst_event_new_new_segment),
15452         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15453         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15454         (gst_event_parse_tag), (gst_event_new_buffer_size),
15455         (gst_event_parse_buffer_size), (gst_event_new_qos),
15456         (gst_event_parse_qos), (gst_event_parse_seek),
15457         (gst_event_new_navigation):
15458         * gst/gstevent.h:
15459         Add applied_rate field to NEWSEGMENT event.
15460         API: gst_event_new_new_segment_full()
15461         API: gst_event_parse_new_segment_full()
15462
15463         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15464         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15465         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15466         * gst/gstsegment.h:
15467         Add applied_rate to GstSegment structure.
15468         Make calculation of stream_time and running_time more correct
15469         wrt rate/applied_rate.
15470         Add some more docs.
15471         API: GstSegment::applied_rate field
15472         API: gst_segment_set_newsegment_full();
15473
15474         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15475         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15476         * libs/gst/base/gstbasetransform.c:
15477         (gst_base_transform_sink_eventfunc),
15478         (gst_base_transform_handle_buffer):
15479         Parse and use applied_rate in the GstSegment field.
15480
15481         * tests/check/gst/gstevent.c: (GST_START_TEST):
15482         Add check for applied_rate field.
15483
15484         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15485         (gstsegments_suite):
15486         Add more checks for various GstSegment operations.
15487
15488 2006-05-08  Wim Taymans  <wim@fluendo.com>
15489
15490         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15491         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15492         (gst_base_sink_get_position), (gst_base_sink_change_state):
15493         Store the sync time of the buffer end position separatly in a
15494         new variable eos_rtime so we can properly sync the EOS event.
15495         Fixes #340697.
15496         Fix the docs for gst_base_sink_set_qos_enabled().
15497         Don't set segment start to invalid value when we receive a 
15498         non TIME newsegment.
15499         get closer to handling position reporting for negative rates 
15500         correctly.
15501
15502 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15503
15504         * gst/gstcaps.c:
15505         Docs about how to print caps for debug purposes.
15506
15507         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15508         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15509
15510 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15511
15512         * gst/gstelement.c:
15513           use full enum names and preprend a '%' in docs strings to make recent 
15514           gtk-doc turn that into a link
15515
15516 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15517
15518         * docs/manual/basics-bins.xml:
15519         * docs/manual/basics-bus.xml:
15520         * docs/manual/basics-pads.xml:
15521           Some typo fixes, some additions, some clarifications. 
15522
15523 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15524
15525         * tools/gst-inspect.c: (main):
15526         * tools/gst-launch.c: (main):
15527         * tools/gst-run.c: (main):
15528         * tools/gst-typefind.c: (main):
15529         * tools/gst-xmlinspect.c: (main):
15530           Use the string passed to g_option_context_new() for
15531           what it's intended for - the program name is already
15532           printed elsewhere.
15533
15534 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15535
15536         * tools/Makefile.am:
15537         * tools/gst-inspect.c: (main):
15538         * tools/gst-launch.c: (main):
15539         * tools/gst-xmlinspect.c: (main):
15540         * tools/tools.h:
15541           Add back --version command line option (#340460).
15542
15543         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15544           Add --version option and use GOption for argument parsing; refactor a
15545           bit; accept directories as arguments and recurse into them; lastly,
15546           print a decent error message when things go wrong.
15547
15548 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15549
15550         * docs/manual/basics-bins.xml:
15551         Don't mention GstThread (#340611)
15552         * docs/manual/basics-elements.xml:
15553         Update link to GObject tutorial (#340607)
15554         
15555 2006-05-05  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/gstbuffer.h:
15558         * gst/gstminiobject.c:
15559         Add note about refcounting and miniobject/buffer writeability
15560         to docs. Fixes #340604
15561
15562         * gst/gstelementfactory.h:
15563         Added some explanation about @klass.
15564
15565 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15566
15567         * docs/manual/intro-motivation.xml:
15568         * docs/manual/manual.xml:
15569         Avoid CORBA & Bonobo references (#340598)
15570
15571 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15572
15573         * docs/manual/basics-bus.xml:
15574         * docs/manual/basics-pads.xml:
15575         Fix up some inaccuracies and omissions (#340609)
15576         
15577 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15578
15579         * gst/gstghostpad.c:
15580           Small typo in docs (#340625)
15581
15582 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15583
15584         * gst/parse/Makefile.am:
15585           Make 'make -j' proof (see #340698).
15586
15587 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15588
15589         * configure.ac:
15590           Require GLib-2.8 here as well.
15591
15592 2006-05-05  Wim Taymans  <wim@fluendo.com>
15593
15594         * gst/glib-compat.c:
15595         * gst/gst.c: (init_pre):
15596         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15597         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15598         (gst_object_dispatch_properties_changed):
15599         * gst/gstobject.h:
15600         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15601         * gst/gststructure.c: (gst_structure_set_valist):
15602         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15603         Remove pre glib2.8 compatibility, fixes #340508
15604
15605 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15606
15607         * gst/gsttaglist.h:
15608           Mention type of tags in doc blurbs.
15609
15610 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15611
15612         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15613         (gst_pad_configure_src), (gst_pad_push):
15614         Restore acceptcaps checking behaviour now that good plugins have
15615         been released.
15616
15617 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15618
15619         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15620
15621         * gst/gst.c:
15622         * gst/gstbus.c:
15623         * gst/gstclock.c:
15624         * gst/gstevent.c:
15625         * gst/gstformat.c:
15626         * gst/gstmessage.c:
15627         * gst/gstparse.c:
15628         * gst/gstquery.c:
15629         * gst/gstutils.c:
15630         * gst/parse/Makefile.am:
15631         * libs/gst/base/gstadapter.c:
15632         * libs/gst/base/gstbasesrc.c:
15633         * libs/gst/base/gstpushsrc.c:
15634         * libs/gst/base/gsttypefindhelper.c:
15635         * plugins/elements/gstfakesrc.c:
15636         * plugins/elements/gstidentity.c:
15637           Make sure gstprivate.h and/or config.h are
15638           always included first, otherwise some of our
15639           defines (like _FILE_OFFSET_BITS) might be
15640           redefined in the system headers. Fixes build
15641           on opensolaris (#340016).
15642
15643 2006-05-04  Wim Taymans  <wim@fluendo.com>
15644
15645         * docs/libs/gstreamer-libs-sections.txt:
15646         API: addition: gst_adapter_take_buffer()
15647         
15648         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15649         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15650         (gst_adapter_available_fast):
15651         * libs/gst/base/gstadapter.h:
15652         Prepare for optimizing the hell out of this hugely inefficient
15653         piece of code. 
15654         Added gst_adapter_take_buffer() so we can at least start thinking
15655         about subbuffering and merging.
15656         Added some comments.
15657
15658         * tests/check/Makefile.am:
15659         * tests/check/libs/adapter.c: (GST_START_TEST),
15660         (gst_adapter_suite), (main):
15661         Added GstAdapter check.
15662
15663 2006-05-04  Wim Taymans  <wim@fluendo.com>
15664
15665         * docs/design/part-overview.txt:
15666         Fix some typos, add blurb about buffer flags.
15667
15668 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15669
15670         * docs/libs/gstreamer-libs-sections.txt:
15671           make sure GstBaseTransformClass shows up in the docs
15672         * libs/gst/base/gstbasetransform.c:
15673         * libs/gst/base/gstbasetransform.h:
15674           move docs so gtk-doc picks it up now
15675
15676 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15677
15678         * docs/libs/gstreamer-libs-sections.txt:
15679           add missing symbols to docs
15680
15681 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15682
15683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15684           back out the newsegment handling change, see #340060 for ongoing
15685           discussion
15686
15687 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15688
15689         * tools/gst-run.c: (get_candidates), (main):
15690           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15691           work); fix typo in error message. Fixes #340079.
15692
15693 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15694
15695         * common/Makefile.am:
15696         * docs/Makefile.am:
15697         * docs/faq/Makefile.am:
15698         * docs/gst/Makefile.am:
15699         * docs/libs/Makefile.am:
15700         * docs/manual/Makefile.am:
15701         * docs/plugins/Makefile.am:
15702         * docs/pwg/Makefile.am:
15703         * docs/slides/Makefile.am:
15704         * docs/upload.mak:
15705         * common/upload.mak:
15706           move upload.mak to common
15707
15708 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15709
15710         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15711           add more asserts on refcounts
15712           do more cleanup at end of tests
15713           fix test leaks showing in FC5
15714
15715 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15716
15717         * plugins/elements/gsttypefindelement.c:
15718         (gst_type_find_element_handle_event):
15719         reverted wrong change and reflowed code to avoid others falling into
15720         this trap
15721
15722 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15723
15724         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15725           fix changelog entry about last collectpads change,
15726           add notes about proper fix
15727
15728 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15729
15730         * gst/gst.c:
15731         * gst/gstregistry.c: (gst_registry_scan_path_level),
15732         (gst_registry_scan_path):
15733         * gst/gstregistry.h:
15734           only write out registry if it has changed, fixes #338339
15735
15736 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15737
15738         * gst/gstbin.c:
15739         * gst/gstpipeline.c:
15740         * plugins/elements/gstcapsfilter.c:
15741         * plugins/elements/gstfakesink.c:
15742         * plugins/elements/gstfakesrc.c:
15743         * plugins/elements/gstfdsink.c:
15744         * plugins/elements/gstfdsrc.c:
15745         * plugins/elements/gstfilesink.c:
15746         * plugins/elements/gstfilesrc.c:
15747         * plugins/elements/gstidentity.c:
15748         * plugins/elements/gstqueue.c:
15749         * plugins/elements/gsttee.c:
15750         * plugins/elements/gsttypefindelement.c:
15751         (gst_type_find_element_handle_event):
15752           make GstElementDetails const
15753
15754 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15755
15756         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15757         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15758         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15759           more detailed debug and formatting cleanup,
15760           forward newsegments to src-pad (so that e.g. adder not eats them)
15761
15762 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15763
15764         * gst/gstutils.c: (gst_element_link_pads):
15765           cleanup double code
15766
15767 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15768
15769         * libs/gst/controller/gstcontroller.c:
15770         (gst_controller_sync_values):
15771           some little tuning
15772         * tests/check/libs/controller.c: (GST_START_TEST),
15773         (gst_controller_suite):
15774           a new test for live value handling
15775
15776 2006-04-28  Wim Taymans  <wim@fluendo.com>
15777
15778         * gst/gstutils.c: (push_and_ref):
15779         Added some more docs.
15780         Fix refcount issue whith gst_element_found_tags() helper 
15781         function. Fixes #338335
15782
15783         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15784         Added testsuite for gst_element_found_tags().
15785
15786 2006-04-28  Michael Smith  <msmith@fluendo.com>
15787
15788         * gst/gstvalue.c: (gst_value_serialize_flags):
15789           Avoid NULL dereference when trying to serialize flags containing
15790           invalid values.
15791
15792 2006-04-28  Michael Smith  <msmith@fluendo.com>
15793
15794         * plugins/elements/gsttypefindelement.c:
15795         (gst_type_find_element_handle_event):
15796           If we get EOS before any data is accumulated, don't use
15797           uninitialised local variables.
15798
15799 2006-04-28  Michael Smith  <msmith@fluendo.com>
15800
15801         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15802         (gst_dp_event_from_packet):
15803           Fixes in reading/writing events over GDP (not currently used?) - 
15804           dereferencing NULL events for unknown/invalid event types, memory
15805           leak, and change g_warning to GST_WARNING.
15806
15807 2006-04-28  Wim Taymans  <wim@fluendo.com>
15808
15809         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15810         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15811         (gst_base_sink_get_position), (gst_base_sink_change_state):
15812         When frame dropping is enabled, we should not ignore frames
15813         without a duration.
15814         Update some documentation.
15815
15816 2006-04-28  Wim Taymans  <wim@fluendo.com>
15817
15818         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15819         (gst_base_src_send_event), (gst_base_src_change_state):
15820         Documentation updates.
15821
15822 2006-04-28  Wim Taymans  <wim@fluendo.com>
15823
15824         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15825         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15826         handle EAGAIN, EINTR and short writes correctly. Also clean
15827         up some error cases, avoid a deadlock on bad file descriptors and
15828         use GST_DEBUG_OBJECT.
15829         Fixes #339843
15830
15831 2006-04-28  Wim Taymans  <wim@fluendo.com>
15832
15833         * gst/gstvalue.c: (gst_value_serialize_buffer),
15834         (gst_value_deserialize_buffer):
15835         Don't try to serialize a GValue with a NULL buffer. 
15836         Fixes #339821.
15837
15838         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15839         Added check for serialisation of NULL buffers.
15840
15841 2006-04-28  Wim Taymans  <wim@fluendo.com>
15842
15843         * gst/gstminiobject.c: (gst_value_take_mini_object):
15844         Taking a NULL miniobject is valid, fix the case where
15845         we try to unref the NULL miniobject.
15846
15847 2006-04-28  Wim Taymans  <wim@fluendo.com>
15848
15849         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15850
15851         * gst/gstbin.c: (gst_bin_handle_message_func):
15852         Update docs.
15853         Don't leak bin refcount when a state recalc is
15854         in progress and we delay another one #339808.
15855
15856 2006-04-28  Wim Taymans  <wim@fluendo.com>
15857
15858         * docs/design/part-TODO.txt:
15859         Mention QoS as an ongoing work item.
15860
15861         * docs/design/part-buffering.txt:
15862         New doc about buffering that needs to be fleshed out
15863         at some point.
15864
15865         * docs/design/part-qos.txt:
15866         More QoS policy for decoders/demuxers/transforms
15867
15868         * docs/design/part-trickmodes.txt:
15869         Small update.
15870
15871 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15872
15873         * configure.ac:
15874           back to HEAD
15875
15876 === release 0.10.5 ===
15877
15878 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15879
15880         * configure.ac:
15881           releasing 0.10.5, "Fogo"
15882
15883 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15884
15885         patch by: Wim Taymans
15886
15887         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15888         (gst_pad_configure_src), (gst_pad_push):
15889         * gst/gstpipeline.c: (gst_pipeline_init):
15890           Fix internal data flow errors.  Fixes #338711.
15891
15892 2006-04-12  Wim Taymans  <wim@fluendo.com>
15893
15894         * tests/check/gst/gstelement.c: (GST_START_TEST):
15895         Don't leak the factory.
15896
15897 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15898
15899         * configure.ac:
15900         * win32/common/config.h:
15901           prerelease
15902
15903 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15904
15905         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15906         (gst_controller_unset_all):
15907           Free allocated GstTimedValues when freeing list nodes.
15908           Should fix leaks 'make check-valgrind' complains about.
15909
15910         * win32/common/libgstcontroller.def:
15911           Add gst_controller_unset_all.
15912
15913 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15914
15915         * docs/libs/gstreamer-libs-sections.txt:
15916         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15917         (gst_controller_unset_all):
15918         * libs/gst/controller/gstcontroller.h:
15919         API: Added new method gst_controller_unset_all()
15920         fixed gst_controller_unset()
15921         * tests/check/libs/controller.c: (GST_START_TEST),
15922         (gst_controller_suite):
15923         Added two testcases for new and fixed method
15924
15925 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15926
15927         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15928           MSG_DONTWAIT is not defined on Cygwin, so work
15929           around that (fixes #317048).
15930           
15931 2006-04-11  Wim Taymans  <wim@fluendo.com>
15932
15933         * gst/gstelementfactory.c: (gst_element_register),
15934         (gst_element_factory_create), (gst_element_factory_make):
15935         Some cleanups.
15936         Fixed a FIXME.
15937         Updated docs (Fixes #131079)
15938
15939         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15940         Small cleanups.
15941
15942         * tests/check/gst/gstelement.c: (GST_START_TEST),
15943         (gst_element_suite):
15944         Added testcase for elementfactory class field.
15945
15946 2006-04-10  Wim Taymans  <wim@fluendo.com>
15947
15948         * gst/gstsegment.c:
15949         Added some more docs.
15950
15951         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15952         (gst_base_sink_reset_qos):
15953         Calculate more accurate rate values.
15954
15955 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15956
15957         * gst/gst_private.h:
15958           add a new #ifdef to use __declspec(dllimport) only for
15959           other modules and not for gstreamer core
15960         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15961           use gst_guint64_to_gdouble for conversion
15962         * win32/common/libgstreamer.def:
15963           add new exported functions
15964         * win32/vs6/gst_inspect.dsp:
15965         * win32/vs6/gst_launch.dsp:
15966         * win32/vs6/libgstbase.dsp:
15967         * win32/vs6/libgstcontroller.dsp:
15968         * win32/vs6/libgstcoreelements.dsp:
15969         * win32/vs6/libgstdataprotocol.dsp:
15970         * win32/vs6/libgstnet.dsp:
15971           update project files
15972
15973 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15974
15975         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15976         * gst/gstclock.c: (gst_clock_class_init):
15977         * gst/gstelement.c: (gst_element_class_init):
15978         * gst/gstindex.c: (gst_index_class_init):
15979         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15980         * gst/gstobject.c: (gst_object_class_init),
15981         (gst_signal_object_class_init):
15982         * gst/gstpad.c: (gst_pad_class_init):
15983         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15984         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15985         * gst/gstregistry.c: (gst_registry_class_init):
15986         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15987         * gst/gsttask.c: (gst_task_class_init):
15988         * gst/gstxml.c: (gst_xml_class_init):
15989         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15990         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15991         (gst_base_src_loop):
15992         * libs/gst/controller/gstcontroller.c:/
15993         (_gst_controller_class_init):
15994         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15995         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15996         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15997         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15998         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15999         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16000
16001 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16002
16003         * gst/gstpad.c: (gst_pad_link):
16004           Must set peer pads before calling the link function, otherwise
16005           a task started from a link function might get a flow-not-linked
16006           result when trying to push because the other thread where the
16007           linking happens hasn't had a chance to set the peers yet. This
16008           might happen for example when a queue gets linked to a downstream
16009           element, as queue starts a streaming task when its source pad
16010           gets linked. Happens in real life when playing back flac/musepack
16011           files in playbin (#332390).
16012           
16013 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16014
16015         * gst/gstindex.h:
16016         * gst/gstxml.h:
16017         * libs/gst/base/gstadapter.h:
16018         * libs/gst/base/gstbasesink.h:
16019         * libs/gst/base/gstbasesrc.h:
16020         * libs/gst/base/gstbasetransform.h:
16021         * libs/gst/base/gstcollectpads.h:
16022         * libs/gst/base/gstpushsrc.h:
16023         Fix broken GObject macros
16024
16025 2006-04-07  Wim Taymans  <wim@fluendo.com>
16026
16027         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16028         Initialize start and stop times, thanks valgrind.
16029
16030 2006-04-07  Wim Taymans  <wim@fluendo.com>
16031
16032         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16033         Be a bit nicer to badly behaving upstream elements that expect
16034         us to deal with non TIME segments and timestamps (such as fakesrc
16035         in the testsuite).
16036
16037 2006-04-07  Wim Taymans  <wim@fluendo.com>
16038
16039         * gst/gstbus.c:
16040         Small documentation clarification about the signal watch.
16041
16042         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16043         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16044         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16045         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16046         (gst_base_sink_get_position_last),
16047         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16048         Convert and store timestamps in stream time and running time, the
16049         raw timestamps are not useful, also document this better.
16050         Use different window sizes for good and bad QoS observations so
16051         we react to badness a little quicker.
16052         Keep track of the amount of rendered and dropped buffers.
16053         Send QoS timestamps in running time.
16054
16055         * libs/gst/base/gstbasetransform.c:
16056         (gst_base_transform_sink_eventfunc),
16057         (gst_base_transform_handle_buffer):
16058         Compare QoS timestamps against running time.
16059
16060 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16061
16062         * gst/gstpad.c:
16063           Typo fixes in docs.
16064
16065 2006-04-06  Michael Smith  <msmith@fluendo.com>
16066
16067         * gst/gstpad.c: (gst_pad_set_property):
16068           Use g_value_get_object() instead of g_value_dup_gst_object(),
16069           to avoid double-reffing the pad template (which we then sink,
16070           so this worked previously if (and only if) the pad template
16071           was floating.
16072
16073         * gst/gstpadtemplate.c: (gst_pad_template_init),
16074         (gst_pad_template_pad_created):
16075           Never return floating references to pad templates, create
16076           them as initially-sunken.
16077
16078           Document an extra function (and make this stop sinking our
16079           pad template, since that is now guaranteed to do nothing,
16080           since we created it sunken).
16081
16082         * gst/gstghostpad.c:
16083           Fix docs typo.
16084
16085 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16086
16087         * gst/gstinfo.c: (__gst_in_valgrind):
16088           Add some newlines.
16089
16090         * plugins/elements/gsttypefindelement.c:
16091         (gst_type_find_element_chain):
16092           Don't leak buffer caps.
16093
16094 2006-04-06  Michael Smith  <msmith@fluendo.com>
16095
16096         * gst/parse/grammar.y:
16097           Fix a leak in parse-launch for any source-or-sink named element 
16098           references used.
16099
16100         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16101           Unref the pipeline if it exists after we've failed parsing.
16102
16103 2006-04-05  Michael Smith  <msmith@fluendo.com>
16104
16105         * gst/gstpipeline.c: (gst_pipeline_init):
16106           When we create a pipeline bus, initially create it in flushing mode.
16107           Fixes leaks in at least one test, and makes a new pipeline work the
16108           same as one that has gone to READY and then back to NULL.
16109
16110         * gst/gstelement.c:
16111           Typo fix in docs.
16112
16113 2006-04-05  Michael Smith  <msmith@fluendo.com>
16114
16115         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16116           Unref a pad we reffed.
16117         * tests/check/gst/gstutils.c: (GST_START_TEST):
16118           Unref bins
16119
16120 2006-04-05  Michael Smith  <msmith@fluendo.com>
16121
16122         * gst/gstquery.c: (gst_query_set_formats),
16123         (gst_query_set_formatsv):
16124           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16125
16126 2006-04-05  Michael Smith  <msmith@fluendo.com>
16127
16128         * tests/check/generic/sinks.c: (GST_START_TEST):
16129           Fix a variety of memleaks in sinks check, which are only sometimes 
16130           shown by running the tests under valgrind (weird?).
16131
16132 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16133
16134         * docs/version.entities.in:
16135           Fix the substituted entity name after thomas' changes on the
16136           weekend.
16137
16138 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16139
16140         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16141         VALGRIND_PRINTF
16142         
16143 2006-04-05  Andy Wingo  <wingo@pobox.com>
16144
16145         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16146
16147         * libs/gst/base/gstbasetransform.c
16148         (gst_base_transform_sink_eventfunc): When resetting our segment on
16149         FLUSH_STOP, also update the flag saying we haven't seen a
16150         newsegment.
16151
16152 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16153
16154         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16155
16156         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16157         (gst_plugin_check_license):
16158           minor clean-ups: G_DEFINE_TYPE already takes care of the
16159           parent_class stuff, no need to do it twice. Mark array of
16160           license strings as constant. (#337103)
16161           
16162 2006-04-04  Michael Smith  <msmith@fluendo.com>
16163
16164         * tools/gst-inspect.c: (print_element_list):
16165           Free the right plugin list; fixes a memory leak.
16166
16167 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16168
16169         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16170
16171         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16172           Don't error out on empty buffers (#336945).
16173           
16174 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16175
16176         * docs/libs/gstreamer-libs-sections.txt:
16177         * gst/gsttaglist.c:
16178         * libs/gst/base/gstbasesink.c:
16179         * libs/gst/base/gstbasesink.h:
16180         * libs/gst/base/gstbasesrc.c:
16181         * libs/gst/base/gstbasesrc.h:
16182           Documentation updates. Make BaseSink and BaseSrc docs contain the
16183           class structure so that people can actually see the prototypes for
16184           virtual functions they're supposed to be overriding.
16185
16186 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16187
16188         * plugins/elements/gsttypefindelement.c:
16189         (gst_type_find_element_chain):
16190           More debug info; when skipping typefinding, send cached
16191           events in all cases.
16192
16193 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16194
16195         * configure.ac:
16196           use new AS_VERSION and AS_NANO macros
16197         * gst/gst-i18n-lib.h:
16198         * gst/gst.c:
16199         * gst/gsterror.c:
16200         * gst/gstversion.h.in:
16201         * win32/common/config.h:
16202         * win32/common/config.h.in:
16203           update accordingly
16204
16205 2006-03-31  Michael Smith  <msmith@fluendo.com>
16206
16207         * plugins/elements/gsttypefindelement.c:
16208         (gst_type_find_element_chain):
16209           Do not typefind content if the buffers already have caps.
16210           Neccesary for icydemux (#333657), and the right thing to do anyway.
16211
16212 2006-03-30  Wim Taymans  <wim@fluendo.com>
16213
16214         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16215         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16216         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16217         (gst_base_sink_record_qos_observation),
16218         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16219         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16220         (gst_base_sink_change_state):
16221         More QoS measurements as described in the design doc.
16222         Get rid of ringbuffer with observations, running average is
16223         more simple and equally good.
16224         Calculates valid proportion now.
16225         Added beginning of flood measurement.
16226
16227 2006-03-29  Wim Taymans  <wim@fluendo.com>
16228
16229         * docs/design/part-qos.txt:
16230         * gst/gstclock.c:
16231         Small documentation updates and additions.
16232
16233 2006-03-29  Wim Taymans  <wim@fluendo.com>
16234
16235         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16236         (gst_base_src_send_event), (gst_base_src_loop),
16237         (gst_base_src_change_state):
16238         Perform the EOS logic when we reach the segment stop position.
16239         Fix compilation on gcc4.1
16240
16241 2006-03-29  Wim Taymans  <wim@fluendo.com>
16242
16243         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16244
16245         * plugins/elements/gstqueue.c: (gst_queue_init),
16246         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16247         (gst_queue_set_property):
16248         * plugins/elements/gstqueue.h:
16249         In queue, when EOS is received, if minimum threshold > max_size -
16250         current_level, there is chance that queue blocks forever in conditional
16251         item del wait. This is because the queue is not emptied completely due
16252         to minimum threshold.  Here is another approach. Instead of setting
16253         cur_levels to max in EOS, just zero all minimum threshold levels. This
16254         should make sure that queue gives out all data. When going to READY
16255         (stop) state, just reset the original minimum threshold levels.
16256         Fixes #336336.
16257
16258 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16259
16260         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16261         (gst_type_find_element_handle_event),
16262         (gst_type_find_element_send_cached_events),
16263         (gst_type_find_element_change_state):
16264         * plugins/elements/gsttypefindelement.h:
16265           When typefinding is done in push mode, we should cache
16266           events we receive during typefinding instead of just
16267           dropping them (e.g. newsegment, custom events from
16268           dvdreadsrc etc.) and then send them out once we've
16269           determined the type of the stream (and decodebin
16270           has had a chance to plug in a decoder/demuxer).
16271           
16272 2006-03-27  Wim Taymans  <wim@fluendo.com>
16273
16274         * docs/design/part-qos.txt:
16275         First QoS ideas.
16276
16277 2006-03-27  Wim Taymans  <wim@fluendo.com>
16278
16279         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16280
16281         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16282         (gst_base_src_send_event), (gst_base_src_change_state):
16283         Handle element seek correctly when we are streaming.
16284         Fixes #326998.
16285
16286 2006-03-24  Michael Smith  <msmith@fluendo.com>
16287
16288         * docs/faq/gst-uninstalled:
16289           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16290           allow you to correctly run intalled applications built against old 
16291           core, using plugins that require updated core (e.g. running
16292           installed totem against a full uninstalled gstreamer stack)
16293
16294 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16295
16296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16297         more debug details
16298
16299 2006-03-24  Wim Taymans  <wim@fluendo.com>
16300
16301         * docs/gst/gstreamer-sections.txt:
16302         Rearrange the order of the methods so that related methods
16303         are grouped together in sections.
16304
16305 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16306
16307         * gst/gstelement.c:
16308           Little clarification in the docs
16309
16310 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16311
16312         * docs/README:
16313         formatting fix
16314         * plugins/elements/gstidentity.c:
16315         * plugins/elements/gstqueue.c:
16316         * plugins/elements/gsttee.c:
16317         * plugins/elements/gsttypefindelement.c:
16318         GST_ELEMENT_DETAILS formatting
16319
16320 2006-03-24  Wim Taymans  <wim@fluendo.com>
16321
16322         * libs/gst/base/gstbasesink.h:
16323         Only add fields, not insert or we break ABI.
16324
16325 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16326
16327         * win32/common/libgstbase.def:
16328         * win32/common/libgstreamer.def:
16329           Update, add recently added functions.
16330
16331 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16332
16333         * docs/gst/gstreamer-sections.txt:
16334         * gst/gstutils.c: (gst_pad_query_peer_position),
16335         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16336         * gst/gstutils.h:
16337           API: add some new utility functions:
16338            - gst_pad_query_peer_position()
16339            - gst_pad_query_peer_duration()
16340            - gst_pad_query_peer_convert()
16341           
16342 2006-03-23  Wim Taymans  <wim@fluendo.com>
16343
16344         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16345         (gst_base_sink_init), (gst_base_sink_finalize),
16346         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16347         (gst_base_sink_set_property), (gst_base_sink_get_property),
16348         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16349         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16350         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16351         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16352         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16353         (gst_base_sink_preroll_object), (gst_base_sink_event),
16354         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16355         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16356         (gst_base_sink_query), (gst_base_sink_change_state):
16357         Decouple max-lateness and the fact that QoS messages are generated
16358         with a new property (qos).
16359         added API: GstBaseSink::async_play()
16360         Add vmethod so subclasses can be notified of ASYNC playing
16361         state changes.
16362         Collect timestamp start and stop to report better current
16363         position in EOS/PLAYING/PAUSED/READY/NULL.
16364         Refactor QoS/frame dropping and other measurements.
16365         API: GstBaseSrc::qos
16366         Fixes #326311
16367
16368         * libs/gst/base/gstbasesink.h:
16369         Added Private struct.
16370         API: gst_base_sink_set_qos_enabled()
16371         API: gst_base_sink_is_qos_enabled()
16372
16373 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16374
16375         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16376           If compiling against GLib-2.8 or newer, try to read the
16377           registry file using GMappedFile first before falling back
16378           to fopen() + fread() (#332151).
16379
16380 2006-03-22  Wim Taymans  <wim@fluendo.com>
16381
16382         * gst/gstinfo.c: (gst_debug_set_active),
16383         (gst_debug_category_set_threshold):
16384         Disable debugging unless explicitly activated.
16385         Fixes #335480.
16386
16387 2006-03-22  Wim Taymans  <wim@fluendo.com>
16388
16389         * gst/gstelement.c: (gst_element_set_locked_state),
16390         (gst_element_dispose):
16391         Cleanup the error case.
16392
16393         * gst/gstobject.c: (gst_object_dispose):
16394         print a critical when some object was disposed with
16395         a parent, also revive the object since it might
16396         crash the parent.
16397
16398 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16399
16400         * tools/gst-launch.1.in:
16401           Fix another typo.
16402
16403 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16404
16405         * configure.ac:
16406         * tests/check/Makefile.am:
16407           disable some tests when we don't have a registry
16408         * tests/check/gst/gstutils.c: (gst_utils_suite):
16409           don't build the part that needs parsing
16410
16411 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16412
16413         * gst/Makefile.am
16414         * tests/examples/Makefile.am:
16415           fix --disable-parse build
16416
16417 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16418
16419         * tools/gst-feedback.1.in:
16420           Fix typo: s/feeback/feedback/ (#133494).
16421
16422 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16423
16424         * tools/Makefile.am:
16425         * tools/gst-launch.1.in:
16426           Add FILES section and correct entry about GST_REGISTRY_PATH
16427           environment variable (#133495; #133494).
16428
16429 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16430
16431         * tools/Makefile.am:
16432         * tools/gst-md5sum.1.in:
16433         * tools/gst-md5sum.c:
16434           Remove gst-md5sum and man page (the md5sink element
16435           required was removed ages ago)
16436
16437 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16438
16439         * gst/gststructure.c: (gst_structure_id_set_value):
16440           Make sure that string fields in structures/taglists
16441           contain valid UTF-8 - we don't want to pass rubbish to
16442           applications because of a buggy plugin (cp. #334167).
16443
16444 2006-03-21  Edward Hervey  <edward@fluendo.com>
16445
16446         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16447         (gst_bin_handle_message_func):
16448         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16449         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16450         (gst_element_set_bus_func):
16451         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16452         * gst/gstminiobject.c: (gst_value_set_mini_object),
16453         (gst_value_take_mini_object):
16454         * gst/gstpad.c: (gst_pad_set_pad_template):
16455         * gst/gstpipeline.c: (gst_pipeline_dispose),
16456         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16457         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16458         (gst_collect_pads_chain):
16459         * libs/gst/net/gstnettimeprovider.c:
16460         (gst_net_time_provider_set_property):
16461         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16462         It's in fact all issues with gst_*object_replace().
16463
16464 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16465
16466         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16467         
16468         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16469         * pkgconfig/gstreamer-check.pc.in:
16470           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16471
16472 2006-03-21  Edward Hervey  <edward@fluendo.com>
16473
16474         * gst/gstbuffer.h:
16475         * gst/gstevent.h:
16476         * gst/gstmessage.h:
16477         gst_[buffer|event|message]_ref() macros are replaced by a static
16478         inline functions because gcc-4.1 will about if the return value
16479         isn't used.
16480         * tests/check/gst/gstevent.c: (event_probe):
16481         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16482
16483 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16484
16485         * gst/gstutils.h:
16486         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16487         the type' case. (Closes: #335195 for now). In the future, when we
16488         depend on GLib 2.10, we could also intern the type name using
16489         g_intern_static_string()
16490
16491 2006-03-20  Wim Taymans  <wim@fluendo.com>
16492
16493         * gst/gstbin.c: (gst_bin_handle_message_func),
16494         (bin_query_max_init), (bin_query_position_fold),
16495         (bin_query_position_done), (gst_bin_query):
16496         Position query should also take max of all streams.
16497
16498 2006-03-20  Wim Taymans  <wim@fluendo.com>
16499
16500         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16501         (gst_fake_src_finalize):
16502         Fix leaks in fakesrc.
16503
16504         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16505         Fix leaks in the testcase.
16506
16507 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16508
16509         * gst/gst_private.h:
16510           add win32 specific import decoration(__declspec(dllimport)) 
16511           for all extern GstDebugCategory * variables
16512         * win32/common/libgstbase.def:
16513         * win32/common/libgstcontroller.def:
16514         * win32/common/libgstreamer.def:
16515           Add some exports, remove empty lines
16516         * win32/common/libgstdataprotocol.def:
16517         * win32/common/libgstdataprotocol.dsp:
16518         * win32/common/libgstnet.def:
16519         * win32/common/libgstnet.dsp:
16520           new project files and exportation files added
16521         
16522 2006-03-19  Wim Taymans  <wim@fluendo.com>
16523
16524         * tests/check/libs/basesrc.c: (eos_event_counter):
16525         Use proper return value for probe.
16526
16527 2006-03-17  Wim Taymans  <wim@fluendo.com>
16528
16529         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16530         (gst_pad_push):
16531         Don't leak buffers, caps and pads on negotiation errors.
16532
16533 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16534
16535         * docs/faq/cvs.xml:
16536         * docs/faq/dependencies.xml:
16537         * docs/faq/developing.xml:
16538         * docs/faq/faq.xml:
16539         * docs/faq/general.xml:
16540         * docs/faq/getting.xml:
16541         * docs/faq/legal.xml:
16542         * docs/faq/troubleshooting.xml:
16543         * docs/faq/using.xml:
16544         Faq review and update.
16545
16546 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16547
16548         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16549         (gst_pad_push):
16550         Don't pound the cpu to pieces by checking get_caps when accept_caps
16551         is called with the same caps as the pad already has.
16552         Use GST_DEBUG_OBJECT when outputting caps change information.
16553
16554 2006-03-15  Wim Taymans  <wim@fluendo.com>
16555
16556         * gst/gstclock.c: (gst_clock_class_init):
16557         Fix docs.
16558
16559 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16560
16561         * gst/gstbuffer.h:
16562         Documentation fix.
16563
16564         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16565         (gst_pad_accept_caps), (gst_pad_configure_sink),
16566         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16567         Make the default acceptcaps behaviour be to check the requested 
16568         caps against the gst_pad_get_caps output. 
16569
16570         Ensure that gst_pad_accept_caps is used to check caps when a pad
16571         doesn't have a setcaps function, so that pads automatically refuse 
16572         caps that they don't allow in their pad template. (Fixes #332986)
16573
16574         When a buffer with attached caps is pushed, ensure that the source 
16575         pad receives those caps even if the element didn't call
16576         gst_pad_set_caps first.
16577
16578 2006-03-15  Wim Taymans  <wim@fluendo.com>
16579
16580         * libs/gst/base/gstadapter.c:
16581         Add some docs.
16582
16583 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16584
16585         * win32/common/libgstbase.def:
16586         * win32/common/libgstcontroller.def:
16587         * win32/common/libgstreamer.def:
16588           Add a whole bunch of missing functions (#334434).
16589
16590 2006-03-14  Wim Taymans  <wim@fluendo.com>
16591
16592         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16593         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16594         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16595         Better debug info when we receive a segment event.
16596         Reorganize a bit so we can pass the get_times() results around.
16597         Use the segment format when calculating the running time.
16598         Don't do QoS is sync is disabled or we have no clock or the
16599         element does not want us to sync to the clock.
16600         Don't drop buffers if QoS is disabled for now.
16601
16602 2006-03-14  Wim Taymans  <wim@fluendo.com>
16603
16604         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16605         Marked the stats property as unimplemented so people don't get
16606         wild ideas.
16607         Add debug message when regression goes wrong.
16608         Added some more docs.
16609
16610 2006-03-14  Wim Taymans  <wim@fluendo.com>
16611
16612         * gst/gstsegment.c: (gst_segment_to_stream_time):
16613         Return correct return type in case of errors.
16614
16615 2006-03-14  Wim Taymans  <wim@fluendo.com>
16616
16617         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16618           Don't segfault on invalid formats.
16619
16620 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16621
16622         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16623           Can't use gst_segment_to_running_time() when the segment
16624           is not in GST_TIME_FORMAT (like with filesink, for example).
16625           Stops flac encoding pipelines from spewing critical warnings
16626           at EOS (#331248).
16627           
16628 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16629
16630         * gst/gstpipeline.c: (gst_pipeline_class_init):
16631           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16632
16633         * plugins/elements/gsttypefindelement.c:
16634         (gst_type_find_element_handle_event):
16635           Don't try to typefind empty streams.
16636
16637 2006-03-14  Wim Taymans  <wim@fluendo.com>
16638
16639         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16640         (gst_base_sink_do_qos):
16641         Separate QoS calculation.
16642         Only drop buffers when lateness is bigger than the 
16643         duration of the buffer.
16644
16645 2006-03-13  Wim Taymans  <wim@fluendo.com>
16646
16647         * gst/gstpipeline.c: (gst_pipeline_set_property),
16648         (gst_pipeline_get_property), (do_pipeline_seek),
16649         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16650         (gst_pipeline_get_delay):
16651         Don't deadlock when reading properties.
16652
16653 2006-03-13  Wim Taymans  <wim@fluendo.com>
16654
16655         * libs/gst/base/gstbasetransform.c:
16656         (gst_base_transform_class_init), (gst_base_transform_init),
16657         (gst_base_transform_sink_event),
16658         (gst_base_transform_sink_eventfunc),
16659         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16660         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16661         (gst_base_transform_set_property),
16662         (gst_base_transform_get_property),
16663         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16664         (gst_base_transform_set_qos_enabled),
16665         (gst_base_transform_is_qos_enabled):
16666         * libs/gst/base/gstbasetransform.h:
16667         Make basetransform virtual method for src events too.
16668         Handle QOS in basetransform.
16669         API: gst_base_transform_update_qos()
16670         API: gst_base_transform_set_qos_enabled()
16671         API: gst_base_transform_is_qos_enabled()
16672
16673 2006-03-13  Wim Taymans  <wim@fluendo.com>
16674
16675         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16676         (gst_base_sink_do_sync):
16677         Small cleanups.
16678         Use QOS debug category.
16679
16680 2006-03-13  Wim Taymans  <wim@fluendo.com>
16681
16682         * plugins/elements/gstqueue.c:
16683         Very small doc update.
16684
16685 2006-03-13  Wim Taymans  <wim@fluendo.com>
16686
16687         * gst/gst_private.h:
16688         * gst/gstinfo.c: (_gst_debug_init):
16689         Added QOS debug category
16690
16691 2006-03-13  Wim Taymans  <wim@fluendo.com>
16692
16693         * docs/gst/gstreamer-sections.txt:
16694         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16695         * gst/gstbin.h:
16696         * gst/gstbus.c: (gst_bus_class_init):
16697         * gst/gstbus.h:
16698         * gst/gstclock.c:
16699         * gst/gstelement.c: (gst_element_set_locked_state):
16700         * gst/gstsegment.c:
16701         Documentation updates.
16702
16703         * gst/gstpipeline.c: (gst_pipeline_get_type),
16704         (gst_pipeline_class_init), (gst_pipeline_init),
16705         (gst_pipeline_dispose), (gst_pipeline_set_property),
16706         (gst_pipeline_get_property), (do_pipeline_seek),
16707         (gst_pipeline_send_event), (gst_pipeline_change_state),
16708         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16709         (gst_pipeline_get_delay):
16710         * gst/gstpipeline.h:
16711         Added methods for setting the delay.
16712         API: gst_pipeline_set_delay()
16713         API: gst_pipeline_get_delay()
16714         Add pipeline debug category
16715         Various cleanups.
16716         Updated docs.
16717         Don't reset stream time when seek failed.
16718
16719 2006-03-13  Wim Taymans  <wim@fluendo.com>
16720
16721         * docs/design/draft-klass.txt:
16722         * docs/design/part-clocks.txt:
16723         * docs/design/part-events.txt:
16724         * docs/design/part-gstbin.txt:
16725         * docs/design/part-gstpipeline.txt:
16726         * docs/design/part-messages.txt:
16727         * docs/design/part-negotiation.txt:
16728         * docs/design/part-overview.txt:
16729         * docs/design/part-preroll.txt:
16730         * docs/design/part-seeking.txt:
16731         * docs/design/part-states.txt:
16732         * docs/design/part-streams.txt:
16733         Documentation updates.
16734
16735 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16736
16737         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16738         us to leak strings...
16739
16740 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16741
16742         * libs/gst/net/gstnettimeprovider.c:
16743           fix docs
16744         * win32/common/config.h:
16745           update
16746
16747 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16748
16749         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16750
16751         * configure.ac:
16752           Don't check for libgnomeui (leftover from old examples
16753           that aren't built or disted any longer) (#334303).
16754           
16755 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16756
16757         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16758         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16759           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16760           there's no space left on the device.
16761
16762 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16763
16764         * gst/gstclock.h:
16765           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16766           to cast the input to GstClockTime before comparing with
16767           another GstClockTime value.
16768
16769 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16770
16771         * configure.ac:
16772           back to trunk
16773
16774 === release 0.10.4 ===
16775
16776 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16777
16778         * configure.ac:
16779           releasing 0.10.4, "Light"
16780
16781 2006-03-10  Michael Smith  <msmith@fluendo.com>
16782
16783         * libs/gst/dataprotocol/dataprotocol.c:
16784           Fix docs for dataprocotol to not get the return types completely
16785           wrong for a few functions.
16786
16787 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16788
16789         * docs/gst/gstreamer-sections.txt:
16790         * gst/gstpipeline.c: (gst_pipeline_class_init),
16791         (gst_pipeline_init), (gst_pipeline_set_property),
16792         (gst_pipeline_get_property), (gst_pipeline_change_state),
16793         (gst_pipeline_set_auto_flush_bus),
16794         (gst_pipeline_get_auto_flush_bus):
16795         * gst/gstpipeline.h:
16796           Add new API: gst_pipeline_set_auto_flush_bus() and
16797           gst_pipeline_get_auto_flush_bus() to disable automatic
16798           flushing of the pipeline's GstBus when going from READY
16799           to NULL state (#332045).
16800
16801 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * docs/gst/gstreamer-sections.txt:
16804         * gst/gsturi.c: (gst_uri_has_protocol):
16805         * gst/gsturi.h:
16806            Add new API: gst_uri_has_protocol() (#333779).
16807
16808 2006-03-09  Wim Taymans  <wim@fluendo.com>
16809
16810         * gst/gstclock.c: (gst_clock_entry_new),
16811         (gst_clock_id_compare_func), (gst_clock_id_wait),
16812         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16813         (gst_clock_init), (gst_clock_get_internal_time),
16814         (gst_clock_set_master), (do_linear_regression),
16815         (gst_clock_add_observation), (gst_clock_set_property):
16816         * gst/gstclock.h:
16817         Review docs.
16818         Small cleanups.
16819         Fix a possible segfault when the window-size is made smaller.
16820         Calculate jitter before performing the clock wait. Ideally
16821         the clock implementation should calculate jitter but we need
16822         API breakage for that.
16823
16824         * gst/gstsystemclock.c: (gst_system_clock_init):
16825         Docs review.
16826         
16827         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16828         Remove leftover else
16829
16830         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16831         (gst_systemclock_suite):
16832         Added check to test GST_CLOCK_DIFF.
16833
16834 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16835
16836         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16837         (gst_type_find_helper_get_range):
16838           If we are provided with the size, we should implement
16839           GstTypeFind::get_length, so that typefind functions who
16840           want to can actually peek at the middle of a file.
16841
16842 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16843
16844         * docs/manual/advanced-dataaccess.xml:
16845           Add some very very basic error checking.
16846
16847         * docs/pwg/appendix-checklist.xml:
16848           Some updates to the list of things to check when writing an element.
16849
16850 2006-03-08  Wim Taymans  <wim@fluendo.com>
16851
16852         * docs/design/part-element-transform.txt:
16853         Added some docs about the design of tranform elements.
16854
16855         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16856         (gst_base_src_loop), (gst_base_src_change_state):
16857         Mark buffers with the DISCONT flag.
16858
16859 2006-03-08  Michael Smith  <msmith@fluendo.com>
16860
16861         * gst/gstregistry.h:
16862         * gst/gstregistryxml.c: (gst_registry_save),
16863         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16864         (gst_registry_xml_save_pad_template),
16865         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16866         (gst_registry_xml_write_cache):
16867           Rewrite registry-saving to avoid race conditions and check for
16868           failed writes.
16869
16870 2006-03-08  Wim Taymans  <wim@fluendo.com>
16871
16872         * libs/gst/base/gstbasetransform.c:
16873         (gst_base_transform_transform_caps),
16874         (gst_base_transform_transform_size),
16875         (gst_base_transform_prepare_output_buffer),
16876         (gst_base_transform_get_unit_size),
16877         (gst_base_transform_buffer_alloc),
16878         (gst_base_transform_handle_buffer),
16879         (gst_base_transform_change_state):
16880         Cleanups, separate normal flow from errors, add sensible
16881         DEBUG lines.
16882         Don't try to renegotiate when allocating an output buffer.
16883         Also copy DISCONT buffer flag when copying a buffer.
16884         Reset the transform after we finish streaming, not during.
16885
16886 2006-03-08  Wim Taymans  <wim@fluendo.com>
16887
16888         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16889         Use last buffer timestamp in qos message.
16890
16891 2006-03-07  Wim Taymans  <wim@fluendo.com>
16892
16893         Patch by: Christophe Fergeau
16894
16895         * docs/pwg/advanced-tagging.xml:
16896         * docs/pwg/building-pads.xml:
16897           fixes #333416
16898
16899 2006-03-07  Wim Taymans  <wim@fluendo.com>
16900
16901         * docs/libs/gstreamer-libs-sections.txt:
16902         Added basesink new methods.
16903
16904         * gst/gstevent.c:
16905         * gst/gstevent.h:
16906         Docs updates. Flesh out the QoS docs.
16907
16908         * libs/gst/base/gstadapter.c:
16909         Small doc clarification about ownership and flushing.
16910
16911         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16912         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16913         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16914         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16915         * libs/gst/base/gstbasesink.h:
16916         API additions: 
16917         Added new methods to allow subclass to control max-lateness 
16918         and sync.
16919         Generate very basic QoS events based on last sync observation.
16920         Updated docs, fix typo, added some QoS blurb.
16921
16922         * libs/gst/base/gstbasesrc.c:
16923         Remove obsolete _get_state() calls from docs.
16924
16925 2006-03-07  Wim Taymans  <wim@fluendo.com>
16926
16927         * docs/libs/gstreamer-libs-sections.txt:
16928         * libs/gst/base/gstbasetransform.h:
16929         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16930         Fix docs for GstBaseSrc.
16931
16932 2006-03-07  Wim Taymans  <wim@fluendo.com>
16933
16934         * docs/gst/gstreamer-sections.txt:
16935         * gst/gstbuffer.h:
16936         * gst/gstvalue.c:
16937         * libs/gst/base/gstbasetransform.h:
16938         Small documentation fixes.
16939
16940 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16941
16942         * gst/gstvalue.c:
16943           Document thread-unsafety of gst_value_register_foo_func()
16944           when used at the same time as gst_value_foo() (#322628).
16945
16946 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16947
16948         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16949         (gst_push_src_check_get_range):
16950           Push sources don't support pull mode by default.
16951
16952 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16953
16954         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16955         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16956         (gst_base_src_default_check_get_range):
16957         * libs/gst/base/gstbasesrc.h:
16958           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16959           provide default implementation, and rename
16960           gst_base_src_check_get_range() to
16961           gst_base_src_pad_check_get_range() for clarity.
16962
16963 2006-03-06  Wim Taymans  <wim@fluendo.com>
16964
16965         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16966         Make property overridable.
16967
16968 2006-03-06  Wim Taymans  <wim@fluendo.com>
16969
16970         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16971         (gst_base_sink_init), (gst_base_sink_set_property),
16972         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16973         * libs/gst/base/gstbasesink.h:
16974         API addition: Make max-lateness a property.
16975
16976 2006-03-06  Wim Taymans  <wim@fluendo.com>
16977
16978         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16979         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16980         Don't ever draw a frame that is >10ms late.
16981
16982 2006-03-06  Michael Smith  <msmith@fluendo.com>
16983
16984         * gst/gstmessage.c: (_gst_message_copy):
16985           When copying a message, set the parent_refcount of the enclosed
16986           structure to point at the copy, not the original message.
16987
16988 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         Patch by: Christophe Fergeau
16991
16992         * gst/gstutils.h:
16993           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16994           usable in c++ code (#333417)
16995
16996 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16997
16998         * gst/gstclock.h:
16999           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17000
17001 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17002
17003         * libs/gst/base/gstbasetransform.c:
17004         (gst_base_transform_transform_caps):
17005           Make sure caps are writable before passing them to
17006           gst_caps_append().
17007
17008 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17009
17010         * gst/gsterror.h:
17011           Fix some minor docs errors.
17012
17013 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17014
17015           Patch by: Ross Burton <ross at burtonini dot com>
17016
17017         * gst/gsterror.c: (_gst_resource_errors_init):
17018         * gst/gsterror.h:
17019           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17020
17021 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17022
17023         * gst/gst.c:
17024         Add a check and output a g_warning when GStreamer is built
17025         against GLib 2.6 but running against 2.8 or higher, and vice 
17026         versa. (Closes: #323542)
17027
17028 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17029
17030         * gst/parse/parse.l:
17031           Commit patch for parse_launch syntax from #331255. Removes 
17032           support for quoted strings and mimetypes when writing filtered 
17033           caps. See the bug report for more details - I'm pretty sure this
17034           obscure feature is not in use by _anyone_ anywhere.
17035
17036           With this simple change, the size of the gstreamer.so here 
17037           drops from 2193KB to 1565KB.
17038
17039 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17040
17041         * plugins/elements/gsttypefindelement.h:
17042         * plugins/elements/gsttypefindelement.c:
17043         (gst_type_find_element_src_event), (start_typefinding),
17044         (stop_typefinding), (gst_type_find_element_handle_event),
17045         (gst_type_find_element_chain),
17046         (gst_type_find_element_chain_do_typefinding):
17047           Use gst_type_find_helper_for_buffer() for chain-based
17048           typefinding.
17049
17050 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17051
17052         * plugins/elements/gsttypefindelement.c:
17053         (gst_type_find_element_class_init),
17054         (gst_type_find_element_set_property),
17055         (gst_type_find_element_get_property):
17056           Deprecate "maximum" property (not only was it only taken into
17057           account for typefinding in push-mode anyway, it also was never
17058           actually possible to set it in the first place because the
17059           property was registered with the numeric property ID for the
17060           "minimum" property). Register "maximum" property correctly,
17061           for the sake of future copy'n'pasters. Remove some cruft
17062           from property get/set functions.
17063
17064 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17065
17066         * plugins/elements/gsttypefindelement.c:
17067         (gst_type_find_element_activate):
17068           Use gst_type_find_helper_get_range() here, so we
17069           can honour the "minimum" property and also emit
17070           the signal with the correct probability of the found caps.
17071
17072 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17073
17074         * docs/libs/gstreamer-libs-sections.txt:
17075         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17076         (helper_find_suggest), (gst_type_find_helper_get_range),
17077         (gst_type_find_helper):
17078         * libs/gst/base/gsttypefindhelper.h:
17079           New API: gst_type_find_helper_get_range() (#333042).
17080
17081 2006-03-02  Michael Smith  <msmith@fluendo.com>
17082
17083         * gst/gstregistryxml.c: (load_feature):
17084           Asserting on a failure to read part of the registry is Not Cool.
17085           Just log a warning and return NULL (which is already handled)
17086
17087 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17088
17089         * win32/common/libgstbase.def:
17090           added export of gst_type_find_helper_for_buffer
17091         * win32/common/libgstbase.def:
17092           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17093           gst_ghost_pad_get_target
17094
17095 2006-02-28  Wim Taymans  <wim@fluendo.com>
17096
17097         * docs/design/draft-klass.txt:
17098         We use Filter now.
17099         Added Connector to mark elements that are only used to
17100         allow pipeline connections.
17101         Moved Debug to extra feature since most of them are 
17102         functionally something else.
17103
17104 2006-02-28  Wim Taymans  <wim@fluendo.com>
17105
17106         * docs/design/draft-klass.txt:
17107         Some updates and clarifications.
17108
17109 2006-02-28  Wim Taymans  <wim@fluendo.com>
17110
17111         * docs/design/draft-klass.txt:
17112         Proposal for klass field values.
17113
17114         * docs/design/part-streams.txt:
17115         Start of a doc describing stream anatomy.
17116
17117 2006-02-28  Wim Taymans  <wim@fluendo.com>
17118
17119         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17120         Help the compiler a bit with type registration.
17121         Use existing forward cod path instead of duplicating it when 
17122         handling a message.
17123         
17124         * gst/gstbus.c: (gst_bus_get_type):
17125         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17126         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17127         * gst/gstclock.c: (gst_clock_get_type):
17128         * gst/gstelement.c: (gst_element_get_type),
17129         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17130         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17131         * gst/gstminiobject.c: (gst_mini_object_get_type):
17132         * gst/gstpad.c: (gst_pad_get_type):
17133         * gst/gstsegment.c: (gst_segment_get_type):
17134         * gst/gststructure.c: (gst_structure_get_type):
17135         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17136         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17137         * gst/gstvalue.c:
17138         Help compiler with type registration.
17139
17140         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17141         Small doc update.
17142
17143 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17144
17145         * plugins/elements/gsttypefindelement.c:
17146         (gst_type_find_element_handle_event):
17147           When we get an EOS event and have not found a type yet
17148           (most likely because we had not yet accumulated
17149           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17150           type given the data we have so far. Fixes typefinding
17151           for very short streams again, most notably quicktime
17152           redirections as used on Apple's trailer site (#331701).
17153
17154 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17155
17156         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17157         (gst_type_find_helper):
17158           Try typefinding factories with the highest rank first.
17159
17160 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17161
17162         * docs/libs/gstreamer-libs-docs.sgml:
17163         * docs/libs/gstreamer-libs-sections.txt:
17164         * libs/gst/base/gsttypefindhelper.c:
17165           Add section for typefind helper and add documentation
17166           for the old and the new function.
17167
17168 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17169
17170         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17171         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17172         (gst_type_find_helper_for_buffer):
17173         * libs/gst/base/gsttypefindhelper.h:
17174           New API: gst_type_find_helper_for_buffer() (#332723).
17175           
17176 2006-02-27  Michael Smith  <msmith@fluendo.com>
17177
17178         Patch by: Loïc Minier
17179
17180         * configure.ac:
17181         * docs/Makefile.am:
17182         * docs/slides/Makefile.am:
17183           prevent CVS directories getting disted.
17184
17185 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17186
17187         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17188           Use the REFCOUNTING category for caps refcounting.
17189           
17190 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17191
17192         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17193           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17194
17195 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17196
17197         * plugins/elements/gsttypefindelement.c:
17198         (gst_type_find_element_activate):
17199           Use gst_pad_check_pull_range() before _activate_pull()
17200           to avoid unnecessary open/close (see #331690).
17201
17202 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17203
17204         * gst/gstutils.c:
17205           Docs enhancement: make it crystal clear what the
17206           gst_pad_add_*_probe() callbacks should look like.
17207
17208 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17209
17210         * libs/gst/base/gstbasesrc.c:
17211           Document how applications can stop recording from
17212           live sources (see #330996).
17213
17214 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17215
17216         * tests/check/Makefile.am:
17217         * tests/check/libs/basesrc.c: (eos_event_counter),
17218         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17219         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17220         (gst_basesrc_suite), (main):
17221           ... and add some tests for the base source EOS stuff.
17222
17223 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17224
17225         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17226           Test case originally showed the problem fixed below,
17227           but was then amended. Add checks back at the place
17228           where they used to be.
17229
17230 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17231
17232         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17233         (gst_base_src_init), (gst_base_src_loop),
17234         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17235         (gst_base_src_change_state):
17236         * libs/gst/base/gstbasesrc.h:
17237           Don't unconditionally send EOS when going from PAUSED to
17238           READY state, esp. make sure we don't send two EOS events
17239           in some cases (e.g. one when reaching EOS and one when
17240           going from PAUSED to READY). Also, we don't want to send
17241           EOS events when operating in pull mode. However, we do
17242           want to send an EOS event when shutting down a live
17243           source explicitly, for example (fixes #330996).
17244           
17245 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17246
17247         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17248           Update src->read_position after a seek when not using mmap.
17249           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17250
17251 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17252
17253         * gst/Makefile.am:
17254         * gst/gstparse.h:
17255         * gst/gstutils.c:
17256         * gst/gstutils.h:
17257         Make things work with --disable-parse as they do with 
17258         --disable-load-save - the symbols involved disappear, but the
17259         header is still installed and GST_DISABLE_PARSE is included via
17260         gstconfig.h
17261
17262 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17263
17264         * libs/gst/base/gstbasetransform.c:
17265         (gst_base_transform_change_state): Fix a stupid bug. I was 
17266         sure I compiled that.
17267
17268 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17269
17270         * gst/gstpad.c: (gst_pad_set_blocked_async):
17271         * gst/gstutils.c: (gst_pad_add_data_probe),
17272         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17273         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17274         (gst_pad_remove_buffer_probe): Make those function act on the
17275         ghostpad target when it's a ghostpad. (Closes #331727)
17276
17277 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17278
17279         * libs/gst/base/gstbasetransform.c:
17280         (gst_base_transform_change_state): Make basetransform reusable.
17281         (Closes #331898)
17282
17283 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17284
17285         * docs/random/release:
17286         Move the current documentation of how to do a release to the top
17287         of the file.
17288
17289         * gst/gstbin.c: (gst_bin_class_init),
17290         (gst_bin_handle_message_func):
17291         Allow multiple state-recalculation threads. (Closes #328873)
17292
17293 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17294
17295         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17296         * gst/gstpad.c: (gst_pad_set_event_function),
17297         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17298         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17299         2 strings. You can't use the STR_NULL macro on that.
17300
17301 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17302
17303         * gst/gstpad.c: (gst_pad_set_event_function),
17304         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17305         (gst_pad_set_getcaps_function)
17306         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17307           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17308           So now, we can use --gst-debug-level=5 on Windows
17309         * win32/common/libgstcontroller.def:
17310           Added export of gst_controller_init
17311         * win32/vs6/libgstcontroller.dsp:
17312           Fixed Release post build configuration
17313
17314 2006-02-17  Wim Taymans  <wim@fluendo.com>
17315
17316         * tests/check/gst/gstquery.c: (GST_START_TEST):
17317         Added another check.
17318
17319 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17320
17321         * plugins/elements/gsttypefindelement.c: (find_peek):
17322           We can do peeks at non-zero offsets, as long as they
17323           fall within the buffer we have.
17324
17325 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17326
17327         * tests/check/Makefile.am:
17328         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17329         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17330         (parse_suite), (main):
17331           Add testsuite for parse launch syntax
17332
17333 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17334
17335         * plugins/elements/gsttypefindelement.c:
17336         (gst_type_find_element_chain):
17337           When typefinding is unsuccessful in the chain function, don't
17338           error out immediately. Only error out with NO_CAPS_FOUND if
17339           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17340           otherwise simply wait for more data so we can try typefinding
17341           again with more data later. Also, don't attempt to typefind
17342           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17343           this should improve typefinding from network sources where the
17344           size of the first buffer can be somewhat random.
17345
17346 2006-02-14  Wim Taymans  <wim@fluendo.com>
17347
17348         * docs/gst/gstreamer-sections.txt:
17349         * gst/gstpadtemplate.c:
17350         * gst/gstpadtemplate.h:
17351         Fix padtemplate docs, fixes #328805.
17352
17353 2006-02-14  Wim Taymans  <wim@fluendo.com>
17354
17355         * tools/gst-launch.c: (main):
17356         NO_PREROLL is not an ERROR so don't send confusing messages
17357         to the user.
17358
17359 2006-02-14  Wim Taymans  <wim@fluendo.com>
17360
17361         Patch by: Torsten Schoenfeld
17362
17363         * gst/gstregistry.c: (gst_registry_get_default),
17364         (_gst_registry_cleanup):
17365         Protect default registry with lock and ref/sink it.
17366         Fixes #324818
17367
17368 2006-02-14  Wim Taymans  <wim@fluendo.com>
17369
17370         * gst/gstbuffer.c:
17371         * gst/gstquery.c: (gst_query_list_add_format),
17372         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17373         (gst_query_parse_formats_nth):
17374         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17375         Docs fixes.
17376
17377 2006-02-14  Wim Taymans  <wim@fluendo.com>
17378
17379         * docs/gst/gstreamer-sections.txt:
17380         Reworked query docs.
17381
17382         * gst/gstquery.c: (gst_query_new_formats),
17383         (gst_query_list_add_format), (gst_query_set_formats),
17384         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17385         (gst_query_parse_formats_nth):
17386         * gst/gstquery.h:
17387         Flesh out formats query, added some new methods.
17388         Fix part of #324398.
17389
17390         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17391         Added query creation tests.
17392
17393 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17394
17395         * gst/gstpad.c: (fixate_value):
17396         Add a default fixation for fraction lists.
17397
17398 2006-02-13  Wim Taymans  <wim@fluendo.com>
17399
17400         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17401         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17402         (gst_task_join):
17403         * gst/gsttask.h:
17404         Detect and warn for obvious deadlocks. fixes #320340
17405         Fix error case where lock was not released.
17406
17407         * tests/check/Makefile.am:
17408         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17409         (task_func), (gst_element_suite), (main):
17410         Add task check.
17411
17412 2006-02-13  Wim Taymans  <wim@fluendo.com>
17413
17414         * docs/gst/gstreamer-sections.txt:
17415         * gst/gstbus.c:
17416         Add new functions to docs.
17417
17418 2006-02-13  Wim Taymans  <wim@fluendo.com>
17419
17420         * docs/design/part-TODO.txt:
17421         Updated TODO list, basesrc supports seeking to non-bytes
17422         formats.
17423
17424         * docs/design/part-element-sink.txt:
17425         Update docs.
17426
17427         * gst/gstbin.c: (bin_replace_message),
17428         (gst_bin_handle_message_func):
17429         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17430         * gst/gstevent.c: (gst_event_finalize):
17431         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17432         (gst_pad_send_event):
17433         Use shiny new _TYPE_NAME macros.
17434
17435         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17436         Move debug statement up.
17437
17438         * gst/gstelement.c: (gst_element_set_locked_state):
17439         Add some debugging.
17440
17441 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17442
17443         * docs/gst/gstreamer-sections.txt:
17444         * gst/gstmessage.h:
17445         * gst/gstquery.h:
17446           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17447           macros (#330906). Also, document the already existing
17448           GST_QUERY_TYPE macro.
17449
17450 2006-02-13  Wim Taymans  <wim@fluendo.com>
17451
17452         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17453         (event_probe), (GST_START_TEST):
17454         Only events up to the pipeline EOS are counted, there are
17455         some more when going to NULL currently which we don't care
17456         about for now.
17457
17458 2006-02-13  Wim Taymans  <wim@fluendo.com>
17459
17460         * gst/gstpad.c: (gst_pad_send_event):
17461         Correctly check flushing and emit probes. fixes #330125
17462
17463 2006-02-10  Andy Wingo  <wingo@pobox.com>
17464
17465         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17466         structure.
17467         (gst_bus_init): Cache the location of the private data in the
17468         instance structure.
17469         (gst_bus_enable_sync_message_emission) 
17470         (gst_bus_disable_sync_message_emission): Implement new public
17471         functions.
17472         (gst_bus_post): Emit the sync-message signal if the user asked for
17473         it. Fixes #330684.
17474
17475         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17476         location of the bus-private structure.
17477         (gst_bus_enable_sync_message_emission)
17478         (gst_bus_disable_sync_message_emission): API addition
17479
17480 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17481
17482         Patch by: Vincent Torri
17483
17484         * docs/pwg/building-boiler.xml:
17485         PWG patch from #326800
17486
17487 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17488
17489         * configure.ac:
17490         * docs/Makefile.am:
17491         * docs/design/Makefile.am:
17492           Dist design docs.
17493
17494 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17495
17496         * configure.ac:
17497           back to CVS
17498
17499 === release 0.10.3 ===
17500
17501 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17502
17503         * configure.ac:
17504           releasing 0.10.3, "Like a virgin"
17505
17506 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17507
17508         * configure.ac:
17509           2nd prerelease of 0.10.3
17510           Bump libtool versioning.
17511
17512 2006-02-07  Andy Wingo  <wingo@pobox.com>
17513
17514         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17515         update last_stop if we're in TIME format and the timestamp is
17516         valid.
17517
17518         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17519         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17520         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17521         If we get a new newsegment with a different format, adapt
17522         accordingly.
17523
17524         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17525         of 0. Not a problem, really.
17526
17527         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17528         warn if sync=true.
17529
17530 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17531
17532         * configure.ac:
17533           Prelease of 0.10.3
17534
17535 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17536
17537         * win32/vs7:
17538           project files updated to the default vs7 configuration
17539         * win32/common/libgstbase.def:
17540         * win32/common/libgstreamer.def:
17541           added new symbols,
17542           removed empty lines,
17543           sorted all exported symbols alphabetically
17544         * win32/common/dirent.c:
17545         * win32/common/dirent.h:
17546         * win32/common/gchar.h:
17547           use windows line end.
17548           
17549 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17550
17551         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17552           Send EOS event when stopping.
17553
17554 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17555
17556         * docs/README:
17557           Tell folks what to do if the plugin-foobar.xml file
17558           hasn't been generated for a newly-added plugin.
17559
17560 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17561
17562         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17563         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17564         (gst_collect_pads_start), (gst_collect_pads_stop),
17565         (gst_collect_pads_event): Collectpads now holds a reference
17566         to the GstPad that was added. Indeed we don't want to look
17567         at pads that might just go away with no warning...
17568
17569 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17570
17571         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17572         (gst_collect_pads_start), (gst_collect_pads_stop),
17573         (gst_collect_pads_event), (gst_collect_pads_chain):
17574         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17575         Mark Nauwelaerts's patch on bug #328491.
17576
17577 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17578
17579         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17580         (gst_utils_suite):
17581           Add some simple tests for gst_parse_bin_from_description() and
17582           gst_bin_find_unconnected_pad() (#329069).
17583
17584 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17585
17586         * tools/gst-launch.c: (event_loop), (main):
17587           Catch errors during preroll (#320084).
17588
17589 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17590
17591         * plugins/elements/gsttypefindelement.c:
17592         (gst_type_find_element_activate):
17593           Post TYPE_NOT_FOUND error message when typefinding
17594           is unsuccessful in the activate function as well.
17595
17596 2006-02-02  Wim Taymans  <wim@fluendo.com>
17597
17598         * docs/design/part-element-sink.txt:
17599         Updated doc.
17600
17601 2006-02-02  Wim Taymans  <wim@fluendo.com>
17602
17603         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17604         (gst_base_sink_render_object),
17605         (gst_base_sink_queue_object_unlocked):
17606         Only keep track of prerollable items when we are 
17607         prerolling.
17608         Before rendering after preroll, always check if we
17609         have queued items.
17610         Added some more debugging.
17611
17612 2006-02-02  Wim Taymans  <wim@fluendo.com>
17613
17614         * gst/gstelement.c: (gst_element_continue_state),
17615         (gst_element_set_state_func), (gst_element_change_state):
17616         Fixed #326576, been running this for quite some time with
17617         no regressions at all.
17618
17619 2006-02-02  Wim Taymans  <wim@fluendo.com>
17620
17621         * common/gst.supp:
17622         Added more suppressions
17623
17624 2006-02-02  Wim Taymans  <wim@fluendo.com>
17625
17626         * docs/design/part-element-sink.txt:
17627         Updated document.
17628
17629         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17630         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17631         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17632         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17633         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17634         (gst_base_sink_preroll_object),
17635         (gst_base_sink_queue_object_unlocked),
17636         (gst_base_sink_queue_object), (gst_base_sink_event),
17637         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17638         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17639         (gst_base_sink_get_position), (gst_base_sink_change_state):
17640         * libs/gst/base/gstbasesink.h:
17641         Totally refactored matching the design doc.
17642         Use two segments, one to clip incomming buffers and another to
17643         perform sync.
17644         Handle queueing correctly, bypass the queue when playing.
17645         Make EOS cancelable.
17646         Handle errors correctly when operating in pull based mode.
17647
17648         * tests/check/elements/fakesink.c: (GST_START_TEST),
17649         (fakesink_suite):
17650         Added new check for sinks.
17651
17652 2006-02-02  Wim Taymans  <wim@fluendo.com>
17653
17654         * gst/gstsegment.c: (gst_segment_clip):
17655         No reason to refuse to clip when start == -1
17656
17657 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17658
17659         * docs/README:
17660         * docs/manual/intro-basics.xml:
17661         * docs/manual/intro-preface.xml:
17662         * docs/manual/manual.xml:
17663         * docs/pwg/advanced-dparams.xml:
17664         * docs/pwg/intro-basics.xml:
17665         * docs/pwg/intro-preface.xml:
17666         * docs/pwg/pwg.xml:
17667           describe dparams (controller) for plugins
17668           unify docs a little more
17669
17670 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17671
17672         * docs/gst/gstreamer-sections.txt:
17673         * gst/gstutils.c: (element_find_unconnected_pad),
17674         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17675         * gst/gstutils.h:
17676           Add new API: gst_parse_bin_from_description() and
17677           gst_bin_find_unconnected_pad() (#329069).
17678
17679 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17680
17681         * docs/manual/README:
17682           uncover a nasty detail of the docs build
17683
17684 2006-01-31  Wim Taymans  <wim@fluendo.com>
17685
17686         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17687         Don't cache duration messages if we're not going to use or
17688         free them.
17689
17690 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17691
17692         * docs/manual/advanced-dparams.xml:
17693         * docs/pwg/advanced-dparams.xml:
17694           more dparam docs
17695         * gst/gstindex.c:
17696           fix docs
17697         * libs/gst/controller/lib.c: (gst_controller_init):
17698           init just once
17699
17700 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * gst/gstelement.c: (gst_element_message_full):
17703           also show file/line/func if no additional debug was given
17704
17705 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17706         
17707         * win32/vs7/grammar.vcproj:
17708           activate copy of autogenerated files for Release mode
17709
17710 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17711         
17712         * win32/common/libgstreamer.def:
17713           export gst_value_compare
17714
17715 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17716
17717         * plugins/elements/Makefile.am:
17718         * plugins/elements/gstelements.c:
17719         * plugins/elements/gstfdsink.c: (_do_init),
17720         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17721         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17722         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17723         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17724         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17725         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17726         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17727         * plugins/elements/gstfdsink.h:
17728         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17729
17730 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17731
17732         * docs/manual/advanced-dparams.xml:
17733           describe controller
17734         * docs/manual/advanced-position.xml:
17735         * docs/manual/basics-init.xml:
17736         * docs/manual/manual.xml:
17737         * docs/manual/titlepage.xml:
17738         * docs/pwg/pwg.xml:
17739         * docs/pwg/titlepage.xml:
17740           cleanup xml (more to come)
17741         * libs/gst/controller/gstcontroller.c:
17742           fix typo
17743
17744 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17745         
17746         * win32/vs6/grammar.dsp:
17747           add autogen of gstmarshal.c,h for Release mode
17748                 
17749 2006-01-30  Wim Taymans  <wim@fluendo.com>
17750
17751         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17752         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17753         (gst_base_sink_handle_object), (gst_base_sink_event),
17754         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17755         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17756         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17757         (gst_base_sink_deactivate), (gst_base_sink_activate),
17758         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17759         (gst_base_sink_query), (gst_base_sink_change_state):
17760         Basesink cleanups, remove some old code.
17761         Handle the case where a subclass can preroll in the render
17762         method (mostly audiosinks).
17763         Handle more events.
17764         Remove some locks around variables that are now protected
17765         with the PREROLL_LOCK (clock_id, flushing, ..).
17766         Optimize position query some more, do correct locking.
17767         Remove old code to push queue in state change, this is not
17768         needed anymore since preroll blocks on all prerollable items 
17769         now.
17770         Almost implemented as described in design doc.
17771
17772 2006-01-30  Wim Taymans  <wim@fluendo.com>
17773
17774         * tests/check/gst/gstbin.c: (GST_START_TEST):
17775         Wait for refcount to settle down before checking.
17776
17777 2006-01-30  Wim Taymans  <wim@fluendo.com>
17778
17779         * docs/design/part-element-sink.txt:
17780         Pseudo code overview of desired sink behaviour regarding
17781         preroll.
17782
17783 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17784         * win32/vs6/grammar.dsp:
17785           fix some bugs in Release mode for autogenerated files
17786                 
17787 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17788         * win32/common/libgstbase.def:
17789         * win32/common/libgstreamer.def:
17790           export some new symbols: gst_base_src_set_format,
17791           gst_iterator_next, gst_structure_set_valist
17792
17793 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17794
17795         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17796         Set pad functions unconditionally. Fixes #329105.
17797
17798 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17799         * win32/vs8:
17800           add vs8 project files created by Sergey Scobich
17801
17802 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17803
17804         * gst/gstutils.c: (gst_element_unlink_pads):
17805         Don't leak pad references.
17806
17807         * tests/check/elements/fakesink.c: (GST_START_TEST):
17808         * tests/check/generic/sinks.c: (GST_START_TEST):
17809         * tests/check/generic/states.c: (GST_START_TEST):
17810         * tests/check/gst/gstbin.c: (GST_START_TEST):
17811         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17812         * tests/check/gst/gstelement.c: (GST_START_TEST):
17813         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17814         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17815         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17816         Fix a bunch of leaks. Make generic/sinks.c
17817         use a bit less cpu by slowing the buffer rate
17818         between fakesrc and fakesink.
17819         
17820 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17821         * gst/gstcaps.c:
17822         * gst/gstelement.c: (gst_element_send_event):
17823         * gst/gstevent.c:
17824         * gst/gstinfo.c:
17825         * gst/gstiterator.c:
17826         * gst/gstiterator.h:
17827         * gst/gstpad.c: (gst_pad_send_event):
17828         * gst/gststructure.c:
17829         * gst/gsturi.c:
17830         * gst/gstutils.c:
17831         * gst/gstvalue.c:
17832         * libs/gst/base/gstadapter.c:
17833           doc fixes, to link to function, just write gst_cool_function(), don't
17834           prefix with '#'
17835
17836 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17837
17838         * plugins/elements/gsttee.c: (gst_tee_do_push),
17839         (gst_tee_handle_buffer):
17840         Always prefer an actual return value from a src
17841         pad in place of NOT_LINKED. This means we return
17842         WRONG_STATE when all src pads are WRONG_STATE
17843         instead of NOT_LINKED.
17844
17845         Lock when replacing the last message to prevent
17846         racing with the get_property method.
17847
17848         Add debug output
17849
17850 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17851
17852         * tests/check/Makefile.am:
17853         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17854         (main):
17855         Add a very simple check that should have caught the memleak I fixed
17856         last night (if not for the slice allocator hiding it)
17857
17858 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17859
17860         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17861         (gst_bin_remove_func), (gst_bin_handle_message_func),
17862         (bin_query_duration_fold), (bin_query_generic_fold):
17863         Clean up references to the clock provider when disposed or when
17864         handling a clock-lost message from it.
17865
17866         Unref sinks when performing a query via gst_iterator_fold, as the
17867         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17868
17869         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17870         (gst_clock_set_master):
17871         Drop our reference to the master clock, if any, when we are disposed.
17872
17873         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17874         Chain up in dispose. 
17875
17876 2006-01-26  Wim Taymans  <wim@fluendo.com>
17877
17878         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17879         Add some debugging.
17880
17881 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17882
17883         * plugins/elements/gsttee.c: (gst_tee_do_push),
17884         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17885         handles pad being NOT_LINKED or in WRONG_STATE.
17886
17887 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17888
17889         * win32/MANIFEST:
17890           more updating
17891
17892 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17893
17894         * win32/MANIFEST:
17895           remove obsolete entry
17896
17897 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17898
17899         * docs/gst/gstreamer-sections.txt:
17900         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17901         (gst_bin_iterate_sources), (gst_bin_send_event):
17902         * gst/gstbin.h:
17903         * gst/gstelement.c: (gst_element_send_event):
17904         * gst/gstevent.c:
17905         * gst/gstpad.c: (gst_pad_send_event):
17906           added code for downstream events, reviewed docs in gstevent.c
17907
17908 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17909
17910         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17911         We only query position using the clock in the playing state.
17912         Query peer in the other cases.
17913         * win32/common/config.h: Updates.
17914
17915 2006-01-24  Wim Taymans  <wim@fluendo.com>
17916
17917         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17918         A clock entry that is scheduled for the exact time of the
17919         clock is still in time.
17920
17921         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17922         (gst_base_sink_do_sync):
17923         Add some more debug info.
17924
17925 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17926
17927         * win32/vs7:
17928           Add new vs7 project files and solution.
17929
17930 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17931
17932         * win32/vs7:
17933           all files removed as they were out-dated.
17934
17935 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17936
17937         * docs/random/release:
17938           update notes
17939         * gst/gstbin.c: (gst_bin_init):
17940         * gst/gstbus.c: (gst_bus_new):
17941         * gst/gstbus.h:
17942         * gst/gstpipeline.c: (gst_pipeline_init):
17943           use gst_bus_new(), improve logging, fix docs
17944         * win32/common/config.h:
17945           update for cvs build
17946
17947 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17948
17949         * autogen.sh:
17950           up required version of automake to 1.7
17951
17952 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17953
17954         * win32/common/libgstreamer.def:
17955           export gst_buffer_is_metadata_writable
17956
17957 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17958
17959         * docs/gst/gstreamer-sections.txt:
17960         * gst/gstevent.h:
17961           Add gst_event_replace() (#327001)
17962
17963 2006-01-20  Wim Taymans  <wim@fluendo.com>
17964
17965         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17966         Make it actually compile too..
17967
17968 2006-01-20  Wim Taymans  <wim@fluendo.com>
17969
17970         * gst/gstcaps.c:
17971         Clarify behaviour of _is_equal() when passing NULL parameters.
17972
17973         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17974         (gst_pad_set_caps):
17975         Cleanups. Don't unref NULL caps.
17976         When setting the same caps, protect caps of the pad with
17977         proper lock.
17978         Use full functionality of _is_equal() when comparing caps.
17979
17980 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17983         Don't loop infinitely if there are no buffers to present. Partially
17984         fixes #327197, but collectpads is just broken for reusing elements
17985         to do multiple encodes atm.
17986
17987 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17988
17989         * tools/gst-inspect.c: (print_element_features):
17990         * tools/gst-xmlinspect.c: (main):
17991         URL_HANDLER is not a plugin feature we can search for in
17992         the registry.
17993
17994 2006-01-19  Edward Hervey  <edward@fluendo.com>
17995
17996         * gst/gstelement.c: (gst_element_pads_activate): 
17997         When activating, do src pads first, then sink pads.
17998         When de-activating, do sink pads first, then src pads.
17999
18000 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18001
18002         * docs/gst/gstreamer-sections.txt:
18003         Add gst_index_add_associationv to the docs
18004
18005 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18006
18007         * gst/gstevent.c:
18008           Fix docs typo
18009
18010         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18011         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18012           Do some refactoring. Doesn't actually change functionality,
18013           but makes landing the DRAIN event easier later.
18014
18015 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18016
18017         * docs/pwg/advanced-scheduling.xml:
18018           Update from 0.9.x to 0.10 API and make example a bit
18019           clearer.
18020
18021 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18022
18023         * docs/gst/gstreamer-sections.txt:
18024         Add gst_buffer_(is|make)_metadata_writable methods.
18025
18026 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18027
18028         * docs/design/part-sparsestreams.txt:
18029         Update sparse streams doc, hopefully for greater clarity
18030
18031 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18032
18033         * docs/design/part-events.txt:
18034         Remove mention of FILLER events.
18035         Add DRAIN event.
18036
18037         * docs/design/part-sparsestreams.txt:
18038         Write some things about using NEWSEGMENT to keep sparse streams
18039         flowing.
18040
18041 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18042
18043         * gst/gstbin.c: (gst_bin_dispose):
18044           Guard gst_object_unref call against a NULL object (dispose
18045           can theoretically be called multiple times).
18046           
18047 2006-01-18  Wim Taymans  <wim@fluendo.com>
18048
18049         * gst/gstbin.c: (gst_bin_element_set_state):
18050         * gst/gstclock.c: (gst_clock_id_wait):
18051         Added some more debug info.
18052
18053         * libs/gst/base/gstadapter.c:
18054         Added more docs.
18055
18056         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18057         (gst_base_sink_do_sync), (gst_base_sink_chain):
18058         Added some comments.
18059
18060 2006-01-18  Wim Taymans  <wim@fluendo.com>
18061
18062         * tests/check/Makefile.am:
18063         * tests/check/elements/fakesink.c: (chain_async_buffer),
18064         (chain_async), (chain_async_return), (GST_START_TEST),
18065         (fakesink_suite), (main):
18066         Added fakesink test that checks prerolling and clipping
18067         behaviour.
18068
18069         * tests/check/gst/gstutils.c: (GST_START_TEST):
18070         Make check run faster so that buildbots don't timeout.
18071
18072 2006-01-18  Wim Taymans  <wim@fluendo.com>
18073
18074         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18075         (gst_base_sink_do_sync):
18076         Some cleanups.
18077         When the sink finishes blocking on the preroll buffer, it can
18078         immediatly render it instead of rendering when the next buffer
18079         arrives.
18080
18081 2006-01-18  Wim Taymans  <wim@fluendo.com>
18082
18083         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18084         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18085         (gst_base_sink_chain):
18086         Small cleanups.
18087         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18088         Don't store _last_stop if the buffer is dropped.
18089
18090 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18091
18092         * plugins/elements/gsttypefindelement.c:
18093         (gst_type_find_element_class_init):
18094           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18095           object method handler that sets the caps on the pad and we want
18096           that to happen before we emit the signal (fixes e.g. feeding a
18097           plain text file to decodebin).
18098
18099 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18100
18101         * gst/gstplugin.c: Add MPL and Proprietary as license options
18102
18103 2006-01-18  Andy Wingo  <wingo@pobox.com>
18104
18105         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18106         symbol was exported before, it appears this was just an oversight.
18107         Fixes #168703.
18108         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18109
18110         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18111         prototype to gint. OK since this prototype was not in the header.
18112
18113 2006-01-17  Andy Wingo  <wingo@pobox.com>
18114
18115         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18116         registry while we remove plugins.
18117
18118         * tools/gst-inspect.c (print_element_info): Don't unref the
18119         factory arg, that should be the responsibility of whatever code
18120         received the ref. Fixes a double-free when called from
18121         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18122         (main): Unref the factory if we have one.
18123         (print_element_list): No change -- relies on the
18124         plugin_feature_list_free to free the list of features.
18125
18126 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18127
18128         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18129         (gst_buffer_make_metadata_writable):
18130         * gst/gstbuffer.h:
18131         * libs/gst/base/gstbasetransform.c:
18132         (gst_base_transform_prepare_output_buf):
18133         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18134         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18135           Replace gst_buffer_(make|is)_metadata_writable patch now
18136           that the release is out.
18137
18138 2006-01-17  Andy Wingo  <wingo@pobox.com>
18139
18140         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18141         in the present tense without reference to versions.
18142
18143         * gst/gstregistry.c (gst_registry_add_plugin)
18144         (gst_registry_remove_plugin, gst_registry_remove_feature)
18145         (gst_registry_find_feature, gst_registry_get_feature_list)
18146         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18147         (gst_registry_lookup, gst_registry_scan_path)
18148         (_gst_registry_remove_cache_plugins)
18149         (gst_registry_get_feature_list_by_plugin): Add argument
18150         validation.
18151
18152 === release 0.10.2 ===
18153
18154 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18155
18156         * configure.ac:
18157           releasing 0.10.2, "If man is five"
18158
18159 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18160
18161         * gst/gstbuffer.c:
18162         * gst/gstbuffer.h:
18163         * libs/gst/base/gstbasetransform.c:
18164         (gst_base_transform_prepare_output_buf):
18165         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18166         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18167           Back out patch until after the release.
18168
18169 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18170
18171         * gst/gstminiobject.c:
18172           Spelling fix in docs.
18173         * ChangeLog - remove conflict indicator
18174
18175 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18176
18177         Reviewed By: Andy Wingo
18178
18179         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18180         (gst_buffer_make_metadata_writable):
18181         * gst/gstbuffer.h:
18182           Add gst_buffer_(is|make)_metadata_writable as analogues of
18183           gst_buffer_(is|make)_writable.
18184
18185         * libs/gst/base/gstbasetransform.c:
18186         (gst_base_transform_prepare_output_buf):
18187         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18188           Use name gst_buffer_(is|make)_metadata_writable functions.
18189
18190         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18191           Test gst_buffer_(is|make)_metadata_writable
18192         
18193           (Closes: #324162)
18194
18195 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18196
18197         * docs/manual/Makefile.am:
18198           don't do parallel make
18199         * configure.ac:
18200           AC_SUBST HOST_CPU
18201         * win32/common/config.h.in:
18202           add generations for HOST_CPU and GST_MAJORMINOR
18203         * win32/common/config.h:
18204           commit generated result
18205
18206 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18207
18208         * docs/manual/appendix-integration.xml:
18209           Update GNOME integration section to use gst_init_get_option_group()
18210           instead of the old popt stuff (#322911). Also, GNOME applications
18211           should  now use gconf*sink and gconf*src instead of the old gconf
18212           helper lib we had.
18213
18214 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18215
18216
18217         * docs/gst/gstreamer-docs.sgml:
18218         * docs/gst/gstreamer-sections.txt:
18219         * docs/libs/gstreamer-libs-sections.txt:
18220           add new API entries to the docs
18221         * libs/gst/controller/Makefile.am:
18222         * libs/gst/controller/gstcontroller.c:
18223         * libs/gst/controller/gstcontroller.h:
18224         * libs/gst/controller/gstcontrollerprivate.h:
18225         * libs/gst/controller/gsthelper.c:
18226         * libs/gst/controller/gstinterpolation.c:
18227           move private structs to private header
18228         * po/README:
18229           gstreamer-0.7 -> gstreamer-0.10
18230         * tests/check/libs/struct_i386.h:
18231           remove private structs
18232
18233 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18234
18235         * plugins/indexers/Makefile.am:
18236           Fixes as part of #317048
18237
18238 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18239
18240         * plugins/indexers/Makefile.am:
18241           fix #316086 - compilation when mmap is missing
18242
18243 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18244
18245         * libs/gst/base/gstbasesink.c:
18246           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18247           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18248         * win32/common/config.h:
18249           added some defines GST_MAJORMINOR and HOST_CPU
18250         * win32/common/libgstbase.def:
18251         * win32/common/libgstreamer.def:
18252           added some exported functions.
18253
18254 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18255
18256         * libs/gst/controller/gstcontroller.c:
18257         (gst_controlled_property_set_interpolation_mode),
18258         (gst_controlled_property_new):
18259         * libs/gst/controller/gstcontroller.h:
18260         * libs/gst/controller/gstinterpolation.c:
18261         (interpolate_none_get_string_value_array):
18262           make G_TYPE_STRING controlable
18263
18264 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18265
18266         * tools/README:
18267         * tools/gst-feedback.1.in:
18268         * tools/gst-inspect.1.in:
18269         * tools/gst-launch.1.in:
18270         * tools/gst-md5sum.1.in:
18271         * tools/gst-typefind.1.in:
18272         * tools/gst-xmlinspect.1.in:
18273         * tools/gst-xmllaunch.1.in:
18274           cleanup man-pages, remove reference to gst-register, document env-vars
18275
18276 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18277
18278         * gst/gstbuffer.c: (gst_buffer_span):
18279           gst_buffer_span should copy the timestamp of the first buffer
18280           if they were both originally overlapping subbuffers of the 
18281           same parent, using the same logic as the 'slow copy' case.
18282
18283 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18284
18285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18286           Need to awaken ALL the pads when we pop a buffer, otherwise
18287           collectpads only works when there is 2 input streams.
18288
18289 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18290
18291         * docs/random/ensonic/media-device-daemon.txt:
18292           more ideas (dbus)
18293         * gst/gstbuffer.c:
18294           fix doc example, add clarification
18295         * tools/gst-launch.1.in:
18296           add initial info about GST_PLUGIN_PATH, needs more work
18297
18298 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18299
18300         * docs/manual/basics-bins.xml:
18301         * docs/manual/basics-elements.xml:
18302         * docs/manual/intro-basics.xml:
18303           Some more minor docs additions and updates.
18304
18305 2006-01-11  Wim Taymans  <wim@fluendo.com>
18306
18307         * docs/manual/basics-bins.xml:
18308         * docs/manual/basics-elements.xml:
18309         Some small fixes as pointed out by Ser-ver on IRC.
18310
18311 2006-01-10  Edward Hervey  <edward@fluendo.com>
18312
18313         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18314         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18315         the single-segment mode.
18316
18317 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18318
18319         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18320
18321         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18322         (gst_base_src_perform_seek), (gst_base_src_send_event),
18323         (gst_base_src_set_property), (gst_base_src_get_property),
18324         (gst_base_src_loop), (gst_base_src_start),
18325         (gst_base_src_activate_push):
18326         * libs/gst/base/gstbasesrc.h:
18327           Name (private) union; makes Sun's Forte compiler happy (#324900).
18328
18329 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18330
18331         * README:
18332           gst-register is gone.
18333
18334 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18335
18336         * gst/gstvalue.c: (_gst_value_initialize):
18337           make the G_TYPE_DATE instantiation work if debug is disabled
18338
18339 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18340
18341         * gst/gstmessage.c: (gst_message_parse_tag),
18342         (gst_message_parse_error), (gst_message_parse_warning):
18343           Don't crash when return location for error/warning debug
18344           string is NULL; add fact that return locations can be
18345           NULL to docs where appropriate.
18346
18347 2006-01-05  Wim Taymans  <wim@fluendo.com>
18348
18349         * gst/gstplugin.c: (gst_plugin_load_file):
18350         Replace strdup by g_strdup.
18351
18352 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18353
18354         * docs/pwg/advanced-types.xml:
18355           fix doc borkage
18356
18357 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18358
18359         submitted by: Abel Cheung
18360
18361         * po/LINGUAS:
18362         * po/zh_TW.po:
18363           Added Chinese (traditional) translation
18364
18365 2006-01-04  Wim Taymans  <wim@fluendo.com>
18366
18367         * docs/manual/basics-pads.xml:
18368         * docs/plugins/Makefile.am:
18369         * docs/plugins/gstreamer-plugins-docs.sgml:
18370         * docs/plugins/gstreamer-plugins-sections.txt:
18371         * docs/pwg/advanced-clock.xml:
18372         * docs/pwg/advanced-scheduling.xml:
18373         * docs/pwg/advanced-types.xml:
18374         * plugins/elements/gstfdsink.c:
18375         * plugins/elements/gstfdsrc.c:
18376         * plugins/elements/gstfdsrc.h:
18377         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18378         * plugins/elements/gstidentity.h:
18379         * plugins/elements/gstqueue.h:
18380         * plugins/elements/gsttee.c:
18381         * plugins/elements/gsttee.h:
18382         * plugins/elements/gsttypefindelement.c:
18383         (gst_type_find_element_class_init):
18384         * plugins/elements/gsttypefindelement.h:
18385         Small updates to various docs.
18386         Added core plugins to docs.
18387
18388 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18389
18390         * common/gst.supp:
18391           add a suppression for liboil's uninitialized variable
18392
18393 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18394
18395         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18396
18397         * gst/gstutils.h:
18398           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18399           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18400           compiler switch is being used (#325429).
18401
18402 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18403
18404         * gst/gstbin.c: (gst_bin_query):
18405           Disable duration query caching in bins until it gets
18406           fixed (see #324807).
18407
18408 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18409
18410         * tools/gst-inspect.c: (print_element_properties_info):
18411           Handle properties of POINTER and BOXED type.
18412
18413 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18414
18415         * gst/gst.c: (init_post):
18416           Init tags stuff and some other things before loading
18417           any static plugins (there may be other static plugins
18418           than just the GStreamer ones, and they may want to
18419           register their own tags or formats or whatever, and
18420           preferably without segfaulting).
18421
18422         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18423           Print at least a warning in the debug logs if we drop a
18424           query just because we don't know how to adjust the value
18425           in the particular format.
18426
18427 2005-12-24  David Schleef  <ds@schleef.org>
18428
18429         * tools/gstreamer-completion:
18430           Replacement for gst-complete written in sh and sed.  Only
18431           completes names of features, but that's 90% of what I want
18432           it for.  Properties are not available in registry.xml.  (Maybe
18433           they should be...)
18434
18435 === release 0.10.1 ===
18436
18437 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18438
18439         * configure.ac:
18440           releasing 0.10.1, "Nollaig chridheil"
18441
18442 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18443
18444         * docs/faq/cvs.xml:
18445           Add missing quote, should be make ERROR_CFLAGS="".
18446
18447 2005-12-20  Wim Taymans  <wim@fluendo.com>
18448
18449         * docs/design/part-trickmodes.txt:
18450         More documentation on trickmodes.
18451
18452 2005-12-20  Edward Hervey  <edward@fluendo.com>
18453
18454         * gst/gstcaps.c: (gst_static_caps_get_type):
18455         * gst/gstcaps.h:
18456           API addition: GST_TYPE_STATIC_CAPS
18457         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18458         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18459         * gst/gstpadtemplate.h:
18460           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18461         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18462         bindings.
18463
18464 2005-12-18  Wim Taymans  <wim@fluendo.com>
18465
18466         * libs/gst/base/gstadapter.c:
18467         * libs/gst/base/gstadapter.h:
18468         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18469         (gst_base_sink_get_position):
18470         * libs/gst/base/gstbasesink.h:
18471         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18472         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18473         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18474         (gst_base_src_send_event), (gst_base_src_update_length),
18475         (gst_base_src_get_range), (gst_base_src_loop),
18476         (gst_base_src_start):
18477         * libs/gst/base/gstbasesrc.h:
18478         * libs/gst/base/gstbasetransform.h:
18479         * libs/gst/base/gstcollectpads.h:
18480         * libs/gst/base/gstpushsrc.c:
18481         * libs/gst/base/gstpushsrc.h:
18482         * libs/gst/dataprotocol/dataprotocol.c:
18483         * libs/gst/dataprotocol/dataprotocol.h:
18484         * libs/gst/net/gstnetclientclock.h:
18485         * libs/gst/net/gstnettimeprovider.h:
18486         Documentation updates.
18487
18488 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18489
18490         * docs/manual/basics-helloworld.xml:
18491           Remove superfluous closing bracket in helloworld example.
18492
18493 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18494
18495         * tools/gst-launch.1.in:
18496           Update gst-launch man page; add a section with useful
18497           environment variables. Fixes #323882.
18498
18499 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18500
18501         * gst/gst.c:
18502         * gst/gst_private.h:
18503           change some char* into char[]
18504
18505 2005-12-16  Wim Taymans  <wim@fluendo.com>
18506
18507         * gst/gstregistryxml.c: (load_feature):
18508         Cleanups.
18509         Don't use g_object_unref on GstObjects so that we avoid
18510         leaks on unsafe glibs.
18511
18512 2005-12-16  Wim Taymans  <wim@fluendo.com>
18513
18514         * gst/gstbin.c: (gst_bin_recalc_state):
18515         Small doc updates.
18516
18517 2005-12-16  Wim Taymans  <wim@fluendo.com>
18518
18519         * common/check.mak:
18520         Added make forever target for check.
18521
18522 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18523
18524         * gst/gst.c: (init_post):
18525           make the registry cache file HOST_CPU-dependent
18526
18527 2005-12-16  Andy Wingo  <wingo@pobox.com>
18528
18529         * plugins/elements/gstbufferstore.c
18530         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18531         return value.
18532
18533         * tests/check/gst/gstobject.c
18534         (test_fake_object_name_threaded_unique): Pay attention to
18535         g_list_sort return value.
18536
18537 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18538
18539         * tools/gst-feedback-m.m:
18540           Update for 0.9/0.10 (fixes #323870).
18541
18542 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18543
18544         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18545           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18546           
18547         * tests/check/gst/gstminiobject.c: (my_foo_init),
18548         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18549         (test_value_collection), (gst_mini_object_suite):
18550           Add test to ensure refcounts end up as expected when passing
18551           GstMiniObjects through g_object_get() and g_object_set().
18552
18553 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18554
18555         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18556         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18557         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18558         of collectpads. This version removes a lot of races without
18559         touching API/ABI. Yay !
18560
18561 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18562
18563         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18564           Don't allow activation of a srcpad in pull_range if it has no
18565           getrange function.
18566           Change some debug statements to be a little clearer
18567
18568         * plugins/elements/gsttypefindelement.c:
18569         (gst_type_find_handle_src_query):
18570           Check that we have a peer before executing queries thereupon.
18571
18572         * tests/examples/metadata/read-metadata.c: (message_loop):
18573           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18574           immediately return us any available message with 0 timeout.
18575
18576 2005-12-12  Michael Smith  <msmith@fluendo.com>
18577
18578         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18579           Don't unref factories after calling them.
18580         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18581         * plugins/elements/gsttypefindelement.c:
18582         (gst_type_find_element_chain):
18583           Free lists of factories after using them. Fixing typefinding memory
18584           leaks.
18585
18586 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18587
18588         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18589         (gst_plugin_feature_load):
18590           more meaningful debug output
18591         * configure.ac:
18592         * tests/Makefile.am:
18593         * tests/old/examples/Makefile.am:
18594           make make distcheck happy again
18595
18596 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18597
18598         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18599           Catch the special case where we are operating chain-based,
18600           but the downstream peer pad has no chain function. Emit a
18601           custom error message in this case instead of letting the
18602           core generate one implying that this is some sort of core
18603           bug. It's not, it just means that whatever got plugged
18604           into the pipeline downstream when we announced the type
18605           can only operate pull-based, while our source can only
18606           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18607           Error string has not been marked for translation yet, as
18608           it probably needs some more work first.
18609
18610         (gst_type_find_element_get_best_possibility):
18611           Add helper function to find the best of all available
18612           found possibilities that qualify given the min. threshold.
18613
18614         (gst_type_find_element_handle_event):
18615           Fix the case where we get an EOS while still in TYPEFIND
18616           mode (we want to chose the best of all possible types,
18617           not just the first type that happens to be in our unsorted
18618           list of possible types).
18619
18620         (gst_type_find_element_chain):
18621           Make sure we return GST_FLOW_ERROR when we errored out
18622           in stop_typefinding(); also, don't just find the best of
18623           all found type entries and then use the last examined
18624           type entry, but actually use the best entry.
18625
18626 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18627
18628         * tests/examples/typefind/typefind.c: (type_found):
18629         * tests/examples/xml/runxml.c: (xml_loaded):
18630           More gcc4 fixes and a mem leak fix.
18631
18632 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18633
18634         * tests/examples/xml/createxml.c: (object_saved):
18635           gcc 4 fixes
18636
18637 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18638
18639         * tests/Makefile.am:
18640           enable the examples even more
18641
18642 2005-12-12  Andy Wingo  <wingo@pobox.com>
18643
18644         * libs/gst/net/gstnettimeprovider.c
18645         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18646         (gst_net_time_provider_set_property)
18647         (gst_net_time_provider_get_property):
18648         API addition: Export "active" as a GObject property.
18649         (gst_net_time_provider_thread): Only respond to time queries if
18650         the time provider is active.
18651
18652         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18653         NetTimeProvider, preserving binary compat.
18654
18655 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18656
18657         * tests/examples/controller/audio-example.c: (main):
18658         * tests/examples/launch/Makefile.am:
18659           convert comments again
18660
18661 2005-12-12  Wim Taymans  <wim@fluendo.com>
18662
18663         * libs/gst/base/gstpushsrc.c:
18664         Fix typo.
18665
18666 2005-12-12  Wim Taymans  <wim@fluendo.com>
18667
18668         * docs/libs/gstreamer-libs-sections.txt:
18669         Added new symbol to docs.
18670
18671         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18672         (gst_base_src_init), (gst_base_src_set_format),
18673         (gst_base_src_default_query), (gst_base_src_query),
18674         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18675         (gst_base_src_perform_seek), (gst_base_src_send_event),
18676         (gst_base_src_default_event), (gst_base_src_event_handler),
18677         (gst_base_src_set_property), (gst_base_src_get_property),
18678         (gst_base_src_wait), (gst_base_src_do_sync),
18679         (gst_base_src_update_length), (gst_base_src_get_range),
18680         (gst_base_src_check_get_range), (gst_base_src_loop),
18681         (gst_base_src_default_negotiate), (gst_base_src_start),
18682         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18683         (gst_base_src_change_state):
18684         * libs/gst/base/gstbasesrc.h:
18685         Implement seeking to other formats than _BYTES.
18686         Implement more seeking methods correctly.
18687         Doc updates.
18688         Added query vmethod.
18689         Added do_seek vmethod to make life easier for subclasses
18690         when seeking.
18691         API addition: gst_base_src_set_format()
18692
18693 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18694
18695         * tests/examples/Makefile.am:
18696           added that too
18697
18698 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18699
18700         * configure.ac:
18701         * docs/random/ensonic/media-device-daemon.txt:
18702         * tests/examples/controller/.cvsignore:
18703         * tests/examples/controller/Makefile.am:
18704         * tests/examples/controller/audio-example.c: (main):
18705         * tests/examples/helloworld/.cvsignore:
18706         * tests/examples/helloworld/Makefile.am:
18707         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18708         * tests/examples/launch/.cvsignore:
18709         * tests/examples/launch/Makefile.am:
18710         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18711         * tests/examples/metadata/.cvsignore:
18712         * tests/examples/metadata/Makefile.am:
18713         * tests/examples/metadata/read-metadata.c: (message_loop),
18714         (make_pipeline), (print_tag), (main):
18715         * tests/examples/queue/.cvsignore:
18716         * tests/examples/queue/Makefile.am:
18717         * tests/examples/queue/queue.c: (event_loop), (main):
18718         * tests/examples/typefind/.cvsignore:
18719         * tests/examples/typefind/Makefile.am:
18720         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18721         (main):
18722         * tests/examples/xml/.cvsignore:
18723         * tests/examples/xml/Makefile.am:
18724         * tests/examples/xml/createxml.c: (object_saved), (main):
18725         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18726         * tests/old/examples/Makefile.am:
18727         * tests/old/examples/TODO:
18728         * tests/old/examples/controller/.cvsignore:
18729         * tests/old/examples/controller/Makefile.am:
18730         * tests/old/examples/controller/audio-example.c:
18731         * tests/old/examples/helloworld/.cvsignore:
18732         * tests/old/examples/helloworld/Makefile.am:
18733         * tests/old/examples/helloworld/helloworld.c:
18734         * tests/old/examples/launch/.cvsignore:
18735         * tests/old/examples/launch/Makefile.am:
18736         * tests/old/examples/launch/mp3parselaunch.c:
18737         * tests/old/examples/launch/mp3play:
18738         * tests/old/examples/manual/Makefile.am:
18739         * tests/old/examples/metadata/Makefile.am:
18740         * tests/old/examples/metadata/read-metadata.c:
18741         * tests/old/examples/queue/.cvsignore:
18742         * tests/old/examples/queue/Makefile.am:
18743         * tests/old/examples/queue/queue.c:
18744         * tests/old/examples/typefind/.cvsignore:
18745         * tests/old/examples/typefind/Makefile.am:
18746         * tests/old/examples/typefind/typefind.c:
18747         * tests/old/examples/xml/.cvsignore:
18748         * tests/old/examples/xml/Makefile.am:
18749         * tests/old/examples/xml/createxml.c:
18750         * tests/old/examples/xml/runxml.c:
18751           applied some simple fixing to some examples
18752           re-enabled the working examples
18753
18754 2005-12-12  Wim Taymans  <wim@fluendo.com>
18755
18756         * gst/gstsegment.c: (gst_segment_init),
18757         (gst_segment_set_last_stop), (gst_segment_set_seek),
18758         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18759         (gst_segment_to_running_time):
18760         Added more documentation.
18761         Make sure the last_pos value is updated properly.
18762         Make sure to_stream_time and to_running_time don't
18763         operate on wrong values.
18764
18765         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18766         Update check.
18767
18768 2005-12-12  Michael Smith  <msmith@fluendo.com>
18769
18770         * plugins/elements/gsttypefindelement.c: (free_entry),
18771         (gst_type_find_element_chain):
18772           Now that we're not leaking factories, make sure we keep references
18773           to them while we need them.
18774
18775 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18776
18777         * tests/check/gst/struct_i386.h:
18778           ifdef out the XML structs
18779
18780 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18781
18782         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18783           floor is not needed, F is always positive; this obviates the
18784           need for adding -lm when building without libxml
18785
18786 2005-12-12  Wim Taymans  <wim@fluendo.com>
18787
18788         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18789         Take current playback rate into account when reporting
18790         the position.
18791
18792 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18793
18794         * docs/manual/mime-world.fig:
18795           Let's try this again, this time with a file that is
18796           actually in XFig format.
18797
18798 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18799
18800         * docs/manual/mime-world.fig:
18801           Add audioconvert element to diagram so that it
18802           matches the text and the code (fixes #319526).
18803
18804 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18805
18806         * docs/pwg/building-chainfn.xml:
18807         * docs/pwg/building-pads.xml:
18808         * docs/pwg/building-state.xml:
18809         * docs/pwg/other-source.xml:
18810           Update state change stuff for 0.10 (fixes #322969).
18811
18812 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18813
18814         * docs/manual/advanced-dataaccess.xml:
18815         * docs/manual/appendix-checklist.xml:
18816         * docs/manual/appendix-programs.xml:
18817         * docs/manual/basics-pads.xml:
18818         * docs/manual/highlevel-components.xml:
18819         * docs/manual/manual.xml:
18820           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18821           add converters in front of pipelines; remove curly
18822           brackets for threads stuff, they no longer exist; use
18823           GST_TYPE_FRACTION for framerates; update some pieces of
18824           code to 0.10, but there's plenty more to do.
18825
18826         * docs/manual/appendix-porting.xml:
18827           Expand on asynchroneous state changes; s/0.9/0.10/;
18828           mention disappearance of gst_init_get_popt_table()
18829           (fixes #322916).
18830
18831 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18832
18833         * docs/faq/using.xml:
18834           Spider no longer exists, and neither does gst-launch-ext.
18835           Update examples to use decodebin and playbin and put
18836           converters in front of sinks (fixes #323726).
18837
18838 2005-12-09  Michael Smith  <msmith@fluendo.com>
18839
18840         * plugins/elements/gsttypefindelement.c: (find_peek),
18841         (gst_type_find_element_chain):
18842           Fix leaking element factories in typefinding.
18843           Fix problem where we forgot about a probable type on non-seekable
18844           files, and thus later mis-typefound it.
18845
18846 2005-12-09  Michael Smith  <msmith@fluendo.com>
18847
18848         * common/m4/gst-makecontext.m4:
18849         * common/m4/gst-mcsc.m4:
18850         * configure.ac:
18851         * win32/common/config.h:
18852         * win32/common/config.h.in:
18853           Remove makecontext stuff; not used in 0.10 and causes problems on
18854           HPUX according to bug #322441
18855
18856 2005-12-07  Wim Taymans  <wim@fluendo.com>
18857
18858         * tests/check/Makefile.am:
18859         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18860         (main):
18861         * tests/check/libs/struct_i386.h:
18862         Added ABI check for libs
18863
18864 2005-12-07  Wim Taymans  <wim@fluendo.com>
18865
18866         * tests/check/Makefile.am:
18867         And add the struct_i386.h to dist.
18868
18869 2005-12-07  Wim Taymans  <wim@fluendo.com>
18870
18871         * tests/check/Makefile.am:
18872         * tests/check/gst/.cvsignore:
18873         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18874         (main):
18875         * tests/check/gst/struct_i386.h:
18876         Added check for ABI compatibility.
18877
18878 2005-12-07  Wim Taymans  <wim@fluendo.com>
18879
18880         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18881         (gst_fake_src_get_times), (gst_fake_src_create):
18882         Fix broken sync option, fixes #323259
18883
18884 2005-12-07  Wim Taymans  <wim@fluendo.com>
18885
18886         * gst/gstbuffer.c:
18887         Small docs update.
18888
18889         * gst/gstcaps.c: (gst_caps_is_equal):
18890         Don't assert on NULL <--> X. Fixes #323260
18891
18892         * gst/gstminiobject.c: (gst_mini_object_replace):
18893         If we're doing atomic operations, we might just as well use
18894         the proper way to get an atomic pointer.
18895
18896         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18897         Clean up debugging.
18898
18899 2005-12-07  Michael Smith  <msmith@fluendo.com>
18900
18901         * gst/parse/grammar.y:
18902           Remove handling of { } for threads.
18903
18904 2005-12-06  David Schleef  <ds@schleef.org>
18905
18906         * libs/gst/base/gstbasetransform.c: speling fix.
18907
18908 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18909
18910         * docs/libs/tmpl/gstdataprotocol.sgml:
18911         * docs/random/omega/testing/gstobject.c:
18912         * gst/gst.c:
18913         * gst/gstclock.c:
18914         * gst/gstelement.c:
18915         * gst/gstelementfactory.c:
18916         * gst/gsterror.c:
18917         * gst/gstevent.c:
18918         * gst/gstghostpad.c:
18919         * gst/gstinfo.c:
18920         * gst/gstpadtemplate.c:
18921         * gst/gstregistryxml.c:
18922         * gst/gsttaglist.c:
18923         * gst/gsttagsetter.c:
18924         * gst/gsttypefind.c:
18925         * gst/gstvalue.c:
18926         * libs/gst/base/gstbasesrc.c:
18927         * libs/gst/net/gstnetclientclock.c:
18928         * libs/gst/net/gstnettimeprovider.c:
18929         * plugins/elements/gstfakesrc.c:
18930         * plugins/elements/gstfdsrc.c:
18931         * plugins/elements/gstfilesrc.c:
18932         * plugins/elements/gstidentity.c:
18933         * plugins/elements/gstqueue.c:
18934         * plugins/elements/gsttypefindelement.c:
18935         * plugins/indexers/gstfileindex.c:
18936         * plugins/indexers/gstmemindex.c:
18937         * tests/check/gst/gsttag.c:
18938         * tests/old/examples/cutter/cutter.c:
18939         * tests/old/examples/mixer/mixer.c:
18940         * tests/old/examples/xml/runxml.c: (main):
18941         * tests/old/testsuite/caps/normalisation.c:
18942         * tests/old/testsuite/debug/global.c:
18943         * tests/old/testsuite/parse/parse1.c:
18944         * tools/gst-xmlinspect.c:
18945         * win32/common/dirent.c:
18946           expand tabs
18947
18948 === release 0.10.0 ===
18949
18950 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18951
18952         * configure.ac:
18953           releasing 0.10.0, "Maroilles"
18954
18955 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18956
18957         submitted by: Funda Wang <fundawang@linux.net.cn>
18958
18959         * po/LINGUAS:
18960         * po/zh_CN.po:
18961           added Chinese (Traditional) translation
18962
18963 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18964
18965         * docs/gst/gstreamer-sections.txt:
18966         * docs/libs/tmpl/gstdataprotocol.sgml:
18967         * docs/random/thomasvs/TODO:
18968         * gst/gstutils.c:
18969         * gst/gstutils.h:
18970           fix docs
18971
18972 2005-12-05  Andy Wingo  <wingo@pobox.com>
18973
18974         patch by: Wim Taymans <wim@fluendo.com>
18975
18976         * libs/gst/base/gstbasetransform.c
18977         (gst_base_transform_prepare_output_buf)
18978         (gst_base_transform_buffer_alloc):
18979         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18980         alloc_buffer_and_set_caps.
18981
18982         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18983         set_caps on the source pad.
18984         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18985         alloc_buffer used to do. Fixes #322874.
18986
18987         * docs/gst/gstreamer-sections.txt: 
18988         * docs/design/part-negotiation.txt: 
18989         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18990         changes.
18991
18992 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         patch by: Sebastien Moutte
18995
18996         * win32/MANIFEST:
18997         * win32/common/config.h.in:
18998         * win32/vs6/libgstcontroller.dsp:
18999           win32 build fixes
19000
19001 2005-12-05  Wim Taymans  <wim@fluendo.com>
19002
19003         * gst/gstcaps.c: (gst_caps_is_equal):
19004         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19005         (gst_fake_src_create):
19006         Back out previous code changes, leave doc updates, file bugs 
19007         instead. 
19008
19009 2005-12-05  Wim Taymans  <wim@fluendo.com>
19010
19011         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19012         (gst_fake_src_get_times), (gst_fake_src_create):
19013         * plugins/elements/gstfakesrc.h:
19014         Fix broken sync code.
19015
19016 2005-12-05  Wim Taymans  <wim@fluendo.com>
19017
19018         * gst/gstcaps.c: (gst_caps_is_equal):
19019         Comparing NULL against !NULL yields different caps, not a
19020         failure.
19021
19022 2005-12-05  Wim Taymans  <wim@fluendo.com>
19023
19024         * gst/gstpipeline.c:
19025         Fix small typo in docs.
19026
19027 2005-12-05  Andy Wingo  <wingo@pobox.com>
19028
19029         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19030
19031         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19032         registries/plugins with a MAJORMINOR one.
19033         (plugin_desc): Rename library from gstcoreleements to
19034         staticelements. Fixes #323222.
19035
19036 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19037
19038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19039           Change debug category to 'collectpads' from 'collect_pads'
19040           (fixes #323250).
19041
19042 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19043
19044         patch by: Sebastien Moutte
19045
19046         * libs/gst/controller/gstinterpolation.c:
19047           use convert function for uint64/double
19048         * win32/vs6/libgstcontroller.dsp:
19049           link to GLib
19050
19051 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19052
19053         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19054         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19055         * gst/gstutils.h:
19056         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19057           add tests that seem to show that the guint64/gdouble conversions
19058           are correct.
19059
19060 2005-12-02  Wim Taymans  <wim@fluendo.com>
19061
19062         * gst/gstregistry.c: (gst_registry_add_path):
19063         * gst/gstregistry.h:
19064         * gst/gstregistryxml.c:
19065         Fix docs again.
19066
19067 2005-12-02  Wim Taymans  <wim@fluendo.com>
19068
19069         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19070         (gst_util_uint64_scale_int):
19071         Small cleanup.
19072
19073         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19074         Add debug log line.
19075
19076         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19077         Add FIXME.
19078
19079 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19080
19081         * win32/MANIFEST:
19082         * win32/common/config.h:
19083         * win32/vs6/gstreamer.dsw:
19084         * win32/vs6/libgstcoreelements.dsp:
19085         * win32/vs6/libgstelements.dsp:
19086           renamed core elements plugin
19087
19088 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19089
19090         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19091         (get_candidates):
19092           do piece-wise major/minor comparison so 0.9 < 0.10
19093           also allow .exe extensions for tools
19094
19095 2005-12-02  Michael Smith  <msmith@fluendo.com>
19096
19097         * gst/gst.c:
19098           Escape a % to make gtkdoc happier; bug 322958.
19099
19100 === release 0.9.7 ===
19101
19102 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19103
19104         * configure.ac:
19105           releasing 0.9.7, "My Dog Has No Nose"
19106
19107 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19108
19109         * common/gst-xmlinspect.py:
19110         * configure.ac:
19111         * docs/libs/tmpl/gstdataprotocol.sgml:
19112         * docs/random/release:
19113         * po/af.po:
19114         * po/az.po:
19115         * po/bg.po:
19116         * po/ca.po:
19117         * po/cs.po:
19118         * po/de.po:
19119         * po/en_GB.po:
19120         * po/fr.po:
19121         * po/it.po:
19122         * po/nb.po:
19123         * po/nl.po:
19124         * po/ru.po:
19125         * po/sq.po:
19126         * po/sr.po:
19127         * po/sv.po:
19128         * po/tr.po:
19129         * po/uk.po:
19130         * po/vi.po:
19131         * win32/common/config.h:
19132         * win32/common/config.h.in:
19133         * win32/vs6/gst_inspect.dsp:
19134         * win32/vs6/gst_launch.dsp:
19135         * win32/vs6/libgstbase.dsp:
19136         * win32/vs6/libgstelements.dsp:
19137         * win32/vs6/libgstreamer.dsp:
19138         * win32/vs7/GStreamer.vcproj:
19139         * win32/vs7/gst-inspect.vcproj:
19140         * win32/vs7/gst-launch.vcproj:
19141         * win32/vs7/libgstbase.vcproj:
19142           bump GST_MAJORMINOR to 0.10
19143           reset libtool version
19144
19145 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19146
19147         * po/LINGUAS:
19148         * po/bg.po:
19149           Added Bulgarian translation by (Alexander Shopov)
19150
19151 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19152
19153         * tests/check/gst/gstplugin.c:
19154           fix test
19155
19156 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19157
19158         * common/gst-xmlinspect.py:
19159         * common/gtk-doc-plugins.mak:
19160         * configure.ac:
19161         * docs/Makefile.am:
19162         * docs/gst/Makefile.am:
19163         * docs/gst/gstreamer-docs.sgml:
19164         * docs/gst/gstreamer-sections.txt:
19165         * docs/gst/gstreamer.types:
19166         * docs/gst/gstreamer.types.in:
19167         * docs/plugins/Makefile.am:
19168         * docs/plugins/gstreamer-plugins-docs.sgml:
19169         * docs/plugins/gstreamer-plugins-sections.txt:
19170         * docs/plugins/gstreamer-plugins.types:
19171         * docs/plugins/inspect.stamp:
19172         * docs/plugins/inspect/plugin-coreelements.xml:
19173         * docs/plugins/inspect/plugin-coreindexers.xml:
19174         * docs/plugins/scanobj-build.stamp:
19175         * gstreamer.spec.in:
19176         * plugins/elements/Makefile.am:
19177         * plugins/elements/gstelements.c:
19178         * plugins/elements/gstfakesink.c:
19179         * plugins/elements/gstfakesrc.c:
19180         * plugins/elements/gstfilesink.c:
19181         * plugins/elements/gstfilesrc.c:
19182         * plugins/elements/gstqueue.c:
19183         * plugins/indexers/Makefile.am:
19184         * plugins/indexers/gstindexers.c:
19185           document core plugins in a separate document just like all the
19186           others
19187           rename these plugins to something starting with core
19188
19189 2005-12-01  Andy Wingo  <wingo@pobox.com>
19190
19191         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19192         padding here before, but it missed the commit.
19193
19194 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19195
19196         * libs/gst/controller/gstinterpolation.c:
19197           whitespace prices have crashed, we should feel free to use some now
19198           use gst_guint64_to_gdouble
19199
19200 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19201
19202         * libs/gst/controller/gstcontroller.c:
19203         * libs/gst/controller/gsthelper.c:
19204         * libs/gst/controller/gstinterpolation.c:
19205         * libs/gst/controller/lib.c:
19206           wrap config.h include
19207
19208 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19209
19210         * docs/gst/gstreamer-sections.txt:
19211           update docs
19212
19213 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19214
19215         * plugins/elements/gstelements.c:
19216         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19217         (gst_fd_sink__class_init), (gst_fd_sink__init),
19218         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19219         (gst_fd_sink__get_property):
19220         * plugins/elements/gstfdsink.h:
19221         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19222         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19223         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19224         (gst_fd_src_unlock), (gst_fd_src_set_property),
19225         (gst_fd_src_get_property), (gst_fd_src_create),
19226         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19227         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19228         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19229         (gst_fd_src_uri_handler_init):
19230         * plugins/elements/gstfdsrc.h:
19231         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19232           more anal cleanup
19233
19234 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19235
19236         * docs/gst/Makefile.am:
19237         * docs/gst/gstreamer.types.in:
19238         * gst/Makefile.am:
19239           fix the docs build
19240
19241 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19242
19243         * configure.ac:
19244         * gst/Makefile.am:
19245         * gst/gst.c:
19246         * gst/gstplugin.h:
19247         * gst/gstregistry.h:
19248         * tests/benchmarks/complexity.c:
19249         * tests/benchmarks/mass-elements.c:
19250         * tests/check/Makefile.am:
19251         * tools/Makefile.am:
19252         * tools/gst-inspect.c:
19253         * tools/gst-xmlinspect.c:
19254           various fixes to make
19255           --disable-nls --disable-registry --disable-loadsave
19256           --disable-parse --disable-gst-debug
19257           work and get the core .so down to 360444 bytes after stripping
19258
19259 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19260
19261         * Makefile.am:
19262         * configure.ac:
19263           descend into tests
19264         * docs/random/thomasvs/TODO:
19265         * tests/Makefile.am:
19266         * tests/README:
19267           add a README
19268
19269 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * win32/GStreamer.vcproj:
19272         * win32/MANIFEST:
19273         * win32/Makefile:
19274         * win32/Makefile.inspect:
19275         * win32/Makefile.launch:
19276         * win32/Makefile.register:
19277         * win32/README.txt:
19278         * win32/gst-inspect.vcproj:
19279         * win32/gst-launch.vcproj:
19280         * win32/gst-register.vcproj:
19281         * win32/gstelements.vcproj:
19282         * win32/gstgetbits.def:
19283         * win32/gstgetbits.vcproj:
19284         * win32/gstreamer-dbg.def:
19285         * win32/gstreamer.def:
19286         * win32/libgstbase.def:
19287         * win32/libgstbase.vcproj:
19288         * win32/link_oldruntime.c:
19289         * win32/mman.c:
19290         * win32/mman.h:
19291         * win32/mman.inl:
19292         * win32/msvc71.sln:
19293           move even more stuff, win32/ is nice and clean now
19294
19295 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19296
19297         * libs/gst/control/.cvsignore:
19298         * win32/MANIFEST:
19299         * win32/config.h:
19300         * win32/dirent.c:
19301         * win32/dirent.h:
19302         * win32/gstbytestream.def:
19303         * win32/gstbytestream.vcproj:
19304         * win32/gstconfig.h:
19305         * win32/gstenumtypes.c:
19306         * win32/gstenumtypes.h:
19307         * win32/gstoptimalscheduler.vcproj:
19308         * win32/gstversion.h:
19309         * win32/gtchar.h:
19310         * win32/testsuite/bins.vcproj:
19311         * win32/testsuite/bytestream.vcproj:
19312         * win32/testsuite/caps.vcproj:
19313         * win32/testsuite/cleanup.vcproj:
19314         * win32/testsuite/clock.vcproj:
19315         * win32/testsuite/debug.vcproj:
19316         * win32/testsuite/dlopen.vcproj:
19317         * win32/testsuite/dynparams.vcproj:
19318         * win32/testsuite/elements.vcproj:
19319         * win32/testsuite/ghostpads.vcproj:
19320         * win32/testsuite/indexers.vcproj:
19321         * win32/testsuite/negotiation.vcproj:
19322         * win32/testsuite/parse.vcproj:
19323         * win32/testsuite/plugin.vcproj:
19324         * win32/testsuite/refcounting.vcproj:
19325         * win32/testsuite/schedulers.vcproj:
19326         * win32/testsuite/states.vcproj:
19327         * win32/testsuite/tags.vcproj:
19328         * win32/testsuite/threads.vcproj:
19329           remove old win32 stuff that isn't maintained and should be
19330           reorganized
19331
19332 2005-11-30  Andy Wingo  <wingo@pobox.com>
19333
19334         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19335         loading the gst.interfaces python module bork.
19336
19337         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19338         available since GLib 2.2. Fixes #318031.
19339
19340 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19341
19342         * Makefile.am:
19343         * check/.cvsignore:
19344         * check/Makefile.am:
19345         * check/elements/.cvsignore:
19346         * check/elements/fakesrc.c:
19347         * check/elements/fdsrc.c:
19348         * check/elements/identity.c:
19349         * check/generic/.cvsignore:
19350         * check/generic/states.c:
19351         * check/gst-libs/.cvsignore:
19352         * check/gst-libs/controller.c:
19353         * check/gst-libs/gdp.c:
19354         * check/gst/.cvsignore:
19355         * check/gst/capslist.h:
19356         * check/gst/gst.c:
19357         * check/gst/gstbin.c:
19358         * check/gst/gstbuffer.c:
19359         * check/gst/gstbus.c:
19360         * check/gst/gstcaps.c:
19361         * check/gst/gstelement.c:
19362         * check/gst/gstevent.c:
19363         * check/gst/gstghostpad.c:
19364         * check/gst/gstiterator.c:
19365         * check/gst/gstmessage.c:
19366         * check/gst/gstminiobject.c:
19367         * check/gst/gstobject.c:
19368         * check/gst/gstpad.c:
19369         * check/gst/gstpipeline.c:
19370         * check/gst/gstplugin.c:
19371         * check/gst/gstsegment.c:
19372         * check/gst/gststructure.c:
19373         * check/gst/gstsystemclock.c:
19374         * check/gst/gsttag.c:
19375         * check/gst/gstutils.c:
19376         * check/gst/gstvalue.c:
19377         * check/net/.cvsignore:
19378         * check/net/gstnetclientclock.c:
19379         * check/net/gstnettimeprovider.c:
19380         * check/pipelines/.cvsignore:
19381         * check/pipelines/cleanup.c:
19382         * check/pipelines/simple_launch_lines.c:
19383         * check/pipelines/stress.c:
19384         * check/states/.cvsignore:
19385         * check/states/sinks.c:
19386         * configure.ac:
19387         * examples/Makefile.am:
19388         * examples/appreader/.cvsignore:
19389         * examples/appreader/Makefile.am:
19390         * examples/appreader/appreader.c:
19391         * examples/controller/.cvsignore:
19392         * examples/controller/Makefile.am:
19393         * examples/controller/audio-example.c:
19394         * examples/cutter/.cvsignore:
19395         * examples/cutter/Makefile.am:
19396         * examples/cutter/cutter.c:
19397         * examples/cutter/cutter.h:
19398         * examples/events/Makefile.am:
19399         * examples/events/seek.c:
19400         * examples/helloworld/.cvsignore:
19401         * examples/helloworld/Makefile.am:
19402         * examples/helloworld/helloworld.c:
19403         * examples/helloworld2/.cvsignore:
19404         * examples/helloworld2/Makefile.am:
19405         * examples/helloworld2/helloworld2.c:
19406         * examples/launch/.cvsignore:
19407         * examples/launch/Makefile.am:
19408         * examples/launch/mp3parselaunch.c:
19409         * examples/launch/mp3play:
19410         * examples/manual/.cvsignore:
19411         * examples/manual/Makefile.am:
19412         * examples/manual/extract.pl:
19413         * examples/metadata/Makefile.am:
19414         * examples/metadata/read-metadata.c:
19415         * examples/mixer/.cvsignore:
19416         * examples/mixer/Makefile.am:
19417         * examples/mixer/mixer.c:
19418         * examples/mixer/mixer.h:
19419         * examples/pingpong/.cvsignore:
19420         * examples/pingpong/Makefile.am:
19421         * examples/pingpong/pingpong.c:
19422         * examples/plugins/.cvsignore:
19423         * examples/plugins/Makefile.am:
19424         * examples/plugins/example.c:
19425         * examples/plugins/example.h:
19426         * examples/pwg/.cvsignore:
19427         * examples/pwg/Makefile.am:
19428         * examples/pwg/extract.pl:
19429         * examples/queue/.cvsignore:
19430         * examples/queue/Makefile.am:
19431         * examples/queue/queue.c:
19432         * examples/queue2/.cvsignore:
19433         * examples/queue2/Makefile.am:
19434         * examples/queue2/queue2.c:
19435         * examples/queue3/.cvsignore:
19436         * examples/queue3/Makefile.am:
19437         * examples/queue3/queue3.c:
19438         * examples/queue4/.cvsignore:
19439         * examples/queue4/Makefile.am:
19440         * examples/queue4/queue4.c:
19441         * examples/retag/.cvsignore:
19442         * examples/retag/Makefile.am:
19443         * examples/retag/retag.c:
19444         * examples/retag/transcode.c:
19445         * examples/thread/.cvsignore:
19446         * examples/thread/Makefile.am:
19447         * examples/thread/thread.c:
19448         * examples/typefind/.cvsignore:
19449         * examples/typefind/Makefile.am:
19450         * examples/typefind/typefind.c:
19451         * examples/xml/.cvsignore:
19452         * examples/xml/Makefile.am:
19453         * examples/xml/createxml.c:
19454         * examples/xml/runxml.c:
19455         * tests/Makefile.am:
19456         * tests/check/Makefile.am:
19457         * testsuite/.cvsignore:
19458         * testsuite/Makefile.am:
19459         * testsuite/Rules:
19460         * testsuite/caps/.cvsignore:
19461         * testsuite/caps/Makefile.am:
19462         * testsuite/caps/app_fixate.c:
19463         * testsuite/caps/audioscale.c:
19464         * testsuite/caps/caps.c:
19465         * testsuite/caps/caps.h:
19466         * testsuite/caps/caps_strings:
19467         * testsuite/caps/compatibility.c:
19468         * testsuite/caps/deserialize.c:
19469         * testsuite/caps/enumcaps.c:
19470         * testsuite/caps/eratosthenes.c:
19471         * testsuite/caps/filtercaps.c:
19472         * testsuite/caps/fixed.c:
19473         * testsuite/caps/fraction-convert.c:
19474         * testsuite/caps/fraction-multiply-and-zero.c:
19475         * testsuite/caps/intersect2.c:
19476         * testsuite/caps/intersection.c:
19477         * testsuite/caps/normalisation.c:
19478         * testsuite/caps/random.c:
19479         * testsuite/caps/renegotiate.c:
19480         * testsuite/caps/sets.c:
19481         * testsuite/caps/simplify.c:
19482         * testsuite/caps/string-conversions.c:
19483         * testsuite/caps/structure.c:
19484         * testsuite/caps/subtract.c:
19485         * testsuite/caps/union.c:
19486         * testsuite/debug/.cvsignore:
19487         * testsuite/debug/Makefile.am:
19488         * testsuite/debug/category.c:
19489         * testsuite/debug/commandline.c:
19490         * testsuite/debug/global.c:
19491         * testsuite/debug/output.c:
19492         * testsuite/debug/printf_extension.c:
19493         * testsuite/dlopen/.cvsignore:
19494         * testsuite/dlopen/Makefile.am:
19495         * testsuite/dlopen/dlopen_gst.c:
19496         * testsuite/dlopen/loadgst.c:
19497         * testsuite/elements/.cvsignore:
19498         * testsuite/elements/Makefile.am:
19499         * testsuite/elements/gst-inspect-check.in:
19500         * testsuite/elements/struct_i386.h:
19501         * testsuite/elements/struct_size.c:
19502         * testsuite/indexers/.cvsignore:
19503         * testsuite/indexers/Makefile.am:
19504         * testsuite/indexers/cache1.c:
19505         * testsuite/indexers/indexdump.c:
19506         * testsuite/parse/.cvsignore:
19507         * testsuite/parse/Makefile.am:
19508         * testsuite/parse/parse1.c:
19509         * testsuite/parse/parse2.c:
19510         * testsuite/plugin/.cvsignore:
19511         * testsuite/plugin/Makefile.am:
19512         * testsuite/plugin/README:
19513         * testsuite/plugin/dynamic.c:
19514         * testsuite/plugin/linked.c:
19515         * testsuite/plugin/loading.c:
19516         * testsuite/plugin/registry.c:
19517         * testsuite/plugin/static.c:
19518         * testsuite/plugin/static2.c:
19519         * testsuite/plugin/testplugin.c:
19520         * testsuite/plugin/testplugin2.c:
19521         * testsuite/plugin/testplugin2_s.c:
19522         * testsuite/plugin/testplugin_s.c:
19523         * testsuite/refcounting/.cvsignore:
19524         * testsuite/refcounting/Makefile.am:
19525         * testsuite/refcounting/bin.c:
19526         * testsuite/refcounting/element.c:
19527         * testsuite/refcounting/element_pad.c:
19528         * testsuite/refcounting/mainloop.c:
19529         * testsuite/refcounting/mem.c:
19530         * testsuite/refcounting/mem.h:
19531         * testsuite/refcounting/object.c:
19532         * testsuite/refcounting/pad.c:
19533         * testsuite/refcounting/sched.c:
19534         * testsuite/refcounting/thread.c:
19535         * testsuite/states/.cvsignore:
19536         * testsuite/states/Makefile.am:
19537         * testsuite/states/bin.c:
19538         * testsuite/states/locked.c:
19539         * testsuite/states/parent.c:
19540         * testsuite/threads/.cvsignore:
19541         * testsuite/threads/159566.c:
19542         * testsuite/threads/159852.c:
19543         * testsuite/threads/Makefile.am:
19544         * testsuite/threads/queue.c:
19545         * testsuite/threads/signals.c:
19546         * testsuite/threads/staticrec.c:
19547         * testsuite/threads/thread.c:
19548         * testsuite/threads/threadb.c:
19549         * testsuite/threads/threadc.c:
19550         * testsuite/threads/threadd.c:
19551         * testsuite/threads/threade.c:
19552         * testsuite/threads/threadf.c:
19553         * testsuite/threads/threadg.c:
19554         * testsuite/threads/threadh.c:
19555         * testsuite/threads/threadi.c:
19556           move all of these under tests
19557
19558 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19559
19560         * configure.ac:
19561         * tests/Makefile.am:
19562           fix distcheck
19563
19564 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19565
19566         * docs/gst/gstreamer-sections.txt:
19567         * tests/sched/.cvsignore:
19568         * tests/sched/Makefile.am:
19569         * tests/sched/cases/(fs-fs).xml:
19570         * tests/sched/cases/(fs-i-fs).xml:
19571         * tests/sched/cases/(fs-i-i-fs).xml:
19572         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19573         * tests/sched/dynamic-pipeline.c:
19574         * tests/sched/interrupt1.c:
19575         * tests/sched/interrupt2.c:
19576         * tests/sched/interrupt3.c:
19577         * tests/sched/runtestcases:
19578         * tests/sched/runxml.c:
19579         * tests/sched/sched-stress.c:
19580         * tests/sched/sort.c:
19581         * tests/sched/testcases:
19582         * tests/sched/testcases1.tc:
19583         * tests/seeking/.cvsignore:
19584         * tests/seeking/Makefile.am:
19585         * tests/seeking/seeking1.c:
19586         * tests/threadstate/.cvsignore:
19587         * tests/threadstate/Makefile.am:
19588         * tests/threadstate/test1.c:
19589         * tests/threadstate/test2.c:
19590         * tests/threadstate/threadstate1.c:
19591         * tests/threadstate/threadstate2.c:
19592         * tests/threadstate/threadstate3.c:
19593         * tests/threadstate/threadstate4.c:
19594         * tests/threadstate/threadstate5.c:
19595           remove obsolete tests
19596         * configure.ac:
19597         * tests/bench-complexity.scm:
19598         * tests/bench-mass_elements.scm:
19599         * tests/complexity.c:
19600         * tests/complexity.gnuplot:
19601         * tests/instantiate/.cvsignore:
19602         * tests/instantiate/Makefile.am:
19603         * tests/instantiate/caps.c:
19604         * tests/mass_elements.c:
19605         * tests/network-clock-utils.scm:
19606         * tests/network-clock.scm:
19607         * tests/plot-data:
19608         First pass at cleaning up tests/ dir before moving the rest
19609         Combined with CVS surgery
19610
19611 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19612
19613         * po/POTFILES.in:
19614           queue has moved, update
19615
19616 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19617
19618         * docs/gst/gstreamer-sections.txt:
19619           remove double entries from the docs
19620         * gst/gst_private.h:
19621         * gst/gstinfo.c: (_gst_debug_init):
19622           remove the THREAD debug category
19623         * gst/Makefile.am:
19624         * gst/gstqueue.c:
19625         * gst/gstqueue.h:
19626         * docs/gst/gstreamer.types:
19627         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19628         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19629           completely move queue and fix up debugging categories
19630
19631 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19632
19633         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19634           make initialization portable, using LL is not
19635
19636 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19637
19638         * win32/common/gstconfig.h:
19639           add large padding
19640
19641 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19642
19643         * win32/common/libgstreamer.def:
19644           rename symbols; sort base section
19645
19646 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19647
19648         * gst/gstclock.c: (do_linear_regression):
19649           remove crack non-portable handrolled DEBUG macro
19650
19651 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19652
19653         * docs/random/release:
19654           update notes
19655         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19656         (gst_object_flags_get_type), (register_gst_bin_flags),
19657         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19658         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19659         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19660         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19661         (gst_caps_flags_get_type), (register_gst_clock_return),
19662         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19663         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19664         (gst_clock_flags_get_type), (register_gst_state),
19665         (gst_state_get_type), (register_gst_state_change_return),
19666         (gst_state_change_return_get_type), (register_gst_state_change),
19667         (gst_state_change_get_type), (register_gst_element_flags),
19668         (gst_element_flags_get_type), (register_gst_core_error),
19669         (gst_core_error_get_type), (register_gst_library_error),
19670         (gst_library_error_get_type), (register_gst_resource_error),
19671         (gst_resource_error_get_type), (register_gst_stream_error),
19672         (gst_stream_error_get_type), (register_gst_event_type_flags),
19673         (gst_event_type_flags_get_type), (register_gst_event_type),
19674         (gst_event_type_get_type), (register_gst_seek_type),
19675         (gst_seek_type_get_type), (register_gst_seek_flags),
19676         (gst_seek_flags_get_type), (register_gst_format),
19677         (gst_format_get_type), (register_gst_index_certainty),
19678         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19679         (gst_index_entry_type_get_type),
19680         (register_gst_index_lookup_method),
19681         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19682         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19683         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19684         (gst_index_flags_get_type), (register_gst_debug_level),
19685         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19686         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19687         (gst_iterator_result_get_type), (register_gst_iterator_item),
19688         (gst_iterator_item_get_type), (register_gst_message_type),
19689         (gst_message_type_get_type), (register_gst_mini_object_flags),
19690         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19691         (gst_pad_link_return_get_type), (register_gst_flow_return),
19692         (gst_flow_return_get_type), (register_gst_activate_mode),
19693         (gst_activate_mode_get_type), (register_gst_pad_direction),
19694         (gst_pad_direction_get_type), (register_gst_pad_flags),
19695         (gst_pad_flags_get_type), (register_gst_pad_presence),
19696         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19697         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19698         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19699         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19700         (gst_plugin_flags_get_type), (register_gst_rank),
19701         (gst_rank_get_type), (register_gst_query_type),
19702         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19703         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19704         (gst_tag_flag_get_type), (register_gst_task_state),
19705         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19706         (gst_alloc_trace_flags_get_type),
19707         (register_gst_type_find_probability),
19708         (gst_type_find_probability_get_type), (register_gst_uri_type),
19709         (gst_uri_type_get_type), (register_gst_parse_error),
19710         (gst_parse_error_get_type):
19711         * win32/common/gstenumtypes.h:
19712         * win32/common/gstversion.h:
19713           update visual studio generated files
19714
19715 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19716
19717         * win32/vs6/libgstbase.dsp:
19718         * win32/vs6/libgstelements.dsp:
19719           update project files for new locations
19720
19721 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19722
19723         * Makefile.am:
19724           remove some files
19725         * README:
19726           reinstate and update
19727         * DEVEL:
19728         * REQUIREMENTS:
19729           removed
19730         * LICENSE:
19731         * docs/random/LICENSE:
19732           moved to random
19733
19734 2005-11-30  Edward Hervey  <edward@fluendo.com>
19735
19736         * gst/gsttypefind.c: (gst_type_find_register):
19737         * gst/gsttypefind.h:
19738         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19739         (gst_type_find_factory_dispose):
19740         * gst/gsttypefindfactory.h:
19741         Fix memory leak in GstTypeFindFactory.
19742
19743 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19744
19745         * gst/gst.c:
19746         * plugins/elements/Makefile.am:
19747         * plugins/elements/gstelements.c:
19748         * plugins/elements/gstqueue.c:
19749           move queue from core to the elements plugin
19750
19751 2005-11-29  Andy Wingo  <wingo@pobox.com>
19752
19753         * libs/gst/base/gstbasetransform.h: 
19754         * libs/gst/base/gstbasesrc.h: 
19755         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19756
19757         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19758         of pointers by which to pad very extensible base classes (like the
19759         ones in libs/gst/base).
19760
19761 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19762
19763         * docs/gst/gstreamer-docs.sgml:
19764         * docs/gst/gstreamer-sections.txt:
19765         * docs/libs/gstreamer-libs-docs.sgml:
19766         * docs/libs/gstreamer-libs-sections.txt:
19767           moving documentation from core to lib
19768
19769 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19770
19771         * check/Makefile.am:
19772         * configure.ac:
19773         * docs/gst/Makefile.am:
19774         * gst/Makefile.am:
19775         * gst/base/.cvsignore:
19776         * gst/base/Makefile.am:
19777         * gst/base/README:
19778         * gst/base/gstadapter.c:
19779         * gst/base/gstadapter.h:
19780         * gst/base/gstbasesink.c:
19781         * gst/base/gstbasesink.h:
19782         * gst/base/gstbasesrc.c:
19783         * gst/base/gstbasesrc.h:
19784         * gst/base/gstbasetransform.c:
19785         * gst/base/gstbasetransform.h:
19786         * gst/base/gstcollectpads.c:
19787         * gst/base/gstcollectpads.h:
19788         * gst/base/gstpushsrc.c:
19789         * gst/base/gstpushsrc.h:
19790         * gst/base/gsttypefindhelper.c:
19791         * gst/base/gsttypefindhelper.h:
19792         * gst/check/Makefile.am:
19793         * gst/check/gstcheck.c:
19794         * gst/check/gstcheck.h:
19795         * gst/net/Makefile.am:
19796         * gst/net/gstnet.h:
19797         * gst/net/gstnetclientclock.c:
19798         * gst/net/gstnetclientclock.h:
19799         * gst/net/gstnettimepacket.c:
19800         * gst/net/gstnettimepacket.h:
19801         * gst/net/gstnettimeprovider.c:
19802         * gst/net/gstnettimeprovider.h:
19803         * libs/gst/Makefile.am:
19804         * libs/gst/base/Makefile.am:
19805         * libs/gst/base/gstbasetransform.c:
19806         * libs/gst/check/Makefile.am:
19807         * plugins/elements/Makefile.am:
19808         * po/POTFILES.in:
19809           CVS surgery + support to move base, check, and net out of gst
19810           and into libs/gst
19811
19812 2005-11-29  Andy Wingo  <wingo@pobox.com>
19813
19814         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19815
19816         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19817         padding.
19818
19819         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19820
19821         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19822
19823         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19824
19825         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19826         padding; reduces object size by about 30%. We don't expect
19827         anything else to go into gstobject.
19828
19829         * gst/gstminiobject.h (struct _GstMiniObject)
19830         (struct _GstMiniObjectClass): Only one pointer of padding; the
19831         payload is only a pointer and two ints anyway. For the class there
19832         are only two methods as well.
19833         
19834         * gst/gstelement.h (struct _GstElementClass): Removed
19835         the state_changed signal callback, it is not used.
19836
19837 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19838
19839         * docs/gst/gstreamer.types:
19840           fix includes, though they are a little dinky
19841
19842 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19843
19844         * check/Makefile.am:
19845           look in the right place for elements, a lot more chance of
19846           success
19847         * gst/Makefile.am:
19848           remove indexers and elements subdirs
19849         * plugins/Makefile.am:
19850           make indexers conditional
19851
19852 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19853
19854         * Makefile.am:
19855         * configure.ac:
19856         * plugins/elements/Makefile.am:
19857         * plugins/elements/gstcapsfilter.c:
19858         * plugins/elements/gstfilesink.c:
19859         * plugins/elements/gstfilesrc.c:
19860         * plugins/elements/gstidentity.c:
19861         * plugins/indexers/Makefile.am:
19862           do CVS surgery and related build fixery to move elements
19863           and indexers in a new gstreamer/plugins directory, out of the
19864           gst/ directory
19865
19866 2005-11-29  Andy Wingo  <wingo@pobox.com>
19867
19868         * check/Makefile.am:
19869         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19870         * pkgconfig/gstreamer-net.pc.in:
19871         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19872         #322257.
19873
19874 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19875
19876         * tools/Makefile.am:
19877         * tools/gst-complete.1.in:
19878         * tools/gst-complete.c:
19879         * tools/gst-compprep.1.in:
19880         * tools/gst-compprep.c:
19881           removing -compprep and -complete
19882
19883 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19884
19885         * gst/gstevent.c: (gst_event_new_new_segment),
19886         (gst_event_parse_new_segment):
19887         * gst/gstevent.h:
19888           fix #320529 - clean up new_segment API and structure.
19889           Let's hope everyone was using the methods, and not the structure.
19890
19891 2005-11-29  Edward Hervey  <edward@fluendo.com>
19892
19893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19894         (gst_base_sink_event), (gst_base_sink_do_sync),
19895         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19896         Properly handle non GST_FORMAT_TIME segment
19897         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19898         Properly handle non GST_FORMAT_TIME segment
19899         * gst/gstsegment.c:
19900         This function is valid if the accumulator is 0 and the format
19901         is different from the requested format.
19902         
19903 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19904
19905         * docs/gst/gstreamer-sections.txt:
19906         Add gst_query_new_seeking and gst_query_parse_seeking to the
19907         docs.
19908
19909 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19910
19911         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19912           Treat a pad alloc with new caps the same as if we were not
19913           negotiated, in order to allow a changing upstream output
19914           to produce a new format of data.
19915
19916 2005-11-29  Edward Hervey  <edward@fluendo.com>
19917
19918         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19919         (gst_base_transform_event), (gst_base_transform_eventfunc):
19920         The event virtual method is now properly implemented, with a default
19921         handler
19922         Sub classes should call the parent_class event method. They should
19923         return FALSE if they had a problem handling the given event, or don't
19924         want GstBaseTransform to send that even downstream
19925         * gst/elements/gstidentity.c: (gst_identity_class_init),
19926         (gst_identity_init), (gst_identity_event),
19927         (gst_identity_transform_ip), (gst_identity_set_property),
19928         (gst_identity_get_property):
19929         * gst/elements/gstidentity.h:
19930         Added the single-segment boolean property.
19931         If set to TRUE, it will output a single segment of data, starting from
19932         0, will eat up all incoming newsegment, and modify the timestamp of the
19933         buffers accordingly
19934
19935 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19936
19937         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19938           Don't ref NULL target pad (#322751). Improve docs.
19939
19940 2005-11-29  Michael Smith  <msmith@fluendo.com>
19941
19942         * gst/gstregistryxml.c: (load_plugin):
19943           Don't crash if we failed to load a feature from a plugin. 
19944
19945 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19946
19947         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19948         (GST_START_TEST):
19949           use more check API and less GLib API
19950
19951 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19952
19953         * Makefile.am:
19954           don't run checks if we don't have check
19955         * common/check.mak:
19956           remove the registry when running make torture
19957         * docs/gst/gstreamer-sections.txt:
19958           remove second multiply
19959         * gst/gstqueue.c: (gst_queue_loop):
19960           fix a compile warning when disabling debug
19961
19962 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19963
19964         * gst/gstinfo.h:
19965         Hey! Let's print the pad name if the pointer != NULL instead
19966         of when it == NULL :-)
19967
19968 2005-11-28  Wim Taymans  <wim@fluendo.com>
19969
19970         * check/gst/gstutils.c: (GST_START_TEST):
19971         Updated check, add some scaling accuracy checking code.
19972
19973         * gst/gstutils.c: (gst_util_div128_64),
19974         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19975         (gst_util_uint64_scale_int):
19976         Fix 6 times faster division code. Optimize for common 
19977         1/1 and less common X/1 cases.
19978
19979 2005-11-28  Wim Taymans  <wim@fluendo.com>
19980
19981         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19982         More checks.
19983
19984         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19985         (do_linear_regression), (gst_clock_add_observation):
19986         Cleanups.
19987         Release lock when the clock cannot be slaved.
19988         Catch the case where the regression returned an invalid denominator.
19989
19990         * gst/gstutils.c: (gst_util_div128_64_iterate),
19991         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19992         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19993         Add protentially more performant non-iterative 128/64 divide function
19994         that unfortunatly does not work yet.
19995         Shortcut the trivial 0/X = 0 case.
19996         Remove the warnings on overflow.
19997
19998 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19999
20000         * gst/gstplugin.c: (gst_plugin_register_func):
20001           everything causing a plugin not to load should be at least a WARNING
20002
20003 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20004
20005         * docs/random/ensonic/dparams.txt:
20006           some TODOs for the next dev cycle
20007         * libs/gst/controller/gstcontroller.c:
20008         (gst_controlled_property_set_interpolation_mode),
20009         (gst_controlled_property_new):
20010         * libs/gst/controller/gstcontroller.h:
20011           use base type to assign acccessor functions
20012
20013 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20014
20015         * check/Makefile.am:
20016         Oops, that should have been top_srcdir
20017
20018 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20019
20020         * check/Makefile.am:
20021         * check/elements/fdsrc.c: (GST_START_TEST):
20022         Use a cmdline define to specify the location of a file to use for
20023         testing, to avoid breaking distcheck.
20024
20025 2005-11-28  Andy Wingo  <wingo@pobox.com>
20026
20027         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20028
20029 2005-11-28  Edward Hervey  <edward@fluendo.com>
20030
20031         * tools/gst-launch.c: (main):
20032         Clarify the output strings, makes it easier to translate.
20033         Fixes #322626
20034
20035 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20036
20037         * gst/Makefile.am:
20038           don't try and build net if we don't even have <sys/socket.h>
20039
20040 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20041
20042         * check/Makefile.am:
20043         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20044         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20045           Add tests for fdsrc seekability
20046
20047         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20048         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20049         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20050         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20051         * gst/elements/gstfdsrc.h:
20052           fdsrc should not be a 'live' source.
20053           Implement seeking on seekable fd's.
20054
20055         * gst/gstquery.c: (gst_query_new_seeking),
20056         (gst_query_parse_seeking):
20057         * gst/gstquery.h:
20058           Implement SEEKING query functions: 
20059             *_new_seeking and *_parse_seeking
20060
20061 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20062
20063         * gst/gstelement.c: (gst_element_dispose):
20064           don't loop forever
20065
20066         * gst/gstiterator.c:
20067         * gst/gststructure.c:
20068           doc fixes
20069
20070         * libs/gst/controller/gstcontroller.c:
20071         (gst_controlled_property_set_interpolation_mode):
20072         * libs/gst/controller/gstcontroller.h:
20073         * libs/gst/controller/gstinterpolation.c:
20074         (interpolate_none_get_enum_value_array):
20075           support controlling enums
20076
20077 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20078
20079         * gst/gstvalue.c:
20080           Improve documentation for gst_value_union().
20081
20082         * gst/gstvalue.h:
20083           Change return value for union, intersect and subtract functions
20084           from gint to gboolean.
20085
20086 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20087
20088         * gst/gstvalue.c: (gst_value_serialize_any_list),
20089         (gst_value_transform_any_list_string),
20090         (gst_value_deserialize_list), (gst_value_deserialize_array),
20091         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20092         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20093         (gst_value_set_fraction_range_full),
20094         (gst_value_deserialize_fraction_range),
20095         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20096         (gst_value_deserialize_boolean),
20097         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20098         (gst_value_serialize_float), (gst_value_deserialize_float),
20099         (gst_string_wrap), (gst_value_deserialize_string),
20100         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20101         (gst_value_union_int_range_int_range),
20102         (gst_value_intersect_int_range_int_range),
20103         (gst_value_intersect_double_range_double_range),
20104         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20105         (gst_value_subtract_int_range_int_range),
20106         (gst_value_subtract_double_double_range),
20107         (gst_value_subtract_double_range_double_range),
20108         (gst_value_deserialize_fraction):
20109         * gst/gstvalue.h:
20110           Use gint, gdouble and gchar in our API instead of int, double and
20111           char (and make usage in gstvalue.c more consistent).
20112
20113 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20114
20115         * check/Makefile.am:
20116         * libs/gst/controller/Makefile.am:
20117         * libs/gst/dataprotocol/Makefile.am:
20118           fix up Makefile.am and remove GST_ENABLE_NEW
20119
20120 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20121
20122         * configure.ac:
20123         * gst/Makefile.am:
20124         * gst/base/Makefile.am:
20125         * gst/check/Makefile.am:
20126         * gst/elements/Makefile.am:
20127         * gst/net/Makefile.am:
20128           update LDFLAGS use some more
20129
20130 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20131
20132         * common/m4/gst-doc.m4:
20133           Fixes #312589
20134
20135 2005-11-26  Edward Hervey  <edward@fluendo.com>
20136
20137         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20138         This shouldn't issue a g_warning since it returns NULL if it
20139         couldn't find the plugin, and all functions using this behave
20140         properly on a NULL return. Switching to a GST_WARNING.
20141
20142 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20143
20144         * gst/gstbin.c: (gst_bin_handle_message_func):
20145         Don't leak clock messages.
20146
20147 2005-11-25  Wim Taymans  <wim@fluendo.com>
20148
20149         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20150         (gst_util_uint64_scale_int):
20151         Optimisations, remove unneeded vars.
20152
20153 2005-11-25  Wim Taymans  <wim@fluendo.com>
20154
20155         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20156         Added more checks for the high precision uint64 cases.
20157
20158         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20159         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20160         Implement high precision (guint64 * guint64) / guint64.
20161
20162 2005-11-24  Wim Taymans  <wim@fluendo.com>
20163
20164         * gst/base/gstbasesrc.c: (gst_base_src_query):
20165         Fix wrong percentage query.
20166
20167         * gst/gstutils.c: (gst_util_uint64_scale),
20168         (gst_util_uint64_scale_int):
20169         Add some more common cases that can be handled 
20170         efficiently to _scale.
20171
20172 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20173
20174         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20175         (gst_mini_object_suite):
20176           don't use check calls from threads; check probably isn't
20177           threadsafe and using a lock to make it threadsafe would
20178           defeat the purpose of this check
20179         * gst/check/gstcheck.c:
20180         * gst/check/gstcheck.h:
20181           use GST_DEBUG some more
20182
20183 2005-11-24  Wim Taymans  <wim@fluendo.com>
20184
20185         * gst/gstutils.c: (gst_util_uint64_scale),
20186         (gst_util_uint64_scale_int):
20187         Chain trivial case to _scale_int.
20188
20189 2005-11-24  Wim Taymans  <wim@fluendo.com>
20190
20191         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20192         Added test for scaling.
20193
20194         * gst/gstclock.h:
20195         Small doc fix.
20196
20197         * gst/gstutils.c: (gst_util_uint64_scale_int):
20198         Implemented high precision scaling code.
20199
20200 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20201
20202         * gst/gstinfo.h:
20203           do not crash on pad==NULL
20204
20205 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20206
20207         Patch by: Stefan Kost
20208
20209         * common/gtk-doc.mak:
20210         * docs/gst/Makefile.am:
20211         * docs/libs/Makefile.am:
20212           Fix distcheck issues for the libraries docs build
20213           Closes #319599.
20214
20215 2005-11-24  Michael Smith <msmith@fluendo.com>
20216
20217         * docs/manual/basics-helloworld.xml:
20218           Fix bug #315027: memory leak in example code in docs.
20219
20220 2005-11-24  Michael Smith <msmith@fluendo.com>
20221
20222         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20223           Unlock the PREROLL_LOCK in a failure case.
20224
20225 2005-11-24  Wim Taymans  <wim@fluendo.com>
20226
20227         * docs/gst/gstreamer-sections.txt:
20228         * gst/base/gstadapter.h:
20229         * gst/base/gstbasesink.h:
20230         * gst/base/gstbasesrc.h:
20231         * gst/base/gstbasetransform.h:
20232         * gst/base/gstpushsrc.h:
20233         * gst/elements/gstfakesink.h:
20234         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20235         * gst/elements/gstfakesrc.h:
20236         * gst/elements/gstfilesink.h:
20237         * gst/elements/gstfilesrc.h:
20238         * gst/gst.c:
20239         * gst/gstbin.c:
20240         * gst/gstbuffer.c: (_gst_buffer_copy):
20241         * gst/gstbus.h:
20242         * gst/gstcaps.c:
20243         * gst/gstchildproxy.c:
20244         * gst/gstclock.c:
20245         * gst/gstelement.c:
20246         * gst/gstelementfactory.c:
20247         * gst/gstelementfactory.h:
20248         * gst/gstevent.c:
20249         * gst/gstghostpad.h:
20250         * gst/gstindex.h:
20251         * gst/gstinterface.h:
20252         * gst/gstminiobject.c:
20253         * gst/gstminiobject.h:
20254         * gst/gstpad.c:
20255         * gst/gstpad.h:
20256         * gst/gstpadtemplate.h:
20257         * gst/gstpipeline.h:
20258         * gst/gstpluginfeature.h:
20259         * gst/gstquery.h:
20260         * gst/gstqueue.h:
20261         * gst/gsttaglist.c:
20262         * gst/gsttaglist.h:
20263         * gst/gsttagsetter.c:
20264         * gst/gsttagsetter.h:
20265         * gst/gsttrace.c:
20266         * gst/gsttrace.h:
20267         * gst/gsttypefind.h:
20268         * gst/gsturi.h:
20269         * gst/gstvalue.c:
20270         * gst/net/gstnetclientclock.c:
20271         * gst/net/gstnetclientclock.h:
20272         * gst/net/gstnettimepacket.c:
20273         * gst/net/gstnettimeprovider.c:
20274         * gst/net/gstnettimeprovider.h:
20275         Doc fixes.
20276
20277 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20278
20279         * configure.ac: back to HEAD
20280
20281 === release 0.9.6 ===
20282
20283 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20284
20285         * configure.ac:
20286           releasing 0.9.6, "Always On Time"
20287
20288 2005-11-23  Wim Taymans  <wim@fluendo.com>
20289
20290         * docs/gst/gstreamer-sections.txt:
20291         * gst/glib-compat.c:
20292         * gst/gsttagsetter.c:
20293         * gst/gstvalue.c:
20294         * gst/net/gstnetclientclock.c:
20295         * gst/net/gstnettimepacket.h:
20296         Doc updates.
20297
20298 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20299
20300         * docs/faq/using.xml:
20301         * docs/libs/tmpl/gstcontrol.sgml:
20302         * docs/manual/advanced-dparams.xml:
20303         * docs/manual/appendix-checklist.xml:
20304         * docs/manual/basics-elements.xml:
20305         * docs/pwg/other-source.xml:
20306         * docs/random/moving-plugins:
20307         * gst/gstpad.c:
20308         * tools/gst-launch.1.in:
20309           remove mentions of sinesrc
20310
20311 2005-11-23  Michael Smith <msmith@fluendo.com>
20312
20313         * docs/gst/gstreamer-sections.txt:
20314           Update for new API and API changes.
20315         * gst/gstobject.h:
20316           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20317         * gst/gstvalue.c:
20318           Documentation typo fix.
20319         * gst/net/gstnettimepacket.c:
20320           Documentation fixes for arguments.
20321
20322 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20323
20324         * gst/gststructure.c: (gst_structure_get_fraction),
20325         (gst_structure_parse_value),
20326         (gst_structure_fixate_field_nearest_fraction):
20327         * gst/gststructure.h:
20328         * gst/gstutils.c: (gst_util_uint64_scale_int):
20329         * gst/gstutils.h:
20330         * scripts/update-funcnames:
20331         API Changes. 
20332         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20333         Make gst_structure_fixate_field_nearest_fraction take a numerator
20334         and denominator argument instead of a GValue
20335         add gst_structure_get_fraction helper function.
20336
20337 2005-11-23  Wim Taymans  <wim@fluendo.com>
20338
20339         * docs/design/part-TODO.txt:
20340         Update TODO.
20341
20342         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20343         * gst/net/gstnetclientclock.h:
20344         Use parent fields for timeout and window_size.
20345
20346 2005-11-23  Andy Wingo  <wingo@pobox.com>
20347
20348         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20349         rate_num/rate_denom change.
20350
20351         * gst/net/gstnetclientclock.c
20352         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20353         OBJECT_LOCK. Don't call add_observation with the lock.
20354
20355         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20356         fraction.
20357         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20358         rate fraction.
20359         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20360         deal with rate as a fraction whose numerator and denominator are
20361         GstClockTime values.
20362         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20363         master; the other fields are protected by the SLAVE_LOCK.
20364         (do_linear_regression): Note that this must be called with the
20365         SLAVE_LOCK.
20366         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20367         OBJECT_LOCK. Call set_calibration instead of touching the
20368         variables directly.
20369         (gst_clock_set_property, gst_clock_get_property): Protect
20370         master/slave parameters with the SLAVE_LOCK.
20371
20372         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20373         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20374         note that all of the instance variables that add_observation and
20375         the set_master functions use are protected by that lock and not
20376         the OBJECT_LOCK.
20377         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20378
20379         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20380         the caller to take the object lock.
20381
20382 2005-11-23  Wim Taymans  <wim@fluendo.com>
20383
20384         * gst/gsterror.c: (_gst_core_errors_init):
20385         * gst/gsterror.h:
20386         Add error for clock stuff.
20387
20388         * gst/gstpipeline.c: (gst_pipeline_change_state),
20389         (gst_pipeline_set_clock):
20390         Post clock error when clock cannot be used in a pipeline.
20391
20392 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20393
20394         * docs/gst/gstreamer-sections.txt:
20395           make two symbols from gstinfo private for the docs
20396         * gst/base/gstcollectpads.h:
20397         * gst/gstutils.c:
20398           fix doc typos, update docs
20399
20400 2005-11-22  Wim Taymans  <wim@fluendo.com>
20401
20402         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20403         (gst_base_sink_wait), (gst_base_sink_do_sync),
20404         (gst_base_sink_handle_event):
20405         * gst/base/gstbasesink.h:
20406         No need to store the clock, the parent element class already
20407         has it.
20408
20409         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20410         Updates for clock_set returning a gboolean
20411
20412         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20413         (gst_clock_id_wait_async), (gst_clock_class_init),
20414         (gst_clock_init), (gst_clock_finalize),
20415         (gst_clock_get_internal_time), (gst_clock_get_time),
20416         (gst_clock_slave_callback), (gst_clock_set_master),
20417         (gst_clock_get_master), (do_linear_regression),
20418         (gst_clock_add_observation), (gst_clock_set_property),
20419         (gst_clock_get_property):
20420         * gst/gstclock.h:
20421         Implement master/slave. When setting a clock as a slave, a
20422         periodic timeout is scheduled to sample master and slave times.
20423         Then the slave clock is recalibrated to match offset and rate
20424         of the master clock.
20425         Update logging a bit.
20426         Add flag so that a clock can state that is cannot be slaved to
20427         another clock.
20428
20429         * gst/gstelement.c: (gst_element_set_clock):
20430         * gst/gstelement.h:
20431         The set clock returns a gboolean for when an element cannot
20432         deal with the selected clock in the pipeline. 
20433
20434         * gst/gstpipeline.c: (gst_pipeline_change_state),
20435         (gst_pipeline_set_clock):
20436         * gst/gstpipeline.h:
20437         Handle the case where the selected clock cannot be set on
20438         the pipeline.
20439
20440         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20441         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20442         (gst_net_client_clock_set_property),
20443         (gst_net_client_clock_get_property),
20444         (gst_net_client_clock_observe_times):
20445         * gst/net/gstnetclientclock.h:
20446         Use regression code in GstClock parent, remove duplicated
20447         functionality.
20448
20449 2005-11-22  Michael Smith <msmith@fluendo.com>
20450
20451         * gst/gstutils.c: (gst_util_clock_time_scale):
20452         * gst/gstutils.h:
20453         * docs/gst/gstreamer-sections.txt:
20454           Rename method to have extra underscore.
20455
20456 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20457
20458         * gst/elements/Makefile.am:
20459         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20460         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20461         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20462         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20463         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20464         * gst/elements/gstfakesrc.h:
20465         * gst/gstqueue.c: (queue_leaky_get_type):
20466           correctly fix GEnumValues so that nick is the short lowercase
20467           dashed tag
20468         * tools/gst-inspect.c: (print_element_properties_info):
20469           also show the nick, since it's useful to use from parse_launch
20470           syntax
20471           Fixes #322139
20472
20473 2005-11-22  Michael Smith <msmith@fluendo.com>
20474
20475         * gst/gstutils.c: (gst_util_clocktime_scale):
20476         * gst/gstutils.h:
20477         * docs/gst/gstreamer-sections.txt:
20478           Add util method for scaling a clocktime by a fraction. Useful 
20479           implementation is left as an exercise for the reader.
20480
20481 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20482
20483         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20484         If needed, allocate storage in the destination value during
20485         collection.
20486
20487 2005-11-22  Edward Hervey  <edward@fluendo.com>
20488
20489         * docs/gst/gstreamer-sections.txt:
20490         * gst/Makefile.am:
20491         * gst/gst.h:
20492         * gst/gsturitype.c:
20493         * gst/gsturitype.h:
20494         * gst/gstutils.c: (gst_util_set_object_arg):
20495         * tools/gst-compprep.c: (main):
20496         * tools/gst-inspect.c: (print_element_properties_info):
20497         Removed GstURI, closes bug #321061
20498
20499 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20500
20501         * check/gst/gststructure.c: (GST_START_TEST):
20502         * gst/gststructure.c: (gst_structure_parse_value):
20503           Oops, broke automatic string type parsing.
20504           Add a test to catch it in future.
20505
20506 2005-11-22  Andy Wingo  <wingo@pobox.com>
20507
20508         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20509         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20510         Actually rename the function implementations. Grr.
20511
20512 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20513
20514         * check/gst/capslist.h:
20515           Comment test cases
20516         * check/gst/gststructure.c: (GST_START_TEST),
20517         (gst_structure_suite):
20518           Test automatic value type detection in gst_structure_from_string.
20519         * gst/gststructure.c: (gst_structure_parse_value):
20520           Add fraction as a type we try and guess automatically in
20521           caps/structure strings.
20522
20523 2005-11-22  Andy Wingo  <wingo@pobox.com>
20524
20525         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20526
20527         * gst/gsttagsetter.h:
20528         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20529         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20530         (gst_tag_setter_add_tag_valist)
20531         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20532         _add_values, _add_valist, and _add_valist_values. Since this is an
20533         interface the function suffixes should be more explicit so
20534         language binding don't end up with element.add_valist ->
20535         gst_tag_setter_add_valist, for example. Fixes #322069.
20536
20537 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20538
20539         * check/gst/gstcaps.c: (GST_START_TEST):
20540           Extend caps string tests to check that a caps to string
20541           conversion is reversible and produces the same caps.
20542
20543         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20544           Output "fraction" as the generic type fraction range, so caps
20545           serialisation and deserialisation works.
20546         * check/gst/capslist.h:
20547         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20548           Support 'MIN' and 'MAX' for deserialising fractions.
20549
20550 2005-11-22  Andy Wingo  <wingo@pobox.com>
20551
20552         * gst/gstevent.h (gst_event_new_new_segment)
20553         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20554         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20555         Renamed from *_newsegment, *_buffersize, *_notarget.
20556
20557         * scripts/update-funcnames: New script, performs the changes
20558         listed above.
20559
20560 2005-11-22  Wim Taymans  <wim@fluendo.com>
20561
20562         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20563         Make sure the GstFlowReturn is returned.
20564
20565         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20566         (gst_bus_add_signal_watch):
20567         * gst/gstbus.h:
20568         add gst_bus_add_signal_watch_full.
20569
20570         * gst/gstplugin.c: (gst_plugin_load_file):
20571         Small style cleanup.
20572
20573 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20574
20575         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20576           Block the fakesrc srcpad when we send an event, to avoid
20577           contention on the stream_lock causing random test failures.
20578
20579 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20580
20581         * check/gst/gstvalue.c: (GST_START_TEST):
20582         * gst/gstvalue.c: (gst_value_fraction_subtract):
20583           Fix subtraction.
20584
20585 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20586
20587         * gst/gst.h:
20588           include "gstchildproxy.h"
20589         * gst/gstchildproxy.h:
20590         * libs/gst/controller/gstcontroller.h:
20591           use G_GNUC_NULL_TERMINATED
20592
20593 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20594
20595         * check/gst/capslist.h:
20596         * check/gst/gstcaps.c: (GST_START_TEST):
20597         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20598         * gst/gststructure.c: (gst_structure_parse_range),
20599         (gst_structure_fixate_field_nearest_fraction):
20600         * gst/gststructure.h:
20601         * gst/gstvalue.c: (gst_value_init_fraction_range),
20602         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20603         (gst_value_collect_fraction_range),
20604         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20605         (gst_value_set_fraction_range_full),
20606         (gst_value_get_fraction_range_min),
20607         (gst_value_get_fraction_range_max),
20608         (gst_value_serialize_fraction_range),
20609         (gst_value_transform_fraction_range_string),
20610         (gst_value_compare_fraction_range),
20611         (gst_value_deserialize_fraction_range),
20612         (gst_value_intersect_fraction_fraction_range),
20613         (gst_value_intersect_fraction_range_fraction_range),
20614         (gst_value_subtract_fraction_fraction_range),
20615         (gst_value_subtract_fraction_range_fraction),
20616         (gst_value_subtract_fraction_range_fraction_range),
20617         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20618         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20619         (gst_value_transform_string_fraction), (_gst_value_initialize):
20620         * gst/gstvalue.h:
20621           Implement fraction ranges and extend GstFraction to support
20622           arithmetic subtraction, as well as deserialization from integer
20623           strings such as "100"
20624           Add a testsuite as for int and double range set operations
20625
20626 2005-11-21  Andy Wingo  <wingo@pobox.com>
20627
20628         * gst/gsttaglist.h: 
20629         * gst/gstcaps.h: 
20630         * gst/gststructure.h: Add glib-compat.h.
20631
20632 2005-11-21  Wim Taymans  <wim@fluendo.com>
20633
20634         * gst/gstbin.c: (gst_bin_change_state_func):
20635         Fix for #321595
20636
20637 2005-11-21  Wim Taymans  <wim@fluendo.com>
20638
20639         * gst/gstsegment.h:
20640         And add a nice define too.
20641
20642 2005-11-21  Wim Taymans  <wim@fluendo.com>
20643
20644         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20645         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20646         (gst_segment_set_duration), (gst_segment_set_last_stop),
20647         (gst_segment_set_seek), (gst_segment_set_newsegment),
20648         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20649         (gst_segment_clip):
20650         * gst/gstsegment.h:
20651         Make binding friendly.
20652
20653 2005-11-21  Andy Wingo  <wingo@pobox.com>
20654
20655         * gst/gsttagsetter.h: 
20656         * gst/gsttaglist.h: 
20657         * gst/gststructure.h: 
20658         * gst/gstcaps.h: 
20659         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20660         #319940.
20661
20662         * gst/gsterror.c (_gst_core_errors_init):
20663         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20664         category.
20665
20666         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20667         (noinst_HEADERS): noinst the -private.
20668
20669 2005-11-21  Michael Smith <msmith@fluendo.com>
20670
20671         * gst/gstplugin.h:
20672         * gst/gstregistry.h:
20673           Remove unimplemented declarations for which we can see no sensible
20674           use.
20675
20676 2005-11-21  Andy Wingo  <wingo@pobox.com>
20677
20678         * gst/gst.h: Include glib-compat.h.
20679
20680         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20681
20682         * gst/glib-compat.c: Include the public and the private header.
20683
20684         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20685
20686         * gst/gstvalue.c: 
20687         * gst/gstpad.c: 
20688         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20689
20690         * check/gst/gstevent.c (create_custom_events): Check that
20691         FLUSH_STOP is serialized.
20692
20693         * check/elements/identity.c (event_func): 
20694         * check/elements/fakesrc.c (event_func): No stream lock, the core
20695         takes it.
20696
20697         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20698         stream lock taking, yay.
20699
20700         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20701         ensure that core takes the stream lock.
20702
20703         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20704         lock name change.
20705
20706         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20707         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20708         it already. For the flush start we do take it though so we get the
20709         right preroll state change messages.
20710
20711         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20712         the stream lock here, the core does it for us.
20713
20714         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20715         GST_STREAM_GET_LOCK.
20716         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20717         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20718         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20719         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20720         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20721         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20722
20723         * gst/gstpad.c: Update for stream lock name change.
20724
20725         * gst/base/gstbasesink.c: Update for preroll lock name change.
20726
20727 2005-11-21  Wim Taymans  <wim@fluendo.com>
20728
20729         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20730         (gst_clock_get_master):
20731         * gst/gstclock.h:
20732         * gst/gstsystemclock.c: (gst_system_clock_init):
20733         Convert Clock flags to object flags.
20734         Added methods to manage master/slave clocks.
20735
20736 2005-11-21  Wim Taymans  <wim@fluendo.com>
20737
20738         * check/gst/gstsegment.c: (GST_START_TEST):
20739         * docs/design/part-TODO.txt:
20740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20741         (gst_base_sink_event), (gst_base_sink_do_sync),
20742         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20743         (gst_base_sink_query), (gst_base_sink_change_state):
20744         * gst/base/gstbasesink.h:
20745         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20746         (gst_base_src_default_newsegment),
20747         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20748         (gst_base_src_get_range), (gst_base_src_loop),
20749         (gst_base_src_change_state):
20750         * gst/base/gstbasesrc.h:
20751         * gst/base/gstbasetransform.c:
20752         (gst_base_transform_prepare_output_buf),
20753         (gst_base_transform_event), (gst_base_transform_change_state):
20754         * gst/base/gstbasetransform.h:
20755         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20756         (gst_collect_pads_event):
20757         * gst/base/gstcollectpads.h:
20758         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20759         (gst_fake_src_create):
20760         * gst/elements/gstfakesrc.h:
20761         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20762         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20763         (gst_segment_set_last_stop), (gst_segment_set_seek),
20764         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20765         (gst_segment_to_running_time), (gst_segment_clip):
20766         * gst/gstsegment.h:
20767         More segment updates, replace code in plugins with segment
20768         helper functions.
20769
20770 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20771
20772         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20773         Don't ignore sscanf results
20774
20775 2005-11-21  Andy Wingo  <wingo@pobox.com>
20776
20777         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20778
20779         * *.h:
20780         * *.c: Ran scripts/update-macros. Oh yes.
20781
20782         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20783         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20784         GST_GET_LOCK, etc.
20785
20786         * scripts/update-macros: New script. Run it on your files to
20787         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20788         well.
20789
20790 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20791
20792         * docs/gst/Makefile.am:
20793         * docs/gst/gstreamer-docs.sgml:
20794         * docs/gst/gstreamer-sections.txt:
20795         * docs/gst/gstreamer.types:
20796         * gst/gstinfo.h:
20797           more docs fixes, add new api to the docs
20798
20799 2005-11-21  Andy Wingo  <wingo@pobox.com>
20800
20801         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20802         state_broadcast call.
20803
20804         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20805
20806 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20807
20808         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20809         function calls for arrays.
20810
20811 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20812
20813         * docs/random/ensonic/media-device-daemon.txt:
20814           wild idea, can this be done?
20815         * docs/gst/gstreamer-sections.txt:
20816         * gst/gsterror.h:
20817         * gst/gstfilter.c:
20818         * gst/gstfilter.h:
20819         * gst/gstplugin.h:
20820         * gst/gstpluginfeature.c:
20821         * gst/gsttrace.c:
20822         * gst/gstvalue.c:
20823         * gst/gstvalue.h:
20824           doc fixes and additions
20825
20826 2005-11-21  Andy Wingo  <wingo@pobox.com>
20827
20828         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20829         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20830         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20831         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20832         private to the basesrc implementation.
20833
20834         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20835         behalf of event function if necessary. It should no longer be
20836         necessary to take the stream lock in pad's event functions. Fixes
20837         #320299.
20838
20839 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20840         * docs/gst/gstreamer-sections.txt:
20841         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20842         (gst_structure_fixate_field_nearest_double),
20843         (gst_structure_fixate_field_boolean):
20844         * gst/gststructure.h:
20845         * win32/common/libgstreamer.def:
20846         * win32/gstreamer.def:
20847
20848         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20849         (#322027)
20850
20851 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20852
20853         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20854         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20855         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20856         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20857         (gst_fdsrc_uri_handler_init):
20858         * gst/elements/gstfdsrc.h:
20859           Port fd:// URI handler from 0.8 to fdsrc
20860
20861 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20862
20863         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20864         (gst_value_serialize_fourcc):
20865         * gst/gstvalue.h:
20866           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20867           consistent with our other format defines (#320324).
20868
20869 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20870
20871         * gst/gstvalue.c: (gst_value_is_fixed):
20872           Revert previous commit. Value lists are by definition
20873           not fixed, as they are a list of possible values.
20874
20875 2005-11-21  Andy Wingo  <wingo@pobox.com>
20876
20877         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20878         during the stable series if we need it. Fixes #319178.
20879
20880         * gst/gstevent.c (gst_event_new_filler): Removed.
20881
20882         * check/gst/gstevent.c: Update comment about filler events.
20883
20884 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20885
20886         * gst/gstvalue.c: (gst_value_is_fixed):
20887           Should handle both value arrays and value lists.
20888
20889 2005-11-21  Andy Wingo  <wingo@pobox.com>
20890
20891         patch by: Alessandro Dessina <alessandro nnva org>
20892
20893         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20894         functions to access arrays. Fixes #321962.
20895
20896 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20897
20898         * docs/gst/gstreamer.types:
20899           gst_collectpads_get_type => gst_collect_pads_get_type.
20900           
20901         * gst/base/gstbasetransform.c:
20902           Remove unused SIGNAL_HANDOFF enum.
20903
20904 2005-11-21  Andy Wingo  <wingo@pobox.com>
20905
20906         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20907         the event type (upstream, downstream, serialized). Renamed
20908         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20909         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20910         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20911
20912         * gst/gstevent.c: Update for new CUSTOM event names.
20913
20914         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20915
20916         * gst/gstevent.h:
20917         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20918         bug #319392.
20919
20920 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20921
20922         * docs/gst/gstreamer-sections.txt:
20923         * win32/common/libgstbase.def:
20924         * win32/libgstbase.def:
20925         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20926         (gst_collect_pads_class_init), (gst_collect_pads_init),
20927         (gst_collect_pads_finalize), (gst_collect_pads_new),
20928         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20929         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20930         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20931         (gst_collect_pads_start), (gst_collect_pads_stop),
20932         (gst_collect_pads_peek), (gst_collect_pads_pop),
20933         (gst_collect_pads_available), (gst_collect_pads_read),
20934         (gst_collect_pads_flush), (gst_collect_pads_event),
20935         (gst_collect_pads_chain):
20936         * gst/base/gstcollectpads.h:
20937           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20938           unimplemented functions as unimplemented. Add padding to
20939           GstCollectData. (#320766, #320423)
20940
20941 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20942
20943         * gst/gstmessage.c:
20944           Improve docs for DURATION message (usage of duration parameter)
20945           (#320113)
20946
20947 2005-11-20  Wim Taymans  <wim@fluendo.com>
20948
20949         * check/Makefile.am:
20950         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20951         (main):
20952         * gst/Makefile.am:
20953         * gst/gst.h:
20954         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20955         (gst_segment_set_seek), (gst_segment_set_newsegment),
20956         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20957         (gst_segment_clip):
20958         * gst/gstsegment.h:
20959         Added segment helper structure and methods. Not fully implemented
20960         yet.
20961         Added segment check.
20962
20963 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20964
20965         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20966           Add a deserialisation test for fractions
20967         * examples/metadata/read-metadata.c: (message_loop),
20968         (make_pipeline), (main):
20969           Fix up metadata reading sample.
20970         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20971           Debug format fix
20972         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20973           Don't try and fixate empty caps
20974         * gst/gst_private.h:
20975           Wrap in G_BEGIN_DECLS/G_END_DECLS
20976         * gst/gstvalue.c: (gst_value_collect_fraction),
20977         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20978         (gst_value_transform_string_fraction),
20979         (gst_value_compare_fraction):
20980           Add some extra guards to ensure that we don't end up 
20981           with an invalid denominator of 0 in a gstfraction and
20982           that fractions always get reduced.
20983
20984 2005-11-20  Wim Taymans  <wim@fluendo.com>
20985
20986         * docs/gst/gstreamer-sections.txt:
20987         * gst/gstbuffer.h:
20988         * gst/gstelement.c:
20989         * gst/gstformat.c:
20990         * gst/gstformat.h:
20991         * gst/gstindex.h:
20992         * gst/gstquery.c:
20993         * gst/gstquery.h:
20994         * gst/gstvalue.c:
20995         Doc fixes.
20996
20997 2005-11-20  Wim Taymans  <wim@fluendo.com>
20998
20999         * docs/design/part-TODO.txt:
21000         * gst/gstcaps.h:
21001         Make a proper enum of the flag.
21002
21003 2005-11-19  Wim Taymans  <wim@fluendo.com>
21004
21005         * docs/design/part-TODO.txt:
21006         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21007         (gst_format_to_quark), (gst_format_register):
21008         * gst/gstformat.h:
21009         * gst/gstquery.c: (_gst_query_initialize),
21010         (gst_query_type_get_name), (gst_query_type_to_quark),
21011         (gst_query_type_register):
21012         * gst/gstquery.h:
21013         Add type to quark and type to string conversions.
21014
21015 2005-11-19  Andy Wingo  <wingo@pobox.com>
21016
21017         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21018         #320097.
21019
21020 2005-11-19  Wim Taymans  <wim@fluendo.com>
21021
21022         * docs/design/part-TODO.txt:
21023         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21024         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21025         (gst_bin_handle_message_func):
21026         * gst/gstbin.h:
21027         Make message handling overridable.
21028
21029 2005-11-19  Andy Wingo  <wingo@pobox.com>
21030
21031         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21032
21033         * gst/gstclock.h:
21034         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21035         be a GstClockTime.
21036         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21037         is a GstClockTime. Fixes #321710.
21038
21039         * gst/gstclock.h (GstClock): Remove offset property. Add
21040         internal_calibration and external_calibration. Fix padding. Pad
21041         also by GstClockTime so we don't run into problems.
21042
21043         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21044         (gst_clock_get_rate_offset): Remove.
21045         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21046
21047         * gst/gstutils.h:
21048         * gst/gstutils.c (g_static_rec_cond_wait)
21049         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21050
21051         * gst/gstbin.c: Remove terrible continue_state prototype.
21052
21053         * gst/gstelement.h (gst_element_continue_state): Make public.
21054
21055         * gst/gstelement.h:
21056         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21057         by continue_state. Fixes #319389.
21058
21059         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21060         Really fixes #168438. However I don't see anywhere where the
21061         filter function is called... stupid GStreamer...
21062         
21063         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21064         don't have a dispose function, so it won't get called when the
21065         object is unreffed, but oh well!
21066
21067         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21068         allows a destroy function to be set so user_data can be freed.
21069         Fixes #168438.
21070         (gst_index_set_filter): Call gst_index_set_filter_full.
21071
21072         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21073
21074         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21075         string should produce an error, given the lack of a way to
21076         represent NULL strings. Fixes #165650.
21077         
21078         * gst/gstvalue.h: 
21079         * gst/gstvalue.c (gst_value_array_append_value) 
21080         (gst_value_array_prepend_value, gst_value_array_get_size) 
21081         (gst_value_array_get_value): New API, copied from
21082         gst_value_list_*, only operates on arrays.
21083         (gst_value_list_append_value, gst_value_list_prepend_value) 
21084         (gst_value_list_concat, gst_value_list_get_size) 
21085         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21086
21087         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21088         init_list, because it works on both.
21089         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21090         (gst_value_copy_list_or_array): Renamed from copy_list.
21091         (gst_value_free_list_or_array): Renamed from free_list.
21092         (gst_value_collect_list_or_array): Renamed from collect_list.
21093         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21094         (gst_value_list_or_array_peek_pointer): Renamed from
21095         list_peek_pointer.
21096         (_gst_value_array_value_table, _gst_value_list_value_table):
21097         Update value table functions.
21098         (gst_value_compare_list_or_array): Renamed from compare_list.
21099
21100         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21101         some constness.
21102
21103         * gst/gsttaglist.c:
21104         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21105         GstTagList*. Fixes #143472.
21106
21107         * gst/gststructure.h: Clarify what the foreach/map functions can
21108         or can't do to their arguments.
21109
21110 2005-11-18  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/gstclock.c: (gst_clock_set_calibration),
21113         (gst_clock_get_calibration):
21114         Doc and API fixes.
21115         Calibration can be set with internal time equal to current
21116         internal time too.
21117
21118 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21119
21120         * gst/gsterror.c:
21121         * gst/gsterror.h:
21122           document
21123
21124 2005-11-18  Andy Wingo  <wingo@pobox.com>
21125
21126         * configure.ac: 
21127         * pkgconfig/gstreamer-net.pc.in:
21128         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21129         * pkgconfig/Makefile.am: Add net pkgconfig files.
21130
21131 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21132
21133         * gst/gstcaps.c:
21134         * gst/gstghostpad.c:
21135         * gst/gsttrace.c:
21136         * gst/gstvalue.c:
21137         * gst/gstvalue.h:
21138           docs fixes
21139
21140 2005-11-18  Andy Wingo  <wingo@pobox.com>
21141
21142         * gst/net/gstnetclientclock.c: Turn off debugging.
21143
21144         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21145         times connverge somewhat. Can't make a real test.
21146
21147         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21148         integer arithmetic. Return the minimum of the domain, which can be
21149         set as "internal" for gst_clock_set_calibration.
21150         (gst_net_client_clock_observe_times): Call _set_calibration.
21151         (gst_net_client_clock_new): Call _set_calibration instead of
21152         rate_offset.
21153
21154         * check/net/gstnetclientclock.c (test_functioning): Use the right
21155         adjustment api.
21156
21157         * gst/gstclock.h:
21158         * gst/gstclock.c (gst_clock_get_calibration) 
21159         (gst_clock_set_calibration): New functions, obsolete the ones I
21160         added yesterday. Doh. Precision issues mean we have to extrapolate
21161         from a point in the more recent past than 1970.
21162         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21163         obsolete.
21164         (gst_clock_adjust_unlocked): Use the right calibration data.
21165
21166 2005-11-18  Edward Hervey  <edward@fluendo.com>
21167
21168         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21169         Also reset the ->current_* values in READY->PAUSED
21170
21171 2005-11-18  Andy Wingo  <wingo@pobox.com>
21172
21173         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21174         Whoops, check the right fd. Also add some debugging.
21175         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21176         (do_linear_regression): Add a crapload of debugging. Subtract off
21177         the minimum values from the input series to discard unneeded bits.
21178         Use only int arithmetic. There is still double arithmetic when
21179         calculating the intercept that needs fixing. Return boolean to
21180         indicate success; FALSE would mean the domain or range is too
21181         great. Still needs fixes.
21182
21183 2005-11-18  Wim Taymans  <wim@fluendo.com>
21184
21185         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21186         For the current position in stream time, we need to subtract
21187         accumulated time.
21188         
21189         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21190         Release lock before calling the callback function of async
21191         entries.
21192
21193 2005-11-18  Andy Wingo  <wingo@pobox.com>
21194
21195         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21196         Port goes all the way to MAXUINT16.
21197
21198         * gst/net/gstnettimeprovider.c: Make the port range the same as
21199         for the kernel: 0 assigns, otherwise ports are less than
21200         MAXUINT16.
21201
21202         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21203         port change.
21204
21205         * check/net/gstnetclientclock.c (test_functioning): Add the start
21206         of another test. 
21207
21208 2005-11-18  Wim Taymans  <wim@fluendo.com>
21209
21210         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21211         (gst_bin_remove_func), (bin_bus_handler):
21212         * gst/gstbin.h:
21213         Removing a clock provider from a bin, triggers a clock lost message
21214         so that a new clock will be selected.
21215         Adding a clock to a bin triggers a clock provider message.
21216         Make sure we reselect a clock when we received a clock lost message.
21217         Keep a reference to the element that provided the clock.
21218
21219 2005-11-18  Andy Wingo  <wingo@pobox.com>
21220
21221         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21222         the clock initially so it produces values around the base time.
21223         (gst_net_client_clock_class_init): Typo fix.
21224         (gst_net_client_clock_thread): Add note on when the socket gets
21225         closed.
21226
21227 2005-11-17  Wim Taymans  <wim@fluendo.com>
21228
21229         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21230         Free remote and local time arrays.
21231
21232 2005-11-17  Wim Taymans  <wim@fluendo.com>
21233
21234         * gst/net/gstnetclientclock.c: (do_linear_regression),
21235         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21236         Fix compilation, uninitialized vars and a forgotten continue.
21237
21238 2005-11-17  Andy Wingo  <wingo@pobox.com>
21239
21240         * check/Makefile.am (check_PROGRAMS): 
21241         * check/net/gstnetclientclock.c: Add a most minimal test for the
21242         net client clock. More to come later.
21243
21244         * gst/net/gstnet.h: 
21245         * gst/net/Makefile.am: Add netclientclock.
21246
21247         * gst/net/gstnetclientclock.h:
21248         * gst/net/gstnetclientclock.c: New files, implement an untested
21249         GstClock that takes its time from a network time provider.
21250         Implements the algorithm in network-clock.scm.
21251
21252         * tests/network-clock.scm (*window-size*): Rename from
21253         *queue-length*.
21254         * tests/network-clock.scm (network-time): 
21255         * tests/network-clock-utils.scm (q-push): Update callers.
21256
21257 2005-11-17  Wim Taymans  <wim@fluendo.com>
21258
21259         * gst/gstbin.c: (gst_bin_provide_clock_func),
21260         (gst_bin_sort_iterator_new):
21261         And unref the child too..
21262
21263 2005-11-17  Wim Taymans  <wim@fluendo.com>
21264
21265         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21266         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21267         Refactor the sort iterator so it can be used while holding the
21268         LOCK too.
21269         Make clock selection select a clock closest to the source.
21270
21271 2005-11-17  Michael Smith <msmith@fluendo.com>
21272
21273         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21274         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21275         * gst/gstclock.h:
21276           Anonymous structs are a gcc (and some other compilers) extension, so
21277           don't use them. Since this is only for ABI-compatibility, and our
21278           API/ABI freeze is over in a few days, this whole thing will only
21279           last a few days, so don't bother trying to think up a meaningful
21280           name for the struct.
21281
21282 2005-11-17  Andy Wingo  <wingo@pobox.com>
21283
21284         * gst/gstclock.h (GstClock): Add rate and offset properties,
21285         preserving ABI stability. Add rate/offset accessors. Will file bug
21286         for the freeze break.
21287
21288         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21289         and offset, trying to keep precision and avoiding
21290         underflow/overflow.
21291         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21292         functions. Make gst_clock_set_time_adjust obsolete.
21293         (gst_clock_set_time_adjust): Note that this function is obsolete.
21294         Will file bug soon.
21295
21296         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21297         greppable by using GST_PADDING-1+1.
21298
21299 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21300
21301         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21302
21303         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21304           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21305
21306         * gst/gstpadtemplate.h:
21307         * gst/gstpluginfeature.h:
21308           Don't use c++ style comments in headers (#321638).
21309
21310 2005-11-16  Andy Wingo  <wingo@pobox.com>
21311
21312         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21313         buffer.
21314
21315         * check/net/gstnettimeprovider.c: Check to see that the time
21316         provider actually provides times. Works, yo!
21317
21318 2005-11-16  Wim Taymans  <wim@fluendo.com>
21319
21320         * check/Makefile.am:
21321         Enable more tests.
21322
21323         * check/elements/fakesrc.c: (GST_START_TEST):
21324         Set element to NULL before disposing it.
21325
21326 2005-11-16  Andy Wingo  <wingo@pobox.com>
21327
21328         * gst/net/Makefile.am:
21329         * gst/net/gstnet.h:
21330         * gst/net/gstnettimeprovider.c: 
21331         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21332         provider, include it from gstnet.h, and add it to the build.
21333
21334         * gst/net/gstnettimepacket.h: 
21335         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21336         sending and receiving.
21337
21338 2005-11-16  Wim Taymans  <wim@fluendo.com>
21339
21340         * check/Makefile.am:
21341         Enable valgrind check.
21342
21343         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21344         (gst_fake_src_alloc_buffer):
21345         Fix memleak.
21346
21347 2005-11-16  Wim Taymans  <wim@fluendo.com>
21348
21349         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21350         Call parent finalize too.
21351
21352 2005-11-16  Wim Taymans  <wim@fluendo.com>
21353
21354         * check/Makefile.am:
21355         Enable valgrind check that should work fine now.
21356
21357         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21358         * gst/gstqueue.c: (gst_queue_init):
21359         Fix memleaks in pad allocation.
21360
21361 2005-11-16  Andy Wingo  <wingo@pobox.com>
21362
21363         * gst/net/Makefile.am:
21364         * gst/net/gstnet.h: New part of core to hold network elements and
21365         objects. Put in core because it exposes API that applications want
21366         to use. The library is named libgstnet-tempname right now because
21367         of the existing libgstnet in gst-plugins-base. Solution is
21368         probably to rename the one in plugins-base; will file a bug for
21369         the freeze break.
21370
21371         * gst/net/gstnettimeprovider.c: 
21372         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21373         get_time call over the network.
21374
21375         * configure.ac: 
21376         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21377
21378         * check/Makefile.am:
21379         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21380         get additions shortly.
21381
21382 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21383
21384         * gst/gstpad.c: (gst_pad_new_from_static_template):
21385         * gst/gstpad.h:
21386           add gst_pad_new_from_static_template functions
21387         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21388         (gst_check_setup_sink_pad):
21389         * gst/elements/gsttee.c: (gst_tee_init):
21390           and use them
21391
21392 2005-11-16  Wim Taymans  <wim@fluendo.com>
21393
21394         * gst/gstpad.c: (gst_pad_pause_task):
21395         Removed warning, it's not really an error either.
21396
21397 2005-11-16  Wim Taymans  <wim@fluendo.com>
21398
21399         * gst/base/gstbasetransform.c:
21400         (gst_base_transform_prepare_output_buf),
21401         (gst_base_transform_event):
21402         Check if the caps are NULL, this can happen if the element
21403         is shutting down and the pad caps are set to NULL.
21404
21405 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21406
21407         * gst/elements/gsttee.c: (gst_tee_init):
21408           fix pad template leak in tee
21409
21410 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21411
21412         * gst/glib-compat.c: (g_value_dup_gst_object):
21413         * gst/glib-compat.h:
21414         * gst/gstpad.c: (gst_pad_set_property):
21415           use gst_object_ref when setting the pad template; this will
21416           trigger the pad template leaks on GLib 2.6 and the slaves
21417
21418 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21419
21420         * gst/glib-compat.c: (gst_flags_get_first_value):
21421         * gst/glib-compat.h:
21422         * gst/gstregistryxml.c:
21423           remove functions copied from GLib 2.6
21424
21425 2005-11-16  Michael Smith <msmith@fluendo.com>
21426
21427         * gst/Makefile.am:
21428           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21429           do, but only breaks with newer valgrind versions. We're not a
21430           valgrind tool, we have no link-time dependencies on libcoregrind.
21431
21432 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21433
21434         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21435           some debug changes
21436         * gst/gstmessage.h:
21437           typo fixes
21438
21439 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21440
21441         * gst/base/gstbasesrc.c: (gst_base_src_init):
21442         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21443         * gst/gstqueue.c: (gst_queue_init):
21444         * gst/gstregistryxml.c: (load_feature):
21445           Revert all these unrefs, they don't even pass make check !
21446
21447 2005-11-15  Johan Dahlin  <johan@gnome.org>
21448
21449         * gst/base/gstbasesrc.c: (gst_base_src_init):
21450         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21451         * gst/gstqueue.c: (gst_queue_init): 
21452         Free pad templates, fixes a couple of leaks.
21453
21454 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21455
21456         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21457
21458         * gst/gstpad.c: (gst_pad_get_property):
21459           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21460           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21461           (#321452)
21462
21463 2005-11-15  Wim Taymans  <wim@fluendo.com>
21464
21465         * gst/gstevent.c:
21466         Small doc update.
21467
21468 2005-11-15  Andy Wingo  <wingo@pobox.com>
21469
21470         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21471
21472         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21473         using GST_CLOCK_TIME_NONE to disable base time management.
21474         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21475         time if it was NONE before.
21476         (gst_pipeline_change_state): Only munge the base time if
21477         stream_time != GST_CLOCK_TIME_NONE.
21478
21479         * check/gst/gstpipeline.c (test_base_time): Punt around the
21480         problem of the probe not being called, because that's not the
21481         issue I'm looking at. Add a check that setting stream_time to NONE
21482         disables base time management.
21483         
21484 2005-11-15  Wim Taymans  <wim@fluendo.com>
21485
21486         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21487         segment_stop == -1 at startup.
21488
21489         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21490         (gst_base_transform_change_state):
21491         Init segment values at start.
21492
21493 2005-11-15  Wim Taymans  <wim@fluendo.com>
21494
21495         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21496         0 segment values are 0 in any format.
21497
21498         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21499         * gst/base/gstbasetransform.h:
21500         Parse newsegment correctly in basetransform
21501
21502         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21503         Sync to clock using updated segment values.
21504
21505 2005-11-15  Andy Wingo  <wingo@pobox.com>
21506
21507         * check/gst/gstpipeline.c (test_base_time): Add check that the
21508         base time and stream time are reset correctly.
21509
21510 2005-11-15  Wim Taymans  <wim@fluendo.com>
21511
21512         * docs/design/part-TODO.txt:
21513         Some more TODO items.
21514
21515 2005-11-15  Andy Wingo  <wingo@pobox.com>
21516
21517         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21518         error if the user selected "no clock" as the clocking method.
21519
21520         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21521         timestamps with live capture.
21522
21523         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21524         is 0 but we are a live source, timestamp the buffers using the
21525         element's clock.
21526
21527 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21528
21529         * docs/gst/gstreamer-sections.txt:
21530         * gst/gsterror.c:
21531         * gst/gstghostpad.c:
21532         * gst/gstobject.h:
21533         * gst/gstxml.c:
21534           more section docs
21535
21536 2005-11-14  Wim Taymans  <wim@fluendo.com>
21537
21538         * common/gst.supp:
21539           add suppressions from Wim's Debian machine
21540
21541 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21542
21543         * common/gst.supp:
21544           add suppressions from Andy's AMD64 Ubuntu machine
21545
21546 2005-11-14  Andy Wingo  <wingo@pobox.com>
21547
21548         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21549         STATE_LOCK not necessary. Fixes #311489.
21550
21551         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21552         #305291.
21553
21554         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21555         this function is not implemented.
21556
21557 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21558
21559         * gst/base/gstbasetransform.c:
21560         (gst_base_transform_prepare_output_buf):
21561         Ref the source pad caps while we need them.
21562         Fixes (#321386)
21563
21564 2005-11-11  Wim Taymans  <wim@fluendo.com>
21565
21566         * docs/gst/gstreamer-sections.txt:
21567         Added some docs for GstCollectData.
21568
21569         * gst/base/gstadapter.c:
21570         Some small code example fix.
21571
21572         * gst/base/gstcollectpads.c:
21573         * gst/base/gstcollectpads.h:
21574         Document some more.
21575
21576 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21577
21578         * configure.ac: back to HEAD
21579
21580 === release 0.9.5 ===
21581
21582 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21583
21584         * configure.ac:
21585           releasing 0.9.5, "Bike Lunch Day"
21586
21587 2005-11-11  Wim Taymans  <wim@fluendo.com>
21588
21589         * gst/gstbuffer.c: (_gst_buffer_copy):
21590         Copy more flags.
21591
21592         * gst/gstcaps.c: (gst_caps_is_equal):
21593         Fix some docs.
21594         Make _is_equal fast in the trivial cases.
21595
21596         * gst/gstminiobject.c:
21597         * gst/gstminiobject.h:
21598         More docs. Spifify .h file.
21599
21600         * gst/gstutils.c:
21601         Small doc update.
21602
21603 2005-11-11  Wim Taymans  <wim@fluendo.com>
21604
21605         * gst/base/gstbasetransform.c:
21606         (gst_base_transform_prepare_output_buf),
21607         (gst_base_transform_handle_buffer):
21608         Small cleanups.
21609         If we're processing a buffer and need to allocate an output
21610         buffer, we cannot accept a format change. If we did get a 
21611         format change, we have to alloc a buffer ourselves of the 
21612         right size.
21613
21614 2005-11-11  Wim Taymans  <wim@fluendo.com>
21615
21616         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21617         While checking the flag for reentrancy in the gstcaps function
21618         is nice to detect recursive invocations, it also makes it 
21619         impossible to call getcaps from multiple threads, which must be
21620         possible. So, checking for recursive calls has to go.
21621
21622 2005-11-11  Michael Smith <msmith@fluendo.com>
21623
21624         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21625           Don't sync on buffers that fall partially outside our current
21626           segment. Prevents an assertion failure/abort playing some files.
21627
21628 2005-11-10  Andy Wingo  <wingo@pobox.com>
21629
21630         * check/gst/gstbin.c (test_message_state_changed_children): Style
21631         fix..
21632
21633         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21634         gst_bus_poll with the signal watch. Ensures that poll and a signal
21635         watch see the same messages.
21636
21637         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21638         a poll and a watch at the same time get the same messages.
21639
21640 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21641
21642         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21643         * gst/gstcaps.c: (gst_caps_intersect):
21644           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21645           and it's not needed.
21646
21647 2005-11-10  Wim Taymans  <wim@fluendo.com>
21648
21649         * docs/design/part-TODO.txt:
21650         Updated todo.
21651
21652 2005-11-10  Wim Taymans  <wim@fluendo.com>
21653
21654         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21655         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21656         (gst_base_src_do_sync), (gst_base_src_get_range):
21657         Implement clock sync in base class.
21658
21659 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21660
21661         patch by: Tim-Philipp Müller <tim at centricular dot net>
21662
21663         * gst/gststructure.c: (gst_structure_parse_field),
21664         (gst_structure_from_string):
21665           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21666           so that gst_parse_launch() can deal with spaces in filtered link
21667           caps (fixes #164479)
21668         * check/gst/capslist.h:
21669         * check/gst/gststructure.c: (GST_START_TEST):
21670           add unit tests for this change
21671
21672 2005-11-10  Wim Taymans  <wim@fluendo.com>
21673
21674         * docs/gst/gstreamer-sections.txt:
21675         * gst/gstelement.c:
21676         * gst/gstelement.h:
21677         Fix docs, move some STATE macros to private.
21678
21679 2005-11-10  Wim Taymans  <wim@fluendo.com>
21680
21681         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21682         Added check for bug #317341
21683
21684         * gst/gstbuffer.c:
21685         * gst/gstbuffer.h:
21686         Some more spiffifying.
21687
21688         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21689         Call peer linkfunction if we are a source pad. Totally fixes
21690         #317341
21691
21692         * gst/gstpad.c:
21693         Update docs, source pads should call the peer linkfunction
21694         so they can atomically perform the pad link.
21695
21696 2005-11-09  Wim Taymans  <wim@fluendo.com>
21697
21698         * gst/gstbuffer.c:
21699         * gst/gstbuffer.h:
21700         Uber-spiffy-spiffify some more.
21701
21702 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21703
21704         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21705         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21706         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21707         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21708         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21709         * gst/gstpad.c: (gst_pad_init):
21710           Use GST_DEBUG_FUNCPTR() more extensively.
21711
21712 2005-11-09  Wim Taymans  <wim@fluendo.com>
21713
21714         * gst/gstobject.c: (gst_object_class_init):
21715         * gst/gstobject.h:
21716         Documentation fixes.
21717
21718 2005-11-09  Edward Hervey  <edward@fluendo.com>
21719
21720         * gst/gsttypefindfactory.c:
21721         Fix docs.
21722         
21723 2005-11-09  Edward Hervey  <edward@fluendo.com>
21724
21725         * gst/base/gsttypefindhelper.c:
21726         * gst/gsttypefind.c:
21727         * gst/gsttypefind.h:
21728         Fix docs.
21729
21730 2005-11-09  Wim Taymans  <wim@fluendo.com>
21731
21732         * gst/gstiterator.c:
21733         Fix revision data.
21734
21735         * gst/gsttask.c:
21736         * gst/gsttask.h:
21737         Fix docs.
21738
21739 2005-11-09  Wim Taymans  <wim@fluendo.com>
21740
21741         * gst/gstevent.h:
21742         * gst/gsturi.h:
21743         Fix docs.
21744
21745 2005-11-09  Wim Taymans  <wim@fluendo.com>
21746
21747         * docs/gst/gstreamer-sections.txt:
21748         Moved the message async delivery private lock and cond
21749         to the private section.
21750
21751         * gst/gstmessage.c:
21752         * gst/gstmessage.h:
21753         Fixed docs.
21754
21755 2005-11-09  Edward Hervey  <edward@fluendo.com>
21756
21757         * docs/gst/gstreamer-sections.txt:
21758         * gst/gsturi.c:
21759         * gst/gsturi.h:
21760         Document GstURIHandler
21761
21762 2005-11-09  Wim Taymans  <wim@fluendo.com>
21763
21764         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21765         (gst_iterator_find_custom):
21766         * gst/gstiterator.h:
21767         Fix iterator docs.
21768
21769 2005-11-09  Wim Taymans  <wim@fluendo.com>
21770
21771         * gst/gstbin.h:
21772         Document another field.
21773
21774         * gst/gststructure.c:
21775         * gst/gststructure.h:
21776         Document.
21777
21778 2005-11-09  Wim Taymans  <wim@fluendo.com>
21779
21780         * gst/gstbin.h:
21781         Documented structs.
21782
21783 2005-11-09  Wim Taymans  <wim@fluendo.com>
21784
21785         * docs/gst/gstreamer-sections.txt:
21786         Added some new macros.
21787
21788         * gst/gstclock.c:
21789         * gst/gstclock.h:
21790         * gst/gstobject.h:
21791         Docs updates.
21792
21793 2005-11-09  Wim Taymans  <wim@fluendo.com>
21794
21795         * docs/design/part-TODO.txt:
21796         Some more items for the TODO
21797
21798         * gst/gstcaps.c:
21799         * gst/gstcaps.h:
21800         Document GstCaps.
21801
21802 2005-11-09  Andy Wingo  <wingo@pobox.com>
21803
21804         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21805         to work on something else now tho...
21806
21807         * gst/base/gstadapter.c: More adapter docs.
21808
21809         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21810         (gst_file_sink_stop): New functions, replace the state change
21811         handler.
21812         (gst_file_sink_class_init): Hook up the start and stop functions.
21813         (gst_file_sink_base_init): Don't set the state change handler any
21814         more. It was a bit ugly too, being set from here...
21815         (gst_file_sink_get_property, gst_file_sink_set_property):
21816         Cleanups...
21817         (gst_file_sink_set_location): More robust check that doesn't call
21818         GST_STATE. Ugggggg.
21819
21820 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21821
21822         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21823           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21824
21825 2005-11-08  Wim Taymans  <wim@fluendo.com>
21826
21827         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21828         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21829         (gst_base_sink_chain), (gst_base_sink_change_state):
21830         * gst/base/gstbasesink.h:
21831         * gst/base/gstbasesrc.h:
21832         * gst/gstelement.h:
21833         * gst/gstevent.h:
21834         Avoid excessive typechecking in macros.
21835
21836         * gst/gstminiobject.c: (gst_mini_object_get_type),
21837         (gst_mini_object_init), (gst_mini_object_new),
21838         (gst_mini_object_free):
21839         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21840         (gst_object_finalize):
21841         Remove cruft code, optimize alloc_trace.
21842
21843 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21844
21845         * docs/faq/gst-uninstalled:
21846           fix up PS1 for systems that try to reset it
21847
21848 2005-11-07  Wim Taymans  <wim@fluendo.com>
21849
21850         * gst/base/gstbasesrc.c: (gst_base_src_init),
21851         (gst_base_src_get_range):
21852         Set the segment_end to -1 initially. Fixed typefind.
21853
21854 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21855
21856         * gst/base/gstadapter.c:
21857           Debug category should be 'adapter', not 'GstAdapter'.
21858           
21859         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21860         (gst_collectpads_class_init), (gst_collectpads_init),
21861         (gst_collectpads_peek), (gst_collectpads_pop),
21862         (gst_collectpads_event), (gst_collectpads_chain):
21863           Add debug category and some debugging output. Use boilerplate
21864           macros. Remove some extraneous words from docs.
21865
21866 2005-11-05  Andy Wingo  <wingo@pobox.com>
21867
21868         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21869         macro.
21870
21871 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21872
21873         * docs/gst/gstreamer-sections.txt:
21874         * gst/gstcaps.h:
21875         * gst/gstinfo.c:
21876         * gst/gstminiobject.h:
21877         * gst/gstobject.h:
21878         * gst/gstutils.h:
21879           more docs added
21880
21881 2005-11-04  Wim Taymans  <wim@fluendo.com>
21882
21883         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21884         Small update to stop at the configured segment_end
21885         position.
21886
21887 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21888
21889         * gst/gstregistry.c:
21890         * gst/gstregistry.h:
21891           added missing docs
21892
21893 2005-11-04  Edward Hervey  <edward@fluendo.com>
21894
21895         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21896         Check if we are doing a segment seek and have arrived at the
21897         end of that segment.
21898
21899 2005-11-04  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21902         Don't leak a mutex unlock in case of an error.
21903
21904         * gst/gstbus.h:
21905         Doc fixes.
21906
21907 2005-11-04  Wim Taymans  <wim@fluendo.com>
21908
21909         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21910         (gst_bus_post):
21911         Get the context to wake up only once.
21912
21913 2005-11-03  Wim Taymans  <wim@fluendo.com>
21914
21915         * check/states/sinks.c: (GST_START_TEST):
21916         Uncomment fixed check.
21917
21918         * docs/design/part-TODO.txt:
21919         Updated TODO.
21920
21921         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21922         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21923         (gst_base_sink_get_position):
21924         If we are going to PLAYING, post the right pending state
21925         when we post the intermediate paused message.
21926
21927         * gst/gstelement.c: (gst_element_continue_state),
21928         (gst_element_set_state_func), (gst_element_change_state):
21929         Don't post state changes that were between the same state
21930         and were not ASYNC.
21931
21932 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21933
21934         * docs/gst/gstreamer-sections.txt:
21935         * gst/gstcaps.h:
21936         * gst/gstinfo.c:
21937         * gst/gstminiobject.h:
21938         * gst/gstobject.h:
21939         * gst/gstutils.h:
21940           more docs and doc style fixes
21941
21942 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21943
21944         * docs/gst/gstreamer-sections.txt:
21945         * gst/gstelement.c:
21946         * gst/gstminiobject.c:
21947         doc fixes
21948
21949 2005-11-03  Andy Wingo  <wingo@pobox.com>
21950
21951         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21952         state-changed messages actually have the right order and the right
21953         values.
21954
21955 2005-11-03  Wim Taymans  <wim@fluendo.com>
21956
21957         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21958         Added some more checks. Specifically the case where NO_PREROLL
21959         elements are in the pipeline.
21960
21961         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21962         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21963         (gst_base_sink_get_position):
21964         Post READY->PAUSED state change messages too.
21965         Fix bug where VOID was posted as pending state...
21966
21967         * gst/gstbin.c: (gst_bin_recalc_state):
21968         use _element_continue_state() to continue the state change.
21969
21970         * gst/gstelement.c: (gst_element_continue_state),
21971         (gst_element_commit_state), (gst_element_set_state_func),
21972         (gst_element_change_state), (gst_element_change_state_func):
21973         Lots of state change cleanups, assign the STATE_RETURN in
21974         a new continue_state() function that also propagates the
21975         last return value from a state change to the app.
21976         Update some debug statements with proper category.
21977
21978 2005-11-03  Wim Taymans  <wim@fluendo.com>
21979
21980         * docs/design/part-events.txt:
21981         * docs/design/part-gstpipeline.txt:
21982         * docs/design/part-messages.txt:
21983         * docs/design/part-overview.txt:
21984         * docs/design/part-seeking.txt:
21985         * docs/design/part-states.txt:
21986         * docs/design/part-trickmodes.txt:
21987         * docs/manual/advanced-position.xml:
21988         Small docs updates.
21989
21990         * gst/gstobject.h:
21991         People think !! is ugly, this looks better.
21992
21993         * gst/gstpad.c: (gst_pad_set_blocked_async):
21994         Remove !! since it's fixed elsewhere now.
21995
21996 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21997
21998         * gst/gstminiobject.h:
21999         * gst/gstobject.h:
22000           Add !! to _FLAG_IS_SET macros to make the result boolean.
22001
22002 2005-11-03  Edward Hervey  <edward@fluendo.com>
22003
22004         * gst/gstpad.c: (gst_pad_set_blocked_async):
22005         comparing a flag and a gboolean rarely returns coherent results...
22006         Added two characters (!!) to make that work correctly.
22007         
22008 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22009
22010         * gst/gstbus.c: (gst_bus_class_init):
22011           Fix some typos.
22012           
22013         * gst/gstqueue.c: (gst_queue_loop):
22014           Don't assume a miniobject that isn't a buffer is an
22015           event (it could be that there is a refcounting
22016           problem somewhere and the pointer is stale and
22017           refers to an already destroyed miniobject).
22018
22019 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22020
22021         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22022
22023 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22024
22025         * docs/manual/advanced-position.xml:
22026           Update seek example and explanations to current 0.9 API.
22027
22028         * gst/elements/gsttypefindelement.c:
22029         (gst_type_find_element_activate):
22030           Remove FIXME comment now that the found caps
22031           are unreffed.
22032
22033 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22034
22035         * gst/gstregistryxml.c: (load_feature):
22036           Add another GST_STR_NULL instance
22037
22038 2005-11-02  Edward Hervey  <edward@fluendo.com>
22039
22040         * gst/gstpad.c: (handle_pad_block):
22041         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22042         
22043 2005-11-02  Wim Taymans  <wim@fluendo.com>
22044
22045         * gst/gstbin.c:
22046         Fix typo in docs.
22047
22048         * gst/gstelement.c: (gst_element_commit_state):
22049         Remove unused value.
22050
22051         * gst/gstiterator.c:
22052         Mention that the returned element is reffed in the docs.
22053
22054 2005-11-02  Wim Taymans  <wim@fluendo.com>
22055
22056         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22057         (gst_pad_push), (gst_pad_push_event):
22058         Unlock blocked pads when they are flushed.
22059
22060 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22061
22062         * docs/README:
22063         * docs/gst/gstreamer-sections.txt:
22064         * gst/gstbin.c:
22065           doc updates
22066         * gst/gstregistry.c: (gst_registry_scan_path_level):
22067           fix for a nasty little missed situation where an installed plug-in
22068           which was in the cache did not get overridden by an uninstalled one
22069           which was earlier in the plugin path because the newly created plugin
22070           for the uninstalled one (not in the registry) didn't get its
22071           ->registered set to TRUE
22072
22073 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22074
22075         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22076         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22077         (gst_collectpads_is_active), (gst_collectpads_collect),
22078         (gst_collectpads_collect_range), (gst_collectpads_start),
22079         (gst_collectpads_stop), (gst_collectpads_peek),
22080         (gst_collectpads_pop), (gst_collectpads_available),
22081         (gst_collectpads_read), (gst_collectpads_flush):
22082           Guard public API with assertions.
22083         
22084         * gst/gstpad.c:
22085           Fix docs for gst_pad_set_link_function().
22086
22087 2005-11-02  Johan Dahlin  <johan@gnome.org>
22088
22089         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22090         Unref found_caps after we used it.
22091
22092 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22093
22094         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22095           Don't try to ref NULL.
22096
22097 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22098
22099         * win32/common/config.h.in:
22100           provide a GST_FUNCTION that just gives a string for now
22101
22102 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22103
22104         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22105         (gst_object_flags_get_type), (register_gst_bin_flags),
22106         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22107         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22108         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22109         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22110         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22111         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22112         (gst_clock_flags_get_type), (register_gst_state),
22113         (gst_state_get_type), (register_gst_state_change_return),
22114         (gst_state_change_return_get_type), (register_gst_state_change),
22115         (gst_state_change_get_type), (register_gst_element_flags),
22116         (gst_element_flags_get_type), (register_gst_core_error),
22117         (gst_core_error_get_type), (register_gst_library_error),
22118         (gst_library_error_get_type), (register_gst_resource_error),
22119         (gst_resource_error_get_type), (register_gst_stream_error),
22120         (gst_stream_error_get_type), (register_gst_event_type),
22121         (gst_event_type_get_type), (register_gst_seek_type),
22122         (gst_seek_type_get_type), (register_gst_seek_flags),
22123         (gst_seek_flags_get_type), (register_gst_format),
22124         (gst_format_get_type), (register_gst_index_certainty),
22125         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22126         (gst_index_entry_type_get_type),
22127         (register_gst_index_lookup_method),
22128         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22129         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22130         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22131         (gst_index_flags_get_type), (register_gst_debug_level),
22132         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22133         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22134         (gst_iterator_result_get_type), (register_gst_iterator_item),
22135         (gst_iterator_item_get_type), (register_gst_message_type),
22136         (gst_message_type_get_type), (register_gst_mini_object_flags),
22137         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22138         (gst_pad_link_return_get_type), (register_gst_flow_return),
22139         (gst_flow_return_get_type), (register_gst_activate_mode),
22140         (gst_activate_mode_get_type), (register_gst_pad_direction),
22141         (gst_pad_direction_get_type), (register_gst_pad_flags),
22142         (gst_pad_flags_get_type), (register_gst_pad_presence),
22143         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22144         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22145         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22146         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22147         (gst_plugin_flags_get_type), (register_gst_rank),
22148         (gst_rank_get_type), (register_gst_query_type),
22149         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22150         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22151         (gst_tag_flag_get_type), (register_gst_task_state),
22152         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22153         (gst_alloc_trace_flags_get_type),
22154         (register_gst_type_find_probability),
22155         (gst_type_find_probability_get_type), (register_gst_uri_type),
22156         (gst_uri_type_get_type), (register_gst_parse_error),
22157         (gst_parse_error_get_type):
22158         * win32/common/gstversion.h:
22159           update win32 copies
22160
22161 2005-11-01  Luca Ognibene  <luogni@tin.it>
22162
22163         * gst/gst.c:
22164           fix docs. popt is dead, long live GOption.
22165
22166 2005-10-31  Wim Taymans  <wim@fluendo.com>
22167
22168         * gst/gstbuffer.h:
22169         Small doc fix.
22170
22171 2005-10-31  Andy Wingo  <wingo@pobox.com>
22172
22173         * Boo!
22174
22175         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22176
22177         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22178         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22179         the possibility of deadlocks here if code calling notify() or
22180         set() has a lock that can be taken in another notify handler (ABBA
22181         with class lock and e.g. python GIL state lock).
22182
22183 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22184
22185         * gst/gstbus.c: Doc updates.
22186
22187 2005-10-28  Wim Taymans  <wim@fluendo.com>
22188
22189         * docs/design/part-TODO.txt:
22190         * gst/gstiterator.c:
22191         * gst/gstsystemclock.c:
22192         * gst/gstsystemclock.h:
22193         Doc updates.
22194
22195 2005-10-28  Edward Hervey  <edward@fluendo.com>
22196
22197         * docs/gst/gstreamer-docs.sgml:
22198         * docs/gst/gstreamer-sections.txt:
22199         the GstURIType documentation page is private, it only defines GstURIType
22200         which should be defined in the GstURIHandler page
22201         
22202 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22203
22204         * gst/gstbin.c: (gst_bin_class_init):
22205         * gst/gstbin.h:
22206         * gst/gstutils.c:
22207         Documentation updates.
22208
22209 2005-10-28  Wim Taymans  <wim@fluendo.com>
22210
22211         * docs/gst/gstreamer-sections.txt:
22212         * gst/gstclock.c:
22213         * gst/gstclock.h:
22214         Documented the clocks.
22215
22216 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22217
22218         * docs/gst/gstreamer-sections.txt:
22219           move some macros to private sections
22220         * gst/gstminiobject.c:
22221         * gst/gstminiobject.h:
22222           add descriptions provided by ds and some more
22223         * gst/gstpad.h:
22224           mark macro as to be removed
22225
22226 2005-10-28  Wim Taymans  <wim@fluendo.com>
22227
22228         * docs/design/part-TODO.txt:
22229         Add an item to TODO.
22230
22231         * gst/gstiterator.c: (gst_iterator_fold),
22232         (gst_iterator_find_custom):
22233         * gst/gstiterator.h:
22234         Add iterator docs.
22235
22236 2005-10-28  Wim Taymans  <wim@fluendo.com>
22237
22238         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22239         (gst_base_transform_init):
22240         Don't leak class.
22241
22242         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22243         An EOS event marks the queue as completely filled.
22244
22245 2005-10-27  Wim Taymans  <wim@fluendo.com>
22246
22247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22248         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22249         Some more debugging.
22250
22251         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22252         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22253         (gst_base_transform_event), (gst_base_transform_getrange),
22254         (gst_base_transform_chain):
22255         * gst/base/gstbasetransform.h:
22256         Fix debugging,
22257         Protect transform and concurrent buffer alloc with a new lock.
22258         Try not to break ABI/API.
22259
22260 2005-10-27  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22263         (gst_base_src_init), (gst_base_src_query),
22264         (gst_base_src_default_newsegment),
22265         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22266         (gst_base_src_send_event), (gst_base_src_event_handler),
22267         (gst_base_src_pad_get_range), (gst_base_src_loop),
22268         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22269         (gst_base_src_start), (gst_base_src_deactivate),
22270         (gst_base_src_activate_push), (gst_base_src_change_state):
22271         Move some stuff around and cleanup things.
22272
22273 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22274
22275         * gst/base/gstbasesrc.c: (gst_base_src_query):
22276           Add missing break statements.
22277
22278 2005-10-27  Wim Taymans  <wim@fluendo.com>
22279
22280         * check/gst/gstbin.c: (GST_START_TEST):
22281         An extra refcount is taken in basesrc.
22282
22283         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22284         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22285         (gst_base_src_loop):
22286         Small cleanups, check for flushing after being unlocked from the 
22287         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22288         Don't send out EOS when going to READY.
22289
22290 2005-10-27  Wim Taymans  <wim@fluendo.com>
22291
22292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22293         (gst_base_sink_get_position):
22294         Some more debug.
22295
22296         * gst/gstbin.c: (message_check), (bin_replace_message),
22297         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22298         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22299         (bin_query_duration_init), (bin_query_duration_fold),
22300         (bin_query_duration_done), (bin_query_generic_fold),
22301         (gst_bin_query):
22302         * tools/gst-launch.c: (main):
22303         Remove old option.
22304
22305 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22306
22307         * examples/controller/audio-example.c: (main):
22308         * examples/queue/queue.c: (event_loop):
22309         * gst/base/gstbasetransform.h:
22310         * gst/gstelement.c: (gst_element_send_event):
22311         * gst/gstevent.h:
22312         * gst/gstpad.c: (gst_pad_send_event):
22313           fixing examples
22314           fixing docs typos
22315           changing log priority in error situations
22316
22317 2005-10-25  Wim Taymans  <wim@fluendo.com>
22318
22319         * gst/gstbin.c: (message_check), (bin_replace_message),
22320         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22321         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22322         (bin_query_duration_init), (bin_query_duration_fold),
22323         (bin_query_duration_done), (bin_query_generic_fold),
22324         (gst_bin_query):
22325         Some doc and debug updates.
22326         Cache previously requested query DURATION for speed. invalidate
22327         cached duration if element posts a DURATION message.
22328
22329 2005-10-25  Wim Taymans  <wim@fluendo.com>
22330
22331         * docs/design/part-TODO.txt:
22332         Update TODO.
22333
22334         * gst/gstbin.c: (message_check), (bin_replace_message),
22335         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22336         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22337         (bin_query_duration_init), (bin_query_duration_fold),
22338         (bin_query_duration_done), (bin_query_generic_fold),
22339         (gst_bin_query):
22340         Handle SEGMENT_START/DONE messages correctly.
22341         More evolved query algorithm that handles duration queries
22342         correctly.
22343
22344         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22345         (gst_element_get_state_func), (gst_element_abort_state),
22346         (gst_element_commit_state), (gst_element_lost_state):
22347         Some more debugging.
22348
22349         * gst/gstmessage.h:
22350         Added doc.
22351
22352 2005-10-25  Wim Taymans  <wim@fluendo.com>
22353
22354         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22355         Don't use invalid stream_time.
22356
22357         * gst/gstevent.c: (gst_event_new_newsegment):
22358         stream_time in newsegment cannot be undefined.
22359
22360 2005-10-24  Wim Taymans  <wim@fluendo.com>
22361
22362         * gst/gstbus.c:
22363         Doc fix.
22364
22365         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22366         (gst_queue_loop):
22367         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22368
22369 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22370
22371         * docs/libs/tmpl/gstdparam.sgml:
22372         * docs/libs/tmpl/gstdplinint.sgml:
22373         * docs/libs/tmpl/gstdpman.sgml:
22374         * docs/libs/tmpl/gstdpsmooth.sgml:
22375         * docs/libs/tmpl/gstunitconvert.sgml:
22376           these are obsolete
22377
22378 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22379
22380         * configure.ac:
22381           back to HEAD
22382
22383 === release 0.9.4 ===
22384
22385 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22386
22387         * configure.ac:
22388           releasing 0.9.4, "Tyrannosaurus Rex"
22389
22390 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22391
22392         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22393         (gst_file_sink_get_current_offset):
22394           Use fseeko() and ftello() if available. When falling back on
22395           lseek() to get the current offset, fflush() first to make sure
22396           everything is up-to-date and we get the right offset.
22397
22398 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22399
22400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22401         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22402         * gst/gsterror.c: (_gst_stream_errors_init):
22403         * gst/gsterror.h:
22404         * gst/gstqueue.c: (gst_queue_loop):
22405         * po/POTFILES.in:
22406           remove prematurely added error category and clean up the instances
22407
22408 2005-10-21  Wim Taymans  <wim@fluendo.com>
22409
22410         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22411         (gst_base_sink_get_position), (gst_base_sink_query),
22412         (gst_base_sink_change_state):
22413         Simply set the right flag when going to playing, that's all
22414         we need to do instead of calling a function inside the object
22415         lock (that could take the lock as well and deadlock)
22416
22417 2005-10-21  Wim Taymans  <wim@fluendo.com>
22418
22419         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22420         (gst_base_src_loop):
22421         Don't warn, the peer element knows what to do best when
22422         the seek failed, it might try something else.
22423
22424 2005-10-21  Wim Taymans  <wim@fluendo.com>
22425
22426         * gst/base/gstbasesrc.c: (gst_base_src_init),
22427         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22428         Fix seeking.
22429
22430 2005-10-21  Wim Taymans  <wim@fluendo.com>
22431
22432         * docs/design/part-segments.txt:
22433         More docs.
22434
22435         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22436         Correctly set caps, even on the subbufer.
22437
22438 2005-10-21  Wim Taymans  <wim@fluendo.com>
22439
22440         * docs/gst/gstreamer-docs.sgml:
22441         * docs/gst/gstreamer-sections.txt:
22442         * gst/gstelement.h:
22443         * gst/gstevent.c:
22444         * gst/gstevent.h:
22445         * gst/gstmessage.h:
22446         * gst/gstpad.h:
22447         * gst/gstparse.h:
22448         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22449         * gst/gsttask.h:
22450         * gst/gstutils.c:
22451         * gst/gstutils.h:
22452         And 2% more doc coverage.
22453
22454 2005-10-21  Andy Wingo  <wingo@pobox.com>
22455
22456         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22457         position reporting.
22458
22459 2005-10-20  Wim Taymans  <wim@fluendo.com>
22460
22461         * gst/gsterror.c: (gst_error_get_message):
22462         * gst/gstparse.h:
22463         * gst/gstquery.h:
22464         * gst/gststructure.c:
22465         * gst/gsttrace.c:
22466         * gst/gstutils.c:
22467         More docs.
22468
22469 2005-10-20  Wim Taymans  <wim@fluendo.com>
22470
22471         * gst/gstbuffer.h:
22472         * gst/gstpad.c:
22473         * gst/gstparse.c:
22474         Another 1% more coverage.
22475
22476 2005-10-20  Wim Taymans  <wim@fluendo.com>
22477
22478         * docs/gst/gstreamer-sections.txt:
22479         * gst/gstelement.c: (gst_element_get_state_func),
22480         (gst_element_abort_state), (gst_element_commit_state),
22481         (gst_element_lost_state):
22482         * gst/gstevent.h:
22483         * gst/gstquery.c: (gst_query_set_position),
22484         (gst_query_parse_position), (gst_query_set_duration),
22485         (gst_query_parse_duration), (gst_query_new_convert):
22486         * gst/gstutils.c:
22487         Yay! 1% more docs coverage.
22488
22489 2005-10-20  Wim Taymans  <wim@fluendo.com>
22490
22491         * gst/gstpad.h:
22492         * gst/gstquery.c: (gst_query_set_position),
22493         (gst_query_parse_position), (gst_query_set_duration),
22494         (gst_query_parse_duration), (gst_query_new_convert):
22495         * gst/gstquery.h:
22496         * gst/gstutils.c: (gst_element_query_convert):
22497         * gst/gstutils.h:
22498         Docs and consistency fixes.
22499
22500 2005-10-20  Wim Taymans  <wim@fluendo.com>
22501
22502         * gst/gsttask.c:
22503         * gst/gsttask.h:
22504         More docs.
22505
22506 2005-10-20  Wim Taymans  <wim@fluendo.com>
22507
22508         * gst/gstbin.c: (message_check), (bin_replace_message),
22509         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22510         (update_degree), (gst_bin_sort_iterator_next),
22511         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22512         Reworked the message handling a bit, cache the messages instead of
22513         only the senders. alows us to do more in the future.
22514
22515 2005-10-20  Wim Taymans  <wim@fluendo.com>
22516
22517         * docs/design/part-TODO.txt:
22518         Update TODO
22519
22520         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22521         (gst_base_sink_query):
22522         Don't use clock time to report position when in EOS.
22523
22524 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22525
22526         * tools/gst-inspect.c: (print_interfaces),
22527         (print_element_properties_info), (print_element_info):
22528           Fix interface output with gst-inspect -a; don't print
22529           newlines after double/float properties.
22530
22531 2005-10-20  Wim Taymans  <wim@fluendo.com>
22532
22533         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22534         (gst_base_sink_query):
22535         Speed up current position calculation.
22536
22537         * gst/base/gstbasesrc.c: (gst_base_src_query),
22538         (gst_base_src_default_newsegment):
22539         Correctly set stream position in newsegment.
22540
22541         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22542         (update_degree), (gst_bin_sort_iterator_next),
22543         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22544         * gst/gstmessage.c: (gst_message_new_custom):
22545         Clean up debugging info
22546
22547         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22548         (gst_queue_loop), (gst_queue_handle_src_query):
22549         Pause task faster.
22550
22551 2005-10-19  Wim Taymans  <wim@fluendo.com>
22552
22553         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22554         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22555         Fix query handling again.
22556
22557 2005-10-19  Wim Taymans  <wim@fluendo.com>
22558
22559         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22560         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22561         * gst/base/gstbasesrc.c: (gst_base_src_query):
22562         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22563         * gst/elements/gsttypefindelement.c:
22564         (gst_type_find_handle_src_query), (find_element_get_length),
22565         (gst_type_find_element_activate):
22566         API change fix.
22567
22568         * gst/gstquery.c: (gst_query_new_position),
22569         (gst_query_set_position), (gst_query_parse_position),
22570         (gst_query_new_duration), (gst_query_set_duration),
22571         (gst_query_parse_duration), (gst_query_set_segment),
22572         (gst_query_parse_segment):
22573         * gst/gstquery.h:
22574         Bundling query position/duration is not a good idea since duration
22575         does not change much and we don't want to recalculate it for every
22576         position query, so they are separated again..
22577         Base value in segment query is not needed.
22578
22579         * gst/gstqueue.c: (gst_queue_handle_src_query):
22580         * gst/gstutils.c: (gst_element_query_position),
22581         (gst_element_query_duration), (gst_pad_query_position),
22582         (gst_pad_query_duration):
22583         * gst/gstutils.h:
22584         Updates for query API change.
22585         Added some docs here and there.
22586
22587 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22588
22589         * check/gst/gstbin.c: (GST_START_TEST):
22590         * check/gst/gstghostpad.c: (GST_START_TEST):
22591         * check/pipelines/cleanup.c: (GST_START_TEST):
22592           wait on thread to die so we can check refcount correctly
22593
22594 2005-10-18  Wim Taymans  <wim@fluendo.com>
22595
22596         * check/pipelines/stress.c: (GST_START_TEST):
22597         Make check a little more time consuming.
22598
22599 2005-10-18  Wim Taymans  <wim@fluendo.com>
22600
22601         * check/Makefile.am:
22602         * check/pipelines/stress.c: (GST_START_TEST),
22603         (simple_launch_lines_suite), (main):
22604         Small state change torture test.
22605
22606         * docs/design/part-states.txt:
22607         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22608         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22609         (gst_base_sink_change_state):
22610         Never take state lock from streaming thread, clean up ugly
22611         hacks. Unfortunatly core does not yet support nice ways to
22612         async commit state.
22613         
22614         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22615         (bin_bus_handler):
22616         Start state recalc if a STATE_DIRTY message is posted, but only
22617         on the toplevel bin.
22618
22619         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22620         (gst_element_get_state_func), (gst_element_abort_state),
22621         (gst_element_commit_state), (gst_element_lost_state),
22622         (gst_element_set_state_func), (gst_element_change_state):
22623         * gst/gstelement.h:
22624         State variables are now protected with the LOCK, the state
22625         lock is only used to serialize _set_state().
22626
22627 2005-10-18  Wim Taymans  <wim@fluendo.com>
22628
22629         * check/gst/gstbin.c: (GST_START_TEST):
22630         * check/gst/gstmessage.c: (GST_START_TEST):
22631         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22632         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22633         (bin_bus_handler):
22634         * gst/gstelement.c: (gst_element_abort_state),
22635         (gst_element_commit_state), (gst_element_lost_state):
22636         * gst/gstmessage.c: (gst_message_new_state_changed),
22637         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22638         (gst_message_new_segment_done), (gst_message_new_duration),
22639         (gst_message_parse_state_changed),
22640         (gst_message_parse_segment_start),
22641         (gst_message_parse_segment_done), (gst_message_parse_duration):
22642         * gst/gstmessage.h:
22643         * tools/gst-launch.c: (event_loop):
22644         Seriously, this is better than a previous commit as we only need
22645         to notify the fact that an element changed state in a streaming
22646         thread, marking the state of the parents dirty, hence the 
22647         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22648         message.
22649
22650 2005-10-18  Wim Taymans  <wim@fluendo.com>
22651
22652         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22653         (gst_bin_recalc_func):
22654         * gst/gstelement.c: (gst_element_set_clock),
22655         (gst_element_abort_state), (gst_element_lost_state):
22656         Cleanups, prepare for state change fixes.
22657
22658 2005-10-18  Wim Taymans  <wim@fluendo.com>
22659
22660         * gst/gstbin.h:
22661         * gst/gstelement.c: (gst_element_class_init),
22662         (gst_element_set_state), (gst_element_set_state_func):
22663         * gst/gstelement.h:
22664         Pending ABI changes.
22665         GThreadPool in GstBinClass to monitor async state changes.
22666         state_cookie in GstElement to detect concurrent gst/set state.
22667         set_state is now virtual too in case a very complicated element
22668         has to be constructed.
22669
22670 2005-10-18  Wim Taymans  <wim@fluendo.com>
22671
22672         * check/gst/gstbin.c: (GST_START_TEST):
22673         * check/gst/gstmessage.c: (GST_START_TEST):
22674         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22675         * gst/gstbin.c: (bin_bus_handler):
22676         * gst/gstelement.c: (gst_element_commit_state),
22677         (gst_element_lost_state):
22678         * gst/gstmessage.c: (gst_message_new_state_changed),
22679         (gst_message_new_segment_start), (gst_message_new_segment_done),
22680         (gst_message_new_duration), (gst_message_parse_state_changed),
22681         (gst_message_parse_segment_start),
22682         (gst_message_parse_segment_done), (gst_message_parse_duration):
22683         * gst/gstmessage.h:
22684         * tools/gst-launch.c: (event_loop):
22685         Make messages future proof.
22686         state-change gets a flag if it was a message comming from the
22687         streaming thread.
22688         segment-start/stop can also be specified in other formats.
22689         A message to notify an app that a pipeline changed playback 
22690         duration.
22691         Also fix a GstMessage leak in -launch
22692
22693 2005-10-18  Andy Wingo  <wingo@pobox.com>
22694
22695         * gst/gstelement.c (gst_element_dispose): More helpful message.
22696
22697 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22698
22699         reviewed by: <delete if not using a buddy>
22700
22701         * common/gtk-doc.mak:
22702
22703 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22704
22705         * gst/gstregistry.c: (gst_registry_scan_path_level):
22706           unref a plug-in we get that was already initialized
22707
22708 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22709
22710         * docs/gst/gstreamer-sections.txt:
22711         * docs/libs/gstreamer-libs-sections.txt:
22712         * gst/gstelement.h:
22713           add new api entries
22714           hide internal macro
22715
22716 2005-10-17  Andy Wingo  <wingo@pobox.com>
22717
22718         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22719         cleanup.
22720
22721         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22722
22723         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22724
22725         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22726         (gst_element_get_state_func): Better debug message.
22727         (gst_element_commit_state): s/INFO/DEBUG/.
22728         (gst_element_lost_state, gst_element_change_state): 
22729
22730         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22731         (gst_message_new_custom): s/INFO/LOG/.
22732
22733 2005-10-17  Michael Smith <msmith@fluendo.com>
22734
22735         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22736           Check if end time is valid using end time, not start time.
22737
22738 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22739
22740         * check/gst-libs/controller.c: (GST_START_TEST),
22741         (gst_controller_suite):
22742         * libs/gst/controller/gstcontroller.c:
22743         (gst_controlled_property_set_interpolation_mode):
22744         * libs/gst/controller/gstcontroller.h:
22745         * libs/gst/controller/gstinterpolation.c:
22746         * testsuite/controller/.cvsignore:
22747         * testsuite/controller/Makefile.am:
22748         * testsuite/controller/interpolator.c:
22749           merge controller testsuites
22750           fix broken tests
22751           remove mem-chunk from docs
22752
22753 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22754
22755         * gst/gstmemchunk.c:
22756         * gst/gstmemchunk.h:
22757         * gst/gsttrashstack.c:
22758         * gst/gsttrashstack.h:
22759           out.  get out.  you're fired.  to the Attic !
22760
22761 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22762
22763         * gst/gstcaps.c: (gst_caps_intersect):
22764           fix signedness issues in a (hopefully) correct way
22765         * gst/gstelement.c: (gst_element_pads_activate):
22766           some debugging
22767         * gst/gstobject.c: (gst_object_set_parent):
22768           some debugging
22769
22770 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22771
22772         * gst/gstvalue.h: Fix prototypes.
22773
22774 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22775
22776         * docs/gst/gstreamer-sections.txt:
22777         * gst/gst.c: (gst_version_string):
22778         * gst/gst.h:
22779         * gst/gstversion.h.in:
22780         * win32/common/libgstreamer.def:
22781           add gst_version_string ()
22782
22783 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22784
22785         * configure.ac:
22786           clean up further
22787         * gst/gst.c: (init_post):
22788         * win32/common/config.h.in:
22789           it's PLUGINDIR now
22790         * gst/gstcaps.c: (gst_caps_intersect):
22791           use gint64, the range could be bigger than a guint
22792
22793 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22794
22795         * gst/gstclock.h:
22796           document potential problem in 2038
22797
22798 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22799
22800         * gst/gstcaps.c: (gst_caps_intersect):
22801           Fix guint j diving under 0
22802
22803 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22804
22805         * configure.ac:
22806         * win32/common/config.h:
22807         * win32/common/config.h.in:
22808           check for process.h, declares getpid() on Windows
22809         * gst/gstinfo.c:
22810           include process.h if we have it
22811         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22812         * gst/gstmemchunk.h:
22813           fix signedness issues
22814         * win32/common/libgstreamer.def:
22815           fix get_type's
22816
22817 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22818
22819         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22820         fix. Because of unsigned ints, caps intersection was going nuts and
22821         trying to access structures with G_MAXUINT index. That fixes
22822         videotestsrc ! ffmpegcolorspace ! fakesink
22823         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22824         consistency.
22825
22826 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22827
22828         * configure.ac:
22829           use the gettext macro
22830         * gst/elements/gstelements.c:
22831         * gst/gst.c:
22832         * gst/indexers/gstindexers.c:
22833           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22834         * win32/common/config.h:
22835           updated config.h
22836         * win32/common/config.h.in:
22837           add the template to generate config.h
22838         * win32/common/gstenumtypes.c:
22839         * win32/common/gstversion.h:
22840           updated copies
22841
22842 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22843
22844         * gst/gst.c: (gst_version):
22845         * gst/gstversion.h.in:
22846           add the nano
22847
22848 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22849
22850         * gst/gstevent.h:
22851           Oops, add missing closing bracket.
22852
22853 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22854
22855         * configure.ac:
22856           use common m4's for argument checking
22857
22858 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22859
22860         * docs/gst/gstreamer-sections.txt:
22861         * gst/gstevent.h:
22862           Add GST_EVENT_TYPE_NAME() macro.
22863
22864 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22865
22866         * gst/gstinfo.c:
22867         * gst/gstpluginfeature.c:
22868         * gst/gsttask.c:
22869           privatize more symbols
22870
22871 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22872
22873         * configure.ac:
22874           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22875           everything that uses GStreamer API should have the includes
22876
22877 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22878
22879         * docs/gst/gstreamer-sections.txt:
22880         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22881         * gst/gstvalue.h:
22882           give each value a _get_type, removes the DATA exports
22883
22884 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22885
22886         * gst/gst.c:
22887         * gst/gst.h:
22888           remove _gst_registry_auto_load, not used anymore
22889         * gst/gstbin.c: (gst_bin_get_type):
22890         * gst/gstbin.h:
22891         * gst/gstelement.c: (gst_element_get_type):
22892         * gst/gstelement.h:
22893         * gst/gstobject.c: (gst_object_get_type):
22894         * gst/gstobject.h:
22895         * gst/gstpad.c: (gst_pad_get_type):
22896         * gst/gstpad.h:
22897           make _get_type functions similar, fixes data export from library
22898
22899 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22900
22901         * configure.ac:
22902           correctly make conditionals
22903         * gst/elements/Makefile.am:
22904         * gst/elements/gstelements.c:
22905           fix typo causing fdsrc not to build
22906
22907 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * testsuite/Makefile.am:
22910         * testsuite/bytestream/.cvsignore:
22911         * testsuite/bytestream/Makefile.am:
22912         * testsuite/bytestream/filepadsink.c:
22913         * testsuite/bytestream/gstbstest.c:
22914         * testsuite/bytestream/test1.c:
22915         * testsuite/bytestream/testfile1:
22916         * testsuite/caps/normalisation.c:
22917         * testsuite/caps/random.c: (main):
22918         * testsuite/cleanup/.cvsignore:
22919         * testsuite/cleanup/Makefile.am:
22920         * testsuite/cleanup/cleanup1.c:
22921         * testsuite/cleanup/cleanup2.c:
22922         * testsuite/cleanup/cleanup3.c:
22923         * testsuite/cleanup/cleanup4.c:
22924         * testsuite/cleanup/cleanup5.c:
22925         * testsuite/controller/interpolator.c:
22926         * testsuite/debug/printf_extension.c: (main):
22927         * testsuite/elements/tee.c:
22928         * testsuite/negotiation/.cvsignore:
22929         * testsuite/negotiation/Makefile.am:
22930         * testsuite/negotiation/pad_link.c:
22931         * testsuite/pad/Makefile.am:
22932         * testsuite/pad/chainnopull.c:
22933         * testsuite/pad/getnopush.c:
22934         * testsuite/pad/link.c:
22935         * testsuite/refcounting/sched.c: (create_pipeline):
22936         * testsuite/registry/Makefile.am:
22937         * testsuite/registry/gst-print-formats.c:
22938         * testsuite/schedulers/.cvsignore:
22939         * testsuite/schedulers/142183-2.c:
22940         * testsuite/schedulers/142183.c:
22941         * testsuite/schedulers/143777-2.c:
22942         * testsuite/schedulers/143777.c:
22943         * testsuite/schedulers/147713.c:
22944         * testsuite/schedulers/147819.c:
22945         * testsuite/schedulers/147894-2.c:
22946         * testsuite/schedulers/147894.c:
22947         * testsuite/schedulers/Makefile.am:
22948         * testsuite/schedulers/group_link.c:
22949         * testsuite/schedulers/queue_link.c:
22950         * testsuite/schedulers/relink.c:
22951         * testsuite/schedulers/unlink.c:
22952         * testsuite/schedulers/unref.c:
22953         * testsuite/schedulers/useless_iteration.c:
22954         * testsuite/states/bin.c:
22955           clean out/remove some stuff from the testsuite directories
22956
22957 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22958
22959         * configure.ac:
22960           check for some headers
22961         * gst/elements/Makefile.am:
22962         * gst/elements/gstelements.c:
22963           don't compile fdsrc without sys/socket.h
22964         * gst/indexers/Makefile.am:
22965         * gst/indexers/gstindexers.c: (plugin_init):
22966           don't compile fileindex without mmap
22967
22968 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * configure.ac:
22971           reorganize
22972           clean up
22973           document more
22974           remove cruft
22975         * check/Makefile.am:
22976         * docs/gst/Makefile.am:
22977         * examples/helloworld/Makefile.am:
22978         * gst/Makefile.am:
22979         * gst/base/Makefile.am:
22980         * gst/check/Makefile.am:
22981         * gst/elements/Makefile.am:
22982         * gst/indexers/Makefile.am:
22983         * gst/parse/Makefile.am:
22984         * libs/gst/controller/Makefile.am:
22985         * libs/gst/dataprotocol/Makefile.am:
22986         * examples/helloworld/helloworld.c: (event_loop):
22987           compile fixes, though it's not being compiled currently
22988
22989 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22990
22991         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22992           Add some simple tests for the new taglist date API.
22993
22994 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22995
22996         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22997         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22998           Beautify 'last-message' output: print 'none' for buffer timestamps
22999           and durations if none is set; improve alignment with next messages.
23000
23001 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23002
23003         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23004         * gst/gstpluginfeature.h:
23005         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23006         * gst/gstregistry.h:
23007         * docs/gst/gstreamer-sections.txt:
23008           Add new API to check plugin feature version requirements.
23009
23010         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23011           Some basic tests for the above.         
23012
23013 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23014
23015         * gst/gststructure.c: (gst_structure_to_string):
23016           guard against NULL printf - happens when for example
23017           a message structure with GstClock gets serialized
23018
23019 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23020
23021         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23022           Fix presumable copy'n'pasto.
23023
23024 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23025
23026         * gst/elements/gstfakesrc.h:
23027         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23028         * gst/elements/gsttypefindelement.c:
23029           fix some signedness
23030         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23031           I wonder if this could actually write +2GB files before
23032
23033 2005-10-13  Andy Wingo  <wingo@pobox.com>
23034
23035         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23036         Fix Timmeke Waymans bug.
23037         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23038         string of the proper length to gst_caps_from_string. There's a
23039         potential for, before this fix, that this could cause someone
23040         connecting over the network to cause a segfault if the payload is
23041         not NUL-terminated.
23042
23043 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23044
23045         * docs/design/draft-push-pull.txt:
23046         * docs/design/part-overview.txt:
23047         * docs/random/TODO-pre-0.9:
23048         * docs/random/old/ChangeLog.gstreamer:
23049         * gst/base/gstpushsrc.c:
23050         * gst/gstclock.c:
23051           fixed typos
23052
23053 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23054
23055         * gst/glib-compat.c: (gst_flags_get_first_value):
23056         * gst/glib-compat.h:
23057         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23058         (gst_value_compare_double), (gst_value_serialize_flags):
23059           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23060           infinite loop
23061
23062 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23063
23064         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23065         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23066           fix up debugging
23067         * tools/gst-launch.c: (event_loop):
23068           print out clock nicely
23069
23070 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23071
23072         * docs/gst/gstreamer-sections.txt:
23073         * gst/gsttaglist.h:
23074         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23075         (gst_tag_list_get_date_index):
23076           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23077           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23078
23079 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23080
23081         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23082         (gst_collectpads_chain):
23083         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23084         in CollectData.
23085
23086 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23087
23088         * docs/gst/gstreamer-sections.txt:
23089         * gst/gst.c:
23090         * gst/gsterror.h:
23091         * tools/gst-inspect.c: (main):
23092         * tools/gst-launch.c: (main):
23093         * tools/gst-run.c: (main):
23094         * tools/gst-xmlinspect.c: (main):
23095           fix GOption context leaks
23096           doc fixes
23097
23098 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23099
23100         * gst/gstbus.c:
23101           use HAVE_UNISTD_H
23102         * win32/common/config.h:
23103           update config
23104         * win32/vs6/grammar.dsp:
23105         * win32/vs6/libgstelements.dsp:
23106         * win32/vs6/libgstreamer.dsp:
23107           update vs6 files
23108
23109 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23110
23111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23112         * gst/base/gstbasesrc.c: (gst_base_src_query):
23113           fix more guint64<->gdouble conversions
23114
23115 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23116
23117         * Makefile.am:
23118           add win32-update target
23119         * win32/common/gstconfig.h:
23120         * win32/common/gstenumtypes.c:
23121         * win32/common/gstenumtypes.h:
23122         * win32/common/gstversion.h:
23123           add files that visual studio can't generate
23124
23125 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23126
23127         * Makefile.am:
23128           add a win32-update target
23129         * configure.ac:
23130
23131 2005-10-12  Wim Taymans  <wim@fluendo.com>
23132
23133         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23134         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23135         * gst/gstelement.c: (gst_element_commit_state),
23136         (gst_element_set_state):
23137         Protect flags with proper lock.
23138         unref provided cached clock in dispose.
23139
23140 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23141
23142         * gst/gst.c:
23143         * gst/gstminiobject.h:
23144         * gst/gstpad.h:
23145         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23146           removed unused flags from miniobject
23147           doc fixes
23148
23149 2005-10-12  Wim Taymans  <wim@fluendo.com>
23150
23151         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23152         (gst_file_sink_event), (gst_file_sink_render):
23153         Flush before seeking.
23154
23155 2005-10-12  Andy Wingo  <wingo@pobox.com>
23156
23157         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23158         always been the case.
23159
23160 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23161
23162         * check/gst/gstbin.c: (GST_START_TEST):
23163         * docs/gst/gstreamer-sections.txt:
23164         * gst/base/gstbasesink.c: (gst_base_sink_init):
23165         * gst/base/gstbasesrc.c: (gst_base_src_init),
23166         (gst_base_src_get_range), (gst_base_src_check_get_range),
23167         (gst_base_src_start), (gst_base_src_stop):
23168         * gst/base/gstbasesrc.h:
23169         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23170         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23171         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23172         (bin_bus_handler):
23173         * gst/gstbin.h:
23174         * gst/gstbuffer.h:
23175         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23176         * gst/gstbus.h:
23177         * gst/gstelement.c: (gst_element_is_locked_state),
23178         (gst_element_set_locked_state), (gst_element_commit_state),
23179         (gst_element_set_state):
23180         * gst/gstelement.h:
23181         * gst/gstindex.c: (gst_index_init):
23182         * gst/gstindex.h:
23183         * gst/gstminiobject.h:
23184         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23185         (gst_object_set_parent):
23186         * gst/gstobject.h:
23187         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23188         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23189         * gst/gstpad.h:
23190         * gst/gstpadtemplate.h:
23191         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23192         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23193         * gst/gstpipeline.h:
23194         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23195         (gst_file_index_commit):
23196         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23197         * testsuite/pad/link.c: (gst_test_src_init),
23198         (gst_test_filter_init), (gst_test_sink_init):
23199         * testsuite/states/locked.c: (main):
23200           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23201           moved bitshift from macro to enum definition
23202
23203 2005-10-12  Wim Taymans  <wim@fluendo.com>
23204
23205         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23206         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23207         (gst_file_sink_render):
23208         Some more debugging info.
23209
23210 2005-10-12  Wim Taymans  <wim@fluendo.com>
23211
23212         * docs/design/part-states.txt:
23213         * tools/gst-launch.c: (main):
23214         Some doc updates.
23215         Revert non-intentional change.
23216
23217 2005-10-12  Wim Taymans  <wim@fluendo.com>
23218
23219         * check/gst/gstbin.c: (GST_START_TEST):
23220         * check/gst/gstelement.c: (GST_START_TEST):
23221         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23222         * check/gst/gstghostpad.c: (GST_START_TEST):
23223         * check/gst/gstpipeline.c: (GST_START_TEST):
23224         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23225         * check/states/sinks.c: (GST_START_TEST):
23226         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23227         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23228         (gst_bin_remove_func), (gst_bin_get_state_func),
23229         (gst_bin_recalc_state), (gst_bin_change_state_func),
23230         (bin_bus_handler):
23231         * gst/gstelement.c: (gst_element_get_state_func),
23232         (gst_element_get_state), (gst_element_abort_state),
23233         (gst_element_commit_state), (gst_element_set_state),
23234         (gst_element_change_state), (gst_element_change_state_func):
23235         * gst/gstelement.h:
23236         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23237         (gst_pipeline_provide_clock_func):
23238         * gst/gstutils.c: (gst_element_link_pads_filtered):
23239         * tools/gst-launch.c: (main):
23240         * tools/gst-typefind.c: (main):
23241         Use GstClockTime in _get_state() instead of GTimeVal.
23242         Remove old code in gstutils.c
23243
23244 2005-10-12  Andy Wingo  <wingo@pobox.com>
23245
23246         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23247         removed.
23248
23249         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23250         there is no task. Shouldn't affect any code, as nothing in our
23251         plugins checks this return value.
23252         (gst_pad_stop_task): Also take the stream lock if the pad has no
23253         task. Docs updated.
23254
23255 2005-10-12  Wim Taymans  <wim@fluendo.com>
23256
23257         * gst/gstpad.c: (pre_activate), (post_activate),
23258         (gst_pad_activate_pull), (gst_pad_activate_push):
23259         Cleanup activation code. Reset old state if
23260         activation failed.
23261
23262 2005-10-12  Wim Taymans  <wim@fluendo.com>
23263
23264         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23265         (gst_base_sink_change_state):
23266         No need to prerol after receiving EOS.
23267
23268         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23269         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23270         * gst/elements/gstidentity.c: (gst_identity_event):
23271         Print events more verbosely.
23272
23273 2005-10-12  Wim Taymans  <wim@fluendo.com>
23274
23275         * check/Makefile.am:
23276         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23277         * check/states/sinks2.c:
23278         Moved sinks2 testcode in sinks check.
23279
23280         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23281         (gst_bin_remove_func), (gst_bin_recalc_state),
23282         (gst_bin_change_state_func), (bin_bus_handler):
23283         Fix potential race condition when _get_state() iterated over an
23284         ASYNC element right before it posted a state completion.
23285
23286         * gst/gstclock.h:
23287         Do proper cast here.
23288
23289         * gst/gstevent.c: (gst_event_new_newsegment),
23290         (gst_event_parse_newsegment):
23291         A playback rate of 0.0 is not allowed.
23292
23293 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23294
23295         * win32/common/config.h:
23296         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23297         (_trewinddir), (_ttelldir), (_tseekdir):
23298         * win32/common/dirent.h:
23299         * win32/common/gtchar.h:
23300         * win32/common/libgstbase.def:
23301         * win32/common/libgstreamer.def:
23302         * win32/vs6/grammar.dsp:
23303         * win32/vs6/gst_inspect.dsp:
23304         * win32/vs6/gst_launch.dsp:
23305         * win32/vs6/gstreamer.dsw:
23306         * win32/vs6/libgstbase.dsp:
23307         * win32/vs6/libgstelements.dsp:
23308         * win32/vs6/libgstreamer.dsp:
23309           Visual Studio 6 project files, and a new common directory.
23310           Phear.
23311
23312 2005-10-11  Wim Taymans  <wim@fluendo.com>
23313
23314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23315         (gst_base_sink_do_sync), (gst_base_sink_query),
23316         (gst_base_sink_change_state):
23317         * gst/base/gstbasesink.h:
23318         Correctly parse newsegment info.
23319
23320 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23321
23322         * gst/gst.c: (init_post):
23323           split plugin paths correctly
23324
23325 2005-10-11  Wim Taymans  <wim@fluendo.com>
23326
23327         * check/gst/gstevent.c: (GST_START_TEST):
23328         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23329         (gst_base_sink_change_state):
23330         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23331         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23332         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23333         * gst/gstevent.c: (gst_event_new_newsegment),
23334         (gst_event_parse_newsegment):
23335         * gst/gstevent.h:
23336         Added extra flag to newsegment for future API freeze.
23337         Updated check and base elements.
23338
23339 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23340
23341         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23342         (gst_collectpads_add_pad), (gst_collectpads_pop),
23343         (gst_collectpads_event), (gst_collectpads_chain):
23344         * gst/base/gstcollectpads.h: Handle EOS correctly.
23345
23346 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23347
23348         * tools/gst-launch.c: (main):
23349           more null protecting
23350
23351 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23352
23353         * gst/gst-i18n-lib.h:
23354           check for ENABLE_NLS, not GETTEXT_PACKAGE
23355         * gst/gstregistry.c: (gst_registry_add_plugin),
23356         (gst_registry_scan_path_level),
23357         (_gst_registry_remove_cache_plugins):
23358           protect possibly NULL strings
23359         * gst/parse/types.h:
23360           config.h already included before
23361         * tools/gst-inspect.c: (main):
23362           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23363           check for ENABLE_NLS, not GETTEXT_PACKAGE
23364         * tools/gst-launch.c: (main):
23365           check for ENABLE_NLS, not GETTEXT_PACKAGE
23366
23367 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23368
23369         * configure.ac:
23370           if we don't have glib, fail before testing 2.8
23371         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23372           fix a leak, should fix plugins-base testsuite
23373
23374 2005-10-11  Andy Wingo  <wingo@pobox.com>
23375
23376         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23377         take the mode we're going to as an arg. Go head and set the mode
23378         and flushing flags now, so that if the activate function starts a
23379         thread all the flags will be in the right state.
23380         (post_activate): Renamed also. Just handle making sure streaming
23381         finishes for the deactivation case, and setting the deactivated
23382         mode.
23383         (gst_pad_set_active): Complain loudly if deactivation fails.
23384         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23385         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23386         remove the terrible hack.
23387
23388 2005-10-11  Wim Taymans  <wim@fluendo.com>
23389
23390         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23391         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23392         (gst_bin_recalc_state), (gst_bin_change_state_func),
23393         (gst_bin_dispose), (bin_bus_handler):
23394         * gst/gstbin.h:
23395         Prepare to make current EOS message queue more generic.
23396         Fix some typos.
23397
23398         * gst/gstevent.c: (gst_event_new_newsegment),
23399         (gst_event_parse_newsegment):
23400         * gst/gstevent.h:
23401         Rename base to stream_time.
23402
23403         * gst/gstmessage.h:
23404         Fix typo in docs.
23405
23406 2005-10-11  Wim Taymans  <wim@fluendo.com>
23407
23408         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23409         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23410         (gst_bin_change_state_func), (bin_bus_handler):
23411         * gst/gstbin.h:
23412         Work on proper clock selection.
23413
23414 2005-10-11  Edward Hervey  <edward@fluendo.com>
23415
23416         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23417         * libs/gst/controller/gstcontroller.h:
23418         Added GList* version of _remove_properties() in order to be able to wrap
23419         it in bindings.
23420
23421 2005-10-11  Wim Taymans  <wim@fluendo.com>
23422
23423         * docs/design/part-states.txt:
23424         Some more docs.
23425
23426         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23427         (gst_bin_change_state_func), (bin_bus_handler):
23428         Doc updates. Don't distribute the same clock over and over again.
23429
23430         * gst/gstclock.c:
23431         * gst/gstclock.h:
23432         Doc updates.
23433
23434         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23435         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23436         (gst_pad_send_event):
23437         * gst/gstpad.h:
23438         Make probe emission threadsafe again.
23439         Register quarks and move _get_name() from utils.
23440         Doc updates.
23441
23442         * gst/gstpipeline.c: (gst_pipeline_class_init),
23443         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23444         Only redistribute the clock of it changed.
23445
23446         * gst/gstsystemclock.h:
23447         Doc updates. 
23448
23449         * gst/gstutils.c:
23450         * gst/gstutils.h:
23451         Moved the _flow_get_name() to GstPad.
23452
23453 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23454
23455         * check/gst-libs/gdp.c: (GST_START_TEST):
23456         * check/gst/gstcaps.c: (GST_START_TEST):
23457         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23458         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23459         (gst_dp_packet_from_caps):
23460           fix more valgrind warnings before turning up the heat
23461
23462 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23463
23464         * gst/parse/grammar.y:
23465           some cleanup before the hacking
23466
23467 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23468
23469         * gst/base/gstbasesrc.c: (gst_base_src_query):
23470           use conversions
23471         * gst/gstutils.c: (gst_guint64_to_gdouble),
23472         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23473         * gst/gstutils.h:
23474           externalize, basesrc uses it
23475           obviously the implementation needs testing
23476
23477 2005-10-10  Wim Taymans  <wim@fluendo.com>
23478
23479         * tests/sched/Makefile.am:
23480         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23481         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23482
23483 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23484
23485         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23486           apparently converting from guint64 to double is not implemented
23487           on MSVC
23488
23489 2005-10-10  Wim Taymans  <wim@fluendo.com>
23490
23491         * check/Makefile.am:
23492         * check/generic/states.c: (GST_START_TEST):
23493         * check/gst/gstbin.c: (GST_START_TEST):
23494         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23495         * check/states/sinks.c: (GST_START_TEST):
23496         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23497         (main):
23498         Check fixes, use API as stated in design docs, remove hacks.
23499
23500         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23501         (gst_base_sink_change_state):
23502         Catch stopping our task while we're shutting down.
23503
23504         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23505         (gst_bin_remove_func), (gst_bin_get_state_func),
23506         (gst_bin_recalc_state), (gst_bin_change_state_func),
23507         (bin_bus_handler):
23508         * gst/gstbin.h:
23509         * gst/gstelement.c: (gst_element_init),
23510         (gst_element_get_state_func), (gst_element_abort_state),
23511         (gst_element_commit_state), (gst_element_lost_state),
23512         (gst_element_set_state), (gst_element_change_state),
23513         (gst_element_change_state_func):
23514         * gst/gstelement.h:
23515         New state change algorithm (see #318116)
23516
23517         * gst/gstpipeline.c: (gst_pipeline_class_init),
23518         (gst_pipeline_init), (gst_pipeline_set_property),
23519         (gst_pipeline_get_property), (do_pipeline_seek),
23520         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23521         * gst/gstpipeline.h:
23522         Remove crude state change hacks.
23523
23524         * gst/gstutils.h:
23525         Remove crude hacks.
23526
23527         * tools/gst-launch.c: (main):
23528         Fixes for state change. Needs some more work to fully use the
23529         new stuff.
23530
23531 2005-10-10  Andy Wingo  <wingo@pobox.com>
23532
23533         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23534
23535         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23536         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23537         issue.
23538
23539 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23540
23541         * gst/gstiterator.c: (gst_iterator_new):
23542           Fix my previous commit: GTypes passed to gst_iterator_new()
23543           can be fundamental types.
23544
23545 2005-10-10  Wim Taymans  <wim@fluendo.com>
23546
23547         * gst/gstelement.c: (gst_element_iterate_pad_list),
23548         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23549         (gst_element_iterate_sink_pads):
23550         Use src/sink pads lists for the respective iterators instead
23551         of filtering.
23552
23553 2005-10-10  Andy Wingo  <wingo@pobox.com>
23554
23555         Merged in popt removal + GOption addition patch from Ronald, bug
23556         #169772.
23557
23558         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23559         GstElement macros around, remove popt-related symbols, add goption
23560         stuff.
23561
23562         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23563         
23564         * docs/gst/Makefile.am:
23565         * docs/libs/Makefile.am: No POPT_CFLAGS.
23566         
23567         * examples/manual/Makefile.am:
23568         * docs/manual/basics-init.xml: Doc updates with an example.
23569         
23570         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23571         (gst_init), (parse_one_option), (parse_goption_arg):
23572         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23573         bit of hand merging and debugging to get the GOption stuff working
23574         tho.
23575         
23576         * tests/Makefile.am:
23577         * tools/Makefile.am:
23578         * tools/gst-inspect.c: (main):
23579         * tools/gst-launch.c: (main):
23580         * tools/gst-run.c: (main):
23581         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23582
23583 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23584
23585         * gst/gstiterator.c: (gst_iterator_new):
23586           Add assertions to make sure passed GType is likely to really
23587           be a GType (as the compiler won't catch it if the size and
23588           GType arguments get mixed up, see #318447).
23589
23590 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23591
23592         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23593
23594         * gst/gstbin.c: (gst_bin_iterate_sorted):
23595           Pass GType and size arguments to gst_iterator_new() in the right
23596           order (maybe we should make _new() take the GType as first argument
23597           just like _new_list()?) (#318447).
23598           
23599
23600 2005-10-10  Wim Taymans  <wim@fluendo.com>
23601
23602         * gst/gstelement.c: (gst_element_finalize):
23603         And free the GStaticRecMutex too
23604
23605 2005-10-10  Andy Wingo  <wingo@pobox.com>
23606
23607         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23608         Allocate and free the mutex properly.
23609
23610         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23611         New macros.
23612         (GstElement): The state_lock is now recursive. Rebuild your
23613         plugins, suckers. Old macros adapted.
23614
23615         * docs/gst/gstreamer-sections.txt: Doc updates.
23616
23617         * gst/gstutils.h:
23618         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23619         (g_static_rec_cond_wait): Ported from state changes patch, while
23620         we wait on bug #317802 to be solved in a well-distributed GLib.
23621
23622         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23623         gst_element_change_state, variable name changes.
23624         (gst_element_change_state): Split out of gst_element_set_state in
23625         preparation for the state change merge. Doesn't pay attention to
23626         the 'transition' argument.
23627         (gst_element_set_state): Updates, hopefully purely cosmetic.
23628         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23629         state change patch.
23630         (gst_element_get_state_func): Renamed from get_state, cosmetic
23631         changes.
23632
23633 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23634
23635         * gst/elements/gstelements.c:
23636         * win32/GStreamer.vcproj:
23637         * win32/config.h:
23638         * win32/dirent.c: (_tseekdir):
23639         * win32/gst-inspect.vcproj:
23640         * win32/gst-launch.vcproj:
23641         * win32/gstconfig.h:
23642         * win32/gstelements.vcproj:
23643         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23644         * win32/gstreamer.def:
23645         * win32/msvc71.sln:
23646           updates for the win32 build (patch from Sebastien Moutte)
23647
23648 2005-10-10  Andy Wingo  <wingo@pobox.com>
23649
23650         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23651         gst_bin_get_state, cleaned up (but no logic changes).
23652         (bin_element_is_sink): Comment updates.
23653         (sink_iterator_filter): Remove needless cast.
23654         (gst_bin_iterate_sinks): Doc update.
23655         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23656         cleaned up (but no logic changes).
23657
23658         * check/states/sinks.c (test_src_sink): Cleanups from the state
23659         change patch.
23660         (test_livesrc_sink): Sync on the state.
23661
23662         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23663         the state change patch.
23664
23665         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23666         change patch.
23667
23668         * check/gst/gstbin.c: Merge in some style fixes and additional
23669         checks from Wim's state change patch.
23670
23671 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23672
23673         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23674         (gst_type_find_helper):
23675           Check whether we have the requested data already in our list of
23676           cached buffers before pulling a new buffer; also make the buffer
23677           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23678
23679 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23680
23681         * gst/gstcaps.c:
23682         * gst/gstevent.c:
23683           doc updates
23684         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23685           don't use long long, it's not portable.  Replacing with
23686           gint64 seems to work; let's hope no skeletons fall out of the closet.
23687
23688 2005-10-10  Andy Wingo  <wingo@pobox.com>
23689
23690         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23691
23692 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23693
23694         * docs/gst/gstreamer-sections.txt:
23695         * gst/gstevent.c:
23696         * gst/gstevent.h:
23697         * gst/gstinfo.c:
23698         * gst/gstinfo.h:
23699         * gst/gstmessage.c: (gst_message_parse_state_changed):
23700         * gst/gstpad.c:
23701         * gst/gstpad.h:
23702           more docs, fix compilation
23703
23704 2005-10-09  Philippe Khalaf <burger@speedy.org>
23705         * gst/gstmessage.c:
23706           Fixed a few forgotten variables on previous commit
23707
23708 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23709
23710         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23711           Fix evil typefind crasher: getrange() might return a short
23712           buffer at the end of a file, but gst_type_find_peek() must
23713           either return the full data as requested or NULL, but
23714           never a short buffer.
23715
23716 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23717
23718         * gst/gstmessage.c: (gst_message_new_state_changed),
23719         (gst_message_parse_state_changed):
23720         * gst/gstmessage.h:
23721           don't use "new", it's a C++ keyword
23722
23723 2005-10-08  Wim Taymans  <wim@fluendo.com>
23724
23725         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23726         * gst/gstelement.c: (gst_element_post_message):
23727         * gst/gstpipeline.c: (gst_pipeline_change_state):
23728         Small docs and debug updates.
23729
23730 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23731
23732         * docs/gst/gstreamer-sections.txt:
23733         * gst/gstelementfactory.c:
23734         * gst/gstevent.c:
23735         * gst/gsttaglist.c:
23736           more docs
23737
23738 2005-10-08  Wim Taymans  <wim@fluendo.com>
23739
23740         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23741         (gst_bin_dispose), (bin_bus_handler):
23742         Fix typos, add comments.
23743         Clear EOS list when going to PAUSED from any direction and do it
23744         in a threadsafe way.
23745         Get base time in a threadsafe way too.
23746         Fix confusing debug in the change_state function.
23747         Various other small cleanups.
23748         
23749         * gst/gstelement.c: (gst_element_post_message):
23750         Fix very verbose bus posting code.
23751
23752         * gst/gstpipeline.c: (gst_pipeline_class_init),
23753         (gst_pipeline_set_property), (gst_pipeline_get_property),
23754         (gst_pipeline_change_state):
23755         Small ARG_ -> PROP_ cleanup
23756
23757 2005-10-08  Wim Taymans  <wim@fluendo.com>
23758
23759         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23760         Do a less CPU demanding EOS check because we can.
23761
23762 2005-10-08  Wim Taymans  <wim@fluendo.com>
23763
23764         * libs/gst/dataprotocol/dataprotocol.c:
23765         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23766         (gst_dp_packet_from_event):
23767         * libs/gst/dataprotocol/dataprotocol.h:
23768         * libs/gst/dataprotocol/dp-private.h:
23769         It's about time we bump the version number.
23770         Since event types don't fit in the guint8 anymore describing
23771         the payload type, make payload type 16 bits wide.
23772
23773 2005-10-08  Wim Taymans  <wim@fluendo.com>
23774
23775         * docs/design/part-TODO.txt:
23776         * docs/design/part-clocks.txt:
23777         * docs/design/part-events.txt:
23778         * docs/design/part-gstbin.txt:
23779         * docs/design/part-gstelement.txt:
23780         * docs/design/part-gstpipeline.txt:
23781         * docs/design/part-live-source.txt:
23782         * docs/design/part-messages.txt:
23783         * docs/design/part-overview.txt:
23784         * docs/design/part-states.txt:
23785         Many doc updates.
23786
23787 2005-10-08  Wim Taymans  <wim@fluendo.com>
23788
23789         * gst/gstevent.c:
23790         * gst/gstevent.h:
23791         Fix event quark registration.
23792         Add some space between events so we can insert them in the
23793         right groups.
23794
23795 2005-10-08  Wim Taymans  <wim@fluendo.com>
23796
23797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23798         (gst_base_sink_handle_buffer):
23799         Better log message.
23800
23801         * gst/gstbus.h:
23802         * gst/gstelement.h:
23803         More docs.
23804
23805         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23806         (gst_queue_set_property), (gst_queue_get_property):
23807         * gst/gstqueue.h:
23808         Remove old unused properties.
23809
23810 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23811         * docs/gst/gstreamer-sections.txt:
23812         * gst/gstmessage.c:
23813         * gst/gstmessage.h:
23814         * gst/gstminiobject.c:
23815         * gst/gstminiobject.h:
23816         * gst/gstobject.h:
23817         * gst/gstpad.h:
23818         * gst/gstutils.h:
23819           lots of new docs and doc fixes
23820
23821 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23822
23823         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23824         * gst/gstplugin.h:
23825         * gst/gstregistry.c: (gst_registry_lookup_locked),
23826         (gst_registry_scan_path_level):
23827         * gst/gstregistryxml.c: (load_plugin):
23828           Only ever load one plugin for a given plugin basename.
23829           This ensures correct overriding of GST_PLUGIN_PATH over
23830           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23831           system installed plugins.
23832
23833 2005-10-08  Wim Taymans  <wim@fluendo.com>
23834
23835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23836         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23837         Prepare for doing QOS.
23838
23839 2005-10-08  Wim Taymans  <wim@fluendo.com>
23840
23841         * check/gst/gstbin.c: (GST_START_TEST):
23842         * check/pipelines/cleanup.c: (GST_START_TEST):
23843         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23844         Allow new clock message too.
23845
23846 2005-10-08  Wim Taymans  <wim@fluendo.com>
23847
23848         * gst/gstmessage.c: (gst_message_new_error),
23849         (gst_message_new_warning), (gst_message_new_tag),
23850         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23851         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23852         (gst_message_new_segment_start), (gst_message_new_segment_done),
23853         (gst_message_parse_state_changed),
23854         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23855         (gst_message_parse_new_clock):
23856         * gst/gstmessage.h:
23857         Also carry the clock in question.
23858
23859 2005-10-08  Wim Taymans  <wim@fluendo.com>
23860
23861         * gst/gstmessage.c: (gst_message_new_custom),
23862         (gst_message_new_eos), (gst_message_new_error),
23863         (gst_message_new_warning), (gst_message_new_tag),
23864         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23865         (gst_message_new_new_clock), (gst_message_new_segment_start),
23866         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23867         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23868         * gst/gstmessage.h:
23869         Clean up.
23870         Added clock related messages.
23871
23872         * gst/gstpipeline.c: (gst_pipeline_change_state):
23873         Post message when the clock changed.
23874
23875         * tools/gst-launch.c: (event_loop):
23876         Print new clock.
23877
23878 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23879
23880         * tools/gst-inspect.c: (print_element_properties_info):
23881           Can't pass NULL strings to g_print() on windows.
23882
23883 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23884
23885         * docs/Makefile.am:
23886         * docs/gst/Makefile.am:
23887         * docs/gst/gstreamer-docs.sgml:
23888         * docs/gst/running.xml:
23889         * docs/version.entities.in:
23890           add a chapter on running GStreamer.
23891           document GST_DEBUG and GST_PLUGIN* env vars
23892
23893 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23894
23895         * Makefile.am:
23896           remove include dir
23897         * configure.ac:
23898           remove PLUGINS_BUILDDIR stuff
23899         * gst/gst.c: (init_post):
23900           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23901         * idiottest.mak:
23902           remove, it was condescending and not needed
23903
23904 2005-10-08  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23907         (gst_base_sink_handle_object), (gst_base_sink_event),
23908         (gst_base_sink_wait), (gst_base_sink_handle_event),
23909         (gst_base_sink_change_state):
23910         * gst/base/gstbasesink.h:
23911         Repost EOS message while going to PLAYING if still EOS.
23912         Make sure that when receiving a FLUSH_START we don't attempt
23913         to sync on the clock anymore.
23914
23915 2005-10-08  Wim Taymans  <wim@fluendo.com>
23916
23917         * tools/gst-launch.c: (event_loop):
23918         Better message printout.
23919
23920 2005-10-08  Wim Taymans  <wim@fluendo.com>
23921
23922         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23923         (gst_bin_child_proxy_get_children_count):
23924         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23925         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23926         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23927         (gst_child_proxy_set_valist):
23928         * gst/parse/grammar.y:
23929         Make ChildProxy threadsafe and fix mem leaks.
23930
23931 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23932
23933         * gst/gst.c: (init_post):
23934           debug the GST_PLUGIN_ env vars
23935
23936 2005-10-08  Wim Taymans  <wim@fluendo.com>
23937
23938         * check/gst/gstbin.c: (GST_START_TEST):
23939         * check/gst/gstmessage.c: (GST_START_TEST):
23940         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23941         * gst/gstelement.c: (gst_element_commit_state),
23942         (gst_element_lost_state):
23943         * gst/gstmessage.c: (gst_message_new_state_changed),
23944         (gst_message_parse_state_changed):
23945         * gst/gstmessage.h:
23946         * tools/gst-launch.c: (event_loop):
23947         Added extra field to STATE_CHANGE message with the pending
23948         state, which will be different from the new state soon.
23949
23950 2005-10-08  Wim Taymans  <wim@fluendo.com>
23951
23952         * gst/gstbus.c: (gst_bus_pop):
23953         * gst/gstclock.c:
23954         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23955         Small cleanups and doc updates.
23956
23957 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23958
23959         * gst/gst.c: (init_pre):
23960         * gst/gstbin.c: (gst_bin_add_func):
23961           log distributing clocks and base time
23962         * gst/gstregistry.c: (gst_registry_add_plugin),
23963         (gst_registry_scan_path_level), (gst_registry_scan_path):
23964           clean up the debugging output a little
23965         * gst/gstutils.c: (gst_element_state_get_name):
23966           warn about a memleak (I've actually seen this be used, though
23967           it was probably a bug)
23968
23969 2005-10-07  Wim Taymans  <wim@fluendo.com>
23970
23971         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23972         (gst_base_src_init), (gst_base_src_default_newsegment),
23973         (gst_base_src_newsegment), (gst_base_src_do_seek),
23974         (gst_base_src_loop), (gst_base_src_start):
23975         * gst/base/gstbasesrc.h:
23976         Make the newsegment event customizable by subclasses.
23977
23978 2005-10-07  Wim Taymans  <wim@fluendo.com>
23979
23980         * gst/gstevent.c: (gst_event_new_buffersize),
23981         (gst_event_parse_buffersize):
23982         * gst/gstevent.h:
23983         New event for future idea.
23984
23985 2005-10-07  Andy Wingo  <wingo@pobox.com>
23986
23987         * gst/gstelement.c (gst_element_post_message): Doc update.
23988
23989         * docs/gst/gstreamer-sections.txt: Update.
23990
23991         * gst/gstmessage.c (gst_message_new_application): Made into a
23992         function like honest API calls.
23993         (gst_message_new_element): New message type.
23994
23995         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23996
23997         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23998         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23999         times.
24000
24001         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24002         NO_PREROLL from gst_element_change_state to fall through.
24003
24004 2005-10-07  Wim Taymans  <wim@fluendo.com>
24005
24006         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24007         (gst_ghost_pad_do_activate_push):
24008         Activating a ghostpad with no internal pad in push mode
24009         is ok.
24010
24011 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24012
24013         * gst/gstobject.h:
24014           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24015           Fixes compilation on Windows.
24016
24017 2005-10-07  Michael Smith <msmith@fluendo.com>
24018
24019         * tools/gst-inspect.c:
24020           Print out feature and plugin count at the end when printing out
24021           all features.
24022
24023 2005-10-04  Michael Smith <msmith@fluendo.com>
24024
24025         * gst/gsterror.c: (_gst_stream_errors_init):
24026           Add another error string used in a few existing plugins.
24027
24028         * gst/gstplugin.c:
24029         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24030         * tools/gst-inspect.c: (print_element_info):
24031           When a feature disappears from a plugin (and the feature exists in
24032           the cached registry file), things went horribly wrong. This isn't a
24033           complete fix, we should actually be removing the 'missing' features
24034           from the features list when we load the actual plugin. That's not
24035           yet implemented. 
24036
24037 2005-10-04  Johan Dahlin  <johan@gnome.org>
24038
24039         * check/gst/gstiterator.c: (GST_START_TEST):
24040         * gst/gstbin.c: (gst_bin_iterate_elements),
24041         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24042         * gst/gstelement.c: (gst_element_iterate_pads):
24043         * gst/gstformat.c: (gst_format_iterate_definitions):
24044         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24045         (gst_iterator_new_list), (gst_iterator_filter):
24046         * gst/gstiterator.h:
24047         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24048         Add a GType to GstIterator, update callsites and tests.
24049
24050 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24051
24052         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24053           give events a chance to be handled by event probes when the pad
24054           is not linked
24055
24056 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24057
24058         * gst/gstevent.c: (gst_event_type_get_name),
24059         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24060         * gst/gstevent.h:
24061           add string representations for event types
24062
24063 2005-10-06  Wim Taymans  <wim@fluendo.com>
24064
24065         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24066         Don't use NULL pointers.
24067
24068 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24069
24070         * gst/gst_private.h:
24071         * gst/gstbus.c:
24072         * gst/gstelement.c:
24073         * gst/gstinfo.c:
24074         * gst/gstpluginfeature.c:
24075           widen the debug category in output to fit the biggest one we have
24076           add a bus category and use it
24077           play with the colors
24078           fix up some categories
24079
24080 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24081
24082         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24083           add push activation of sink ghost pads.
24084           Andye, please verify
24085
24086 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * gst/gstutils.c: (gst_element_link_pads):
24089           fix a bug in the case where neither element has a pad
24090         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24091           add a test for that case
24092
24093 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24094
24095         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24096           emit have-data before checking for peers.  This allows
24097           for probe handlers to connect elements.  This helps autopluggers.
24098         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24099         (gst_pad_suite):
24100           add six checks, linked/unlinked with no/true/false probe
24101
24102 2005-10-04  Wim Taymans  <wim@fluendo.com>
24103
24104         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24105         (gst_fake_sink_event), (gst_fake_sink_preroll),
24106         (gst_fake_sink_render), (gst_fake_sink_change_state):
24107         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24108         (gst_fake_src_get_property), (gst_fake_src_create),
24109         (gst_fake_src_stop):
24110         * gst/elements/gstidentity.c: (gst_identity_stop):
24111         Protect last_message with lock.
24112
24113 2005-10-04  Edward Hervey  <edward@fluendo.com>
24114
24115         * gst/gstformat.h: 
24116         Added precision in the comments for GST_FORMAT_DEFAULT
24117
24118 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24119
24120         * tools/gst-launch.c: (main):
24121           Don't try to run erroneous pipelines.
24122
24123 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24124
24125         * gst/gstbus.c: We don't need this header.
24126
24127 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24128
24129         * configure.ac:
24130           back to development
24131
24132 === release 0.9.3 ===
24133
24134 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24135
24136         * README:
24137         * configure.ac:
24138           Releasing 0.9.3, "Unregistered"
24139
24140 2005-10-03  Andy Wingo  <wingo@pobox.com>
24141
24142         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24143         whereby calling a pad's activatepush() function can start a thread
24144         that starts to push or pull before the pad gets the FLUSHING flag
24145         unset. Hack around it by holding the stream lock until the flag is
24146         set. Need to replace this with a proper solution. Together with
24147         the ghost pad fixes, this fixes mp3 playing/tagreading.
24148
24149         * docs/design/part-gstghostpad.txt: Add a note about activation of
24150         proxy pads outside of ghost pads.
24151
24152         * gst/gstghostpad.c: Implement the ghost pad activation design.
24153
24154 2005-10-02  Andy Wingo  <wingo@pobox.com>
24155
24156         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24157         It is volatile, after all.
24158
24159         * docs/design/part-gstghostpad.txt: Flesh out activation with
24160         ghost pads.
24161
24162         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24163         GST_DEBUG_FUNCPTR.
24164
24165 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24166
24167         * configure.ac:
24168           Fix (unused) AM_CONDITIONAL tests.
24169
24170 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24171
24172         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24173
24174         * gst/gstutils.c: (gst_pad_query_convert):
24175           Add assertion that makes sure src_val is >=0, just like
24176           gst_query_new_convert() has. (#315895)
24177
24178 2005-09-30  Edward Hervey  <edward@fluendo.com>
24179
24180         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24181         Let's not iterate pads we're not interested in, it avoids getting 
24182         sky-high refcounts on sinkpad.
24183
24184 2005-09-30  Wim Taymans  <wim@fluendo.com>
24185
24186         * gst/gstelement.c: (gst_element_set_state),
24187         (gst_element_change_state):
24188         Small tweak, element in ASYNC remains ASYNC.
24189
24190 2005-09-30  Wim Taymans  <wim@fluendo.com>
24191
24192         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24193         Only error is an error.
24194
24195         * gst/gstbin.c: (gst_bin_change_state):
24196         Better debugging.
24197
24198         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24199         Also call pad_block in pad alloc.
24200
24201         * gst/gstutils.c: (gst_flow_get_name):
24202         Better debugging.
24203
24204 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24205
24206         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24207         (gst_base_src_get_range):
24208           Fix documentation typos. Add some more debug info.
24209
24210 2005-09-29  David Schleef  <ds@schleef.org>
24211
24212         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24213           more end-user friendly.
24214         * tools/gst-inspect.c: (main): Check if command-line argument is
24215           a file and attempt to load that file as a plugin.
24216
24217 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24218
24219         * check/gst/gstbin.c:
24220         * check/states/sinks.c:
24221           fix tests for the new warning
24222         * check/gst/gstpipeline.c:
24223           add a test for pipeline and bus interaction
24224         * gst/gstelement.c:
24225           elements should be NULL if they get disposed; add a warning if not
24226
24227 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24228
24229         * gst/gstobject.c:
24230           for 2.6 refcounting, make debug log more correct by printing
24231           the actual refcounts at the time of swap (Wim)
24232
24233 2005-09-29  Andy Wingo  <wingo@pobox.com>
24234
24235         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24236         removes signal watches previously added via
24237         gst_bus_add_signal_watch.
24238         (gst_bus_add_signal_watch): Don't return the source id, just store
24239         it on the bus if there wasn't an id already.
24240
24241         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24242         add_signal_watch and remove_signal_watch.
24243
24244 2005-09-29  Edward Hervey  <edward@fluendo.com>
24245
24246         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24247         Better if we actually iterate the list :)
24248
24249 2005-09-29  Wim Taymans  <wim@fluendo.com>
24250
24251         * check/gst/gstbin.c: (GST_START_TEST):
24252         Change for new bus API.
24253
24254         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24255         (send_messages), (GST_START_TEST), (gstbus_suite):
24256         Change for new bus signal API.
24257
24258         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24259         (gst_bus_source_prepare), (gst_bus_source_check),
24260         (gst_bus_create_watch), (gst_bus_add_watch_full),
24261         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24262         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24263         * gst/gstbus.h:
24264         Remove support for multiple GSources operating on different
24265         message types as it is too complex and unneeded when using
24266         signals.
24267         Added support for receiving signals from the bus.
24268
24269 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24270
24271         * docs/libs/tmpl/gstdataprotocol.sgml:
24272         * docs/manual/advanced-dataaccess.xml:
24273         * gst/elements/gstcapsfilter.c:
24274         * gst/gstutils.c:
24275           rename filter-caps to caps property
24276
24277 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24278
24279         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24280           More robust fraction string parsing.
24281
24282         * docs/pwg/appendix-porting.xml:
24283           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24284
24285 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24286
24287         * gst/gstcaps.c: (gst_caps_do_simplify):
24288           Thou shalt not free a structure and then continue using it
24289           in the next loop iteration.
24290
24291         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24292         (gst_caps_suite):
24293           Add test case for caps simplification.
24294
24295 2005-09-29  Wim Taymans  <wim@fluendo.com>
24296
24297         * check/gst/gstbin.c: (GST_START_TEST):
24298         Oops.
24299
24300 2005-09-29  Wim Taymans  <wim@fluendo.com>
24301
24302         * check/gst/gstbin.c: (GST_START_TEST):
24303         Add bus to bin.
24304
24305         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24306         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24307         (find_element), (gst_bin_sort_iterator_next),
24308         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24309         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24310         (gst_bin_change_state), (gst_bin_dispose):
24311         A bin does not have a bus, it gets the bus from the parent.
24312
24313         * gst/gstelement.c: (gst_element_requires_clock),
24314         (gst_element_provides_clock), (gst_element_is_indexable),
24315         (gst_element_is_locked_state), (gst_element_change_state),
24316         (gst_element_set_bus_func):
24317         Small cleanups.
24318
24319         * gst/gstpipeline.c: (gst_pipeline_class_init),
24320         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24321         The pipeline provides a bus.
24322
24323 2005-09-28  Johan Dahlin  <johan@gnome.org>
24324
24325         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24326         gst_structure_get_enum instead of gst_structure_get_int
24327
24328         * gst/gststructure.c (gst_structure_get_enum): Impl.
24329
24330         * gst/gststructure.h (gst_structure_get_enum): Add
24331
24332         * docs/gst/gstreamer-sections.txt: Ditto
24333
24334         * gst/gstmessage.c (gst_message_new_state_changed): Use
24335         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24336         which does introspection.
24337         Reviewed by Christian Schaller
24338
24339 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24340
24341         * gst/gstinfo.c: (gst_debug_log_default):
24342           don't do dummy g_strdup()s
24343         * libs/gst/controller/gstcontroller.c:
24344         (on_object_controlled_property_changed),
24345         (gst_controlled_property_new), (gst_controller_new_valist),
24346         (gst_controller_new_list),
24347         (gst_controller_remove_properties_valist), (gst_controller_set),
24348         (gst_controller_get), (gst_controller_sync_values),
24349         (gst_controller_get_value_array), (_gst_controller_class_init),
24350         (gst_controller_get_type):
24351         * libs/gst/controller/gstcontroller.h:
24352         * libs/gst/controller/gstinterpolation.c:
24353         (gst_controlled_property_find_timed_value_node):
24354           convert // to /**/ comments
24355
24356 2005-09-28  Wim Taymans  <wim@fluendo.com>
24357
24358         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24359         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24360         (gst_bus_sync_signal_handler):
24361         * gst/gstbus.h:
24362         Added async-message and sync-message signals to the bus.
24363         Added helper BusFunc to emit signals for all posted messages.
24364
24365         * gst/gstmessage.c: (gst_message_type_get_name),
24366         (gst_message_type_to_quark), (gst_message_get_type):
24367         * gst/gstmessage.h:
24368         Register quarks for message names.
24369
24370 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24371
24372         * docs/libs/gstreamer-libs-sections.txt:
24373         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24374         (gst_controller_new_list):
24375         * libs/gst/controller/gstcontroller.h:
24376           added another constructor for language bindings
24377
24378 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24379
24380         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24381           add another check
24382         * gst/gstbus.c:
24383           add some doc
24384         * gst/gstinfo.c: (_gst_debug_init):
24385           slightly more readable color for refcount debugging
24386
24387 2005-09-28  Wim Taymans  <wim@fluendo.com>
24388
24389         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24390         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24391         (find_element), (gst_bin_sort_iterator_next),
24392         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24393         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24394         (gst_bin_change_state), (gst_bin_dispose):
24395         Small doc fixes. get_clock -> provide_clock.
24396
24397         * gst/gstelement.c: (gst_element_class_init),
24398         (gst_element_provides_clock), (gst_element_provide_clock),
24399         (gst_element_get_clock), (gst_element_commit_state),
24400         (gst_element_lost_state):
24401         * gst/gstelement.h:
24402         Make get/set_clock() symetric. Add provide_clock vmethod since
24403         that is actually what this function does.
24404
24405         * gst/gstpipeline.c: (gst_pipeline_class_init),
24406         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24407         (gst_pipeline_get_clock):
24408         get_clock -> provide_clock.
24409
24410 2005-09-28  Andy Wingo  <wingo@pobox.com>
24411
24412         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24413         lieu of real docs...
24414
24415         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24416
24417 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24418
24419         * gst/elements/gstcapsfilter.c:
24420         * gst/elements/gstfakesink.c:
24421         * gst/elements/gstfakesrc.c:
24422         * gst/elements/gstfdsink.c:
24423         * gst/elements/gstfdsrc.c:
24424         * gst/elements/gstfilesink.c:
24425         * gst/elements/gstfilesrc.c:
24426         * gst/elements/gstidentity.c:
24427         * gst/elements/gsttee.c:
24428         * gst/elements/gsttypefindelement.c:
24429           Make element details static.
24430
24431 2005-09-28  Wim Taymans  <wim@fluendo.com>
24432
24433         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24434         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24435         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24436         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24437         (gst_bin_change_state), (gst_bin_dispose):
24438         Some documentation updates.
24439         Clean up dispose handlers.
24440
24441         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24442         * gst/gstpad.c: (gst_pad_dispose):
24443         Clean up dispose handler.
24444
24445         * gst/gstpipeline.c: (gst_pipeline_change_state):
24446         Removed spurious UNLOCK.
24447
24448 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24449
24450         * docs/gst/gstreamer-sections.txt:
24451         * gst/base/gstbasesrc.h:
24452         * gst/gstelement.h:
24453         * gst/gstevent.h:
24454         * gst/gstobject.h:
24455         * gst/gstpad.h:
24456         * gst/gstpipeline.c:
24457         * gst/gstpipeline.h:
24458         * gst/gstutils.h:
24459         * gst/gstxml.h:
24460           added two new functions to the docs
24461                 documents all undocumented GstXXXFlags
24462                 completed some incomplete docs 
24463
24464 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24465
24466         * gst/gstbin.c: (gst_bin_dispose):
24467         * gst/gstelement.c: (gst_element_dispose):
24468           remove now useless and leaky resurrection code in dispose
24469         * gst/base/gstbasesrc.c: (gst_base_src_init):
24470         * gst/gstelementfactory.c: (gst_element_factory_create):
24471         * gst/gstobject.c: (gst_object_set_parent):
24472           add some debugging
24473
24474 2005-09-27  Wim Taymans  <wim@fluendo.com>
24475
24476         * docs/design/part-TODO.txt:
24477         Update TODO.
24478
24479         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24480         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24481         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24482         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24483         (gst_bin_change_state):
24484         * gst/gstelement.h:
24485         Remove element variable, we keep element info in the iterator now.
24486
24487 2005-09-27  Andy Wingo  <wingo@pobox.com>
24488
24489         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24490         values.
24491
24492 2005-09-27  Wim Taymans  <wim@fluendo.com>
24493
24494         * check/gst/gstbin.c: (GST_START_TEST):
24495         Enable check that works now.
24496
24497         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24498         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24499         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24500         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24501         (gst_bin_change_state):
24502         * gst/gstbin.h:
24503         Redid the state change algorithm using a topological sort algo.
24504         Handles all cases correctly.
24505         Exposed iterator for state change order.
24506
24507         * gst/gstelement.h:
24508         Temp storage for state changes. Need to get rid of this soon.
24509
24510 2005-09-27  Wim Taymans  <wim@fluendo.com>
24511
24512         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24513         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24514         (link_fold_func), (gst_pad_proxy_setcaps):
24515         Leak fixes, the fold functions need to unref the passed object and
24516         _get_parent_*() returns ref to parent.
24517
24518 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24519
24520         * check/gst/gstbuffer.c: (test_make_writable):
24521           Plug leak in test case and fix 'make check-valgrind'
24522
24523 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24524
24525         * gst/gstbuffer.c: (gst_subbuffer_init):
24526           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24527           works correctly in all circumstances (we could have just copied
24528           the parent buffer's readonly flag, but conceptually it seems
24529           cleaner to mark all subbuffers as read-only). (based on patch
24530           by Alessandro Decina, #314710).
24531         
24532         * check/gst/gstbuffer.c: (create_read_only_buffer),
24533         (test_make_writable), (test_subbuffer_make_writable),
24534         (gst_test_suite):
24535           Add some tests for gst_buffer_make_writable().
24536
24537 2005-09-27  Wim Taymans  <wim@fluendo.com>
24538
24539         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24540         use gst_object_has_ancestor().
24541
24542         * gst/gstobject.c: (gst_object_has_ancestor):
24543         * gst/gstobject.h:
24544         gst_object_has_ancestor() copied from gstbin.c as it is a
24545         useful function.
24546
24547         * tests/instantiate/create.c: (create_all_elements):
24548         * tests/lat.c: (handoff_src), (handoff_sink):
24549         * tests/sched/runxml.c: (main):
24550         * tests/seeking/seeking1.c: (main):
24551         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24552         (main):
24553         Fix compilation of some tests.
24554
24555 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24556
24557         * gst/gsterror.h:
24558           Remove comment. GST_TYPE_G_ERROR is here to stay,
24559           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24560           (#316961, #300610).
24561
24562 2005-09-26  Wim Taymans  <wim@fluendo.com>
24563
24564         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24565         Added check that shows error in state change order.
24566
24567 2005-09-26  Wim Taymans  <wim@fluendo.com>
24568
24569         * gst/gstbin.c: (gst_bin_change_state):
24570         Make state change function use 3 queues again, we were
24571         adding elements in the wrong order.
24572
24573         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24574         Some debug info,
24575
24576         * gst/gstpad.c: (gst_pad_dispose):
24577         Added some debug info first.
24578
24579 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24580
24581         * docs/design/draft-push-pull.txt:
24582         * docs/design/part-events.txt:
24583         * docs/design/part-overview.txt:
24584         * docs/design/part-scheduling.txt:
24585           Replace all _pull_region() with _pull_range()
24586           
24587 2005-09-26  Andy Wingo  <wingo@pobox.com>
24588
24589         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24590
24591         * check/gst-libs/controller.c: Update for controller api change.
24592
24593         * configure.ac: 
24594         * tests/Makefile.am:
24595         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24596         over by GLib bug 118439.
24597         
24598         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24599         routines to a function.
24600
24601         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24602
24603         * libs/gst/controller/gsthelper.c:
24604         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24605         (gst_object_sync_values): Renamed from sink_values. Ugh.
24606
24607         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24608
24609         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24610         Renamed from controller_key, as it is exported.
24611
24612         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24613
24614 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24615
24616         * gst/Makefile.am:
24617         * gst/gst.h:
24618         * gst/gstpad.h:
24619         * gst/gstpadtemplate.h:
24620         * gst/gstquery.c:
24621         * gst/gstquery.h:
24622         * gst/gstqueryutils.c:
24623         * gst/gstqueryutils.h:
24624           remove queryutils headers after moving the two used functions
24625           to gstquery.  also fixes build problem for gstsiddec
24626
24627 2005-09-26  Michael Smith <msmith@fluendo.com>
24628
24629         * tools/gst-launch.1.in:
24630         Correct documentation in manpage of debug syntax
24631
24632 2005-09-26  Wim Taymans  <wim@fluendo.com>
24633
24634         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24635         (gst_base_src_is_seekable), (gst_base_src_change_state):
24636         Some more debugging info.
24637
24638 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24639
24640         * docs/gst/gstreamer-sections.txt:
24641         * gst/base/gstbasetransform.h:
24642         * gst/gstindex.h:
24643           added more docs
24644
24645 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24646
24647         * docs/gst/.cvsignore:
24648         * docs/gst/tmpl/.cvsignore:
24649         * docs/gst/tmpl/gstpipeline.sgml:
24650         * docs/gst/tmpl/gstplugin.sgml:
24651         * gst/gstpipeline.c:
24652         * gst/gstplugin.c:
24653         * gst/gstplugin.h:
24654           inlined the last two docs files
24655           removed the tmpl directory from cvs (no more conflicts here!)
24656
24657 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24658
24659         * docs/gst/gstreamer-sections.txt:
24660         * docs/gst/tmpl/.cvsignore:
24661         * docs/gst/tmpl/gstpad.sgml:
24662         * docs/gst/tmpl/gstpadtemplate.sgml:
24663         * gst/Makefile.am:
24664         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24665         (gst_pad_finalize), (gst_pad_set_pad_template):
24666         * gst/gstpad.h:
24667         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24668         (gst_pad_template_class_init), (gst_pad_template_init),
24669         (gst_pad_template_dispose), (name_is_valid),
24670         (gst_static_pad_template_get), (gst_pad_template_new),
24671         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24672         (gst_pad_template_pad_created):
24673         * gst/gstpadtemplate.h:
24674           inlined two more docs
24675           factored gstpadtemplate out of gstpad
24676
24677 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24678
24679         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24680         (test_children_state_change_order_semi_sink):
24681           Fix test case: we can't rely on a fixed state change order when
24682           going from READY => PAUSED because the sink might commit its 
24683           new state first when the first buffer created by the source 
24684           reaches the sink before the source has finished its change state.
24685           (Test case still fails at times, see #316856, comment 5 onwards)
24686
24687 2005-09-24  Wim Taymans  <wim@fluendo.com>
24688
24689         * docs/design/part-events.txt:
24690         * docs/design/part-gstbus.txt:
24691         * docs/design/part-gstpipeline.txt:
24692         * docs/design/part-messages.txt:
24693         * docs/design/part-overview.txt:
24694         * docs/design/part-segments.txt:
24695         * gst/gstbin.c:
24696         * gst/gstbuffer.c:
24697         * gst/gstclock.c:
24698         * gst/gstelement.c:
24699         * gst/gstevent.c:
24700         * gst/gstfilter.c:
24701         * gst/gstiterator.c:
24702         Various documentation updates.
24703
24704 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24705
24706         * gst/gstclock.h:
24707           Well, that's embarassing.  Luckily we weren't using
24708           GST_CLOCK_DIFF anywhere.
24709
24710 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24711
24712         * common/gtk-doc.mak:
24713           don't fail on building XML, FC4 slave shows a bunch of doc
24714           missing bits that I don't get
24715         * gst/gstpad.c:
24716         * gst/gstpipeline.c:
24717         * gst/gststructure.c:
24718           some doc updates
24719
24720 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24721
24722         * docs/design/part-gstbin.txt:
24723         * docs/design/part-gstbus.txt:
24724         * gst/gstbus.c:
24725           Add blurb about how the bus goes into flushing mode and
24726           drops all messages when its bin goes from READY into NULL 
24727           state.
24728
24729 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24730
24731         * docs/gst/gstreamer-sections.txt:
24732         * gst/gststructure.c: (gst_structure_get_clock_time):
24733         * gst/gststructure.h:
24734           add a method to get a GstClockTime out of a structure
24735
24736 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24737
24738         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24739         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24740           Added test to check state change order in bins (can still be made
24741           to fail here under heavy disk load; bails out with 'Push on pad
24742           fakesink:sink0, but it was not activated in push mode').
24743
24744         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24745           Fix state change order when there is only a semi sink (#316856)
24746
24747         * gst/gstbus.c: (gst_bus_class_init):
24748           Use _class_peek_parent(), not _class_ref(); fix docs to say
24749           'default main context' instead of 'mainloop' where that is
24750           what's meant.
24751
24752         * gst/gstelement.c: (gst_element_commit_state),
24753         (gst_element_set_state):
24754           Fix typos in debug messages
24755
24756 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24757
24758         * docs/README:
24759         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24760         * gst/gstpluginfeature.c:
24761         * gst/gstutils.c:
24762           various doc updates
24763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24764           change an assert into an error until it gets fixed properly
24765
24766 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24767
24768         * docs/gst/gstreamer-sections.txt:
24769         * docs/gst/tmpl/.cvsignore:
24770         * docs/gst/tmpl/gstelement.sgml:
24771         * docs/gst/tmpl/gstinfo.sgml:
24772         * docs/gst/tmpl/gstobject.sgml:
24773         * gst/gstelement.c:
24774         * gst/gstelement.h:
24775         * gst/gstinfo.c:
24776         * gst/gstinfo.h:
24777         * gst/gstobject.c: (gst_object_class_init):
24778         * gst/gstobject.h:
24779           inlined 3 more biiiig doc files and added some missing docs on the fly
24780
24781 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24782
24783         * check/gst/.cvsignore:
24784         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24785         * gst/gstregistryxml.c: (load_plugin),
24786         (gst_registry_xml_save_plugin):
24787           put back source in registry.  add checks for find_plugin.
24788         * testsuite/states/bin.c: (assert_state), (empty_bin),
24789         (test_adding_one_element), (main):
24790         * testsuite/states/locked.c: (main):
24791           some compile/run fixes
24792
24793 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24794
24795         * check/gst/gstvalue.c: (GST_START_TEST):
24796           fix leaks in the test itself
24797
24798 2005-09-22  Wim Taymans  <wim@fluendo.com>
24799
24800         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24801         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24802         (gst_base_sink_query):
24803         Prepare for more accurate position reporting and query
24804         handling.
24805
24806         * gst/gstelement.c: (gst_element_send_event),
24807         (gst_element_set_state):
24808         Add some comment.
24809
24810 2005-09-22  Wim Taymans  <wim@fluendo.com>
24811
24812         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24813         (gst_query_parse_segment):
24814         * gst/gstquery.h:
24815         More documentation.
24816         Add segment query for future use.
24817
24818 2005-09-22  Wim Taymans  <wim@fluendo.com>
24819
24820         * gst/gstbin.c: (gst_bin_add_func):
24821         Some more debug info.
24822
24823         * gst/gstelement.c: (gst_element_send_event):
24824         Simplify send_event
24825
24826         * gst/gstelement.h:
24827         Don't know how flags got broken.
24828
24829         * gst/gstquery.h:
24830         Added new query.
24831
24832 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24833
24834         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24835           Add simplistic test suite for GST_TYPE_DATE serialisation and
24836           deserialisation.
24837
24838 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24839
24840         * docs/gst/gstreamer-sections.txt:
24841         * gst/gststructure.c: (gst_structure_set_valist),
24842         (gst_structure_get_date):
24843         * gst/gststructure.h:
24844         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24845         (gst_date_copy), (gst_value_compare_date),
24846         (gst_value_serialize_date), (gst_value_deserialize_date),
24847         (gst_value_transform_date_string),
24848         (gst_value_transform_string_date), (_gst_value_initialize):
24849         * gst/gstvalue.h:
24850           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24851           bunch of utility functions along with a hack that checks that
24852           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24853           is required. Part of the grand scheme in #170777.
24854
24855 2005-09-22  Andy Wingo  <wingo@pobox.com>
24856
24857         * gst/gstconfig.h.in: Psych out gtk-doc.
24858
24859         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24860
24861         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24862
24863         * tools/gst-inspect.c (print_element_list): Plug some
24864         inconsequential leaks.
24865
24866         * gst/gstregistry.c (gst_registry_get_default): Doc.
24867
24868         * check/gst/gstplugin.c: 
24869         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24870         * gst/gstelementfactory.c (gst_element_factory_create): 
24871         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24872         refcount changes.
24873
24874         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24875         (gst_plugin_feature_load): Doc, don't eat refs.
24876
24877         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24878         (gst_plugin_list_free): Doc.
24879         (gst_plugin_load_file): Doc updates.
24880
24881         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24882         accessors returning refcounted objects, return a ref.
24883
24884         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24885         accessor for caps. IDEMPOTENCE. Oh yes.
24886
24887 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24888
24889         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24890
24891         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24892         (_gst_debug_register_funcptr):
24893           Add mutex to serialise access to the hash table with
24894           the function pointer => function name string mapping;
24895           make that hash table static scope (#316809).
24896
24897         * gst/registries/.cvsignore:
24898           Remove left-over file.
24899
24900 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24901
24902         * docs/pwg/appendix-porting.xml:
24903           And something about newsegment events and caps-on-buffers to
24904           the porting guide (feel free to improve).
24905
24906 2005-09-21  Andy Wingo  <wingo@pobox.com>
24907
24908         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24909         data and event probes on the same pad.
24910         (test_buffer_probe_once): Test that removing probes from within
24911         the probe functions works.
24912
24913 2005-09-21  Andy Wingo  <wingo@pobox.com>
24914
24915         * check/gst/gstutils.c: New file.
24916         (test_buffer_probe_n_times): A simple buffer probe test. More to
24917         come, foolios.
24918
24919         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24920         have-data::buffer, not have-data.
24921         (gst_pad_add_event_probe): Likewise for have-data::event.
24922         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24923         peer' isn't quite right yet though.
24924         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24925         (gst_pad_remove_data_probe): Change to take the guint handler_id
24926         as their arg, not the function+data, which is more glib-like.
24927
24928         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24929         the signal emission to indicate if the data is a buffer or an
24930         event.
24931         (gst_pad_get_type): Initialize buffer and event quarks.
24932         (gst_pad_class_init): have-data is now a detailed signal, yes it
24933         is.
24934
24935 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24936
24937         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24938         * gst/gstutils.c: (gst_util_set_value_from_string),
24939         (gst_util_set_object_arg):
24940           Don't put functional code in g_return_if_fail() or
24941           g_return_val_if_fail() statements, otherwise things will 
24942           break when G_DISABLE_CHECKS is defined during compilation.
24943
24944 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24945
24946         * docs/gst/tmpl/.cvsignore:
24947         * docs/gst/tmpl/gstvalue.sgml:
24948         * gst/gstvalue.c:
24949         * gst/gstvalue.h:
24950           inlied another one and added  some obvious docs
24951
24952 2005-09-21  Wim Taymans  <wim@fluendo.com>
24953
24954         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24955         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24956         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24957         (gst_fdsrc_get_property), (gst_fdsrc_create):
24958         * gst/elements/gstfdsrc.h:
24959         Properly implement fdsrc. Removed signal and timeout,
24960         better implemented somewhere else.
24961
24962 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24963
24964         * docs/gst/tmpl/.cvsignore:
24965         * docs/gst/tmpl/gstimplementsinterface.sgml:
24966         * gst/gstinterface.c:
24967           inlined more docs
24968
24969 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24970
24971         * docs/gst/gstreamer-sections.txt:
24972         * docs/gst/tmpl/.cvsignore:
24973         * docs/gst/tmpl/gstenumtypes.sgml:
24974           remove obsolete doc file
24975
24976 2005-09-21  David Schleef  <ds@schleef.org>
24977
24978         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24979         little beer, fix a little leak.
24980
24981 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24982
24983         * docs/gst/gstreamer-docs.sgml:
24984         * docs/gst/gstreamer-sections.txt:
24985         * docs/gst/tmpl/.cvsignore:
24986         * gst/Makefile.am:
24987         * gst/gst.h:
24988         * gst/gstbin.c:
24989         * gst/gstelement.h:
24990         * gst/gstindex.c: (gst_index_class_init):
24991         * gst/gstindex.h:
24992         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24993         (gst_index_factory_class_init), (gst_index_factory_init),
24994         (gst_index_factory_finalize), (gst_index_factory_new),
24995         (gst_index_factory_destroy), (gst_index_factory_find),
24996         (gst_index_factory_create), (gst_index_factory_make):
24997         * gst/gstindexfactory.h:
24998         * gst/gstpluginfeature.c:
24999         * gst/gstpluginfeature.h:
25000         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25001           more docs inlined, splitted gstindex.{c,h}
25002
25003 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25004
25005         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25006           fix a leak
25007
25008 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25009
25010         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25011           Set sync to FALSE by default.
25012
25013 2005-09-20  Wim Taymans  <wim@fluendo.com>
25014
25015         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25016         (gst_base_sink_init):
25017         Make sync property settable from subclass.
25018
25019         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25020         (gst_fake_sink_change_state):
25021         Set sync to FALSE by default.
25022
25023 2005-09-20  Wim Taymans  <wim@fluendo.com>
25024
25025         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25026         * tools/gst-launch.c: (main):
25027         The timeout handler should have lower priority than the source
25028         so we don't timeout before popping a message with 0 timeout.
25029         Dump error messages after failed state change.
25030
25031 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25032
25033         * tools/gst-inspect.c: (print_element_properties_info):
25034           Fix two typos.
25035
25036 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25037
25038         * check/gst/gstevent.c:
25039         * gst/elements/gstfakesink.c:
25040         * gst/elements/gstfakesink.h:
25041           remove the sync property from fakesink.
25042           has the side effect of setting sync TRUE
25043           for fakesink, which is a change.  Anyone who knows how
25044           to fix this nicely in a GObject-y way, feel free.
25045
25046 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25047
25048         * docs/gst/gstreamer-docs.sgml:
25049           remove probe refsection
25050
25051 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25052
25053         * check/Makefile.am:
25054           disable valgrinding the controller test again
25055         * docs/gst/gstreamer-sections.txt:
25056           update for api-changes
25057
25058 2005-09-20  Wim Taymans  <wim@fluendo.com>
25059
25060         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25061         (gst_base_sink_set_property), (gst_base_sink_get_property),
25062         (gst_base_sink_do_sync):
25063         * gst/base/gstbasesink.h:
25064         Added sync property to basesink to disable clock sync.
25065
25066 2005-09-20  Andy Wingo  <wingo@pobox.com>
25067
25068         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25069         eating the caller's refcount.
25070
25071         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25072         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25073         refcount.
25074
25075         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25076         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25077         of GLib 2.8 public, so we can know which refcount to check in
25078         tests.
25079
25080         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25081         (gst_object_init): Only set the gst refcount if we're going ahead
25082         with the refcount hack.
25083
25084 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25085
25086         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25087         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25088           more leaks plumbed, added more debug-logging
25089         * gst/gstmacros.h:
25090           whitespace fix
25091
25092 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25093
25094         * gst/gstmessage.c:
25095           remove include of gstmemchunk.h
25096
25097 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25098
25099         * gst/gstclock.c: (_gst_clock_id_free):
25100           Commit from the Political Party For More Atomic CVS Commits,
25101           so that people don't waste too much of their day fishing
25102           out obvious leaks out of massive commits.
25103           Oh, and fix a pretty damn obvious leak in the memchunk
25104           removal code.
25105
25106 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25107
25108         * check/Makefile.am:
25109         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25110           plug mem-leak, re-add to valgrindable tests
25111
25112 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25113
25114         * gst/gstplugin.h:
25115           unbreak the build for those who have chronic arthritis
25116           and typing "make check" is just too taxing on the hands
25117
25118 2005-09-20  Andy Wingo  <wingo@pobox.com>
25119
25120         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25121         really want it out, you should fix plugins at the same time.
25122
25123 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25124
25125         * configure.ac:
25126         * docs/gst/gstreamer-sections.txt:
25127         * gst/gstobject.c:
25128           added missing symbols to api docs
25129           disable ref-count hack if we have glib >= 2.8
25130
25131 2005-09-19  David Schleef  <ds@schleef.org>
25132
25133         * docs/gst/Makefile.am: Ignore a few more internal headers
25134         * docs/gst/gstreamer-docs.sgml: Remove old sections
25135         * docs/gst/gstreamer-sections.txt: Remove old sections
25136         * docs/gst/tmpl/gstobject.sgml: update
25137         * docs/gst/tmpl/gstplugin.sgml: update
25138         * docs/gst/tmpl/gstpluginfeature.sgml: update
25139         * docs/random/ds/0.9-suggested-changes: update.
25140         * gst/Makefile.am: remove memchunk and trashstack, since they're
25141           not used.
25142         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25143         * gst/gst.h: don't include some headers
25144         * gst/gstchildproxy.c: add gstmarshal.h
25145         * gst/gstclock.c: Don't use memchunks
25146         * gst/gstminiobject.c: Add some docs
25147         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25148         * gst/gstobject.h: same
25149         * gst/gstplugin.c: include gstmacros.h
25150         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25151         * gst/gstquery.c: don't use memchunks
25152         * gst/gstregistry.c: rename gst_registry_deinit()
25153         * gst/gstregistry.h: same
25154
25155 2005-09-19  David Schleef  <ds@schleef.org>
25156
25157         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25158         * docs/libs/gstreamer-libs-sections.txt:
25159         * docs/libs/tmpl/gstgetbits.sgml:
25160         * docs/libs/tmpl/gstputbits.sgml:
25161
25162 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25163
25164         * win32/gstenumtypes.c:
25165         * win32/gstenumtypes.h:
25166           Update.
25167
25168 2005-09-19  Wim Taymans  <wim@fluendo.com>
25169
25170         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25171         Automatically PAUSE and RESUME a pipeline when a flushing seek
25172         is performed.
25173
25174 2005-09-19  Andy Wingo  <wingo@pobox.com>
25175
25176         * gst/gstregistry.h: Spacing fixen.
25177
25178 2005-09-19  Wim Taymans  <wim@fluendo.com>
25179
25180         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25181         Handle state change failure more correctly.
25182
25183 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25184
25185         * check/Makefile.am:
25186         * check/pipelines/cleanup.c: (run_pipeline):
25187         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25188         (GST_START_TEST):
25189           enable cleanup again after fixing the leak
25190         * docs/README:
25191           some more info on docs
25192
25193 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25194
25195         * check/Makefile.am:
25196           re-enable tests now that leaks are plugged
25197         * check/gst/gst.c:
25198         * check/gst/gstbin.c:
25199         * check/gst/gstpipeline.c:
25200           add some more tests while fixing leaks
25201         * common/check.mak:
25202           make sure binaries are uptodate when valgrinding/gdbing
25203         * gst/gst.c:
25204         * gst/gstelementfactory.c:
25205           remove a ref too many, and add a FIXME for when we get
25206           round to disposing of classes
25207         * gst/gstplugin.c:
25208           fix the refcounting when loading a plugin from a file and
25209           the code pretends that the pointer is the same even though
25210           of course it can change
25211         * gst/gstpluginfeature.c:
25212           unref plugins marked cached (a bit confusing as a name)
25213           as the docs state should be done
25214           various doc additions to explain refcounting
25215         * gst/gstregistry.c:
25216         * gst/gstregistryxml.c:
25217           debugging
25218
25219 2005-09-19  Wim Taymans  <wim@fluendo.com>
25220
25221         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25222         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25223         (send_messages), (GST_START_TEST), (gstbus_suite):
25224         * check/gst/gstpipeline.c: (GST_START_TEST):
25225         * check/pipelines/cleanup.c: (run_pipeline):
25226         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25227         (GST_START_TEST):
25228         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25229         (gst_bus_source_check), (gst_bus_source_dispatch),
25230         (gst_bus_create_watch), (gst_bus_add_watch_full),
25231         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25232         * gst/gstbus.h:
25233         * tools/gst-launch.c: (event_loop):
25234         * tools/gst-md5sum.c: (event_loop):
25235         GstBusHandler -> GstBusFunc, return value has the same meaning as
25236         any other GSource (FALSE == remove source).
25237         _add_watch() and _add_watch_full() now take a MessageType mask to
25238         only handle specific types of messages.
25239         _poll() returns the GstMessage instead of the message type to avoid
25240         race conditions.
25241         _have_pending() takes a MessageType mask now too.
25242         Added testsuite for multiple bus watches.
25243         Fix testsuites and applications for new bus API.
25244
25245 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25246
25247         * check/Makefile.am:
25248           mark a bunch of the tests as to fix until we fix them
25249
25250 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25251
25252         * common/check.mak:
25253           use GST_PLUGIN settings for valgrind tests as well, so we're
25254           valgrinding the correct thing
25255         * gst/gst.c: (init_post):
25256           plug another leak
25257
25258 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25259
25260         * gst/gst.c: (init_post), (gst_deinit):
25261         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25262         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25263         * gst/gstindex.c: (gst_index_factory_class_init),
25264         (gst_index_factory_finalize):
25265         * gst/gstobject.c: (gst_object_dispose):
25266         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25267         (gst_plugin_load_file), (gst_plugin_desc_free):
25268         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25269         (gst_plugin_feature_finalize):
25270         * gst/gstregistry.c: (gst_registry_class_init),
25271         (gst_registry_init), (gst_registry_finalize),
25272         (gst_registry_get_default), (gst_registry_deinit):
25273         * gst/gstregistry.h:
25274         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25275           various cleanups and memleak plugging.  make valgrind is happy now.
25276
25277 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25278
25279         * common/check.mak:
25280           add a check-valgrind target
25281
25282 2005-09-18  David Schleef  <ds@schleef.org>
25283
25284         * tools/gst-inspect.c: Revert the GOption code.
25285
25286 2005-09-17  David Schleef  <ds@schleef.org>
25287
25288         * check/Makefile.am: Fix environment variables.
25289         * check/gst/gstplugin.c: Fix for API changes.
25290         * tools/gst-inspect.c: Fix for API changes.
25291         * tools/gst-xmlinspect.c: Fix for API changes.
25292         * gst/gstelementfactory.c:
25293         * gst/gstplugin.c:
25294         * gst/gstplugin.h:
25295         * gst/gstpluginfeature.c:
25296         * gst/gstpluginfeature.h:
25297         * gst/gstregistry.c:
25298         * gst/gstregistry.h:
25299         * gst/gstregistryxml.c:
25300         * gst/gsttypefind.c:
25301         * gst/gsttypefindfactory.c:
25302         * gst/indexers/gstfileindex.c:
25303         * gst/indexers/gstmemindex.c:
25304         * gst/schedulers/Makefile.am:
25305           Change registry to keep track of both plugins and features,
25306           removing the feature tracking from plugins themselves.
25307
25308 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25309
25310         * check/Makefile.am:
25311         * tools/gst-register.1.in:
25312           remove gst-register
25313
25314 2005-09-15  David Schleef  <ds@schleef.org>
25315
25316         * check/gst/gstplugin.c:
25317         * gst/gstelementfactory.c:
25318         * gst/gstplugin.c:
25319         * gst/gstpluginfeature.c:
25320         * gst/gstregistry.c:
25321           Getting tired of debugging.  Disabled all the unreffing of
25322           plugins and features, which fixes the segfaults, but of
25323           course leaks like crazy.  At least playbin works.
25324
25325 2005-09-15  David Schleef  <ds@schleef.org>
25326
25327         * check/gst/gstplugin.c: (register_check_elements),
25328         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25329         More testing
25330         * gst/elements/gsttypefindelement.c: Fix refcounting.
25331         * gst/gsttypefind.c:
25332         * gst/gsttypefindfactory.c:
25333         * gst/gsttypefindfactory.h:
25334
25335 2005-09-15  David Schleef  <ds@schleef.org>
25336
25337         * gst/gstindex.c: get refcounting correct.
25338         * gst/gstregistry.c: Handle the case where a feature/plugin is
25339           not found.
25340
25341 2005-09-15  David Schleef  <ds@schleef.org>
25342
25343         * check/Makefile.am:
25344         * check/gst/gstplugin.c: Add test
25345         * gst/gstplugin.c: Fix problems noticed by testsuite
25346         * gst/gstplugin.h:
25347         * gst/gstregistry.c: 
25348         * gst/gstregistry.h:
25349
25350 2005-09-15  David Schleef  <ds@schleef.org>
25351
25352         * gst/gstplugin.c: Implement semi-decent recounting and locking
25353           in plugins and plugin features.
25354         * gst/gstplugin.h:
25355         * gst/gstpluginfeature.c:
25356         * gst/gstpluginfeature.h:
25357         * gst/gstregistry.c:
25358
25359 2005-09-15  Michael Smith <msmith@fluendo.com>
25360
25361         * gst/gstregistry.c: (gst_registry_get_feature_list):
25362           Implement this. Makes oggdemux work; decodebin still broken.
25363
25364 2005-09-14  David Schleef  <ds@schleef.org>
25365
25366         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25367           #316076)
25368         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25369         * gst/check/Makefile.am:
25370         * libs/gst/controller/Makefile.am:
25371         * libs/gst/dataprotocol/Makefile.am:
25372
25373 2005-09-14  David Schleef  <ds@schleef.org>
25374
25375         * configure.ac: Remove getbits library.  Nothing uses it, and
25376           it should be in something like liboil if someone did want
25377           to use it.
25378         * libs/gst/Makefile.am:
25379         * libs/gst/getbits/Makefile.am:
25380         * libs/gst/getbits/gbtest.c:
25381         * libs/gst/getbits/getbits.c:
25382         * libs/gst/getbits/getbits.h:
25383         * libs/gst/getbits/gstgetbits_generic.c:
25384         * libs/gst/getbits/gstgetbits_i386.s:
25385         * libs/gst/getbits/gstgetbits_inl.h:
25386
25387 2005-09-14  David Schleef  <ds@schleef.org>
25388
25389         * gst/Makefile.am: Dist glib-compat.h
25390
25391 2005-09-14  David Schleef  <ds@schleef.org>
25392
25393         * configure.ac: Remove gst/registries, since it's no longer used.
25394         * gst/registries/Makefile.am:
25395         * gst/registries/gstlibxmlregistry.c:
25396         * gst/registries/gstlibxmlregistry.h:
25397         * gst/registries/gstxmlregistry.c:
25398         * gst/registries/gstxmlregistry.h:
25399         * gst/registries/registrytest.c:
25400
25401 2005-09-14  David Schleef  <ds@schleef.org>
25402
25403         * gst/glib-compat.h:
25404         * gst/gstregistryxml.c:
25405           Convergence is near.  Seriously.
25406
25407 2005-09-14  David Schleef  <ds@schleef.org>
25408
25409         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25410         * gst/glib-compat.h:
25411           Attempt #4 to appease the buildbots.
25412
25413 2005-09-14  David Schleef  <ds@schleef.org>
25414
25415         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25416           Attempt #3.
25417
25418 2005-09-14  David Schleef  <ds@schleef.org>
25419
25420         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25421         Attempt #2.
25422
25423 2005-09-14  David Schleef  <ds@schleef.org>
25424
25425         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25426           the new functions.
25427
25428 2005-09-14  David Schleef  <ds@schleef.org>
25429
25430         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25431         * gst/glib-compat.h: Add some functions that are in newer versions
25432           of glib than we care to require.
25433         * gst/gstregistryxml.c: Use them.
25434
25435 2005-09-14  David Schleef  <ds@schleef.org>
25436
25437         * po/POTFILES.in: remove gst-register.c
25438
25439 2005-09-14  David Schleef  <ds@schleef.org>
25440
25441         * docs/gst/gstreamer-docs.sgml:
25442         * docs/gst/gstreamer-sections.txt:
25443         * docs/gst/gstreamer.types:
25444         * docs/gst/tmpl/gstelement.sgml:
25445         * docs/gst/tmpl/gstplugin.sgml:
25446         * docs/gst/tmpl/gstpluginfeature.sgml:
25447           Documentation updates for registry changes.
25448
25449 2005-09-14  David Schleef  <ds@schleef.org>
25450
25451         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25452           because we don't require glib-2.8.
25453
25454 2005-09-14  David Schleef  <ds@schleef.org>
25455
25456         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25457           registries directory.
25458
25459 2005-09-14  David Schleef  <ds@schleef.org>
25460
25461         * check/Makefile.am:
25462         * check/generic/states.c:
25463         * gst/Makefile.am:
25464         * gst/gst.c:
25465         * gst/gst.h:
25466         * gst/gst_private.h:
25467         * gst/gstelementfactory.c:
25468         * gst/gstindex.c:
25469         * gst/gstinfo.c:
25470         * gst/gstplugin.c:
25471         * gst/gstplugin.h:
25472         * gst/gstpluginfeature.c:
25473         * gst/gstpluginfeature.h:
25474         * gst/gstregistry.c:
25475         * gst/gstregistry.h:
25476         * gst/gstregistrypool.c: remove
25477         * gst/gstregistrypool.h: remove
25478         * gst/gsttypefind.c:
25479         * gst/gsttypefindfactory.c:
25480         * gst/gsturi.c:
25481         * tools/Makefile.am:
25482         * tools/gst-compprep.c:
25483         * tools/gst-inspect.c:
25484         * tools/gst-register.c: remove
25485         * tools/gst-xmlinspect.c:
25486           Registry rewrite.  Changes registry from being a file created
25487           by a tool into a simple cache file created automatically by 
25488           libgstreamer.  Removed gst-register (because it's no longer
25489           needed).  Remove registry pools, because we only have one
25490           registry implementation (XML).  Fix up other subsystems as
25491           necessary.
25492
25493 2005-09-13  Michael Smith <msmith@fluendo.com>
25494
25495         * gst/gstconfig.h.in:
25496           Don't Use windows linking attributes for MinGW. Fixes #316157
25497
25498 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25499
25500         * gst/gstutils.c: (set_state_async_thread_func),
25501         (gst_element_set_state_async):
25502           Apparently people think it's better if this function doesn't
25503           try to set the state to whatever state was asked for on the first
25504           call to this function for any object.  Seriously.
25505
25506 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25507
25508         * check/gst/gstpipeline.c: (GST_START_TEST):
25509         * docs/gst/gstreamer-sections.txt:
25510         * gst/gstutils.c: (set_state_async_thread_func),
25511         (gst_element_set_state_async):
25512         * gst/gstutils.h:
25513           add a "gst_element_set_state_async" method that
25514           sets the state and starts a thread to make sure the state
25515           change completes as best as it can
25516
25517 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25518
25519         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25520           codify design+behaviour in testsuite after discussion
25521
25522 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25523
25524         * docs/gst/tmpl/gstelement.sgml:
25525         * docs/manual/appendix-quotes.xml:
25526           add a quote
25527         * gst/gstelement.c: (gst_element_set_state):
25528           add some debug
25529
25530 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25531
25532         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25533         (gst_base_transform_prepare_output_buf),
25534         (gst_base_transform_handle_buffer):
25535         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25536         (gst_capsfilter_prepare_buf):
25537           Remove the requirement for sub-classes to call the parent
25538           implementation of prepare_output_buffer with a wrapper function.
25539           
25540         * gst/gsttaglist.h:
25541         * gst/gsttagsetter.h:
25542           Fix #define wrapper
25543
25544 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25545
25546         * docs/gst/gstreamer-sections.txt:
25547           more doc cleanups
25548
25549 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25550
25551         * docs/gst/gstreamer-sections.txt:
25552         * docs/gst/tmpl/gstelement.sgml:
25553         * docs/gst/tmpl/gstplugin.sgml:
25554         * gst/gstminiobject.c:
25555         * gst/gstvalue.h:
25556           docs now stop throwing warnings
25557
25558 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25559
25560         * docs/gst/gstreamer-sections.txt:
25561         * docs/gst/gstreamer.types:
25562         * docs/gst/tmpl/gstpad.sgml:
25563         * docs/gst/tmpl/gsttypes.sgml:
25564         * gst/base/gstadapter.h:
25565         * gst/base/gstbasesink.h:
25566         * gst/base/gstbasesrc.h:
25567         * gst/gstbin.h:
25568         * gst/gstbuffer.h:
25569         * gst/gstbus.h:
25570         * gst/gstcaps.h:
25571         * gst/gstclock.h:
25572         * gst/gstelement.h:
25573         * gst/gstevent.h:
25574         * gst/gstmessage.h:
25575         * gst/gstpad.h:
25576         * gst/gststructure.c:
25577         * gst/registries/gstlibxmlregistry.h:
25578           various documentation fixes
25579
25580 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25581
25582         * docs/gst/gstreamer-sections.txt:
25583         * docs/gst/tmpl/gstvalue.sgml:
25584           rearrange gstvalue section
25585         * gst/gstutils.c: (gst_element_state_get_name):
25586           NONE -> VOID
25587         * gst/gstvalue.c: (_gst_value_initialize):
25588         * gst/gstvalue.h:
25589           doc updates
25590
25591 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25592
25593         * check/gst-libs/controller.c:
25594           Header include fix.
25595         * gst/base/gstbasetransform.c:
25596         (gst_base_transform_default_prepare_buf),
25597         (gst_base_transform_handle_buffer):
25598         * gst/base/gstbasetransform.h:
25599           Some more basetransform changes and fixes to enable sub-classes
25600           that modify buffer metadata only.
25601         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25602         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25603         (gst_capsfilter_prepare_buf):
25604           If the output pad has fixed allowed caps and input buffers 
25605           don't have any, set the fixed caps on outgoing buffers.
25606
25607 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25608         * check/elements/identity.c: (GST_START_TEST):
25609           Make the error a little clearer when the test fails because
25610           identity made a copy of the buffer.
25611         * docs/gst/gstreamer-sections.txt:
25612           New symbols in gstbasetransform.h
25613         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25614         (gst_base_transform_init), (gst_base_transform_transform_size),
25615         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25616         (gst_base_transform_default_prepare_buf),
25617         (gst_base_transform_get_unit_size),
25618         (gst_base_transform_buffer_alloc),
25619         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25620         (gst_base_transform_change_state),
25621         (gst_base_transform_set_passthrough),
25622         (gst_base_transform_set_in_place),
25623         (gst_base_transform_is_in_place):
25624         * gst/base/gstbasetransform.h:
25625           Change BaseTransform to separate in_place operate from same_caps
25626           output. in_place implies that the element can perform the transform
25627           on incoming buffers in-place, even if the caps on the output are
25628           different.
25629           Sub-class elements can now implement special buffer allocation
25630           methods for outgoing buffers if they wish to.
25631           Big documentation addition.
25632         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25633         * gst/elements/gstelements.c:
25634           Changes for basetransform modifications.
25635         * gst/elements/Makefile.am:
25636         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25637           Compile fix. Extra debug output.
25638
25639 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25640
25641         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25642         (gst_pad_suite):
25643           add tests for valid pad naming
25644         * gst/check/gstcheck.c: (gst_check_log_message_func),
25645         (gst_check_log_critical_func):
25646           add ASSERT_WARNING
25647           remove printing of code, it is fragile when the code contains
25648           % and the line number is enough info
25649         * gst/check/gstcheck.h:
25650         * gst/gstpad.c: (gst_pad_template_new):
25651           fix memleaks
25652
25653 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25654
25655         * configure.ac:
25656           say what CHECK flags we use
25657         * docs/libs/gstreamer-libs.types:
25658         * libs/gst/controller/Makefile.am:
25659         * libs/gst/controller/gst-controller.c:
25660         * libs/gst/controller/gst-controller.h:
25661         * libs/gst/controller/gst-helper.c:
25662         * libs/gst/controller/gst-interpolation.c:
25663         * libs/gst/controller/gstcontroller.c:
25664         * libs/gst/controller/gsthelper.c:
25665         * libs/gst/controller/gstinterpolation.c:
25666         * tools/gst-inspect.c: (print_plugin_info):
25667           we don't use dashes in header names
25668
25669 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25670
25671         * check/Makefile.am:
25672         * check/gst/.cvsignore:
25673         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25674         (gst_pipeline_suite), (main):
25675           adding a test for pipelines and state changes
25676         * gst/gstutils.c: (get_state_func):
25677           add some debugging
25678         * gstreamer.spec.in:
25679           fix up spec file
25680
25681 2005-09-08  Michael Smith <msmith@fluendo.com>
25682
25683         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25684         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25685         (gst_file_src_is_seekable), (gst_file_src_get_size),
25686         (gst_file_src_start):
25687         * gst/elements/gstfilesrc.h:
25688           Various fixes for unseekable, unmmapable, and non-normal files, so
25689           that fallback to read() rather than mmap() works.
25690         * gst/gstevent.c: (gst_event_new_newsegment):
25691           Allow newsegment events with segment_start == segment_end, as will
25692           correctly happen if you use filesrc on a zero-size file, for
25693           example.
25694
25695 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25696
25697         * gst/gstplugin.c: (gst_plugin_load_file):
25698           Call g_module_close when we don't load the module
25699
25700         * gst/registries/gstlibxmlregistry.c:
25701         (gst_xml_registry_get_property):
25702           Port leak fix from 0.8
25703
25704 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25705
25706         * docs/gst/gstreamer-docs.sgml:
25707         * docs/gst/tmpl/.cvsignore:
25708         * docs/gst/tmpl/gsttrace.sgml:
25709         * docs/gst/tmpl/gsttrashstack.sgml:
25710         * gst/Makefile.am:
25711         * gst/gst.h:
25712         * gst/gstelement.h:
25713         * gst/gstevent.h:
25714         * gst/gstmessage.c:
25715         * gst/gstmessage.h:
25716         * gst/gsttag.c:
25717         * gst/gsttag.h:
25718         * gst/gsttaginterface.c:
25719         * gst/gsttaginterface.h:
25720         * gst/gsttaglist.c:
25721         * gst/gsttaglist.h:
25722         * gst/gsttagsetter.c:
25723         * gst/gsttagsetter.h:
25724         * gst/gsttrace.c:
25725         * gst/gsttrace.h:
25726         * gst/gsttrashstack.c:
25727           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25728           inlined docs for gsttrace, gsttrashstack
25729
25730 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25731
25732         * gst/Makefile.am:
25733         * gst/elements/gstbufferstore.h:
25734         * gst/elements/gsttypefindelement.c:
25735         * gst/elements/gsttypefindelement.h:
25736         * gst/gst.h:
25737         * gst/gsttypefind.c:
25738         * gst/gsttypefind.h:
25739         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25740         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25741         (gst_type_find_factory_dispose),
25742         (gst_type_find_factory_unload_thyself),
25743         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25744         (gst_type_find_factory_get_caps),
25745         (gst_type_find_factory_get_extensions),
25746         (gst_type_find_factory_call_function):
25747         * gst/gsttypefindfactory.h:
25748         * gst/registries/gstlibxmlregistry.c:
25749         * gst/registries/gstxmlregistry.c:
25750           splitted gsttypefind into gsttypefind, gsttypefindfactory
25751
25752 2005-09-07  Andy Wingo  <wingo@pobox.com>
25753
25754         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25755         condition whereby the pad's task function is entered before the
25756         pad_mode variable was set.
25757
25758 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25759
25760         * gst/gstpad.c: (gst_pad_alloc_buffer):
25761           Catch misbehaving pad_alloc functions that don't
25762           set up caps and do it for them.
25763
25764 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25765
25766         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25767           test for pipe!=NULL
25768         * docs/gst/tmpl/.cvsignore:
25769         * docs/gst/tmpl/gstmemchunk.sgml:
25770         * docs/gst/tmpl/gstparse.sgml:
25771         * docs/gst/tmpl/gsttaglist.sgml:
25772         * docs/gst/tmpl/gsttagsetter.sgml:
25773         * docs/gst/tmpl/gsttypefind.sgml:
25774         * docs/gst/tmpl/gsttypefindfactory.sgml:
25775         * gst/gstmemchunk.c:
25776         * gst/gstparse.c:
25777         * gst/gsttag.c:
25778         * gst/gsttaginterface.c:
25779         * gst/gsttypefind.c:
25780         * gst/gsttypefind.h:
25781           inlined more docs
25782
25783 === release 0.9.2 ===
25784
25785 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25786
25787         * NEWS:
25788         * RELEASE:
25789         * configure.ac:
25790           releasing 0.9.2, "South"
25791
25792 2005-09-05  Andy Wingo  <wingo@pobox.com>
25793
25794         * gst/registries/gstxmlregistry.h:
25795         * gst/registries/gstxmlregistry.c: Um... resurrect...
25796         
25797         * gst/registries/gstxmlregistry.h:
25798         * gst/registries/gstxmlregistry.c: and update to newer API.
25799         Incidentally they should be a bit faster now that they don't have
25800         to parse the caps.
25801         
25802 2005-09-05  Andy Wingo  <wingo@pobox.com>
25803
25804         * gst/registries/gstxmlregistry.h:
25805         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25806         replaced by the libxml registry a while back
25807
25808 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25809
25810         * docs/gst/tmpl/gstplugin.sgml:
25811         * gst/elements/gstelements.c:
25812         * gst/gst.c:
25813         * gst/gstplugin.c: (gst_plugin_register_func),
25814         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25815         (gst_plugin_get_source):
25816         * gst/gstplugin.h:
25817         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25818         (gst_xml_registry_save_plugin):
25819         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25820         (gst_xml_registry_save_plugin):
25821         * tools/gst-inspect.c: (print_plugin_info):
25822           add a "source" plugin description field, to represent the source
25823           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25824           will set it to PACKAGE, which is automake's idea of the name of
25825           the source project.
25826
25827 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25828
25829         * Makefile.am:
25830         * autogen.sh:
25831         * configure.ac:
25832         * docs/Makefile.am:
25833         * docs/faq/Makefile.am:
25834         * docs/gst/tmpl/gstelement.sgml:
25835         * docs/gst/tmpl/gsttypes.sgml:
25836         * docs/htmlinstall.mak:
25837         * docs/manual/Makefile.am:
25838         * docs/pwg/Makefile.am:
25839           reorganize doc build a little
25840           split out docbook and gtk-doc stuff
25841           have two separate --enable's and enable them through autogen
25842           but disable by default in configure (to be similar to other
25843           projects)
25844         * gstreamer.spec.in:
25845           clean up docs install
25846         * po/af.po:
25847         * po/az.po:
25848         * po/ca.po:
25849         * po/cs.po:
25850         * po/de.po:
25851         * po/en_GB.po:
25852         * po/fr.po:
25853         * po/it.po:
25854         * po/nb.po:
25855         * po/nl.po:
25856         * po/ru.po:
25857         * po/sq.po:
25858         * po/sr.po:
25859         * po/sv.po:
25860         * po/tr.po:
25861         * po/uk.po:
25862         * po/vi.po:
25863           translation updates
25864
25865 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25866
25867         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25868           Add comment.
25869           
25870         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25871         (gst_fake_sink_change_state):
25872           Make state change function thread-safe.
25873           
25874         * gst/gstpad.c: (gst_pad_alloc_buffer):
25875           Set offset on generic buffer allocated by fallback.
25876
25877 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25878
25879         * docs/gst/gstreamer-sections.txt:
25880         * docs/gst/tmpl/gstelement.sgml:
25881         * gst/gstpad.c:
25882         * libs/gst/controller/gst-controller.c:
25883         (gst_controlled_property_set_interpolation_mode),
25884         (gst_controlled_property_new),
25885         (gst_controller_find_controlled_property):
25886          run the wingo-magic script against the docs
25887
25888 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25889
25890         * docs/gst/gstreamer-docs.sgml:
25891         * docs/gst/gstreamer-sections.txt:
25892         * docs/gst/tmpl/.cvsignore:
25893         * docs/gst/tmpl/gstelementdetails.sgml:
25894         * docs/gst/tmpl/gstelementfactory.sgml:
25895         * gst/gst.c:
25896         * gst/gstbus.c:
25897         * gst/gstelementfactory.c:
25898         * gst/gstelementfactory.h:
25899           merged elementdetails docs into elementfactory docs
25900           inlined both
25901
25902 2005-09-02  Andy Wingo  <wingo@pobox.com>
25903
25904         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25905         consider this enum an enum and not a flags.
25906
25907 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25908
25909         * docs/gst/gstreamer-docs.sgml:
25910         * docs/gst/tmpl/.cvsignore:
25911         * docs/gst/tmpl/gstghostpad.sgml:
25912         * docs/gst/tmpl/gstiterator.sgml:
25913         * docs/gst/tmpl/gstmacros.sgml:
25914         * docs/gst/tmpl/gstrealpad.sgml:
25915         * docs/gst/tmpl/gstregistry.sgml:
25916         * docs/gst/tmpl/gstregistrypool.sgml:
25917         * docs/gst/tmpl/gststructure.sgml:
25918         * docs/gst/tmpl/gstsystemclock.sgml:
25919         * docs/gst/tmpl/gsttrace.sgml:
25920         * gst/gstghostpad.c:
25921         * gst/gstmacros.h:
25922         * gst/gstmemchunk.c:
25923         * gst/gstmemchunk.h:
25924         * gst/gstqueue.c:
25925         * gst/gstregistry.c:
25926         * gst/gstregistrypool.c:
25927         * gst/gststructure.c:
25928         * gst/gstsystemclock.c:
25929           more docs inlined
25930
25931 2005-09-02  Andy Wingo  <wingo@pobox.com>
25932
25933         * gst/gstelement.h (GstState): Renamed from GstElementState,
25934         changed to be a normal enum instead of flags.
25935         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25936         munged to be GST_STATE_CHANGE_*.
25937         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25938         work with the new state representation.
25939         (GstStateChange): New enumeration of possible state transitions.
25940         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25941         (GstElementClass::change_state): Pass the GstStateChange along as
25942         an argument. Helps language bindings, so they don't have to use
25943         tricky lock-needing macros like GST_STATE_CHANGE ().
25944
25945         * scripts/update-states (file): New script. Run it on a file to
25946         update it for state naming and API changes. Updates files in
25947         place.
25948
25949         * All files updated for the new API.
25950
25951 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25952
25953         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25954         * gst/gstutils.c: (gst_util_set_value_from_string),
25955         (gst_util_set_object_arg):
25956           fix a bunch of unchecked return values
25957         * tools/gst-complete.c: (main):
25958         * gstreamer.spec.in:
25959           clean up a little
25960
25961 2005-09-01  Wim Taymans  <wim@fluendo.com>
25962
25963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25964         (gst_base_sink_event), (gst_base_sink_do_sync),
25965         (gst_base_sink_handle_event):
25966         * gst/base/gstbasesink.h:
25967         Handle newsegments more correctly.
25968
25969         * gst/gstbus.c:
25970         Fix docs.
25971
25972         * gst/gstevent.c: (gst_event_new_newsegment):
25973         A newsegment cannot have a start_time of -1
25974
25975 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25976
25977         * win32/gstenumtypes.c:
25978         * win32/gstenumtypes.h:
25979           Update
25980
25981 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25982
25983         * libs/gst/controller/gst-controller.c:
25984         (gst_controlled_property_set_interpolation_mode),
25985         (gst_controlled_property_new):
25986          fixed boolean again
25987
25988 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25989
25990         * docs/faq/gst-uninstalled:
25991           add -good
25992         * gst/gstevent.c:
25993         * gst/gstevent.h:
25994           remove wrong docs
25995         * gst/gstutils.c: (gst_element_link_filtered):
25996         * gst/gstutils.h:
25997           add gst_element_link_filtered
25998
25999 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26000
26001         * docs/gst/gstreamer-docs.sgml:
26002         * docs/gst/gstreamer-sections.txt:
26003         * docs/gst/tmpl/.cvsignore:
26004         * docs/gst/tmpl/gsterror.sgml:
26005         * docs/gst/tmpl/gstfilter.sgml:
26006         * docs/gst/tmpl/gsturihandler.sgml:
26007         * docs/gst/tmpl/gsturitype.sgml:
26008         * docs/gst/tmpl/gstutils.sgml:
26009         * docs/gst/tmpl/gstxml.sgml:
26010         * gst/gsterror.c:
26011         * gst/gsterror.h:
26012         * gst/gstfilter.c:
26013         * gst/gsturi.c:
26014         * gst/gsturitype.c:
26015         * gst/gstutils.c:
26016         * gst/gstxml.c:
26017           inlined more docs, fixed double id-ref
26018
26019 2005-08-31  Wim Taymans  <wim@fluendo.com>
26020
26021         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26022         (gst_base_transform_handle_buffer):
26023         Passthrough elements don't need the caps as they don't care.
26024
26025 2005-08-31  Wim Taymans  <wim@fluendo.com>
26026
26027         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26028         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26029         Don't leak refcounts on buffers.
26030
26031 2005-08-31  Wim Taymans  <wim@fluendo.com>
26032
26033         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26034         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26035         (gst_base_transform_chain), (gst_base_transform_change_state):
26036         * gst/base/gstbasetransform.h:
26037         Handle the case where we are not negotiated more gracefully.
26038
26039 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26040
26041         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26042         (gst_file_src_map_region):
26043           Set READONLY flag on mmap'ed buffers, otherwise
26044           gst_buffer_make_writable() won't work properly (#314708).
26045
26046 2005-08-31  Wim Taymans  <wim@fluendo.com>
26047
26048         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26049         passthrough elements can even do inplace on non writable
26050         buffers (as they don't touch them).
26051
26052 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26053
26054         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26055         (gst_test_mono_source_set_property),
26056         (gst_test_mono_source_class_init), (GST_START_TEST),
26057         (gst_controller_suite):
26058           more tests (hehe I have the most)
26059         * gst/gstbus.c:
26060           describe popping messages whenusing mulltiple sources
26061         * libs/gst/controller/gst-controller.c:
26062         (gst_controlled_property_set_interpolation_mode),
26063         (gst_controlled_property_new):
26064         * libs/gst/controller/gst-controller.h:
26065         * libs/gst/controller/gst-interpolation.c:
26066           implement boolean properties
26067
26068 2005-08-31  Wim Taymans  <wim@fluendo.com>
26069
26070         * gst/gstminiobject.c: (gst_mini_object_ref):
26071         Cannot assert that the refcount has to be positive
26072         since a disposed object can be resurrected.
26073
26074 2005-08-31  Wim Taymans  <wim@fluendo.com>
26075
26076         * gst/gstpad.c: (gst_pad_init):
26077         Revert change, need to first fix badly behaving 
26078         apps.
26079
26080 2005-08-30  Wim Taymans  <wim@fluendo.com>
26081
26082         * check/elements/fakesrc.c: (setup_fakesrc):
26083         * check/elements/identity.c: (setup_identity):
26084         Activate pads before using them.
26085
26086 2005-08-30  Wim Taymans  <wim@fluendo.com>
26087
26088         * gst/base/gstadapter.c: (gst_adapter_flush):
26089         Flushing out 0 bytes is ok for this function.
26090
26091         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26092         no newsegment gives a warning and sets the start/stop to 
26093         invalid.
26094
26095         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26096         (gst_base_transform_set_passthrough):
26097         Some debug info.
26098
26099         * gst/gstminiobject.c: (gst_mini_object_ref):
26100         Check refcount here too.
26101
26102         * gst/gstpad.c: (gst_pad_init):
26103         Pads are initially flushing and refusing data.
26104
26105         * gst/gstutils.c: (gst_element_link_pads_filtered):
26106         When adding a capsfilter element make sure it has the
26107         same state as the parent bin.
26108
26109 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26110
26111         * docs/gst/tmpl/.cvsignore:
26112         * docs/gst/tmpl/gstformat.sgml:
26113         * docs/gst/tmpl/gstversion.sgml:
26114         * gst/gstbus.h:
26115         * gst/gstformat.c:
26116         * gst/gstformat.h:
26117         * gst/gstversion.h.in:
26118           more docs and two more inlined
26119
26120 2005-08-30  Wim Taymans  <wim@fluendo.com>
26121
26122         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26123         Don't sync to clock.
26124
26125 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26126
26127         * docs/gst/gstreamer-sections.txt:
26128           ultral33t func10ns deserve to appear in the docs actually
26129         * docs/gst/tmpl/.cvsignore:
26130         * docs/gst/tmpl/gstcompat.sgml:
26131         * docs/gst/tmpl/gstconfig.sgml:
26132         * gst/check/gstcheck.c:
26133         * gst/gstcompat.h:
26134         * gst/gstconfig.h.in:
26135           inlined more docs
26136
26137 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26138
26139         * docs/gst/tmpl/.cvsignore:
26140         * docs/gst/tmpl/gstquery.sgml:
26141         * docs/gst/tmpl/gstutils.sgml:
26142         * gst/gstquery.c:
26143         * gst/gstquery.h:
26144           inlined and extended docs
26145
26146 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26147
26148         * check/gst-libs/controller.c: (GST_START_TEST),
26149         (gst_controller_suite):
26150           more tests
26151         * docs/gst/tmpl/gstutils.sgml:
26152         * docs/libs/gstreamer-libs-sections.txt:
26153         * docs/libs/tmpl/gstdataprotocol.sgml:
26154           include path fixes
26155         * examples/controller/audio-example.c: (main):
26156           controller example works now
26157         * gst/gstclock.h:
26158           doc fixes
26159         * tools/gst-inspect.c: (print_element_properties_info):
26160           show param spec flags
26161
26162 2005-08-29  Andy Wingo  <wingo@pobox.com>
26163
26164         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26165
26166 2005-08-28  Andy Wingo  <wingo@pobox.com>
26167
26168         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26169         as having two arguments instead of just one. Allows superclasses
26170         to access information on subclasses -- see the terrible for() loop
26171         in gtype.c:g_type_create_instance for the reason why. All callers
26172         changed.
26173
26174 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26175
26176         * docs/design/part-messages.txt:
26177           update info
26178         * docs/gst/tmpl/.cvsignore:
26179         * docs/gst/tmpl/gstcaps.sgml:
26180         * docs/gst/tmpl/gstclock.sgml:
26181         * gst/gstbus.c:
26182         * gst/gstcaps.c:
26183         * gst/gstcaps.h:
26184         * gst/gstclock.c:
26185         * gst/gstclock.h:
26186         * gst/gstmessage.c:
26187           added descriptions for bus and message
26188           inline caps and clock docs
26189
26190 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26191
26192         * gst/gstmessage.c:
26193         * gst/gstmessage.h:
26194           doc fixes
26195
26196 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26197
26198         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26199           fix div-by-zero
26200
26201 2005-08-26  Andy Wingo  <wingo@pobox.com>
26202
26203         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26204         element_set_state's return val.
26205         (test_2_elements): Add test that's been disabled for months.
26206
26207         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26208         can-activate-pull properties.
26209
26210         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26211         can-activate-pull properties. Implement is_seekable so fakesrc can
26212         operate in pull mode.
26213
26214         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26215         properties.
26216         (gst_base_sink_activate, gst_base_sink_activate_pull)
26217         (gst_base_sink_activate_push): Make activation mode choosing work.
26218         Cleanups.
26219         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26220         is right. Make pull mode work. Post an eos before pausing in pull
26221         mode.
26222         (gst_base_sink_change_state): Pay attention to the core's
26223         change_state() return val.
26224         
26225         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26226         has-getrange properties. Cleanups.
26227         
26228         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26229         has_getrange and replace with can_activate_pull and
26230         can_activate_push.
26231
26232         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26233         locking comments. Remove has_loop, has_chain and replace with
26234         can_activate_pull and can_activate_push.
26235
26236 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26237
26238         * configure.ac:
26239         * examples/Makefile.am:
26240         * examples/metadata/Makefile.am:
26241         * examples/metadata/read-metadata.c: (message_loop),
26242         (have_pad_handler), (make_pipeline), (print_tag), (main):
26243           Add metadata reading example that loops over a list of filenames,
26244           dumping any tags found.
26245
26246         * gst/gstbus.c: (gst_bus_dispose):
26247         * gst/gstelement.c: (gst_element_dispose):
26248           Release a few potentially-held references in dispose.
26249
26250 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26251
26252         * docs/gst/tmpl/gstminiobject.sgml:
26253           do *not* add tmpl/*.sgml files to CVS!
26254
26255 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26256
26257         * libs/gst/bytestream/.cvsignore:
26258         * libs/gst/bytestream/Makefile.am:
26259         * libs/gst/bytestream/adapter.c:
26260         * libs/gst/bytestream/adapter.h:
26261         * libs/gst/bytestream/bytestream.c:
26262         * libs/gst/bytestream/bytestream.h:
26263         * libs/gst/bytestream/filepad.c:
26264         * libs/gst/bytestream/filepad.h:
26265           removing obsolete files
26266
26267 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26268
26269         * docs/gst/gstreamer-docs.sgml:
26270         * docs/libs/gstreamer-libs-docs.sgml:
26271           disabed additional index entries again, as this makes docs-gen just
26272           slow and they aren't useful yet
26273         * docs/libs/gstreamer-libs-sections.txt:
26274           little -section.txt cleanup for libs
26275
26276 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26277
26278         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26279         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26280           fix up some debugging
26281         (gst_base_transform_get_unit_size),
26282         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26283         (gst_base_transform_handle_buffer):
26284         * gst/base/gstbasetransform.h:
26285           handle and store timed NEWSEGMENT events so that subclasses that
26286           calculate time by counting samples have a segment_start time they
26287           need to add to their timestamps - see audioresample
26288
26289 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26290
26291         * gst/gstbin.h:
26292           removed ';' from the end of macro defs
26293         * docs/gst/gstreamer-docs.sgml:
26294         * docs/gst/gstreamer-sections.txt:
26295         * docs/gst/tmpl/.cvsignore:
26296         * gst/gstbus.h:
26297         * gst/gstelement.c: (gst_element_class_init),
26298         (gst_element_set_state), (activate_pads),
26299         (gst_element_save_thyself):
26300         * gst/gstevent.c: (gst_event_new_newsegment):
26301         * gst/gstevent.h:
26302         * gst/gstiterator.c:
26303         * gst/gstiterator.h:
26304         * gst/gstpad.c:
26305         * gst/gstprobe.h:
26306         * gst/gstutils.c: (gst_pad_query_convert):
26307         * gst/gstutils.h:
26308           fixed parameter name mismatches between source, header and docs
26309           added some more docs, resolved the last batch of unused elements in
26310           docs (now someone needs to doc them)
26311
26312 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26313
26314         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26315         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26316           don't walk through the plugins backwards.  Where is all this
26317           reversed logic coming from ?
26318
26319 2005-08-25  Wim Taymans  <wim@fluendo.com>
26320
26321         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26322         (gst_base_transform_transform_size),
26323         (gst_base_transform_configure_caps),
26324         (gst_base_transform_get_unit_size),
26325         (gst_base_transform_buffer_alloc),
26326         (gst_base_transform_change_state):
26327         * gst/base/gstbasetransform.h:
26328         Cache caps unit_size.
26329         Make sure we cannot negotiate up and downstream at the
26330         same time.
26331
26332 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26333
26334         * gst/gst.c: (init_pre), (init_post):
26335           register the installed plugin path after the env var
26336         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26337         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26338           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26339           directories, so the tests can prefer uninstalled over installed
26340
26341 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26342
26343         * gst/base/gstbasetransform.h:
26344           comment
26345         * gst/gstpad.c:
26346           add to docs
26347
26348 2005-08-25  Wim Taymans  <wim@fluendo.com>
26349
26350         * gst/gstbin.c: (bin_bus_handler):
26351         Be a bit more conservative about the posted message.
26352         
26353         * gst/gstbus.c: (gst_bus_post):
26354         Some cleanups, warn wrong return values.
26355
26356 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26357
26358         * check/gst/gstbin.c: (GST_START_TEST):
26359         * gst/gstbin.c: (bin_bus_handler):
26360         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26361         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26362         (gst_message_new_warning), (gst_message_new_tag),
26363         (gst_message_new_state_changed), (gst_message_new_segment_start),
26364         (gst_message_new_segment_done), (gst_message_new_custom):
26365         * gst/gstmessage.h:
26366         * tools/gst-launch.c: (event_loop):
26367         * tools/gst-md5sum.c: (event_loop):
26368           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26369
26370 2005-08-25  Wim Taymans  <wim@fluendo.com>
26371
26372         * check/generic/states.c: (GST_START_TEST):
26373         Cleanup can be done at the end.
26374
26375         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26376         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26377         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26378         Oh boy.. Thanks for finding this, Thomas. 
26379
26380 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26381
26382         * docs/gst/gstreamer.types:
26383           added missing types
26384
26385 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26386
26387         * docs/gst/gstreamer-docs.sgml:
26388         * docs/gst/gstreamer-sections.txt:
26389         * docs/gst/tmpl/.cvsignore:
26390         * gst/gstbin.c:
26391         * gst/gstiterator.c:
26392         * gst/gstutils.c:
26393         * gst/registries/gstxmlregistry.h:
26394           added missing classes and symbols (123 more to go)
26395           removed removed symbols from section file
26396           fixed many doc-comments
26397
26398 2005-08-24  Wim Taymans  <wim@fluendo.com>
26399
26400         * check/generic/states.c: (GST_START_TEST):
26401         Make sure all tasks are stopped.
26402
26403         * check/gst/gstbin.c: (GST_START_TEST):
26404         Unref after usage for proper valgrinding.
26405
26406         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26407         Really wait for the task to stop before destroying the
26408         mutex.
26409
26410         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26411         (gst_queue_src_activate_push):
26412         Small cleanups. Don't stop the task when we did not start
26413         it.
26414
26415         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26416         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26417         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26418         (gst_task_join):
26419         * gst/gsttask.h:
26420         Protect the stream lock with the object lock.
26421         Disallow setting the stream lock when running.
26422         Add cleanup_all to wait for the threadpool to finish.
26423         Remove code to autoallocate a mutex if none was provided.
26424         Add _join() to wait for a task to stop.
26425         Protect the thread pool with a global lock.
26426
26427 2005-08-24  Wim Taymans  <wim@fluendo.com>
26428
26429         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26430         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26431         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26432         * gst/base/gstbasesink.h:
26433         Handle newsegment events correctly.
26434         Drop buffers out of the segment range.
26435
26436 2005-08-22  Andy Wingo  <wingo@pobox.com>
26437
26438         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26439         macro, implements an interface and gstimplementsinterface for a
26440         new type.
26441
26442 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26443
26444         * check/Makefile.am:
26445         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26446           add a test that does a bunch of state changes on elements
26447           needs some fixing for valgrind
26448         * check/states/sinks.c: (gst_object_suite):
26449           whitespace
26450         * gst/gstcaps.h:
26451           add prototype for gst_caps_is_equal_fixed
26452         * gst/gstplugin.c:
26453         * gst/gstregistrypool.c:
26454           doc fixes
26455
26456 2005-08-24  Andy Wingo  <wingo@pobox.com>
26457
26458         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26459         convert a negative value. Doesn't make much sense. Mostly this is
26460         here to force callers to ensure -1 maps to -1.
26461
26462 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26463
26464         * docs/pwg/advanced-types.xml:
26465           Well done to Michael for catching my deliberate introduction
26466           of this spelling mistake. 
26467         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26468         * gst/gstelement.h:
26469           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26470           unlink pads before removing the element from the bin.
26471
26472 2005-08-24  Andy Wingo  <wingo@pobox.com>
26473
26474         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26475         the same thing as GST_DEBUG=*:4.
26476         (parse_debug_level, parse_debug_category): New helper parsers.
26477
26478 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26479
26480         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26481         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26482         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26483         (gst_base_transform_buffer_alloc),
26484         (gst_base_transform_handle_buffer):
26485           use gboolean return values and pointers to size so we can use the
26486           full GST_BUFFER_SIZE range (guint) for buffer sizes
26487           use GstPadDirection for transform_caps
26488         * gst/base/gstbasetransform.h:
26489           rename get_size to get_unit_size since that's what it is
26490         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26491           use GstPadDirection for transform_caps
26492         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26493         * gst/gstutils.h:
26494           cleanup and debugging
26495
26496 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26497
26498         * gst/gstelement.c: (gst_element_class_init),
26499         (gst_element_set_state), (activate_pads),
26500         (gst_element_save_thyself):
26501         * tools/gst-compprep.c: (main):
26502         * tools/gst-inspect.c: (print_element_properties_info):
26503         * tools/gst-xmlinspect.c: (print_element_properties):
26504           Fixed long standing mem-leak
26505
26506 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26507
26508         * check/gst/gstbin.c: (GST_START_TEST):
26509         * gst/gstbin.c: (bin_bus_handler):
26510         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26511         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26512         (gst_message_new_warning), (gst_message_new_tag),
26513         (gst_message_new_state_changed), (gst_message_new_segment_start),
26514         (gst_message_new_segment_done), (gst_message_new_custom):
26515         * gst/gstmessage.h:
26516         * tools/gst-launch.c: (event_loop):
26517         * tools/gst-md5sum.c: (event_loop):
26518           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26519           that applications can sensibly post custom messages with references
26520           to their own objects.
26521
26522 2005-08-24  Andy Wingo  <wingo@pobox.com>
26523
26524         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26525         already.
26526
26527 2005-08-24  Wim Taymans  <wim@fluendo.com>
26528
26529         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26530         (gst_base_transform_transform_caps),
26531         (gst_base_transform_transform_size),
26532         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26533         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26534         (gst_base_transform_handle_buffer):
26535         * gst/base/gstbasetransform.h:
26536         Many fixes and new features added by Thomas. Can now also do
26537         transforms with variable sizes and a custom fixate_caps function.
26538
26539 2005-08-24  Wim Taymans  <wim@fluendo.com>
26540
26541         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26542         Some debugging.
26543
26544         * gst/gstclock.h:
26545         Cast to ClockTime before formatting to time.
26546
26547         * gst/gstutils.h:
26548         Cleanups.
26549
26550 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26551
26552         * check/gst-libs/controller.c: (GST_START_TEST),
26553         (gst_controller_suite):
26554         * docs/gst/tmpl/gstcaps.sgml:
26555         * docs/gst/tmpl/gstghostpad.sgml:
26556         * docs/gst/tmpl/gstquery.sgml:
26557         * docs/gst/tmpl/gstutils.sgml:
26558         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26559         (gst_object_sink_values), (gst_object_get_value_arrays),
26560         (gst_object_get_value_array):
26561           gracefully handle helper method calls to objects that are not beeing
26562           controlled, added test case for that          
26563
26564 2005-08-23  Wim Taymans  <wim@fluendo.com>
26565
26566         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26567         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26568         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26569         (gst_event_parse_qos), (gst_event_new_seek),
26570         (gst_event_parse_seek):
26571         * gst/gstevent.h:
26572         Some more debugging output and doc cleanups.
26573
26574         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26575         Fix possible deadlock.
26576
26577 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26578
26579         * docs/gst/gstreamer-docs.sgml:
26580         * docs/gst/gstreamer-sections.txt:
26581         * docs/gst/gstreamer.types:
26582         * docs/gst/tmpl/.cvsignore:
26583         * gst/gstbin.h:
26584         * gst/gstbus.c:
26585         * gst/gstelement.c:
26586         * gst/gstevent.h:
26587           added 100 symbols from gstreamer-unused.txt to the right sections
26588           fixed more broken comments
26589           added GstBus to docs
26590
26591 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26592
26593         * docs/gst/gstreamer-sections.txt:
26594         * docs/gst/tmpl/.cvsignore:
26595         * docs/gst/tmpl/gstbin.sgml:
26596         * docs/gst/tmpl/gstbuffer.sgml:
26597         * gst/base/gstbasesrc.c:
26598         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26599         * gst/gstbuffer.c:
26600         * gst/gstbuffer.h:
26601         * tools/gst-launch.1.in:
26602           inlined more doc comments, added missing comments and fixed comments
26603           fixed typos
26604
26605 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26606
26607         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26608           some debugging
26609         * gst/gstcaps.h:
26610           whitespace fixes
26611         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26612           more debugging
26613         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26614         * gst/gststructure.h:
26615           add a fixate function for booleans; add a FIXME that these func
26616           names should probably be gst_structure_fixate_*
26617
26618 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26619
26620         * docs/gst/gstreamer-docs.sgml:
26621         * docs/gst/gstreamer-sections.txt:
26622         * gst/Makefile.am:
26623         * gst/gstbin.c: (gst_bin_get_type),
26624         (gst_bin_child_proxy_get_child_by_index),
26625         (gst_bin_child_proxy_get_children_count),
26626         (gst_bin_child_proxy_init):
26627         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26628         (gst_child_proxy_get_child_by_index),
26629         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26630         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26631         (gst_child_proxy_get), (gst_child_proxy_set_property),
26632         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26633         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26634         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26635         * gst/gstchildproxy.h:
26636         * gst/parse/grammar.y:
26637         * tools/gst-inspect.c: (print_interfaces),
26638         (print_element_properties_info), (print_element_info):
26639           ported gstchildproxy over from 0.8
26640           ported gst-inspect fixes and enhancements over from 0.8
26641
26642 2005-08-22  Wim Taymans  <wim@fluendo.com>
26643
26644         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26645         (gst_base_transform_handle_buffer):
26646         Also call the transform function if we have ANY caps.
26647
26648         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26649         Fix debug info.
26650
26651 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26652
26653         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26654           Don't pretend to handle seek events if the source is not seekable
26655
26656 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26657
26658         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26659           Remove extra parameter to debug output
26660
26661         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26662         (gst_base_src_do_seek), (gst_base_src_activate_push):
26663           Fix seek event handling.
26664
26665         * gst/gstpipeline.c: (gst_pipeline_change_state):
26666         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26667         (gst_queue_src_activate_push):
26668           Don't start the src pad task on FLUSH_STOP if the pad
26669           isn't linked.
26670           Debug changes.
26671
26672 2005-08-22  Wim Taymans  <wim@fluendo.com>
26673
26674         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26675         Added check for gst_static_caps_get() refcounting.
26676
26677 2005-08-22  Wim Taymans  <wim@fluendo.com>
26678
26679         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26680         Make _static_caps_get() refcounting sane.
26681         
26682         * gst/gstelement.c: (gst_element_set_state):
26683         Add g_return_val_if_fail() to protect against segfaults.
26684
26685 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26686
26687         * docs/gst/tmpl/gstevent.sgml:
26688         * gst/gstevent.c:
26689         * gst/gstevent.h:
26690           inlined remaining docs, added missing doc comments
26691
26692 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26693
26694         * check/gst/gstbin.c: (GST_START_TEST):
26695           since we don't know when preroll is done, use refcount range
26696           check for the sink
26697         * gst/check/gstcheck.h:
26698           add macro for checking refcount range
26699
26700 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26701
26702         * check/Makefile.am:
26703           clean up environment for when registry gets built versus
26704           when actual tests are run; valgrind seems to not report
26705           leaks if GST_PLUGIN_PATH is set to some specific values
26706         * check/gst/gstbin.c: (GST_START_TEST):
26707           add more refcounting checks; maybe this exposes a
26708           preroll lock bug ?
26709         * common/check.mak:
26710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26711         * gst/check/gstcheck.h:
26712         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26713         (gst_bin_change_state):
26714         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26715           add/fix debugging/whitespace
26716
26717 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26718
26719         * check/gst/gstevent.c: (event_probe), (test_event),
26720         (GST_START_TEST):
26721          Er, don't call gst_bin_watch_for_state_change you idiot.
26722
26723 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26724
26725         * check/Makefile.am:
26726           Use CHECK_CFLAGS and CHECK_LIBS
26727         * check/gst/gstevent.c: (event_probe), (test_event),
26728         (GST_START_TEST):
26729           Don't leak events.
26730         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26731         (gst_base_src_start), (gst_base_src_stop),
26732         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26733         (gst_base_src_change_state):
26734           Sprinkle gst_base_src_stop liberally around error paths to fix
26735           problems reusing a source after failed state changes.
26736         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26737         (helper_find_suggest), (gst_type_find_helper):
26738           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26739         * gst/gstevent.h:
26740         * docs/gst/tmpl/gstevent.sgml:
26741           Migrate part of the docs from the SGML file. Wait for ensonic to
26742           tell me how I did it wrong ;)
26743         * tools/gst-typefind.c: (main):
26744           Extra robustness to state changes between files.
26745
26746 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26747
26748         * check/Makefile.am:
26749           don't valgrind the controller test - it's leaking - Stefan, HELP
26750         * gst/check/gstcheck.c: (gst_check_message_error),
26751         (gst_check_chain_func), (gst_check_setup_element),
26752         (gst_check_teardown_element), (gst_check_setup_src_pad),
26753         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26754         (gst_check_teardown_sink_pad):
26755         * gst/check/gstcheck.h:
26756           add a bunch of methods to set up elements, and src and sink pads
26757         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26758         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26759         (GST_START_TEST):
26760           use them
26761         * gst/gstmessage.c:
26762         * gst/gsttag.h:
26763           whitespace/doc fixes
26764
26765 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26766
26767         * gst/gstelement.h:
26768           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26769           be handled by the application and not always printed as well
26770
26771 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26772
26773         * check/Makefile.am:
26774           set GST_TOOLS_DIR
26775         * gst/check/gstcheck.c: (gst_check_message_error):
26776         * gst/check/gstcheck.h:
26777           add a fail_unless_equals_int
26778           add fail_unless for error messages
26779
26780 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26781
26782         * check/Makefile.am:
26783         * check/gst.supp:
26784         * common/Makefile.am:
26785         * common/check.mak:
26786         * common/gst.supp:
26787           factor out some of the common stuff so we can use it
26788
26789 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26790
26791         * check/Makefile.am:
26792         * check/gst/gstiterator.c: (GST_START_TEST):
26793         * check/gst/gstsystemclock.c: (GST_START_TEST),
26794         (gst_systemclock_suite):
26795         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26796         * gst/gstclock.c:
26797           valgrind more tests
26798
26799 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26800
26801         * check/elements/.cvsignore:
26802         * check/elements/gstfakesrc.c:
26803           rename to name of element
26804         * check/elements/identity.c: (chain_func), (event_func),
26805         (setup_identity), (cleanup_identity), (GST_START_TEST),
26806         (identity_suite), (main):
26807           add a test for identity
26808         * check/Makefile.am:
26809         * pkgconfig/Makefile.am:
26810         * pkgconfig/gstreamer-check.pc.in:
26811         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26812         * gst/check:
26813         * gst/Makefile.am:
26814         * configure.ac:
26815           move the check stuff to a library that gets installed
26816         * check/gst-libs/controller.c: (GST_START_TEST):
26817         * check/gst-libs/gdp.c:
26818         * check/gst/gst.c: (GST_START_TEST):
26819         * check/gst/gstbin.c:
26820         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26821         * check/gst/gstbus.c:
26822         * check/gst/gstcaps.c: (GST_START_TEST):
26823         * check/gst/gstelement.c:
26824         * check/gst/gstghostpad.c:
26825         * check/gst/gstiterator.c:
26826         * check/gst/gstmessage.c:
26827         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26828         * check/gst/gstobject.c:
26829         * check/gst/gstpad.c: (GST_START_TEST):
26830         * check/gst/gststructure.c: (GST_START_TEST):
26831         * check/gst/gstsystemclock.c: (GST_START_TEST),
26832         (gst_systemclock_suite):
26833         * check/gst/gsttag.c: (gst_tag_suite):
26834         * check/gst/gstvalue.c:
26835         * check/pipelines/cleanup.c:
26836         * check/pipelines/simple_launch_lines.c:
26837         * check/states/sinks.c:
26838           change include statement
26839
26840         * docs/gst/gstreamer-sections.txt:
26841         * docs/gst/tmpl/gstpad.sgml:
26842           document more pad stuff
26843         * gst/gstminiobject.c: (gst_mini_object_ref),
26844         (gst_mini_object_unref):
26845           debug refcounting
26846
26847 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26848
26849         * docs/gst/tmpl/gst.sgml:
26850         * gst/gst.c:
26851           eliminate another tmpl file, fix spelling in the long-description
26852
26853 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26854
26855         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26856         (test_event), (timediff), (gstevents_suite):
26857           Should fix build on 64-bit arch's
26858
26859 2005-08-18  Andy Wingo  <wingo@pobox.com>
26860
26861         Make sure that when a pipeline goes to PLAYING, that data has
26862         actually hit the sink.
26863
26864         * check/states/sinks.c (test_sink): A sink that doesn't get any
26865         data shouldn't return SUCCESS for going to either PLAYING or
26866         PAUSED. Test also the return values on the way back down.
26867
26868         * gst/gstelement.c (gst_element_set_state): When changing the
26869         state of an element currently changing state asynchronously, go to
26870         lost-state after commiting the pending state. Makes future calls
26871         to get_state continue to return ASYNC.
26872
26873         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26874         ASYNC when going to PLAYING if we still don't have preroll, as can
26875         happen with live sources.
26876
26877 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26878
26879         * docs/pwg/advanced-types.xml:
26880           Hack long paragraph into 2 chunks as a workaround for buggy
26881           jadetex version in sid and breezy that loops infinitely and
26882           eats all RAM.
26883
26884 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26885
26886         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26887         (test_event), (timediff), (gstevents_suite):
26888           Provide more error margin in clock measurements to allow for 
26889           g_get_current_time inaccuracies.
26890
26891 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26892
26893         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26894         (test_event), (timediff), (gstevents_suite):
26895            Fix error message output so I might be able to tell why the
26896            test works here but fails on the build farm.
26897
26898 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26899
26900         * check/Makefile.am:
26901         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26902         (test_event), (timediff), (gstevents_suite), (main):
26903           I wrote a test!
26904
26905         * docs/design/part-seeking.txt:
26906           Spelling correction
26907
26908         * docs/gst/tmpl/gstevent.sgml:
26909         * docs/gst/tmpl/gstfakesrc.sgml:
26910           Docs updates.
26911
26912         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26913           Treat a buffer-without-newsegment the same as a receiving 
26914           a newsegment not in time format, and disable syncing to the clock
26915           with a warning.
26916
26917         * gst/gstbus.c: (gst_bus_set_sync_handler):
26918           Assert if anyone tries to replace the existing sync_handler for bus, 
26919           as only the owner should be setting it.
26920
26921         * gst/gstevent.h:
26922           Have a fixed set of custom event enums with events identified by
26923           their structure name (as in 0.8), rather than a free-for-all
26924           allowing collisions between enum values from different plugins.
26925
26926         * gst/gstpad.c: (gst_pad_class_init):
26927           Docs change.
26928           
26929         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26930           Handle out-of-band downstream events from the sending thread.
26931
26932 2005-08-17  Andy Wingo  <wingo@pobox.com>
26933
26934         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26935         play-timeout==0 to mean no timeout at all. In that case, don't
26936         bother with a get_state or a warning, just return directly, even
26937         if it's ASYNC.
26938
26939         * gst/base/gstbasetransform.c: Debug changes.
26940
26941         * gst/gstutils.h:
26942         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26943         ensure bins post state change messages. A bit of a hack but I can't
26944         think of a way to avoid it.
26945
26946         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26947
26948 2005-08-16  Andy Wingo  <wingo@pobox.com>
26949
26950         * gst/base/gstadapter.h:
26951         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26952         peek() but you own the data. Not terribly efficient atm.
26953
26954 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26955
26956         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26957         (gst_element_found_tags):
26958         * gst/gstutils.h:
26959           Add two utility functions for tag handling.
26960
26961 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26962
26963         * docs/manual/advanced-dataaccess.xml:
26964         * docs/manual/basics-helloworld.xml:
26965           Fix docs to use _bin_add() before _link(), which fixes the examples
26966           with recent core versions (reported by Madhan Raj M
26967           <raj_madan@rediffmail.com>, #313199).
26968
26969 2005-08-16  Wim Taymans  <wim@fluendo.com>
26970
26971         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26972         Added subtract checks.
26973
26974         * docs/design/part-events.txt:
26975         Some more docs about newsegment
26976
26977         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26978         Fix FIXME
26979
26980         * gst/gstcaps.c: (gst_caps_to_string):
26981         Add comments, cleanups.
26982         
26983         * gst/gstelement.c: (gst_element_save_thyself):
26984         cleanups
26985         
26986         * gst/gstvalue.c: (gst_value_collect_int_range),
26987         (gst_string_unwrap), (gst_value_union_int_int_range),
26988         (gst_value_union_int_range_int_range),
26989         (gst_value_intersect_int_int_range),
26990         (gst_value_intersect_int_range_int_range),
26991         (gst_value_intersect_double_double_range),
26992         (gst_value_intersect_double_range_double_range),
26993         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26994         (gst_value_subtract_int_range_int),
26995         (gst_value_subtract_double_range_double),
26996         (gst_value_subtract_double_range_double_range),
26997         (gst_value_subtract_from_list), (gst_value_subtract_list),
26998         (gst_value_can_compare), (gst_value_compare_fraction):
26999         Cleanups, add comments, remove unneeded asserts.
27000
27001 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27002
27003         * tools/gst-launch.c: (event_loop):
27004           don't convert NULL structures to strings
27005
27006 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27007
27008         * docs/gst/gstreamer-sections.txt:
27009           made some defines private
27010         * docs/gst/tmpl/gstconfig.sgml:
27011         * docs/gst/tmpl/gstqueue.sgml:
27012         * docs/gst/tmpl/gsttaglist.sgml:
27013         * docs/gst/tmpl/gsttypes.sgml:
27014         * docs/gst/tmpl/gstutils.sgml:
27015         * docs/pwg/appendix-porting.xml:
27016         * gst/base/gstbasesink.h:
27017         * gst/base/gstbasesrc.c:
27018         * gst/base/gstbasesrc.h:
27019         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27020         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27021         * gst/gstelement.c: (gst_element_class_init):
27022         * gst/gstpad.c: (gst_pad_class_init):
27023         * gst/gstqueue.c: (gst_queue_class_init):
27024         * gst/gstxml.c: (gst_xml_class_init):
27025           documented all undocumented signal inline
27026         * libs/gst/controller/gst-controller.h:
27027           added padding
27028
27029 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27030
27031         * docs/pwg/appendix-porting.xml:
27032           Document _set_link_function -> _set_setcaps_function.
27033
27034 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27035
27036         * check/Makefile.am:
27037           add a .check target for running the check
27038         * check/gst-libs/controller.c: (GST_START_TEST):
27039           cosmetic fixups
27040         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27041           complete checks for gstbuffer; would be nice if I could get the
27042           gcov stuff to work so I can see if I actually completed gstbuffer.c
27043         * check/gstcheck.h:
27044           add ASSERT_BUFFER_REFCOUNT
27045
27046 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27047
27048         * docs/gst/gstreamer-sections.txt:
27049         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27050         * gst/gsttag.h:
27051           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27052           spew out a warning if a tag that is already registered
27053           is re-registered, unless it is re-registered with a 
27054           different type (#308438).
27055
27056 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27057
27058         * docs/pwg/appendix-porting.xml:
27059         * docs/pwg/building-state.xml:
27060           Add some paragraphs about state changes in 0.9 to the PWG
27061           and the porting guide, in particular about the new meaning
27062           of GST_STATE_PAUSED and how to write state change functions
27063           with concurrent access by multiple threads in mind.
27064
27065 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27066
27067         * docs/gst/gstreamer-docs.sgml:
27068         * docs/libs/gstreamer-libs-docs.sgml:
27069           added deprecation and since indexes
27070         * libs/gst/controller/gst-controller.c:
27071         * libs/gst/controller/gst-helper.c:
27072           added since tags
27073
27074
27075 2005-08-11  Wim Taymans  <wim@fluendo.com>
27076
27077         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27078         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27079         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27080         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27081         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27082         (gst_ghost_pad_set_target):
27083         Actually implement (re)setting the target on a ghostpad
27084         as described in the docs.
27085
27086 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27087
27088         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27089           Check whether GST_DEBUG_NO_COLOR environment variable is
27090           set and disable coloured debug output if that is the case.
27091
27092 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27093
27094         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27095         (gst_type_find_helper):
27096           The memory returned by gst_type_find_peek() needs to
27097           stay valid until the end of a typefind function, and
27098           typefind functions may keep results from different 
27099           offsets around, so we can't just unref the buffer from
27100           the previous _peek(), but have to save all buffers 
27101           returned by _peek() until typefinding is done and only
27102           free them then.
27103
27104 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27105
27106         * docs/gst/gstreamer-sections.txt:
27107         * gst/gstutils.h:
27108           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27109
27110 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27111
27112         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27113           Fix a pretty good memleak.
27114
27115 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27116
27117         * gst/gstiterator.h:
27118           Fix wrong include and 'make distcheck'.
27119
27120 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27121
27122         * gst/gstbin.c: (bin_bus_handler):
27123           Use gst_element_post_message() instead.
27124
27125 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27126
27127         * gst/base/gstadapter.h:
27128         * gst/base/gstbasesink.h:
27129         * gst/base/gstbasesrc.h:
27130         * gst/base/gstbasetransform.h:
27131         * gst/base/gstcollectpads.h:
27132         * gst/base/gstpushsrc.h:
27133         * gst/gstiterator.h:
27134           Add padding to our base elements' class and instance structs and
27135           to GstIterator (you will need to rebuild all plugins and apps!)
27136
27137 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27138
27139         * gst/gstbin.c: (bin_bus_handler):
27140           Make default message forwarding from child->bus to bin->bus
27141           threadsafe and make it not emit warnings if the parent has no bus.
27142
27143 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27144
27145         * gst/gstelement.c: (activate_pads):
27146           On paused->ready, set pad->caps to NULL, as is the documented
27147           behaviour in this state change. Fixes playback of series of
27148           media files when visualization is enabled in Totem.
27149
27150 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27151
27152         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27153           Allow NULL as filter-caps (which means "any").
27154
27155 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27156
27157         * docs/libs/gstreamer-libs-sections.txt:
27158         * libs/gst/controller/gst-controller.c:
27159         * libs/gst/controller/gst-controller.h:
27160         * libs/gst/controller/gst-helper.c:
27161           adding more entries to the docs and fix small doc-bugs
27162
27163 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27164
27165         * docs/gst/gstreamer-docs.sgml:
27166         * docs/gst/gstreamer-sections.txt:
27167         * docs/gst/gstreamer.types:
27168         * docs/gst/tmpl/gstbasesink.sgml:
27169         * docs/gst/tmpl/gstbasesrc.sgml:
27170         * docs/gst/tmpl/gstbasetransform.sgml:
27171         * docs/gst/tmpl/gstfakesrc.sgml:
27172         * gst/base/gstcollectpads.c:
27173         * gst/base/gstcollectpads.h:
27174         * libs/gst/controller/gst-controller.c:
27175         * libs/gst/controller/gst-controller.h:
27176         * libs/gst/controller/gst-helper.c:
27177         * libs/gst/controller/gst-interpolation.c:
27178         * libs/gst/controller/lib.c:
27179           added long/short desc for controller docs
27180           added collectpads base class docs
27181           added correct includes to base-class docs
27182
27183 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27184
27185         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27186         (gst_test_mono_source_set_property),
27187         (gst_test_mono_source_class_init), (GST_START_TEST),
27188         (gst_controller_suite):
27189         * docs/gst/gstreamer-docs.sgml:
27190         * docs/gst/gstreamer-sections.txt:
27191         * docs/gst/gstreamer.types:
27192         * docs/libs/gstreamer-libs-docs.sgml:
27193         * docs/libs/gstreamer-libs-sections.txt:
27194         * gst/base/gstadapter.c:
27195         * libs/gst/controller/gst-controller.c:
27196         (gst_controlled_property_new), (gst_controlled_property_free),
27197         (gst_controller_new_valist),
27198         (gst_controller_remove_properties_valist),
27199         (gst_controller_sink_values), (_gst_controller_finalize):
27200         * libs/gst/controller/gst-controller.h:
27201         * libs/gst/controller/gst-helper.c:
27202         (gst_object_control_properties), (gst_object_uncontrol_properties),
27203         (gst_object_get_controller), (gst_object_set_controller),
27204         (gst_object_sink_values), (gst_object_get_value_arrays),
27205         (gst_object_get_value_array):
27206           more tests (and fixes) for the controller
27207           more docs for the controller
27208           integrated companies docs for the adapter 
27209
27210 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27211
27212         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27213         (GST_START_TEST), (fakesrc_suite):
27214           add tests for sizetype
27215
27216 2005-08-04  Andy Wingo  <wingo@pobox.com>
27217
27218         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27219         fixes buffer_alloc proxying among other things.
27220
27221         * gst/base/gstbasetransform.c:
27222         * gst/base/gstbasetransform.h:
27223         Revert patch to gstbasetransform from 7-28 removing
27224         delay_configure.
27225
27226         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27227         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27228         Semantics changed, should return not the size of the output buffer
27229         but the byte size of a buffer with a given caps.
27230
27231         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27232         debug object.
27233         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27234         out) are not the pad caps until setcaps finishes.
27235         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27236         not-in-place case as well. Deal with changing from in-place to
27237         not-in-place within calling pad_alloc_buffer. Still a bit
27238         concerned about the overhead here...
27239
27240 2005-08-03  Andy Wingo  <wingo@pobox.com>
27241
27242         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27243         fixating is an error.
27244
27245 2005-08-04  Edward Hervey  <edward@fluendo.com>
27246
27247         * gst/base/gstadapter.h: 
27248         Added gst_adapter_get_type() to the header
27249
27250 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27251
27252         * check/Makefile.am:
27253         * check/gst-libs/controller.c:
27254         * libs/gst/controller/gst-controller.c:
27255         (gst_controller_new_valist):
27256           added check test suite for the controller
27257         * gst/base/gstpushsrc.c:
27258           fixed a doc typo
27259
27260 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27261
27262         * docs/gst/Makefile.am:
27263         * docs/gst/gstreamer-docs.sgml:
27264         * docs/gst/gstreamer-sections.txt:
27265         * docs/gst/gstreamer.types:
27266         * docs/gst/tmpl/gstfakesrc.sgml:
27267         * gst/base/README:
27268         * gst/base/gstbasesink.c:
27269         * gst/base/gstbasesink.h:
27270         * gst/base/gstbasesrc.c:
27271         * gst/base/gstbasesrc.h:
27272         * gst/base/gstbasetransform.c:
27273         * gst/base/gstpushsrc.c:
27274         * gst/base/gstpushsrc.h:
27275           add short/long description docs to base classes
27276           add pushsrc to the docs
27277           remove consolidated doc fragments
27278
27279 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27280
27281         * configure.ac:
27282         * docs/libs/Makefile.am:
27283         * docs/libs/gstreamer-libs-docs.sgml:
27284         * docs/libs/gstreamer-libs-sections.txt:
27285         * docs/libs/gstreamer-libs.types:
27286         * examples/Makefile.am:
27287         * examples/controller/.cvsignore:
27288         * examples/controller/Makefile.am:
27289         * examples/controller/audio-example.c: (main):
27290         * libs/gst/Makefile.am:
27291         * libs/gst/controller/.cvsignore:
27292         * libs/gst/controller/Makefile.am:
27293         * libs/gst/controller/gst-controller.c:
27294         (on_object_controlled_property_changed), (gst_timed_value_compare),
27295         (gst_timed_value_find),
27296         (gst_controlled_property_set_interpolation_mode),
27297         (gst_controlled_property_new), (gst_controlled_property_free),
27298         (gst_controller_find_controlled_property),
27299         (gst_controller_new_valist), (gst_controller_new),
27300         (gst_controller_remove_properties_valist),
27301         (gst_controller_remove_properties), (gst_controller_set),
27302         (gst_controller_set_from_list), (gst_controller_unset),
27303         (gst_controller_get), (gst_controller_get_all),
27304         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27305         (gst_controller_get_value_array),
27306         (gst_controller_set_interpolation_mode),
27307         (_gst_controller_finalize), (_gst_controller_init),
27308         (_gst_controller_class_init), (gst_controller_get_type):
27309         * libs/gst/controller/gst-controller.h:
27310         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27311         (g_object_uncontrol_properties), (g_object_get_controller),
27312         (g_object_set_controller), (g_object_sink_values),
27313         (g_object_get_value_arrays), (g_object_get_value_array):
27314         * libs/gst/controller/gst-interpolation.c:
27315         (gst_controlled_property_find_timed_value_node),
27316         (interpolate_none_get), (interpolate_trigger_get),
27317         (interpolate_trigger_get_value_array):
27318         * libs/gst/controller/lib.c: (gst_controller_init):
27319         * pkgconfig/Makefile.am:
27320         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27321         * pkgconfig/gstreamer-control.pc.in:
27322         * testsuite/Makefile.am:
27323         * testsuite/controller/.cvsignore:
27324         * testsuite/controller/Makefile.am:
27325         * testsuite/controller/interpolator.c: (main):
27326           added controller code
27327           removed dparam pc files
27328
27329 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27330         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27331         (gst_collectpads_stop):
27332           Broadcast the condition when shutting down, to make sure we wake all
27333           threads up. Shut down pads on finalize, for safety.
27334
27335 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27336         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27337         (gst_base_transform_handle_buffer),
27338         (gst_base_transform_change_state):
27339           Handle PAUSED->READY->PAUSED transition after negotiation
27340           occurred already.
27341         * gst/gstmessage.c: (gst_message_init):
27342           Extra piece of debug for new messages.
27343
27344 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27345
27346         * configure.ac:
27347         * docs/gst/tmpl/gstbasesrc.sgml:
27348         * docs/gst/tmpl/gstelement.sgml:
27349         * docs/gst/tmpl/gstevent.sgml:
27350         * docs/gst/tmpl/gstfakesrc.sgml:
27351         * docs/gst/tmpl/gstformat.sgml:
27352         * docs/gst/tmpl/gstghostpad.sgml:
27353         * docs/gst/tmpl/gstpad.sgml:
27354         * docs/gst/tmpl/gstquery.sgml:
27355         * docs/gst/tmpl/gststructure.sgml:
27356         * docs/gst/tmpl/gsttaglist.sgml:
27357         * docs/gst/tmpl/gstvalue.sgml:
27358         * docs/libs/gstreamer-libs-docs.sgml:
27359         * docs/libs/gstreamer-libs-sections.txt:
27360         * docs/libs/gstreamer-libs.types:
27361         * libs/gst/Makefile.am:
27362         * libs/gst/control/.cvsignore:
27363         * libs/gst/control/Makefile.am:
27364         * libs/gst/control/control.c:
27365         * libs/gst/control/control.h:
27366         * libs/gst/control/dparam.c:
27367         * libs/gst/control/dparam.h:
27368         * libs/gst/control/dparam_smooth.c:
27369         * libs/gst/control/dparam_smooth.h:
27370         * libs/gst/control/dparamcommon.h:
27371         * libs/gst/control/dparammanager.c:
27372         * libs/gst/control/dparammanager.h:
27373         * libs/gst/control/dplinearinterp.c:
27374         * libs/gst/control/dplinearinterp.h:
27375         * libs/gst/control/unitconvert.c:
27376         * libs/gst/control/unitconvert.h:
27377         * testsuite/Makefile.am:
27378         * testsuite/dynparams/.cvsignore:
27379         * testsuite/dynparams/Makefile.am:
27380         * testsuite/dynparams/dparamstest.c:
27381         * tools/Makefile.am:
27382         * tools/gst-inspect.c: (print_element_info), (main):
27383         * tools/gst-xmlinspect.c: (print_element_info), (main):
27384           deactivate and remove dparams (libgstcontrol)
27385
27386 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27387
27388         * gst/elements/gsttypefindelement.c:
27389         (gst_type_find_element_have_type), (gst_type_find_element_init),
27390         (stop_typefinding), (gst_type_find_element_handle_event),
27391         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27392         * gst/elements/gsttypefindelement.h:
27393           Set caps on all outgoing buffers, not just the first one.
27394
27395 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27396
27397         * gst/elements/gsttypefindelement.c:
27398         (gst_type_find_element_have_type),
27399         (gst_type_find_element_check_set_buffer_caps),
27400         (gst_type_find_element_init), (stop_typefinding),
27401         (gst_type_find_element_handle_event),
27402         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27403         * gst/elements/gsttypefindelement.h:
27404           Set caps on first outgoing buffer when we've found the type.
27405
27406 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27407
27408         * docs/gst/gstreamer-docs.sgml:
27409         * docs/gst/gstreamer-sections.txt:
27410         * docs/gst/tmpl/gstscheduler.sgml:
27411         * docs/gst/tmpl/gstschedulerfactory.sgml:
27412           Remove some old cruft from docs.
27413
27414 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27415
27416         * gst/gstpad.h:
27417           Fix inline docs for GstPadLinkReturn.
27418           
27419         * gst/gststructure.c: (gst_structure_has_name):
27420         * gst/gststructure.h:
27421         * docs/gst/gstreamer-sections.txt:
27422           New API: gst_structure_has_name().
27423
27424 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27425
27426         * configure.ac:
27427           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27428           and _LARGEFILE_SOURCE in config.h as required. Do not 
27429           export those flags in our .pc files any longer (#142209).
27430
27431           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27432
27433         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27434         (gst_file_sink_do_seek), (gst_file_sink_event),
27435         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27436           Redo seek/tell calls with large file support in mind; add some
27437           debugging messages; add log message that tells us when large
27438           file support is unavailable or not enabled for some reason.
27439
27440         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27441           Add log message that tells us when large file support 
27442           is unavailable or not enabled for some reason.
27443
27444 2005-07-29  Wim Taymans  <wim@fluendo.com>
27445
27446         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27447         Added test for removing an element with ghostpad from a bin.
27448         Fixed test as current implementation does the right thing.
27449
27450         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27451         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27452         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27453         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27454         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27455         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27456         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27457         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27458         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27459         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27460         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27461         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27462         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27463         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27464         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27465         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27466         * gst/gstghostpad.h:
27467         Clean up ghostpads, remove properties for internal stuff.
27468         Make threadsafe.
27469         Fix refcounting.
27470         Prepare for switching targets, not all use cases work yet.
27471
27472 2005-07-29  Wim Taymans  <wim@fluendo.com>
27473
27474         * docs/design/part-gstghostpad.txt:
27475         Small update.
27476
27477         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27478         (gst_bin_remove_func):
27479         Unlinking pads while holding the bin LOCK is not a good
27480         idea.
27481
27482         * gst/gstpad.c: (gst_pad_class_init),
27483         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27484         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27485         No prob setting template after creating the pad.
27486
27487 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27488
27489         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27490         (gst_bus_peek), (gst_bus_source_dispatch),
27491         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27492         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27493           gst_bus_poll may be called from other threads. Handle
27494           this nicely by not making poll_data disappear off the
27495           stack once gst_bus_poll returns.
27496           gst_bus_peek now increments the refcount on the returned
27497           message.
27498
27499 2005-07-29  Wim Taymans  <wim@fluendo.com>
27500
27501         * docs/design/part-gstghostpad.txt:
27502         Overview of current GhostPad datastructures and use
27503         cases for changing the target.
27504
27505 2005-07-28  Wim Taymans  <wim@fluendo.com>
27506
27507         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27508         Added checks for hierarchy consistency whan adding linked
27509         elements to bins.
27510
27511         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27512         Added check to test element scheduling without bin/pipeline.
27513
27514         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27515         First add elements to bin, then link.
27516         
27517         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27518         (gst_bin_remove_func):
27519         Unlink pads from elements added/removed from bin to maintain
27520         hierarchy consistency.
27521
27522 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27523
27524         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27525         (gst_base_transform_handle_buffer):
27526         * gst/base/gstbasetransform.h:
27527           Remove broken delay_configure (fixes renegotiation of software
27528           scaling pipelines); remove some leftover printf()s.
27529
27530 2005-07-28  Wim Taymans  <wim@fluendo.com>
27531
27532         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27533         Added some more tests for wrong hierarchy
27534
27535         * docs/design/part-overview.txt:
27536         Some updates.
27537
27538         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27539         Cleanups.
27540
27541         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27542         (gst_element_dispose):
27543         Some more cleanups.
27544
27545         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27546         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27547         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27548         (gst_pad_set_caps), (gst_pad_send_event):
27549         Check for correct hierarchy when linking pads. Moving to
27550         strict requirement for ghostpads when linking elements in
27551         different bins.
27552
27553         * gst/gstpad.h:
27554         Clean ups. Added WRONG_HIERARCHY return value.
27555
27556 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27557
27558         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27559           Better debug if no transform is possible.
27560
27561 2005-07-27  Wim Taymans  <wim@fluendo.com>
27562
27563         * docs/random/wtay/network-transp:
27564         Some old doc I had.
27565
27566 2005-07-27  Wim Taymans  <wim@fluendo.com>
27567
27568         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27569         (gst_dp_event_from_packet):
27570         Fix serialization of seek events.
27571
27572 2005-07-27  Wim Taymans  <wim@fluendo.com>
27573
27574         * check/gst-libs/gdp.c: (GST_START_TEST):
27575         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27576         Fix compilation and fix event serialization.
27577
27578 2005-07-27  Wim Taymans  <wim@fluendo.com>
27579
27580         * CHANGES-0.9:
27581         * docs/design/part-TODO.txt:
27582         * docs/design/part-events.txt:
27583         Some docs updates
27584
27585         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27586         (gst_base_sink_event), (gst_base_sink_do_sync),
27587         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27588         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27589         (gst_base_src_do_seek), (gst_base_src_event_handler),
27590         (gst_base_src_loop):
27591         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27592         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27593         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27594         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27595         (gst_base_transform_set_passthrough),
27596         (gst_base_transform_is_passthrough):
27597         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27598         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27599         Event updates.
27600
27601         * gst/gstbuffer.h:
27602         Use faster casts.
27603
27604         * gst/gstelement.c: (gst_element_seek):
27605         * gst/gstelement.h:
27606         Update gst_element_seek.
27607
27608         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27609         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27610         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27611         (gst_event_new_eos), (gst_event_new_newsegment),
27612         (gst_event_parse_newsegment), (gst_event_new_tag),
27613         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27614         (gst_event_parse_qos), (gst_event_new_seek),
27615         (gst_event_parse_seek), (gst_event_new_navigation):
27616         * gst/gstevent.h:
27617         Make GstEvent use GstStructure. Add parsing code, make sure the
27618         API is sufficiently generic.
27619         Mark possible directions of events and serialization.
27620
27621         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27622         (_gst_message_copy), (gst_message_new_segment_start),
27623         (gst_message_new_segment_done), (gst_message_new_custom),
27624         (gst_message_parse_segment_start),
27625         (gst_message_parse_segment_done):
27626         Small cleanups.
27627
27628         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27629         (gst_pad_set_caps), (gst_pad_send_event):
27630         Update for new events. 
27631         Catch events sent in wrong directions.
27632
27633         * gst/gstqueue.c: (gst_queue_link_src),
27634         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27635         (gst_queue_handle_src_query):
27636         Event updates.
27637
27638         * gst/gsttag.c:
27639         * gst/gsttag.h:
27640         Remove event code from this file.
27641
27642         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27643         (gst_dp_event_from_packet):
27644         Event updates.
27645
27646 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27647
27648         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27649         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27650         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27651           Make debugging actually useful.
27652
27653 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27654
27655         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27656         (gst_pad_fixate_caps):
27657           Implement default fixation once again, so that gst_pad_fixate()
27658           actually does anything at all. This probably needs to be some
27659           sort of a last resort, and use profile-based fixation first, but
27660           since that doesn't exist yet, this is the best we have. Fixes
27661           visualization in Totem.
27662
27663 2005-07-22  Wim Taymans  <wim@fluendo.com>
27664
27665         * docs/design/part-events.txt:
27666         Small update.
27667
27668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27669         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27670         (gst_base_sink_activate_pull):
27671         Some more comments.
27672
27673         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27674         (gst_fake_src_create):
27675         Fix handoff marshall.
27676
27677         * gst/elements/gstidentity.c: (gst_identity_class_init),
27678         (gst_identity_transform_ip):
27679         We're a real inplace element.
27680
27681         * gst/gstbus.c: (gst_bus_post):
27682         Added some comments.
27683
27684         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27685         * tests/muxing/case1.c: (main):
27686         * tests/sched/dynamic-pipeline.c: (main):
27687         * tests/sched/interrupt1.c: (main):
27688         * tests/sched/interrupt2.c: (main):
27689         * tests/sched/interrupt3.c: (main):
27690         * tests/sched/runxml.c: (main):
27691         * tests/sched/sched-stress.c: (main):
27692         * tests/seeking/seeking1.c: (event_received), (main):
27693         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27694         (main):
27695         * tests/threadstate/threadstate3.c: (main):
27696         * tests/threadstate/threadstate4.c: (main):
27697         * tests/threadstate/threadstate5.c: (main):
27698         Fix the tests.
27699
27700 2005-07-21  Wim Taymans  <wim@fluendo.com>
27701
27702         * docs/design/part-seeking.txt:
27703         Some small additions.
27704
27705         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27706         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27707         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27708         * gst/base/gstbasesink.h:
27709         discont values are gint64, handle the math correctly.
27710
27711         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27712         Make the basesrc report error if the source pad is not linked.
27713
27714         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27715         (gst_queue_loop), (gst_queue_handle_src_query),
27716         (gst_queue_src_activate_push):
27717         Make queue collect data even if the srcpad is not linked.
27718         Start pushing out data as soon as it is linked.
27719
27720         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27721         * gst/gstutils.h:
27722         Added gst_flow_get_name() to ease error reporting.
27723
27724 2005-07-20  Wim Taymans  <wim@fluendo.com>
27725
27726         * gst/gstmessage.c: (gst_message_new_segment_start),
27727         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27728         (gst_message_parse_segment_done):
27729         * gst/gstmessage.h:
27730         Added a bunch of messages for advanced seeking.
27731
27732         * gst/parse/grammar.y:
27733         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27734         (gst_dpman_state_changed):
27735         Fix some new-pad -> pad-added signals
27736
27737 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27738
27739         * docs/manual/appendix-porting.xml:
27740         * docs/pwg/appendix-porting.xml:
27741           Document new-pad/state-change signal renames and the FixedList
27742           type rename.
27743
27744 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27745
27746         * docs/manual/advanced-autoplugging.xml:
27747         * docs/manual/basics-helloworld.xml:
27748         * docs/manual/basics-pads.xml:
27749         * docs/random/ds/0.9-suggested-changes:
27750         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27751         * gst/gstelement.h:
27752         * gst/gstevent.h:
27753         * gst/gstformat.h:
27754         * gst/gstquery.h:
27755         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27756         (gst_structure_parse_array), (gst_structure_parse_value):
27757         * gst/gstvalue.c: (gst_type_is_fixed),
27758         (gst_value_list_prepend_value), (gst_value_list_append_value),
27759         (gst_value_list_get_size), (gst_value_list_get_value),
27760         (gst_value_transform_array_string), (gst_value_serialize_array),
27761         (gst_value_deserialize_array), (gst_value_intersect_array),
27762         (gst_value_is_fixed), (_gst_value_initialize):
27763         * gst/gstvalue.h:
27764           GstElement::new-pad -> pad-added, GstElement::state-change ->
27765           state-changed, GstValueFixedList -> GstValueArray, add format and
27766           flags as their own arguments in gst_element_seek() (should improve
27767           "bindeability"), remove function generators since they don't work
27768           under a whole bunch of compilers (they were deprecated already
27769           anyway).
27770
27771 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27772
27773         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27774         (_gst_debug_register_funcptr):
27775         * gst/gstinfo.h:
27776           Fix illegal cast on some platforms (#309253).
27777
27778 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27779
27780         * gst/gstmessage.c: (gst_message_new_custom):
27781         * gst/gstmessage.h:
27782           Add _new_custom, make _new_application a macro to _new_custom.
27783
27784 2005-07-20  Wim Taymans  <wim@fluendo.com>
27785
27786         * gst/base/gstbasesrc.c: (gst_base_src_init),
27787         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27788         * gst/base/gstbasesrc.h:
27789         Add a gboolean to decide when to push out a discont.
27790
27791         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27792         (gst_queue_loop), (gst_queue_handle_src_query),
27793         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27794         (gst_queue_set_property), (gst_queue_get_property):
27795         Some cleanups.
27796
27797         * tests/threadstate/threadstate1.c: (main):
27798         Make a thread test compile and run... very silly..
27799
27800
27801 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27802
27803         * docs/manual/appendix-porting.xml:
27804           Mention removal of libgstgconf-0.9.la and existence of gconf
27805           elements.
27806
27807 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27808
27809         * docs/pwg/advanced-clock.xml:
27810         * docs/pwg/appendix-porting.xml:
27811         * docs/pwg/intro-preface.xml:
27812         * docs/pwg/other-base.xml:
27813         * docs/pwg/other-manager.xml:
27814         * docs/pwg/other-nton.xml:
27815         * docs/pwg/other-ntoone.xml:
27816         * docs/pwg/other-oneton.xml:
27817         * docs/pwg/pwg.xml:
27818           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27819           demuxer), remove n-to-n (was never written), fix some code examples
27820           and links and update the porting section to include all this.
27821
27822 2005-07-19  Wim Taymans  <wim@fluendo.com>
27823
27824         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27825         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27826         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27827         (gst_queue_src_activate_push), (gst_queue_change_state),
27828         (gst_queue_get_property):
27829         * gst/gstqueue.h:
27830         Propagate GstFlowReturn more intelligently upstream and output
27831         an ERROR/EOS when streaming stopped due to fatal error.
27832
27833 2005-07-19  Wim Taymans  <wim@fluendo.com>
27834
27835         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27836         Don't block forever for the state change to complete, the
27837         pipeline already did with a sensible timeout.
27838
27839 2005-07-19  Wim Taymans  <wim@fluendo.com>
27840
27841         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27842         Make sure we never call the create function is we
27843         got deactivated.
27844
27845 2005-07-19  Andy Wingo  <wingo@pobox.com>
27846
27847         * gst/parse/parse.l: Attempt to solve bug #172815.
27848
27849 2005-07-19  Wim Taymans  <wim@fluendo.com>
27850
27851         * docs/design/part-clocks.txt:
27852         * docs/design/part-events.txt:
27853         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27854         Small docs updates.
27855         Only update the seeking values when we are not
27856         busy streaming.
27857
27858 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27859
27860         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27861           Oops, ignore the result of gst_pad_push_event here.
27862
27863 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27864
27865         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27866         (gst_base_src_activate_push):
27867           Send discont event from the loop function, as pads
27868           aren't activated yet in the activate_push handler.
27869
27870         * gst/gstbin.c: (bin_bus_handler):
27871           Don't leak element name.
27872
27873 2005-07-18  Andy Wingo  <wingo@pobox.com>
27874
27875         * configure.ac: Use AS_LIBTOOL_TAGS.
27876
27877 2005-07-18  Wim Taymans  <wim@fluendo.com>
27878
27879         * docs/gst/gstreamer.types:
27880         Remove deleted types.
27881
27882 2005-07-18  Wim Taymans  <wim@fluendo.com>
27883
27884         * check/elements/gstfakesrc.c: (GST_START_TEST):
27885         * configure.ac:
27886         * gst/Makefile.am:
27887         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27888         (init_popt_callback):
27889         * gst/gst.h:
27890         * gst/gst_private.h:
27891         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27892         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27893         * gst/gstbin.h:
27894         * gst/gstbus.h:
27895         * gst/gstconfig.h.in:
27896         * gst/gstelement.c: (gst_element_class_init),
27897         (gst_element_set_base_time), (gst_element_get_base_time),
27898         (iterator_fold_with_resync), (gst_element_change_state),
27899         (gst_element_dispose), (gst_element_get_bus):
27900         * gst/gstelement.h:
27901         * gst/gstelementfactory.h:
27902         * gst/gsterror.c: (_gst_core_errors_init):
27903         * gst/gsterror.h:
27904         * gst/gstevent.h:
27905         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27906         * gst/gstindex.c:
27907         * gst/gstinfo.c: (_gst_debug_init):
27908         * gst/gstmessage.c: (_gst_message_copy):
27909         * gst/gstmessage.h:
27910         * gst/gstminiobject.h:
27911         * gst/gstobject.c:
27912         * gst/gstobject.h:
27913         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27914         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27915         * gst/gstpad.h:
27916         * gst/gstparse.h:
27917         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27918         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27919         (gst_pipeline_get_last_stream_time):
27920         * gst/gstpipeline.h:
27921         * gst/gstpluginfeature.h:
27922         * gst/gstquery.h:
27923         * gst/gstscheduler.c:
27924         * gst/gstscheduler.h:
27925         * gst/gststructure.h:
27926         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27927         (gst_task_finalize), (gst_task_func), (gst_task_create),
27928         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27929         (gst_task_stop), (gst_task_pause):
27930         * gst/gsttask.h:
27931         * gst/gsttypefind.h:
27932         * gst/gsttypes.h:
27933         * gst/registries/gstlibxmlregistry.c: (load_feature),
27934         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27935         * gst/registries/gstxmlregistry.c:
27936         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27937         * gst/schedulers/threadscheduler.c:
27938         * libs/gst/control/dparammanager.h:
27939         * tools/gst-inspect.c: (print_element_list),
27940         (print_plugin_features), (print_element_features):
27941         * tools/gst-xmlinspect.c: (print_element_list),
27942         (print_plugin_info), (main):
27943         Removed plugable schedulers.
27944         Removed Scheduler/Manager from elements.
27945         Removed gsttypes.h, rearranged includes.
27946         Removed dependency pad<->element, element<>pipeline, and
27947         various others,  fix includes.
27948         implement gst_pad_get_parent() with gst_object_get_parent()
27949         Make GstTask sefcontained.
27950         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27951         timeout.
27952         Fix endless loop in iterator_fold_with_resync.
27953
27954
27955 2005-07-18  Wim Taymans  <wim@fluendo.com>
27956
27957         * gst/Makefile.am:
27958         * gst/gstarch.h:
27959         Remove old file.
27960
27961 2005-07-18  Wim Taymans  <wim@fluendo.com>
27962
27963         * gst/Makefile.am:
27964         No more cothreads.h
27965
27966 2005-07-18  Wim Taymans  <wim@fluendo.com>
27967
27968         * gst/cothreads.c:
27969         * gst/cothreads.h:
27970         Let's remove these.
27971
27972 2005-07-18  Wim Taymans  <wim@fluendo.com>
27973
27974         * docs/design/part-dynamic.txt:
27975         * docs/design/part-events.txt:
27976         * docs/design/part-seeking.txt:
27977         Some more docs in the works.
27978
27979         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27980         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27981         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27982         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27983         (gst_base_transform_handle_buffer),
27984         (gst_base_transform_sink_activate_push),
27985         (gst_base_transform_src_activate_pull),
27986         (gst_base_transform_set_passthrough),
27987         (gst_base_transform_is_passthrough):
27988         Refcounting fixes.
27989
27990         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27991         Cleanups.
27992
27993         * gst/gstevent.c: (gst_event_finalize):
27994         Set SRC to NULL.
27995
27996         * gst/gstutils.c: (gst_element_unlink),
27997         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27998         (gst_pad_proxy_setcaps):
27999         * gst/gstutils.h:
28000         Add _get_parent_element() to get a pads parent as an element.
28001
28002 2005-07-18  Wim Taymans  <wim@fluendo.com>
28003
28004         * check/gst/gstbin.c: (GST_START_TEST):
28005         Remove bogus test.
28006
28007 2005-07-18  Wim Taymans  <wim@fluendo.com>
28008
28009         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28010         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28011         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28012         (gst_base_sink_event), (gst_base_sink_do_sync),
28013         (gst_base_sink_chain), (gst_base_sink_loop),
28014         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28015         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28016         Refcounting fixes.
28017         Fix logic for returning ASYNC when not prerolled.
28018
28019 2005-07-18  Wim Taymans  <wim@fluendo.com>
28020
28021         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28022         Fix nasty refcount bug.
28023
28024 2005-07-16 Philippe Khalaf <burger@speedy.org>
28025
28026         * gst/elements/gstfdsrc.c:
28027         * gst/elements/gstfdsrc.h:
28028         * gst/elements/gstelements.c:
28029         * gst/elements/Makefile.am:
28030         Ported fdsrc to 0.9.
28031
28032 2005-07-16  Wim Taymans  <wim@fluendo.com>
28033
28034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28035         (gst_base_sink_do_sync):
28036         Fix compile error.
28037
28038 2005-07-16  Wim Taymans  <wim@fluendo.com>
28039
28040         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28041         (gst_base_sink_event), (gst_base_sink_get_times),
28042         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28043         * gst/base/gstbasesink.h:
28044         Store and use discont values when syncing buffers as described
28045         in design docs.
28046         
28047         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28048         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28049         (gst_base_src_activate_push):
28050         Push discont event when starting.
28051
28052         * gst/elements/gstidentity.c: (gst_identity_transform):
28053         Small cleanups.
28054
28055         * gst/gstbin.c: (gst_bin_change_state):
28056         Small cleanups in base_time  distribution.
28057
28058         * gst/gstelement.c: (gst_element_set_base_time),
28059         (gst_element_get_base_time), (gst_element_change_state):
28060         * gst/gstelement.h:
28061         Added methods for the base_time of the element.
28062         Some MT fixes.
28063
28064         * gst/gstpipeline.c: (gst_pipeline_send_event),
28065         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28066         (gst_pipeline_get_last_stream_time):
28067         * gst/gstpipeline.h:
28068         MT fixes.
28069         Handle seeking as described in design doc, remove stream_time
28070         hack.
28071         Cleanups clock and stream_time selection code. Added accessors
28072         for the stream_time.
28073         
28074
28075 2005-07-16  Andy Wingo  <wingo@pobox.com>
28076
28077         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28078         (#305291).
28079
28080 2005-07-16  Wim Taymans  <wim@fluendo.com>
28081
28082         * check/gst/gstbin.c: (GST_START_TEST):
28083         Make elements silent as the deep_notify refs the
28084         parent, which might make the test fail.
28085
28086         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28087         Don't hold the lock for too long.
28088
28089 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28090
28091         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28092           Don't unref the caps we passed to gst_caps_make_writable() after
28093           passing them. gst_caps_make_writable() will do that for us.
28094
28095 2005-07-15  Andy Wingo  <wingo@pobox.com>
28096
28097         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28098         (#157311).
28099
28100         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28101         own marshalling function for the handoff signal. Properly type the
28102         buffer as a buffer. Fixes some warnings. Should do a more general
28103         solution.
28104         (gst_identity_class_init): Plug into the right marshaller.
28105
28106 2005-07-15  Wim Taymans  <wim@fluendo.com>
28107
28108         * docs/design/part-TODO.txt:
28109         * docs/design/part-clocks.txt:
28110         * docs/design/part-element-sink.txt:
28111         * docs/design/part-events.txt:
28112         * docs/design/part-gstpipeline.txt:
28113         Updated docs, mostly DISCONT related.
28114
28115 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28116
28117         * docs/pwg/building-pads.xml:
28118           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28119
28120 2005-07-15  Andy Wingo  <wingo@pobox.com>
28121
28122         * tools/gst-typefind.c: Update, add copyright block.
28123
28124         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28125         Normalize and truncate caps before fixation.
28126
28127         * gst/gstcaps.h:
28128         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28129         discards all but the first structure from its argument.
28130
28131 2005-07-15  Wim Taymans  <wim@fluendo.com>
28132
28133         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28134         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28135         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28136         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28137         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28138         (gst_base_transform_chain), (gst_base_transform_change_state),
28139         (gst_base_transform_set_passthrough),
28140         (gst_base_transform_is_passthrough):
28141         * gst/base/gstbasetransform.h:
28142         Make passthrough work using the bufferpools.
28143         Changed API a bit, subclasses have to write into a buffer
28144         provided by the base class.
28145         More debug info in nego functions.
28146         
28147         * gst/elements/gstidentity.c: (gst_identity_init),
28148         (gst_identity_transform):
28149         Port to new base class.
28150
28151 2005-07-15  Wim Taymans  <wim@fluendo.com>
28152
28153         * gst/gstmessage.c: (gst_message_new_state_changed):
28154         * tools/gst-launch.c: (event_loop), (main):
28155         Totally dump messages in -launch with the -m option.
28156         Fix message name for State messages,
28157
28158 2005-07-14  Wim Taymans  <wim@fluendo.com>
28159
28160         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28161         Post error messages on errors.
28162
28163 2005-07-14  Wim Taymans  <wim@fluendo.com>
28164
28165         * gst/gstcaps.c: (gst_caps_do_simplify):
28166         Remove debug info.
28167
28168         * gst/gsterror.h:
28169         Define error for stream stopped.
28170
28171         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28172         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28173         Do proper return values.
28174
28175         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28176         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28177         (gst_pad_get_range):
28178         Better return values.
28179
28180         * gst/gstpad.h:
28181         Reorganise return values, add macro to check for fatal errors.
28182
28183         * gst/gstqueue.c: (gst_queue_chain):
28184         Return proper GstFlowReturn values,
28185
28186 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28187
28188         * docs/gst/gstreamer-sections.txt:
28189         * docs/gst/gstreamer.types:
28190         * docs/gst/tmpl/gst.sgml:
28191         * docs/gst/tmpl/gstbasesink.sgml:
28192         * docs/gst/tmpl/gstbasesrc.sgml:
28193         * docs/gst/tmpl/gstbasetransform.sgml:
28194         * docs/gst/tmpl/gstbin.sgml:
28195         * docs/gst/tmpl/gstbuffer.sgml:
28196         * docs/gst/tmpl/gstcaps.sgml:
28197         * docs/gst/tmpl/gstclock.sgml:
28198         * docs/gst/tmpl/gstcompat.sgml:
28199         * docs/gst/tmpl/gstconfig.sgml:
28200         * docs/gst/tmpl/gstelement.sgml:
28201         * docs/gst/tmpl/gstelementdetails.sgml:
28202         * docs/gst/tmpl/gstelementfactory.sgml:
28203         * docs/gst/tmpl/gstenumtypes.sgml:
28204         * docs/gst/tmpl/gsterror.sgml:
28205         * docs/gst/tmpl/gstevent.sgml:
28206         * docs/gst/tmpl/gstfakesink.sgml:
28207         * docs/gst/tmpl/gstfakesrc.sgml:
28208         * docs/gst/tmpl/gstfilesink.sgml:
28209         * docs/gst/tmpl/gstfilesrc.sgml:
28210         * docs/gst/tmpl/gstfilter.sgml:
28211         * docs/gst/tmpl/gstformat.sgml:
28212         * docs/gst/tmpl/gstghostpad.sgml:
28213         * docs/gst/tmpl/gstimplementsinterface.sgml:
28214         * docs/gst/tmpl/gstindex.sgml:
28215         * docs/gst/tmpl/gstindexfactory.sgml:
28216         * docs/gst/tmpl/gstinfo.sgml:
28217         * docs/gst/tmpl/gstiterator.sgml:
28218         * docs/gst/tmpl/gstmacros.sgml:
28219         * docs/gst/tmpl/gstmemchunk.sgml:
28220         * docs/gst/tmpl/gstminiobject.sgml:
28221         * docs/gst/tmpl/gstobject.sgml:
28222         * docs/gst/tmpl/gstpad.sgml:
28223         * docs/gst/tmpl/gstpadtemplate.sgml:
28224         * docs/gst/tmpl/gstparse.sgml:
28225         * docs/gst/tmpl/gstpipeline.sgml:
28226         * docs/gst/tmpl/gstplugin.sgml:
28227         * docs/gst/tmpl/gstpluginfeature.sgml:
28228         * docs/gst/tmpl/gstquery.sgml:
28229         * docs/gst/tmpl/gstqueue.sgml:
28230         * docs/gst/tmpl/gstregistry.sgml:
28231         * docs/gst/tmpl/gstregistrypool.sgml:
28232         * docs/gst/tmpl/gstscheduler.sgml:
28233         * docs/gst/tmpl/gstschedulerfactory.sgml:
28234         * docs/gst/tmpl/gststructure.sgml:
28235         * docs/gst/tmpl/gstsystemclock.sgml:
28236         * docs/gst/tmpl/gsttaglist.sgml:
28237         * docs/gst/tmpl/gsttagsetter.sgml:
28238         * docs/gst/tmpl/gsttrace.sgml:
28239         * docs/gst/tmpl/gsttrashstack.sgml:
28240         * docs/gst/tmpl/gsttypefind.sgml:
28241         * docs/gst/tmpl/gsttypefindfactory.sgml:
28242         * docs/gst/tmpl/gsttypes.sgml:
28243         * docs/gst/tmpl/gsturihandler.sgml:
28244         * docs/gst/tmpl/gsturitype.sgml:
28245         * docs/gst/tmpl/gstutils.sgml:
28246         * docs/gst/tmpl/gstvalue.sgml:
28247         * docs/gst/tmpl/gstversion.sgml:
28248         * docs/gst/tmpl/gstxml.sgml:
28249         * docs/libs/tmpl/gstcontrol.sgml:
28250         * docs/libs/tmpl/gstdataprotocol.sgml:
28251         * docs/libs/tmpl/gstdparam.sgml:
28252         * docs/libs/tmpl/gstdplinint.sgml:
28253         * docs/libs/tmpl/gstdpman.sgml:
28254         * docs/libs/tmpl/gstdpsmooth.sgml:
28255         * docs/libs/tmpl/gstgetbits.sgml:
28256         * docs/libs/tmpl/gstunitconvert.sgml:
28257         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28258         (gst_push_src_base_init), (gst_push_src_class_init),
28259         (gst_push_src_init), (gst_push_src_create):
28260         * gst/base/gstpushsrc.h:
28261         * gst/elements/gstelements.c:
28262         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28263         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28264         (gst_fake_sink_init), (gst_fake_sink_set_property),
28265         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28266         (gst_fake_sink_event), (gst_fake_sink_preroll),
28267         (gst_fake_sink_render), (gst_fake_sink_change_state):
28268         * gst/elements/gstfakesink.h:
28269         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28270         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28271         (gst_fake_src_base_init), (gst_fake_src_class_init),
28272         (gst_fake_src_init), (gst_fake_src_event_handler),
28273         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28274         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28275         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28276         (gst_fake_src_create_buffer), (gst_fake_src_create),
28277         (gst_fake_src_start), (gst_fake_src_stop):
28278         * gst/elements/gstfakesrc.h:
28279         * gst/elements/gstfilesink.c: (_do_init),
28280         (gst_file_sink_base_init), (gst_file_sink_class_init),
28281         (gst_file_sink_init), (gst_file_sink_dispose),
28282         (gst_file_sink_set_location), (gst_file_sink_set_property),
28283         (gst_file_sink_get_property), (gst_file_sink_open_file),
28284         (gst_file_sink_close_file), (gst_file_sink_query),
28285         (gst_file_sink_event), (gst_file_sink_render),
28286         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28287         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28288         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28289         * gst/elements/gstfilesink.h:
28290         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28291         (gst_file_src_class_init), (gst_file_src_init),
28292         (gst_file_src_finalize), (gst_file_src_set_location),
28293         (gst_file_src_set_property), (gst_file_src_get_property),
28294         (gst_file_src_map_region), (gst_file_src_map_small_region),
28295         (gst_file_src_create_mmap), (gst_file_src_create_read),
28296         (gst_file_src_create), (gst_file_src_is_seekable),
28297         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28298         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28299         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28300         (gst_file_src_uri_handler_init):
28301         * gst/elements/gstfilesrc.h:
28302           more autistic cleanliness in functions/names/defines
28303
28304 2005-07-13  Andy Wingo  <wingo@pobox.com>
28305
28306         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28307         source couldn't negotiate.
28308
28309         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28310         connections again.
28311
28312         * gst/gstutils.h:
28313         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28314         function. I am channeling Hades. Put your boots on suckers!!!
28315
28316 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28317
28318         * testsuite/caps/Makefile.am:
28319         * testsuite/caps/value_compare.c:
28320         * testsuite/caps/value_intersect.c:
28321         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28322           move two testsuite apps over to the check dir
28323
28324 2005-07-12  Wim Taymans  <wim@fluendo.com>
28325
28326         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28327         Added more debug info in the negotiate process.
28328
28329         * gst/gstmessage.h:
28330         Prepare for segment playback.
28331
28332         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28333         Better debugging.
28334
28335         * gst/gstutils.c:
28336         Some more docs.
28337
28338         * tools/gst-launch.c: (main):
28339         NULL pipeline on errors.
28340
28341 2005-07-12  Andy Wingo  <wingo@pobox.com>
28342
28343         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28344         not it comes from a malloc region. Make sure our copy gets freed.
28345
28346 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28347
28348         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28349         * check/gst/gstmessage.c: (GST_START_TEST):
28350         * check/gst/gststructure.c: (GST_START_TEST),
28351         (gst_structure_suite), (main):
28352           more testing
28353         * gst/gstelement.c: (gst_element_message_full):
28354           clean up GError and debug string now that they get copied
28355         * gst/gstmessage.c: (gst_message_new_error),
28356         (gst_message_new_warning), (gst_message_parse_error),
28357         (gst_message_parse_warning):
28358           use GST_TYPE_G_ERROR for structure_new, and take copies of
28359           arguments, so that we don't mess up refcounting
28360
28361 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28362
28363         * check/Makefile.am:
28364           add per-test valgrind targets
28365         * check/gst-libs/gdp.c: (GST_START_TEST),
28366         (gst_data_protocol_suite), (main):
28367           clean up
28368
28369 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28370
28371         * check/Makefile.am:
28372           instate more valgrindable tests
28373         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28374         (GST_START_TEST), (fakesrc_suite):
28375         * check/gst/gstpad.c: (GST_START_TEST):
28376         * check/gst/gststructure.c: (GST_START_TEST):
28377           fix test leaks
28378         * docs/gst/tmpl/gstminiobject.sgml:
28379         * gst/gstpad.c: (gst_pad_finalize):
28380           fix the static mutex leak
28381
28382 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28383
28384         * check/Makefile.am:
28385           add two more tests for valgrinding
28386         * check/gst/gstvalue.c: (GST_START_TEST):
28387           test refcount of deserialized buffer, found a leak
28388         * docs/gst/gstreamer-docs.sgml:
28389         * docs/gst/gstreamer-sections.txt:
28390         * docs/gst/gstreamer.types:
28391         * docs/gst/tmpl/gstminiobject.sgml:
28392           add miniobject to docs
28393         * gst/gstminiobject.c:
28394           add some docs
28395         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28396         (gst_string_unwrap):
28397           fix a hard-to-find invalid write for one of the tests
28398           fix a leak for deserialized buffers
28399
28400 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28401
28402         * docs/pwg/advanced-events.xml:
28403         * docs/pwg/advanced-request.xml:
28404         * docs/pwg/advanced-scheduling.xml:
28405         * docs/pwg/appendix-porting.xml:
28406         * docs/pwg/building-boiler.xml:
28407         * docs/pwg/intro-preface.xml:
28408         * docs/pwg/other-ntoone.xml:
28409           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28410           of example code and explanation for pad activation, loop() and
28411           getrange() functions and a bit more. Remove old comments pointing
28412           to loop-functions.
28413         * examples/pwg/Makefile.am:
28414           Add loop/getrange examples.
28415
28416 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28417
28418         * configure.ac:
28419           check for valgrind binary + some fixes
28420         * check/gst.supp:
28421           valgrind suppressions for the tests
28422         * check/Makefile.am:
28423           add a valgrind: target that valgrinds the unit tests
28424         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28425         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28426         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28427         * check/gst/gstghostpad.c:
28428           added some cleanup
28429         * check/gst/gstdata.c:
28430           removed
28431         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28432         (thread_unref), (gst_mini_object_suite), (main):
28433           added
28434         * gst/gst.c: (gst_deinit):
28435         * gst/gst.h:
28436           add a method to clean up.
28437         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28438         (gst_system_clock_obtain):
28439           allow for disposing the system clock.
28440         * tools/gst-launch.c: (main):
28441           deinit
28442
28443 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28444
28445         * docs/gst/tmpl/gstbasesrc.sgml:
28446         * docs/gst/tmpl/gstfakesrc.sgml:
28447         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28448         (gst_base_src_init), (gst_base_src_set_property),
28449         (gst_base_src_get_property), (gst_base_src_get_range),
28450         (gst_base_src_start):
28451         * gst/base/gstbasesrc.h:
28452           add num-buffers property
28453         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28454         (gst_fakesrc_init), (gst_fakesrc_set_property),
28455         (gst_fakesrc_get_property), (gst_fakesrc_create),
28456         (gst_fakesrc_start):
28457           remove num-buffers property
28458
28459 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28460
28461         * docs/gst/gstreamer-sections.txt:
28462         * docs/gst/tmpl/gstbasesink.sgml:
28463         * docs/gst/tmpl/gstbasesrc.sgml:
28464         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28465         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28466         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28467         (gst_base_sink_set_property), (gst_base_sink_get_property),
28468         (gst_base_sink_handle_object), (gst_base_sink_event),
28469         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28470         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28471         (gst_base_sink_loop), (gst_base_sink_deactivate),
28472         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28473         (gst_base_sink_change_state):
28474         * gst/base/gstbasesink.h:
28475         * gst/base/gstbasesrc.h:
28476         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28477         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28478         (gst_filesink_init):
28479           more macro splitting
28480
28481 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28482
28483         * gst/gstelement.c: (gst_element_get_bus):
28484           add debug
28485         * tools/gst-launch.c: (check_intr), (event_loop):
28486           fix bus leaks
28487
28488 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28489
28490         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28491           fix a caps leak
28492
28493 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28494
28495         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28496         (gst_base_src_finalize):
28497           add finalize method and clean up properly
28498         * gst/gstpipeline.c: (gst_pipeline_dispose):
28499           add debug
28500
28501 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28502
28503         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28504         (gst_bin_suite):
28505           add more things to check
28506         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28507         * gst/gstelement.c:
28508           more debug
28509
28510 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28511
28512         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28513         (GST_START_TEST), (fakesrc_suite):
28514         * check/gst-libs/gdp.c: (GST_START_TEST):
28515         * check/gst/gst.c: (GST_START_TEST):
28516         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28517         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28518         * check/gst/gstbus.c: (GST_START_TEST):
28519         * check/gst/gstcaps.c: (GST_START_TEST):
28520         * check/gst/gstdata.c: (GST_START_TEST):
28521         * check/gst/gstelement.c: (GST_START_TEST):
28522         * check/gst/gstghostpad.c: (GST_START_TEST):
28523         * check/gst/gstiterator.c: (GST_START_TEST):
28524         * check/gst/gstmessage.c: (GST_START_TEST):
28525         * check/gst/gstobject.c: (GST_START_TEST):
28526         * check/gst/gstpad.c: (GST_START_TEST):
28527         * check/gst/gststructure.c: (GST_START_TEST):
28528         * check/gst/gstsystemclock.c: (GST_START_TEST),
28529         (gst_systemclock_suite):
28530         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28531         * check/gst/gstvalue.c: (GST_START_TEST):
28532         * check/pipelines/cleanup.c: (GST_START_TEST):
28533         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28534         * check/states/sinks.c: (GST_START_TEST):
28535         * check/gstcheck.c: (gst_check_init):
28536         * check/gstcheck.h:
28537           add debugging category
28538           use GST_START_TEST now, so we add a debug line
28539
28540 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28541
28542         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28543           add test for state change message on a bin
28544         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28545           add another test
28546         * gst/gstbin.c: (gst_bin_init):
28547         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28548         * gst/gstelement.c: (gst_element_post_message),
28549         (gst_element_set_state):
28550         * gst/gstelementfactory.c: (gst_element_factory_create):
28551         * gst/gstmessage.c: (gst_message_new):
28552         * gst/gstscheduler.c:
28553           various debugging additions and cleanups
28554
28555 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28556
28557         * check/Makefile.am:
28558         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28559         (main):
28560           adding tests for elements
28561         * gst/gstelement.c: (gst_element_dispose):
28562
28563 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28564
28565         * gst/registries/gstlibxmlregistry.c: (load_feature):
28566           plug more leaks.  A simple gst_init() now is leakfree, yay.
28567
28568 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28569
28570         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28571         (gst_xml_registry_load):
28572           plug another memleak
28573
28574 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28575
28576         * configure.ac:
28577           use GST_SET_ERROR_CFLAGS
28578         * docs/faq/cvs.xml:
28579           change to ERROR_CFLAGS
28580
28581 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28582
28583         * configure.ac:
28584           make GST_ERROR_CFLAGS overridable and re-enable Werror
28585         * docs/faq/cvs.xml:
28586           add a note about error CFLAGS
28587         * docs/gst/tmpl/gstfakesrc.sgml:
28588         * gst/elements/gstfakesrc.c:
28589           comment out some unused code
28590         * gst/gst.c: (split_and_iterate):
28591         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28592         (load_feature):
28593           plug some memleaks
28594
28595 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28596
28597         * common/Makefile.am:
28598         * common/gtk-doc.mak:
28599         * docs/gst/Makefile.am:
28600           factor out gtk-doc.mak
28601
28602 2005-07-07  Wim Taymans  <wim@fluendo.com>
28603
28604         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28605         (gst_thread_scheduler_dispose):
28606         Unlock the STREAM_LOCK completely.
28607
28608 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28609
28610         * check/Makefile.am:
28611         * check/elements/.cvsignore:
28612         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28613         (START_TEST), (fakesrc_suite), (main):
28614         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28615         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28616         (gst_fakesrc_create), (gst_fakesrc_start):
28617         * gst/elements/gstfakesrc.h:
28618           adding a first element test
28619
28620 2005-07-07  Andy Wingo  <wingo@pobox.com>
28621
28622         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28623         debug message.
28624
28625 2005-07-07  Wim Taymans  <wim@fluendo.com>
28626
28627         * gst/gstquery.c:
28628         * gst/gstquery.h:
28629         Remove old types
28630
28631 2005-07-07  Wim Taymans  <wim@fluendo.com>
28632
28633         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28634         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28635         Allow subclasses to implement their own negotiation.
28636
28637 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28638
28639         * docs/design/part-gstbin.txt:
28640         * docs/design/part-gstpipeline.txt:
28641           Update design notes to reflect the movement of
28642           responsibility for bus handling from GstPipeline to
28643           GstBin
28644
28645 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28646
28647         * configure.ac:
28648           Remove unnecessary queue2/3/4 examples.
28649
28650 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28651
28652         * examples/Makefile.am:
28653         * examples/helloworld/helloworld.c: (event_loop), (main):
28654         * examples/queue/queue.c: (event_loop), (main):
28655         * examples/queue2/queue2.c: (main):
28656           Update a couple of the examples to work again.
28657
28658         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28659         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28660          Spelling corrections and extra debug.
28661         
28662         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28663         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28664         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28665         * gst/gstbin.h:
28666         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28667         (gst_pipeline_change_state):
28668         * gst/gstpipeline.h:
28669           Move the bus handler for children to the GstBin, and create a
28670           separate bus for receiving messages from children to the one the
28671           bus sends 'upwards' on.
28672
28673 2005-07-06  Wim Taymans  <wim@fluendo.com>
28674
28675         * gst/base/README:
28676         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28677         (gst_base_sink_handle_object), (gst_base_sink_loop),
28678         (gst_base_sink_change_state):
28679         * gst/base/gstbasesink.h:
28680         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28681         (gst_base_src_init), (gst_base_src_setcaps),
28682         (gst_base_src_getcaps), (gst_base_src_loop),
28683         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28684         (gst_base_src_start), (gst_base_src_change_state):
28685         * gst/base/gstbasesrc.h:
28686         Make basesrc negotiate.
28687         Handle the case where preroll fails in basesink.
28688         Update README.
28689
28690 2005-07-06  Wim Taymans  <wim@fluendo.com>
28691
28692         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28693         Implement the fixate function.
28694         Clean up acceptcaps.
28695
28696 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28697
28698         * docs/pwg/building-filterfactory.xml:
28699         * docs/pwg/pwg.xml:
28700           Remove never-written filter-factory chapter; I'll add the various
28701           base classes to part 4 ("other element types") later on.
28702
28703 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28704
28705         * docs/pwg/advanced-negotiation.xml:
28706         * docs/pwg/building-boiler.xml:
28707         * docs/pwg/building-pads.xml:
28708         * docs/pwg/pwg.xml:
28709         * examples/pwg/Makefile.am:
28710           Add a chapter on caps negotiation, simplify the original code
28711           samples a bit w.r.t. caps negotiation, add link to the advanced
28712           section. Add a bunch of examples showing different use cases of
28713           different types of caps negotiation. Upstream renegotiation isn't
28714           fully documented yet since nobody knows how that works.
28715
28716 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28717
28718         * check/gst/gstpad.c:
28719         * check/gstcheck.c:
28720         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28721           if pad has no parent, return NULL as list of internal links
28722
28723 2005-07-05  Andy Wingo  <wingo@pobox.com>
28724
28725         * gst/elements/gstfilesrc.c:
28726         * gst/elements/gstfakesrc.c: 
28727         * gst/base/gstpushsrc.c:
28728         * gst/base/gstbasesrc.h: 
28729         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28730         
28731 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28732
28733         * Makefile.am:
28734           better report generation target (lcov needs a patch)
28735
28736 2005-07-05  Andy Wingo  <wingo@pobox.com>
28737
28738         * gst/elements, testsuite: Null if we got it...
28739
28740 2005-07-05  Wim Taymans  <wim@fluendo.com>
28741
28742         * configure.ac:
28743         * libs/gst/dataprotocol/Makefile.am:
28744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28745         * libs/gst/dataprotocol/dataprotocol.h:
28746         * pkgconfig/Makefile.am:
28747         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28748         * pkgconfig/gstreamer-dataprotocol.pc.in:
28749         Ported dataprotol to 0.9. 
28750         Added pkgconfig files.
28751
28752 2005-07-05  Andy Wingo  <wingo@pobox.com>
28753
28754         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28755         Default to returning TRUE for the case when tranform_caps returns
28756         a fixed caps, like for identity or volume.
28757
28758         * check/gst/gstbus.c (pound_bus_with_messages): 
28759         * check/gst/gstmessage.c (START_TEST): 
28760         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28761         message API change.
28762
28763         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28764         logic weaks here: always run transform_caps, trying passthrough
28765         operation only if the original caps intersects with the transform.
28766
28767         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28768         source and sink caps.
28769
28770         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28771         Intersect the peer caps with the pad template before going into
28772         transform_caps.
28773         (gst_base_transform_transform_caps): More debugging.
28774
28775         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28776         src argument.
28777
28778 2005-07-04  Edward Hervey  <edward@fluendo.com>
28779
28780         * gst/gstutils.c:
28781         * gst/gstutils.h:
28782         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28783         in bindings.
28784
28785 2005-07-04  Andy Wingo  <wingo@pobox.com>
28786
28787         * check/gst/gstpad.c: Only set explicit caps on pads.
28788
28789 2005-07-01  Andy Wingo  <wingo@pobox.com>
28790
28791         * tests/network-clock.scm: Commentary update.
28792
28793         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28794         Didn't really make sense, not implementable with basetransform,
28795         etc.
28796         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28797         attempt at implementing the sync property, needs an unlock method.
28798
28799         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28800         New func, by default returns the same caps (the identity
28801         transformation).
28802         (gst_base_transform_getcaps): Uses transform_caps to return
28803         something sensible.
28804         (gst_base_transform_setcaps): Complicated logic to get caps on
28805         both pads, even if they are different, and to call set_caps once
28806         for every time both pads get their caps set.
28807         (gst_base_transform_handle_buffer): Give the ref to the transform
28808         function. Allows in-place modification of the buffer.
28809
28810         * gst/base/gstbasetransform.h (transform_caps): New class method.
28811         Given caps on one side, what can I do on the other.
28812         (set_caps): Take two caps, one for each side of the element.
28813
28814         * gst/gstpad.h:
28815         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28816         caps in place. This is safe because we can check the mutability of
28817         the caps, and a good idea because fixate functions are just called
28818         as a matter of last resort. (Not actually implemented.)
28819         (gst_pad_set_caps): If the caps we're setting is actually the same
28820         as the existing pad caps, just update the pointer without calling
28821         setcaps. Assert that caps is either NULL or fixed, as per the
28822         docs.
28823
28824         * gst/gstghostpad.c: Update for fixate changes.
28825
28826 2005-07-02  Andy Wingo  <wingo@pobox.com>
28827
28828         * gst/gstcaps.c:
28829         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28830         two refcounts makes it immutable, which is enough. Doc more.
28831
28832 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28833
28834         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28835           Put the mini_object into GValue as a mini_object,
28836           not a gpointer, since that's how we declared
28837           the signal.
28838
28839 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28840
28841         * examples/pwg/Makefile.am:
28842           Fix buildbot again.
28843
28844 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28845
28846         * docs/pwg/building-testapp.xml:
28847           Add extra check.
28848         * examples/pwg/Makefile.am:
28849           Fix buildbot.
28850
28851 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28852
28853         * configure.ac:
28854         * examples/Makefile.am:
28855         * examples/pwg/Makefile.am:
28856         * examples/pwg/extract.pl:
28857           Enable building the PWG examples.
28858         * docs/pwg/advanced-interfaces.xml:
28859           Add URI interface stub.
28860         * docs/pwg/advanced-types.xml:
28861         * docs/pwg/other-autoplugger.xml:
28862         * docs/pwg/appendix-porting.xml:
28863         * docs/pwg/pwg.xml:
28864           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28865         * docs/pwg/building-boiler.xml:
28866         * docs/pwg/building-chainfn.xml:
28867         * docs/pwg/building-pads.xml:
28868         * docs/pwg/building-props.xml:
28869         * docs/pwg/building-state.xml:
28870         * docs/pwg/building-testapp.xml:
28871           Update the building-*.xml parts for 0.9 changes. All examples
28872           code blocks compile in examples/pwg/*.
28873
28874 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28875
28876         * docs/manual/advanced-autoplugging.xml:
28877         * docs/manual/appendix-checklist.xml:
28878         * docs/manual/appendix-integration.xml:
28879         * docs/manual/highlevel-components.xml:
28880           Fix playbin/decodebin examples, update docs a bit, mention bus
28881           instead of signals in various places, mention kmplayer and
28882           kaffeine since they have a working GStreamer backend in the KDE
28883           section.
28884
28885 2005-06-30  Wim Taymans  <wim@fluendo.com>
28886
28887         * CHANGES-0.9:
28888         * docs/design/draft-ghostpads.txt:
28889         * docs/design/draft-push-pull.txt:
28890         * docs/design/draft-query.txt:
28891         * docs/design/part-TODO.txt:
28892         * docs/design/part-query.txt:
28893         Added CHANGES-0.9 doc, updated status of other docs.
28894         
28895         * gst/gstquery.h:
28896         Remove "hmm" macro
28897
28898 2005-06-30  Wim Taymans  <wim@fluendo.com>
28899
28900         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28901         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28902         (gst_base_sink_change_state):
28903         * gst/base/gstbasesink.h:
28904         Some tweaks, only EOS and a buffer complete a preroll.
28905
28906 2005-06-30  Andy Wingo  <wingo@pobox.com>
28907
28908         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28909         activate_push down to the internal pad as well.
28910
28911 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28912
28913         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28914
28915         * gst/gsttaginterface.c:
28916           Some documentation fixes (#307394 and #307397).
28917
28918 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28919
28920         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28921
28922         * gst/gstvalue.c: (gst_value_intersect_list):
28923           Fix memleak (#309125).
28924
28925 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28926
28927         * docs/manual/advanced-dataaccess.xml:
28928           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28929         * docs/manual/basics-pads.xml:
28930           Add reference for filtered caps to above chapter.
28931
28932 2005-06-30  Wim Taymans  <wim@fluendo.com>
28933
28934         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28935         (gst_bin_change_state):
28936         Probes are gone.
28937         Lame attempt at making the state change function a bit
28938         more readable.
28939
28940 2005-06-30  Wim Taymans  <wim@fluendo.com>
28941
28942         * docs/design/part-clocks.txt:
28943         * docs/design/part-element-sink.txt:
28944         * docs/design/part-events.txt:
28945         * docs/design/part-preroll.txt:
28946         * docs/design/part-states.txt:
28947         Some more tweeks and additions to the docs.
28948
28949 2005-06-30  Wim Taymans  <wim@fluendo.com>
28950
28951         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28952         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28953         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28954         (gst_pad_check_pull_range), (gst_pad_get_range),
28955         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28956         * gst/gstpad.h:
28957         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28958         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28959         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28960         (gst_pad_remove_buffer_probe):
28961         Removed atomic operations, use existing LOCK.
28962         Move exception handling out of main code path.
28963
28964 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28965
28966         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28967         (silly_return_true_function), (gst_pad_class_init),
28968         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28969         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28970         (gst_pad_send_event):
28971           Fix accumulator, add default value by using _emitv() instead
28972           of _emit() for signal emission.
28973
28974 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28975
28976         * docs/manual/advanced-dataaccess.xml:
28977         * examples/manual/Makefile.am:
28978           Add probe example.
28979         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28980           Make work (??).
28981
28982 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28983
28984         * gst/elements/gstfilesink.c: (gst_filesink_render):
28985           Simplify code so that we don't have to handle short
28986           writes and return GST_FLOW_ERROR if an error occured.
28987
28988 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28989
28990         * docs/gst/gstreamer-docs.sgml:
28991           Remove probes more.
28992
28993 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28994
28995         * docs/gst/gstreamer-sections.txt:
28996         * docs/gst/tmpl/gstpad.sgml:
28997         * docs/gst/tmpl/gstprobe.sgml:
28998         * gst/Makefile.am:
28999         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29000         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29001         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29002         (gst_pad_push_event), (gst_pad_send_event):
29003         * gst/gstpad.h:
29004         * gst/gstutils.c: (gst_pad_add_data_probe),
29005         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29006         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29007         (gst_pad_remove_buffer_probe):
29008         * gst/gstutils.h:
29009           Remove old probes, add new g-signal-based probes and some utility
29010           functions.
29011
29012 2005-06-29  Edward Hervey  <edward@fluendo.com>
29013
29014         * gst/gstelementfactory.c:
29015         * gst/gstutils.h:
29016         * gst/gstutils.c:
29017         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29018         the definition to the header file.
29019
29020 2005-06-29  Andy Wingo  <wingo@pobox.com>
29021
29022         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29023         plugins from the source directory.
29024
29025 2005-06-29  Wim Taymans  <wim@fluendo.com>
29026
29027         * docs/gst/tmpl/gstbuffer.sgml:
29028         * docs/gst/tmpl/gstclock.sgml:
29029         Some fixings for blantently wrong text.
29030
29031 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29032
29033         * check/Makefile.am:
29034         * gst/gst.c: (add_path_func), (init_pre):
29035         * gst/gstregistry.c: (gst_registry_add_path):
29036           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29037           only scan the GST_PLUGIN_PATH locations, and not add
29038           system locations
29039
29040 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29041
29042         * docs/gst/gstreamer-sections.txt:
29043         * docs/gst/tmpl/gstbasesrc.sgml:
29044         * gst/gstelement.c:
29045         * gst/gstelement.h:
29046         * gst/gstevent.c:
29047         * gst/gstutils.c:
29048           doc fixes
29049
29050 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29051
29052         * docs/manual/advanced-autoplugging.xml:
29053           Fix autoplugging example.
29054
29055 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29056
29057         * docs/manual/advanced-autoplugging.xml:
29058         * docs/manual/mime-world.fig:
29059           Try to get autoplugging working, fix type detection. Fix text
29060           in hello-world image.
29061
29062 2005-06-29  Wim Taymans  <wim@fluendo.com>
29063
29064         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29065         (gst_base_sink_change_state):
29066         Small debug line.
29067
29068         * gst/gstclock.h:
29069         map SIGNAL and BROADCAST to the right function.
29070
29071         * gst/gstobject.h:
29072         Remove redundant braces.
29073
29074         * gst/gstpad.c: (gst_pad_set_caps):
29075         Don't call setcaps function when reseting caps to NULL.
29076
29077         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29078         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29079         (gst_system_clock_id_unschedule):
29080         Use BROADCAST as this is what we do.
29081
29082 2005-06-29  Wim Taymans  <wim@fluendo.com>
29083
29084         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29085         We are actually prerolling before commiting the state
29086         change. 
29087
29088 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29089
29090         * docs/manual/advanced-clocks.xml:
29091         * docs/manual/advanced-interfaces.xml:
29092         * docs/manual/advanced-metadata.xml:
29093         * docs/manual/advanced-position.xml:
29094         * docs/manual/advanced-schedulers.xml:
29095         * docs/manual/advanced-threads.xml:
29096         * docs/manual/appendix-porting.xml:
29097         * docs/manual/basics-bins.xml:
29098         * docs/manual/basics-bus.xml:
29099         * docs/manual/basics-elements.xml:
29100         * docs/manual/basics-helloworld.xml:
29101         * docs/manual/basics-pads.xml:
29102         * docs/manual/highlevel-components.xml:
29103         * docs/manual/manual.xml:
29104         * docs/manual/thread.fig:
29105           Update (until threads/scheduling) Application Development Manual;
29106           remove GstThread, add GstBus, add simple porting checklist, add
29107           documentation for tag writing, clocks, make all examples until this
29108           part compile and run.
29109         * examples/manual/Makefile.am:
29110           Update from changes to Application Development Manual; add bus
29111           example, remove thread example.
29112
29113 2005-06-28  Wim Taymans  <wim@fluendo.com>
29114
29115         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29116         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29117         (gst_bus_source_dispatch):
29118         Add debugging messages.
29119         Make internal methods static.
29120         Handle the case where the bus is flushed in the handler.
29121         
29122         * gst/gstelement.c: (gst_element_get_bus):
29123         Fix refcount in _get_bus();
29124
29125         * gst/gstpipeline.c: (gst_pipeline_change_state),
29126         (gst_pipeline_get_clock_func):
29127         Clock refcounting fixes.
29128         Handle the case where preroll timed out more gracefully.
29129         
29130         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29131         Clean up the internal thread in dispose. This is needed
29132         for subclasses that actually get disposed.
29133         
29134         * gst/schedulers/threadscheduler.c:
29135         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29136         (gst_thread_scheduler_dispose):
29137         Free thread pool in dispose.
29138
29139 2005-06-28  Andy Wingo  <wingo@pobox.com>
29140
29141         * tests/network-clock-utils.scm (debug, print-event): New utils.
29142
29143         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29144         (*packet-loss*): Unified loss probability.
29145         (network-time): Report out-of-band events.
29146
29147         * tests/plot-data: Add support for out-of-band events. Hack it
29148         into this script instead of passing it down the pipe; should fix
29149         this later.
29150
29151 2005-06-28  Wim Taymans  <wim@fluendo.com>
29152
29153         * docs/gst/gstreamer.types:
29154         * docs/gst/tmpl/gstbasesrc.sgml:
29155         * docs/gst/tmpl/gstpad.sgml:
29156         Docs fixes.
29157
29158 2005-06-28  Wim Taymans  <wim@fluendo.com>
29159
29160         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29161         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29162         (gst_proxy_pad_do_fixatecaps):
29163         Correctly proxy the check_pull_range function.
29164
29165 2005-06-28  Andy Wingo  <wingo@pobox.com>
29166
29167         * tests/network-clock.scm: Removed need for slib.
29168         
29169 2005-06-28  Wim Taymans  <wim@fluendo.com>
29170
29171         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29172         (gst_basesink_preroll_queue_flush):
29173         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29174         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29175         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29176         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29177         (gst_proxy_pad_set_property):
29178         * gst/gstpad.c:
29179         * gst/gstpad.h:
29180         * gst/gstqueue.c: (gst_queue_init):
29181         The deprecated pad loop function is removed now.
29182
29183 2005-06-28  Andy Wingo  <wingo@pobox.com>
29184
29185         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29186         New parameters, simulate network packet loss.
29187
29188         * tests/network-clock-utils.scm: Initialize the RNG.
29189
29190 2005-06-28  Wim Taymans  <wim@fluendo.com>
29191
29192         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29193         (gst_basesink_event), (gst_basesink_deactivate):
29194         Flushing the preroll queue always needs to unlock the waiters.
29195
29196 2005-06-28  Edward Hervey  <edward@fluendo.com>
29197
29198         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29199         Wheen a seek was successful on a pipeline, set the stream_time to the
29200         seek offset in order to have a synchronized stream_time.
29201
29202 2005-06-28  Wim Taymans  <wim@fluendo.com>
29203
29204         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29205         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29206         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29207         (gst_proxy_pad_do_fixatecaps):
29208         Call wrapper function instead of just calling the function
29209         pointers. This takes care of any locking and whatmore.
29210
29211 2005-06-28  Wim Taymans  <wim@fluendo.com>
29212
29213         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29214         (gst_pad_pull_range):
29215         * gst/gstpad.h:
29216         CONNECTED -> LINKED.
29217
29218 2005-06-28  Andy Wingo  <wingo@pobox.com>
29219
29220         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29221         source-munging commit!!!
29222
29223         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29224         (gst_object_sink): Take gpointer arguments, not GstObject --
29225         avoids casts. Like GLib.
29226
29227         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29228         activate.
29229
29230 2005-06-27  Andy Wingo  <wingo@pobox.com>
29231
29232         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29233         remaining buffer.
29234
29235         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29236         returns a sorted copy of the trace list.
29237         (gst_alloc_trace_print_live): New API, only prints traces with
29238         live objects. Sort the list.
29239         (gst_alloc_trace_print_all): Sort the list.
29240         (gst_alloc_trace_print): Align columns.
29241
29242         * gst/elements/gstttypefindelement.c:
29243         * gst/elements/gsttee.c:
29244         * gst/base/gstbasesrc.c:
29245         * gst/base/gstbasesink.c:
29246         * gst/base/gstbasetransform.c:
29247         * gst/gstqueue.c: Adapt for pad activation changes.
29248
29249         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29250         sched.
29251         (gst_pipeline_dispose): Drop ref on sched.
29252
29253         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29254         (gst_pad_activate_default): Push mode by default.
29255         (pre_activate_switch, post_activate_switch): New stubs, things to
29256         do before and after switching activation modes on pads.
29257         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29258         the pad's activate function to choose which mode to activate.
29259         Shortcut on deactivation and call the right function directly.
29260         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29261         mode.
29262         (gst_pad_activate_push): New API, same for push mode.
29263         (gst_pad_set_activate_function) 
29264         (gst_pad_set_activatepull_function) 
29265         (gst_pad_set_activatepush_function): Setters for new API.
29266
29267         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29268         Trace all miniobjects.
29269         (gst_mini_object_make_writable): Unref the arg if we copy, like
29270         gst_caps_make_writable.
29271
29272         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29273
29274         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29275         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29276         Adapt for new pad API.
29277
29278         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29279
29280         * gst/gstelement.h:
29281         * gst/gstelement.c (gst_element_iterate_src_pads) 
29282         (gst_element_iterate_sink_pads): New API functions.
29283         
29284         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29285         should fold into gstiterator.c in some form.
29286         (gst_element_pads_activate): Simplified via use of fold and
29287         delegation of decisions to gstpad->activate.
29288
29289         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29290         help in debugging.
29291
29292         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29293         class once in init, like gstmessage. Didn't run into this issue
29294         but it seems correct. Don't initialize a trace, gstminiobject does
29295         that.
29296
29297         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29298         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29299         to the bus.
29300         (assert_live_count): New util function, uses alloc traces to check
29301         cleanup.
29302
29303         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29304         To be modified when unlink drops the internal pad.
29305
29306 2005-06-27  Wim Taymans  <wim@fluendo.com>
29307
29308         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29309         (gst_bin_change_state):
29310         Cleanup the get_state() function a little, make sure it
29311         iterates the same set of elements.
29312         Added stub iterate_state_order().
29313
29314 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29315
29316         * docs/gst/gstreamer-docs.sgml:
29317         * docs/gst/gstreamer-sections.txt:
29318         * docs/gst/gstreamer.types:
29319         * docs/gst/tmpl/gstbasesink.sgml:
29320         * docs/gst/tmpl/gstbasesrc.sgml:
29321         * docs/gst/tmpl/gstbasetransform.sgml:
29322         * docs/gst/tmpl/gstelement.sgml:
29323         * docs/gst/tmpl/gstiterator.sgml:
29324         * gst/base/gstbasesrc.c:
29325         * gst/base/gstbasesrc.h:
29326         * gst/base/gstbasetransform.h:
29327         * gst/gstelement.c:
29328         * gst/gstiterator.h:
29329           adding basetransform and iterator docs
29330
29331 2005-06-27  Andy Wingo  <wingo@pobox.com>
29332
29333         * docs/design/part-activation.txt: Notes on how activation should
29334         work -- not quite implemented yet.
29335
29336 2005-06-25  Wim Taymans  <wim@fluendo.com>
29337
29338         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29339         At least get the chain function correct, needs more
29340         fixing.
29341
29342 2005-06-25  Wim Taymans  <wim@fluendo.com>
29343
29344         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29345         (gst_basesink_handle_object), (gst_basesink_event),
29346         (gst_basesink_do_sync), (gst_basesink_handle_event),
29347         (gst_basesink_change_state):
29348         * gst/gsttask.h:
29349         Right, two problems here: ghostpads don't take locks and
29350         glib _rec_mutex_lock_full() with depth==0 still locks.
29351         Catch illegal locking and g_warn them.
29352
29353 2005-06-25  Wim Taymans  <wim@fluendo.com>
29354
29355         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29356         Have to check for completion now...
29357
29358 2005-06-25  Wim Taymans  <wim@fluendo.com>
29359
29360         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29361         (gst_basesink_handle_object), (gst_basesink_event),
29362         (gst_basesink_do_sync), (gst_basesink_handle_event),
29363         (gst_basesink_change_state):
29364         * gst/gstpad.h:
29365         Unlock STREAM_LOCK whatever the recursion was.
29366
29367 2005-06-25  Wim Taymans  <wim@fluendo.com>
29368
29369         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29370         (gst_basesink_preroll_queue_empty),
29371         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29372         (gst_basesink_event), (gst_basesink_do_sync),
29373         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29374         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29375         (gst_basesink_change_state):
29376         Reworked the base sink, handle event and buffer serialisation
29377         correctly and removed possible deadlock.
29378         Handle EOS correctly.
29379
29380 2005-06-25  Wim Taymans  <wim@fluendo.com>
29381
29382         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29383         (gst_pipeline_change_state):
29384         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29385         Allow elements to post EOS in the state change function.
29386         Fix up -launch, make it exit the poll loop when the
29387         pipeline actually changed state.
29388         Fix up warning parsing in -launch.
29389
29390 2005-06-25  Wim Taymans  <wim@fluendo.com>
29391
29392         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29393         (gst_tee_sink_activate):
29394         Core takes STREAM_LOCK for us now.
29395
29396 2005-06-25  Wim Taymans  <wim@fluendo.com>
29397
29398         * gst/gstelement.c: (gst_element_get_state_func),
29399         (gst_element_set_state):
29400         * gst/gstelement.h:
29401         * gst/gstmessage.c: (gst_message_parse_error),
29402         (gst_message_parse_warning):
29403         Keep track of current target state while performing a state
29404         change so that subclasses can do something interesting.
29405         Fix parsing of warning/error messages when GError is NULL.
29406
29407 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29408
29409         * docs/gst/Makefile.am:
29410         * docs/gst/gstreamer-docs.sgml:
29411         * docs/gst/gstreamer-sections.txt:
29412         * docs/gst/gstreamer.types:
29413         * docs/gst/tmpl/gstbasesink.sgml:
29414         * docs/gst/tmpl/gstbasesrc.sgml:
29415         * docs/gst/tmpl/gstbin.sgml:
29416         * docs/gst/tmpl/gstcompat.sgml:
29417         * docs/gst/tmpl/gstfakesink.sgml:
29418         * docs/gst/tmpl/gstfakesrc.sgml:
29419         * docs/gst/tmpl/gstfilesink.sgml:
29420         * docs/gst/tmpl/gstfilesrc.sgml:
29421         * docs/gst/tmpl/gstindex.sgml:
29422         * docs/manual/appendix-quotes.xml:
29423         * gst/base/gstbasesrc.h:
29424         * gst/elements/gstfakesrc.h:
29425         * gst/gstmessage.h:
29426           start pulling in base classes and elements in our docs
29427
29428 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29429
29430         * docs/gst/Makefile.am:
29431         * docs/libs/Makefile.am:
29432           fixed make distcheck with gtk-doc 1.3
29433
29434 2005-06-23  Wim Taymans  <wim@fluendo.com>
29435
29436         * gst/gstelement.c: (gst_element_get_state_func),
29437         (gst_element_set_state), (gst_element_change_state):
29438         When the state did not change, also report NO_PREROLL
29439         when it matters.
29440
29441 2005-06-23  Wim Taymans  <wim@fluendo.com>
29442
29443         * gst/gstpad.c: (gst_pad_event_default):
29444         * gst/gstqueue.c: (gst_queue_loop):
29445         No unsafe task pausing please.
29446
29447 2005-06-23  Wim Taymans  <wim@fluendo.com>
29448
29449         * gst/schedulers/threadscheduler.c:
29450         (gst_thread_scheduler_task_start),
29451         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29452         Ref the task before pushing it on the threadpool. This
29453         makes sure that we have a ref when the threadfunction is
29454         actually called.
29455
29456 2005-06-23  Andy Wingo  <wingo@pobox.com>
29457
29458         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29459         offset is greater than the file's size.
29460
29461         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29462         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29463         * gst/gstobject.c (gst_object_class_init): Make the class lock
29464         recursive. Wim won't let me drop deep_notify. Decodebin works
29465         again, whoopdy doo.
29466
29467         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29468         internal pad, and hacks accordingly. Doesn't do it on the target
29469         pad because we change its caps. Probably catches all cases of
29470         interest tho.
29471         (gst_ghost_pad_set_property): Connect to notify::caps as
29472         appropritate.
29473
29474         * tests/network-clock.scm (plot-simulation): Pipe data to the
29475         elite python skript.
29476
29477         * tests/network-clock-utils.scm (define-parameter): New macro,
29478         defines a parameter that can be set via the command line.
29479         (set-parameter!, parse-parameter-arguments): Command line args
29480         parser.
29481
29482         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29483         stdin.
29484
29485 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29486
29487         * gst/elements/gsttypefindelement.c:
29488         (gst_type_find_element_handle_event):
29489           Don't restart typefinding on a discont.
29490         * gst/gstelement.c: (gst_element_set_state):
29491           Debug spelling fix.
29492         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29493           Allow changing mode of an active pad.
29494           Debug output fixes.
29495         * gst/registries/gstlibxmlregistry.c: (load_feature):
29496           Don't cast a static pad template to a normal pad template.
29497
29498 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29499
29500         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29501         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29502           remove gst_strtoll completely, since it didn't actually do
29503           anything more than what g_ascii_strtoull already does.
29504           check for range errors when deserializing
29505           do a cast for the unsigned cases; but further fixing needs
29506           a decision on what the interpretation of "(int)" and
29507           deserialization should be for values that fall outside the
29508           type's boundaries (ie, refuse, or interpret as casting)
29509
29510 2005-06-23  Wim Taymans  <wim@fluendo.com>
29511
29512         * check/Makefile.am:
29513         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29514         * docs/design/part-live-source.txt:
29515         * docs/design/part-states.txt:
29516         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29517         (gst_basesrc_set_live), (gst_basesrc_is_live),
29518         (gst_basesrc_get_range), (gst_basesrc_activate),
29519         (gst_basesrc_change_state):
29520         * gst/base/gstbasesrc.h:
29521         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29522         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29523         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29524         * gst/gstelement.c: (gst_element_get_state_func),
29525         (gst_element_set_state):
29526         * gst/gstelement.h:
29527         * gst/gsttypes.h:
29528         * tools/gst-launch.c: (event_loop), (main):
29529         Added support for live sources and other elements that
29530         cannot do preroll.
29531         Updated design docs, added live-source design doc.
29532         Implemented live source functionality in basesrc
29533         Fix error condition in _bin_get_state()
29534         Implement live source handling in -launch.
29535         Added check for live sources.
29536         Fixed case in GstBin where elements were changed state
29537         multiple times.
29538
29539
29540 2005-06-23  Andy Wingo  <wingo@pobox.com>
29541
29542         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29543         borken refcounting.
29544
29545         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29546         gst_caps_replace takes care of this for us.
29547
29548         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29549         gst_pad_set_caps on the target, not just its setcaps() function.
29550
29551         * tests/network-clock.scm: 
29552         * tests/network-clock-utils.scm: A network clock simulator.
29553         Something of an algorithmic testbed before doing something in C.
29554
29555 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29556
29557         * check/Makefile.am:
29558         * check/gst/capslist.h:
29559           copy over from 0.8, and add two with bitmasks specified with
29560           (int) 0xFF...
29561         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29562           add test to parse everything from capslist.h
29563         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29564         (main):
29565           add test for structure deserialization
29566         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29567           add tests for deserialization of strings to int types
29568         * gst/gststructure.c: (gst_structure_nth_field_name):
29569         * gst/gststructure.h:
29570           add a way to get the name of a field referenced by index
29571         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29572           instead of checking if the resulting long long lies between
29573           min and max, we check if the long long would fit into
29574           a number of bytes for the final type.
29575           This fixes cases where a string represents 2^32 - 1, which
29576           when cast to int would be the (valid) -1, but is bigger than
29577           G_MAXINT
29578
29579 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29580
29581         * gst/parse/grammar.y:
29582           add a log line for type deserialization
29583
29584 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29585
29586         * check/gst/gstvalue.c: (START_TEST):
29587         * gst/gstvalue.c: (gst_value_deserialize):
29588           return long long, not int, so gint64 deserialization actually
29589           works.  Is there any flag that makes the compiler check this ?
29590           Fixes #308559
29591
29592 2005-06-22  Wim Taymans  <wim@fluendo.com>
29593
29594         * gst/gstbuffer.h:
29595         Added convenience macros for setting buffers in GValue.
29596
29597 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29598
29599         * check/gst/.cvsignore:
29600         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29601           add a test deserializing int64, and comment part out because
29602           it fails, yay !
29603
29604 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29605
29606         * check/Makefile.am:
29607         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29608         * testsuite/Makefile.am:
29609         * testsuite/caps/Makefile.am:
29610         * testsuite/caps/value_serialize.c:
29611         * testsuite/test_gst_init.c:
29612           move a value_serialize test over
29613
29614 2005-06-20  Wim Taymans  <wim@fluendo.com>
29615
29616         * gst/gstpad.c:
29617         Small doc updates.
29618         
29619         * gst/gstvalue.c: (gst_value_compare_buffer),
29620         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29621         (gst_value_compare_flags), (gst_value_serialize_flags),
29622         (gst_value_deserialize_flags), (_gst_value_initialize):
29623         Fix serialisation of buffers, they are not boxed types anymore
29624
29625 2005-06-20  Wim Taymans  <wim@fluendo.com>
29626
29627         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29628         Testcase to show error in buffer-on-caps serialisation.
29629
29630 2005-06-20  Andy Wingo  <wingo@pobox.com>
29631
29632         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29633         will be adding to later.
29634
29635         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29636         if its socks fill with rocks.
29637         (gst_system_clock_obtain): Set the name on object construction.
29638         Avoid double-checked locking.
29639
29640 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29641
29642         * gst/gsturi.c: (gst_element_make_from_uri):
29643           Fix potential endless loop.
29644
29645 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29646
29647         * check/Makefile.am:
29648           add gsttag
29649         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29650         (main):
29651           move over from testsuite dir and clean up
29652         * configure.ac:
29653         * gst/gsttag.c:
29654         * testsuite/Makefile.am:
29655         * testsuite/tags/.cvsignore:
29656         * testsuite/tags/Makefile.am:
29657         * testsuite/tags/merge.c:
29658           remove testsuite/tags
29659
29660 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29661
29662         * docs/gst/gstreamer-sections.txt:
29663         * docs/gst/tmpl/gstenumtypes.sgml:
29664         * win32/gstenumtypes.c:
29665           clean up documentation build a little
29666
29667 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29668
29669         * check/gstcheck.h:
29670           add macros for checking refcounts on objects and caps
29671         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29672           add some more unit tests
29673         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29674         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29675           fix leaked refcounts (I hope :)) so unittest works
29676         * gst/gstpad.h:
29677           whitespace removal
29678
29679 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29680
29681         * configure.ac: back to HEAD
29682
29683 === release 0.9.1 ===
29684
29685 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29686
29687         * NEWS:
29688         * RELEASE:
29689           updated
29690
29691 2005-06-17  Andy Wingo  <wingo@pobox.com>
29692
29693         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29694         assert; it's always possible that the pad gets deactivated in
29695         between the checks in gstpad.c and the implementation. Rely on
29696         finish_preroll() to return a FLUSHING or similar instead of on the
29697         assert.
29698         
29699         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29700         clock and post an EOS message if we come out of finish_preroll in
29701         the playing state.
29702
29703 2005-06-16  David Schleef  <ds@schleef.org>
29704
29705         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29706         (gst_capsfilter_set_property): Allow NULL as possible value
29707         for filter_caps property, indicating GST_CAPS_ANY.
29708
29709 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29710
29711         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29712           fix debug output
29713         * gst/schedulers/Makefile.am:
29714           use libgst prefix
29715         * gstreamer.spec.in:
29716           fix spec for it
29717
29718 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29719
29720         * gstreamer.spec.in:
29721           clean up
29722
29723 2005-06-08  Andy Wingo  <wingo@pobox.com>
29724
29725         * gst/gstutils.c: RPAD fixes all around.
29726         (gst_element_link_pads): Refcounting fixes.
29727
29728         * tools/gst-inspect.c:
29729         * tools/gst-xmlinspect.c:
29730         * parse/grammar.y:
29731         * gst/base/gsttypefindhelper.c:
29732         * gst/base/gstbasesink.c:
29733         * gst/gstqueue.c: RPAD fixes.
29734
29735         * gst/gstghostpad.h:
29736         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29737         pads. The tricky thing is they provide both source and sink
29738         interfaces, since they proxy the internal pad for the external
29739         pad, and vice versa. Implement with lower-level ProxyPad objects,
29740         with the interior proxy pad as a child of the exterior ghost pad.
29741         Should write a doc on this.
29742         
29743         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29744         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29745         gst_object API.
29746         
29747         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29748         pads are real pads. No ghost pads in this file. Not documenting
29749         the myriad s/RPAD/PAD/ and REALIZE fixes.
29750         (gst_pad_class_init): Add properties for "direction" and
29751         "template". Both are construct-only, so they can't change during
29752         the life of the pad. Fixes properly deriving from GstPad.
29753         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29754         derived objects, just set properties when creating the objects via
29755         g_object_new.
29756         (gst_pad_get_parent): Implement as a function, return NULL if the
29757         parent is not an element.
29758         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29759         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29760         
29761         * gst/gstobject.c (gst_object_class_init): Make name a construct
29762         property. Don't set it in the object init.
29763
29764         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29765         with UNKNOWN direction.
29766         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29767         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29768         (gst_element_remove_pad): Remove ghost-pad special cases.
29769         (gst_element_pads_activate): Remove rpad cruft.
29770
29771         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29772         catch the pad's-parent-not-an-element case.
29773
29774         * gst/gst.h: Include gstghostpad.h.
29775
29776         * gst/gst.c (init_post): No more real, ghost pads.
29777
29778         * gst/Makefile.am: Add gstghostpad.[ch].
29779
29780         * check/Makefile.am:
29781         * check/gst/gstbin.c:
29782         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29783         into a bin creates ghost pads, and that the refcounts are right.
29784         Partly moved from gstbin.c.
29785
29786 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29787
29788         * check/gst-libs/.cvsignore:
29789         * check/gst/.cvsignore:
29790         * check/pipelines/.cvsignore:
29791           ignore more
29792         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29793         (START_TEST), (cleanup_suite), (main):
29794           add some tests related to cleanup after running pipelines
29795
29796 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29797
29798         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29799           add a testsuite for GstBuffer
29800
29801 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29802
29803         * gst/gstminiobject.h:
29804           add defines for accessing the refcount
29805
29806 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29807
29808         * Makefile.am: added support for html unit test coverage reports
29809
29810 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29811
29812         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29813           Free existing caps if the capsfilter changes. Add a FIXME about
29814           setting those caps on the pads.
29815
29816         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29817           Before adding a ghost pad to a parent bin, check that there isn't
29818           already one for the element on the bin. Prevents infinite recursion
29819           when using decodebin in parse pipelines. Andy says he'll rewrite the
29820           way this works anyway, so ignore the hack.
29821
29822 2005-06-02  Andy Wingo  <wingo@pobox.com>
29823
29824         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29825         file size, pass it on to the type find helper.
29826
29827         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29828         segment_start and segment_end properly according to the seek
29829         method. Segment_end is still a bit flaky because offset can be
29830         negative for CUR and END cases, but it takes -1 as an "unset"
29831         value.
29832
29833 2005-06-02  Wim Taymans  <wim@fluendo.com>
29834
29835         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29836         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29837         (gst_basesink_activate):
29838         * gst/base/gstbasesink.h:
29839         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29840         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29841         (gst_pad_query), (gst_pad_start_task):
29842         * gst/gstpad.h:
29843         * gst/gstqueue.c: (gst_queue_bufferalloc),
29844         (gst_queue_handle_sink_event), (gst_queue_chain):
29845         Bufferalloc: return GstFlowReturn to more accuratly report
29846         why allocation failed.
29847
29848 2005-06-02  Wim Taymans  <wim@fluendo.com>
29849
29850         * gst/gstpipeline.c: (gst_pipeline_send_event):
29851         Take snapshot of state without blocking.
29852
29853 2005-06-02  Wim Taymans  <wim@fluendo.com>
29854
29855         * docs/design/part-TODO.txt:
29856         * docs/design/part-caps.txt:
29857         * docs/design/part-clocks.txt:
29858         * docs/design/part-negotiation.txt:
29859         * docs/design/part-preroll.txt:
29860         Small doc updates 
29861
29862 2005-05-30  Wim Taymans  <wim@fluendo.com>
29863
29864         * gst/elements/gstidentity.c: (gst_identity_event),
29865         (gst_identity_transform), (gst_identity_get_property):
29866         Protect last_message property as it is accessed from
29867         multiple threads.
29868
29869 2005-05-30  Wim Taymans  <wim@fluendo.com>
29870
29871         * gst/gstelement.c: (gst_element_init),
29872         (gst_element_pads_activate), (gst_element_change_state):
29873         Slicker pad activation code.
29874
29875 2005-05-30  Wim Taymans  <wim@fluendo.com>
29876
29877         * gst/Makefile.am:
29878         * gst/gstelement.h:
29879         * gst/gstelementfactory.h:
29880         * gst/gsttypes.h:
29881         Move elementfactory methods to separate .h file.
29882
29883 2005-05-30  Wim Taymans  <wim@fluendo.com>
29884
29885         * docs/design/part-overview.txt:
29886         * gst/gstsystemclock.h:
29887         Small typo fixes, doc updates.
29888
29889 2005-05-30  Wim Taymans  <wim@fluendo.com>
29890
29891         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29892         (init_popt_callback):
29893         Remove cpu-opt flag.
29894
29895 2005-05-30  Wim Taymans  <wim@fluendo.com>
29896
29897         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29898         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29899         * gst/gstbuffer.h:
29900         Avoid typechecking in places where not needed.
29901         Added accessor for malloc_data.
29902
29903 2005-05-30  Wim Taymans  <wim@fluendo.com>
29904
29905         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29906         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29907         (gst_pad_configure_sink), (gst_pad_configure_src),
29908         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29909         (gst_pad_start_task):
29910         Propagate errors from _set_caps() in configure_src/sink
29911         functions instead of returning TRUE.
29912         FLUSH events can travel up and downstream
29913
29914
29915 2005-05-30  Wim Taymans  <wim@fluendo.com>
29916
29917         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29918         (gst_basesink_activate):
29919         Handle EOS in preroll.
29920
29921 2005-05-30  Wim Taymans  <wim@fluendo.com>
29922
29923         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29924         (gst_queue_loop), (gst_queue_handle_src_event):
29925         Remove old pieces of code
29926         Flushing the queue in an upstream event is a very bad idea.
29927
29928 2005-05-26  Andy Wingo  <wingo@pobox.com>
29929
29930         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29931         gst_value_set_mini_object so as to add a ref on the object (which
29932         will be removed when the value is unset).
29933
29934         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29935         arg type in ::handoff.
29936
29937         * gst/gstelement.c (gst_element_change_state): Also deactivate
29938         pads in READY->NULL, just in case the element didn't make it to
29939         PAUSED. Wingo tested, Wim approved.
29940
29941 2005-05-26  Wim Taymans  <wim@fluendo.com>
29942
29943         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29944         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29945         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29946         A flushing pad cannot be used to alloc_buffer from.
29947
29948 2005-05-26  Wim Taymans  <wim@fluendo.com>
29949
29950         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29951         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29952         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29953         (gst_bus_create_watch), (gst_bus_add_watch_full):
29954         * gst/gstbus.h:
29955         Implement a real GSource and use g_main_context_wakeup() to
29956         signal new messages instead of the socketpair.
29957
29958 2005-05-25  Wim Taymans  <wim@fluendo.com>
29959
29960         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29961         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29962         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29963         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29964         (gst_pad_send_event), (gst_pad_start_task):
29965         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29966         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29967         (gst_queue_sink_activate), (gst_queue_src_activate),
29968         (gst_queue_change_state):
29969         * gst/gstqueue.h:
29970         Fix state changes for non sinks. We now change sinks, then elements
29971         with unconnected srcpads, then the rest.
29972         More efficient queue unlocking in flush and state changes.
29973         Set the pad activate mode even if it does not have an activate
29974         function.
29975
29976 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29977
29978         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29979           Don't go in pull mode for non-seekable sources.
29980         * gst/elements/gsttypefindelement.h:
29981         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29982         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29983         (free_entry), (stop_typefinding),
29984         (gst_type_find_element_handle_event), (find_peek),
29985         (gst_type_find_element_chain), (do_pull_typefind),
29986         (gst_type_find_element_change_state):
29987           Allow typefinding (w/o seeking) in push-mode, simplified version
29988           of what was in 0.8.
29989         * gst/gstutils.c: (gst_buffer_join):
29990         * gst/gstutils.h:
29991           gst_buffer_join() from 0.8.
29992
29993 2005-05-25  Wim Taymans  <wim@fluendo.com>
29994
29995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29996         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29997         (gst_pad_send_event), (gst_pad_start_task):
29998         Disable attempt at mode switching until it is figured out.
29999
30000 2005-05-25  Wim Taymans  <wim@fluendo.com>
30001
30002         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30003         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30004         (gst_basesink_finish_preroll), (gst_basesink_chain),
30005         (gst_basesink_loop), (gst_basesink_activate),
30006         (gst_basesink_change_state):
30007         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30008         (gst_basesrc_get_range), (gst_basesrc_loop),
30009         (gst_basesrc_activate):
30010         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30011         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30012         (gst_real_pad_init), (gst_real_pad_set_property),
30013         (gst_real_pad_get_property), (gst_pad_set_active),
30014         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30015         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30016         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30017         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30018         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30019         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30020         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30021         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30022         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30023         (gst_pad_stop_task):
30024         * gst/gstpad.h:
30025         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30026         (gst_queue_loop), (gst_queue_src_activate):
30027         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30028         (gst_task_get_state):
30029         * gst/gsttask.h:
30030         * gst/schedulers/threadscheduler.c:
30031         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30032         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30033         in task function.
30034         Remove ACTIVE pad flag, use FLUSHING everywhere
30035         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30036         functions.
30037         Add locks around IS_FLUSHING when reading.
30038         Take STREAM lock in chain(), get_range() functions so plugins
30039         don't need to take it anymore.
30040         
30041
30042
30043 2005-05-25  Wim Taymans  <wim@fluendo.com>
30044
30045         * tools/gst-launch.c: (event_loop):
30046         Unref message after using its contents instead of
30047         before.
30048
30049 2005-05-24  Wim Taymans  <wim@fluendo.com>
30050
30051         * docs/design/draft-ghostpads.txt:
30052         * docs/design/draft-push-pull.txt:
30053         * docs/design/draft-query.txt:
30054         * docs/design/part-overview.txt:
30055         Docs updates, added general overview doc.
30056
30057 2005-05-21  David Schleef  <ds@schleef.org>
30058
30059         * docs/gst/tmpl/old/GstBin.sgml:
30060         * docs/gst/tmpl/old/GstBuffer.sgml:
30061         * docs/gst/tmpl/old/GstCaps.sgml:
30062         * docs/gst/tmpl/old/GstClock.sgml:
30063         * docs/gst/tmpl/old/GstCompat.sgml:
30064         * docs/gst/tmpl/old/GstData.sgml:
30065         * docs/gst/tmpl/old/GstElement.sgml:
30066         * docs/gst/tmpl/old/GstEvent.sgml:
30067         * docs/gst/tmpl/old/GstIndex.sgml:
30068         * docs/gst/tmpl/old/GstStructure.sgml:
30069         * docs/gst/tmpl/old/GstTag.sgml:
30070         * docs/gst/tmpl/old/cothreads.sgml:
30071         * docs/gst/tmpl/old/cothreads_compat.sgml:
30072         * docs/gst/tmpl/old/gettext.sgml:
30073         * docs/gst/tmpl/old/gobject2gtk.sgml:
30074         * docs/gst/tmpl/old/grammar.tab.sgml:
30075         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30076         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30077         * docs/gst/tmpl/old/gst_private.sgml:
30078         * docs/gst/tmpl/old/gstaggregator.sgml:
30079         * docs/gst/tmpl/old/gstarch.sgml:
30080         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30081         * docs/gst/tmpl/old/gstbufferstore.sgml:
30082         * docs/gst/tmpl/old/gstdata_private.sgml:
30083         * docs/gst/tmpl/old/gstdisksink.sgml:
30084         * docs/gst/tmpl/old/gstdisksrc.sgml:
30085         * docs/gst/tmpl/old/gstelementfactory.sgml:
30086         * docs/gst/tmpl/old/gstextratypes.sgml:
30087         * docs/gst/tmpl/old/gstfakesink.sgml:
30088         * docs/gst/tmpl/old/gstfakesrc.sgml:
30089         * docs/gst/tmpl/old/gstfdsink.sgml:
30090         * docs/gst/tmpl/old/gstfdsrc.sgml:
30091         * docs/gst/tmpl/old/gstfilesink.sgml:
30092         * docs/gst/tmpl/old/gstfilesrc.sgml:
30093         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30094         * docs/gst/tmpl/old/gstidentity.sgml:
30095         * docs/gst/tmpl/old/gstindexfactory.sgml:
30096         * docs/gst/tmpl/old/gstmarshal.sgml:
30097         * docs/gst/tmpl/old/gstmd5sink.sgml:
30098         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30099         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30100         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30101         * docs/gst/tmpl/old/gstpipefilter.sgml:
30102         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30103         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30104         * docs/gst/tmpl/old/gstshaper.sgml:
30105         * docs/gst/tmpl/old/gstspider.sgml:
30106         * docs/gst/tmpl/old/gstspideridentity.sgml:
30107         * docs/gst/tmpl/old/gststatistics.sgml:
30108         * docs/gst/tmpl/old/gsttee.sgml:
30109         * docs/gst/tmpl/old/gsttimecache.sgml:
30110         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30111         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30112         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30113         * docs/gst/tmpl/old/types.sgml:
30114           I didn't intend to add these or check them in.
30115
30116 2005-05-19  David Schleef  <ds@schleef.org>
30117
30118         * configure.ac: Use -no-common everywhere.  In a sane world, it
30119           would be the default in libtool, because without it, you can't
30120           build DLLs on Windows.
30121         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30122         * docs/gst/gstreamer-sections.txt:
30123         * docs/gst/tmpl/gstcpu.sgml:
30124         * docs/gst/tmpl/gstdata.sgml:
30125         * docs/gst/tmpl/gstthread.sgml:
30126
30127 2005-05-19  David Schleef  <ds@schleef.org>
30128
30129         * gst/gstminiobject.c: (gst_value_set_mini_object),
30130         (gst_value_take_mini_object), (gst_value_get_mini_object):
30131         * gst/gstminiobject.h: Add GValue set/get functions.
30132
30133 2005-05-19  Wim Taymans  <wim@fluendo.com>
30134
30135         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30136         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30137         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30138         * gst/gstbuffer.h:
30139         * gst/gstbus.c: (gst_bus_post):
30140         * gst/gstelement.c: (gst_element_get_random_pad):
30141         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30142         Make subbufer unref the parent in finalize.
30143         some more debugging info.
30144
30145
30146 2005-05-19  Wim Taymans  <wim@fluendo.com>
30147
30148         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30149         (gst_basesink_init), (gst_basesink_finalize),
30150         (gst_basesink_activate), (gst_basesink_change_state):
30151         Don't free preroll queue too early.
30152
30153 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30154
30155         * gst/Makefile.am:
30156         * gst/ROADMAP:
30157           Hi, I'm outdated. Please shoot me.
30158
30159 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30160
30161         * gst/gstpipeline.c: (gst_pipeline_send_event):
30162           Do not access variables after they have been deleted.
30163
30164 2005-05-19  Wim Taymans  <wim@fluendo.com>
30165
30166         * tools/gst-inspect.c: (print_plugin_features):
30167         A plugin feature does unfortunatly not use the
30168         object name yet...
30169
30170 2005-05-18  Wim Taymans  <wim@fluendo.com>
30171
30172         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30173         Port _span() functions to new subbuffers.
30174
30175 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30176
30177         * gst/gstbin.c: (gst_bin_add_func):
30178           Fix clock settery in bins when adding kids after the clock has
30179           been selected.
30180
30181 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30182
30183         * gst/elements/gstidentity.c: (gst_identity_class_init):
30184           Workaround until signals support GstMiniObject.
30185
30186 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30187
30188         * gst/gstbuffer.c:
30189         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30190
30191 2005-05-18  Wim Taymans  <wim@fluendo.com>
30192
30193         * gst/base/Makefile.am:
30194         * gst/base/gstadapter.c: (gst_adapter_base_init),
30195         (gst_adapter_class_init), (gst_adapter_init),
30196         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30197         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30198         (gst_adapter_flush), (gst_adapter_available),
30199         (gst_adapter_available_fast):
30200         * gst/base/gstadapter.h:
30201         Ported and added adapter to the base classes.
30202
30203 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30204
30205         * gst/gst.c:
30206         * gst/gstmessage.c:
30207           Make sure the class is reffed/unreffed once before threads can be
30208           used.  Fixes #304551.
30209
30210 2005-05-17  Wim Taymans  <wim@fluendo.com>
30211
30212         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30213         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30214         * gst/gstminiobject.c: (gst_mini_object_get_type),
30215         (gst_mini_object_free):
30216         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30217         (gst_pad_push), (gst_pad_push_event):
30218         * gst/gstqueue.c: (gst_queue_change_state):
30219         Don't queue buffers in basesink when we are flushing.
30220         Unref buffer when flushing in basesink.
30221         Flush queue when going to READY
30222         Unref buffer when _push() returns an error.
30223         Don't free MiniObject instance when refcount is incremented
30224         in _finalize() so that we can recover objects.
30225
30226 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30227
30228         * docs/manual/advanced-schedulers.xml:
30229         * docs/manual/appendix-checklist.xml:
30230         * docs/pwg/advanced-clock.xml:
30231         * docs/pwg/advanced-interfaces.xml:
30232         * docs/pwg/advanced-request.xml:
30233         * docs/pwg/advanced-types.xml:
30234         * docs/pwg/intro-preface.xml:
30235         * examples/plugins/example.c: (gst_example_get_type),
30236         (gst_example_class_init), (gst_example_chain),
30237         (gst_example_set_property), (gst_example_get_property),
30238         (gst_example_change_state), (plugin_init):
30239         * examples/plugins/example.h:
30240           small doc fixes
30241
30242 2005-05-17  Wim Taymans  <wim@fluendo.com>
30243
30244         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30245         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30246         * gst/gstqueue.c: (gst_queue_change_state):
30247         Clear queue when going to READY.
30248         Remove IN_SETCAPS flag too.
30249
30250 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30251
30252         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30253           Remove implicit cast from gboolean to GstElementStateReturn;
30254           make sure we still return failure in paused => ready case if
30255           the parent class fails to change state and our own stop 
30256           vfunc succeeds.
30257
30258 2005-05-17  Wim Taymans  <wim@fluendo.com>
30259
30260         * tools/gst-launch.c: (event_loop):
30261         Message was unreffed too soon.
30262
30263 2005-05-16  Andy Wingo  <wingo@pobox.com>
30264
30265         * gst/gstbin.c (sink_iterator_filter): Err... um...
30266
30267         * check/gst/gstbin.c (test_ghost_pads): New test for the
30268         ghosting-if-elements-not-in-same-bin behavior.
30269
30270 2005-05-16  David Schleef  <ds@schleef.org>
30271
30272         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30273         accessing refcount directly.
30274
30275 2005-05-15  David Schleef  <ds@schleef.org>
30276
30277         * check/Makefile.am: remove GstData checks
30278         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30279         * gst/Makefile.am: add miniobject, remove data
30280         * gst/gst.h: add miniobject, remove data
30281         * gst/gstdata.c: remove
30282         * gst/gstdata.h: remove
30283         * gst/gstdata_private.h: remove
30284         * gst/gsttypes.h: remove GstEvent and GstMessage
30285         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30286         * gst/gstmarshal.list: change BOXED -> OBJECT
30287
30288         Implement GstMiniObject.
30289         * gst/gstminiobject.c:
30290         * gst/gstminiobject.h:
30291
30292         Modify to be subclasses of GstMiniObject.
30293         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30294         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30295         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30296         (gst_subbuffer_get_type), (gst_subbuffer_init),
30297         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30298         (gst_buffer_span):
30299         * gst/gstbuffer.h:
30300         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30301         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30302         (_gst_event_copy), (gst_event_new):
30303         * gst/gstevent.h:
30304         * gst/gstmessage.c: (_gst_message_initialize),
30305         (gst_message_get_type), (gst_message_class_init),
30306         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30307         (gst_message_new), (gst_message_new_error),
30308         (gst_message_new_warning), (gst_message_new_tag),
30309         (gst_message_new_state_changed), (gst_message_new_application):
30310         * gst/gstmessage.h:
30311         * gst/gstprobe.c: (gst_probe_perform),
30312         (gst_probe_dispatcher_dispatch):
30313         * gst/gstprobe.h:
30314         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30315         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30316         (_gst_query_copy), (gst_query_new):
30317
30318         Update elements for GstData -> GstMiniObject changes
30319         * gst/gstquery.h:
30320         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30321         (gst_queue_chain), (gst_queue_loop):
30322         * gst/elements/gstbufferstore.c:
30323         (gst_buffer_store_add_buffer_func),
30324         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30325         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30326         (gst_fakesink_render):
30327         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30328         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30329         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30330         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30331         (gst_filesrc_create_read):
30332         * gst/elements/gstidentity.c: (gst_identity_class_init):
30333         * gst/elements/gsttypefindelement.c:
30334         (gst_type_find_element_src_event), (free_entry_buffers),
30335         (gst_type_find_element_handle_event):
30336         * libs/gst/dataprotocol/dataprotocol.c:
30337         (gst_dp_header_from_buffer):
30338         * libs/gst/dataprotocol/dataprotocol.h:
30339         * libs/gst/dataprotocol/dp-private.h:
30340
30341 2005-05-15  David Schleef  <ds@schleef.org>
30342
30343         * gst/elements/gstelements.c: Don't include headers that were
30344         just removed.
30345
30346 2005-05-15  David Schleef  <ds@schleef.org>
30347
30348         * gst/elements/Makefile.am: Remove some elements that don't
30349         need to be in the core (or even exist at all).
30350         * gst/elements/gstaggregator.c:
30351         * gst/elements/gstaggregator.h:
30352         * gst/elements/gstmd5sink.c:
30353         * gst/elements/gstmd5sink.h:
30354         * gst/elements/gstmultifilesrc.c:
30355         * gst/elements/gstmultifilesrc.h:
30356         * gst/elements/gstpipefilter.c:
30357         * gst/elements/gstpipefilter.h:
30358         * gst/elements/gstshaper.c:
30359         * gst/elements/gstshaper.h:
30360         * gst/elements/gststatistics.c:
30361         * gst/elements/gststatistics.h:
30362         * po/POTFILES.in: Remove above files.
30363
30364 2005-05-14  Andy Wingo  <wingo@pobox.com>
30365
30366         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30367         so as to get the refs right.
30368         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30369         unreffing objects that don't pass the filter.
30370
30371         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30372         gst_element_set_bus.
30373         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30374         normal cases, this will destroy the bus.
30375
30376         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30377         object.
30378
30379         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30380         has no sinks.
30381
30382 2005-05-13  Andy Wingo  <wingo@pobox.com>
30383
30384         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30385         gst_pad_link, call pad_link_maybe_ghosting,
30386         (pad_link_maybe_ghosting): Links pads, making sure that the
30387         elements being linked are in the same bin.
30388         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30389         Helpers for pad_link_maybe_ghosting.
30390
30391 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30392
30393         * configure.ac:
30394           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30395
30396 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30397
30398         * docs/design/part-element-source.txt:
30399           Mention GstPushSrc
30400
30401 2005-05-12  Wim Taymans  <wim@fluendo.com>
30402
30403         * gst/base/gstbasesink.c: (gst_basesink_init),
30404         (gst_basesink_activate):
30405         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30406         (gst_basesrc_is_seekable):
30407         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30408         (bin_element_is_sink), (gst_bin_change_state):
30409         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30410         * gst/gstelement.h:
30411         Identify sinks by their flag to avoid overly complicated
30412         checks (fow now).
30413         Do state changes even for elements not reachable from the
30414         sinks.
30415         BaseSink is a sink now :)
30416         Some more debugging info in the basesrc.
30417
30418
30419 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30420
30421         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30422           Implement _query on a bin, similar to _send_event.
30423
30424 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30425
30426         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30427           Discont event offset format should be GST_FORMAT_BYTES,
30428           not GST_FORMAT_TIME.
30429
30430 2005-05-12  Wim Taymans  <wim@fluendo.com>
30431
30432         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30433         Same fix as Ronald's but without the signal. 
30434
30435 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30436
30437         * gst/gstutils.c: (gst_element_query_position):
30438           No, an element is not a pad.
30439
30440 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30441
30442         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30443         (gst_bin_get_state):
30444           If a child is removed from a bin while we remove the child from
30445           the bin and while we're retrieving its state, signal this to the
30446           get_state function so we abort the wait (instead of waiting for
30447           a timeout) and can immediately re-iterate over all other elements.
30448
30449 2005-05-12  Wim Taymans  <wim@fluendo.com>
30450
30451         * gst/base/Makefile.am:
30452         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30453         (gst_basesrc_start):
30454         * gst/base/gstbasesrc.h:
30455         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30456         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30457         (gst_pushsrc_init), (gst_pushsrc_create):
30458         * gst/base/gstpushsrc.h:
30459         Added is_seekable to BaseSrc
30460         Added simple PushSrc.
30461
30462 2005-05-11  Wim Taymans  <wim@fluendo.com>
30463
30464         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30465         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30466         (gst_element_link_pads), (gst_element_query_position),
30467         (gst_element_query_convert), (intersect_caps_func),
30468         (gst_pad_query_position), (gst_pad_query_convert):
30469         Fix refcounting in utils function.
30470         No point in trying to activate a pad when it's added, it could
30471         be added from the state change function and then we deadlock, the
30472         element has to decide what to do.
30473
30474 2005-05-10  Andy Wingo  <wingo@pobox.com>
30475
30476         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30477         *all* the arguments.
30478
30479         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30480         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30481         lock (according to the docs -- if this is wrong change the docs).
30482
30483         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30484         flush messages in the NULL state.
30485
30486         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30487         message immediately and return.
30488         (gst_bus_set_flushing): New function. If a bus is flushing, it
30489         flushes out any queued messages and immediately unrefs new
30490         messages. This is so when an element goes to NULL, all of the
30491         unhandled messages coming from it can be freed, and their
30492         references to the element dropped. In other words: message source
30493         ref considered harmful :P
30494
30495         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30496         we're finished with it.
30497
30498         * gst/gstmessage.c (gst_message_new_state_changed): 
30499
30500 2005-05-10  Wim Taymans  <wim@fluendo.com>
30501
30502         * gst/gstvalue.c: (gst_value_compare_flags),
30503         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30504         (_gst_value_initialize):
30505         Added flags serialize/deserialize/compare code.
30506
30507 2005-05-09  Andy Wingo  <wingo@pobox.com>
30508
30509         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30510         Intersect the peer's caps with our caps.
30511
30512 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30513
30514         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30515         * gst/elements/gsttypefindelement.c: (find_peek):
30516           Handle negative offsets better. Fixes decodebin.
30517
30518 2005-05-09  Wim Taymans  <wim@fluendo.com>
30519
30520         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30521         (gst_base_transform_event):
30522         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30523         Implement accept_caps.
30524         Fix silly lock/unlock mismatch in base class.
30525
30526 2005-05-09  Wim Taymans  <wim@fluendo.com>
30527
30528         * docs/design/draft-push-pull.txt:
30529         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30530         * gst/elements/gstfilesink.c: (gst_filesink_init),
30531         (gst_filesink_query):
30532         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30533         (gst_type_find_handle_src_query), (find_element_get_length):
30534         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30535         * gst/gstelement.h:
30536         * gst/gstmessage.c:
30537         * gst/gstmessage.h:
30538         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30539         (gst_real_pad_get_caps_unlocked),
30540         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30541         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30542         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30543         (gst_real_pad_dispose), (gst_real_pad_finalize),
30544         (gst_pad_load_and_link), (gst_pad_save_thyself),
30545         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30546         (gst_pad_check_pull_range), (gst_pad_pull_range),
30547         (gst_pad_template_get_type), (gst_pad_template_class_init),
30548         (gst_pad_template_init), (gst_pad_template_dispose),
30549         (name_is_valid), (gst_static_pad_template_get),
30550         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30551         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30552         (gst_pad_get_element_private), (gst_pad_start_task),
30553         (gst_pad_pause_task), (gst_pad_stop_task),
30554         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30555         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30556         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30557         (gst_ghost_pad_new):
30558         * gst/gstpad.h:
30559         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30560         (gst_query_new_position), (gst_query_set_position),
30561         (gst_query_parse_position), (gst_query_new_convert),
30562         (gst_query_set_convert), (gst_query_parse_convert):
30563         * gst/gstquery.h:
30564         * gst/gstqueryutils.c:
30565         * gst/gstqueryutils.h:
30566         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30567         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30568         (gst_queue_handle_src_query):
30569         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30570         (gst_element_query_position), (gst_element_query_convert),
30571         (intersect_caps_func), (gst_pad_query_position),
30572         (gst_pad_query_convert):
30573         * gst/gstutils.h:
30574         * tools/gst-inspect.c: (print_pad_info):
30575         * tools/gst-xmlinspect.c: (print_element_info):
30576         Remove old query functions. Ported old code.
30577         Added position/convert helper functions to gstutils.
30578         Reordered gstpad.c code, grouping relevant things.
30579         Remove gst_message_new(), always need to speficy a specific
30580         message.
30581
30582
30583 2005-05-09  Andy Wingo  <wingo@pobox.com>
30584
30585         * gst/gstiterator.h: Add some includes.
30586
30587         * gst/gstqueryutils.h: Include more headers.
30588
30589         * gst/gstpad.h:
30590         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30591         some uses of gst_pad_query.
30592
30593         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30594         NULL out parameters.
30595         (gst_query_new_position): New proc, allocates a new position
30596         query.
30597
30598         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30599         gstqueryutils.c to the build.
30600
30601         * gst/gststructure.c (gst_structure_set_valist): Implement with
30602         the generic G_VALUE_COLLECT.
30603         
30604 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30605
30606         * gst/Makefile.am: (gst_headers):
30607         Added gstqueryutils.h to the list of headers to install, that was
30608         a 'nachty' move wingo :)
30609
30610 2005-05-06  Andy Wingo  <wingo@pobox.com>
30611
30612         * gst/gstquery.h
30613         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30614         GstData, init a memchunk.
30615         (standard_definitions): Add a few query types, deprecate a few.
30616         (gst_query_get_type): New proc.
30617         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30618         implementation.
30619         (gst_query_new_application, gst_query_get_structure): New public
30620         procs.
30621
30622         * docs/design/draft-query.txt: Removed LINKS from the query types,
30623         because all the rest can be dispatched to other pads -- seemed
30624         ugly to have a query that couldn't be dispatched. internal_links
30625         is fine as a pad method.
30626
30627         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30628         in gstpad.c, but maintain binary compatibility for the moment.
30629         Will fix before 0.9 is out.
30630
30631         * gst/gstqueryutils.c: 
30632         * gst/gstqueryutils.h: New files, implement 3 methods for each
30633         query type: parse_query, parse_response, and set. Probably need an
30634         allocator as well.
30635
30636         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30637
30638         * gst/elements/gstfilesink.c (gst_filesink_query2):
30639         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30640         query_types, and formats methods.
30641
30642         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30643         (gst_pad_set_query2_function): New functions.
30644         (gst_real_pad_init): Set query2_default as the default query2
30645         function. Basically just dispatches to internally linked pads.
30646
30647         Needs review!
30648         
30649         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30650         without using the atomic operations. Only one thread can possibly
30651         be accessing the data at this point. Changed so as to avoid
30652         gst_atomic operations.
30653
30654 2005-05-06  Wim Taymans  <wim@fluendo.com>
30655
30656         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30657         Also set caps if we use the fallback buffer alloc.
30658
30659 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30660
30661         * docs/gst/Makefile.am:
30662         * docs/gst/gstreamer-docs.sgml:
30663         * docs/gst/gstreamer-sections.txt:
30664         * docs/gst/tmpl/gstatomic.sgml:
30665         * docs/gst/tmpl/gstmemchunk.sgml:
30666         * testsuite/elements/struct_i386.h:
30667         * win32/GStreamer.vcproj:
30668         * win32/Makefile:
30669           Purge GstAtomic stuff from docs and win32 makefiles as well
30670
30671 2005-05-06  Wim Taymans  <wim@fluendo.com>
30672
30673         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30674         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30675         * gst/gstpad.c: (gst_pad_peer_get_caps):
30676         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30677         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30678         (gst_queue_src_activate), (gst_queue_change_state):
30679         * gst/gstqueue.h:
30680         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30681         (intersect_caps_func):
30682         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30683         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30684         Some fixes for the peer_get_caps() change.
30685
30686 2005-05-06  Wim Taymans  <wim@fluendo.com>
30687
30688         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30689         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30690         (gst_basesink_activate):
30691         Actually do something with error codes returned from the push
30692         functions.
30693
30694 2005-05-06  Wim Taymans  <wim@fluendo.com>
30695
30696         * docs/design/part-element-sink.txt:
30697         * docs/design/part-element-source.txt:
30698         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30699         (gst_basesink_event), (gst_basesink_activate):
30700         * gst/base/gstbasesink.h:
30701         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30702         (gst_basesrc_activate):
30703         * gst/base/gstbasesrc.h:
30704         * gst/gstelement.c: (gst_element_pads_activate):
30705         Some more documentation.
30706         Fixed scheduling decision in _pads_activate().
30707
30708 2005-05-05  Andy Wingo  <wingo@pobox.com>
30709
30710         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30711         the test suite.
30712
30713 2005-05-05  Wim Taymans  <wim@fluendo.com>
30714
30715         * gst/base/Makefile.am:
30716         * gst/base/gstbasesink.h:
30717         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30718         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30719         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30720         (gst_collectpads_class_init), (gst_collectpads_init),
30721         (gst_collectpads_finalize), (gst_collectpads_new),
30722         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30723         (find_pad), (gst_collectpads_remove_pad),
30724         (gst_collectpads_is_active), (gst_collectpads_collect),
30725         (gst_collectpads_collect_range), (gst_collectpads_start),
30726         (gst_collectpads_stop), (gst_collectpads_peek),
30727         (gst_collectpads_pop), (gst_collectpads_available),
30728         (gst_collectpads_read), (gst_collectpads_flush),
30729         (gst_collectpads_chain):
30730         * gst/base/gstcollectpads.h:
30731         * gst/elements/Makefile.am:
30732         * gst/elements/gstelements.c:
30733         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30734         (gst_fakesink_get_times), (gst_fakesink_event),
30735         (gst_fakesink_preroll), (gst_fakesink_render):
30736         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30737         (gst_filesink_init), (gst_filesink_set_location),
30738         (gst_filesink_open_file), (gst_filesink_close_file),
30739         (gst_filesink_pad_query), (gst_filesink_event),
30740         (gst_filesink_render), (gst_filesink_change_state):
30741         * gst/elements/gstfilesink.h:
30742         Added object to help in making collect pad based elements.
30743         Ported filesink.
30744         Make event function in sink baseclass return gboolean.
30745
30746 2005-05-05  Wim Taymans  <wim@fluendo.com>
30747
30748         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30749         (gst_bin_get_by_name):
30750         * gst/gstbuffer.h:
30751         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30752         (gst_clock_finalize):
30753         * gst/gstdata.c: (gst_data_replace):
30754         * gst/gstdata.h:
30755         * gst/gstelement.c: (gst_element_request_pad),
30756         (gst_element_pads_activate):
30757         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30758         (gst_object_unref):
30759         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30760         (gst_pad_set_checkgetrange_function),
30761         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30762         (gst_pad_check_pull_range), (gst_pad_pull_range),
30763         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30764         (gst_pad_pause_task), (gst_pad_stop_task):
30765         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30766         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30767         Fix name lookup in GstBin.
30768         Added _data_replace() function and _buffer_replace()
30769         Use finalize method to clean up clock.
30770         Fix refcounting on request pads.
30771         Fix pad schedule mode error.
30772         Some more object refcounting debug info,
30773
30774
30775 2005-05-04  Andy Wingo <wingo@pobox.com>
30776
30777         * check/Makefile.am:
30778         * docs/gst/tmpl/gstatomic.sgml:
30779         * docs/gst/tmpl/gstplugin.sgml:
30780         * gst/base/gstbasesink.c: (gst_basesink_activate):
30781         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30782         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30783         (gst_basesrc_query), (gst_basesrc_set_property),
30784         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30785         (gst_basesrc_activate):
30786         * gst/base/gstbasesrc.h:
30787         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30788         (gst_base_transform_src_activate):
30789         * gst/elements/gstelements.c:
30790         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30791         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30792         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30793         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30794         (gst_type_find_element_checkgetrange),
30795         (gst_type_find_element_activate):
30796         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30797         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30798         (gst_caps_load_thyself):
30799         * gst/gstelement.c: (gst_element_pads_activate),
30800         (gst_element_save_thyself), (gst_element_restore_thyself):
30801         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30802         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30803         * gst/gstpad.h:
30804         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30805         (gst_xml_parse_file), (gst_xml_parse_memory),
30806         (gst_xml_get_element), (gst_xml_make_element):
30807         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30808         (_file_index_id_save_xml), (gst_file_index_commit):
30809         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30810         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30811         (load_paths):
30812         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30813         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30814         * tools/gst-complete.c: (main):
30815         * tools/gst-compprep.c: (main):
30816         * tools/gst-inspect.c: (print_element_properties_info):
30817         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30818         * tools/gst-xmlinspect.c: (print_element_properties):
30819         GCC 4 fixen.
30820         
30821 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30822
30823         * gst/gstplugin.c: (gst_plugin_check_module),
30824         (gst_plugin_check_file), (gst_plugin_load_file):
30825             apply patch from #172526 to make register work on MacOSX
30826
30827 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30828
30829         * docs/gst/tmpl/gstconfig.sgml:
30830         * gst/gstconfig.h.in:
30831           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30832         * testsuite/debug/printf_extension.c: (main):
30833           Do not use GST_PTR_FORMAT on pointers to types with
30834           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30835         * testsuite/elements/property.h:
30836           use correct printf format
30837
30838 2005-05-02  Wim Taymans  <wim@fluendo.com>
30839
30840         * docs/design/draft-push-pull.txt:
30841         * docs/design/draft-query.txt:
30842         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30843         (gst_basesrc_start):
30844         Added draft for new query API.
30845         Added draft for better selecting scheduling methods.
30846         Make basesrc ignore length if the subclass does not support
30847         it.
30848
30849 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30850
30851         * gst/Makefile.am:
30852           possible fixes for automake-1.5 - _LIBADD is reserved
30853
30854 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30855
30856         * docs/faq/Makefile.am:
30857         * docs/manual/Makefile.am:
30858         * docs/manuals.mak:
30859         * docs/pwg/Makefile.am:
30860         * gst/Makefile.am:
30861           possible fixes for automake-1.5
30862
30863 2005-04-28  Wim Taymans  <wim@fluendo.com>
30864
30865         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30866         (gst_basesink_pad_getcaps), (gst_basesink_init),
30867         (gst_basesink_do_sync):
30868         * gst/gstclock.c: (gst_clock_entry_new):
30869         * gst/gstevent.c: (gst_event_discont_get_value):
30870         * gst/gstpipeline.c: (pipeline_bus_handler),
30871         (gst_pipeline_change_state):
30872         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30873         Better debugging of clocking info.
30874         Allow NULL values when getting discont values.
30875
30876 2005-04-27  Wim Taymans  <wim@fluendo.com>
30877
30878         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30879         * check/gst/gstpad.c: (gst_pad_suite):
30880         Increase timeout for checks.
30881
30882 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30883
30884         * check/Makefile.am:
30885           fix the broken rule for cleanup.  Apparently this rule is
30886           only needed on FC2, so maybe this warrants further autotool
30887           inspection.
30888
30889 2005-04-26  Wim Taymans  <wim@fluendo.com>
30890
30891         * gst/gsttrashstack.h:
30892         Ooohh. a nasty one! After having a failed pop() from the stack,
30893         it's possible that the stack is empty. In that case, don't
30894         follow the NULL pointer.
30895
30896 2005-04-25  Wim Taymans  <wim@fluendo.com>
30897
30898         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30899         (gst_pad_set_checkgetrange_function),
30900         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30901         (gst_pad_check_pull_range), (gst_pad_pull_range),
30902         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30903         (gst_pad_pause_task), (gst_pad_stop_task):
30904         * gst/gstplugin.c: (gst_plugin_load):
30905         * gst/gstplugin.h:
30906         Remove gst_library_load as it does more harm than good with
30907         the new g_module flags.
30908         Revert bogus caps template check in pad linking, pad caps
30909         are important when linking not the template, which is more
30910         general than the current caps.
30911
30912 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30913
30914         * gst/autoplug/.cvsignore:
30915         * gst/autoplug/Makefile.am:
30916         * gst/autoplug/gstsearchfuncs.c:
30917         * gst/autoplug/gstsearchfuncs.h:
30918         * gst/autoplug/gstspider.c:
30919         * gst/autoplug/gstspider.h:
30920         * gst/autoplug/gstspideridentity.c:
30921         * gst/autoplug/gstspideridentity.h:
30922         * gst/autoplug/spidertest.c:
30923           Die, spider, die.
30924
30925 2005-04-25  Wim Taymans  <wim@fluendo.com>
30926
30927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30928         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30929         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30930         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30931         * gst/gstpad.h:
30932         Added stubs for unimplemented functions. 
30933
30934 2005-04-24  David Schleef  <ds@schleef.org>
30935
30936         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30937         please fix.
30938
30939 2005-04-24  David Schleef  <ds@schleef.org>
30940
30941         Convert everything from GstAtomicInt to g_atomic_int_*, and
30942         remove gstatomic.
30943         * gst/Makefile.am:
30944         * gst/gstatomic.c:
30945         * gst/gstatomic.h:
30946         * gst/gstatomic_impl.h:
30947         * gst/gstbuffer.c:
30948         * gst/gstcaps.c:
30949         * gst/gstcaps.h:
30950         * gst/gstclock.c:
30951         * gst/gstclock.h:
30952         * gst/gstdata.c:
30953         * gst/gstdata.h:
30954         * gst/gstdata_private.h:
30955         * gst/gstevent.c:
30956         * gst/gstinfo.c:
30957         * gst/gstinfo.h:
30958         * gst/gstmessage.c:
30959         * gst/gstobject.c:
30960         * gst/gstobject.h:
30961         * gst/gststructure.c:
30962         * gst/gststructure.h:
30963         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30964         * gst/gstutils.h:
30965
30966 2005-04-24  David Schleef  <ds@schleef.org>
30967
30968         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30969         make the regressions tests work.  Remove some code that is no
30970         longer true.
30971         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30972         Disable warning for pads without templates.
30973
30974 2005-04-24  David Schleef  <ds@schleef.org>
30975
30976         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30977         functions that handle filtered links.
30978         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30979         removed functions.
30980         * gst/gstutils.c: Fix/remove utility functions that handle
30981         filtered caps.
30982         * gst/gstutils.h:
30983         * gst/gstvalue.c: Add serialization/deserialization of caps
30984         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30985         requires fixing so that the filter caps notation creates
30986         a capsfilter element and sets the filter_caps property.  I
30987         think everyone probably wants to keep the shorthand notation.
30988         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30989         * docs/gst/tmpl/gstpad.sgml:
30990
30991         * gst/elements/gstelements.c: Register capsfilter element.
30992         * gst/Makefile.am: fix spacing
30993         * docs/random/ds/0.9-suggested-changes: random
30994
30995 2005-04-23  David Schleef  <ds@schleef.org>
30996
30997         * gst/elements/Makefile.am:
30998         * gst/elements/gstcapsfilter.c: New element that acts like an
30999         identity, but filters caps.  Will eventually replace filtered
31000         caps in pad linking.
31001         * gst/gstutils.c: (gst_element_create_all_pads): New function
31002         to create all the ALWAYS pads that are registered with an
31003         element class.  This functionality should eventually be
31004         merged in with GstElement initialization.
31005         * gst/gstutils.h:
31006         * testsuite/trigger/README: part of trigger test code that should
31007         have been checked in a long time ago.
31008
31009 2005-04-23  David Schleef  <ds@schleef.org>
31010
31011         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31012         needed with new versions of libtool (nobody will confirm this),
31013         and hard to carry around.
31014         * gst/autoplug/Makefile.am:
31015         * gst/base/Makefile.am:
31016         * gst/elements/Makefile.am:
31017         * gst/indexers/Makefile.am:
31018         * gst/schedulers/Makefile.am:
31019         * libs/gst/bytestream/Makefile.am:
31020         * libs/gst/control/Makefile.am:
31021         * libs/gst/dataprotocol/Makefile.am:
31022         * libs/gst/getbits/Makefile.am:
31023
31024 2005-04-21  Wim Taymans  <wim@fluendo.com>
31025
31026         * docs/design/draft-push-pull.txt:
31027         * docs/design/part-MT-refcounting.txt:
31028         * docs/design/part-TODO.txt:
31029         * docs/design/part-caps.txt:
31030         * docs/design/part-events.txt:
31031         * docs/design/part-gstbus.txt:
31032         * docs/design/part-gstpipeline.txt:
31033         * docs/design/part-messages.txt:
31034         * docs/design/part-push-pull.txt:
31035         * docs/design/part-query.txt:
31036         Some more docs.
31037
31038 2005-04-21  Wim Taymans  <wim@fluendo.com>
31039
31040         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31041         (gst_message_new), (gst_message_new_error),
31042         (gst_message_new_warning), (gst_message_new_tag),
31043         (gst_message_new_state_changed), (gst_message_new_application),
31044         (gst_message_get_structure):
31045         * gst/gstmessage.h:
31046         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31047         (gst_structure_copy_conditional):
31048         Use parent refcount in GstMessage to ensure GstStructure
31049         consistency.
31050         Cleaned up headers a bit.
31051         
31052
31053 2005-04-20  Wim Taymans  <wim@fluendo.com>
31054
31055         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31056         (gst_basesink_pad_getcaps), (gst_basesink_init),
31057         (gst_basesink_chain_unlocked):
31058         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31059         (gst_type_find_helper):
31060         * gst/elements/gsttypefindelement.c:
31061         (gst_type_find_element_have_type), (gst_type_find_element_init),
31062         (stop_typefinding), (gst_type_find_element_handle_event),
31063         (find_suggest), (gst_type_find_element_chain),
31064         (gst_type_find_element_checkgetrange),
31065         (gst_type_find_element_getrange), (do_typefind),
31066         (gst_type_find_element_activate):
31067         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31068         (gst_buffer_default_free), (gst_buffer_default_copy),
31069         (gst_buffer_set_caps):
31070         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31071         (gst_caps_replace):
31072         * gst/gstmessage.c: (gst_message_new),
31073         (gst_message_new_state_changed):
31074         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31075         (gst_pad_set_checkgetrange_function),
31076         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31077         (gst_pad_set_caps), (gst_pad_check_pull_range),
31078         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31079         * gst/gstpad.h:
31080         * gst/gsttypefind.c: (gst_type_find_register):
31081         Make gst_caps_replace() work like other _replace() functions.
31082         Use _caps_replace() where possible.
31083         Make sure _message_new() initialises its field.
31084         Add gst_static_pad_template_get_caps()
31085
31086
31087 2005-04-18  Andy Wingo  <wingo@pobox.com>
31088
31089         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31090         on the peer, not the pad. I think that was a typo. Pass an extra
31091         arg to see if random access is possible. Activate the pads as
31092         PULL_RANGE if possible.
31093
31094         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31095
31096         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31097         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31098         to PROP_....
31099
31100 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31101
31102         * docs/faq/using.xml:
31103           Add note on gstreamer-properties (#154996).
31104
31105 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31106
31107         * docs/random/bbb/optional-properties:
31108           Some analysis on optional properties.
31109
31110 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31111
31112         * docs/gst/tmpl/gstelementfactory.sgml:
31113         * gst/gstelement.h:
31114         * gst/gstelementfactory.c: (gst_element_factory_init),
31115         (gst_element_factory_cleanup), (gst_element_register),
31116         (__gst_element_factory_add_static_pad_template),
31117         (gst_element_factory_get_static_pad_templates),
31118         (gst_element_factory_can_src_caps),
31119         (gst_element_factory_can_sink_caps):
31120         * gst/registries/Makefile.am:
31121         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31122         (gst_xml_registry_class_init), (gst_xml_registry_init),
31123         (gst_xml_registry_new), (gst_xml_registry_set_property),
31124         (gst_xml_registry_get_property), (get_time), (make_dir),
31125         (gst_xml_registry_get_perms_func),
31126         (plugin_times_older_than_recurse), (plugin_times_older_than),
31127         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31128         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31129         (add_to_char_array), (read_string), (read_uint), (read_enum),
31130         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31131         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31132         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31133         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31134         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31135         (gst_xml_registry_rebuild):
31136         * gst/registries/gstlibxmlregistry.h:
31137         * tools/gst-compprep.c: (main):
31138         * tools/gst-inspect.c: (print_pad_templates_info):
31139         * tools/gst-xmlinspect.c: (print_element_info):
31140           Use libxml2 for registry parsing, use staticpadtemplates in
31141           elementfactories. Makes gst_init() +/- 10x faster.
31142
31143 2005-04-12  Wim Taymans  <wim@fluendo.com>
31144
31145         * gst/base/Makefile.am:
31146         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31147         (gst_basesink_pad_getcaps), (gst_basesink_init),
31148         (gst_basesink_event), (gst_basesink_change_state):
31149         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31150         (gst_basesrc_init), (gst_basesrc_query),
31151         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31152         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31153         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31154         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31155         (gst_basesrc_stop), (gst_basesrc_activate),
31156         (gst_basesrc_change_state):
31157         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31158         (helper_find_suggest), (gst_type_find_helper):
31159         * gst/base/gsttypefindhelper.h:
31160         * gst/elements/Makefile.am:
31161         * gst/elements/gstelements.c:
31162         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31163         (gst_fakesink_get_times), (gst_fakesink_event),
31164         (gst_fakesink_preroll), (gst_fakesink_render):
31165         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31166         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31167         (gst_fakesrc_get_property), (gst_fakesrc_create),
31168         (gst_fakesrc_start), (gst_fakesrc_stop):
31169         * gst/elements/gstfakesrc.h:
31170         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31171         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31172         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31173         (gst_filesrc_create_read), (gst_filesrc_create),
31174         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31175         (gst_filesrc_start):
31176         * gst/elements/gsttypefindelement.c:
31177         (gst_type_find_element_have_type), (gst_type_find_element_init),
31178         (start_typefinding), (stop_typefinding), (push_buffer_store),
31179         (gst_type_find_element_handle_event),
31180         (gst_type_find_element_chain),
31181         (gst_type_find_element_checkgetrange),
31182         (gst_type_find_element_getrange), (do_typefind),
31183         (gst_type_find_element_activate),
31184         (gst_type_find_element_change_state):
31185         * gst/elements/gsttypefindelement.h:
31186         * gst/gstpipeline.c: (pipeline_bus_handler):
31187         Added typefind helper.
31188         Small preroll fix in the base sink.
31189         Disable typefind code in basesrc.
31190         Crude port of typefindelement.
31191         Fakesrc cleanups.
31192
31193
31194 2005-04-11  Wim Taymans  <wim@fluendo.com>
31195
31196         * check/gst/gstbus.c: (gstbus_suite):
31197         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31198         * check/gstcheck.h:
31199           Fix up the timeout so that the test does not fail.
31200
31201 2005-04-06  Wim Taymans  <wim@fluendo.com>
31202
31203         * gst/base/README:
31204         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31205         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31206         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31207         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31208         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31209         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31210         (gst_basesrc_stop), (gst_basesrc_activate),
31211         (gst_basesrc_change_state), (basesrc_find_peek),
31212         (basesrc_find_suggest), (gst_basesrc_type_find):
31213         * gst/base/gstbasesrc.h:
31214         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31215         (gst_filesrc_class_init), (gst_filesrc_init),
31216         (gst_filesrc_finalize), (gst_filesrc_set_location),
31217         (gst_filesrc_set_property), (gst_filesrc_get_property),
31218         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31219         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31220         (gst_filesrc_create_read), (gst_filesrc_create),
31221         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31222         * gst/elements/gstfilesrc.h:
31223         * gst/gstelement.c: (gst_element_get_state_func),
31224         (gst_element_lost_state), (gst_element_pads_activate):
31225         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31226         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31227         (gst_pad_pull_range):
31228         * gst/gstpad.h:
31229         More work on the generic source base class, implement seeking,
31230         query.
31231         Make filesrc extend the base source class.
31232         Added gst_pad_set_checkgetrange_function to GstPad.
31233
31234 2005-04-06  Andy Wingo  <wingo@pobox.com>
31235
31236         * pkgconfig/gstreamer-base.pc.in:
31237         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31238
31239         * pkgconfig/Makefile.am:
31240         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31241
31242 2005-04-04  Wim Taymans  <wim@fluendo.com>
31243
31244         * gst/base/Makefile.am:
31245         * gst/base/README:
31246         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31247         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31248         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31249         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31250         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31251         (gst_basesrc_base_init), (gst_basesrc_class_init),
31252         (gst_basesrc_init), (gst_basesrc_get_formats),
31253         (gst_basesrc_get_query_types), (gst_basesrc_query),
31254         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31255         (gst_basesrc_set_property), (gst_basesrc_get_property),
31256         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31257         (gst_basesrc_loop), (gst_basesrc_activate),
31258         (gst_basesrc_change_state):
31259         * gst/base/gstbasesrc.h:
31260         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31261         (gst_fakesrc_class_init), (gst_fakesrc_init),
31262         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31263         (gst_fakesrc_get_property), (gst_fakesrc_create):
31264         * gst/elements/gstfakesrc.h:
31265         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31266         (gst_filesrc_open_file), (gst_filesrc_loop),
31267         (gst_filesrc_activate), (filesrc_find_peek),
31268         (gst_filesrc_type_find):
31269         Made base source class, make fakesrc extend it.
31270         Add comments to basesink class.
31271         Some filesrc cleanup.
31272
31273 2005-03-31  David Schleef  <ds@schleef.org>
31274
31275         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31276         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31277         expected to link against libgstreamer.
31278         * gst/base/Makefile.am: link against libgstreamer
31279         * gst/elements/Makefile.am: same
31280
31281 2005-03-31  Andy Wingo  <wingo@pobox.com>
31282
31283         * tests/instantiate/Makefile.am:
31284         * tests/instantiate/caps.c: Add test to test speed of caps copy
31285         and free.
31286
31287         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31288         GMemChunk to be fair.
31289
31290         * gst/gsttrashstack.h: Remove warning about using the fallback
31291         trash stack implementation, it's still faster than malloc.
31292
31293 2005-03-30  Andy Wingo  <wingo@pobox.com>
31294
31295         * tests/complexity.c: Add a copyright.
31296
31297 2005-03-31  Wim Taymans  <wim@fluendo.com>
31298
31299         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31300         (gst_base_transform_class_init), (gst_base_transform_init),
31301         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31302         (gst_base_transform_get_property),
31303         (gst_base_transform_sink_activate),
31304         (gst_base_transform_src_activate),
31305         (gst_base_transform_change_state):
31306         * gst/base/gstbasetransform.h:
31307         * gst/elements/gstidentity.c: (gst_identity_class_init),
31308         (gst_identity_event), (gst_identity_check_perfect),
31309         (gst_identity_transform), (gst_identity_start),
31310         (gst_identity_stop):
31311         Added start/stop methods to transform base class so subclasses 
31312         don't need to deal with state changes even.
31313
31314 2005-03-31  Wim Taymans  <wim@fluendo.com>
31315
31316         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31317         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31318         * gst/gstevent.h:
31319         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31320         (gst_pad_pull_range):
31321         Added rate to the discont event to prepare for variable speed
31322         and reverse playback.
31323
31324 2005-03-29  David Schleef  <ds@schleef.org>
31325
31326         * configure.ac:
31327         * testsuite/trigger/Makefile.am:
31328         * testsuite/trigger/trigger.c: A little example program to show
31329         how trigger-based elements can work.
31330
31331 2005-03-29  Wim Taymans  <wim@fluendo.com>
31332
31333         * gst/base/Makefile.am:
31334         * gst/base/README:
31335         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31336         (gst_basesink_base_init), (gst_basesink_class_init),
31337         (gst_basesink_pad_getcaps), (gst_basesink_init),
31338         (gst_basesink_activate), (gst_basesink_change_state):
31339         * gst/base/gstbasesink.h:
31340         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31341         (gst_base_transform_base_init), (gst_base_transform_finalize),
31342         (gst_base_transform_class_init), (gst_base_transform_init),
31343         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31344         (gst_base_transform_event), (gst_base_transform_getrange),
31345         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31346         (gst_base_transform_set_property),
31347         (gst_base_transform_get_property),
31348         (gst_base_transform_sink_activate),
31349         (gst_base_transform_src_activate),
31350         (gst_base_transform_change_state):
31351         * gst/base/gstbasetransform.h:
31352         * gst/elements/gstidentity.c: (gst_identity_finalize),
31353         (gst_identity_class_init), (gst_identity_init),
31354         (gst_identity_event), (gst_identity_check_perfect),
31355         (gst_identity_transform), (gst_identity_set_property),
31356         (gst_identity_get_property), (gst_identity_change_state):
31357         * gst/elements/gstidentity.h:
31358         * gst/gstelement.c: (gst_element_get_state_func),
31359         (gst_element_lost_state), (gst_element_pads_activate):
31360         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31361         (gst_pad_check_pull_range), (gst_pad_pull_range):
31362         * gst/gstpad.h:
31363         Simplify pad activation.
31364         Added function to check if pull_range can be performed.
31365         Error out when pulling inactive or flushing pads.
31366         Removed const from refcounted types as it does not make sense.
31367         Simplify pad templates in basesink
31368         Added base class for simple 1-to-1 transforms.
31369         Make identity subclass the base transform.
31370
31371 2005-03-29  Andy Wingo  <wingo@pobox.com>
31372
31373         * docs/libs/gstreamer-libs-overrides.txt: 
31374         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31375         really don't understand what's going on, but like whatever. I want
31376         green buildbot!
31377
31378         * docs/gst/Makefile.am:
31379         * docs/libs/Makefile.am: Dist the overrides files.
31380
31381         * check/Makefile.am (clean-local): Remove .libs directories.
31382
31383         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31384         elements to EXTRA_DIST, so po/ files are happy.
31385
31386         * po/POTFILES.in: Er, remove it here.
31387
31388         * po/POTFILES: Remove gstspider.c.
31389
31390         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31391
31392         * docs/libs/gstreamer-libs-docs.sgml: 
31393         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31394         bytestream.
31395
31396         * tests/complexity.c (main): Set the length of the preroll queue
31397         on the sinks to prevent a lockup.
31398
31399         * libs/gst/dataprotocol/Makefile.am: 
31400         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31401         the same as the one in check/gst-libs/gdp.c.
31402
31403         * po/, docs/gst/: Commit automatic changes to docs and po files.
31404
31405         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31406         the versioned libgstbase.
31407
31408         * check/Makefile.am: Depend on an unversioned gst-register, seems
31409         to make autoconf happier.
31410
31411         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31412
31413 2005-03-28  Wim Taymans  <wim@fluendo.com>
31414
31415         * configure.ac:
31416         * docs/design/part-gstelement.txt:
31417         * docs/design/part-negotiation.txt:
31418         * docs/design/part-preroll.txt:
31419         * docs/design/part-scheduling.txt:
31420         * docs/design/part-states.txt:
31421         * gst/Makefile.am:
31422         * gst/base/Makefile.am:
31423         * gst/base/README:
31424         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31425         (gst_basesink_base_init), (gst_basesink_class_init),
31426         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31427         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31428         (gst_basesink_set_pad_functions),
31429         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31430         (gst_basesink_set_property), (gst_basesink_get_property),
31431         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31432         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31433         (gst_basesink_preroll_queue_push),
31434         (gst_basesink_preroll_queue_empty),
31435         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31436         (gst_basesink_event), (gst_basesink_get_times),
31437         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31438         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31439         (gst_basesink_loop), (gst_basesink_activate),
31440         (gst_basesink_change_state):
31441         * gst/base/gstbasesink.h:
31442         * gst/elements/Makefile.am:
31443         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31444         (gst_fakesink_class_init), (gst_fakesink_init),
31445         (gst_fakesink_set_property), (gst_fakesink_get_property),
31446         (gst_fakesink_get_times), (gst_fakesink_event),
31447         (gst_fakesink_preroll), (gst_fakesink_render),
31448         (gst_fakesink_change_state):
31449         * gst/elements/gstfakesink.h:
31450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31451         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31452         * gst/gstelement.c: (gst_element_add_pad),
31453         (gst_element_get_state_func), (gst_element_abort_state),
31454         (gst_element_commit_state), (gst_element_lost_state),
31455         (gst_element_set_state), (gst_element_pads_activate):
31456         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31457         * gst/gstpipeline.c: (gst_pipeline_send_event),
31458         (gst_pipeline_change_state):
31459         Added state change code.
31460         Added/updated docs.
31461         Added sink base class, make fakesink extend the base class.
31462         Small cleanups in GstPipeline.
31463
31464 2005-03-26  David Schleef  <ds@schleef.org>
31465
31466         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31467         is broken and should be implemented in a different library.
31468         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31469         * gst/gst.h: remove gstcpu.h
31470         * gst/gstcpu.c: remove
31471         * gst/gstcpu.h: remove
31472         * gst/Makefile.am.future: Remove this file.  It's ancient.
31473
31474 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31475
31476         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31477         (gst_bin_send_event):
31478           Add default event/set_manager handlers. The set_manager handler
31479           takes care that the manager is distributed over kids that were
31480           already in the bin before the manager was set. The event handler
31481           is a utility virtual function that sends the event over all sinks,
31482           so that gst_element_send_event (bin, event); has the expected
31483           behaviour.
31484         * gst/gstpad.c: (gst_pad_event_default):
31485           Re-install default event handling for discontinuities, so that
31486           seeking works without requiring hacks in applications or extra
31487           code in sinks.
31488         * gst/gstpipeline.c: (gst_pipeline_class_init),
31489         (gst_pipeline_send_event):
31490           Half hack, half utility: set a pipeline to PAUSED for seek events,
31491           since that is the only way we can guarantee a/v sync. Means that
31492           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31493           and it "just works".
31494
31495 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31496
31497         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31498           Lock/unlock mismatch.
31499
31500 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31501
31502         * docs/faq/gst-uninstalled:
31503           add gst-plugins-base
31504         * docs/gst/Makefile.am:
31505           don't error out until docs are fixed
31506         * docs/gst/gstreamer.types:
31507           remove thread
31508
31509 2005-03-22  Wim Taymans  <wim@fluendo.com>
31510
31511         * check/Makefile.am:
31512         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31513         * gst/gststructure.c: (gst_structure_set_valist),
31514         (gst_structure_copy_conditional):
31515         Activated more tests.
31516         Added message test.
31517         Added G_TYPE_POINTER to GstStructure.
31518         
31519
31520 2005-03-22  Wim Taymans  <wim@fluendo.com>
31521
31522         * docs/design/part-TODO.txt:
31523         * docs/design/part-events.txt:
31524         * docs/design/part-gstbin.txt:
31525         * docs/design/part-gstbus.txt:
31526         * docs/design/part-gstpipeline.txt:
31527         * docs/design/part-messages.txt:
31528         * gst/gstbus.c:
31529         * gst/gstmessage.c:
31530         Docs updates
31531
31532 2005-03-21  Wim Taymans  <wim@fluendo.com>
31533
31534         * gst/gstbus.c: (gst_bus_post):
31535         Fix copy-and-paste error.
31536
31537 2005-03-21  Wim Taymans  <wim@fluendo.com>
31538
31539         * check/Makefile.am:
31540         * gst/Makefile.am:
31541         * gst/elements/Makefile.am:
31542         * gst/elements/gstelements.c:
31543         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31544         (gst_fakesink_event), (gst_fakesink_chain):
31545         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31546         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31547         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31548         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31549         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31550         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31551         (gst_fakesrc_loop), (gst_fakesrc_activate),
31552         (gst_fakesrc_change_state):
31553         * gst/elements/gstfakesrc.h:
31554         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31555         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31556         (gst_filesrc_open_file), (gst_filesrc_loop),
31557         (gst_filesrc_activate), (gst_filesrc_change_state),
31558         (filesrc_find_peek), (filesrc_find_suggest),
31559         (gst_filesrc_type_find):
31560         * gst/elements/gstidentity.c: (gst_identity_finalize),
31561         (gst_identity_class_init), (gst_identity_init),
31562         (gst_identity_proxy_getcaps), (identity_queue_push),
31563         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31564         (gst_identity_getrange), (gst_identity_chain),
31565         (gst_identity_sink_loop), (gst_identity_src_loop),
31566         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31567         (gst_identity_set_property), (gst_identity_get_property),
31568         (gst_identity_change_state):
31569         * gst/elements/gstidentity.h:
31570         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31571         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31572         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31573         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31574         (gst_tee_sink_activate):
31575         * gst/elements/gsttee.h:
31576         * gst/gst.c: (gst_register_core_elements), (init_post):
31577         * gst/gst.h:
31578         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31579         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31580         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31581         (gst_bin_change_state):
31582         * gst/gstbin.h:
31583         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31584         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31585         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31586         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31587         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31588         (bus_watch_callback), (bus_watch_destroy),
31589         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31590         (poll_timeout), (gst_bus_poll):
31591         * gst/gstbus.h:
31592         * gst/gstcaps.h:
31593         * gst/gstdata.h:
31594         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31595         (gst_element_post_message), (gst_element_message_full),
31596         (gst_element_get_state_func), (gst_element_get_state),
31597         (gst_element_abort_state), (gst_element_commit_state),
31598         (gst_element_lost_state), (gst_element_set_state),
31599         (gst_element_pads_activate), (gst_element_change_state),
31600         (gst_element_dispose), (gst_element_set_manager_func),
31601         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31602         (gst_element_set_manager), (gst_element_get_manager),
31603         (gst_element_set_bus), (gst_element_get_bus),
31604         (gst_element_set_scheduler), (gst_element_get_scheduler):
31605         * gst/gstelement.h:
31606         * gst/gstevent.c: (gst_event_new_segment_seek),
31607         (gst_event_new_flush):
31608         * gst/gstevent.h:
31609         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31610         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31611         (gst_message_new_eos), (gst_message_new_error),
31612         (gst_message_new_warning), (gst_message_new_tag),
31613         (gst_message_new_state_changed), (gst_message_new_application),
31614         (gst_message_get_structure), (gst_message_parse_tag),
31615         (gst_message_parse_state_changed), (gst_message_parse_error),
31616         (gst_message_parse_warning):
31617         * gst/gstmessage.h:
31618         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31619         (gst_real_pad_set_property), (gst_pad_set_active),
31620         (gst_pad_is_active), (gst_pad_set_blocked_async),
31621         (gst_pad_set_blocked), (gst_pad_is_blocked),
31622         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31623         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31624         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31625         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31626         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31627         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31628         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31629         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31630         (gst_pad_set_caps), (gst_pad_configure_sink),
31631         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31632         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31633         (gst_real_pad_dispose), (gst_real_pad_finalize),
31634         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31635         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31636         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31637         * gst/gstpad.h:
31638         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31639         (pipeline_bus_handler), (gst_pipeline_change_state),
31640         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31641         * gst/gstpipeline.h:
31642         * gst/gstprobe.h:
31643         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31644         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31645         (gst_queue_link_src), (gst_queue_bufferalloc),
31646         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31647         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31648         (gst_queue_loop), (gst_queue_handle_src_event),
31649         (gst_queue_handle_src_query), (gst_queue_src_activate),
31650         (gst_queue_change_state):
31651         * gst/gstqueue.h:
31652         * gst/gstscheduler.c: (gst_scheduler_init),
31653         (gst_scheduler_dispose), (gst_scheduler_create_task),
31654         (gst_scheduler_factory_create):
31655         * gst/gstscheduler.h:
31656         * gst/gststructure.c: (gst_structure_get_type),
31657         (gst_structure_copy_conditional):
31658         * gst/gststructure.h:
31659         * gst/gsttaginterface.h:
31660         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31661         (gst_task_init), (gst_task_dispose), (gst_task_create),
31662         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31663         (gst_task_pause):
31664         * gst/gsttask.h:
31665         * gst/gstthread.c:
31666         * gst/gstthread.h:
31667         * gst/gsttypes.h:
31668         * gst/schedulers/Makefile.am:
31669         * gst/schedulers/cothreads_compat.h:
31670         * gst/schedulers/entryscheduler.c:
31671         * gst/schedulers/faircothreads.c:
31672         * gst/schedulers/faircothreads.h:
31673         * gst/schedulers/fairscheduler.c:
31674         * gst/schedulers/gstbasicscheduler.c:
31675         * gst/schedulers/gstoptimalscheduler.c:
31676         * gst/schedulers/gthread-cothreads.h:
31677         * gst/schedulers/threadscheduler.c:
31678         (gst_thread_scheduler_task_get_type),
31679         (gst_thread_scheduler_task_class_init),
31680         (gst_thread_scheduler_task_init),
31681         (gst_thread_scheduler_task_start),
31682         (gst_thread_scheduler_task_stop),
31683         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31684         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31685         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31686         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31687         (plugin_init):
31688         * libs/gst/Makefile.am:
31689         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31690         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31691         (gst_file_pad_parent_set):
31692         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31693         (gst_dp_event_from_packet):
31694         * tests/complexity.c: (main):
31695         * tests/mass_elements.c: (main):
31696         * testsuite/states/locked.c: (message_received), (main):
31697         * testsuite/states/parent.c: (main):
31698         * tools/gst-inspect.c: (print_element_flag_info),
31699         (print_implementation_info), (print_pad_info):
31700         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31701         (main):
31702         * tools/gst-md5sum.c: (event_loop), (main):
31703         * tools/gst-typefind.c: (main):
31704         * tools/gst-xmlinspect.c: (print_element_info):
31705         Next big merge.
31706         Added GstBus for mainloop integration.
31707         Added GstMessage for sending notifications on the bus.
31708         Added GstTask as an abstraction for pipeline entry points.
31709         Removed GstThread.
31710         Removed Schedulers.
31711         Simplified GstQueue for multithreaded core.
31712         Made _link threadsafe, removed old capsnego.
31713         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31714         Added pad blocking functions.
31715         Reworked scheduling functions in GstPad to prepare for
31716         scheduling updates soon.
31717         Moved events out of data stream.
31718         Simplified GstEvent types.
31719         Added return values to push/pull.
31720         Removed clocking from GstElement.
31721         Added prototypes for state change function for next merge.
31722         Removed iterate from bins and state change management.
31723         Fixed some elements, disabled others for now.
31724         Fixed -inspect and -launch.
31725         Added check for GstBus.
31726
31727 2005-03-10  Wim Taymans  <wim@fluendo.com>
31728
31729         * docs/design/part-MT-refcounting.txt:
31730         * docs/design/part-clocks.txt:
31731         * docs/design/part-gstelement.txt:
31732         * docs/design/part-gstobject.txt:
31733         * docs/design/part-standards.txt:
31734         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31735         (gst_bin_remove_func), (gst_bin_remove):
31736         * gst/gstbin.h:
31737         * gst/gstbuffer.c:
31738         * gst/gstcaps.h:
31739         * testsuite/clock/clock1.c: (main):
31740         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31741         (main):
31742         * testsuite/dlopen/loadgst.c: (do_test):
31743         * testsuite/refcounting/bin.c: (add_remove_test1),
31744         (add_remove_test2), (main):
31745         * testsuite/refcounting/element.c: (main):
31746         * testsuite/refcounting/element_pad.c: (main):
31747         * testsuite/refcounting/pad.c: (main):
31748         * tools/gst-launch.c: (sigint_handler_sighandler):
31749         * tools/gst-typefind.c: (main):
31750         Doc updates.
31751         Added doc about clock.
31752         removed gst_bin_iterate_recurse_up(), marked methods
31753         for removal.
31754         Fix more testsuites.
31755
31756 2005-03-09  Wim Taymans  <wim@fluendo.com>
31757
31758         * gst/gstpad.c: (gst_pad_get_direction),
31759         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31760         (gst_pad_collect_valist):
31761         * testsuite/bins/interface.c: (main):
31762         * testsuite/caps/audioscale.c: (test_caps):
31763         * testsuite/caps/caps.c: (test1), (test2), (test3):
31764         * testsuite/caps/deserialize.c: (main):
31765         * testsuite/caps/enumcaps.c: (main):
31766         * testsuite/caps/filtercaps.c: (main):
31767         * testsuite/caps/intersect2.c: (main):
31768         * testsuite/caps/random.c: (main):
31769         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31770         * testsuite/caps/sets.c: (check_caps):
31771         * testsuite/caps/simplify.c: (check_caps), (main):
31772         * testsuite/caps/subtract.c: (check_caps):
31773         Fix _pad_get_direction wrt ghostpads.
31774         Fix caps testsuite.
31775
31776 2005-03-09  Wim Taymans  <wim@fluendo.com>
31777
31778         * check/Makefile.am:
31779         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31780         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31781         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31782         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31783         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31784         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31785         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31786         (bin_element_is_sink), (gst_bin_iterate_sinks),
31787         (gst_bin_iterate_all_by_interface):
31788         * gst/gstbin.h:
31789         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31790         (gst_element_change_state), (gst_element_dispose),
31791         (gst_element_finalize), (gst_element_set_loop_function):
31792         * gst/gstelement.h:
31793         * gst/gstiterator.c: (find_custom_fold_func):
31794         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31795         (gst_pad_collectv), (gst_pad_collect_valist),
31796         (gst_pad_template_new):
31797         * gst/gstpipeline.c: (gst_pipeline_class_init),
31798         (gst_pipeline_dispose), (gst_pipeline_set_property),
31799         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31800         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31801         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31802         * gst/gstutils.h:
31803         * gst/schedulers/entryscheduler.c:
31804         * gst/schedulers/gstbasicscheduler.c:
31805         (gst_basic_scheduler_cothreaded_chain),
31806         (gst_basic_scheduler_chain_add_element):
31807         * testsuite/bins/interface.c: (main):
31808         Added GstBin test.
31809         Added GstSystemClock test.
31810         Implemented clock distribution code in GstBin.
31811         Implemented iterate sinks method for future use.
31812         Rearranged gstelement.h
31813         Fix GstIterator comparison bug.
31814         Moved some code to GstPipeline, mostly clocking related.
31815
31816 2005-03-09  Wim Taymans  <wim@fluendo.com>
31817
31818         * configure.ac:
31819         * gst/gst_private.h:
31820         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31821         (gst_bin_remove_func), (gst_bin_remove),
31822         (gst_bin_get_by_name_recurse_up):
31823         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31824         (gst_clock_id_compare_func), (gst_clock_id_wait),
31825         (gst_clock_id_wait_async), (gst_clock_init),
31826         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31827         * gst/gstelement.h:
31828         * gst/gstinfo.c: (_gst_debug_init):
31829         * gst/gstobject.h:
31830         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31831         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31832         * gst/gstpad.h:
31833         Bump version number, we're now 0.9.0
31834         Add future debugging category.
31835         Fix NULL _unref() in _get_by_name_recurse_up
31836         Rearrange gstpad.h.
31837         Update some docs.
31838
31839 2005-03-08  Wim Taymans  <wim@fluendo.com>
31840
31841         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31842         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31843         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31844         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31845         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31846         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31847         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31848         * gst/elements/gstidentity.c: (gst_identity_class_init):
31849         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31850         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31851         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31852         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31853         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31854         (gst_tee_link):
31855         * gst/gstelement.c: (gst_element_class_init),
31856         (gst_element_base_class_init), (gst_element_init),
31857         (gst_element_get_random_pad), (gst_element_wait_state_change),
31858         (gst_element_change_state), (gst_element_dispose),
31859         (gst_element_finalize), (gst_element_set_loop_function):
31860         * gst/gstelement.h:
31861         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31862         * gst/gstthread.c: (gst_thread_class_init),
31863         (gst_thread_release_children_locks), (gst_thread_change_state):
31864         * gst/schedulers/gstbasicscheduler.c:
31865         (gst_basic_scheduler_loopfunc_wrapper),
31866         (gst_basic_scheduler_chain_wrapper),
31867         (gst_basic_scheduler_src_wrapper),
31868         (gst_basic_scheduler_remove_element):
31869         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31870         Remove threadsafe properties. Fix elements because GObject
31871         complains when installing a property before declaring a
31872         set/get_property handler.
31873         Rearrange gstelement.h file, use STATE macros for state locks.
31874         Free mutexes in the finalize method instead of dispose.
31875
31876 2005-03-08  Wim Taymans  <wim@fluendo.com>
31877
31878         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31879         * gst/gstthread.c: (gst_thread_release_children_locks):
31880         Added parentage check.
31881         Fix build og GstThread again.
31882
31883 2005-03-08  Wim Taymans  <wim@fluendo.com>
31884
31885         * docs/design/part-MT-refcounting.txt:
31886         * docs/design/part-conventions.txt:
31887         * docs/design/part-gstobject.txt:
31888         * docs/design/part-relations.txt:
31889         * docs/design/part-standards.txt:
31890         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31891         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31892         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31893         (gst_bin_iterate_all_by_interface):
31894         * gst/gstbuffer.h:
31895         * gst/gstclock.h:
31896         * gst/gstelement.c: (gst_element_class_init),
31897         (gst_element_change_state), (gst_element_set_loop_function):
31898         * gst/gstelement.h:
31899         * gst/gstiterator.c:
31900         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31901         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31902         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31903         (gst_object_set_parent), (gst_object_unparent),
31904         (gst_object_check_uniqueness):
31905         * gst/gstobject.h:
31906         Docs updates, clean up some headers.
31907
31908 2005-03-07  Wim Taymans  <wim@fluendo.com>
31909
31910         * check/.cvsignore:
31911         * check/Makefile.am:
31912         * check/gst-libs/.cvsignore:
31913         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31914         * check/gst/.cvsignore:
31915         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31916         (START_TEST), (gstbus_suite), (main):
31917         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31918         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31919         (gst_data_suite), (main):
31920         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31921         (add_fold_func), (gstiterator_suite), (main):
31922         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31923         (thread_name_object), (thread_name_object_default),
31924         (gst_object_name_compare), (gst_object_suite), (main):
31925         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31926         (gst_pad_suite), (main):
31927         * check/gstcheck.c: (gst_check_log_message_func),
31928         (gst_check_log_critical_func), (gst_check_init):
31929         * check/gstcheck.h:
31930         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31931         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31932         Added checks.
31933
31934 2005-03-07  Wim Taymans  <wim@fluendo.com>
31935
31936         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31937         (gst_list_iterator_next), (gst_list_iterator_resync),
31938         (gst_list_iterator_free), (gst_iterator_new_list),
31939         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31940         (gst_iterator_free), (gst_iterator_push), (filter_next),
31941         (filter_resync), (filter_uninit), (filter_free),
31942         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31943         (gst_iterator_foreach), (find_custom_fold_func),
31944         (gst_iterator_find_custom):
31945         * gst/gstiterator.h:
31946         Added missing files.
31947
31948 2005-03-07  Wim Taymans  <wim@fluendo.com>
31949
31950         * Makefile.am:
31951         * configure.ac:
31952         * docs/design/part-MT-refcounting.txt:
31953         * docs/design/part-conventions.txt:
31954         * docs/design/part-gstobject.txt:
31955         * docs/design/part-relations.txt:
31956         * examples/mixer/mixer.c: (main):
31957         * examples/thread/thread.c: (eos), (main):
31958         * gst/Makefile.am:
31959         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31960         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31961         (gst_spider_plug_from_srcpad):
31962         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31963         (gst_spider_identity_change_state),
31964         (gst_spider_identity_sink_loop_type_finding):
31965         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31966         * gst/elements/gstidentity.c: (gst_identity_init):
31967         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31968         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31969         * gst/elements/gsttypefindelement.c: (free_entry):
31970         * gst/gst.c:
31971         * gst/gst.h:
31972         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31973         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31974         (gst_bin_set_index), (gst_bin_set_element_sched),
31975         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31976         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31977         (gst_bin_iterate_elements), (iterate_child_recurse),
31978         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31979         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31980         (compare_interface), (gst_bin_get_by_interface),
31981         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31982         * gst/gstbin.h:
31983         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31984         (gst_buffer_default_free), (gst_buffer_default_copy),
31985         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31986         (gst_buffer_create_sub):
31987         * gst/gstbuffer.h:
31988         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31989         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31990         (gst_caps_unref), (gst_static_caps_get),
31991         (gst_caps_remove_and_get_structure), (gst_caps_append),
31992         (gst_caps_append_structure), (gst_caps_remove_structure),
31993         (gst_caps_copy_nth), (gst_caps_set_simple),
31994         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31995         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31996         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31997         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31998         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31999         (gst_caps_structure_figure_out_union),
32000         (gst_caps_switch_structures), (gst_caps_do_simplify),
32001         (gst_caps_replace), (gst_caps_from_string),
32002         (gst_caps_copy_conditional):
32003         * gst/gstcaps.h:
32004         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32005         (_gst_clock_id_free), (gst_clock_id_unref),
32006         (gst_clock_id_compare_func), (gst_clock_id_wait),
32007         (gst_clock_id_wait_async), (gst_clock_class_init),
32008         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32009         (gst_clock_get_time), (gst_clock_set_time_adjust),
32010         (gst_clock_set_property), (gst_clock_get_property):
32011         * gst/gstclock.h:
32012         * gst/gstcompat.h:
32013         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32014         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32015         * gst/gstdata.h:
32016         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32017         (gst_element_requires_clock), (gst_element_provides_clock),
32018         (gst_element_set_clock), (gst_element_clock_wait),
32019         (gst_element_wait), (gst_element_set_time_delay),
32020         (gst_element_is_indexable), (gst_element_add_pad),
32021         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32022         (pad_compare_name), (gst_element_get_static_pad),
32023         (gst_element_request_pad), (gst_element_get_request_pad),
32024         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32025         (gst_element_class_get_pad_template_list),
32026         (gst_element_class_get_pad_template), (gst_element_error_func),
32027         (gst_element_get_random_pad), (gst_element_get_event_masks),
32028         (gst_element_send_event), (gst_element_seek),
32029         (gst_element_get_query_types), (gst_element_query),
32030         (gst_element_get_formats), (gst_element_convert),
32031         (gst_element_is_locked_state), (gst_element_set_locked_state),
32032         (gst_element_sync_state_with_parent), (gst_element_change_state),
32033         (gst_element_finalize), (gst_element_yield),
32034         (gst_element_interrupt), (gst_element_set_scheduler),
32035         (gst_element_get_scheduler), (gst_element_set_loop_function):
32036         * gst/gstelement.h:
32037         * gst/gstevent.h:
32038         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32039         (gst_format_get_by_nick), (gst_format_get_details),
32040         (gst_format_iterate_definitions):
32041         * gst/gstformat.h:
32042         * gst/gstindex.c: (gst_index_gtype_resolver):
32043         * gst/gstinfo.c:
32044         * gst/gstinfo.h:
32045         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32046         (gst_mem_chunk_free):
32047         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32048         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32049         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32050         (gst_object_dispatch_properties_changed),
32051         (gst_object_set_name_default), (gst_object_set_name),
32052         (gst_object_get_name), (gst_object_set_name_prefix),
32053         (gst_object_get_name_prefix), (gst_object_set_parent),
32054         (gst_object_get_parent), (gst_object_unparent),
32055         (gst_object_check_uniqueness), (gst_object_save_thyself),
32056         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32057         (gst_object_set_property), (gst_object_get_property),
32058         (gst_object_get_path_string):
32059         * gst/gstobject.h:
32060         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32061         (gst_real_pad_init), (gst_real_pad_get_property),
32062         (gst_pad_custom_new), (gst_pad_get_direction),
32063         (gst_pad_set_active), (gst_pad_is_active),
32064         (gst_pad_set_event_function), (gst_pad_is_linked),
32065         (gst_pad_link_free), (gst_pad_link_intersect),
32066         (gst_pad_link_fixate), (gst_pad_set_caps),
32067         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32068         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32069         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32070         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32071         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32072         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32073         (gst_pad_realize), (gst_pad_get_allowed_caps),
32074         (gst_real_pad_dispose), (gst_real_pad_finalize),
32075         (gst_pad_collectv), (gst_pad_collect_valist),
32076         (gst_pad_template_dispose), (gst_pad_template_new),
32077         (gst_pad_get_internal_links):
32078         * gst/gstpad.h:
32079         * gst/gstpipeline.c: (gst_pipeline_dispose),
32080         (gst_pipeline_change_state):
32081         * gst/gstpipeline.h:
32082         * gst/gstplugin.c:
32083         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32084         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32085         * gst/gstpluginfeature.h:
32086         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32087         * gst/gstquery.c: (_gst_query_type_initialize),
32088         (gst_query_type_register), (gst_query_type_get_by_nick),
32089         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32090         * gst/gstquery.h:
32091         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32092         * gst/gstscheduler.c: (gst_scheduler_add_element),
32093         (gst_scheduler_factory_create):
32094         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32095         (gst_structure_free), (gst_structure_set_name),
32096         (gst_structure_id_set_value), (gst_structure_set_value),
32097         (gst_structure_set_valist), (gst_structure_remove_field),
32098         (gst_structure_remove_fields),
32099         (gst_structure_remove_fields_valist),
32100         (gst_structure_remove_all_fields), (gst_structure_foreach),
32101         (gst_structure_map_in_place),
32102         (gst_caps_structure_fixate_field_nearest_int),
32103         (gst_caps_structure_fixate_field_nearest_double):
32104         * gst/gststructure.h:
32105         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32106         (gst_system_clock_init), (gst_system_clock_dispose),
32107         (gst_system_clock_async_thread),
32108         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32109         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32110         * gst/gstsystemclock.h:
32111         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32112         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32113         * gst/gsttaginterface.c:
32114         * gst/gstthread.c: (gst_thread_dispose),
32115         (gst_thread_release_children_locks), (gst_thread_change_state),
32116         (gst_thread_main_loop):
32117         * gst/gsttrashstack.h:
32118         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32119         * gst/gsttypes.h:
32120         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32121         (gst_element_request_pad), (gst_element_get_pad_from_template),
32122         (gst_element_request_compatible_pad),
32123         (gst_element_get_compatible_pad_filtered),
32124         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32125         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32126         (gst_element_link_many), (gst_element_link),
32127         (gst_element_link_pads), (gst_element_unlink_pads),
32128         (gst_element_unlink_many), (gst_element_unlink),
32129         (gst_pad_can_link_filtered), (gst_pad_can_link),
32130         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32131         (gst_object_default_error), (gst_bin_add_many),
32132         (gst_bin_remove_many), (gst_element_populate_std_props),
32133         (gst_element_class_install_std_props), (gst_buffer_merge),
32134         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32135         (link_fold_func), (gst_pad_proxy_setcaps):
32136         * gst/gstutils.h:
32137         * gst/gstvalue.c: (gst_value_deserialize_string):
32138         * gst/parse/grammar.y:
32139         * gst/schedulers/gstbasicscheduler.c:
32140         (gst_basic_scheduler_cothreaded_chain),
32141         (gst_basic_scheduler_chain_recursive_add),
32142         (gst_basic_scheduler_pad_link):
32143         * gst/schedulers/gstoptimalscheduler.c:
32144         (get_group_schedule_function),
32145         (gst_opt_scheduler_state_transition),
32146         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32147         * libs/gst/bytestream/bytestream.c:
32148         * libs/gst/dataprotocol/dataprotocol.c:
32149         (gst_dp_header_from_buffer):
32150         * po/nb.po:
32151         * po/ru.po:
32152         * tests/threadstate/threadstate2.c: (eos):
32153         * tools/gst-compprep.c: (main):
32154         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32155         (print_pad_info), (print_children_info):
32156         * tools/gst-launch.c: (idle_func), (main):
32157         * tools/gst-md5sum.c: (idle_func), (main):
32158         * tools/gst-xmlinspect.c: (print_element_info):
32159         First THREADED backport attempt, focusing on adding locks and
32160         making sure the API is threadsafe. Needs more work. More docs
32161         follow this week.
32162
32163 2005-02-24  Andy Wingo  <wingo@pobox.com>
32164
32165         * tests/bench-complexity.scm:
32166         * tests/complexity.gnuplot: New files, good for running complexity
32167         benchmarks.
32168
32169         * tests/Makefile.am:
32170         * tests/complexity.c: New test, sets up N elements, at each level
32171         teeing into M streams per element. Eeeenteresting.
32172
32173         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32174         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32175         running bench-mass_elements.scm.
32176
32177         * tests/bench-mass_elements.scm: New script, runs mass_elements
32178         for various numbers of identities, outputting the results to a
32179         file. Requires guile 1.6. Just for testing.
32180
32181 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32182
32183         * gst/schedulers/fairscheduler.c:
32184           compile with debug disabled
32185
32186 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32187
32188         * configure.ac:
32189           hunting season on 0.9 is now OPEN