gst/gstbus.c: Make GstBusSource work with non-default main contexts (#562170).
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
4           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
5           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
6           (gst_bus_create_watch):
7           Make GstBusSource work with non-default main contexts (#562170).
8
9         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
10           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
11           Add test case for GstBusSource with a non-default main context.
12
13         * tests/check/libs/.cvsignore:
14           Ignore more.
15
16 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
17
18         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
19           (unpack_string)::
20           Wrap multi-line macros in G_STMT_{START|END}.
21
22 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
23
24         * docs/gst/gstreamer-sections.txt:
25         * gst/gstquark.c:
26         * gst/gstquark.h:
27         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
28         (gst_query_parse_uri):
29         * gst/gstquery.h:
30         API: Add URI query type. This is useful to query the URI
31         of a sink/source element and can be used by demuxers that
32         need to get data from other files.
33         This query should go upstream by default.
34         Fixes bug #562949.
35         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
36         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
37         (gst_fd_src_query):
38         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
39         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
40         (gst_file_src_query):
41         Implement URI query.
42
43 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
44
45         * gst/gstghostpad.c:
46         * tests/check/gst/gstghostpad.c:
47         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
48         That would cause the ghostpad to emit notify::caps two times (fist
49         from gst_pad_set_caps() and after from on_src_target_notify()).
50
51 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
52
53         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
54         (GST_START_TEST):
55         Add some more unit-tests for the ghostpad notify signal, one of which
56         currently fails.
57
58 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
59
60         * win32/common/libgstreamer.def:
61         Add gst_tag_setter_reset_tags to the list of exported symbols.
62
63 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
64
65         * gst/gstghostpad.c:
66         * tests/check/gst/gstghostpad.c:
67         In a source ghostpad, when caps are changed in the target pad, the
68         change needs to be reflected in the ghostpad.
69         Fixes #564863.
70
71 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
72
73         * gst/gstutils.c: (gst_element_found_tags_for_pad):
74         Add FIXME for 0.11 to set the pad as message source and not
75         the element. Otherwise it's impossible to detect for which
76         pad the tags were found without adding an event probe
77         or something similar to the pad.
78
79 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
80
81         * docs/faq/general.xml:
82         Update the faq.
83
84 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
85
86         * docs/gst/gstreamer-sections.txt:
87         * gst/gsttagsetter.c:
88         * gst/gsttagsetter.h:
89           Rename api added in previous commit and add since tag to docs.
90           API: gst_tag_setter_reset_tags()
91
92 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
93
94         * docs/gst/gstreamer-sections.txt:
95         * gst/gsttagsetter.c:
96         * gst/gsttagsetter.h:
97           Add function to reset tagsetter for element reuse.
98
99 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
100
101         * gst/gsttaglist.c:
102           Avoid copy of empty taglist.
103
104 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
105
106         * gst/gsttaglist.c:
107         * tests/check/gst/gsttag.c:
108           More complete unit tests. Fix handling of empty taglists (they were
109           not merged before).
110
111 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
112
113         * gst/gsttaglist.h:
114         * gst/gsttagsetter.c:
115           Update GstTagSetter and GstTagMergeMode documentation. Mention
116           that tags can come from events and from application. Fix example.
117
118 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
119
120         * docs/design/part-TODO.txt:
121         Remove the seqnum entry that we implemented in 0.10 already.
122         Add entry about removing the format return value for queries.
123
124 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
125
126         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
127         (gst_base_sink_init), (gst_base_sink_set_property),
128         (gst_base_sink_get_property):
129         Expose the render-delay as a property so things like appsink can use it
130         to tweak the synchronisation.
131
132 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
133
134         * libs/gst/check/gstcheck.h: Allow check tests to use
135         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
136         CK_FORK=no to be used with multiple check test that use threads.
137
138 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
139
140         * gst/gstutils.c: (gst_element_get_compatible_pad):
141         Fix a caps memory leak introduced by the last change.
142
143 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
144
145         * gst/gstutils.c: (gst_element_get_compatible_pad):
146         Check if the caps of the pads are compatible before returning
147         a pad and claiming it is compatible. This, among other things,
148         fixes a bug with gst-launch where an incompatible pad is chosen
149         and linking fails. Fixes bug #544003.
150
151 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
152
153         * libs/gst/check/gstcheck.c: (gst_check_init):
154         Revert accidentially commited patch for bug #404631 which
155         tries to print a backtrace if a testcase is terminated by
156         a signal. This code was never activated as the corresponding
157         configure.ac change wasn't committed.
158
159 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
160
161         * tests/check/libs/controller.c: (GST_START_TEST):
162         This test should return TRUE now as syncing an uncontrolled
163         object will succeed now (there's nothing to sync).
164
165 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
166
167         * libs/gst/controller/gstcontroller.c:
168           Aggregate return value for gst_controller_sync_values(). More info in
169           logging. Always set values on first sync-call.
170
171         * libs/gst/controller/gstcontrolsource.c:
172           Microoptimizations.
173
174         * libs/gst/controller/gsthelper.c:
175           Fix return code and comment.
176
177 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
178
179         * tools/gst-launch.1.in:
180           Fix description of how to specify a type in caps. Fixes #553873.
181           Also ranges and list contain values and not property-assignments.
182
183 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
186         Check for changed pads-list before checking the last returned
187         GstFlowReturn because the pad could have been removed and we
188         need to ignore the value in that case.
189
190 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
191
192         * libs/gst/base/gstbasetransform.c:
193         (gst_base_transform_prepare_output_buffer),
194         (gst_base_transform_getrange), (gst_base_transform_chain):
195         * libs/gst/base/gstbasetransform.h:
196         Add vmethod that is called before we start the transform and which can
197         be used to configure the transform, such as dynamic properties.
198
199 2008-12-05  David Schleef  <ds@schleef.org>
200
201         * gst/gst.c:
202         Search for plugins on win32 based on the location of the
203         gstreamer DLL.  Fixes #548786
204
205 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
206
207         * configure.ac:
208         Apparently AC_CONFIG_MACRO_DIR breaks when using more
209         than one macro directory, reverting last change.
210
211 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
212
213         * configure.ac:
214         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
215         our M4 macros.
216
217 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
218
219         Patch by: Cygwin Ports maintainer
220                   <yselkowitz at users dot sourceforge dot net>
221
222         * autogen.sh:
223         * configure.ac:
224         Require gettext 0.17 because older versions don't mix with libtool
225         2.2. At build time an older gettext version will still work.
226         Fixes bug #556091.
227
228 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
229
230         Patch by: 이문형 <iwings at gmail dot com>
231
232         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
233         Adds support for FD_CONNECT event (win32). See #562258.
234
235 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
236
237         * libs/gst/base/gstbasesink.c:
238           Turn comment into gtk-doc comment.
239
240 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
241
242         * libs/gst/base/gstbasetransform.c:
243         (gst_base_transform_acceptcaps):
244         Revert quick accepcaps attempt, it's not fully equivalent to the old
245         behaviour and thus causes regressions.
246
247 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
248
249         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
250         Fix memory leak.
251
252 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
253
254         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
255
256         * gst/gstregistry.c: (gst_registry_scan_path_level):
257         Reduce the number of stat() calls for every file from three times
258         to one time. Fixes bug #560360.
259
260 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
261
262         * libs/gst/base/gstbasetransform.c:
263         (gst_base_transform_acceptcaps):
264         Rename a variable to make the code clearer.
265
266 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
267
268         * plugins/elements/gstidentity.c:
269         Don't warning on offset==-1. Taken from _check_imperfect_offset().
270
271 2008-11-21  Michael Smith <msmith@songbirdnest.com>
272
273         * plugins/elements/gstfilesrc.c:
274           Check for localhost in URI was backwards, fix it. Fixes unit test.
275
276 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
277
278         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
279         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
280         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
281         Add beginnings of a more optimized acceptcaps function than the default
282         core one.
283
284 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
285
286         * gst/gstpad.c: (gst_pad_accept_caps):
287         Avoid getting the acceptcaps function too early.
288
289 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
290
291         * tools/gst-launch.c: (event_loop):
292         Make gst-launch handle LATENCY messages and make it recalculate the
293         latency.
294
295 2008-11-20  Michael Smith <msmith@songbirdnest.com>
296
297         * plugins/elements/gstfilesrc.c:
298           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
299           out own slightly incorrect version. Fixes use of some paths on
300           win32.
301
302 2008-11-20  Michael Smith <msmith@songbirdnest.com>
303
304         * gst/gstregistrybinary.c:
305           In win32 codepath, if we fail to write the registry, create the
306           directory for it and try again, matching the behaviour in non-win32
307           codepaths.
308
309 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
310
311         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
312         Changing the render delay changes the latency and so we must post a
313         latency message.
314
315 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
316
317         * gst/gstquery.c:
318         * gst/gstquery.h:
319         Add GstQueryType for custom queries instead of having to use the
320         not-so-very-convenient registration infrastructure to register new
321         types.
322
323 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
324
325         Patch by: Andrew Feren <acferen at yahoo dot com>
326
327         * gst/gstobject.c: (gst_object_default_deep_notify):
328         Unref the GEnumClass after usage again. Fixes bug #561501.
329
330 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
331
332         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
333         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
334         (gst_bin_change_state_func):
335         * gst/gstbin.h:
336         Add do-latency signal with the old default fallback implementation. This
337         allows for custom latency calculations for when the default is not
338         sufficient.
339         API: GstBin::do-latency signal.
340
341 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
342
343         * win32/common/libgstreamer.def:
344         Add new symbols to .def file.
345
346 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
347
348         * docs/gst/gstreamer-sections.txt:
349         * gst/gstbin.c: (gst_bin_recalculate_latency),
350         (gst_bin_change_state_func):
351         * gst/gstbin.h:
352         Add method to recalculate and redistribute the latency on a bin.
353         API: gst_bin_recalculate_latency().
354
355 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
356
357         * gst/gstbuffer.h:
358         Document the free_func.
359
360 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
361
362         * libs/gst/controller/gstinterpolation.c:
363         * libs/gst/controller/gstlfocontrolsource.c:
364         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
365         as it is mapped to a cast on non-win32 platforms.
366
367 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
368
369         * libs/gst/controller/gstcontroller.c:
370         * libs/gst/controller/gstcontrollerprivate.h:
371           Keep last-value and only call set_property if value has changed. This
372           supresses all the g_object_notifies we would trigger otherwise. It
373           also allows the user to chage the value while there is no controller
374           change.
375
376 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
377
378         * gst/gstvalue.c:
379           Don't crash if either of the string GValues is empty.
380
381 2008-11-17  Andy Wingo  <wingo@pobox.com>
382
383         * tools/gst-inspect.c (print_all_uri_handlers): New function,
384         prints a summary of what URI schemes are supported by what
385         elements.
386         (main): Plumb in support for --uri-handlers or -u, and fix the
387         argc check for -a and -u.
388
389 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
390
391         * gst/gstutils.h:
392         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
393         conversion functions.
394
395 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
396
397         * gst/gstbuffer.c: (gst_buffer_finalize):
398         Avoid costly typechecking for trivially correct pointers.
399
400         * gst/gstpoll.c: (gst_poll_wait):
401         Add some G_LIKELY here and there.
402
403         * libs/gst/base/gstadapter.c: (gst_adapter_push):
404         Add some debug info.
405
406 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * docs/random/wtay/poll-timeout:
409         Small tweaks.
410
411 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * tests/old/testsuite/caps/intersection.c: (main):
414         * tests/old/testsuite/plugin/loading.c: (main):
415         Remove references to deprecated API g_mem_chunk*.
416         Fixes #560442.
417
418 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
419
420         * tools/gst-inspect.c: (main):
421         Add --plugin option. Fixes #560301.
422
423 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
424
425         * docs/random/wtay/poll-timeout:
426         Quick braindump for a possible (not totally verified) atomic case.
427
428 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
429
430         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
431         (gst_registry_binary_initialize_magic),
432         (gst_registry_binary_write_cache),
433         (gst_registry_binary_check_magic):
434         * gst/gstregistrybinary.h:
435         Don't write and check a CRC for the binary registry file. It's
436         guaranteed that the registry is completely written (it's first written
437         to a temporary file and then moved) and if the registry was corrupted
438         by some hardware failure we would have bigger problems.
439
440         Bump binary registry version to 0.10.21.1 for this as it's an
441         incompatible change and to ensure that the registry gets rebuild
442         after the update.
443
444         This saves some milliseconds for reading/writing the registry.
445         Fixes bug #560399.
446
447 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
448
449         * docs/random/wtay/poll-timeout:
450         Some pseudo code for how we could implement clock timeouts with GstPoll.
451
452 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
453
454         * plugins/elements/gstfilesink.c:
455           Update Author string to match others.
456
457 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
458
459         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
460         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
461         being fixed and inline the trivial check.
462
463 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
464
465         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
466         (gst_caps_merge_structure), (gst_caps_get_structure),
467         (gst_caps_copy_nth), (gst_caps_set_simple),
468         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
469         (gst_caps_is_equal_fixed), (gst_caps_intersect),
470         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
471         (gst_caps_to_string):
472         Callgrind micro optimisations.
473         Avoid array bounds checks and force inline of trivial function.
474
475         * gst/gstobject.c: (gst_object_set_name_default):
476         -1 is equivalent to letting glib to the strlen but then there is more
477         room for optimisations and it's not our fault.
478
479         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
480         no need to clear the array, we're cool.
481
482         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
483         The most common _is_fixed() check is done on fundamental glib base
484         types so we check this first instead of doing a huge amount of
485         useless GST_TYPE_ARRAY calls.
486
487 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
488
489         * gst/gstevent.h:
490         Add a SKIP seek flag for use with advanced trickmodes.
491         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
492
493 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
494
495         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
496         No need to memset, we can clear the value ourselves.
497
498         * gst/gstvalue.c: (gst_type_is_fixed),
499         (gst_value_get_compare_func):
500         Some optimisations from a few callgrind sessions:
501         When checking if a type is fixed, check for trivial fundamental types
502         first before checking types for which we need to get the type followed
503         by the heavy duty type checks, this reduces the amount of
504         g_type_fundamental() calls a lot.
505         When getting the compare function, first check for our registered types.
506         If that fails, do the heavy duty g_type_is_a() checks, reduces the
507         amount of g_type_is_a() considerably.
508
509 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
510
511         * docs/design/part-TODO.txt:
512         Mumble something about removing GstXML.
513
514 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
515
516         * gst/gstbin.c: (gst_bin_handle_message_func):
517         Get the seqnum before we dispose the message.
518
519 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
520
521         * docs/design/part-TODO.txt:
522         Refer to the framestepping document.
523
524 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
525
526         * gst/gstbin.c: (bin_handle_async_start),
527         (gst_bin_handle_message_func), (gst_bin_query):
528         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
529         (gst_base_sink_event), (gst_base_sink_change_state):
530         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
531         (gst_base_src_loop), (gst_base_src_change_state):
532         Copy seqnums from events to messages so that they can all be related
533         back to eachother.
534
535 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
536
537         * tools/gst-launch.c: (event_loop):
538         Print the message seqnums.
539
540 2008-11-04  Andy Wingo  <wingo@pobox.com>
541
542         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
543
544 2008-11-04  Andy Wingo  <wingo@pobox.com>
545
546         Add sequence numbers to events and messages. See #559250.
547
548         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
549         API: New functions.
550
551         * gst/gstevent.h:
552         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
553         events with a new sequence number, and copy it when copying.
554         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
555         an event's sequence number.
556
557         * gst/gstmessage.h:
558         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
559         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
560         so with messages.
561
562         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
563
564 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
565
566         * docs/manual/advanced-position.xml:
567         * docs/manual/basics-bins.xml:
568         * docs/manual/basics-bus.xml:
569         * docs/manual/basics-pads.xml:
570         * docs/manual/intro-gstreamer.xml:
571         * docs/manual/intro-preface.xml:
572         Some Application Development Manual fixes thanks to
573         Andrew Feren. Fixes #558459.
574
575 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
576
577         * gst/gstregistrybinary.c:
578           Don't bother with the GTimer if we don't output the results.
579
580 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
581
582         Patch by: David Schleef  <ds@schleef.org>
583
584         * libs/gst/net/Makefile.am:
585         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
586
587 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
588
589         * gst/gstregistrybinary.c:
590           Oh my, studip, stupid me. Remove double stat() call.
591
592 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
593
594         * gst/gstpreset.c:
595           Use g_unlink instead of unlink.
596
597         * gst/gststructure.c:
598           Use glib type.
599
600         * gst/gstutils.c:
601           Add a FIXME:.
602
603         * gst/gsttaglist.c:
604         * gst/gsttypefind.c:
605         * gst/gstvalue.c:
606           Formatting & whitespaces.
607
608 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
609
610         * plugins/elements/gstidentity.c:
611           Doc typo. Use return value of parent_class->event.
612   
613         * plugins/elements/gsttypefindelement.c:
614           Chain up at the end for consistency.
615   
616 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
617
618         * docs/Makefile.am:
619         * docs/gst/gstreamer-docs.sgml:
620         * docs/gst/gstreamer-sections.txt:
621         * docs/gst/running.xml:
622         * docs/libs/gstreamer-libs-docs.sgml:
623           Change to xinclude based build - its faster and easier to maintain.
624
625 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
626
627         * gst/gstregistrybinary.c:
628         * gst/gstregistryxml.c:
629           Use g_unlink() as none of these are directories.
630
631 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
632
633         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
634         Some more comments.
635
636 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
637
638         * libs/gst/base/gstbasetransform.c:
639         (gst_base_transform_find_transform), (gst_base_transform_getrange):
640         If we have a fixate function, call it even if we already have fixed caps
641         because the subclass might add some caps. Makes audioconvert add a
642         default channel layout.
643
644 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
645
646         * libs/gst/base/gstbasetransform.c:
647         (gst_base_transform_prepare_output_buffer),
648         (gst_base_transform_getrange):
649         Clear the output buffer variable.
650         Cleanups to the error path in the getrange function.
651         Fixes #557649.
652
653 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
654
655         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
656         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
657         Use gst_buffer_try_new_and_alloc() and handle errors instead of
658         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
659         be allocated.
660
661 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
662
663         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
664         Set the last_stop to a more meaningful position when configuring the
665         segment. ie. the start/stop of the segment or clipped against the
666         updated segment boundaries.
667
668         * tests/check/gst/gstsegment.c: (GST_START_TEST):
669         Add some unit tests for the last_stop.
670
671 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
672
673         * libs/gst/base/gstbytereader.c:
674         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
675         copies of them.
676
677 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
678
679         * docs/gst/gstreamer-sections.txt:
680         * gst/gstutils.h:
681         API: Move float endianness conversion macros from libgstfloatcast
682         to core as it's useful in general, even in core. Fixes bug #555196.
683         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
684         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
685         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
686
687         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
688         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
689         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
690         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
691
692 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
693
694         * docs/libs/gstreamer-libs-sections.txt:
695         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
696         (gst_byte_reader_peek_data):
697         * libs/gst/base/gstbytereader.h:
698         * win32/common/libgstbase.def:
699         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
700         to get a pointer to the data at the current position and have
701         a guaranteed size.
702
703 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
704
705         * configure.ac:
706         Fix a bug in the output of the configure script summary
707         when --gst-disable-registry is supplied
708
709 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
710
711         * libs/gst/base/gstbitreader.c:
712         * libs/gst/base/gstbytereader.c:
713         Fix the names of 2 functions in the docs strings.
714
715 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
716
717         * libs/gst/base/gstbasetransform.c:
718         (gst_base_transform_prepare_output_buffer),
719         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
720         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
721         refcount problems as seen in banshee and maybe also in farsight2.
722         Remove atomic int now that we need to take the lock anyways.
723
724 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
725
726         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
727         (gst_base_sink_default_prepare_seek_segment),
728         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
729         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
730         (gst_base_sink_query):
731         Implement more seeking in pull mode.
732         Use pad convert functions to convert position to the requested format.
733         Fix position/duration reporting in pull mode.
734         Implement position and duration reporting in other formats than time.
735
736         * libs/gst/base/gstbasesink.h:
737         Add member to keep track of when the segment is playing.
738
739 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
740
741         * gst/gstpad.c: (gst_pad_configure_src):
742         When we use gst_pad_alloc_buffer() without wanting to set the caps we
743         also don't need to check if the caps are compatible because the caller
744         presumably is going to perform its own custom checks. Fixes some cases
745         where basetransform elements would error out when it was not needed.
746
747 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
748
749         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
750         Update comment.
751
752         * libs/gst/base/gstbasetransform.c:
753         (gst_base_transform_handle_buffer),
754         (gst_base_transform_reconfigure):
755         Add some debug info.
756
757         * win32/common/libgstbase.def:
758         Add new method.
759
760 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
761
762         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
763           Remove duplicated assignment and log a message in failure case.
764
765 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
766
767         Patch by: Dig Ge <dig.ge.cn at gmail com>
768
769         * tests/examples/helloworld/helloworld.c: (main):
770           Fix copy'n'paste bug in hello world example (#556900).
771
772 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
773
774         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
775         (gst_base_sink_query):
776         Query the total number of bytes when activating the pad in pull mode.
777         Implement duration query in pull mode by using the installed pad convert
778         function to convert from bytes to the requested format.
779
780 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
781
782         * docs/libs/gstreamer-libs-sections.txt:
783         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
784         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
785         (gst_base_sink_event), (gst_base_sink_perform_seek),
786         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
787         (gst_base_sink_send_event), (gst_base_sink_change_state):
788         * libs/gst/base/gstbasesink.h:
789         Add method to commit the state in subclasses.
790         Refactor the flush_start and flush_stop code because we need it for
791         flushing while seeking too.
792         Implement the beginnings of seeking in pull mode.
793         Use the segment last_stop field for the pulling offset.
794         Fix the pause method in pull mode.
795         Configure the segment to BYTES for pull mode.
796         API: GstBaseSink::gst_base_sink_do_preroll()
797
798 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
799
800         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
801         Update some docs.
802
803 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
804
805         * gst/gstquark.c: (_priv_gst_quarks_initialize):
806           Fix printf format warning.
807
808 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
809
810         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
811         Fix flow aggregation of tee. Error out immediately for all flow returns
812         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
813         and return OK if at least one pad is linked.
814
815         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
816         and otherwise returned the flow return of the last pad, which is wrong.
817         
818         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
819         (GST_START_TEST), (tee_suite):
820         Add unit tests for the flow aggregation.
821
822 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
823
824         * docs/design/part-TODO.txt:
825         Remove item from the todo list because it was fixed with the latency
826         state change rewrites.
827
828         * docs/design/part-seeking.txt:
829         * docs/design/part-segments.txt:
830         Update some docs.
831
832         * gst/gstevent.c: (gst_event_new_new_segment_full),
833         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
834         (gst_event_parse_buffer_size), (gst_event_new_qos),
835         (gst_event_parse_qos), (gst_event_new_seek),
836         (gst_event_parse_seek), (gst_event_new_latency),
837         (gst_event_parse_latency):
838         Use quarks to construct and parse events.
839
840         * gst/gstquark.c: (_priv_gst_quarks_initialize):
841         * gst/gstquark.h:
842         Add some more quarks to the table.
843         Emit a warning when the quark tables are not in sync.
844
845         * tests/check/gst/gstbus.c: (GST_START_TEST):
846         Add an assert.
847
848 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
849
850         * plugins/elements/Makefile.am:
851         * plugins/indexers/Makefile.am:
852           Don't install static libs for plugins. Fixes #550851 for core.
853
854 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
855
856         * gst/gstbus.c: (gst_bus_source_finalize),
857         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
858         (gst_bus_enable_sync_message_emission),
859         (gst_bus_disable_sync_message_emission),
860         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
861         Fix deadlock, g_source_get_id() cannot be called in finalize.
862         Keep track of the watch source by keeping a pointer to the source object
863         instead.
864         Use the bus lock to protect access to the pointer to the current
865         watch source.
866
867 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
868
869         Base on Patch by: Olivier Crete <tester at tester dot ca>
870
871         * gst/gstbus.c: (gst_bus_source_finalize),
872         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
873         Only allow one bus watch to be set at a time. This is necessary
874         because the dispatcher pops the message from the bus and the second
875         watcher will then get NULL or the next message (and the first won't
876         get this next message then, etc). If more than one "watcher" is
877         required signal watches should be used. Fixes bug #526044.
878
879 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
880
881         * tools/gst-launch.c:
882         Change the printing of the 'buffering...' output to avoid putting
883         a \r in a translateable string (flagged by the TP).
884
885 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
886
887         * gst/gstxml.c:
888         Clarify that the save_thyself() and restore_thyself() virtual
889         functions of GstObject need to be overriden, not
890         gst_object_(save|restore)_thyself() which is impossible.
891         Fixes bug #555700.
892
893 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
894
895         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
896         Revert a patch from 21 months ago that broke caps negotiation in pull
897         mode. Basically, having a buffer pass over a pad will trigger the
898         setcaps function when caps change, just like in push mode.
899
900 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
901
902         * docs/design/part-negotiation.txt:
903         Update the docs some more.
904
905         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
906         If we pull a buffer with non-trivial caps, suggest those caps with the
907         max probability.
908
909 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
910
911         * docs/design/part-TODO.txt:
912         Add another limitation of pad-blocking with segment seeks not pushing
913         EOS events.
914
915 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
916
917         * win32/common/libgstbase.def:
918         * win32/common/libgstreamer.def:
919         Add new symbols to the win32 defs files
920
921 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
922
923         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
924         (gst_bin_handle_message_func):
925         The message src can be NULL, don't try to print the object names in that
926         case.
927
928         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
929         Add some more debug info.
930
931         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
932         (GST_START_TEST):
933         Add some debug.
934         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
935         scheduling modes.
936
937 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
938
939         * docs/design/part-negotiation.txt:
940         Small doc update.
941
942         * docs/libs/gstreamer-libs-sections.txt:
943         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
944         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
945         (gst_base_sink_init), (gst_base_sink_set_blocksize),
946         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
947         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
948         (gst_base_sink_loop), (gst_base_sink_pad_activate),
949         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
950         (gst_base_sink_change_state):
951         * libs/gst/base/gstbasesink.h:
952         Add blocksize property and methods to control the amount of data
953         to pull.
954         Negotiate first before activating upstream in pull mode so that they can
955         negotiate themselves.
956         When we operate in pull mode, we only accept the caps that we
957         negotiated.
958         Make the sink go ASYNC to PAUSED, like all other sinks.
959         API: GstBaseSink::gst_base_sink_set_blocksize()
960         API: GstBaseSink::gst_base_sink_get_blocksize()
961         API: GstBaseSink::blocksize
962
963         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
964         (gst_base_src_set_live), (gst_base_src_is_live),
965         (gst_base_src_set_format), (gst_base_src_query_latency),
966         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
967         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
968         (gst_base_src_set_property), (gst_base_src_get_property):
969         * libs/gst/base/gstbasesrc.h:
970         Add typechecking in public API functions.
971         Add methods to control the blocksize in subclasses.
972         API: GstBaseSrc::gst_base_src_set_blocksize()
973         API: GstBaseSrc::gst_base_src_get_blocksize()
974
975 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
976
977         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
978         (buffer_probe), (event_probe), (GST_START_TEST):
979         We now see 3 events go through our pad, since basesink now sends
980         upstream latency events.
981
982 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         * gst/gstpipeline.c: (gst_pipeline_change_state):
985         Release the object lock before trying to flush the bus.
986
987 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
988
989         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
990         Forward LATENCY events upstreams so that elements know about the total
991         pipeline latency. Fixes #555307.
992
993 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
994
995         * plugins/elements/gstqueue.c:
996         Allow through queries when we don't know how
997         to adjust them (not TIME or BYTES), as otherwise it's
998         not possible to query the current position in order
999         to seek in other formats at all.
1000
1001 2008-10-08  Andy Wingo  <wingo@pobox.com>
1002
1003         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1004
1005 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1006
1007         * gst/gstghostpad.c:
1008         * gst/gstghostpad.h:
1009         Unbreak -good build, private is a reserved c++ keyword.
1010
1011 2008-10-08  Andy Wingo  <wingo@pobox.com>
1012
1013         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1014         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1015         removal: re-add GST_GHOST_PAD_CAST to the header.
1016
1017         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1018         (GstGhostPadClass): Publically expose these structures so as to
1019         allow easy subclassing from C. Hide the member data behind a
1020         private opaque data pointer.
1021
1022         * gst/gstghostpad.c: Adapt to store instance data in the type
1023         instance's private data region, not in the public struct.
1024
1025 2008-10-08  Andy Wingo  <wingo@pobox.com>
1026
1027         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1028         template via g_object_get(), be sure to unref it.
1029
1030         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1031
1032 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1033
1034         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1035         If we can't get a cache file don't try to save something to it.
1036         Dereferencing NULL pointers usually isn't a good idea.
1037
1038 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1039
1040         * tests/check/Makefile.am:
1041         * tests/check/gst/gstabi.c:
1042         * tests/check/gst/struct_sparc.h:
1043         * tests/check/libs/libsabi.c:
1044         * tests/check/libs/struct_sparc.h:
1045         Add Sparc ABI checks
1046
1047         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1048         Cast signed integer to unsigned to avoid a compiler warning.
1049
1050 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1051
1052         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1053         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1054         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1055         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1056         (gst_byte_reader_peek_int24_be):
1057         Use new GST_READ_UINT24_(LE|BE) macros.
1058
1059 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1060
1061         * docs/gst/gstreamer-sections.txt:
1062         * gst/gstutils.h:
1063         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1064         as it's too easy to break the ISO C strict aliasing rules with simple
1065         casts to the corresponding type and this would introduce hard to debug
1066         bugs. Fixes bug #545714.
1067
1068         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1069
1070 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1071
1072         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1073         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1074           Add 'Since' bits to gtk-doc chunks for new API.
1075
1076 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1077
1078         * docs/gst/gstreamer-sections.txt:
1079         Fix documentation
1080
1081 2008-10-06  Andy Wingo  <wingo@pobox.com>
1082
1083         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1084         that will be called on the malloc_data to free it. Basically a way
1085         to avoid subclassing when all you need is a different free
1086         function, i.e. free() instead of g_free().
1087
1088         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1089         calling the free function.
1090         (gst_buffer_init): Initialize the free function to g_free.
1091
1092 2008-10-06  Andy Wingo  <wingo@pobox.com>
1093
1094         * gst/gstghostpad.h:
1095         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1096         finishes the initialization of ghost pad. Useful for language
1097         bindings and subclassers of GstGhostPad. Fixes #539108.
1098         (gst_ghost_pad_new_full): Use the new constructor.
1099
1100 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1101
1102         Base on Patch by: Olivier Crete <tester at tester dot ca>
1103
1104         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1105         (gst_bin_remove_func), (update_degree),
1106         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1107         Keep track of pads that are being linked/unlinked and resync the state
1108         changes.
1109
1110         * gst/gstpad.c: (gst_pad_get_direction),
1111         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1112         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1113         (gst_pad_link_prepare), (gst_pad_link),
1114         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1115         (gst_pad_check_pull_range), (gst_pad_get_range),
1116         (gst_pad_pull_range):
1117         Some code cleanups, use macros to check pad direction.
1118         Don't need to take the lock on the pad direction.
1119         Post structure change when pads are linked/unlinked.
1120         Change some checks into _return_if_fail().
1121
1122         * tests/check/gst/gstbin.c:
1123         (test_link_structure_change_state_changed_sync_cb),
1124         (GST_START_TEST), (gst_bin_suite):
1125         Add testcase for pad link/unlinke resync during a state change.
1126         Fixes #510354.
1127
1128 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1129
1130         * docs/gst/gstreamer-sections.txt:
1131         * gst/gstmessage.c: (gst_message_new_structure_change),
1132         (gst_message_parse_structure_change):
1133         * gst/gstmessage.h:
1134         Implement STRUCTURE_CHANGED messages. These messages will be used to
1135         signal the parent bin of link/unlink operations that could require a
1136         resync when doing a state change. See ##510354.
1137         API: gst_message_new_structure_change()
1138         API: gst_message_parse_structure_change()
1139
1140 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1141
1142         * gst/gstquark.c:
1143         * gst/gstquark.h:
1144         Add some more quarks for new message. See #510354.
1145
1146 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1147
1148         * docs/libs/gstreamer-libs-docs.sgml:
1149         * docs/libs/gstreamer-libs-sections.txt:
1150         * libs/gst/base/Makefile.am:
1151         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1152         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1153         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1154         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1155         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1156         (gst_bit_reader_skip_to_byte):
1157         * libs/gst/base/gstbitreader.h:
1158         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1159         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1160         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1161         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1162         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1163         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1164         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1165         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1166         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1167         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1168         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1169         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1170         * libs/gst/base/gstbytereader.h:
1171         * tests/check/Makefile.am:
1172         * tests/check/libs/bitreader.c: (GST_START_TEST),
1173         (gst_bit_reader_suite):
1174         * tests/check/libs/bytereader.c: (GST_START_TEST),
1175         (gst_byte_reader_suite):
1176         API: Add bit reader and byte reader classes, including documentation
1177         and an extensive unit test suite. Fixes bug #553554.
1178
1179 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1180
1181         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1182         (gst_base_sink_query):
1183         Improve position reporting while flushing and other intermediate state
1184         changes. Fixes #553874.
1185
1186 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1187
1188         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1189
1190         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1191         Original patch by : Simon Descaries
1192         Fix small refount leak in caps compatibility check.
1193         Fixes #551676.
1194
1195 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1196
1197         * docs/pwg/advanced-request.xml:
1198           Fix 0.8 api usage in example. Fixes #554561
1199
1200         * docs/pwg/appendix-porting.xml:
1201           Change 0.9 to 0.10 here.
1202
1203 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1204
1205         * docs/manual/basics-data.xml:
1206           Change "event-event interaction" to "element-element interaction".
1207           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1208           updates.
1209
1210 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1211
1212         * configure.ac:
1213         Back to development -> 0.10.21.1
1214
1215 === release 0.10.21 ===
1216
1217 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1218
1219         * configure.ac:
1220           releasing 0.10.21, "Take These Things From Me"
1221
1222 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1223
1224         * configure.ac:
1225         0.10.20.4 pre-release
1226
1227 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1228
1229         * libs/gst/base/gstbasetransform.c:
1230         * plugins/elements/gstcapsfilter.c:
1231         * tests/check/Makefile.am:
1232         * tests/check/elements/.cvsignore:
1233         * tests/check/elements/capsfilter.c:
1234         Fix assertion in basetransform when the subclass chooses not to
1235         allocate a buffer in prepare_buffer(), and make capsfilter error out
1236         cleanly if requested to apply caps that don't completely specify the
1237         buffer. Fixes #551509
1238
1239 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1240
1241         * libs/gst/base/gstbasetransform.c:
1242         (gst_base_transform_prepare_output_buffer):
1243         Take new caps ref because our old one might have been gone when the
1244         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1245
1246 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1247
1248         * configure.ac:
1249           Do not probe availability of check unit test library when cross
1250           compiling, as test would not work anyway. Also cleanup verbose output
1251           of the check test. Fixes #551952.
1252
1253 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1256
1257         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1258         Avoid leaking the parent ref when we fail changing the state of the
1259         element using gst_element_sync_state_with_parent(). Fixes #551978.
1260
1261 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1262
1263         * docs/manual/intro-motivation.xml::
1264           Remove some bits that no longer apply, update others (#551642).
1265
1266 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1267
1268         * configure.ac:
1269         0.10.20.2 pre-release
1270
1271         * po/LINGUAS:
1272         * po/id.po:
1273         * po/pt_BR.po:
1274
1275         New translations.
1276
1277 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1278
1279         * win32/common/config.h.in:
1280           Add GST_DATADIR, hard-code cpu to x86.
1281
1282         * win32/common/libgstreamer.def:
1283           Spaces to tabs.
1284
1285 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1286
1287         * gst/gsttaglist.h:
1288           Fix Since: markers for new geo tags.
1289
1290 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1291
1292         * gst/gsttaglist.h:
1293           Fix actual tag name define after renaming from altitude to elevation.
1294
1295 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1296
1297         * gst/gstpad.c: (add_unref_pad_to_list),
1298         (gst_pad_get_internal_links_default):
1299         Add fallback when calling the deprecated function on an element that
1300         implements the new internal_link handler.
1301
1302 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * docs/gst/gstreamer-sections.txt:
1305         * gst/gsttaglist.c:
1306         * gst/gsttaglist.h:
1307           Add new tags for geo location and clarify purpose of existing location
1308           tag. Fixes #481169
1309
1310 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1311
1312         Patch by: Olivier Crete <tester at tester dot ca>
1313
1314         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1315         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1316         Use thread-safe internal links iterator. Fixes #549504.
1317
1318 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1319
1320         Based on patch by: Olivier Crete <tester at tester dot ca>
1321
1322         * docs/gst/gstreamer-sections.txt:
1323         * win32/common/libgstreamer.def:
1324         * gst/gstpad.c: (gst_pad_init),
1325         (gst_pad_set_iterate_internal_links_function),
1326         (int_link_iter_data_free), (iterate_pad),
1327         (gst_pad_iterate_internal_links_default),
1328         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1329         * gst/gstpad.h:
1330         Add threadsafe replacement functions for getting internal links of an
1331         element. Deprecate the old internal links functions.
1332         API:GstPad::gst_pad_set_iterate_internal_links_function()
1333         API:GstPad::GstPadIterIntLinkFunction
1334         API:GstPad::gst_pad_iterate_internal_links()
1335         API:GstPad::gst_pad_iterate_internal_links_default()
1336
1337         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1338         (gst_proxy_pad_init):
1339         Implement threadsafe internal links.
1340
1341         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1342         Unit test for internal links on tee. See #549504.
1343
1344 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1345
1346         * tests/check/Makefile.am:
1347         libs/transform1 test requires libs/test_transform.c
1348
1349 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1350
1351         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1352         Die evil deadlock, die !
1353
1354 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1355
1356         * gst/gstutils.c: (gst_element_get_compatible_pad):
1357         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1358         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1359         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1360         not steal the refcount of the given caps as stated.
1361
1362         REVERT THIS COMMIT ONCE FIXED !
1363         REVERT THIS COMMIT ONCE FIXED !
1364         REVERT THIS COMMIT ONCE FIXED !
1365         REVERT THIS COMMIT ONCE FIXED !
1366         REVERT THIS COMMIT ONCE FIXED !
1367         REVERT THIS COMMIT ONCE FIXED !
1368
1369 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1370
1371         * gst/gstiterator.c:
1372         * gst/gstiterator.h:
1373         After 3 years it's about time to revise the documentation of the
1374         iterator objects.
1375
1376 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1377
1378         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1379         Make the internal links function less thread-unsafe and add some
1380         comments, dunno why.
1381
1382 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1383
1384         * gst/gst_private.h:
1385           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1386           build with --disable-gst-debug.
1387
1388 2008-08-28  David Schleef  <ds@schleef.org>
1389
1390         * gst/gstpadtemplate.c: Revert last change, since it breaks
1391           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1392           but shouldn't be enabled until we've released fixed versions
1393           of -good and -ffmpeg.
1394
1395 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1396
1397         * gst/gstobject.c:
1398           Put the gst_object_get_name() back in.
1399
1400 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1401
1402         * gst/gstpadtemplate.c:
1403           The old behaviour was that gst_pad_template_new() takes ownership of
1404           the caps. As we now call g_object_new() which calls g_object_set() and
1405           which copies the caps, we have to unref them to not leak them. Fixes
1406           make valgrid for me.
1407
1408 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * gst/gsturi.c:
1411           Don't segfault on input like "tel:+1-123-555-1234".
1412
1413 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * gst/gstobject.c:
1416           Due to popular request also include ObjectType in
1417           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1418
1419 2008-08-26  David Schleef  <ds@schleef.org>
1420
1421         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1422           src_val must be positive, because that's not a requirement.
1423           This causes problems with converting negative granulepos
1424           values for Dirac.
1425         * gst/gstquery.c: Same, gst_query_new_convert().
1426
1427 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1428
1429         * gst/gstclock.c: (gst_clock_add_observation):
1430         Add some more debugging to the clock slaving code.
1431
1432         * win32/common/libgstbase.def:
1433         Add new basetransform method.
1434
1435 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1436
1437         * gst/gstbin.c: (gst_bin_element_set_state):
1438         Take the (recursive) state lock between getting the locked state of an
1439         element and changing the element state. This allows the application to
1440         lock an element's state and then change its state without races.
1441
1442 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1443
1444         * gst/gstbin.c: (gst_bin_element_set_state):
1445         When an element is in the locked state we still want to update the
1446         base_time of the element.
1447
1448 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1449
1450         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1451         Use the result from gst_pad_set_caps() instead of assuming the element
1452         always accepted the caps computed by the default negotiate function.
1453
1454 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1455
1456         * docs/libs/gstreamer-libs-sections.txt:
1457         * libs/gst/base/gstbasetransform.c:
1458         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1459         (gst_base_transform_chain), (gst_base_transform_suggest),
1460         (gst_base_transform_reconfigure):
1461         * libs/gst/base/gstbasetransform.h:
1462         Implement method for reconfiguring basetransform.
1463         API: GstBaseTransform::gst_base_transform_reconfigure()
1464
1465 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1466
1467         patch by: Murray Cumming <murrayc@murrayc.com>
1468
1469         * gst/gstutils.c:
1470           Mention that this is just like gst_buffer_merge() but with extra
1471           unreffing for C coders. Advise language bindings not to wrap it.
1472           Fixes Bug #533856.
1473           
1474           Also fix file comment.
1475
1476 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1477
1478         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1479
1480         * plugins/elements/gstfakesink.c:
1481         * plugins/elements/gstfakesrc.c:
1482           Call super::event() when not handling it. Fixes #544855.
1483
1484 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1485
1486         Patch by: Alessandro Decina <alessandro@nnva.org>
1487         * plugins/elements/gstfilesrc.c:
1488           Use 64 bit variants of stat functions on win32, to enable support
1489           of large files there.
1490           Fixes #547277.
1491
1492 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1493
1494         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1495         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1496         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1497         (gst_base_sink_get_position), (gst_base_sink_change_state):
1498         Improve position reporting in the flushing state.
1499         Also report the position when we are not yet prerolled but we
1500         have a newsegment event. Fixes #543444.
1501         Improve the pull-based negotiation code.
1502
1503         * tests/check/elements/fakesink.c: (GST_START_TEST),
1504         (fakesink_suite):
1505         Add testcase for position reporting while flushing in PAUSED and
1506         PLAYING.
1507
1508         * tests/check/generic/sinks.c: (GST_START_TEST):
1509         Update unit-test, we can now query the position as soon as we receive a
1510         NEWSEGMENT event.
1511
1512 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1513
1514         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1515
1516         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1517         When the subclass event handler releases the PREROLL_LOCK, we could be
1518         in the flushing state and we have to ignore the event. Fixes #548394.
1519
1520 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1521
1522         * tools/gst-launch.1.in:
1523           Document GST_REGISTRY_UPDATE environment variable.
1524
1525 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1526
1527         * libs/gst/base/gstbasetransform.c:
1528         (gst_base_transform_prepare_output_buffer):
1529         If the element is configured in passthrough mode but the
1530         prepare_output_buffer gave us a new output buffer, discard that buffer
1531         and reuse the input buffer.
1532
1533 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1534
1535         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1536
1537         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1538         (gst_tee_request_new_pad), (gst_tee_release_pad),
1539         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1540         * plugins/elements/gsttee.h:
1541         Protect pad_alloc with a new lock so that we can be sure that nothing is
1542         performing a pad_alloc when removing the pad. Fixes #547835.
1543
1544         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1545         (buffer_alloc_harness_teardown), (app_thread_func),
1546         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1547         Added testcase for shutdown race.
1548
1549 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1550
1551         * gst/gstpad.h:
1552         Add doc
1553
1554 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1555
1556         * libs/gst/base/gstbasetransform.c:
1557         (gst_base_transform_prepare_output_buffer),
1558         (gst_base_transform_buffer_alloc):
1559         Go over the buffer_alloc function again and make sure we always end up
1560         allocating a buffer.
1561         Add some more docs.
1562         Avoid doing pad alloc when we have a pending suggestion because we
1563         cannot yet deal with changing caps in that case. Fixes #547728
1564
1565 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1566
1567         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1568
1569         * docs/manual/advanced-clocks.xml:
1570         * docs/manual/clocks.png:
1571         * docs/manual/diagrams-clocks.svg:
1572           Add one more image showing different times together with a describing
1573           paragraph. Fixes #547729.
1574
1575 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1576
1577         * win32/common/libgstbase.def:
1578         Add new method.
1579
1580 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1581
1582         * libs/gst/base/gstbasetransform.c:
1583         (gst_base_transform_transform_caps),
1584         (gst_base_transform_prepare_output_buffer),
1585         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1586         Don't overwrite the outsize when calculating the expected size of a new
1587         buffer because we still need it in case we cannot process the new
1588         buffer.
1589         When converting the size of the new buffer to an upstream size, actually
1590         use the expected size of the buffer, not some other random value.
1591         Use an atomic int to signal that a new upstream caps suggestion is
1592         available.
1593         When we can convert the current buffer to a new format, check if the
1594         buffer size is of the expected size and allocate a new buffer of the
1595         expected size when this is not the case. Fixes #546883.
1596
1597         * tests/check/libs/transform1.c: (GST_START_TEST):
1598         remove ifdeffed code from the unit test.
1599
1600 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * pkgconfig/gstreamer-uninstalled.pc.in:
1603         * pkgconfig/gstreamer.pc.in:
1604           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1605           called gstcontroller-0.10.
1606
1607 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1608
1609         * gst/gstchildproxy.h:
1610         * gst/gstpreset.h:
1611           Remove double interface from doc-string.        
1612
1613 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1614
1615         * libs/gst/base/gstbasesrc.c:
1616         * libs/gst/base/gstbasetransform.c:
1617           Fix headings in docs and gtk-doc warnings.
1618
1619 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1620
1621         * gst/gstregistrybinary.c:
1622           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1623           libc.
1624           Fixes #544776.
1625
1626 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1627
1628         * libs/gst/base/gstbasetransform.c:
1629         (gst_base_transform_buffer_alloc):
1630         Fix a "may be used unitialized" warning.
1631
1632 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * docs/gst/gstreamer-sections.txt:
1635         * gst/gstpreset.h:
1636           Document preset-iface vmethods.
1637
1638 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1639
1640         * docs/manual/advanced-interfaces.xml:
1641           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1642           only used to discover devices.
1643
1644 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1645
1646         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1647
1648         * gst/gst.c: (init_pre):
1649         Make sure gettext returns translations in UTF-8 encoding rather
1650         than in the current locale encoding (#546822).
1651
1652 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1653
1654         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1655         Fix subset test.
1656
1657         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1658         Improve unit test subset tests and add a testcase for the subset failure
1659         cases.
1660
1661         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1662         Improve subtraction unit test.
1663
1664 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * plugins/elements/gsttee.c:
1667           Unlock, instead of locking again.
1668
1669 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1670
1671         * gst/gstpad.h:
1672         Clarify the docs a bit more.
1673
1674 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1675
1676         * tests/examples/metadata/read-metadata.c:
1677           Don't leak old taglist.
1678
1679 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1680
1681         Patch by: Olivier Crete <tester at tester dot ca>
1682
1683         * gst/gststructure.c:
1684         (gst_structure_fixate_field_nearest_fraction):
1685         Avoid overflows in fixation code when dealing with MAXINT values, which
1686         v4l2src seems to do.
1687         Fixes #546328.
1688
1689         * tests/check/gst/gststructure.c: (GST_START_TEST):
1690         Make a unit test to check the fix. 
1691
1692 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1693
1694         * plugins/elements/gstcapsfilter.c: (copy_func),
1695         (gst_capsfilter_set_property):
1696         Use new caps suggestion feature of basetransform to request a caps
1697         negotiation upstream.
1698
1699 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1700
1701         * docs/libs/gstreamer-libs-sections.txt:
1702         Add new function:
1703         API: GstBaseTransform::gst_base_transform_suggest()
1704
1705         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1706         (gst_base_transform_init), (gst_base_transform_transform_caps),
1707         (gst_base_transform_transform_size),
1708         (gst_base_transform_configure_caps),
1709         (gst_base_transform_can_transform),
1710         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1711         (gst_base_transform_prepare_output_buffer),
1712         (gst_base_transform_buffer_alloc),
1713         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1714         (gst_base_transform_chain), (gst_base_transform_activate),
1715         (gst_base_transform_set_passthrough),
1716         (gst_base_transform_is_passthrough),
1717         (gst_base_transform_set_in_place),
1718         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1719         (gst_base_transform_set_qos_enabled),
1720         (gst_base_transform_is_qos_enabled),
1721         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1722         (gst_base_transform_reconfigure):
1723         * libs/gst/base/gstbasetransform.h:
1724         Rewrite of basetransform to perform negotiation outside of the
1725         buffer_alloc functions.  Fixes #545853.
1726
1727         * tests/check/libs/transform1.c: (GST_START_TEST),
1728         (buffer_alloc_ct2):
1729         Update unit test.
1730
1731 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1732
1733         * tests/check/gst/gstpreset.c:
1734           Only run preset tests when $HOME is writable. Preliminary fix for
1735           #545433.
1736
1737 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1738
1739         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1740         (gst_bin_change_state_func), (bin_handle_async_done),
1741         (gst_bin_handle_message_func):
1742         Fix race for bins that simulate ASYNC state changes by inserting
1743         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1744         pending ASYNC messages even when the bin does not have ASYNC children.
1745         We note detect this behaviour because we will receive an ASYNC message
1746         that is originating from the bin itself. 
1747         Fixes races with decodebin2 state changes.
1748
1749         * tests/check/gst/gstbin.c: (GST_START_TEST):
1750         Add some more debug.
1751
1752 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1753
1754         * gst/gsttaglist.c: (_gst_tag_initialize):
1755           Fix typo.
1756
1757 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * gst/gsttaglist.c:
1760           Argh. actually save the text before committing. Now adds
1761           gst_tag_merge_strings_with_comma() to gst_tag_register().
1762
1763 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1764
1765         * gst/gsttaglist.c:
1766         * gst/gsttaglist.h:
1767           Do as tim pointed out and actually register the new tag. Also improve
1768           te docs and use gst_tag_merge_strings_with_comma() method to allow
1769           retriving all keywords merged in one list.
1770
1771 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1772
1773         * configure.ac:
1774         * docs/gst/gstreamer.types:
1775           Revert 'accidential' change of the configure option removal. We still
1776           need to generate the types file in configure --disable-load-save.
1777
1778 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * docs/gst/gstreamer-sections.txt:
1781         * gst/gsttaglist.h:
1782           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1783
1784 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1785
1786         * gst/gstpadtemplate.c:
1787           (gst_pad_template_class_init), (gst_static_pad_template_get),
1788           (gst_pad_template_new), (gst_pad_template_pad_created),
1789           (gst_pad_template_set_property), (gst_pad_template_get_property):
1790           Add "name-template", "direction", "presence" and "caps" properties,
1791           so that gst_pad_template_new() is just a thin wrapper around
1792           g_object_new(), which is better for bindings. (Fixes: #539772)
1793
1794 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1795
1796         * gst/gsturi.c:
1797           Be more liberal in what URIs we accept.
1798           Do not unescape bits of the URI for no apparent reason before passing to
1799           the element. Fixes #545352.
1800
1801 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1802
1803         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1804
1805         * gst/gst.c:
1806         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1807
1808 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1809
1810         * configure.ac:
1811         * docs/gst/gstreamer-sections.txt:
1812         * docs/gst/gstreamer.types:
1813         * docs/gst/gstreamer.types.in:
1814         * gst/Makefile.am:
1815         * gst/gst.c:
1816         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1817         * gst/gstconfig.h.in:
1818         * gst/gstelement.c: (gst_element_get_index):
1819         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1820         (gst_registry_binary_load_feature),
1821         (gst_registry_binary_read_cache):
1822         * gst/gstregistryxml.c: (load_feature),
1823         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1824         * plugins/Makefile.am:
1825         * tools/gst-indent:
1826         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1827         (print_plugin_features), (print_element_features):
1828         * tools/gst-xmlinspect.c: (print_event_masks),
1829         (print_element_info):
1830         * win32/common/gstconfig.h:
1831         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1832
1833         Disabling the indexers and URI handler code will only reduce the
1834         required amount of memory by a very small amount but on the other hand
1835         requires much more maintaince work. Apart from that many places of
1836         code are broken when disabling them.
1837
1838         Disabling the enum types doesn't reduce the required amount of memory
1839         by more than a few bytes and makes it hard to fix bugs like #539772,
1840         i.e. use the enums as GObject properties.
1841
1842 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1843
1844         * docs/design/part-TODO.txt:
1845         Add some thoughts and problems with upstream renegotiation.
1846
1847 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1848
1849         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1850         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1851         Remove silly redundant debug.
1852         Add some more debug info.
1853         Clarify the docs regarding new caps received from pad_alloc.
1854
1855 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1856
1857         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1858         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1859         Make setting the caps more threadsafe.
1860
1861 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1862
1863         * docs/design/part-element-transform.txt:
1864         Update docs.
1865
1866 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1867
1868         * plugins/elements/gstqueue.c: (gst_queue_init),
1869         (gst_queue_acceptcaps):
1870         Add and use a custom acceptcaps function instead of falling back to the
1871         potentially less optimized default implementation.
1872
1873 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1874
1875         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1876           Only sanity-check the buffer size if requested_caps == buffer_caps
1877           (ie. don't take pad caps into account, they're not relevant here)
1878
1879 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1880
1881         * plugins/elements/gsttee.c:
1882         * plugins/elements/gsttee.h:
1883           Reverting as not everything is clear yet. Needs some general design
1884           work.
1885
1886 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1887
1888         * ChangeLog:
1889           ChangeLog surgery for tee commit.
1890
1891 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1892
1893         * docs/gst/gstreamer-sections.txt:
1894           Cleanup section-file.
1895
1896 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1897
1898         * plugins/elements/gsttee.c:
1899         * plugins/elements/gsttee.h:
1900           Relay tag events in tee. Fixes parts of #474016.
1901           Downgrades 3 reoccurring debugs to log.
1902
1903 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1904
1905         * configure.ac:
1906         * libs/gst/Makefile.am:
1907           Build the net library if we have winsock2.
1908
1909 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1910
1911         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1912
1913         * docs/manual/advanced-threads.xml:
1914         * docs/manual/diagrams-pipelines.svg:
1915         * docs/manual/hello-world.png:
1916         * docs/manual/linked-elements.png:
1917         * docs/manual/mime-world.png:
1918         * docs/manual/queue.png:
1919         * docs/manual/thread-buffering.png:
1920         * docs/manual/thread-synchronizing.png:
1921           Replace one diagram with two separate ones and updates others.
1922           Fixes #542401.
1923
1924 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1925
1926         * gst/gstelement.h:
1927         Fix link in documentation.
1928
1929 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1930
1931         * gst/gstmessage.c:
1932         Fix confusing documentation.
1933
1934 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1935
1936         * libs/gst/base/gstbasesrc.h:
1937         revert the changes to the header file for the ABI.
1938
1939 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1940
1941         * libs/gst/base/gstbasesrc.c:
1942         * libs/gst/base/gstbasesrc.h:
1943         Don't cache the seekable status.
1944         Fixes bug #544174
1945
1946 2008-07-24  Rene Stadler  <mail@renestadler.de>
1947
1948         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1949         code to close the pipeline graph.  This prevents the program from
1950         printing internal data flow errors.
1951
1952 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1953
1954         * docs/manual/basics-bus.xml:
1955         Correct typo. Fixes bug #544320.
1956
1957 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1958
1959         * configure.ac:
1960           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1961           Add check (taken from -base) for winsock, adds WIN32_LIBS
1962         * gst/Makefile.am:
1963           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1964           winsock.
1965           Define GST_EXPORTS when building libgstreamer (only used on win32)
1966         * gst/gst_private.h:
1967         * gst/gstinfo.h:
1968           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1969           for symbols that we need to export in both these files.
1970         * gst/gstpoll.c:
1971           Include gst_private.h higher up to avoid some compile problems on win32.
1972
1973 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1974
1975         * gst/gstvalue.c:
1976         Fix typos.
1977
1978 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1979
1980         * gst/gstcaps.c:
1981         Previous commit was wrong NULL caps does not exist
1982         and indicate an error, so also add a FIXME to
1983         gst_caps_is_equal where NULL caps are accepted.
1984
1985 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1986
1987         * gst/gstcaps.c:
1988         Allow passing of NULL to gst_caps_union
1989
1990 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1991
1992         * gst/gstghostpad.c:
1993         Add in doc that gst_ghost_pad_set_target can accept
1994         NULL to clear target
1995
1996 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1997
1998         * gst/gstplugin.c:
1999         * gst/gstregistry.c:
2000           GstRegistryPool doesn't exist; don't refer to it in docs.
2001           Don't refer to functions that don't exist in docs, it's
2002           unhelpful.
2003
2004 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2005
2006         * gst/gst.c:
2007         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2008
2009 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2010
2011         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2012
2013         * docs/pwg/building-testapp.xml:
2014         Don't use an undeclared variable in the example program.
2015         Fixes bug #542573.
2016
2017 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * gst/gstdebugutils.c:
2020           Squeeze ghost-pad links and remove <> from classname labels to save
2021           more horizontal space.
2022
2023 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2024
2025         * gst/gstdebugutils.c:
2026           Give request and sometimes pads a different shpe style. Condense the
2027           graphs a little more.
2028
2029 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2030
2031         * configure.ac:
2032           Don't require flex and bison if the parser is disabled.
2033
2034 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2035
2036         * libs/gst/controller/gstinterpolationcontrolsource.c:
2037         (_list_find_sorted_custom):
2038         Don't use declarations after statements.
2039
2040 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2041
2042         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2043         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2044         of the the child-added / -removed signals as GstChildProxy
2045         only supports GstObjects.
2046
2047 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2048
2049         * gst/gstdebugutils.c:
2050         Fix memleak
2051
2052 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2053
2054         Patch by: Alessandro Decina <alessandro at nnva dot org>
2055
2056         * gst/gstpoll.c:
2057         Fix "ignored return value" compiler warning with newer glibc.
2058
2059 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2060
2061         * gst/gstchildproxy.c:
2062         Fix copy&paste error in gst_child_proxy_removed() documentation.
2063
2064 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2065
2066         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2067           Print error debug message if plugin description fields that should
2068           be set are NULL.
2069
2070         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2071           Don't crash if the string to serialise is NULL (it really should
2072           not be, but apparently this used to work with the xml registry ...).
2073
2074 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2075
2076         * tools/gst-plot-timeline.py:
2077         Fix parsing of log messages
2078
2079 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2080
2081         * win32/common/libgstbase.def::
2082           Sort alphabetically so make check-exports doesn't barf.
2083
2084 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2085
2086         * gst/gstevent.c:
2087           Use gst_format_get_name() to improve debug output.
2088
2089         * gst/gstpreset.c:
2090           Remove #ifdef'ed code. Add TODO comment.
2091
2092         * gst/gstsegment.c:
2093           Add debug output to ease spotting format != segment.format assertions.
2094
2095 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2096
2097         * tests/check/libs/gdp.c: (gst_dp_suite):
2098         Also enable the GDP unit test again on PPC now that the bug
2099         is fixed.
2100
2101 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2102
2103         * libs/gst/dataprotocol/dataprotocol.c:
2104         Don't write to the same region of memory as a uint64 and uint16
2105         as this breaks strict aliasing rules and apparantly breaks on PPC
2106         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2107
2108 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2109
2110         * libs/gst/controller/gstinterpolationcontrolsource.c:
2111           Optimize list handling. Use own find function. Exploit that fact that
2112           the list is sorted. Also pass back the node before, so that we can
2113           insert quickly. Have a fast path for append.
2114
2115 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2116
2117         * docs/design/draft-framestep.txt:
2118         * docs/design/part-negotiation.txt:
2119           Fix two typos.
2120
2121 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2122
2123         * configure.ac:
2124           Show configuration sumary after configure run. Based on patch by
2125           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2126
2127 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2128
2129         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2130
2131         * docs/manual/advanced-autoplugging.xml:
2132         * docs/manual/advanced-threads.xml:
2133         * docs/manual/basics-bins.xml:
2134         * docs/manual/basics-elements.xml:
2135         * docs/manual/basics-helloworld.xml:
2136         * docs/manual/basics-pads.xml:
2137           Add scale factor for pdf output.
2138
2139         * docs/manual/intro-basics.xml:
2140           Switched sections "pads" and "bins" and added a pipeline diagram.
2141
2142         * docs/manual/intro-gstreamer.xml:
2143           Added more info on gstreamer.
2144
2145         * docs/manual/intro-motivation.xml:
2146           Commented out the whole section "current problem", which sounds
2147           historical and somehow osolete; it could be turned in a positive
2148           way and reused to improve the design principles.
2149
2150         * docs/manual/intro-preface.xml:
2151           - Update URLs to library.gnome.org. 
2152           - Do not mention GTK+ in preliminary reading (irrelevant). 
2153           - Mention Plugin Writer's Manual and further reading only in the
2154             previous section.
2155           - Added a list of most relevant GObject/glib topics.
2156
2157         * docs/manual/Makefile.am:
2158         * docs/manual/bin-element-ghost.fig:
2159         * docs/manual/bin-element-ghost.png:
2160         * docs/manual/bin-element-noghost.fig:
2161         * docs/manual/bin-element-noghost.png:
2162         * docs/manual/bin-element.fig:
2163         * docs/manual/bin-element.png:
2164         * docs/manual/filter-element-multi.fig:
2165         * docs/manual/filter-element-multi.png:
2166         * docs/manual/filter-element.fig:
2167         * docs/manual/filter-element.png:
2168         * docs/manual/gstreamer-overview.png:
2169         * docs/manual/hello-world.fig:
2170         * docs/manual/hello-world.png:
2171         * docs/manual/linked-elements.fig:
2172         * docs/manual/linked-elements.png:
2173         * docs/manual/mime-world.fig:
2174         * docs/manual/mime-world.png:
2175         * docs/manual/queue.fig:
2176         * docs/manual/queue.png:
2177         * docs/manual/simple-player.png:
2178         * docs/manual/sink-element.fig:
2179         * docs/manual/sink-element.png:
2180         * docs/manual/src-element.fig:
2181         * docs/manual/src-element.png:
2182         * docs/manual/diagrams-general.svg:
2183         * docs/manual/diagrams-pipelines.svg:
2184           Removed .fig, added .png counterpart.
2185           
2186           Fixes: #539137
2187
2188 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2189
2190         * plugins/elements/gstmultiqueue.c:
2191         * plugins/elements/gstmultiqueue.h:
2192         revert extra-size-buffers stuff, caused some race conditions
2193         and extra-size-buffers is not used anymore. Docs needs some updates
2194
2195 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2196
2197         * win32/common/config.h:
2198         * win32/common/gstenumtypes.c:
2199         * win32/common/gstenumtypes.h:
2200         * win32/common/gstversion.h:
2201           Update win32 files.
2202
2203 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2204
2205         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2206           (GST_DEBUG_BIN_TO_DOT_FILE):
2207           Add missing Since' markers to gtk-doc blurbs.
2208
2209 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2210
2211         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2212         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2213         (set_caps_1), (set_caps_ct1), (transform_ct1),
2214         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2215         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2216         (transform_size_ct2), (buffer_alloc_ct2):
2217         Add some more tests with switching caps in buffer_alloc.
2218
2219 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2220
2221         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2222         (gst_test_trans_class_init), (result_sink_chain),
2223         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2224         (gst_test_trans_push), (gst_test_trans_pop):
2225         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2226         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2227         (set_caps_1), (set_caps_ct1), (transform_ct1),
2228         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2229         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2230         (transform_size_ct2), (buffer_alloc_ct2),
2231         (gst_basetransform_suite):
2232         More tests, prepare for tests with switching caps in buffer_alloc.
2233
2234 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2235
2236         * plugins/elements/gstmultiqueue.c:
2237         * plugins/elements/gstmultiqueue.h:
2238         Fix dead-lock in underrun_cb
2239
2240 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2241
2242         * docs/design/part-states.txt:
2243         Fix device open/close docs.
2244
2245 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2246
2247         * ChangeLog:
2248           Mention bugnumber for last commit.
2249
2250 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2251
2252         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2253
2254         * docs/manual/manual.xml:
2255         - Reorganised the previous "introduction" bundle into Foreword,
2256         Introduction, and About GStreamer. The two first are <preface>
2257         docbook elements. The later is the first part of the book.
2258         - added intro-gstreamer.xml (content partially from
2259         intro-preface.xml)
2260         - moved appendix-win32.xml into appendix-integration.xml
2261
2262         * docs/manual/intro-preface.xml: gstreamer section moved...
2263         * docs/manual/intro-gstreamer.xml: ...here. new file.
2264
2265         * docs/manual/appendix-win32.xml: removed file. Content moved...
2266         * docs/manual/appendix-integration.xml: ...here.
2267         
2268         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2269         * docs/manual/appendix-checklist.xml: ...here.
2270         
2271         Fixes: 538764
2272
2273 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2274
2275         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2276
2277         * docs/manual/basics-helloworld.xml:
2278         * docs/manual/hello-world.fig:
2279           - Explicitely include glib.h.
2280           - Do not use global variables.
2281           - Use g_printerr() instead of g_print().
2282           - Minor formating/renaming to increase readibility.
2283           - Renamed new_pad() to on_pad_added()
2284           - Improved explenatory comments.
2285           - renamed ogg parser to ogg demuxer
2286           - Use "autoaudiosink" instead of "alsasink".
2287           Fixes: #538619
2288
2289 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2290
2291         * ChangeLog:
2292           Remove cvs conflict marker.
2293
2294 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2295
2296         * docs/README:
2297           Document that for plgin-docs we extraxt he short-desc from the element
2298           details.
2299
2300         * docs/design/part-states.txt:
2301           Tell that devices should be closed in PAUSED -> READY.
2302
2303         * docs/manual/README:
2304           Document how tests in the manual are handled.
2305
2306         * docs/manuals.mak:
2307           Typo in comment.
2308
2309 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2310
2311         * gst/gstbin.c: (bin_query_latency_fold):
2312         Only care about latency min and max when the sink is actually a live
2313         sink.
2314
2315 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2316
2317         * docs/design/part-block.txt:
2318         Fix typo.
2319
2320         * docs/design/part-element-transform.txt:
2321         Add notes about why transform needs to know input/output sizes.
2322         Add some issues that need to be solved.
2323         Add some more use cases.
2324
2325         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2326         (gst_test_trans_class_init), (result_sink_chain),
2327         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2328         (gst_test_trans_push), (gst_test_trans_pop):
2329         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2330         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2331         (set_caps_1), (set_caps_ct1), (transform_ct1),
2332         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2333         (gst_basetransform_suite):
2334         Add suport for different pad templates and buffer-alloc.
2335         Add more checks for caps and buffer-alloc.
2336         Add checks for proxy buffer alloc.
2337         Add unit test for copy transform.
2338
2339 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2340
2341         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2342
2343         * docs/manual/appendix-integration.xml:
2344         * docs/manual/appendix-licensing.xml:
2345         * docs/manual/basics-elements.xml:
2346         * docs/manual/basics-helloworld.xml:
2347         * docs/manual/basics-pads.xml:
2348         * docs/manual/highlevel-components.xml:
2349         * docs/manual/highlevel-xml.xml:
2350         * docs/manual/intro-basics.xml:
2351         * docs/manual/intro-preface.xml:
2352           Typo and formatting fixes (#538594).
2353
2354 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2355
2356         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2357         Fix some memory leaks and uses of object instances that we don't
2358         actually own.
2359
2360 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2361
2362         * plugins/elements/gstmultiqueue.c:
2363         Add functionality to extra-size-buffers property.
2364
2365 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2366
2367         * plugins/elements/gstmultiqueue.c:
2368         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2369         activate the pads if they are added in STATE_NULL.
2370
2371 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2372
2373         * docs/libs/gstreamer-libs-sections.txt:
2374         Add new API to doc
2375         * libs/gst/check/gstcheck.c:
2376         * libs/gst/check/gstcheck.h:
2377         API: gst_check_teardown_pad_by_name
2378
2379 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2380
2381         * libs/gst/check/gstcheck.c:
2382         * libs/gst/check/gstcheck.h:
2383         Also setup request pads and allow setup pads by name (#537812)
2384         API: gst_check_setup_src_pad_by_name
2385         API: gst_check_setup_sink_pad_by_name
2386
2387 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2388
2389         * tests/check/gst/gstbuffer.c:
2390         * tests/check/pipelines/parse-launch.c:
2391           Use HAVE_VALGRIND_H some more.
2392
2393 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2394
2395         * scripts/cvs-update.sh:
2396           Pass arguments to make.
2397           Run autoregen.sh if Makefile is not there.
2398
2399 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2400
2401         * configure.ac:
2402         * gst/gstinfo.c:
2403           Don't assume that <valgrind/valgrind.h> exists just because
2404           the binary is there.
2405
2406 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2407
2408         * tests/check/Makefile.am:
2409         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2410         (gst_test_trans_class_init), (gst_test_trans_init),
2411         (gst_test_trans_set_data), (result_sink_chain),
2412         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2413         (gst_test_trans_pop):
2414         * tests/check/libs/transform1.c: (GST_START_TEST),
2415         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2416         Add some test basetransform element and the beginnings of various
2417         unit tests for it.
2418
2419 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2420
2421         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2422         Increase code readability.
2423         Don't try to compare buffer offsets when ther are invalid.
2424
2425 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2426
2427         * docs/design/Makefile.am:
2428           Dist some more design docs.
2429
2430         * docs/random/moving-plugins:
2431           Small addition: good plugins mustn't have functional code
2432           within assertion macros.
2433
2434 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2435
2436         * docs/design/draft-framestep.txt:
2437         Some ideas about a framestep API
2438
2439         * docs/design/part-element-transform.txt:
2440         Start design and use cases for basetransform in order to get it
2441         fixed soon.
2442
2443 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2444
2445         * gst/gsttaglist.h:
2446           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2447           be in UTF-8 encoding.
2448
2449 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2450
2451         * gst/gstbus.c:
2452           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2453
2454 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2455
2456         * plugins/elements/gstcapsfilter.c:
2457         * plugins/elements/gstfakesink.c:
2458         * plugins/elements/gstfakesrc.c:
2459         * plugins/elements/gstfdsink.c:
2460         * plugins/elements/gstfdsrc.c:
2461         * plugins/elements/gstfilesink.c:
2462         * plugins/elements/gstfilesrc.c:
2463         * plugins/elements/gstidentity.c:
2464         * plugins/elements/gstmultiqueue.c:
2465         * plugins/elements/gstqueue.c:
2466         * plugins/elements/gsttee.c:
2467         * plugins/elements/gsttypefindelement.c:
2468           Remove short_description. Add basic docs for gsttypefindelement.
2469           Simplify markup for fakesrc/fdsrc.
2470
2471 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2472
2473         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2474         Added Since doc.
2475
2476 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2477
2478         Patch by: Joel Larsson <tilljoel at gmail dot com>
2479
2480         * docs/plugins/gstreamer-plugins.args:
2481         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2482         (gst_fd_src_init), (gst_fd_src_update_fd),
2483         (gst_fd_src_set_property), (gst_fd_src_get_property),
2484         (gst_fd_src_create):
2485         * plugins/elements/gstfdsrc.h:
2486         Add timeout property like udpsrc. Fixes #538628.
2487         Add some more docs and example pipelines.
2488
2489 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2490
2491         * docs/libs/gstreamer-libs-sections.txt:
2492         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2493         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2494         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2495         (gst_base_sink_do_sync):
2496         * libs/gst/base/gstbasesink.h:
2497         * win32/common/libgstbase.def:
2498         Add method to allow sinks to specify additional delay between the sync
2499         times and the actual rendering of the data.
2500         API: gst_base_sink_set_render_delay()
2501         API: gst_base_sink_get_render_delay()
2502
2503 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2504
2505         * configure.ac:
2506         Bump version number back to dev -> 0.10.20.1
2507
2508 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2509
2510         * docs/gst/gstreamer-sections.txt:
2511         * gst/gsttaglist.c: (_gst_tag_initialize):
2512         * gst/gsttaglist.h:
2513         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2514         Fixes bug #538568.
2515
2516 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2517
2518         * libs/gst/controller/gstcontroller.c:
2519           Revert one change, that make ret value possible uninitialized.
2520
2521 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2522
2523         * libs/gst/controller/gstcontroller.c:
2524           Use freeze/thaw notify to sync notify emission a bit (its also more
2525           efficient). Move debug output to LOG (is called a lot in a loop).
2526           Always unset g_values if the have been initialized.
2527
2528 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2529
2530         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2531         (gst_base_sink_wait_eos), (gst_base_sink_event):
2532         If we have not seen a buffer before EOS, use the segment values to
2533         report the current position instead of invalid positions.
2534
2535 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2536
2537         * docs/plugins/tmpl/.cvsignore:
2538         * tests/check/gst/.cvsignore:
2539           Ignore more.
2540
2541 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2542
2543         * libs/gst/controller/gstinterpolation.c:
2544         * libs/gst/controller/gstinterpolationcontrolsource.c:
2545         * tests/check/libs/controller.c:
2546           Rewrite handling of default values. Fix overflow with unsigned types
2547           in linear interpolation. Remove now obsolete _first_value() function.
2548           Add more tests. Fixes #538201.
2549
2550 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2551
2552         * libs/gst/base/gstbasetransform.c:
2553         (gst_base_transform_class_init), (gst_base_transform_init),
2554         (gst_base_transform_transform_caps),
2555         (gst_base_transform_prepare_output_buffer):
2556         Add debug info.
2557         When a buffer is writable, its metadata is also writable so we don't
2558         need to subbuffer (which then makes the buffer not-writable anymore).
2559
2560 === release 0.10.20 ===
2561
2562 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2563
2564         * configure.ac:
2565           releasing 0.10.20, "You Crazy Diamond"
2566
2567 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2568
2569         * configure.ac:
2570         0.10.19.3 pre-release
2571
2572 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2573
2574         * configure.ac:
2575         * gst/gstpreset.c:
2576         Rename DATADIR to GST_DATADIR to avoid build problems
2577         on win32. Patch By: David Schleef <ds@schleef.org>
2578         Fixes: #536857
2579
2580 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2581
2582         * configure.ac:
2583         Explicitely link with -ldl if dladdr() is found there. Before it was
2584         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2585         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2586
2587 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2588
2589         * gst/gsterror.c: (_gst_stream_errors_init):
2590           Fix typo (spotted by Fabricio Godoy, #536723).
2591
2592 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2593
2594         * configure.ac:
2595         0.10.19.2 pre-release
2596
2597 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2598
2599         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2600         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2601         Add some debug.
2602         Make sure we don't generate invalid QoS messages.
2603
2604 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2605
2606         * gst/gstevent.c: (gst_event_new_qos):
2607         Add some assert and docs for invalid input to the qos function.
2608
2609 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2610
2611         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2612         (gst_base_sink_get_position):
2613         The reported position must always be smaller than the last seen
2614         timestamps (or timestamp + duration for reverse).
2615
2616 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2617
2618         Patch by: Rob Bradford <rob at robster dot org dot uk>
2619
2620         * gst/gstregistry.c: (gst_registry_scan_path_level):
2621         Don't recurse into .debug directories as some distros install
2622         the debugging symbols next to the plugins in .debug directories
2623         and dlopen() crashes on them sometimes. Fixes bug #508070.
2624
2625         Add FIXME for 0.11 to not recurse into directories at all because
2626         it's very inconsistent to the behaviour of other PATH environment
2627         variables.
2628
2629 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2630
2631         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2632         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2633         Fix position query range checks in reverse playback.
2634
2635 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2636
2637         * gst/gstelement.c:
2638         * gst/gstelement.h:
2639         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2640         clear of the reference to the resulting pad must be released later
2641         or not, resulting in possible leaks. Fixes bug #533865.
2642
2643 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2644
2645         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2646
2647         * gst/gstelementfactory.c:
2648         Small doc fix. Fixes #535285.
2649
2650 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2651
2652         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2653
2654         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2655         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2656         (gst_base_src_loop), (gst_base_src_set_flushing),
2657         (gst_base_src_change_state):
2658         Make sending an EOS event to the basesrc non-blocking even if the
2659         implementation does blocking waits in the create function. This is done
2660         by unlocking the create function when EOS is sent.
2661         Fixes #535218.
2662
2663 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         * tools/gst-inspect.c: (print_element_properties_info):
2666         If possible print the element type of GValueArray properties.
2667
2668 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2669
2670         * gst/gstiterator.c:
2671         Remove an unused field from the private GstListIterator struct.
2672
2673 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2674
2675         * libs/gst/controller/gstcontroller.c:
2676           Add parameter guards.
2677
2678 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2679
2680         * tests/check/gst/gstpipeline.c:
2681           Revert test change and add comment why it should not work.
2682
2683 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2684
2685         * tests/check/gst/gstpipeline.c:
2686           Extending the test a little to verify that we also get the NULL state-
2687           change message.
2688
2689 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2690
2691         * gst/gstpreset.c: (gst_preset_default_get_meta),
2692           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2693           (gst_preset_load_preset), (gst_preset_save_preset),
2694           (gst_preset_rename_preset), (gst_preset_delete_preset),
2695           (gst_preset_set_meta):
2696           Add Since: markers to docs blurbs.
2697
2698         * win32/common/libgstreamer.def:
2699           Add recently-added API.
2700
2701 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2702
2703         Patch by: Stefan Kost  <ensonic@users.sf.net>
2704
2705         * configure.ac:
2706         Add DATADIR for storing presets.
2707
2708         * docs/gst/gstreamer-docs.sgml:
2709         * docs/gst/gstreamer-sections.txt:
2710         * docs/gst/gstreamer.types.in:
2711         Add GstPreset to docs.
2712
2713         * gst/Makefile.am:
2714         * gst/gst.h:
2715         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2716         (preset_open_and_parse_header), (preset_parse_version),
2717         (preset_merge), (preset_get_keyfile),
2718         (gst_preset_default_get_preset_names),
2719         (gst_preset_default_get_property_names),
2720         (gst_preset_default_load_preset),
2721         (gst_preset_default_save_presets_file),
2722         (gst_preset_default_save_preset),
2723         (gst_preset_default_rename_preset),
2724         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2725         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2726         (gst_preset_default_reset), (gst_preset_get_preset_names),
2727         (gst_preset_get_property_names), (gst_preset_load_preset),
2728         (gst_preset_save_preset), (gst_preset_rename_preset),
2729         (gst_preset_delete_preset), (gst_preset_set_meta),
2730         (gst_preset_get_meta), (gst_preset_class_init),
2731         (gst_preset_base_init), (gst_preset_get_type):
2732         * gst/gstpreset.h:
2733         Add GstPreset to core. Fixes #396779
2734
2735         * tests/check/Makefile.am:
2736         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2737         (gst_preset_test_set_property), (gst_preset_test_class_init),
2738         (gst_preset_test_base_init), (gst_preset_test_get_type),
2739         (gst_preset_test_plugin_init), (GST_START_TEST),
2740         (remove_preset_file), (test_setup), (test_teardown),
2741         (gst_preset_suite):
2742         Add GstPreset unit tests.
2743
2744 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2745
2746         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2747         The default event function on a sinkpad should return TRUE when
2748         there are no internal links but should collect the return values from
2749         the internal links otherwise.
2750
2751 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2752
2753         * plugins/elements/gsttypefindelement.c:
2754         (gst_type_find_element_src_event),
2755         (gst_type_find_element_handle_event):
2756         Use faster and safer _pad_push_event().
2757
2758 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2759
2760         * docs/gst/gstreamer-sections.txt:
2761         * gst/gstutils.c: (element_find_unlinked_pad),
2762           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2763         * gst/gstutils.h:
2764           API: add gst_bin_find_unlinked_pad()
2765           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2766
2767 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2768
2769         * gst/gstclock.c:
2770         * gst/gstclock.h:
2771         * gst/gsttask.c:
2772         * gst/gsttask.h:
2773         Fixed a bunch of typos.
2774
2775 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2776
2777         * gst/gstpad.h:
2778         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2779           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2780           (gst_parse_bin_from_description_full):
2781         * gst/gstutils.h:
2782           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2783
2784 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2785
2786         * docs/pwg/advanced-tagging.xml:
2787           Small docs update, can't be bothered to rewrite the nonsensical
2788           examples right now.
2789
2790 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2791
2792         * gst/gstevent.h:
2793           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2794
2795 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2796
2797         * gst/parse/grammar.y:
2798           Remove unneeded casts.
2799
2800 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2801
2802         * gst/parse/grammar.y:
2803         * tests/check/pipelines/parse-launch.c:
2804           Get all missing elements from a parse launch string if possible
2805           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2806
2807 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2808
2809         * tests/check/Makefile.am:
2810         * tests/check/pipelines/parse-launch.c:
2811           Add some unit tests for the new gst_parse_launch*_full() API.
2812           (Exposes a previously-existing memory leak in the error code
2813           path, so adding to VALGRIND_TO_FIX for now).
2814
2815 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2816
2817         * docs/gst/gstreamer-sections.txt:
2818         * gst/gst.c: (init_post):
2819         * gst/gst_private.h: (_GstParseContext):
2820         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2821           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2822           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2823           (gst_parse_launch_full):
2824         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2825           (GstParseFlags), (GstParseContext):
2826         * gst/gstutils.c: (gst_parse_bin_from_description),
2827           (gst_parse_bin_from_description_full):
2828         * gst/gstutils.h:
2829         * gst/parse/grammar.y:
2830         * gst/parse/types.h:
2831         * win32/common/libgstreamer.def:
2832           Add new gst_parse_*_full API (#528178):
2833           API: gst_parse_launch_full()
2834           API: gst_parse_launchv_full()
2835           API: gst_parse_bin_from_description_full()
2836           API: gst_parse_context_new()
2837           API: gst_parse_context_free()
2838           API: gst_parse_context_get_missing_elements()
2839
2840 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2841
2842         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2843
2844         * docs/faq/gst-uninstalled:
2845           Also support ffmpeg in gst-uninstalled.
2846
2847 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2848
2849         * configure.ac:
2850         After discussion on IRC use the binary registry as default
2851         but allow to disable it with --disable-binary-registry.
2852
2853         * win32/common/libgstreamer.def:
2854         Add the two new symbols for the binary registry.
2855
2856 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2857
2858         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2859         * gst/gstutils.c: (gst_parse_bin_from_description):
2860         * gst/parse/grammar.y: (graph):
2861           More guards against bad input; typo fix; some minor clean-ups.
2862
2863 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2864
2865         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2866
2867         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2868         If nothing else can be used, use the last buffer's start time as
2869         the segment's last stop. Fixes bug #534258.
2870
2871 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2872
2873         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2874           Move size sanity check to the right place: downstream may return
2875           a buffer with a smaller size if the buffer caps are different than
2876           the requested ones, as may happen when doing reverse negotiation.
2877
2878 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2879
2880         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2881         (gst_file_sink_render):
2882         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2883         (gst_file_src_start):
2884         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2885         use it yet.
2886
2887 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2888
2889         * gst/gstpad.c: (gst_pad_load_and_link):
2890         * gst/gstutils.c: (gst_element_link_pads),
2891         (gst_element_unlink_pads):
2892         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2893         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2894         (gst_check_teardown_sink_pad),
2895         (gst_check_element_push_buffer_list):
2896         * tests/check/elements/fakesink.c: (GST_START_TEST):
2897         * tests/check/elements/filesink.c:
2898         * tests/check/elements/filesrc.c: (GST_START_TEST):
2899         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2900         (mq_sinkpad_to_srcpad):
2901         * tests/check/elements/tee.c: (GST_START_TEST):
2902         * tests/check/generic/sinks.c: (GST_START_TEST):
2903         * tests/check/gst/gstbin.c: (GST_START_TEST):
2904         * tests/check/gst/gstevent.c: (GST_START_TEST):
2905         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2906         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2907         * tests/check/gst/gstquery.c: (GST_START_TEST):
2908         * tests/check/gst/gstutils.c: (GST_START_TEST):
2909         * tests/check/libs/basesrc.c: (GST_START_TEST):
2910         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2911         (gst_parse_test_element_change_state):
2912         Don't use gst_element_get_pad().
2913
2914 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2915
2916         * docs/Makefile.am:
2917         Fix installing plugin documentation when gtk-doc is disabled.
2918
2919 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2920
2921         * docs/manual/advanced-autoplugging.xml:
2922         * docs/manual/basics-helloworld.xml:
2923         * docs/manual/basics-pads.xml:
2924         * docs/manual/highlevel-components.xml:
2925         Avoid using a bad function in the example code.
2926
2927 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2928
2929         * gst/gstclock.c: (gst_clock_set_calibration):
2930         Fix debug of the new clock rate.
2931
2932 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2933
2934         * win32/common/libgstbase.def:
2935         Add gst_base_sink_wait_clock() to the exported symbols.
2936
2937 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2938
2939         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2940
2941         * libs/gst/base/gstbasetransform.c:
2942         (gst_base_transform_sink_event):
2943         Unref events that the GstBaseTransform::event vfunc didn't want to
2944         have forwarded by the base class. Closes a leak in identity.
2945         Fixes bug #446763.
2946
2947 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2948
2949         * docs/libs/gstreamer-libs-sections.txt:
2950         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2951         * libs/gst/base/gstbasesink.h:
2952         Expose a method that was previously used internally to synchronize
2953         against the clock because it can be useful for subclasses too.
2954         API: GstBaseSink::gst_base_sink_wait_clock()
2955
2956 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2957
2958         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2959           Add sanity check to make sure we don't get smaller buffers
2960           than requested (and fallback to normal buffer alloc if we do).
2961
2962 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2963
2964         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2965         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2966         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2967         Refactor adjusting the running_time with latency and offset into a
2968         separate method.
2969         When doing clipping, we still want to use the subclass get_times method,
2970         just in case the DURATION or TIMESTAMP are not set.
2971
2972 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2973
2974         * docs/gst/gstreamer-sections.txt:
2975         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2976         * gst/gsttypefind.h:
2977         * win32/common/libgstreamer.def:
2978           API: add gst_type_find_suggest_simple(), #533740.
2979
2980 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2981
2982         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2983           Use right error code when typefinding fails, so we can use
2984           the default (translated) error messages.
2985
2986 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2987
2988         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2989         (gst_base_src_start):
2990         When the subclass did not set caps on outgoing buffers, configure the
2991         caps we negotiated on the source pad.
2992         When the typefind helper does not find caps, error out properly instead
2993         of doing things with NULL caps.
2994
2995 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2996
2997         * gst/gsttypefind.h:
2998           Tabs to spaces, oh yes!
2999
3000 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3001
3002         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3003           Add David's and Benjamin's tests for array intersection to the
3004           unit test suite (#147931).
3005
3006 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3007
3008         * gst/gstevent.c:
3009           Document that gst_event_new_tag() and gst_event_new_navigation()
3010           take ownership of the taglist/structure passed to them. (#533635).
3011
3012 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3013
3014         * docs/Makefile.am:
3015         Don't descend into the plugins dir if plugin docs building
3016         is disabled.
3017
3018         * docs/README:
3019         Add a note about the new type:GTypeName syntax for the plugin
3020         documentation .types file.
3021
3022 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3023
3024         * gst/gstmessage.c: (gst_message_new_error),
3025         (gst_message_new_warning), (gst_message_new_info):
3026         * gst/gstmessage.h:
3027         Mark the debug string parameters as const. Fixes bug #533490.
3028
3029 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3030
3031         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3032         Sort buffer cache list by end offsets. This makes sure that we don't
3033         stop to search for a cached buffer that contains the requested data
3034         too early.
3035         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3036         more efficient. Fixes bug #459862.
3037
3038 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3039
3040         * gst/gstinfo.c:
3041           Explain why we copy the list.
3042
3043         * gst/gstpipeline.c:
3044           Improve docs.
3045
3046         * gst/gstutils.c:
3047           Add one debug-log statement to help tracing probelms with linking pads.
3048
3049 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3050
3051         * tests/check/gst/gstinfo.c:
3052         Add a test for removing the default log handler. Seems to fail under
3053         windows.
3054
3055 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3056
3057         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3058         Release pad lock before calling out to avoid a possible deadlock.
3059
3060 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3061
3062         * gst/parse/grammar.y:
3063         Remove unneeded value unset.
3064
3065         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3066         Add unit test for de/serialization of caps.
3067
3068 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3069
3070         * plugins/elements/gstfakesink.c:
3071         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3072         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3073         (gst_fake_src_class_init):
3074         Use custom marshalers that take GstMiniObject as first parameter.
3075         Using OBJECT as parameter while a GstMiniObject is given will lead
3076         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3077
3078 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3079
3080         * plugins/elements/gsttypefindelement.c:
3081         (gst_type_find_element_handle_event),
3082         (gst_type_find_element_send_cached_events),
3083         (gst_type_find_element_change_state):
3084         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3085         immediately.
3086
3087 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3088
3089         * plugins/elements/gsttypefindelement.c:
3090         (gst_type_find_handle_src_query), (stop_typefinding),
3091         (gst_type_find_element_handle_event),
3092         (gst_type_find_element_send_cached_events),
3093         (gst_type_find_element_change_state):
3094         Forward FLUSH_START events immediately and clean up instead of
3095         caching them.
3096
3097 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3098
3099         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3100
3101         * libs/gst/base/gstbasetransform.c:
3102         (gst_base_transform_buffer_alloc):
3103         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3104         fall back to default negotiation in the chain function if the caps
3105         are different from what was requested. Fixes bug #526768.
3106
3107 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3108
3109         * gst/gstsegment.c:
3110         * tests/check/gst/gstsegment.c:
3111           No, let's not use g_slice_{dup|copy} here, since they only exist
3112           since GLib 2.14 and we still depend only on >= 2.12. Also add
3113           unit test for gst_segment_copy().
3114
3115 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3116
3117         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3118           Try to fix 'dereferencing type-punned pointer will break strict
3119           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3120           changed the default GType typedef from gulong to gsize at some point,
3121           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3122           g_once_* functions all take a gsize * though, so work around the type
3123           mismatch for C++ by doing everything in gsize and casting to GType
3124           later.
3125
3126 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3127
3128         * plugins/elements/gstmultiqueue.c:
3129         Add documentation for the signals to push our core plugin docs
3130         coverage back up to 100%.
3131
3132 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3133
3134         * gst/gstinfo.h (GST_FUNCTION):
3135           Reverted GST_FUNCTION to the old version as we don't want the
3136           full signature in C++ code. Also added support for MSVC.
3137
3138 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         * gst/gstutils.h:
3141         Intern the type name string, similar to what G_DEFINE_TYPE does.
3142
3143 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3144
3145         * gst/gstutils.h:
3146         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3147
3148 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3149
3150         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3151
3152         * libs/gst/base/gstbasetransform.c:
3153         (gst_base_transform_buffer_alloc):
3154         Don't passthrough buffer allocation too easily if the caps change.
3155         This breaks when working in passthrough mode and upstream changes
3156         it's caps. Fixes bug #526768.
3157
3158 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3159
3160         * gst/gstinfo.c (gst_debug_log_valist):
3161           Improved the __FILE__ part of debug output for MSVC.
3162
3163 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3164
3165         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3166           Declaration after statement fix for compilers like MSVC.
3167
3168 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3169
3170         * win32/common/config.h.in:
3171           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3172           use the real thing than having "???" unconditionally.
3173
3174 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3175
3176         * gst/gstinfo.h (GST_FUNCTION):
3177           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3178
3179 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3180
3181         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3182         Small code cleanup.
3183
3184         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3185         (gst_base_sink_set_flushing):
3186         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3187         Fix some comments.
3188
3189 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3190
3191         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3192         (gst_fake_src_init), (gst_fake_src_set_property),
3193         (gst_fake_src_get_property), (gst_fake_src_start):
3194         * plugins/elements/gstfakesrc.h:
3195         Added format property to control the format of the newsegment events.
3196         API: GstFakeSrc:format
3197
3198 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3199
3200         * win32/common/libgstreamer.def:
3201         Add gst_pad_has_name() to the exported symbols.
3202
3203 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3204
3205         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3206         * libs/gst/base/gstbasetransform.c:
3207         (gst_base_transform_prepare_output_buffer):
3208         Don't allow negative sizes when allocating new buffers.
3209         Fixes bug #461253.
3210
3211 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3212
3213         Patch by: Sjoerd Simons <sjoerd at luon net>
3214
3215         * gst/gstbus.c: (gst_bus_source_dispatch):
3216           Don't print a warning if the queue is empty when we try to pop
3217           here. That could happen if another thread or callback set the
3218           bus to flushing between the source's check/prepare and the
3219           dispatch being called (#531538).
3220
3221 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3222
3223         * plugins/elements/gstmultiqueue.c:
3224           Small docs fix.
3225         
3226 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3227
3228         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3229         Add unit test for deserializing uint64s and check some really large
3230         numbers in the int64 test.
3231
3232 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3233
3234         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3235         (print_interfaces), (print_element_properties_info),
3236         (print_signal_info):
3237         Use "%s" as format string instead of printing strings directly.
3238
3239 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3240
3241         * gst/gstclock.c: (gst_clock_set_calibration):
3242         Make some checks actually useful.
3243
3244         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3245         Remove some unused code. Unsigned integers tend to be >= 0.
3246
3247 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3248
3249         * gst/gstminiobject.c: (gst_value_get_mini_object):
3250           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3251           function was not in the unscheduled 0.10.19 release.
3252
3253 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3254
3255         * gst/gstregistry.c: (gst_registry_scan_path_level):
3256           Only print one log message per non-plugin file.
3257
3258 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3259
3260         * gst/gstinfo.c: (gst_debug_log_default):
3261           Fix alignment of debug log columns on 64-bit.
3262
3263 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3264
3265         * docs/libs/Makefile.am:
3266         * docs/libs/gstreamer-libs-sections.txt:
3267           Ignore private controller headers for docs.
3268
3269 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         * libs/gst/controller/gstcontrollerprivate.h:
3272         * libs/gst/controller/gsthelper.c:
3273         * libs/gst/controller/gstinterpolation.c:
3274         * libs/gst/controller/gstinterpolationcontrolsource.c:
3275         (gst_interpolation_control_source_set_interpolation_mode):
3276         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3277         * libs/gst/controller/lib.c:
3278         Move some private declarations into private headers.
3279
3280 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3281
3282         * gst/gstdebugutils.c: (debug_dump_element_pad):
3283         Remove some code that is unused after Stefan's refactoring and uses
3284         uninitialized variables now, resulting in a compiler warning.
3285
3286 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3287
3288         * gst/gstregistry.c: (gst_registry_scan_path_level):
3289           Run g_str_has_suffix() only on the file name, not the
3290           entire file path.
3291
3292 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3293
3294         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3295           Since we're not called only from the chain function any longer,
3296           we can't assume that there's always data in the queue, so move
3297           the is_full check to the beginning of the loop (otherwise we'd
3298           hit the assert when changing the limit properties while the
3299           queue is empty or not running yet).
3300           Also, only set a discont if items were actually removed from
3301           the queue.
3302
3303         * tests/check/elements/queue.c: (test_leaky_downstream):
3304           Test case for the above.
3305
3306 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3307
3308         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3309
3310         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3311         (gst_queue_chain), (queue_capacity_change),
3312         (gst_queue_set_property):
3313         When changing thr max capacity of a leaky queue, immediatly drop buffers
3314         instead of waiting for a push on the sinkpad. Fixes #530637.
3315
3316 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3317
3318         * gst/gstdebugutils.c:
3319           Refactor code and fix handling of ghostpads and their proxypads.
3320
3321 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3322
3323         * docs/gst/gstreamer-sections.txt:
3324         * gst/gstevent.c: (gst_event_has_name):
3325         * gst/gstevent.h:
3326         * tests/check/gst/gstevent.c: (GST_START_TEST):
3327         Add method to conveniently check the name of a custom event with
3328         gst_event_has_name().
3329         Reformat the event docs so that related methods are put together instead
3330         of the default alphabetical sort.
3331         Update unit test with new method.
3332         API: GstEvent::gst_event_has_name()
3333
3334 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3335
3336         * libs/gst/check/Makefile.am:
3337           Don't add an explicit link to libgstreamer-0.10.la; it's already
3338           included in GST_OBJ_LIBS.
3339
3340 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3341
3342         * gst/gst.c:
3343         Register GstClock type from a type-safe context. Fixes bug #530317.
3344
3345 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3346
3347         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3348         * tools/gst-run.c:
3349           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3350
3351 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3352
3353         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3354         (gst_bin_dispose):
3355         Use the GLib stuff to create a private structure.
3356         Add some locking around some dispose methods to make them a little
3357         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3358
3359 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3360
3361         * libs/gst/base/gstbasesink.h:
3362         * libs/gst/base/gstbasesrc.h:
3363         * libs/gst/base/gstbasetransform.h:
3364         * libs/gst/base/gstcollectpads.h:
3365           Fix doc typos and unify caps a bit.
3366
3367 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3368
3369         * tools/gst-launch.1.in:
3370           Forgot to also add the envvar docs here.
3371
3372 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * gst/gst.c: (init_post), (gst_deinit):
3375         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3376           (test_concurrent_create), (gst_pipeline_suite):
3377           Ref some more classes in gst_init() to work around thread-safety
3378           issues in pre-2.16 GLibs, and add basic unit test.
3379
3380 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3381
3382         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3383         (gst_base_sink_send_event):
3384         Rearrange the latency query code. We always want to do the upstream
3385         query, even if we are not live so that the upstream elements can get the
3386         latency results too. If we fail doing the query and we are live, we
3387         return TRUE afterwards.
3388
3389 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3390
3391         patch by: Jason Zhao <e3423c@motorola.com>
3392
3393         * docs/gst/running.xml:
3394         * gst/gst.c:
3395           Enable/disable scan_and_update_registry() based on commandline switch
3396           or environment variable. Fixes #520468.
3397           
3398         * ChangeLog:
3399           Fix typo in my previous commit.
3400
3401 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * gst/gstregistrybinary.c:
3404           Add a warning if we hit unhandled factories when saving.
3405           More debug logging detail, but move to LOG category.
3406
3407 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * gst/gstregistry.c:
3410           Tell the *truth* when improving the documentation.
3411
3412 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3413
3414         * gst/gstelementfactory.c: (gst_element_factory_make):
3415         Unref the factory after it was used the last time, not before.
3416
3417         * gst/gstindexfactory.c: (gst_index_factory_make):
3418         Improve debugging a bit and don't leak a ref to the index factory with
3419         each call.
3420
3421 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3422
3423         * gst/gstregistry.c:
3424           Improve the documentation.
3425
3426 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3427
3428         * gst/gstsegment.c:
3429           The glib macro seems to be borked. Use g_slice_copy directly and cast
3430           in the hope that this fixes the warning on 64bit.
3431
3432 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3433
3434         * gst/gstsegment.c:
3435           Document the new function. Use g_slice_dup() (no need for
3436           gst_segment_init()).    
3437
3438 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3439
3440         * docs/gst/gstreamer-sections.txt:
3441           Move GParamSepc macros to standart section.
3442   
3443         * gst/gstbin.c:
3444           Dn't document _get_type - its in private section in docs anyway and
3445           this doc-blob was incomplete.
3446
3447         * gst/gstclock.h:
3448           Fix wrong symbol names in docs.
3449
3450         * gst/gstmacros.h:
3451           Add once doc sentence.
3452
3453         * tests/check/gst/.cvsignore:
3454           Ignore more.
3455
3456 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3457
3458         * docs/gst/Makefile.am:
3459           And remove those libs here.
3460
3461 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         * docs/libs/Makefile.am:
3464           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3465
3466 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3467
3468         Patch by: Olivier Crete <tester at tester dot ca>
3469
3470         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3471         Add the min-threshold to the min latency if possible. Fixes #529148.
3472
3473 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * docs/gst/gstreamer.types.in:
3476           Stupid editor, I removed that line as it should go in yet.
3477
3478 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3479
3480         * docs/gst/gstreamer.types.in:
3481         * docs/libs/gstreamer-libs.types:
3482           Remove library types fro core docs and have them in libs docs.
3483           Reformat and cleanup. Add comment for miniobject types.
3484
3485 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3486
3487         * gst/gsturi.c: (gst_uri_get_protocol):
3488           Fix leak: g_strdown operates on the string in place, while
3489           g_ascii_strdown() returns a newly-allocated string.
3490
3491 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3492
3493         * tools/gst-inspect.c: (print_uri_handler_info),
3494         (print_element_info):
3495         Print the URI protocols and the URI type supported by the element.
3496
3497 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3498
3499         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3500         Use g_value_take_string() instead of the deprecated
3501         g_value_set_string_take_ownership().
3502
3503 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3504
3505         * gst/gstregistrybinary.c: (_gst_crc32):
3506         Return the old CRC instead of 0 if we give a NULL buffer
3507         or a buffer with a length of 0.
3508
3509 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3510
3511         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3512         (gst_uri_get_protocol), (gst_uri_has_protocol),
3513         (gst_uri_construct), (gst_uri_handler_set_uri):
3514         A valid URI scheme can also include '+', '-' and '.' additional
3515         to alphanumeric characters as per RFC 3986 Section 3.1.
3516
3517         Handle URI schemes case insensitive in all places and convert
3518         to lower-case when constructing an URI or setting an URI with
3519         the GstURIHandler interface. Fixes bug #528868.
3520         All elements can still assume (as before) that they will
3521         get passed URIs with a lower-case URI scheme by the GstURIHandler
3522         interface.
3523
3524 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3525
3526         * gst/gstcaps.c: (gst_static_caps_get):
3527         * gst/gstclock.c: (gst_clock_entry_new):
3528           Don't use g_atomic_set_int where it's not needed.
3529
3530 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3531
3532         * gst/gstvalue.c: (gst_value_deserialize_caps):
3533         * gst/parse/grammar.y:
3534         Fix 2 caps leaks.
3535
3536 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3537
3538         * gst/gstutils.c: (gst_atomic_int_set):
3539         Use g_atomic_int_set() here too instead of assignment +
3540         g_atomic_int_get().
3541
3542 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3543         
3544         * gst/gstutils.c:
3545         * gst/gstutils.h:
3546         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3547         now that we depend on new enough GLib.
3548
3549         * gst/gstcaps.c: (gst_static_caps_get):
3550         * gst/gstclock.c: (gst_clock_entry_new):
3551         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3552         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3553         (gst_debug_category_set_threshold):
3554         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3555         (gst_base_sink_set_qos_enabled):
3556         * libs/gst/net/gstnettimeprovider.c:
3557         (gst_net_time_provider_set_property):
3558         Use g_atomic_int_set() instead of gst_atomic_int_set().
3559
3560 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3561
3562         * gst/gstquery.c:
3563           Also use G_GINT64_CONSTANT for the queries.
3564
3565 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3566
3567         * gst/gstmessage.c:
3568           Use G_GINT64_CONSTANT in varargs function.
3569
3570 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3571
3572         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3573         Initialize the registry magic with zeroes.
3574
3575 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3576
3577         * gst/gstregistrybinary.c: (_gst_crc32),
3578         (gst_registry_binary_write),
3579         (gst_registry_binary_initialize_magic),
3580         (gst_registry_binary_write_cache),
3581         (gst_registry_binary_check_magic),
3582         (gst_registry_binary_read_cache):
3583         * gst/gstregistrybinary.h:
3584         Add crc32 checksum to the binary registry file and check this before
3585         accepting a registry file.
3586
3587         Also free the data list when writing to the registry file fails.
3588
3589 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3590
3591         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3592         (gst_registry_binary_load_feature),
3593         (gst_registry_binary_load_plugin):
3594         If an element supports the Uri interface, returns a valid pointer
3595         to the supported URI protocols but this pointer contains nothing
3596         don't try to save that as it will corrupt the registry.
3597
3598         Don't unref the plugin if we added it to the registry already but
3599         fail to load a feature as gst_registry_add_plugin() takes ownership
3600         of the plugin.
3601
3602         Improve debugging a bit.
3603
3604 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3605
3606         * gst/gsttaglist.h:
3607           Clarify some tag item docs after discussion on irc.
3608
3609 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3610
3611         * docs/gst/gstreamer-docs.sgml:
3612           Remove commented out plugins (they have their own docs). Update
3613           comments.
3614
3615 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * docs/gst/gstreamer-docs.sgml:
3618         * docs/gst/gstreamer-sections.txt:
3619         * gst/gstparamspecs.c:
3620         * gst/gstparamspecs.h:
3621           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3622           docs to own section.
3623
3624         * gst/gstvalue.c:
3625           This now only documents GValue.
3626           
3627         * docs/libs/gstreamer-libs-sections.txt:
3628         * libs/gst/controller/gstcontroller.h:
3629           Remove GST_PARAM_CONTROLLABLE.
3630
3631 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3632
3633         * docs/README:
3634           Correct file path. Tell about how to use -overrides.txt.
3635         * docs/design/draft-tagreading.txt:
3636           Small design update.
3637
3638 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3639
3640         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3641         (gst_registry_binary_load_plugin):
3642         Fix a typo in a debug message and revert change from yesterday as
3643         gst_registry_add_plugin() will only fail if something is really wrong
3644         already and we can't survive it anyway.
3645
3646 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3647
3648         * gst/gst.c: (init_post), (gst_deinit):
3649           Pre-register GstGError GType from a thread-safe context
3650           (fixes #527967); unref enum type classes in deinit.
3651
3652 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3653
3654         Patch by: Rene Stadler <mail at renestadler de>
3655
3656         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3657           Merging an empty list with another list in KEEP_ALL mode should
3658           yield an empty list as result and not the second list (#512578).
3659
3660         * tests/check/gst/gsttagsetter.c:
3661           Add unit test for tag merge modes and the aforementioned bug.
3662
3663 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3664
3665         Patch by: Rene Stadler <mail at renestadler de>
3666
3667         * gst/gsttaglist.h:
3668           Fix description to match the order in the table (#512577).
3669   
3670 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3671
3672         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3673
3674         * libs/gst/net/gstnettimepacket.h:
3675         * docs/libs/gstreamer-libs-sections.txt:
3676           Define socklen_t as int if it's not defined yet. Fixes compilation
3677           with MSVC6 and other versions where socklen_t is not defined in
3678           the windows headers (#518022).
3679
3680 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3681
3682         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3683         If gst_registry_add_plugin() fails our reference to the plugin is
3684         invalid so don't try to use it anymore and instead error out.
3685
3686 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3687
3688         * tools/gst-xmlinspect.c: (print_element_info), (main):
3689           De-cruft a bit. If no argument is specified, print all elements in
3690           XML syntax rather than a freestyle list of elements like gst-inspect.
3691           Also, don't print XML header chunk unless we actually have something
3692           to print (ie. don't print it before an error message); print error
3693           message to stderr not stdout. Remove support for printing plugin
3694           info (it would just output something freestyle along the lines of
3695           gst-inspect so far), which fixes #514507. Also add license header.
3696
3697 2008-04-11  Julien Moutte  <julien@fluendo.com>
3698
3699         Mac OS X love...
3700         * configure.ac: Merge platform specific defines, introduce a new
3701         define on OS X to remember that forking when updating registry is
3702         unsafe.
3703         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3704         module.
3705         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3706         is defined.
3707         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3708         condition that leads to absolutely no plugins being registered on
3709         OS X.
3710
3711 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3712
3713         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3714
3715         * gst/gstutils.c: (gst_pad_add_data_probe),
3716           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3717           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3718           (gst_pad_add_buffer_probe_full):
3719         * gst/gstutils.h:
3720         * docs/gst/gstreamer-sections.txt:
3721         * win32/common/libgstreamer.def:
3722           Add gst_pad_add_*_probe_full() functions with a notify callback that
3723           lets the caller free the data it passes to the probe functions. This
3724           is useful for bindings such as gst-python or gstreamermm (#526814).
3725           API: gst_pad_add_data_probe_full
3726           API: gst_pad_add_buffer_probe_full
3727           API: gst_pad_add_event_probe_full
3728
3729         * tests/check/gst/gstutils.c:
3730           Add minimal unit test to make sure freeing the data actually works
3731           as expected.
3732
3733         * tests/benchmarks/.cvsignore:
3734           Random cvsignore addendum.
3735
3736 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3739           (GST_DEBUG_BIN_TO_DOT_FILE):
3740           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3741           to it in the docs (since these are macros the types of the arguments
3742           won't be shown in the docs otherwise).
3743
3744 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3745
3746         * gst/gstpad.c:
3747           Do not abort on out of memory for pad_alloc_buffer.
3748
3749 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * libs/gst/check/gstcheck.c:
3752           Remove blank line between symbol name ad parameters to fix gtkdoc
3753           warning.
3754
3755 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3756
3757         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3758
3759         * docs/gst/gstreamer-sections.txt:
3760         * gst/gstsegment.c:
3761         * gst/gstsegment.h:
3762         * win32/common/libgstreamer.def:
3763           Expose gst_segment_copy() to make things easier for the c++ bindings.
3764           Fixes #518932.
3765           API: gst_segment_copy()
3766
3767 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         * gst/gst.c: (gst_init_get_option_group), (init_post):
3770           Fix const position; ref GType classes for enum types to work
3771           around thread-safety issues in GLib versions < 2.16.
3772
3773 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3774
3775         * docs/design/part-buffering.txt:
3776         Fix some typos and set the estimated total for push mode to -1.
3777
3778         * gst/gstquery.c: (gst_query_new_buffering):
3779         Set buffering-left to 0 as we're not buffering by default.
3780
3781         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3782         Implement BUFFERING query.
3783
3784 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3785
3786         Based on patch by: Milosz Derezynski <internalerror gmail com>
3787
3788         * gst/gsterror.c: (_gst_stream_errors_init):
3789         * gst/gsterror.h:
3790           Add two new error codes for encrypted content. Fixes #524659.
3791           API: GST_STREAM_ERROR_DECRYPT
3792           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3793
3794 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3795
3796         * gst/gstquery.h:
3797           Fix typo.
3798
3799         * win32/common/libgstreamer.def:
3800           Add new functions.
3801
3802 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3803
3804         * plugins/elements/gstidentity.c: (gst_identity_event),
3805         (gst_identity_start):
3806         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3807         event after processing some data. Fixes bug #526042.
3808
3809 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3810
3811         * docs/gst/gstreamer-sections.txt:
3812         * gst/gstquery.c: (gst_query_parse_latency),
3813         (gst_query_set_buffering_percent),
3814         (gst_query_parse_buffering_percent),
3815         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3816         * gst/gstquery.h:
3817         Rename _avail -> _range
3818         API: gst_query_set_buffering_range
3819         API: gst_query_parse_buffering_range
3820
3821 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3822
3823         * docs/design/part-buffering.txt:
3824         * gst/gstquark.c:
3825         * gst/gstquark.h:
3826         * gst/gstquery.c: (gst_query_parse_latency),
3827         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3828         (gst_query_parse_buffering_percent):
3829         * gst/gstquery.h:
3830         Add busy field and quark for the buffering query so that the app can
3831         only use the query to see if buffering is in progress.
3832
3833 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3834
3835         * docs/gst/gstreamer-sections.txt:
3836         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3837         (gst_message_parse_buffering_stats):
3838         * gst/gstmessage.h:
3839         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3840         (gst_query_parse_latency), (gst_query_new_buffering),
3841         (gst_query_set_buffering_percent),
3842         (gst_query_parse_buffering_percent),
3843         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3844         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3845         * gst/gstquery.h:
3846         Reorder the message docs and headers for clarity.
3847         Add aditional buffering stats API for messages.
3848         Add buffering query.
3849         Convert some leftover queries to use GstQuark.
3850         API: gst_message_set_buffering_stats
3851         API: gst_message_parse_buffering_stats
3852         API: GST_QUERY_BUFFERING
3853         API: GstBufferingMode
3854         API: gst_query_new_buffering
3855         API: gst_query_set_buffering_percent
3856         API: gst_query_parse_buffering_percent
3857         API: gst_query_set_buffering_stats
3858         API: gst_query_parse_buffering_stats
3859
3860 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3861
3862         * gst/gstmessage.c: (gst_message_new_error),
3863         (gst_message_new_warning), (gst_message_new_info),
3864         (gst_message_new_buffering), (gst_message_new_state_changed),
3865         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3866         (gst_message_new_new_clock), (gst_message_new_segment_start),
3867         (gst_message_new_segment_done), (gst_message_new_duration),
3868         (gst_message_new_async_start), (gst_message_parse_buffering),
3869         (gst_message_parse_state_changed),
3870         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3871         (gst_message_parse_new_clock), (gst_message_parse_error),
3872         (gst_message_parse_warning), (gst_message_parse_info),
3873         (gst_message_parse_segment_start),
3874         (gst_message_parse_segment_done), (gst_message_parse_duration),
3875         (gst_message_parse_async_start):
3876         Use GstQuark for messages.
3877
3878 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3879
3880         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3881         * gst/gstquark.h:
3882         Add some more quarks needed for messages and queries.
3883
3884 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3885
3886         * docs/design/part-buffering.txt:
3887         Remove the "none" buffering mode, STREAM is a good default.
3888         Move estimated-time to the avail query, that's when it will be needed.
3889         Other small typo fixes and updates.
3890
3891 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3892
3893         * gst/gstindex.c: (gst_index_resolver_get_type):
3894           Don't put descriptions into the nick field of a GEnumValue: it's not
3895           meant for that and some language bindings rely on the nick field to
3896           construct constants and the like. Fixes #526705.
3897
3898 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3899
3900         * NEWS:
3901         * RELEASE:
3902         * gstreamer.doap:
3903           Merge other changes from 0.10.19 release branch.
3904
3905 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3906
3907         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3908
3909         * configure.ac:
3910         Actually build dlls when cross-compiling with mingw32.
3911         Fixes bug #526247.
3912
3913 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3914
3915         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3916
3917         * gst/gstpoll.c:
3918         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3919
3920 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3921
3922         * docs/design/draft-latency.txt:
3923         Fix typo.
3924
3925         * docs/design/part-buffering.txt:
3926         Update design docs with more buffering ideas.
3927
3928 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3929
3930         * configure.ac:
3931           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3932
3933 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3934
3935         * configure.ac:
3936           Revert part that belongs to the preset patch.
3937
3938 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3939
3940         * configure.ac:
3941           Add qoutes to the define. Fixes # 525961.
3942
3943 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3944
3945         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3946         (gst_file_index_load), (gst_file_index_add_id),
3947         (gst_file_index_get_assoc_entry):
3948         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3949         (gst_mem_index_free_id), (gst_mem_index_add_id),
3950         (gst_mem_index_index_format):
3951         Use GSlice when possible.
3952
3953 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3954
3955         * libs/gst/controller/gstinterpolationcontrolsource.c:
3956         (gst_control_point_free),
3957         (gst_interpolation_control_source_set_internal):
3958         Use GSlice for allocating the control points.
3959
3960 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3961
3962         * plugins/elements/gsttypefindelement.c:
3963         (gst_type_find_element_class_init),
3964         (gst_type_find_element_set_property),
3965         (gst_type_find_element_get_property),
3966         (gst_type_find_element_activate):
3967         * plugins/elements/gsttypefindelement.h:
3968         Cleanup properties.
3969         Fix pad leak when peer query fails.
3970         We can still typefind when the peer returns -1.
3971         Add property to force caps and bypass typefinding. This will be used in
3972         uridecodebin.
3973         API::force-caps
3974
3975 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3976
3977         * configure.ac:
3978         Require GLib 2.12.
3979
3980         * gst/glib-compat-private.h:
3981         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3982         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3983         Unconditionally use GSlice for allocation.
3984
3985         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3986         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3987         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3988         (gst_structure_free):
3989         Use GSlice for allocation.
3990
3991 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3992
3993         * gst/parse/Makefile.am:
3994         * gst/parse/grammar.tab.pre.c:
3995         * gst/parse/grammar.tab.pre.h:
3996         * gst/parse/lex._gst_parse_yy.pre.c:
3997         Require a new enough flex and bison and remove the parser hacks to use
3998         a pre-regenerated version.
3999
4000 2008-04-01  Julien Moutte  <julien@fluendo.com>
4001
4002         patch by: Jason Zhao <E3423C@motorola.com>
4003
4004         * configure.ac: Add a configure switch to disable option parsing
4005         in gst_init.
4006         Fixes #522882.
4007
4008 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4009
4010         * configure.ac:
4011         * gst/gstregistry.c:
4012           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4013           and handle this case.
4014
4015         * gst/gst.c:
4016           Add a comment here describing, why we stat each plugin and not try to
4017           be smart.
4018
4019 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4020
4021         * libs/gst/base/gstbasetransform.c:
4022         (gst_base_transform_prepare_output_buffer):
4023         Also unset the GAP flag on buffers if we're working inplace but
4024         the element is not GAP-aware.
4025
4026         Mark a comment as FIXME 0.11.
4027
4028 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4029
4030         * gst/gst.c:
4031           Fix type in log message and add one to ease seeing how long registry
4032           cache verification takes.
4033
4034         * gst/gstregistry.c:
4035           Only test plugin filenames against G_MODULE_SUFFIX.
4036
4037 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4038
4039         * gst/gstdebugutils.c:
4040           Improve handling ghost/proxy pads.
4041
4042 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4043
4044         * docs/gst/gstreamer-sections.txt:
4045         * gst/gstpad.c:
4046         * gst/gstpad.h:
4047           Expose macro to docs and fix link to it.
4048
4049 2008-03-27  Michael Smith <msmith@fluendo.com>
4050
4051         * libs/gst/dataprotocol/dataprotocol.c:
4052         (gst_dp_packet_from_event_1_0):
4053           When calculating GDP body CRC, use the correct pointer. 
4054           Fixes part of #522401.
4055
4056 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4057
4058         Patch by: Mark Nauwelaerts <manauw at skynet be>
4059
4060         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4061         (gst_identity_init), (gst_identity_prepare_output_buffer):
4062         Identity is not always a passthrough element, it can modify the buffer
4063         timestamps when it has a datarate and operates in single-segment mode.
4064         We therefore make it an in_place filter with a custom buffer prepare
4065         function that conditionally makes the input buffer metadata writable
4066         when needed.  Fixes #523985.
4067
4068 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4069
4070         Patch by: Mark Nauwelaerts <manauw at skynet be>
4071
4072         * gst/gstclock.h:
4073         * libs/gst/base/gstbasesrc.h:
4074         * libs/gst/base/gstbasetransform.c:
4075         * libs/gst/check/gstcheck.c:
4076         Small documentation fixes. Fixes #523978.
4077
4078 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4079
4080         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4081         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4082         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4083
4084 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4085
4086         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4087         (single_queue_underrun_cb):
4088         When trying to make room in the queue, bump the max allowed buffers
4089         bigger than the current amount of buffers in the queue. this fixes some
4090         nasty deadlocks in multiqueue when dynamically changing the limits of
4091         the queue.
4092
4093 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4094
4095         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4096
4097         * gst/gstcaps.c: (gst_caps_set_simple),
4098         (gst_caps_set_simple_valist), (gst_caps_intersect):
4099         * gst/gstcaps.h:
4100         Constify the field gchar * params in set_simple and friends.
4101         Fixes #522326.
4102
4103 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4104
4105         * gst/gstvalue.c: (gst_value_transform_object_string):
4106         Transform a GstObject to a more meaningfull string that includes the
4107         object type in addition to its name.
4108
4109 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4110
4111         * ChangeLog:
4112           ChangeLog surgery to add bugnumber to commit.
4113
4114 2008-03-23  Rene Stadler  <mail@renestadler.de>
4115
4116         * libs/gst/base/gstbasetransform.c:
4117         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4118
4119 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4120
4121         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4122         Rename constant everywhere and don't forget one occurence.
4123
4124 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4125
4126         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4127         Align memory to the pointer size even if the architecture allows
4128         unaligned memory access. Unaligned memory access usually comes with
4129         performance penality.
4130
4131 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4132
4133         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4134         (gst_registry_binary_check_magic),
4135         (gst_registry_binary_load_pad_template),
4136         (gst_registry_binary_load_feature),
4137         (gst_registry_binary_load_plugin):
4138         Align memory to the pointer size instead of always 32 bit. Fixes
4139         unaligned memory accesses on ia64 and friends.
4140
4141         * gst/gstregistrybinary.h:
4142         Bump binary registry format version for this as it changes the
4143         format on those architectures that don't have unaligned access
4144         and 64 bit pointers.
4145
4146 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4147
4148         * docs/pwg/advanced-dparams.xml:
4149         * docs/pwg/building-props.xml:
4150         * docs/pwg/other-source.xml:
4151         * gst/glib-compat.h:
4152         * gst/gstbin.c: (gst_bin_class_init):
4153         * gst/gstclock.c: (gst_clock_class_init):
4154         * gst/gstindex.c: (gst_index_class_init):
4155         * gst/gstobject.c: (gst_object_class_init):
4156         * gst/gstpad.c: (gst_pad_class_init):
4157         * gst/gstpipeline.c: (gst_pipeline_class_init):
4158         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4159         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4160         * libs/gst/base/gstbasetransform.c:
4161         (gst_base_transform_class_init):
4162         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4163         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4164         (_gst_check_fault_handler_sighandler),
4165         (_gst_check_fault_handler_setup), (gst_check_init):
4166         * libs/gst/controller/gstcontroller.c:
4167         (_gst_controller_class_init):
4168         * libs/gst/controller/gstlfocontrolsource.c:
4169         (gst_lfo_control_source_class_init):
4170         * libs/gst/net/gstnetclientclock.c:
4171         (gst_net_client_clock_class_init):
4172         * libs/gst/net/gstnettimeprovider.c:
4173         (gst_net_time_provider_class_init):
4174         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4175         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4176         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4177         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4178         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4179         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4180         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4181         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4182         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4183         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4184         * plugins/elements/gsttee.c: (gst_tee_class_init):
4185         * plugins/elements/gsttypefindelement.c:
4186         (gst_type_find_element_class_init):
4187         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4188         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4189         use it everywhere for GParamSpecs that use static strings (i.e. all).
4190         This gives us less memory usage, fewer allocations and thus less
4191         memory defragmentation. Fixes bug #523806.
4192
4193 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4194
4195         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4196         (gst_param_spec_mini_object):
4197         * gst/gstminiobject.h:
4198         * win32/common/libgstreamer.def:
4199         * docs/gst/gstreamer-sections.txt:
4200         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4201         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4202         GstParamSpecMiniObject into a public header for this.
4203
4204         This make GstMiniObject a bit more consistent with GObject and makes
4205         it possible to extend the param specs.
4206
4207         gst_value_dup_mini_object is mainly useful for set_property methods.
4208
4209         Fixes bug #523798.
4210
4211         * tools/gst-inspect.c: (print_element_properties_info):
4212         Print something useful for GstMiniObject properties and not just
4213         "unknown type".
4214
4215 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4216
4217         * docs/gst/gstreamer-sections.txt:
4218         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4219         (gst_registry_binary_check_magic):
4220         * gst/gstregistrybinary.h:
4221         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4222         and add it to the (private part) of the docs to fix the build.
4223
4224 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4225
4226         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4227         (gst_registry_binary_check_magic),
4228         (gst_registry_binary_read_cache):
4229         * gst/gstregistrybinary.h:
4230         Don't use GST_MAJORMINOR for the binary registry version. Instead
4231         hardcode a value that must be changed whenever the format changes
4232         in an incompatible way.
4233         Also don't GST_ERROR when there is a version mismatch, just
4234         regenerate the registry silently.
4235
4236 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4237
4238         * configure.ac:
4239         Back to development - 0.10.18.1
4240
4241 === release 0.10.18 ===
4242
4243 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4244
4245         * configure.ac:
4246           releasing 0.10.18, "So far away"
4247
4248 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4249
4250         * configure.ac:
4251         * win32/common/config.h:
4252         0.10.17.4 pre-release
4253
4254 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4255
4256         Patch by: Ole André Vadla Ravnås
4257             <ole dot andre dot ravnas at tandberg dot com>
4258
4259         * docs/gst/gstreamer-sections.txt:
4260         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4261         (gst_poll_update_winsock_event_mask),
4262         (gst_poll_prepare_winsock_active_sets),
4263         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4264         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4265         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4266         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4267         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4268         * gst/gstpoll.h:
4269         * win32/common/libgstreamer.def:
4270         Add new function gst_poll_fd_ignored() for improved Windows
4271         compatibility.
4272         Various minor fixes and cleanups. See #520808.
4273
4274 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4275
4276         * gst/gstindex.c: (gst_index_entry_free):
4277         * gst/gstindex.h:
4278           Don't free key strings which we don't own. Fixes crash in
4279           gst_index_entry_free() (#522741).
4280
4281         * tests/check/Makefile.am:
4282         * tests/check/gst/.cvsignore:
4283         * tests/check/gst/gstindex.c: (test_index_entries),
4284           (gst_index_suite), (gst_index):
4285           Add unit test for the above.
4286
4287 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4288
4289         * win32/common/libgstreamer.def:
4290         Remove symbols that were removed recently. Fixes bug #521740.
4291
4292 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4293
4294         * configure.ac:
4295         * win32/common/config.h:
4296         0.10.17.3 pre-release
4297
4298 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4299
4300         Patch by: Ole André Vadla Ravnås
4301             <ole dot andre dot ravnas at tandberg dot com>
4302
4303         * docs/gst/gstreamer-sections.txt:
4304         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4305         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4306         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4307         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4308         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4309         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4310         (gst_poll_fd_can_write), (gst_poll_wait),
4311         (gst_poll_set_controllable), (gst_poll_restart),
4312         (gst_poll_set_flushing):
4313         * gst/gstpoll.h:
4314         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4315         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4316         (gst_net_time_provider_new):
4317         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4318         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4319         * tests/benchmarks/gstpollstress.c: (main):
4320         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4321         Remove GstPollMode from the API, it does not make sense to let the
4322         application control this.
4323         Add support for Win32.
4324         Fix the testsuite. Fixes #520671.
4325
4326 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4327
4328         Patch by: Ole André Vadla Ravnås
4329             <ole dot andre dot ravnas at tandberg dot com>
4330
4331         * gst/gstregistrybinary.c:
4332         Include io.h for write() and close() when building with MSVC. Fixes
4333         bug #520877.
4334
4335 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4336
4337         * configure.ac:
4338         * gst/gst_private.h:
4339         * gst/gstconfig.h.in:
4340         * gst/gstregistry.h:
4341         * gst/gstregistrybinary.c:
4342         * win32/common/gstconfig.h:
4343           Move registry backend API to private headers where we can. Add
4344           fixme-0.11 comments for the others. Add stubs for the xml backend when
4345           using the binary to ensure they functions exists (they should not be
4346           used though). Fixes #520756.
4347
4348 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4349
4350         * configure.ac:
4351         * win32/common/config.h:
4352         0.10.17.2 prelease
4353
4354 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4355
4356         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4357         (gst_registry_binary_read_cache):
4358         * gst/gstregistryxml.c: (gst_registry_save):
4359         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4360         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4361         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4362         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4363         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4364         Fixes #520152
4365
4366 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4367
4368         * gst/gstminiobject.c:
4369         Import gst_private.h before any other header that might include other
4370         glib headers. This fixes the build on windows using native compilers.
4371
4372 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4373
4374         * win32/common/gstconfig.h:
4375           Add here too, just for completeness.
4376
4377 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4378
4379         * configure.ac:
4380         * gst/gstconfig.h.in:
4381         * gst/gstregistry.h:
4382           Fix broken use of config.h-defined preprocessor directive in a public
4383           header file. Add a corresponding define to gstconfig.h, since we can't
4384           really remove those function declarations from the header file now
4385           (or can we? and why are they there in the first place?).
4386
4387 2008-03-03  Andy Wingo  <wingo@pobox.com>
4388
4389         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4390         the new warning.
4391
4392         * gst/gststructure.c (gst_structure_from_string): Warn if
4393         structure_from_string didn't consume the whole string, but the
4394         caller did not provide an end pointer.
4395
4396 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4397
4398         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4399
4400         * gst/gstregistryxml.c: (read_string), (load_feature):
4401           Strings allocated by libxml2 should be freed with xmlFree(), not
4402           with g_free(). Fixes issues on windows in certain contexts (#519698).
4403
4404 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4405
4406         * gst/gstinterface.c: (gst_element_implements_interface):
4407           Don't crash if the element supports the interface queried, but does
4408           not implement GstImplementsInterface. Fixes #519584.
4409
4410         * tests/check/Makefile.am:
4411         * tests/check/gst/.cvsignore:
4412         * tests/check/gst/gstinterface.c:
4413           Add unit test for the above.
4414
4415 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4416
4417         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4418         Small doc update.
4419
4420 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4421
4422         * gst/gstsegment.c: (gst_segment_set_seek),
4423         (gst_segment_to_stream_time):
4424         Improve some comment.
4425         Update variables where it makes more sense.
4426
4427 2008-02-29  Rene Stadler  <mail@renestadler.de>
4428
4429         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4430         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4431         URIHandlers implemented using language bindings.
4432
4433 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4434
4435         * gst/gstelementfactory.h:
4436         * tests/check/elements/fakesink.c:
4437         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4438         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4439         * tests/check/elements/filesink.c: (setup_filesink):
4440         * tests/check/elements/filesrc.c: (setup_filesrc):
4441         * tests/check/elements/identity.c: (setup_identity):
4442         * tests/check/elements/tee.c:
4443         * tests/check/generic/sinks.c:
4444         * tests/check/generic/states.c: (setup), (teardown):
4445         * tests/check/gst/gst.c:
4446         * tests/check/gst/gstabi.c:
4447         * tests/check/gst/gstbin.c:
4448         * tests/check/gst/gstbus.c: (pull_messages):
4449         * tests/check/gst/gstcaps.c:
4450         * tests/check/gst/gstelement.c:
4451         * tests/check/gst/gstevent.c:
4452         * tests/check/gst/gstghostpad.c:
4453         * tests/check/gst/gstiterator.c:
4454         * tests/check/gst/gstmessage.c:
4455         * tests/check/gst/gstminiobject.c: (my_foo_init):
4456         * tests/check/gst/gstobject.c: (thread_name_object),
4457         (gst_object_suite):
4458         * tests/check/gst/gstpad.c:
4459         * tests/check/gst/gstplugin.c:
4460         * tests/check/gst/gstpoll.c:
4461         * tests/check/gst/gstquery.c:
4462         * tests/check/gst/gstsegment.c:
4463         * tests/check/gst/gststructure.c:
4464         * tests/check/gst/gstsystemclock.c:
4465         * tests/check/gst/gsttask.c:
4466         * tests/check/gst/gstutils.c:
4467         * tests/check/gst/gstvalue.c:
4468         * tests/check/gst/struct_hppa.h:
4469         * tests/check/gst/struct_i386.h:
4470         * tests/check/gst/struct_ppc32.h:
4471         * tests/check/gst/struct_ppc64.h:
4472         * tests/check/gst/struct_x86_64.h:
4473         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4474         * tests/check/libs/basesrc.c:
4475         * tests/check/libs/controller.c: (GST_START_TEST):
4476         * tests/check/libs/gdp.c:
4477         * tests/check/libs/gstnetclientclock.c:
4478         * tests/check/libs/gstnettimeprovider.c:
4479         * tests/check/libs/libsabi.c:
4480         * tests/check/libs/struct_hppa.h:
4481         * tests/check/libs/struct_i386.h:
4482         * tests/check/libs/struct_ppc32.h:
4483         * tests/check/libs/struct_ppc64.h:
4484         * tests/check/libs/struct_x86_64.h:
4485         * tests/check/pipelines/cleanup.c:
4486         * tests/check/pipelines/simple-launch-lines.c:
4487         * tests/check/pipelines/stress.c:
4488         And correct even more valid sparse warnings.
4489
4490         * win32/common/libgstreamer.def:
4491         Add gst_poll_fd_init to the list of symbols.
4492
4493 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4494
4495         * gst/gstconfig.h.in:
4496         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4497         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4498         (gst_check_log_critical_func), (gst_check_drop_buffers),
4499         (gst_check_element_push_buffer_list):
4500         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4501         (gst_controller_get_type):
4502         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4503         (gst_object_get_controller), (gst_object_get_control_source):
4504         * libs/gst/controller/gstinterpolationcontrolsource.c:
4505         (gst_interpolation_control_source_new):
4506         * libs/gst/controller/gstlfocontrolsource.c:
4507         (gst_lfo_control_source_new):
4508         * libs/gst/dataprotocol/dataprotocol.c:
4509         (gst_dp_event_from_packet_0_2):
4510         * plugins/elements/gstfdsrc.c:
4511         * plugins/elements/gstmultiqueue.c:
4512         * plugins/elements/gsttee.c:
4513         * plugins/elements/gsttypefindelement.c:
4514         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4515         (gst_file_index_add_association):
4516         * plugins/indexers/gstmemindex.c:
4517         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4518         * tests/check/elements/queue.c: (setup_queue):
4519         * tests/check/gst/gstpipeline.c:
4520         * tests/check/libs/collectpads.c: (setup), (teardown),
4521         (gst_collect_pads_suite):
4522         * tests/examples/adapter/adapter_test.c:
4523         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4524         * tests/examples/xml/createxml.c:
4525         * tests/examples/xml/runxml.c:
4526         * tools/gst-inspect.c:
4527         * tools/gst-run.c:
4528         Correct all relevant warnings found by the sparse semantic code
4529         analyzer. This include marking several symbols static, using
4530         NULL instead of 0 for pointers, not using variable sized arrays
4531         on the stack, moving variable declarations to the beginning of
4532         a block and using "foo (void)" instead of "foo ()" for declarations.
4533
4534 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4535
4536         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4537         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4538         Don't reset GstPollFDs, this is not necessary at all.
4539
4540         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4541         (delayed_restart), (delayed_control):
4542         Use GST_POLL_FD_INIT.
4543
4544 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4545
4546         * gst/gstpoll.c: (gst_poll_fd_init):
4547         * gst/gstpoll.h:
4548         Added Since tags.
4549
4550         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4551         Use some more init macros.
4552
4553 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4554
4555         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4556         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4557         Use init macros and functions.
4558
4559 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4560
4561         * docs/gst/gstreamer-sections.txt:
4562         * gst/gstpoll.c: (gst_poll_fd_init):
4563         * gst/gstpoll.h:
4564         Add INIT macro and _init method for initializing the GstPollFD.
4565
4566 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4567
4568         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4569         (gst_fd_sink_update_fd):
4570         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4571         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4572         (delayed_restart), (delayed_control):
4573         Initialize some uninitialized variables as spotted by valgrind.
4574
4575 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4576
4577         * tests/benchmarks/Makefile.am:
4578         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4579         (main):
4580         Add poll stress test.
4581
4582 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4583
4584         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4585
4586         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4587         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4588         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4589         * plugins/elements/gstfdsink.h:
4590         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4591         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4592         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4593         (gst_fd_src_uri_set_uri):
4594         * plugins/elements/gstfdsrc.h:
4595         Port to GstPoll. See #505417.
4596
4597 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4598
4599         * win32/common/libgstreamer.def:
4600         Add new gst_poll_ symbols to win32 defs.
4601
4602 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4603
4604         * docs/libs/gstreamer-libs-sections.txt:
4605         * libs/gst/net/gstnetclientclock.c:
4606         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4607         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4608         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4609         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4610         * libs/gst/net/gstnetclientclock.h:
4611         * libs/gst/net/gstnettimeprovider.c:
4612         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4613         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4614         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4615         (gst_net_time_provider_new):
4616         * libs/gst/net/gstnettimeprovider.h:
4617         Use a private stuct to not break ABI.
4618
4619 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4620
4621         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4622
4623         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4624         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4625         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4626         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4627         * libs/gst/net/gstnetclientclock.h:
4628         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4629         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4630         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4631         (gst_net_time_provider_new):
4632         * libs/gst/net/gstnettimeprovider.h:
4633         Massive code removal and cleanups because of GstPoll.
4634         Fixes #505417.
4635
4636 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4637
4638         * configure.ac:
4639         Add checks for poll, ppoll and pselect.
4640
4641         * docs/gst/gstreamer-docs.sgml:
4642         * docs/gst/gstreamer-sections.txt:
4643         Add docs for GstPoll.
4644
4645         * gst/Makefile.am:
4646         * gst/gst.h:
4647         * gst/gstpoll.c: (find_index), (selectable_fds),
4648         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4649         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4650         (gst_poll_set_mode), (gst_poll_get_mode),
4651         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4652         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4653         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4654         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4655         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4656         (gst_poll_fd_can_write), (gst_poll_wait),
4657         (gst_poll_set_controllable), (gst_poll_restart),
4658         (gst_poll_set_flushing):
4659         * gst/gstpoll.h:
4660         Add generic poll abstraction. We ideally don't want to have this in core
4661         here but in glib intead...
4662         This code will be used in various network elements and ultimately for
4663         the nanosecond precision monotonic clock (that's why it's here in core).
4664         It'll allow us to implement cancelable socket operations for windows too.
4665
4666         * tests/check/Makefile.am:
4667         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4668         (delayed_stop), (delayed_restart), (delayed_flush),
4669         (delayed_control), (gst_poll_suite):
4670         Add GstPoll unit test.
4671
4672 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * gst/gstfilter.c:
4675           Improve documentation of gst_filter_run(). Fixes #518627.
4676
4677 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4678
4679         * docs/README:
4680           Add a few lines about the new 'check-inspected-versions' target.
4681
4682 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4683
4684         * tests/check/gst/gstevent.c:
4685           Add qos to the event test. Rename tcase/tsuite; is not only about
4686           custom events.
4687
4688 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4689
4690         * plugins/elements/gstqueue.c:
4691           Ensure that buffer metadata is writeable, before modifying. Spotted by
4692           Mike.
4693
4694 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * plugins/elements/gstqueue.c:
4697         * plugins/elements/gstqueue.h:
4698           When dropping buffers in leaky modes, mark next buffers we sent as
4699           DISCONT.
4700
4701 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4702
4703         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4704           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4705
4706 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4707
4708         * plugins/elements/Makefile.am:
4709         * plugins/elements/gstbufferstore.c:
4710         * plugins/elements/gstbufferstore.h:
4711         * plugins/elements/gsttypefindelement.h:
4712           Remove GstBufferStore, no idea why we were still building it.
4713           It's not used anywhere and superseded by GstAdapter.
4714
4715         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4716           (gst_file_src_create_mmap):
4717         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4718           Printf format fixes for 64-bit integers.
4719
4720 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4721
4722         * configure.ac:
4723         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4724         We're not in 0.8 times anymore.
4725
4726 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4727
4728         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4729         (gst_check_element_push_buffer_list):
4730         * libs/gst/check/gstcheck.h:
4731         Make the declaration in the header for
4732         gst_check_element_push_buffer_list match the implementation.
4733
4734         Fix up spelling, grammar and wording of the documentation in a few
4735         places, and add the Since keyword to new API functions.
4736         Use g_list_delete_link instead of g_list_remove in
4737         gst_check_drop_buffers, since it's immeasurably more efficient.
4738
4739         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4740         Use new gst_check_drop_buffers function where appropriate.
4741
4742         * win32/common/libgstbase.def:
4743         * win32/common/libgstreamer.def:
4744         Add new symbols gst_collect_pads_take_buffer, 
4745         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4746         exports
4747
4748         Changelog surgery to add API keyword to new gst_check API.
4749
4750 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4751
4752         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4753         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4754         Update pre-generated flex files with flex 2.3.34.
4755
4756 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4757
4758         * gst/gstminiobject.c:
4759           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4760           friendly to subclasses and not require them to know all internals
4761           of their parent class.
4762
4763 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4764
4765         * docs/libs/gstreamer-libs-sections.txt:
4766         * libs/gst/base/gstcollectpads.c:
4767         * libs/gst/base/gstcollectpads.h:
4768           Add sub-buffer functions to collectpads. Fixes #516187.
4769           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4770
4771 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4772
4773         * gst/gstbuffer.c:
4774           Copy selected buffer-flags when creating subbuffers.
4775           Fixes #516395.
4776
4777 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4778
4779         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4780         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4781         * gst/gstmessage.c: (gst_message_class_init),
4782         (gst_message_finalize):
4783         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4784         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4785         (gst_mmap_buffer_finalize):
4786         Properly chain up finalize functions to the parent class.
4787
4788 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4789
4790         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4791
4792         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4793         (gst_index_set_resolver_full):
4794         * gst/gstindex.h:
4795         Add new function with option to dispose of user_data in resolver.
4796         Actually call the dispose function when finalizing the object and not
4797         just when changing the resolver/filter.
4798         API: GstIndex::gst_index_set_resolver_full()
4799
4800         * docs/gst/gstreamer-sections.txt:
4801         Add new function to docs. Fixes #515469.
4802
4803 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4804
4805         * gst/gstindex.c: (gst_index_finalize):
4806         Chain up finalize to the parent class. Fixes leaking the GstObject
4807         name and other things.
4808
4809 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4810
4811         * configure.ac:
4812         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4813         pre-releases or releases.
4814
4815         * docs/faq/gst-uninstalled:
4816         Add gst-plugins-gl
4817
4818         * docs/random/release:
4819         Change one of the steps - we only upload core & base to Gnome FTP
4820
4821 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * gst/gstconfig.h.in:
4824           Add 'id' for example.
4825
4826         * gst/gstpad.c:
4827         * gst/gstutils.c:
4828         * plugins/elements/gstfdsink.c:
4829           Link to signals. Doc and comment fixes.
4830
4831 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4832
4833         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4834         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4835           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4836           unused and unimplemented; finally, it is plugin features, not
4837           plugins, that have ranks.
4838           
4839 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4840
4841         * gst/gstpluginfeature.h:
4842           Clarify GstRank range docs.
4843
4844 2008-02-05  David Schleef  <ds@schleef.org>
4845
4846         * gst/gst.c: Add a separate gst_deinitialized that prevents
4847           gst_init() from being called after gst_deinit().  Fixes #509559
4848
4849 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4850
4851         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4852         (gst_bin_class_init):
4853         * gst/gstelement.c: (gst_element_base_class_init),
4854         (gst_element_class_add_pad_template):
4855         * gst/gstpadtemplate.c: (gst_pad_template_init):
4856         * gst/gstpipeline.c: (gst_pipeline_get_type),
4857         (gst_pipeline_base_init), (gst_pipeline_class_init):
4858         * libs/gst/base/gstbasesink.c:
4859         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4860         (gst_base_src_base_init), (gst_base_src_class_init):
4861         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4862         (gst_capsfilter_class_init):
4863         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4864         (gst_fake_sink_class_init):
4865         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4866         (gst_fake_src_class_init):
4867         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4868         (gst_fd_sink_class_init):
4869         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4870         (gst_fd_src_class_init):
4871         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4872         (gst_file_sink_class_init):
4873         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4874         (gst_file_src_class_init):
4875         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4876         (gst_identity_class_init):
4877         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4878         (gst_multi_queue_class_init):
4879         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4880         (gst_queue_class_init):
4881         * plugins/elements/gsttee.c: (gst_tee_base_init),
4882         (gst_tee_class_init):
4883         * plugins/elements/gsttypefindelement.c:
4884         (gst_type_find_element_base_init),
4885         (gst_type_find_element_class_init):
4886         * tests/check/gst/gstelement.c: (gst_element_suite):
4887         Revert previous changes to the behaviour of GstPadTemplates, etc
4888         and the possiblity to call them in class_init as it breaks too
4889         many elements. Reopens bug #491501.
4890
4891         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4892         several places.
4893
4894 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4895
4896         * tools/gst-launch.c:
4897         Dump one graph per pipeline state-change and state change name
4898         (if GST_DEBUG_DUMP_DOT_DIR is set).
4899
4900 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4901
4902         * gst/gstpad.c:
4903         * tests/check/gst/gstpad.c:
4904         Be sure that we have a new copy of the caps and not
4905         reffed caps from a template
4906
4907 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4908
4909         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4910         * gst/gstpipeline.c: (gst_pipeline_get_type),
4911         (gst_pipeline_class_init):
4912         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4913         (gst_base_sink_class_init):
4914         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4915         (gst_base_src_class_init):
4916         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4917         (gst_base_transform_class_init):
4918         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4919         (gst_collect_pads_class_init):
4920         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4921         * libs/gst/net/gstnettimeprovider.c:
4922         (gst_net_time_provider_base_init),
4923         (gst_net_time_provider_class_init):
4924         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4925         (gst_capsfilter_class_init):
4926         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4927         (gst_fake_sink_class_init):
4928         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4929         (gst_fake_src_class_init):
4930         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4931         (gst_fd_sink_class_init):
4932         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4933         (gst_fd_src_class_init):
4934         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4935         (gst_file_sink_class_init):
4936         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4937         (gst_file_src_class_init):
4938         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4939         (gst_identity_class_init):
4940         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4941         (gst_multi_queue_class_init):
4942         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4943         (gst_queue_class_init):
4944         * plugins/elements/gsttee.c: (gst_tee_base_init),
4945         (gst_tee_class_init):
4946         * plugins/elements/gsttypefindelement.c:
4947         (gst_type_find_element_base_init),
4948         (gst_type_find_element_class_init):
4949         Don't use base_init where not absolutely necessary. For example it's
4950         not necessary anymore for adding pad templates or setting element
4951         details.
4952
4953         Leave empty base_init functions in several places as GST_BOILERPLATE
4954         still defines and uses them.
4955
4956 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4957
4958         * gst/gstelement.c: (gst_element_base_class_init),
4959         (gst_element_class_add_pad_template):
4960         * gst/gstpadtemplate.c:
4961         Make it possible (and recommended) to set element details and add
4962         pad templates in the class_init functions by copying the details/pad
4963         templates in GstElement's base_init.
4964
4965         Also make it possible to replace existing pad templates by adding
4966         a new one with the same name. This was done in a hackish fashion
4967         in same elements before already.
4968
4969         Don't reference pad templates that are added a second time. A
4970         new pad template has a refcount of one and is not floating anymore
4971         and to be owned by the element's class. Make this more explicit by
4972         mentioning it in the docs of gst_element_class_add_pad_template().
4973
4974         These changes are backwards compatible. Fixes bug #491501.
4975
4976         * tests/check/gst/gstelement.c:
4977         Add unit test for setting element details, adding pad templates and
4978         replacing them in a subclass.
4979
4980 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4981
4982         * tools/gst-inspect.c: (print_interfaces),
4983         (print_element_properties_info), (print_pad_info),
4984         (print_signal_info), (print_element_info):
4985         Fix a few memory leaks.
4986
4987 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4988
4989         * docs/libs/gstreamer-libs-sections.txt:
4990         * libs/gst/check/gstcheck.c:
4991         * libs/gst/check/gstcheck.h:
4992         Add more functions for unit testing: gst_check_drop_buffers,
4993         gst_check_caps_equal, gst_check_element_push_buffer_list,
4994         gst_check_element_push_buffer
4995         API: gst_check_drop_buffers
4996         API: gst_check_caps_equal
4997         API: gst_check_element_push_buffer_list
4998         API: gst_check_element_push_buffer
4999
5000 2008-02-01  Julien Moutte  <julien@fluendo.com>
5001
5002         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5003         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5004         (gst_index_finalize), (gst_index_entry_free),
5005         (gst_index_add_association): Fix memory leaks.
5006         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5007         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5008         (gst_mem_index_free_format), (gst_mem_index_free_id),
5009         (gst_mem_index_finalize): Fix memory leaks.
5010         * win32/common/config.h: Updated to CVS HEAD.
5011
5012 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5013
5014         * docs/README:
5015           Some more details about how the plugin docs works.
5016
5017         * docs/plugins/gstreamer-plugins-sections.txt:
5018           Whitespace cleanup.
5019
5020 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5021
5022         * gst/parse/grammar.tab.pre.c:
5023         * gst/parse/grammar.tab.pre.h:
5024         * gst/parse/grammar.y:
5025         * gst/parse/lex._gst_parse_yy.pre.c:
5026           Add delayed set-property. This allows to set properties on dynamicaly
5027           created objects (pads in videomxer). Fixes #509391.
5028
5029 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5030
5031         * gst/gstutils.c:
5032         Check if caps are not NULL (fix bug #510194)
5033
5034 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5035
5036         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5037         (gst_base_sink_get_position_paused):
5038         Add fixme regarding EOS in pull mode.
5039         Fix position reporting in PAUSED for negative rates.
5040
5041 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5042
5043         * gst/gstminiobject.c: (gst_mini_object_replace):
5044         When replacing a miniobject, do a quick equality check first so that we
5045         can avoid a ref/unref pair.
5046
5047 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5048
5049         * docs/design/part-synchronisation.txt:
5050         Update some docs.
5051
5052         * docs/plugins/Makefile.am:
5053         * docs/plugins/gstreamer-plugins-docs.sgml:
5054         * docs/plugins/gstreamer-plugins-sections.txt:
5055         * plugins/elements/gstmultiqueue.c:
5056         Add multiqueue to the docs.
5057
5058 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5059
5060         * configure.ac:
5061           Back to CVS
5062
5063 === release 0.10.17 ===
5064
5065 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5066
5067         * configure.ac:
5068           releasing 0.10.17, "Due Negligence"
5069
5070 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5071
5072         * gst/gstutils.c:
5073         Revert caps != NULL check temporarily for 0.10.17 release.
5074
5075 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5076
5077         * gst/gstutils.c:
5078         Check if caps are not NULL (fix bug #510194)
5079
5080 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5081
5082         * gst/gstutils.c:
5083         Fix compilation on systems that have posix timers but no
5084         monotonic clock.
5085         Fixes: #512715
5086         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5087         dot net>
5088
5089 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5090
5091         * tools/gst-inspect.c:
5092         Revert previous commit in preparation for an impromptu 0.10.17 release
5093
5094 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5095
5096         * tools/gst-inspect.c: (print_interfaces),
5097         (print_element_properties_info), (print_pad_info),
5098         (print_signal_info), (print_element_info):
5099         Fix a few memory leaks.
5100
5101 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5102
5103         * configure.ac:
5104         Back to CVS
5105
5106 === release 0.10.16 ===
5107
5108 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5109
5110         * configure.ac:
5111           releasing 0.10.16, "Special Dispensation"
5112
5113 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         * configure.ac:
5116           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5117           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5118           not fail when trying to crosscompile on OpenEmbedded (#511750).
5119
5120 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5121
5122         * docs/manuals.mak:
5123         Use $(MAKE) instead of make to fix the build if GNU make is
5124         called different. Fixes bug #510747.
5125
5126 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5127
5128         * gst/gstplugin.c: (_gst_plugin_initialize):
5129           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5130           again, which I broke two commits ago when changing the API
5131           of gst_plugin_register_static(): the g_list_foreach() in
5132           _gst_plugin_register_static still assumed the old function
5133           signature and would therefore fail (re-fixes #510187).
5134
5135         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5136           (_gst_plugin_register_static), (gst_plugin_register_static):
5137           Revert the (technically correct) change to call g_thread_init() from
5138           the pre-main() constructor. This will break programs which call
5139           g_thread_init() without an if (!g_thread_supported()) guard in their
5140           main function. We could just blame it on GLib or the application, but
5141           it's probably best to just avoid this altogether and simply not use
5142           any GLib functions here and use plain old malloc() with a simple
5143           array to store the plugins to register later when gst_init() is
5144           finally called (re-fixes #510187).
5145
5146         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5147           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5148           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5149           (GST_START_TEST), (gst_plugin_suite):
5150           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5151           works.
5152
5153 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5154
5155         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5156           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5157           This makes gtk-doc complain, but results in slightly better
5158           compiler errors. The old _gst_plugin_register_static() is
5159           still guarded, so there'll be a compiler warning about that
5160           instead. Fixes #510187 too.
5161
5162 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5163
5164         * gst/gst.c: (init_post):
5165         * gst/gstplugin.c: (_gst_plugin_register_static),
5166           (gst_plugin_register_static), (_gst_plugin_initialize):
5167         * gst/gstplugin.h: (GstPluginFilter):
5168           Change API of gst_plugin_register_static() to not take
5169           a GstPluginDesc, but rather just take all the arguments
5170           in a GstPluginDesc directly. This is more intuitive and
5171           avoids certain mistakes when porting code from
5172           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5173           Fixes #510187.
5174
5175         * tests/check/gst/gstplugin.c:
5176           Fix up for changed API.
5177
5178 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5179
5180         * docs/faq/legal.xml:
5181           Update FAQ, Totem actually has an exception these days.
5182
5183 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5184
5185         * win32/common/libgstreamer.def:
5186         Add new API declarations
5187
5188 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5189
5190         * gst/gstminiobject.c:
5191           Spelling fixes for the API docs.
5192
5193 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5194
5195         * libs/gst/base/gstbasetransform.c:
5196           Fix long property description for QoS.
5197
5198 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5199
5200         * gst/gst.c:
5201         _gst_trace_on is already provided by gsttrace.h, no need to declare
5202         it ourselves.
5203
5204         * docs/libs/gstreamer-libs-sections.txt:
5205         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5206         and remove strange tcase_add_test which is outputting a warning.
5207
5208         * libs/gst/check/gstcheck.c:
5209         * libs/gst/check/gstcheck.h:
5210         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5211         and define them in gstcheck.c instead of having every .c file whcih
5212         includes gstcheck.h be defining its own copy and relying on symbol
5213         interposing to marry them all, which doesn't work on Solaris.
5214
5215         * tests/check/elements/identity.c: (GST_START_TEST):
5216         Don't define 'buffers' locally, it comes from libgstcheck.
5217
5218         * tests/check/generic/sinks.c: (send_buffer):
5219         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5220
5221         * tests/check/gst/gststructure.c: (GST_START_TEST):
5222         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5223         * tests/check/gst/gstutils.c: (GST_START_TEST):
5224         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5225         Add a bunch of casts to make various constants fit the types
5226         they're being assigned to.
5227
5228 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5229
5230         * gst/gstchildproxy.c:
5231           Improve docs and add some ideas for making this more general-purpose.
5232
5233 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5234
5235         * gst/gst_private.h: (GST_CAT_TYPES):
5236           Add GST_CAT_TYPES, for consistency, and so that the other
5237           debug categories don't make fun of it. Spotted by Saur on IRC.
5238
5239 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5240
5241         * gst/parse/Makefile.am:
5242           Move types.h from EXTRA_DIST to noinst_HEADERS.
5243
5244 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5245
5246         * autogen.sh:
5247           Add -Wno-portability to the automake parameters to stop warnings
5248           about GNU make extensions being used. We require GNU make in almost
5249           every Makefile anyway.
5250
5251         * configure.ac:
5252           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5253           at the same time is required for per target flags.
5254
5255 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5256
5257         * gst/gstmacros.h:
5258           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5259           __GNUC__ is defined before using it.
5260
5261 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         * docs/gst/gstreamer-sections.txt:
5264         * gst/gst.c: (init_post):
5265         * gst/gstplugin.c: (_gst_plugin_register_static),
5266           (gst_plugin_register_static), (_gst_plugin_initialize),
5267           (gst_plugin_register_func):
5268         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5269           API: add gst_plugin_register_static() and deprecate
5270           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5271           (#498924).
5272           Also, in _gst_plugin_register_static(), make sure to call
5273           g_thread_init() before calling GLib functions such as
5274           g_list_append() if we're not initialised yet, since that
5275           may lead to random crashes with older GSlice/GLib versions.
5276
5277         * tests/check/gst/gstplugin.c:
5278           Adapt unit test to above changes.
5279
5280 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5281
5282         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5283         * gst/gstcaps.c: (gst_caps_to_string):
5284         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5285           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5286           Yet another gratuitous GString micro-optimisation: add a (private)
5287           function that serialises a structure appending to an existing
5288           GString, so that when we serialise caps we don't need to alloc+free
5289           a throwaway GString for each structure (each of which also entailing
5290           multiple reallocs on the way); also use g_string_sized_new() in
5291           various places with an approximate string length to avoid reallocs
5292           within GString. See #500143.
5293
5294 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5295
5296         * gst/gststructure.c: (gst_structure_id_set_value):
5297           Always check UTF-8 conformance of structure strings and not only
5298           if the debugging system is enabled; reasoning: the behaviour of
5299           the actual code shouldn't really change depending on whether the
5300           debugging system is enabled or not (#508291).
5301
5302 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5303
5304         * Makefile.am:
5305           Remove old coverage target in favour of "make lcov".
5306
5307 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5308
5309         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5310         (gst_base_src_loop):
5311         The start segment for reverse playback goes from start to last_stop.
5312
5313 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5314
5315         Patch by: Peter Kjellerstedt <pkj axis com>
5316
5317         * gst/gstclock.h:
5318         Cast the results from the timeval/spec_to_time macros to what the
5319         docs say it casts to, a GstClockTime. fixes #508175.
5320
5321 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5322
5323         * gst/gstbuffer.c:
5324         Update some comments.
5325
5326         * tools/gst-inspect.c: (print_element_properties_info):
5327         Improve printing of flags.
5328
5329 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5330
5331         * libs/gst/base/gstbasetransform.c:
5332           (gst_base_transform_transform_size):
5333           Print element name with g_warning() if there's a problem
5334           with the unit size.
5335
5336 2008-01-07  David Schleef  <ds@schleef.org>
5337
5338         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5339
5340         * libs/gst/controller/gstcontroller.h:
5341         * libs/gst/controller/gstcontrolsource.h:
5342         * libs/gst/controller/gstinterpolationcontrolsource.h:
5343         * libs/gst/controller/gstlfocontrolsource.h:
5344         * libs/gst/dataprotocol/dataprotocol.h:
5345           Fix empty prototypes.  Fixes bug #507957.
5346
5347 2008-01-07  David Schleef  <ds@schleef.org>
5348
5349         * docs/faq/dependencies.xml: Fix typo.
5350
5351 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5352
5353         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5354         (gst_base_src_loop):
5355         Don't update the last_stop position in do_seek, that's the position we
5356         did a seek to.
5357         Read backwards when we have a negative rate.
5358
5359         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5360         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5361         (filesrc_suite):
5362         Add check for reverse reading.
5363
5364 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         Patch by: Alexis Ballier <aballier at gentoo org>
5367
5368         * tests/check/gst/gstabi.c:
5369         * tests/check/gst/struct_ppc64.h:
5370         * tests/check/libs/libsabi.c:
5371         * tests/check/libs/struct_ppc64.h:
5372           Decide which header to include based on the userland ABI target
5373           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5374           for 64-bit userland (#503590).  Might need something similar for
5375           x86 too.
5376
5377 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5380           Log the reason why fopen fails in addition to the fact that it failed.
5381           
5382 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5383
5384         * gst/parse/parse.l:
5385         Use "%option never-interactive" to prevent useless calls to isatty()
5386         on every input when parsing. Also use "%option noinput" to not define
5387         the static input/yyinput functions which we don't use anyway. This
5388         removes a compiler warning with gcc 4.3 and saves some bytes in the
5389         library.
5390         
5391         * gst/parse/lex._gst_parse_yy.pre.c:
5392         Regenerated for the above change.
5393
5394 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5395
5396         * gst/gstpad.c: (fixate_value):
5397         Don't crash when trying to fixate and empty list.
5398         Fixes #506643.
5399
5400 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5401
5402         * docs/faq/gst-uninstalled:
5403         Clarify the comments to make the usage of this script and what it
5404         does easier to understand.
5405
5406 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5407
5408         * tools/gst-plot-timeline.py:
5409         Add more options to gst-plot-timeline
5410
5411 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5412
5413         * docs/design/part-synchronisation.txt:
5414         Some more info on how the stream_time in GstBaseSink is done.
5415
5416 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * tests/check/generic/sinks.c: (gst_sinks_suite):
5419           Put back the tcase_set_timeout(), apparently it's needed after
5420           all; fix it up in a way that makes things work with valgrind too.
5421
5422 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5423
5424         * gst/gstdebugutils.c:
5425           Add warning when failed to open file for writing.
5426
5427 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5428
5429         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5430
5431         * gst/gstvalue.c: (gst_value_is_fixed):
5432           Optimisation: bail out of the loop as early as possible (#500143).
5433
5434 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5435
5436         * gst/gstcaps.c: (gst_caps_to_string):
5437         * gst/gstinfo.c: (gst_debug_construct_term_color):
5438         * gst/gstparse.c: (gst_parse_launchv):
5439         * gst/gstutils.c: (gst_util_dump_mem):
5440         * gst/gstvalue.c: (gst_value_serialize_any_list),
5441           (gst_value_transform_any_list_string):
5442           Bunch of gratuitous nano-optimisations.
5443
5444 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5445
5446         * tests/check/generic/sinks.c: (async_done_func),
5447           (async_done_eos_func):
5448           Fix leak in unit test (bus sync handler must unref the message
5449           if it returns GST_BUS_DROP). Don't fiddle with the default test
5450           timeout, this is smaller than the current preconfigured value
5451           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5452           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5453
5454 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5455
5456         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5457
5458         * configure.ac:
5459         Check for stdio_ext.h for the filesink changes.
5460
5461         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5462         (gst_file_sink_class_init), (gst_file_sink_init),
5463         (gst_file_sink_dispose), (gst_file_sink_set_property),
5464         (gst_file_sink_get_property), (gst_file_sink_open_file),
5465         (gst_file_sink_close_file):
5466         * plugins/elements/gstfilesink.h:
5467         Add two properties to control the buffering mode and size.
5468         API: GstFileSink::buffer-mode
5469         API: GstFileSink::buffer-size
5470         Fixes #500150.
5471
5472 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5473
5474         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5475         Add some more docs to explain why a FIXME was wrongly added. 
5476
5477 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5478
5479         * gst/gstobject.c:
5480           Fix typo in the gst_object_{ref,unref} documentation.
5481
5482 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5483
5484         * tests/check/libs/controller.c:
5485         * tests/check/libs/typefindhelper.c:
5486         * tests/check/pipelines/parse-launch.c:
5487           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5488           going to be deprecated (see #498924).
5489
5490 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5491
5492         * gst/gsttypefind.c: (gst_type_find_register):
5493           Make gst_type_find_register work for static typefind functions,
5494           ie. allow passing plugin == NULL (prerequisite for #498924).
5495
5496         * gst/gstelementfactory.c: (gst_element_register):
5497           Small docs addition.
5498
5499 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5500
5501         * gst/gstpad.c: (gst_pad_dispose):
5502         Really unlink the peer pad instead of setting the peer pointer to NULL
5503         when we dispose the pad.
5504         This correctly calls the unlink functions and makes sure that the peer
5505         does not have a handle to invalid memory. See #504671.
5506
5507         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5508         Add testsuite for above case.
5509
5510 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5511
5512         Patch by: Peter Kjellerstedt <pkj axis com>
5513
5514         * libs/gst/check/gstcheck.h:
5515           Fix detection of the check version we're compiling against (would
5516           otherwise break if check goes v0.10.0); correctly report the
5517           name of the failed test again in case of failure, instead of
5518           just 'tf' (fixes #504499).
5519
5520 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5521
5522         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5523         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5524         (gst_base_src_loop), (gst_base_src_set_flushing),
5525         (gst_base_src_change_state):
5526         Allow sending EOS to the source to make it send out an EOS event from
5527         the streaming thread.
5528         Update docs and deprecate the old NULL/READY shutdown method.
5529
5530         * tests/check/libs/basesrc.c: (GST_START_TEST),
5531         (gst_basesrc_suite):
5532         Add unit test for controlled shutdown.
5533
5534 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5535
5536         * docs/design/part-synchronisation.txt:
5537         Small updates.
5538
5539         * gst/gstsegment.c: (gst_segment_set_seek),
5540         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5541         (gst_segment_to_running_time):
5542         The seek format can be different from the segment format when the start
5543         and stop values are not to be updated, when we only do a rate change for
5544         example.
5545
5546         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5547         (gst_segment_suite):
5548         Add a testcase for the rate-only seeks, checking that the format is
5549         correctly ignored when start and stop are not updated.
5550
5551 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5552
5553         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5554
5555         * win32/vs8/grammar.vcproj:
5556         * win32/vs8/libgstcontroller.vcproj:
5557         * win32/vs8/libgstreamer.vcproj:
5558         Fix compilation with VS8 and include some missing files.
5559
5560 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5561
5562         * gst/gsttaglist.c:
5563           Small docs addition: mention that the strings returned by
5564           gst_tag_list_get_string*() are in UTF-8 encoding.
5565
5566 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5567
5568         * Makefile.am:
5569           The check-exports stuff moved to common/win32.mak, so include that.
5570
5571 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5572
5573         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5574         (gst_base_src_perform_seek), (gst_base_src_get_range),
5575         (gst_base_src_set_playing), (gst_base_src_change_state):
5576         Make _wait_playing() not check any variables so that we can call this
5577         function from subclasses. Move the checks elsewhere similar to
5578         _wait_preroll() in basesink.
5579         Add some debugging.
5580         Only signal the LIVE cond when we are going back to PLAYING.
5581
5582 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5585           Use g_remove() and g_rename(). Check result of g_rename(), and
5586           don't leak the open file descriptor if we error out when writing.
5587
5588         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5589           Must check the return value of close() after writing out the new
5590           registry file.  Sometimes write problems such as out-of-diskspace
5591           are only reported when the file is closed and not already during
5592           the write.  This may have caused partial/broken registry files in
5593           some rare circumstances. Should fix #503675.
5594
5595 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5596
5597         * docs/gst/.cvsignore:
5598         * docs/libs/.cvsignore:
5599         * docs/plugins/.cvsignore:
5600         Ignore files generated by new common/* modifications
5601
5602 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5603
5604         * win32/common/libgstbase.def:
5605           Yes, you can also have a <TAB> if you want.
5606
5607 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * win32/common/libgstbase.def:
5610           Add new basetransform API to win export file.
5611
5612 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5613
5614         * tests/check/gst/gstbin.c:
5615           Adjust the test to the refcount change two days ago.
5616
5617 2007-12-14  David Schleef  <ds@schleef.org>
5618
5619         * docs/faq/getting.xml: Fix typo.
5620
5621 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5622
5623         * docs/libs/gstreamer-libs-sections.txt:
5624         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5625           (gst_base_transform_prepare_output_buffer),
5626           (gst_base_transform_set_gap_aware):
5627         * libs/gst/base/gstbasetransform.h:
5628           API: Add gst_base_transform_set_gap_aware() to control whether
5629           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5630           get buffers with this flag at all. Fixes #503231.
5631
5632 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5633
5634         * libs/gst/base/gstbasesink.c:
5635         * libs/gst/base/gstbasesrc.c:
5636         * libs/gst/base/gstbasetransform.c:
5637           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5638           thread. Correct log message in gstbasesrc.c.
5639
5640 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5641
5642         * gst/gstutils.c: (element_find_unconnected_pad):
5643           Fix possible compiler warning (#503417).
5644
5645 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5646
5647         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5648           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5649
5650 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5651
5652         * tools/gst-inspect.c: (print_element_properties_info):
5653           Add support for GstFraction properties.
5654
5655 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5656
5657         * Makefile.am:
5658           Add check-exports target and run it as part of 'make check'
5659           (see #499140 and #493983).
5660
5661         * gst/gst_private.h:
5662         * gst/gstelementfactory.h:
5663         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5664         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5665           (_priv_gst_in_valgrind):
5666         * gst/gstinfo.h: (GstLogFunction):
5667         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5668           (gst_type_find_register):
5669         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5670           (gst_type_find_factory_get_type):
5671         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5672           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5673           (gst_controller_new_valist), (gst_controller_new_list),
5674           (_gst_controller_dispose), (_gst_controller_class_init):
5675         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5676         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5677           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5678           (gst_object_get_controller), (gst_object_set_controller),
5679           (gst_object_suggest_next_sync), (gst_object_sync_values),
5680           (gst_object_set_control_source), (gst_object_get_control_source),
5681           (gst_object_get_value_arrays), (gst_object_get_value_array),
5682           (gst_object_get_control_rate), (gst_object_set_control_rate):
5683         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5684         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5685           Make some functions that should be static static; rename some
5686           private symbols so that they don't get exported; add some FIXME
5687           comments so we can move accidentally exported functions into
5688           our private section in 0.11.
5689
5690         * win32/common/libgstreamer.def:
5691           Add gst_utils_get_timestamp().
5692
5693 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5694
5695         * gst/gstvalue.c:
5696         * gst/gstvalue.h:
5697           Add more missing "Since:" tags to docs.
5698
5699 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5700
5701         * gst/gstutils.c:
5702           Add mising "Since:" to docs.
5703
5704 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5705
5706         * gst/gstplugin.c:
5707           Include "glib-compat-private.h" to fix the build on system with
5708           glib < 2.10. Fixes #503131.
5709
5710 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5711
5712         * gst/gstutils.c:
5713         * gst/gstutils.h:
5714           Actually its not PURE as it gets the time from elsewhere.
5715
5716 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5717
5718         * docs/gst/gstreamer-sections.txt:
5719         * gst/gstclock.h:
5720         * gst/gstdebugutils.c:
5721         * gst/gstinfo.c:
5722         * gst/gstutils.c:
5723         * gst/gstutils.h:
5724         * libs/gst/base/gstbasesink.c:
5725         * tools/gst-launch.c:
5726           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5727           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5728           Thanks Tim for spotting.
5729           API: gst_util_get_timestamp
5730
5731 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5732
5733         * configure.ac:
5734           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5735
5736 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * gst/gststructure.c: (gst_structure_validate_name),
5739           (gst_structure_new_valist), (gst_structure_parse_value),
5740           (gst_structure_from_string):
5741           Don't crash in _from_string() if the structure name is not valid
5742           (fixes #501560).  Allow structure names to start with a number
5743           again (this apparently broke the ubuntu codec installer).
5744
5745         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5746           (GST_START_TEST):
5747           Add unit test for the crash; update unit tests for new behaviour.
5748
5749 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5750
5751         * gst/gstutils.c:
5752         Clarify gst_element_get_compatible_pad() documentation.
5753         Fixes #500919.
5754
5755 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5756
5757         * tests/check/Makefile.am:
5758           Don't forget to dist {gst,libs}/struct_hppa.h.
5759
5760 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5761
5762         * libs/gst/base/gstbasesink.c:
5763           Use new API to get elapsed time.
5764
5765 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5766
5767         * gst/gstdebugutils.c:
5768         * gst/gstinfo.c:
5769           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5770
5771         * tools/gst-launch.c:
5772           Use new API to get elapsed time.
5773
5774 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5775
5776         * docs/gst/gstreamer-sections.txt:
5777         * gst/gstclock.h:
5778         * gst/gstdebugutils.c:
5779         * gst/gstinfo.c:
5780           Rename new API + ChangeLog surgery to remove old name from last entry..
5781
5782 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5783
5784         * docs/gst/gstreamer-sections.txt:
5785         * gst/gstclock.h:
5786         * gst/gstdebugutils.c:
5787         * gst/gstinfo.c:
5788           Now hide the different clock stuff behind a macro.
5789
5790 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * configure.ac:
5793         * gst/gstdebugutils.c:
5794         * gst/gstinfo.c:
5795           Apply the posix-timer check from #361155. Conditionally use the posix
5796           timer for logging. This gives better timestamp precission, less
5797           overhead and no ntp jitter.
5798
5799 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5800
5801         * gst/gstminiobject.c: (gst_mini_object_get_type),
5802         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5803         (gst_mini_object_finalize), (gst_mini_object_copy),
5804         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5805         (gst_mini_object_replace), (param_mini_object_validate),
5806         (gst_param_spec_mini_object_get_type):
5807         Some cleanup and checking against invalid function parameters.
5808
5809 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5810
5811         * docs/gst/gstreamer-sections.txt:
5812         * gst/gstclock.h:
5813         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5814         (gst_systemclock_suite):
5815         Start merging in the easy bits of #361155, the monotonic clock patch.
5816         This one adds a few handy macros with docs and a testsuite.
5817
5818 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5819
5820         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5821         Be a bit smarter when seeking, like, don't try to do a seek when it's
5822         not needed. This avoids errors when the file is not seekable.
5823         Fixes #499771.
5824
5825 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * docs/gst/gstreamer-docs.sgml:
5828         * docs/gst/gstreamer-sections.txt:
5829         * docs/gst/gstreamer.types.in:
5830         * gst/Makefile.am:
5831         * gst/gst.h:
5832         * gst/gstpreset.c:
5833         * gst/gstpreset.h:
5834         * plugins/elements/gstqueue.c:
5835           Due to popular request remove preset interface again. :-(.
5836
5837 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * tools/gst-inspect.c:
5840           Print 'default value' for enums and flags too.
5841
5842 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5843
5844         * docs/random/ensonic/profiling.txt:
5845           More ideas.
5846
5847         * gst/gstbin.c:
5848           Fix typo and give better log output.
5849
5850         * gst/gstdebugutils.c:
5851         * gst/gstdebugutils.h:
5852           More ideas, make graphs a bit smaller and fix param name in macro.
5853
5854 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * gst/gstpreset.c:
5857           Try harder to use the return value from fgets().
5858
5859 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5860
5861         * gst/gstpreset.c:
5862           For theses two fgets we handle the error below.
5863
5864 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5865
5866         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5867         Only send upstream events upstream. Fixes #498746.
5868
5869 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5870
5871         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5872
5873         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5874         (gst_identity_init), (gst_identity_transform_ip),
5875         (gst_identity_set_property), (gst_identity_get_property):
5876         * plugins/elements/gstidentity.h:
5877         Add property to disable handoff signal emission. Fixes #498694.
5878         API: GstIdentity::signal-handoffs
5879
5880 2007-11-21  Julien Moutte  <julien@fluendo.com>
5881
5882         * docs/faq/gst-uninstalled: Yet another missing library for the
5883         uninstalled script (fft)
5884
5885 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5886
5887         * docs/faq/developing.xml:
5888         Add a question about how to submit new translations.
5889
5890         * docs/random/release:
5891         Update the contact email address for the Translation Project
5892
5893         * plugins/elements/gstfdsrc.c:
5894         The parent_class for fdsrc is pushsrc, not GstElement.
5895
5896 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5897
5898         * gst/gstpreset.c:
5899           Plug a leak and fix saving.
5900
5901 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5902
5903         * docs/gst/gstreamer-sections.txt:
5904         Add new gst_preset__get_property_names() function to the docs
5905         to fix the build.
5906
5907 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * gst/gstpreset.c:
5910         * gst/gstpreset.h:
5911           Change _get_preset_names API to return a strv with copies. Add
5912           _get_property_names to allow implementations to filter and provide
5913           good default implementation.
5914
5915 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5916
5917         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5918         script (sdp).
5919
5920 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * gst/gstpreset.c:
5923           More cleanups, docs, and TODOs from comments that now slowly come in.
5924
5925 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5926
5927         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5928         search path.
5929
5930 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5931
5932         * gst/gstpreset.c:
5933           Fix bogus warning and make the property type specific code more
5934           similar.
5935
5936 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5937
5938         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5939         it build on OS X.
5940
5941 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5942
5943         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5944         (gst_bin_add_func), (gst_bin_remove_func),
5945         (gst_bin_change_state_func), (gst_bin_continue_func):
5946         Change email, cleanups add some more debug and comments.
5947         Also set bus and clock on new elements when the pipeline was in error.
5948
5949 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * gst/gstbin.c:
5952         * gst/gstdebugutils.c:
5953           Fix build with --disable-gst-debug. Fixes #497859.
5954           Spotted by Sameer Naik.
5955
5956 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5957
5958         * gst/gstevent.c:
5959           Little documentation improvment.
5960
5961         * gst/gstpreset.c:
5962           More TODO cleanups. Remove c++ comments.
5963
5964         * libs/gst/controller/gstcontroller.c:
5965           Add TODO and use quark from static string.
5966
5967         * tests/check/gst/gstmessage.c:
5968         * tests/check/gst/gststructure.c:
5969           Use quark from static string.
5970
5971 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5972
5973         * gst/gstpreset.c:
5974           Add some comments and TODOs.
5975
5976         * gst/gstpreset.h:
5977           Add padding for future changes.
5978
5979         * plugins/elements/gstqueue.c:
5980           Implement the iface.    
5981
5982 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5983
5984         * docs/gst/gstreamer-docs.sgml:
5985         * docs/gst/gstreamer-sections.txt:
5986         * docs/gst/gstreamer.types.in:
5987         * gst/Makefile.am:
5988         * gst/gst.h:
5989         * gst/gstpreset.c:
5990         * gst/gstpreset.h:
5991           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5992
5993 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5994
5995         * configure.ac:
5996
5997         Back to CVS
5998
5999 === release 0.10.15 ===
6000
6001 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6002
6003         * configure.ac:
6004           releasing 0.10.15, "October"
6005
6006 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6007
6008         * win32/vs6/libgstreamer.dsp:
6009         Convert line endings back to DOS.
6010
6011 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6012
6013         * docs/design/draft-tagreading.txt:
6014         * docs/random/ensonic/profiling.txt:
6015         Update fast tagreading draft and performance profiling ideas.
6016
6017 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6018
6019         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6020         Don't hold the object lock when unreffing a buffer because it could
6021         cause a deadlock when the finalize function wants to grab the object
6022         lock too. Fixes #495133.
6023
6024 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6025
6026         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6027         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6028         Also accumulate time correctly when doing reverse playback. Fixes
6029         #488201,
6030         When converting to running and stream time, use default values for
6031         start/stop/time/accum when comparing different formats. Fixes #494245.
6032
6033         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6034         Do running/stream time in TIME format.
6035
6036         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6037         (gst_segment_suite):
6038         2 new unit tests for segment accumulation.
6039
6040 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6041
6042         * gst/gst.c: (init_pre):
6043         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6044           (_gst_debug_bin_to_dot_file):
6045           Move getenv() back into gst_init, so everyone can live happily
6046           ever after. Make sure the symbol isn't exported though.
6047
6048 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         Patch by: Sebastien Moutte  <sebastien moutte net>
6051
6052         * win32/common/gstenumtypes.c:
6053         * win32/common/gstenumtypes.h:
6054           Update enum types.
6055
6056         * win32/vs6/libgstreamer.dsp:
6057           Update vs6 project files (#494343).
6058
6059 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6060
6061         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6062         (gst_base_src_perform_seek), (gst_base_src_default_event),
6063         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6064         (gst_base_src_activate_pull):
6065         Unify flushing code, remove some old unlock code that is no longer used.
6066         Take the streaming lock when seeking to avoid races. Fixes #492729.
6067         Added some more comments.
6068
6069 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6070
6071         * gst/gst.c: (_gst_disable_segtrap):
6072           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6073           we can use gst_segtrap_is_enabled() there now that we have that API.
6074           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6075           to do the getenv here (and export the variable).
6076
6077         * gst/gstdebugutils.c: (debug_dump_element),
6078           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6079           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6080
6081         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6082           (gst_debug_log_default):
6083           Rename _gst_info_start_time to priv_gst_info_start_time so it
6084           doesn't get exported (was never in any header).
6085
6086         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6087           (gst_plugin_loading_mutex):
6088           Make static mutex gst_plugin_loading_mutex really static (was never
6089           in any header), and use gst_segtrap_is_enabled() instead of
6090           _gst_disable_segtrap.
6091
6092         * gst/gsttrace.c: (_gst_trace_default):
6093           Make local _gst_trace_default static (was never in any header).
6094
6095 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6098
6099         * win32/common/libgstbase.def:
6100         * win32/common/libgstcontroller.def:
6101         * win32/common/libgstdataprotocol.def:
6102         * win32/common/libgstnet.def:
6103         * win32/common/libgstreamer.def:
6104           Add more missing symbols, remove some duplicates, and sort
6105           as the 'sort' command sorts it (partially fixes #493983).
6106
6107 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6108
6109         * gst/gstelement.c: (gst_element_set_state_func):
6110         Only change the state cookie if a different state was set on the
6111         element. See #492729.
6112
6113 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * gst/gstvalue.c:
6116           Remove unused and uninitialised type variables that were still
6117           exported for some reason (they were never in any header files
6118           though).
6119
6120 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6121
6122         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6123         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6124         (gst_base_sink_event), (gst_base_sink_get_position_last),
6125         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6126         (gst_base_sink_change_state):
6127         Don't try to report a 0 position when we don't know, return -1 and FALSE
6128         instead. This mostly happens when we are prerolling.
6129         Make sure we can report the right position before we post the ASYNC_DONE
6130         message so that a message handler can query position without races.
6131
6132         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6133         (async_done_handoff), (async_done_func), (send_buffer),
6134         (async_done_eos_func), (gst_sinks_suite):
6135         Add two tests for the above.
6136
6137 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6138
6139         * MAINTAINERS:
6140         Update with new email address.
6141
6142         * docs/design/part-TODO.txt:
6143         Add some more info about future pad-block and negotiation changes.
6144
6145         * docs/design/part-buffering.txt:
6146         Add some ideas about buffering reporting.
6147
6148 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6149
6150         * tests/check/gst/gstobject.c:
6151         Disable silly racy test that always fails on this combination of CPU
6152         and kernel.
6153
6154 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         Patch by: Murray Cumming  <murrayc@murrayc.com>
6157
6158         * gst/gstobject.c:
6159           Corrected the registration of the parent-set and parent-unset
6160           signals: The parameter is a GstObject, not a GObject (#493134).
6161
6162 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gst_private.h:
6165         * gst/gstbuffer.h:
6166         * gst/gstevent.h:
6167         * gst/gstformat.h:
6168         * gst/gstmessage.h:
6169         * gst/gstplugin.h:
6170         * gst/gstquery.h:
6171         * gst/gsttaglist.h:
6172         * gst/gstvalue.h:
6173           Move declaration of private _gst_foo_initialize() functions into
6174           our private header file where they should have been all along.
6175
6176 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * docs/plugins/gstreamer-plugins-sections.txt:
6179         * gst/gstdebugutils.h:
6180         * gst/gstxml.h:
6181         * plugins/elements/gstqueue.c:
6182           gtk-doc fixes; trailing-comma-in-enum fix.
6183
6184 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6185
6186         * gst/gst.c: (gst_deinit):
6187           Clean up on deinit (not the external ones though, doesn't seem to be
6188           needed for some reason).
6189
6190 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6191
6192         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6193           Remove __declspec(dllimport) for MSVC that was copied over into core
6194           from a plugin, obviously without ever having been tested (note the
6195           single underscore in _declspec in the initial commit), and that doesn't
6196           really make sense.  See #492077.
6197
6198 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6199
6200         * gst/gst.c: (init_post):
6201         * gst/gstevent.c: (_gst_event_initialize):
6202         * gst/gstquery.c: (_gst_query_initialize):
6203         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6204           g_type_class_ref() other types as well, see #349410 and #64764.
6205
6206         * gst/gstbuffer.c: (_gst_buffer_initialize):
6207         * gst/gstmessage.c: (_gst_message_initialize):
6208           Simplify existing g_type_class_ref().
6209
6210 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6211
6212         * gst/gstformat.c: (_gst_format_initialize):
6213           g_type_class_ref() our GstFormat type to make sure we avoid the
6214           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6215           bug #64764. Should fix intermittent tee unit test failures (#474823).
6216
6217 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6218
6219         * tests/check/elements/tee.c: (test_num_buffers):
6220           Simplify, simplify, simplify - or not.  Rewrite unit test
6221           not to use gst_parse_launch(); allow N sub-streams. Increasing
6222           the number of sub-streams seems to reproduce #474823 more easily.
6223
6224 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6227
6228         * gst/gsttrace.c:
6229         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6230         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6231         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6232           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6233           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6234           so use _pipe() directly (#492077).
6235
6236         * win32/common/dirent.c: (_treaddir):
6237           Add a couple of casts to make it build without warnings with MSVC.
6238
6239         * win32/common/libgstreamer.def:
6240           Add some more symbols that need to be exported.
6241
6242 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         * tests/examples/metadata/read-metadata.c: (message_loop):
6245           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6246           arriving in a second or third tag message are added to
6247           the tag list as well.
6248
6249 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6250
6251         * libs/gst/base/gstbasesrc.c:
6252           Its "Since:" and not "@Since:". And remove an superflous cast.
6253
6254 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6255
6256         * docs/libs/gstreamer-libs-sections.txt:
6257         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6258         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6259         (gst_base_sink_get_property), (gst_base_sink_render_object),
6260         (gst_base_sink_preroll_object),
6261         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6262         (gst_base_sink_change_state):
6263         * libs/gst/base/gstbasesink.h:
6264         Add a new last-buffer property that contains the last buffer used in
6265         basesink for preroll or rendering. useful for making snapshots.
6266         API: gst_base_sink_get_last_buffer()
6267         API: GstBaseSink::last-buffer
6268
6269 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * docs/gst/running.xml:
6272         * gst/gst.c:
6273         * gst/gstdebugutils.c:
6274         * gst/gstdebugutils.h:
6275         * tools/gst-launch.c:
6276           Improve bin graph dumping, by using the envvar to specify a path.
6277           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6278
6279 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * plugins/elements/gsttypefindelement.c:
6282           (gst_type_find_element_handle_event),
6283           (gst_type_find_element_activate):
6284           Post special error message if we can't determine the type of a stream
6285           because it's empty.
6286
6287 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6288
6289         * docs/gst/running.xml:
6290         * gst/gstdebugutils.c:
6291           Document new env-var. Add one log-line after dumpng a graph.
6292
6293 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6294
6295         * configure.ac:
6296           Ugly hack to put the (recently removed and non-portable, apparently)
6297           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6298           GNU ld, because without that 'make check' fails miserably on my debian
6299           stable box.  Someone with more knowledge of linker intricacies and
6300           portability issues than me fix this properly please.
6301
6302 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6303
6304         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6305         Reset last seen position after flushing so that we don't report the old
6306         position anymore.
6307
6308 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6309
6310         * gst/gstelementfactory.c: (gst_element_register):
6311         * gst/gsturi.h:
6312         Patch from Alessandro Decina adding get_type_full and
6313         get_protocols_full private vfuncs to the URIHandler interface
6314         to allow bindings to support creating URI handlers. 
6315         Partially fixes: #339279
6316         API: GstURIHandlerInterface::get_type_full
6317         API: GstURIHandlerInterface::get_protocols_full
6318
6319 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6320
6321         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6322         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6323         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6324         Make it so that pads are considered linked until a buffer is pushed
6325         and discovered otherwise. This avoids problems with decodebin2 hanging
6326         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6327         case.
6328
6329         Make sure we lock the multiqueue when updating the max-size properties.
6330         
6331         Fix a crash on Solaris in a debug statement in get_request_pad that
6332         passes a NULL string to GST_DEBUG. 
6333
6334         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6335         (run_output_order_test):
6336         Fix the test to allow the first buffer on not-linked pads to come out
6337         of sequence while multiqueue discovers that they are not-linked.
6338
6339 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6340
6341         * configure.ac:
6342         * libs/gst/check/Makefile.am:
6343         Use a custom export symbol regex for libgstcheck, as it needs
6344         to export symbols that don't match the standard GStreamer gst_*
6345         pattern, and  --export-dynamic is not portable (only works on 
6346         GNU ld)
6347
6348         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6349         (gst_check_setup_sink_pad):
6350         Make sure to pass a message parameter to the fail_* macros.
6351
6352         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6353         Fix some compiler warnings.
6354
6355 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6356
6357         * tests/check/gst/gststructure.c: (test_to_string):
6358           Disable test that checks that white spaces are not allowed
6359           in structure names or field names, since we need to
6360           support that for now for backwards compatibility reasons.
6361
6362 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * docs/gst/gstreamer-sections.txt:
6365         * gst/gsttaglist.c:
6366         * gst/gsttaglist.h:
6367           API: add GST_TAG_ARTIST_SORTNAME
6368           API: add GST_TAG_ALBUM_SORTNAME
6369           API: add GST_TAG_TITLE_SORTNAME
6370           Add tag variants for sorting (#414539).
6371
6372 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6373
6374         * gst/gststructure.c:
6375           Also allow white space for names so we don't break
6376           backwards compatibility.
6377
6378 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6379
6380         * docs/design/part-TODO.txt:
6381         * docs/design/part-segments.txt:
6382         * docs/design/part-streams.txt:
6383         Small updates.
6384
6385 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6386
6387         * docs/gst/gstreamer-sections.txt:
6388          Fixed documentation from my previous commit (added new API add
6389          gst_value_set_structure(), add gst_value_get_structure() and
6390          GST_VALUE_HOLDS_STRUCTURE).
6391
6392 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6393
6394         * gst/gstdebugutils.c:
6395           Reflow code to fix uninitialized variable warning.
6396
6397 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6398
6399         * gst/gstcaps.c: (gst_caps_to_string),
6400         (gst_caps_from_string_inplace):
6401         * gst/gststructure.c: (gst_structure_get_abbrs),
6402         (gst_structure_to_string), (gst_structure_from_string):
6403         * gst/gstvalue.c: (gst_value_set_structure),
6404         (gst_value_get_structure), (gst_value_serialize_structure),
6405         (gst_value_deserialize_structure), (_gst_value_initialize):
6406         * gst/gstvalue.h:
6407         * tests/check/gst/gststructure.c: (GST_START_TEST),
6408         (gst_structure_suite):
6409         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6410          Added GstStructure to gst_value_table and its related functions.
6411          Changed gst_structure_to_string to print ';' in the end.
6412          Changed gst_caps_to_string to not print ';' beteween its
6413          fields (structures) anymore and remove the lastes ';' from latest
6414          structure. Now it is possible to have nested structures.
6415          In addition, backward compatibilty is assured by accepting '\0' as
6416          end delimiter. Fixes: #487969.
6417          API: add gst_value_set_structure()
6418          API: add gst_value_get_structure()
6419          API: add GST_VALUE_HOLDS_STRUCTURE
6420
6421 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * gst/gstbus.c:
6424           When no GSource callback has been set up, tell developer
6425           to use a function that actually exists.
6426
6427 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6428
6429         * docs/gst/gstreamer-sections.txt:
6430         * gst/Makefile.am:
6431         * gst/gst.c:
6432         * gst/gst.h:
6433         * gst/gstdebugutils.c:
6434         * gst/gstdebugutils.h:
6435         * gst/gstinfo.c:
6436         * gst/gstinfo.h:
6437         * tools/gst-launch.c:
6438           Allow dumping pipelines as dot graphs. Fixes #456573.
6439
6440 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6441
6442         * gst/gststructure.c:
6443           Allow '+' as well, it can be part of media or mime types
6444           such as image/svg+xml.
6445
6446 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6447
6448         * docs/gst/gstreamer-sections.txt:
6449         * gst/gstbus.c:
6450         * gst/gstbus.h:
6451           API: add gst_bus_pop_filtered
6452           API: add gst_bus_timed_pop_filtered
6453           Two new functions for waiting for specific message types on the
6454           bus for a specified amount of time without iterating any main
6455           loops or main contexts.
6456
6457         * tests/check/gst/gstbus.c:
6458           Some tests for the new functions.
6459
6460 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6461
6462         * docs/libs/gstreamer-libs-sections.txt:
6463           Make gtk-doc ignore stuff it should ignore.
6464
6465 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6466
6467         * libs/gst/check/gstcheck.c:
6468         * libs/gst/check/gstcheck.h:
6469           Allow runtime selection of unit tests to run via the GST_CHECKS
6470           environment variable (test case function names, comma-separated).
6471
6472 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6473
6474         * gst/gststructure.c:
6475         * tests/check/gst/gststructure.c:
6476           Revert serialisation change and constrain structure-names after
6477           consensus on irc. Update api documentation to reflect the change.
6478
6479 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6480
6481         * gst/gststructure.c:
6482           Improve serialization and fix tests.
6483
6484         * tests/check/gst/gststructure.c:
6485           Add another test that covers why I actually did the previous structure
6486           change.
6487
6488 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6489
6490         * tools/gst-inspect.c: (print_element_info):
6491         Don't crash when inspecting an element.
6492
6493 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6494
6495         * tests/check/gst/gststructure.c:
6496           Add unit test for escaping of structure name when serialising
6497           and deserialising to/from strings.
6498
6499 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6500
6501         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6502         (gst_single_queue_new):
6503         * plugins/elements/gstqueue.c: (gst_queue_init),
6504         (gst_queue_push_one):
6505         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6506         upstream is tricked into thinking it can suggest a format downstream
6507         while downstream does not support that format. The real problem is that
6508         core calls acceptcaps when pushing a buffer with new caps, for which we
6509         do a little workaround by setting the caps on the srcpad ourselves
6510         before pushing the buffer (until this is figured out). Fixes #486758.
6511
6512 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6513
6514         * gst/gststructure.c:
6515         * gst/gstvalue.c:
6516           Add some more comments and debug output. Quote structure name to fix
6517           deserialisation of some strings.
6518
6519 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6520
6521         * gst/gstbuffer.h:
6522           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6523           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6524
6525 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6526
6527         * tools/gst-inspect.c:
6528           Save approx. 400 1 byte allocs when printing. Use API to acces element
6529           details.
6530
6531         * tools/gst-run.c:
6532           Avoid a strdup.
6533
6534         * tools/gst-xmlinspect.c:
6535           Use API to acces element details.
6536
6537 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6538
6539         * gst/gstinfo.c:
6540           Fix some spelling errors.
6541
6542 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6543
6544         * gst/gstbin.c: (bin_handle_async_done):
6545         Correctly set the next state if all of our async children commited their
6546         state. This makes sure we can actually cancel the state change in
6547         progress. Fixes a regression in Rhythmbox when seeking.
6548
6549 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6550
6551         * gst/gstbin.c:
6552           Don't shadow local variable.
6553
6554         * gst/gstinfo.c:
6555           Don't shadow global function name.
6556
6557 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6558
6559         * gst/gstelementfactory.c:
6560         * gst/gstpluginfeature.c:
6561         * gst/gstpluginfeature.h:
6562         * gst/gstregistrybinary.c:
6563         * gst/gstregistryxml.c:
6564         * gst/gsttypefind.c:
6565           Use already-interned string for the private GstPluginFeature
6566           plugin_name field.
6567
6568 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6569
6570         * docs/libs/gstreamer-libs-sections.txt:
6571           Add new API to docs; fixes the build.
6572
6573 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6574         
6575         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6576
6577         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6578         (gst_base_sink_event):
6579         * libs/gst/base/gstbasesink.h:
6580         Add function to wait for EOS, subclasses can use this to correctly wait
6581         for devices to drain before performing the EOS logic. Fixes #485343.
6582         API: gst_base_sink_wait_eos()
6583
6584 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6585
6586         * gst/gstplugin.h:
6587           Cast description string constants in GST_PLUGIN_DEFINE macros
6588           to a (gchar*) to make C++ code using these macros compile
6589           without warning with g++-4.2 (see #462737).  Even if slightly
6590           ugly, this seems preferable to putting the description strings
6591           into the GLib quark table or making the structure member a
6592           const gchar * and doing casts in core code that allocs and
6593           frees these strings, or requiring a cast in the C++ code.
6594
6595 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6596
6597         * gst/gstinfo.h:
6598           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6599           to print the entire class/function signature into the log
6600           file for C++ code.  This only affects C++ code, for C code
6601           everything remains the same.
6602
6603 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6604
6605         * gst/gstbin.c: (remove_from_queue):
6606         Work around a problem with pipelines containing (semi)loops until a
6607         proper, more complicated solution is ready. See #475455.
6608
6609 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         * gst/gstplugin.c:
6612         * gst/gstplugin.h:
6613         * gst/gstregistrybinary.c:
6614         * gst/gstregistryxml.c:
6615           Put more strings into the GLib quark table. No need to keep
6616           a hundred-something copies of identical version strings,
6617           license strings, package name strings and package origin
6618           strings around. 
6619
6620 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6621
6622         * docs/manual/advanced-dataaccess.xml:
6623           Don't imply that it's okay to unconditionally change
6624           buffer data or buffer metadata in a pad probe callback,
6625           and a bunch of other comments. Fixes #430031.
6626
6627 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6628
6629         * win32/common/gstenumtypes.c:
6630         * win32/common/gstenumtypes.h:
6631         * win32/common/gstversion.h:
6632           Update generated files.
6633
6634 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         * docs/manual/advanced-autoplugging.xml:
6637           Prefix section with broken code with a warning (see #342432).
6638
6639 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6640
6641         * docs/manual/appendix-integration.xml:
6642         * docs/manual/basics-init.xml:
6643           Call g_thread_init() before g_option_context_new() to
6644           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6645
6646 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6647
6648         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6649         (gst_base_sink_queue_object_unlocked),
6650         (gst_base_sink_queue_object), (gst_base_sink_event),
6651         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6652         When we received EOS and are waiting for when to post the EOS message,
6653         our state is prerolled and we should not return ASYNC.
6654         Reorganize some code paths to implement this behavior.
6655
6656         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6657         (gst_sinks_suite):
6658         Add unit test to verify above EOS fix.
6659
6660 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6661
6662         * plugins/elements/gsttypefindelement.c:
6663         (gst_type_find_element_have_type), (gst_type_find_element_init),
6664         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6665         Move detecting the input caps of the sinkpad to the setcaps function.
6666         This allows us to update the output caps when we receive new input caps
6667         instead of always using the first detected caps.
6668
6669 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6670
6671         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6672         (gst_base_sink_get_position):
6673         Don't try to preroll non-async elements after a flush.
6674         Subtract latency form clock times when reporting position.
6675
6676 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6677
6678         * gst/gstpad.c: (gst_pad_pause_task):
6679         * gst/gstutils.c:
6680         Small comment and documentation update.
6681
6682 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6683
6684         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6685         (gst_base_src_set_live), (gst_base_src_is_live),
6686         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6687         (gst_base_src_default_event), (gst_base_src_wait),
6688         (gst_base_src_do_sync), (gst_base_src_get_range),
6689         (gst_base_src_pad_get_range), (gst_base_src_loop),
6690         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6691         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6692         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6693         (gst_base_src_change_state):
6694         Rework the locking of basesrc in a similar fashion to basesink. We
6695         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6696         us to handle live sources and semi live ones much better.
6697         Simplify flushing.
6698         Fix unlocking when seeking, shutting down and pausing in live sources.
6699
6700 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6701
6702         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6703         Fix compilation again.
6704
6705 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6706
6707         * gst/gstelement.c:
6708           Use meaningful categories for the logs to clean the default one.
6709
6710 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * tests/check/pipelines/cleanup.c:
6713           Print message name and not just number.
6714
6715 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6716
6717         * docs/design/draft-tagreading.txt:
6718           Add some more thoughts.
6719
6720 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6721
6722         * tests/check/pipelines/simple-launch-lines.c:
6723           Print message name and not just number.
6724
6725 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6726
6727         * libs/gst/base/gsttypefindhelper.c:
6728           Speedup typefinding. This is work in progress (see #459862).
6729
6730 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6731
6732         * gst/gstplugin.c:
6733           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6734           Spotted by Josep Torra Valles <josep@fluendo.com>.
6735
6736 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6737
6738         * gst/gstclock.h:
6739           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6740           field has moved to GstObject.
6741
6742 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6743
6744         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6745         (gst_base_src_get_range), (gst_base_src_change_state):
6746         Call unlock for live sources so that they can't get stuck in _create and
6747         produce a buffer before they are set back to PLAYING.
6748
6749 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6750
6751         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6752         (gst_queue_locked_dequeue):
6753         Comment the segment-related code... in the PROPER function.
6754         See #482147 and my commit from yesterday.
6755
6756 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6757
6758         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6759         Also initialize the counter that calculates the first timestamp on a
6760         buffer correctly for non-live sources.
6761
6762 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6763
6764         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6765         Disable code that's breaking the current-time-level reporting.
6766         See #482147
6767
6768 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6769
6770         * docs/gst/gstreamer-sections.txt:
6771         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6772         as they shouldn't show up. Fixes the docs build.
6773
6774 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6775         
6776         * gst/gstinfo.h:
6777         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6778         Define M_PI which is used in files which are including gstinfo.h. 
6779         VS6 includes doesn't define it.
6780         * win32/common/libgstbase.def:
6781         * win32/common/libgstcontroller.def:
6782         * win32/common/libgstreamer.def:
6783         Add new exported functions and variables.
6784         * win32/vs6/libgstcontroller.dsp:
6785         * win32/vs6/libgstreamer.dsp:
6786         Update the list of files to build.
6787         
6788 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6789
6790         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6791
6792         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6793         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6794         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6795         Improve debugging. Fixes #480858.
6796
6797 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6798
6799         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6800
6801         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6802         First patch of code cleanups, use the macros and right arguments in the
6803         macros to signal and lock the queue. See #480858.
6804
6805 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6806
6807         * gst/gstbus.c: (poll_func):
6808         Improve debugging when dealing with _poll().
6809
6810 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6811
6812         * gst/gstregistryxml.c:
6813           Fix memory leak I introduced a few days ago.
6814
6815 2007-09-26  Michael Smith <msmith@fluendo.com>
6816
6817         * gst/gstbuffer.c: (gst_buffer_finalize):
6818           Make it once again possible to free GstBuffers in the default
6819           build.
6820           The poisoning scribbles on parts of the miniobject we need in
6821           order to free it.
6822           Fixes #480341
6823
6824 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * docs/gst/gstreamer-sections.txt:
6827         * gst/gsttaglist.c:
6828         * gst/gsttaglist.h:
6829         API: add GST_TAG_COMPOSER, fixes #459809.
6830
6831 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6832
6833         * gst/gstplugin.c:
6834         * gst/gstplugin.h:
6835         Add the 3-clause BSD license and the MIT/X11 license to the license
6836         list. Fixes #479784.
6837
6838 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6839
6840         * docs/faq/getting.xml:
6841           Add Q+A about different GStreamer versions (#364056).
6842
6843 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6844
6845         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6846         (gst_base_sink_event), (gst_base_sink_change_state):
6847         Return correct gboolean from query function.
6848
6849 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6850
6851         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6852         (gst_base_sink_event), (gst_base_sink_query),
6853         (gst_base_sink_change_state):
6854         Simplify latency query.
6855         When not synchronizing, we can report latency without querying the peer
6856         element.
6857
6858 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6859
6860         * gst/gstobject.h:
6861         * gst/gstvalue.c:
6862         Fix small typos in the docs.
6863
6864 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6865
6866         * docs/design/draft-latency.txt:
6867         * docs/design/draft-push-pull.txt:
6868         * docs/design/draft-tagreading.txt:
6869         * docs/design/part-MT-refcounting.txt:
6870         * docs/design/part-activation.txt:
6871         * docs/design/part-block.txt:
6872         * docs/design/part-element-source.txt:
6873         * docs/design/part-events.txt:
6874         * docs/design/part-gstbin.txt:
6875         * docs/design/part-gstelement.txt:
6876         * docs/design/part-gstobject.txt:
6877         * docs/design/part-gstpipeline.txt:
6878         * docs/design/part-messages.txt:
6879         * docs/design/part-preroll.txt:
6880         * docs/design/part-push-pull.txt:
6881         * docs/design/part-qos.txt:
6882         * docs/design/part-query.txt:
6883         * docs/design/part-scheduling.txt:
6884         * docs/design/part-seeking.txt:
6885         * docs/design/part-segments.txt:
6886         * docs/design/part-states.txt:
6887         Documentation updates and typo fixes.
6888
6889 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6890
6891         * plugins/elements/gstfakesink.c:
6892           Add some debug text to error message to indicate that
6893           we errored out on request.
6894
6895         * tools/gst-launch.c:
6896           When the state change to PLAYING fails, check for an
6897           error message on the bus and print it.
6898
6899 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6900
6901         translated by: Jorge González González <aloriel@gmail.com>
6902
6903         * po/LINGUAS:
6904         * po/es.po:
6905           Added Spanish translation.
6906
6907 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6908
6909         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6910         Fix printf arguments.
6911
6912 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6913
6914         * tests/check/generic/states.c:
6915           Improved state change unit test.
6916
6917 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6918
6919         * gst/gstbin.h:
6920           Move priv to the right place.
6921
6922         * gst/gstsystemclock.c:
6923           Add FIXME: and improve log.
6924
6925         * tests/check/Makefile.am:
6926         * tests/examples/manual/Makefile.am:
6927           Work with all types of registries.
6928
6929 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6930
6931         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6932         Don't unref the event after pushing it. Fixes #478401.
6933
6934 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6935
6936         * .cvsignore:
6937         * tests/examples/manual/.cvsignore:
6938           Ignore registries in any format.
6939
6940 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6941
6942         * gst/glib-compat-private.h:
6943           Add compatibility macro for g_intern_string() for
6944           GLib-2.8 (any reason we can't just bump the
6945           requirement to at least 2.10?)
6946
6947         * gst/gstpadtemplate.h:
6948         * gst/gstelementfactory.c:
6949         * gst/gstregistryxml.c:
6950         * gst/gstregistrybinary.c:
6951           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6952           up the internal code accordingly.  This shouldn't be a problem, since
6953           there is no reason external code could ever assume the string in such
6954           a structure is dynamically allocated unless it did that itself;  the
6955           use of g_strdup() is private to element factories.  The new code also
6956           saves some memory by putting pad template name strings into the GLib
6957           quark table instead of allocating them dynamically.
6958           Declaring this field constant fixes warnings with g++-4.2 when using
6959           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6960
6961 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6962
6963         * gst/gstelementfactory.c:
6964           Release static caps. Fixes #475723.
6965
6966 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6967
6968         * gst/gstinfo.c:
6969         * gst/gstinfo.h:
6970           Make some internal API take const gchar * instead of just
6971           gchar * to avoid compiler warnings with g++-4.2.2 when
6972           passing string constants (partially fixes #478092).
6973
6974 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6975
6976         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6977         A latency query fails when one of the sinks fail.
6978
6979         * gst/gstelement.c: (gst_element_set_base_time):
6980         Improve debugging.
6981
6982 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6983
6984         * gst/gstbin.c: (gst_bin_continue_func):
6985         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6987         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6988
6989         Fix minor compilation warnings shown with Forte.
6990
6991 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6992
6993         * plugins/elements/gstqueue.c: (apply_buffer),
6994         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6995         Measure queue level based on the diff between head and tail timestamps
6996         even when pushing the first buffer.
6997
6998 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6999
7000         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7001         (gst_base_sink_event), (gst_base_sink_change_state):
7002         Sinks that don't preroll can always be queried for the latency.
7003         Don't post ASYNC start when we are not async.
7004
7005 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7006
7007         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7008         (gst_queue_handle_sink_event), (gst_queue_chain),
7009         (gst_queue_push_one), (gst_queue_handle_src_query),
7010         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7011         * plugins/elements/gstqueue.h:
7012         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7013         push more buffers but allow pushing of EOS and NEWSEGMENT.
7014         Add some more debug info here and there. Fixes #476514.
7015
7016 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7017
7018         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7019         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7020         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7021         (gst_base_sink_set_flushing), (gst_base_sink_query),
7022         (gst_base_sink_change_state):
7023         Latency query is allowed after we are prerolled. Introduce a new flag
7024         for this and stop abusing other variables.
7025
7026 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7027
7028         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7029         Push OOB events downstream when we get them in send_event. This allows
7030         the application to insert events in the pipeline.
7031         Add some more comments.
7032
7033 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7034
7035         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7036         (do_bin_latency), (gst_bin_change_state_func):
7037         * gst/gstpipeline.c: (gst_pipeline_change_state):
7038         Move latency query from GstPipeline to GstBin so that we can also
7039         use it when async-handling is enabled on bins.
7040
7041 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7042
7043         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7044         (gst_base_src_do_sync), (gst_base_src_change_state):
7045         Update docs.
7046         Clean up the timestamping and syncing code for pseudo live sources.
7047
7048 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7049
7050         Patch by: Steve Fink  <sphink gmail com>
7051
7052         * docs/manual/appendix-checklist.xml:
7053           Mention less -R switch in the section about debug output (#474055).
7054
7055 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7056
7057         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7058         Queue can latency to the pipeline up to the configured max size in time.
7059         Report this fact in the latency query.
7060
7061 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7062
7063         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7064
7065         * libs/gst/controller/gstinterpolation.c:
7066         * libs/gst/controller/gstlfocontrolsource.c:
7067         Use gst_guint64_to_gdouble() when converting from a uint64 or
7068         GstClockTime to double to fix the build on win32. Fixes #474371.
7069
7070 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7071
7072         * gst/gstbuffer.c: (gst_buffer_finalize):
7073         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7074         When finalizing a buffer the complete struct is filled with 0xff,
7075         thus making a use of the buffer after the final unref impossible.
7076
7077 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7078
7079         * tests/check/libs/controller.c: (GST_START_TEST):
7080         Use fail_unless_equals_int(a, b) instead of
7081         fail_unless_equals (a == b) to get better output on failures.
7082
7083 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * tests/check/gst/gsturi.c:
7086           Also check for the other file URI variant on win32.
7087
7088 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7089
7090         * gst/gsturi.c: (gst_uri_get_location):
7091           If there's no hostname, we want to return 'c:/foo/bar.txt'
7092           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7093
7094         * tests/check/gst/gsturi.c:
7095           Unit test for the above and a few more things.
7096
7097 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7098
7099         * docs/design/part-live-source.txt:
7100         Add docs on how live sources should timestamp.
7101
7102         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7103         Add some more debug info.
7104         For subclasses that are live and like to sync, add aditional startup
7105         latency to sync time and timestamps so that we timstamp according to the
7106         design doc.
7107
7108 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7109
7110         * gst/gstbuffer.c:
7111           Also do a g_type_class_ref() for the subbuffer type in
7112           the init function.
7113
7114 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7115
7116         * docs/gst/gstreamer-sections.txt:
7117         * gst/gstpad.c: (gst_pad_peer_query):
7118         * gst/gstpad.h:
7119         Add function to perform a query on the peer of a pad.
7120         API: gst_pad_peer_query()
7121
7122 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * tests/check/gst/gstsystemclock.c:
7125           Cleanup the test a little (use gst-logging and not g_message). Improve
7126           test to check if a wait reached the target.
7127
7128 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7129
7130         * docs/libs/gstreamer-libs-sections.txt:
7131           Add new API to docs and fix the build.
7132
7133 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7134
7135         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7136         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7137         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7138         (gst_base_src_get_property), (gst_base_src_do_sync):
7139         * libs/gst/base/gstbasesrc.h:
7140         Add property to make the basesrc timestamp buffers based on the current
7141         running time.
7142         API: GstBaseSrc::do-timestamp
7143         API: gst_base_src_set_do_timestamp()
7144         API: gst_base_src_get_do_timestamp()
7145
7146 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7147
7148         * docs/random/release:
7149           Really make sure translations are up-to-date before
7150           a release (#465010).
7151
7152 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7153
7154         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7155         Always destroy the timer, also in error cases.
7156
7157 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * docs/manual/highlevel-xml.xml:
7160         Fix XML example code. Fixes #472714.
7161
7162 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7163
7164         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7165         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7166         (gst_base_sink_query):
7167         Protect eos and have_preroll with the OBJECT lock so we don't need to
7168         take the PREROLL lock when querying the latency. Fixes #473846.
7169
7170 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * gst/gstelement.c:
7173           Give some log-messages a category.
7174
7175 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7176
7177         * gst/gststructure.c:
7178         (gst_structure_fixate_field_nearest_fraction):
7179         Fix fraction list fixation code. Take the fraction with the smallest
7180         difference with the target instead of the first one in the list.
7181
7182         * tests/check/gst/gststructure.c: (GST_START_TEST),
7183         (gst_structure_suite):
7184         Added test to verify correct fraction list fixation behaviour.
7185
7186 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7187
7188         * win32/common/libgstreamer.def:
7189           Export gst_bus_add_signal_watch too.
7190
7191 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7192
7193         * docs/libs/gstreamer-libs-sections.txt:
7194         Add new methods to docs.
7195
7196         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7197         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7198         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7199         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7200         * libs/gst/base/gstbasesink.h:
7201         Add ts-offset property to fine-tune the synchronisation.
7202         API: GstBaseSink::ts-offset property
7203         API: gst_base_sink_set_ts_offset()
7204         API: gst_base_sink_get_ts_offset()
7205
7206 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7207
7208         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7209         (gst_base_sink_init), (gst_base_sink_set_sync),
7210         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7211         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7212         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7213         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7214         (gst_base_sink_get_property), (gst_base_sink_change_state):
7215         * libs/gst/base/gstbasesink.h:
7216         Add async property to instruct the sink never to inform the parent about
7217         ASYNC state changes, update docs.
7218         Check argument with g_return_* for the public functions.
7219         API: GstBaseSink::async property
7220         API: gst_base_sink_set_async_enabled()
7221         API: gst_base_sink_is_async_enabled()
7222
7223 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7224
7225         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7226         Improve debugging.
7227
7228         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7229         (gst_base_src_default_query), (gst_base_src_wait),
7230         (gst_base_src_do_sync), (gst_base_src_change_state):
7231         Rearrange some code so that we can add support for measuring the 
7232         startup latency.
7233
7234 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7235
7236         * docs/random/ensonic/dynlink.txt:
7237           More thoughs on this.
7238
7239         * plugins/elements/gstcapsfilter.c:
7240           Add bugzilla ticket number to FIXME comment.
7241
7242 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7243
7244         * docs/design/part-TODO.txt:
7245         * docs/design/part-block.txt:
7246         Update some docs.
7247
7248 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7249
7250         * gst/Makefile.am:
7251           Revert patch which uses $(gst_headers) instead of $^ because it
7252           breaks make dist.
7253
7254 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7255
7256         * tests/check/gst/gstbin.c: (GST_START_TEST):
7257           Fix leaks in the new unit test.
7258
7259 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7260
7261         * gst/gst.c:
7262           Don't use GST_INFO before the debug system is actually initialised
7263           (shouldn't do any harm, but won't print anything either, so we can
7264           just as well remove it).
7265
7266         * gst/gstinfo.h:
7267           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7268           compilers that don't support variadic macros (such as MSVC), should
7269           check for debug_level <= __gst_debug_min as well, since that's the
7270           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7271           inline helper functions. Should improve performance a bit, but also
7272           makes sure uses of GST_INFO et.al are ignored if the debugging
7273           system isn't initialised yet (instead of printing an assertion
7274           failure).
7275
7276 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7277
7278         patch by: David Nečas <yeti@physics.muni.cz>
7279
7280         * gst/Makefile.am:
7281           Replace some non portable makefile constructs.
7282
7283 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7284
7285         * common/gtk-doc-plugins.mak:
7286           Grrrrr. Don't remove the types file on make clean.
7287
7288 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7289
7290         * tools/gst-launch.1.in:
7291         Add colorspace to example pipeline. Fixes #458274.
7292
7293 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7294
7295         * docs/random/release:
7296           The release manager should run 'make download-po' before making a
7297           release to make sure translations are up-to-date.
7298
7299         * po/LINGUAS:
7300         * po/be.po:
7301         * po/pl.po:
7302         * po/rw.po:
7303           Add some new translations.
7304
7305 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7306
7307         * tools/gst-launch.c: (event_loop), (main):
7308         Don´t try to do any state management when a live pipeline posts
7309         buffering messages.
7310         Also make the buffering string translatable.
7311
7312 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7313
7314         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7315         (bin_handle_async_start), (gst_bin_handle_message_func):
7316         Improve debugging.
7317         When adding elements, insert messages into the bus of the newly added
7318         element and make sure the element is the source of the message. This
7319         allows the parent bin to intercept the message and do the
7320         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7321         messages to the app (which is not allowed).
7322         Update some docs.
7323
7324         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7325         Fix testsuite so that is does not work around messages that should not
7326         have been posted in the first place.
7327
7328 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7329
7330         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7331         (update_degree), (gst_bin_sort_iterator_next):
7332         Fix annoying bug in the sorted iterator where a sink that is not really
7333         a sink (when it has downstream links) screwed up the iterator.
7334
7335         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7336         Unit test to verify the fix.
7337
7338 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7339
7340         * gst/gstmessage.h:
7341         Add some more docs for the messages.
7342
7343         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7344         (gst_base_sink_query):
7345         Add some more debugging.
7346
7347         * tools/gst-launch.c: (event_loop):
7348         When interrupting, don't try to set pipeline to PAUSED twice.
7349
7350 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7351
7352         
7353         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7354         (bin_handle_async_start), (gst_bin_handle_message_func):
7355         Move ASYNC_START message posting to where it belongs, similar to
7356         async_done. 
7357         Don't post ASYNC_START when we are in error. 
7358         Post ASYNC_START when we added an async element to a bin.
7359
7360 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7361
7362         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7363         generation from vargs. Fixes #466595.
7364
7365 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7366
7367         * gst/gstbin.c: (gst_bin_element_set_state):
7368         Always change the state of a NO_PREROLL element even if it has ASYNC
7369         elements inside (in case of a bin).
7370
7371         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7372         Unit test for this case.
7373
7374 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7375
7376         * libs/gst/check/gstbufferstraw.c:
7377         * libs/gst/check/gstcheck.h:
7378         * libs/gst/controller/gstcontroller.c:
7379         * libs/gst/controller/gstcontrolsource.h:
7380         * libs/gst/controller/gstlfocontrolsource.h:
7381         * plugins/elements/gstcapsfilter.h:
7382         * plugins/elements/gstfdsink.h:
7383         * plugins/elements/gstfdsrc.h:
7384           Add more missing docs.
7385
7386 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7387
7388         * gst/gststructure.c:
7389         Add Since tag to docs.
7390
7391 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7392
7393         * docs/gst/gstreamer-sections.txt:
7394         * gst/gststructure.c: (gst_structure_get_uint):
7395         * gst/gststructure.h:
7396         Add function to get uint from a structure.
7397         API: gst_structure_get_uint()
7398
7399 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7400
7401         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7402         (gst_caps_intersect):
7403         Fix proper check for simple caps.
7404
7405 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7406
7407         * docs/gst/Makefile.am:
7408         * docs/libs/Makefile.am:
7409           Remove cruft and do some cleanups.
7410
7411         * docs/gst/gstreamer-docs.sgml:
7412         * docs/libs/gstreamer-libs-docs.sgml:
7413           Prepare for comming gtkdoc features (rebase against online docs).
7414
7415 2007-08-10  Michael Smith <msmith@fluendo.com>
7416
7417         * docs/gst/gstreamer-sections.txt:
7418           Add gst_registry_add_path to docs.
7419
7420 2007-08-10  Michael Smith <msmith@fluendo.com>
7421
7422         * gst/gstregistry.h:
7423           Add gst_registry_add_path, which was missing from this header.
7424
7425 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7426
7427         * libs/gst/controller/gstlfocontrolsource.c:
7428           Printf format fix.
7429
7430 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7431
7432         * libs/gst/base/gstbasesink.c:
7433           Don't send an async_start message during downwards state change if 
7434           target state is less than READY
7435
7436 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7437
7438         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7439
7440         * po/LINGUAS:
7441         * po/hu.po:
7442           Added Hungarian translation.
7443
7444 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7445
7446         * po/fi.po:
7447         * po/it.po:
7448         * po/nl.po:
7449         * po/sv.po:
7450         * po/uk.po:
7451           Updated translations.
7452
7453 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7454
7455         * libs/gst/controller/Makefile.am:
7456         Dist gstlfocontrolsourceprivate.h
7457
7458 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7459
7460         * docs/libs/gstreamer-libs.types:
7461         Don't register the enum type gst_lfo_waveform_get_type() in the
7462         .types file - only GObject derived types belong.
7463
7464 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7465
7466         Patch by: <arenevier at fdn dot fr>
7467
7468         * gst/gstbuffer.h:
7469         Remove comma from last element in enum to avoid compile errors when
7470         using -pendantic. Fixes #464366.
7471
7472 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7473
7474         * docs/design/part-TODO.txt:
7475         Add some more TODO items
7476
7477         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7478         Improve debugging.
7479
7480         * gst/gstcaps.c: (gst_caps_intersect):
7481         Optimize trivial intersection case between identical caps pointers.
7482
7483         * gst/gstelement.c: (gst_element_continue_state),
7484         (gst_element_set_state_func):
7485         * gst/gstpad.c:
7486         Fix spelling and grammar mistakes.
7487
7488 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7489
7490         * po/POTFILES.in:
7491         * po/POTFILES.skip:
7492           Update POTFILES. Fixes #461599.
7493
7494 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7495
7496         * gst/gst.c:
7497         Fix confusing typo in debug output.
7498
7499 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7500
7501         reviewed by: Stefan Kost <ensonic@users.sf.net>
7502
7503         * libs/gst/controller/Makefile.am:
7504         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7505         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7506         (gst_lfo_control_source_new),
7507         (gst_lfo_control_source_set_waveform),
7508         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7509         (gst_lfo_control_source_finalize),
7510         (gst_lfo_control_source_dispose),
7511         (gst_lfo_control_source_set_property),
7512         (gst_lfo_control_source_get_property),
7513         (gst_lfo_control_source_class_init):
7514         * libs/gst/controller/gstlfocontrolsource.h:
7515         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7516         API: Add GstLFOControlSource, a control source that gives values
7517         for specific timestamps based on several periodic waveforms.
7518         Fixes #459717.
7519
7520         * tests/check/libs/controller.c: (GST_START_TEST),
7521         (gst_controller_suite):
7522         * docs/libs/gstreamer-libs-docs.sgml:
7523         * docs/libs/gstreamer-libs-sections.txt:
7524         * docs/libs/gstreamer-libs.types:
7525         Add documentation and unit tests for GstLFOControlSource.
7526
7527 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7528
7529         * configure.ac:
7530         Back to CVS
7531
7532 === release 0.10.14 ===
7533
7534 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7535
7536         * configure.ac:
7537           releasing 0.10.14, "Breathing Vacuum"
7538
7539 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7540
7541         * gst/gstelement.c: (gst_element_class_set_details_simple):
7542         * gst/gstelement.h:
7543           Make strings passed to gst_element_class_set_details_simple()
7544           constant, as they should be (#462752).
7545
7546 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7547
7548         * gst/gstbin.c: (gst_bin_change_state_func),
7549         (bin_handle_async_done), (gst_bin_handle_message_func):
7550         Don't forget about the fact that some element went ASYNC even after a
7551         resync. This makes us post the ASYNC_DONE message correctly.
7552         Fixes #462558.
7553
7554 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7555
7556         * gst/gstregistry.c: (gst_registry_add_feature):
7557         When replacing an existing feature in the registry, make sure to
7558         continue holding a reference until we've replaced the name string
7559         within our feature hash table. Make sure to use g_hash_table_replace
7560         instead of g_hash_table_insert to ensure the new name string is used
7561         as a key instead of the old one that we're about to free.
7562         Fixes: #462085
7563
7564 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7565
7566         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7567         (gst_plugin_feature_set_name):
7568         Revert patch from #459466 until after the release and we can work
7569         out exactly what the problem is (if any).
7570
7571 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7572
7573         * docs/gst/gstreamer-sections.txt:
7574         * gst/gsttaglist.c:
7575         * gst/gsttaglist.h:
7576           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7577
7578 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7579
7580         * docs/libs/Makefile.am:
7581         Include our build-prefix libs and includes before the generic ones to
7582         avoid linking against the installed libs when we want the build-tree
7583         ones.
7584
7585 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7586
7587         Patch by: Steve Fink  <sphink gmail com>
7588
7589         * docs/pwg/building-testapp.xml:
7590           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7591           if people try to build or install the example from the plugin
7592           template against a GStreamer from package using the configure
7593           defaults.
7594
7595 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7596
7597         Patch by: Steve Fink  <sphink gmail com>
7598
7599         * tools/gst-inspect.1.in:
7600           Document --print-all and --print-plugin-auto-install-info command
7601           line options in man page.
7602
7603 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7604
7605         * docs/gst/gstreamer-sections.txt:
7606         Add docs for new api function.
7607
7608 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7609
7610         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7611         * gst/gstelementfactory.h:
7612         API: gst_element_factory_has_interface()
7613         Added method to check if an element factory implements a named
7614         interface.
7615
7616 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7617
7618         * configure.ac:
7619         * docs/gst/gstreamer.types.in:
7620           Another conditional doc check.
7621
7622         * gst/gstmessage.c:
7623         * gst/gstparamspecs.h:
7624         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7625         * gst/gstvalue.c:
7626         * gst/gstxml.h:
7627           API-doc fixes.
7628
7629 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7630
7631         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7632         (gst_registry_binary_load_feature),
7633         (gst_registry_binary_load_plugin),
7634         (gst_registry_binary_read_cache):
7635           Print error just once and with additional info.
7636
7637 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7638
7639         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7640         (helper_find_suggest), (helper_find_get_length),
7641         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7642         (gst_type_find_helper_for_buffer):
7643           Cleanup the typefindhelper code and add private doc comments.
7644
7645 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7646
7647         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7648         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7649         Fix capsfilter for cases where the caps set on capsfilter will provide
7650         additional information.
7651         Fixes #449197
7652
7653 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7654
7655         * gst/gsttypefindfactory.c:
7656           Fix docs that recommened wrong function to use.
7657
7658 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7659
7660         * tools/gst-inspect.c: (print_plugin_features):
7661           Also give media-type for typefinders in element output.
7662
7663 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7664
7665         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7666         (gst_registry_remove_features_for_plugin_unlocked),
7667         (gst_registry_add_feature), (gst_registry_remove_feature),
7668         (gst_registry_lookup_feature_locked):
7669         * gst/gstregistry.h:
7670           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7671           Fixes #459501.
7672
7673 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7674
7675         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7676         (gst_plugin_feature_set_name):
7677           Avoid double memory usage for pluginfeature names. Fixes #459466.
7678
7679 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7680
7681         * gst/gstpad.h:
7682           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7683           driving the pipeline may need to explicitly check for NOT_LINKED as
7684           well, since IS_FATAL doesn't cover that.
7685
7686 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7687
7688         * docs/pwg/advanced-types.xml:
7689           Fix typo and duplicate entry in video formats list.
7690
7691 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7692
7693         * libs/gst/controller/gstinterpolation.c:
7694         Also round to the nearest int when using cubic interpolation.
7695
7696 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7697
7698         * libs/gst/controller/gstinterpolation.c:
7699         When linearly interpolating integer types, round to the nearest int
7700         by adding 0.5. Don't do it for float/double types.
7701         Fixes the failing controller test on my machine, which is somehow
7702         rounding differently than on the buildbots.
7703
7704 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7705
7706         * tools/gst-plot-timeline.py:
7707           Better log parsing (categories can have -). Adjust text vs. lines, so
7708           that they span the same y-range.        
7709
7710 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7711
7712         * docs/random/ensonic/audiobaseclasses.txt:
7713         * docs/random/ensonic/dynlink.txt:
7714         * docs/random/ensonic/profiling.txt:
7715           Save my thoughts.
7716
7717         * docs/random/moving-plugins:
7718           Add note to use g_assert type macros.
7719
7720 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7721
7722         * configure.ac:
7723         * libs/gst/check/Makefile.am:
7724           Add libm check as we use in for plugins.
7725
7726 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7727
7728         * gst/gstbin.c: (gst_bin_continue_func):
7729         Check that the state_cookie hasn't changed since the continue_func
7730         was scheduled. Avoids problems where the state changes back to
7731         something it shouldn't be because it was changed in the meantime.
7732
7733 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7734
7735         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7736         (gst_registry_binary_save_string),
7737         (gst_registry_binary_save_pad_template),
7738         (gst_registry_binary_save_feature),
7739         (gst_registry_binary_save_plugin),
7740         (gst_registry_binary_load_feature),
7741         (gst_registry_binary_load_plugin),
7742         (gst_registry_binary_read_cache):
7743           Fix memory leak. Be less verbose in the log.
7744
7745 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7746
7747         * tests/check/elements/.cvsignore:
7748         Add file to cvsignore as commanded.
7749
7750 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7751
7752         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7753         (mq_dummypad_event), (run_output_order_test):
7754         Use a GStaticMutex to protect all cases where libcheck
7755         fail_if/fail_unless macros might be called from multiple threads
7756         simultaneously to avoid errors like:
7757           "check_pack.c:107: :-1081725400:Bad message type arg"
7758
7759 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7760
7761         * tests/check/pipelines/stress.c: (GST_START_TEST):
7762         Make sure we set the pipeline back to the NULL state before
7763         dropping our final reference.
7764
7765 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7766
7767         * tests/check/elements/tee.c: (GST_START_TEST):
7768         Make the tee stress-test a little less stressful so it doesn't just
7769         time out on slow-machines, and remove a small race when it's starting 
7770         up by adding a get_state() call.
7771
7772 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7773
7774         * gst/gst.c:
7775           Avoid reading registry twice on startup. Fixes #457322.
7776
7777 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7778
7779         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7780         * pkgconfig/gstreamer-check.pc.in:
7781         Substitute the CFLAGS for libcheck into our .pc file too so that
7782         dependent modules will pick it up properly if libcheck is installed
7783         into some other prefix.
7784
7785 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7786
7787         * configure.ac:
7788         Revert the pkg-config check for libcheck, since it pulls in the
7789         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7790         a proper solution, either from the check project, or something else.
7791
7792 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7793
7794         * configure.ac:
7795           Use pkg-config to locate check.
7796
7797 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * gst/gsttaglist.c:
7800           Fix doc syntax.
7801
7802         * gst/gstutils.c:
7803         * gst/gstutils.h:
7804           Add deprecation guards.
7805
7806         * libs/gst/base/gstcollectpads.h:
7807           Don't document object (this is implicitly private).
7808
7809 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7810
7811         * gst/gststructure.c: (gst_structure_parse_value):
7812           When deserialising foo=bar without a type cast, check if it's a
7813           boolean before falling back to a string type, otherwise things like
7814           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7815           because the filtercaps end up having a signed=(string)true field,
7816           which causes problems later when intersection caps.
7817
7818         * tests/check/gst/gststructure.c: (GST_START_TEST):
7819           Add a unit test for this.
7820
7821 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7822
7823         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7824
7825         * libs/gst/controller/Makefile.am:
7826         * libs/gst/controller/gstcontroller.c:
7827         (gst_controlled_property_add_interpolation_control_source),
7828         (gst_controlled_property_new), (gst_controlled_property_free),
7829         (gst_controller_find_controlled_property),
7830         (gst_controller_new_valist), (gst_controller_new_list),
7831         (gst_controller_new), (gst_controller_remove_properties_valist),
7832         (gst_controller_remove_properties_list),
7833         (gst_controller_remove_properties),
7834         (gst_controller_set_property_disabled),
7835         (gst_controller_set_disabled), (gst_controller_set_control_source),
7836         (gst_controller_get_control_source), (gst_controller_get),
7837         (gst_controller_sync_values), (gst_controller_get_value_array),
7838         (_gst_controller_dispose), (gst_controller_get_type),
7839         (gst_controlled_property_set_interpolation_mode),
7840         (gst_controller_set), (gst_controller_set_from_list),
7841         (gst_controller_unset), (gst_controller_unset_all),
7842         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7843         * libs/gst/controller/gstcontroller.h:
7844         * libs/gst/controller/gstcontrollerprivate.h:
7845         * libs/gst/controller/gstcontrolsource.c:
7846         (gst_control_source_class_init), (gst_control_source_init),
7847         (gst_control_source_get_value),
7848         (gst_control_source_get_value_array), (gst_control_source_bind):
7849         * libs/gst/controller/gstcontrolsource.h:
7850         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7851         (gst_object_get_control_source):
7852         * libs/gst/controller/gstinterpolation.c:
7853         (gst_interpolation_control_source_find_control_point_node),
7854         (gst_interpolation_control_source_get_first_value),
7855         (_interpolate_none_get), (interpolate_none_get),
7856         (interpolate_none_get_boolean_value_array),
7857         (interpolate_none_get_enum_value_array),
7858         (interpolate_none_get_string_value_array),
7859         (_interpolate_trigger_get), (interpolate_trigger_get),
7860         (interpolate_trigger_get_boolean_value_array),
7861         (interpolate_trigger_get_enum_value_array),
7862         (interpolate_trigger_get_string_value_array):
7863         * libs/gst/controller/gstinterpolationcontrolsource.c:
7864         (gst_control_point_free), (gst_interpolation_control_source_reset),
7865         (gst_interpolation_control_source_new),
7866         (gst_interpolation_control_source_set_interpolation_mode),
7867         (gst_interpolation_control_source_bind),
7868         (gst_control_point_compare), (gst_control_point_find),
7869         (gst_interpolation_control_source_set_internal),
7870         (gst_interpolation_control_source_set),
7871         (gst_interpolation_control_source_set_from_list),
7872         (gst_interpolation_control_source_unset),
7873         (gst_interpolation_control_source_unset_all),
7874         (gst_interpolation_control_source_get_all),
7875         (gst_interpolation_control_source_get_count),
7876         (gst_interpolation_control_source_init),
7877         (gst_interpolation_control_source_finalize),
7878         (gst_interpolation_control_source_dispose),
7879         (gst_interpolation_control_source_class_init):
7880         * libs/gst/controller/gstinterpolationcontrolsource.h:
7881         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7882         API: Refactor GstController into the core controller which can take
7883         a GstControlSource for providing actual values for timestamps.
7884         Implement a interpolation control source and use this for backward
7885         compatibility, deprecate a bunch of functions that are now handled
7886         by GstControlSource or GstInterpolationControlSource.
7887         Make it possible to disable the controller completely or only for
7888         specific properties. Fixes #450711.
7889         * docs/libs/gstreamer-libs-docs.sgml:
7890         * docs/libs/gstreamer-libs-sections.txt:
7891         * docs/libs/gstreamer-libs.types:
7892         Add new functions and classes to the docs.
7893         * tests/check/libs/controller.c: (GST_START_TEST),
7894         (gst_controller_suite):
7895         * tests/examples/controller/audio-example.c: (main):
7896         Port unit test and example to the new API and add some new
7897         unit tests.
7898
7899 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7900
7901         Patch by: Mark Nauwelaerts <manauw at skynet be>
7902
7903         * plugins/elements/gstmultiqueue.c:
7904         (gst_multi_queue_get_internal_links), (apply_buffer),
7905         (single_queue_overrun_cb), (gst_single_queue_new):
7906         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7907         the pipeline layout can be tracked correctly. Fixes #453732.
7908
7909 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7910
7911         * docs/gst/Makefile.am:
7912         * docs/libs/Makefile.am:
7913         * docs/plugins/Makefile.am:
7914           Simplify --extra-dir as gtkdoc scans recursively.
7915
7916 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7917
7918         * tools/gst-launch.c: (main):
7919         When we got an error, there is no point in waiting for preroll when
7920         shutting down.
7921
7922 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7923
7924         * plugins/elements/gsttee.c: (gst_tee_base_init),
7925         (gst_tee_request_new_pad), (gst_tee_release_pad),
7926         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7927         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7928         (gst_tee_chain):
7929         Be a lot smarter when deciding what srcpad to use for proxying
7930         the buffer_alloc. Also handle pad added/removed when doing so.
7931         Fixes #357959.
7932         Keep track of what pads we already pushed on in case we have pads
7933         added/removed while pushing. Fixes #374639 
7934
7935         * tests/check/Makefile.am:
7936         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7937         (tee_suite):
7938         Added unit test for pad resync.
7939
7940 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7941
7942         * po/nl.po:
7943         * po/sv.po:
7944           Updated translations.
7945
7946 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7947
7948         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7949
7950         * po/LINGUAS:
7951         * po/fi.po:
7952           Added new Finnish translation.
7953
7954 2007-06-28  Wim Taymans  <wim@fluendo.com>
7955
7956         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7957         (single_queue_overrun_cb):
7958         When figuring out when a queue is filled, use our internal time estimate
7959         based on segments, just like check_full does.
7960
7961 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7962
7963         * gst/gstminiobject.c: (gst_mini_object_get_type):
7964           Remove 3 do-nothing methods.
7965
7966 2007-06-27  Wim Taymans  <wim@fluendo.com>
7967
7968         Patch by: Tim Angus <tim at ngus dot net>
7969
7970         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7971         (gst_capsfilter_set_property):
7972         Take a reference instead of a copy when setting "caps".
7973         Fix documentation to clarify this behaviour. Fixes #449414.
7974
7975 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7976
7977         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7978         * gst/gstplugin.c: (gst_plugin_init):
7979         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7980         * gst/gstquery.c: (gst_query_get_type):
7981         * gst/gstregistry.c: (gst_registry_init):
7982         * gst/gsturi.c: (gst_uri_handler_base_init):
7983           Remove empty instance_init() functions to save relocs and lessen the
7984           noise. Remove some of the function prototypes that are doubled by
7985           G_DEFINE_TYPE.
7986           
7987 2007-06-27  Wim Taymans  <wim@fluendo.com>
7988
7989         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7990
7991         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7992         Add peer and direction in the XML serialisation of ghostpads.
7993         Fixes #449226.
7994
7995 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7996
7997         * configure.ac:
7998           Preserve useful information, thanks Tim.
7999
8000 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8001
8002         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8003         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8004         (gst_single_queue_push_one), (gst_multi_queue_loop),
8005         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8006         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8007         (compute_high_id), (gst_single_queue_new):
8008         * plugins/elements/gstmultiqueue.h:
8009         Take the multiqueue lock when updating the fill level so we don't get
8010         confused. 
8011
8012         After applying a buffer or event on the src pad segment, make sure to
8013         call gst_data_queue_limits_changed() to get the data queue to unblock
8014         and check the filled state again.
8015         
8016         Rework the not-linked pad handling so the logic is that not-linked 
8017         pads can push as fast as they like, but only so they never get 
8018         ahead of any linked pads.
8019
8020         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8021         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8022         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8023
8024         Add a test to check that not-linked pads always stay behind
8025         linked pads.
8026
8027         Fixes: #430682
8028
8029 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8030
8031         * docs/random/release:
8032           Some updates to the release procedure.
8033
8034 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8035
8036         * gst/gstelementfactory.c: (__gst_element_details_clear):
8037           Microoptimization that saves stunning 80 bytes.
8038
8039 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8040
8041         * docs/plugins/gstreamer-plugins.args:
8042         * docs/plugins/inspect/plugin-coreelements.xml:
8043         * docs/plugins/inspect/plugin-coreindexers.xml:
8044           Update docs with caps info.
8045
8046 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8047
8048         * po/it.po:
8049           Updated Italian translation.
8050
8051 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8052
8053         * ChangeLog:
8054         * po/vi.po:
8055           Update Vietnamese translations.
8056
8057 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8058
8059         * libs/gst/base/gstbasesink.c:
8060           Remove unused signal enum.
8061
8062 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8063
8064         * docs/gst/gstreamer-sections.txt:
8065         * gst/gstelement.c:
8066         * gst/gstutils.c: (gst_type_register_static_full):
8067         Beef up and include the docs for gst_type_register_static_full and
8068         gst_element_class_set_details_simple and add the API keyword
8069         in the ChangeLog.
8070
8071 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8072
8073         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8074         (update_time_level), (gst_single_queue_push_one),
8075         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8076         (single_queue_overrun_cb), (single_queue_underrun_cb),
8077         (single_queue_check_full):
8078         Fix setting max-* properties after adding queues.
8079         Use IS_FILLED for checking visible items.
8080         Signal overrun if multiple queues overrun.
8081         Add extra debug output.
8082         Patch by: Wim Taymans <wim@fluendo.com>
8083
8084 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8085
8086         * gst/gstelement.c: (gst_element_class_set_details_simple):
8087         * gst/gstelement.h:
8088         * gst/gstutils.c: (gst_type_register_static_full):
8089         * gst/gstutils.h:
8090         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8091         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8092         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8093         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8094         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8095         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8096         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8097         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8098         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8099         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8100         (apply_buffer), (gst_queue_chain):
8101         * plugins/elements/gsttee.c: (gst_tee_base_init):
8102         * plugins/elements/gsttypefindelement.c:
8103         (gst_type_find_element_base_init),
8104         (gst_type_find_element_class_init):
8105           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8106           API: add gst_type_register_static_full
8107           API: add gst_element_class_set_details_simple
8108
8109 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * docs/pwg/advanced-types.xml:
8112           Fix typo in iana.org URI.
8113
8114 2007-06-19  Andy Wingo  <wingo@pobox.com>
8115
8116         * tests/check/pipelines/simple-launch-lines.c
8117         (test_state_change_returns): Enable pull-mode tests now that
8118         basesink has been fixed.
8119
8120         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8121         Changed from gst_base_sink_is_prerolled, reversing the sense of
8122         the return value. Returns FALSE also if the sink is in pull mode,
8123         in which case it needs no preroll.
8124         (gst_base_sink_query, gst_base_sink_change_state): Update for
8125         needs_preroll change.
8126         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8127         chaining up, in which we return SUCCESS directly if we activated
8128         in pull mode instead of ASYNC. Involves countering an async_start
8129         message sent before chaining up; not sure if this is correct, in
8130         an ideal world we only send async-start when activating in push
8131         mode.
8132
8133         * tests/check/pipelines/simple-launch-lines.c
8134         (test_state_change_returns): New test, partially disabled until
8135         basesink is fixed.
8136
8137 2007-06-19  Wim Taymans  <wim@fluendo.com>
8138
8139         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8140         (gst_multi_queue_sink_event):
8141         Fix event leak.
8142
8143 2007-06-19  Wim Taymans  <wim@fluendo.com>
8144
8145         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8146         (gst_bin_change_state_func), (bin_push_state_continue),
8147         (bin_handle_async_start), (bin_handle_async_done),
8148         (gst_bin_handle_message_func):
8149         Move the common code for posting state-change messages into
8150         one function.
8151         Broadcast the state signal after we posted the messages.
8152         Mark the bin as busy when it's doing a state-change.
8153         Make sure async-start/done messages don't interfere with the bin's
8154         state when it's busy.
8155         After the state change, let the bin check which elements completed the
8156         state change while it was busy so that it can update its state.
8157
8158 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8159
8160         * docs/random/release:
8161         Add a note about updating the doap file to the release checklist
8162
8163 2007-06-18  Wim Taymans  <wim@fluendo.com>
8164
8165         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8166         (gst_single_queue_push_one), (gst_multi_queue_chain),
8167         (gst_multi_queue_sink_event):
8168         Make sure we don't reference the buffer/event after we have given away
8169         ownership in the queue.
8170
8171 2007-06-18  Wim Taymans  <wim@fluendo.com>
8172
8173         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8174         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8175         Update queue state _after_ adding the item in the queue because else we
8176         could end up being full without the element added yet.
8177
8178 2007-06-18  Wim Taymans  <wim@fluendo.com>
8179
8180         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8181         (gst_bin_remove_func), (gst_bin_get_state_func),
8182         (gst_bin_element_set_state), (gst_bin_continue_func),
8183         (bin_push_state_continue), (bin_handle_async_start),
8184         (bin_handle_async_done), (gst_bin_handle_message_func):
8185         * gst/gstbin.h:
8186         Immediatly commit the toplevel bin state when receiving an async-done
8187         message. This enables us to avoid spawning a thread to commit the state
8188         in some common cases and it also avoids some races.
8189         Avoid spawning a state thread when adding/removing async elements to a
8190         toplevel bin. Instead we immediatly update the bin state.
8191         Get rid of iterating all the children when getting the state in the bin
8192         because it is now always up-to-date.
8193         Fix bug where locked elements would always return _SUCCESS even it they
8194         returned NO_PREROLL before being locked.
8195         Fix the order of the state_change, async-start/done messages that was
8196         sometimes incorrect.
8197         Mark the state_dirty field as deprecated, we don't need it anymore as we
8198         are always up-to-date.
8199
8200         * gst/gstelement.c: (gst_element_get_state_func),
8201         (gst_element_continue_state):
8202         Small debug inprovements.
8203         Return the previous element state return when nothing is pending instead
8204         of blindly returning SUCCESS.
8205
8206         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8207         (gst_sinks_suite):
8208         Add a whole bunch of new testcases.
8209
8210 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8211
8212         * po/uk.po:
8213         * po/vi.po:
8214           Update translations.
8215
8216 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8217
8218         * gst/gstpad.c:
8219         Fix typo in the docs.
8220
8221 2007-06-15  Wim Taymans  <wim@fluendo.com>
8222
8223         * docs/libs/gstreamer-libs-sections.txt:
8224         Add docs for new methods.
8225
8226 2007-06-15  Wim Taymans  <wim@fluendo.com>
8227
8228         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8229         (gst_multi_queue_item_new):
8230         Don't use GSlice because we don't depend on >= 2.10 yet.
8231
8232 2007-06-15  Wim Taymans  <wim@fluendo.com>
8233
8234         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8235         (update_time_level), (apply_segment), (apply_buffer),
8236         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8237         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8238         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8239         (single_queue_underrun_cb), (single_queue_check_full):
8240         Remove debug printf.
8241
8242 2007-06-15  Wim Taymans  <wim@fluendo.com>
8243
8244         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8245         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8246         (gst_data_queue_set_flushing), (gst_data_queue_push),
8247         (gst_data_queue_pop), (gst_data_queue_drop_head),
8248         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8249         * libs/gst/base/gstdataqueue.h:
8250         Various cleanups.
8251         Added methods to get the current levels and to inform the queue that the
8252         'full' limits changed.
8253
8254         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8255         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8256         (gst_single_queue_flush), (update_time_level), (apply_segment),
8257         (apply_buffer), (gst_single_queue_push_one),
8258         (gst_multi_queue_item_steal_object),
8259         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8260         (gst_multi_queue_loop), (gst_multi_queue_chain),
8261         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8262         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8263         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8264         (single_queue_underrun_cb), (single_queue_check_full),
8265         (gst_single_queue_new):
8266         Keep track of time in the queue by measuring the difference between
8267         running_time on input and output. This gives more accurate results and
8268         can compensate for segments correctly.
8269         Make a queue by default only 5 buffers deep. We will now increase the
8270         buffer size depending on the filledness of the other queues.
8271         Factor out commong flush code.
8272         Make sure we don't add additional refcounts to buffers when we can avoid
8273         it.
8274         Propagate GstFlowReturn differently.
8275         Use GSlice for intermediate GstMultiQueueItems.
8276         Keep track of EOS.
8277         Resize queues on over and underruns based on filled level of other
8278         queues.
8279         When checking if the queue is filled, prefer to measure in time if we
8280         can and fall back to bytes when no time is known.
8281
8282         * plugins/elements/gstqueue.c:
8283         Fix return value.
8284
8285 2007-06-15  Wim Taymans  <wim@fluendo.com>
8286
8287         * libs/gst/base/gstbasetransform.c:
8288         (gst_base_transform_sink_event):
8289         Work around the brokenness of the event vmethod in basetransform. Prefer
8290         to return TRUE when the subclass returned FALSE (meaning don't forward
8291         the event). 
8292
8293         * libs/gst/base/gstbasetransform.h:
8294         Clarify the docs.
8295
8296 2007-06-15  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8299         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8300         (gst_base_src_default_query), (gst_base_src_get_range),
8301         (gst_base_src_start):
8302         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8303         Improve debugging.
8304
8305 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8306
8307         * docs/pwg/advanced-types.xml:
8308           Added more formats to caps table.
8309
8310 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8311
8312         * tools/gst-launch.c: (main):
8313           Remove crufy code. GOption does not need this workaround.
8314
8315 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8316
8317         * libs/gst/controller/gstcontroller.c:
8318         (gst_controlled_property_set_interpolation_mode):
8319           Fix wrong getter for enums in controller.
8320
8321 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8322
8323         * libs/gst/check/gstcheck.c: (gst_check_init):
8324           Intercept criticals and warnings in the Gst-Phonon log domain, so
8325           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8326           well.
8327         
8328 2007-06-14  Edward Hervey  <edward@fluendo.com>
8329
8330         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8331         Since this file doesn't include "gst.h" it will not go through the
8332         macros that disable GST_LOG if debugging was disabled.
8333
8334 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8335
8336         * libs/gst/check/Makefile.am:
8337         * libs/gst/check/gstcheck.h:
8338         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8339         * pkgconfig/gstreamer-check.pc.in:
8340           Ugly 'fix' for the controller unit test on the p5 bot: in
8341           fail_unless_equals_float() check whether the values are 'almost
8342           equal' by allowing a small absolute error, which should be good
8343           enough for our use cases (normal numbers and values close to 0).
8344           Proper fixage left to floating point arithmetic aficionados.
8345
8346 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8347
8348         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8349         (gst_base_sink_render_object), (gst_base_sink_get_position):
8350           Add two breaks thats where missing.
8351
8352 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8353
8354         * docs/libs/gstreamer-libs-sections.txt:
8355         * libs/gst/check/gstcheck.h:
8356           API: add fail_unless_equals_float() and assert_equals_float().
8357           Add documentation for some of the macros.
8358
8359         * tests/check/libs/controller.c: (GST_START_TEST):
8360           Use newly-added asserts.
8361
8362 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8363
8364         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8365           Show the caps change in the log to help spotting the case of not
8366           exactly matching caps.
8367
8368 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * docs/pwg/building-boiler.xml:
8371           Fix typos, spotted by Thijs Vermeir (#447190).
8372
8373 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8374
8375         * docs/plugins/tmpl/.cvsignore:
8376         Ignore file to keep the buildbots happy
8377
8378 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8379
8380         * docs/plugins/Makefile.am:
8381         * docs/plugins/gstreamer-plugins-docs.sgml:
8382         * docs/plugins/gstreamer-plugins-sections.txt:
8383         Pull fdsink into the docs too.
8384
8385 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8386
8387         * libs/gst/controller/gstinterpolation.c:
8388         Actually use the new functions with min/max checks for the trigger and
8389         none interpolation modes for get() and get_value_array() instead of
8390         just the latter.
8391
8392 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8393
8394         * libs/gst/controller/gstcontroller.c:
8395         (gst_controlled_property_free):
8396         Unset the minimum and maximum GValues when freeing the corresponding
8397         GstControllerProperty struct.
8398
8399 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8400
8401         * libs/gst/controller/gstcontroller.c:
8402         (gst_controlled_property_new):
8403         * libs/gst/controller/gstcontrollerprivate.h:
8404         * libs/gst/controller/gstinterpolation.c:
8405         (gst_controlled_property_find_control_point_node),
8406         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8407         (interpolate_none_get_string_value_array),
8408         (interpolate_trigger_get),
8409         (interpolate_trigger_get_enum_value_array),
8410         (interpolate_trigger_get_string_value_array):
8411         Protect against values larger or smaller than the minimum or maximum
8412         allowed value for the property when using values that can be compared.
8413
8414         Optimize trigger interpolator a bit by taking the last requested value
8415         into account instead of always looping through the complete list.
8416
8417         Fix coding style a bit, everywhere else we use "return foo" instead
8418         of "return (foo)".
8419         
8420         * tests/check/libs/controller.c: (GST_START_TEST),
8421         (gst_controller_suite):
8422         Add unit test for the protection against too large or too small
8423         values.
8424
8425 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8426
8427         * docs/random/slomo/controller.txt:
8428         Add some thoughts about the future of the controller.
8429
8430 2007-06-08  Wim Taymans  <wim@fluendo.com>
8431
8432         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8433         Don't overflow in retimestamping code.
8434
8435 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8436
8437         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8438         Use gst_util_guint64_to_gdouble for conversions.
8439         * win32/common/libgstreamer.def:
8440         Add new exported functions.
8441
8442 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8443
8444         * gst/gstutils.c:
8445           Small docs addition.
8446
8447 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8448
8449         * README:
8450           Remove that test line again.
8451
8452 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8453
8454         * README:
8455           Test commit mail sending.
8456
8457 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8458
8459         * configure.ac:
8460           Fix typo and test commit mail sending.
8461
8462 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8463
8464         * tests/examples/controller/audio-example.c:
8465           Improve comment and test commit mail sending.
8466
8467 2007-06-07  Wim Taymans  <wim@fluendo.com>
8468
8469         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8470         (gst_bin_remove_func), (gst_bin_element_set_state),
8471         (bin_handle_async_start), (bin_handle_async_done),
8472         (gst_bin_handle_message_func):
8473         Add helper function to find messages.
8474         Generate the async-done messages together with the state change
8475         messages.
8476         Small cleanups in handling toplevel bins.
8477
8478 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8479
8480         * libs/gst/base/gstdataqueue.c:
8481         * libs/gst/base/gstdataqueue.h:
8482         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8483         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8484         (gst_multi_queue_sink_event):
8485         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8486           Fix multiqueue leaking buffers and events when downstream or the
8487           queue are flushing. Make refcounting assumptions explicit and
8488           document them (shouldn't break existing code that uses it other than
8489           maybe leak miniobjects, but that already happens anyway). Add unit
8490           test for the most common flushing case. Fixes #423700.
8491           
8492 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8493
8494         * libs/gst/controller/gstcontroller.c:
8495         Clarify docs: The get_all, get_value_array(s) functions
8496         don't modify the GObject properties.
8497
8498 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8499
8500         * libs/gst/controller/gstcontroller.c:
8501         (gst_controlled_property_set_interpolation_mode),
8502         (gst_controlled_property_prepend_default),
8503         (gst_controlled_property_new), (gst_controller_set_unlocked),
8504         (gst_controller_set), (gst_controller_set_from_list),
8505         (gst_controller_unset), (gst_controller_unset_all):
8506         * libs/gst/controller/gstcontrollerprivate.h:
8507         * libs/gst/controller/gstinterpolation.c:
8508         Factor out the 'set' logic into gst_controller_set_unlocked for the
8509         gst_controller_set and gst_controller_set_from_list functions.
8510
8511         To make life of the interpolators easier always add a control point
8512         at timestamp zero with the default value.
8513
8514         In the linear interpolator make things more obvious by better variable
8515         naming (slope).
8516
8517         Implement cubic interpolation mode (by using a natural cubic spline)
8518         and map the quadratic interpolation mode to this too (as quadratic
8519         doesn't make much sense, see discussion on the list).
8520
8521         * tests/check/libs/controller.c: (GST_START_TEST),
8522         (gst_controller_suite):
8523         Add unit test for the cubic interpolation mode and check everywhere
8524         if the interpolation mode could be set as expected.
8525
8526 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8529           Don't use GLib-2.10 functions, we still depend on
8530           GLib-how-old-is-it-again-2.8.
8531
8532 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * docs/gst/gstreamer-sections.txt:
8535         * gst/Makefile.am:
8536         * gst/gst.c:
8537         * gst/gst.h:
8538         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8539         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8540         (_gst_param_fraction_values_cmp),
8541         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8542         * gst/gstparamspecs.h:
8543         * gst/gstvalue.c:
8544         * tests/check/Makefile.am:
8545         * tests/check/gst/.cvsignore:
8546         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8547         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8548         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8549         (GST_START_TEST), (gst_param_spec_suite):
8550           API: add GstParamSpecFraction, so elements can have fraction
8551           properties without lots of painful string parsing (#444648).
8552
8553 2007-06-05  Wim Taymans  <wim@fluendo.com>
8554
8555         * gst/gstobject.c: (gst_object_class_init):
8556         Fix signal signature.
8557
8558         * gst/gstsegment.c:
8559         Add small clarification in the api docs.
8560
8561         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8562         States are protected with object lock.
8563
8564 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8565
8566         * AUTHORS:
8567         I should probably be listed as an author by now.
8568
8569         * docs/random/release:
8570         Update the release doc
8571
8572 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8573
8574         * gst/gstvalue.c:
8575           Make docs for gst_value_compare() mention return enums that
8576           actually exist.
8577
8578 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8579
8580         * configure.ac:
8581           Back to CVS
8582
8583 === release 0.10.13 ===
8584
8585 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8586
8587         * configure.ac:
8588           releasing 0.10.13, "With or without you"
8589
8590 2007-05-25  Wim Taymans  <wim@fluendo.com>
8591
8592         * gst/gstbin.c: (bin_handle_async_done):
8593         Make sure that the child bin stops after completing the async state
8594         change so that the parent can continue the state change to PLAYING.
8595         Fixes #441159.
8596
8597 2007-05-25  Wim Taymans  <wim@fluendo.com>
8598
8599         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8600         (unref_data), (gst_collect_pads_remove_pad),
8601         (gst_collect_pads_check_pads):
8602         Use additional refcounting to avoid crashes when dynamically adding and
8603         removing pads. Fixes #420206.
8604
8605 2007-05-24  Wim Taymans  <wim@fluendo.com>
8606
8607         * tools/gst-launch.c: (event_loop):
8608         When buffering goes from a two digit to a single digit number, make sure
8609         to remove the old second digit by writing a blank over it.
8610
8611 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         * libs/gst/base/gstdataqueue.c:
8614           Eliminate tabs and trailing comma in enum list; fix some typos.
8615
8616 2007-05-24  Wim Taymans  <wim@fluendo.com>
8617
8618         * tests/check/gst/gstbin.c: (GST_START_TEST):
8619         Allow refcount of 3 and 4 because some state thread might still be busy
8620         with it.
8621
8622 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8623
8624         * plugins/elements/Makefile.am:
8625         * plugins/elements/gstmultiqueue.h:
8626         * plugins/elements/gstqueue.h:
8627           These are not installed headers, no need for padding.
8628
8629 2007-05-24  Wim Taymans  <wim@fluendo.com>
8630
8631         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8632         (gst_bin_continue_func):
8633         Enable latency for next release.
8634         Restore STATE_LOCK around recalc_state that was left out during the
8635         rewrite and could result in racy behaviour when _get_state and
8636         recalc_state are run concurrently. See #440463.
8637
8638 2007-05-23  Wim Taymans  <wim@fluendo.com>
8639
8640         * tests/check/gst/gstsystemclock.c: (store_callback),
8641         (GST_START_TEST):
8642         Improve test_async_order to also work when both timers are already
8643         expired when we get scheduled to check it.
8644
8645 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8646
8647         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8648         (gst_bin_set_property), (gst_bin_get_property),
8649         (gst_bin_remove_func), (gst_bin_handle_message_func):
8650         * gst/gstbin.h:
8651           'private' is a c++ keyword, let's not use that in header files,
8652           otherwise c++ compilers will throw a tantrum.
8653
8654 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8655
8656         * plugins/elements/gstelements.c:
8657         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8658         (gst_file_sink_get_current_offset):
8659         * plugins/indexers/gstindexers.c: (plugin_init):
8660           Use #ifdef for HAVE_XYZ for consistency.
8661
8662         * tests/check/Makefile.am:
8663         * tests/check/elements/.cvsignore:
8664         * tests/check/elements/filesink.c: (setup_filesink),
8665         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8666           Add some unit tests for filesink.
8667
8668 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8669
8670         Patch by: Mark Nauwelaerts <manauw at skynet be>
8671
8672         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8673         (gst_file_sink_query), (gst_file_sink_do_seek),
8674         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8675         * plugins/elements/gstfilesink.h:
8676           Fix position reporting; rename data_written member to current_pos to
8677           reflect its real meaning (fixes #412648).
8678
8679 2007-05-22  Edward Hervey  <edward@fluendo.com>
8680
8681         * docs/gst/gstreamer-sections.txt:
8682         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8683         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8684         (gst_bin_remove_func), (gst_bin_handle_message_func):
8685         * gst/gstbin.h:
8686         Add a property for bins that handle the state change of their childs.
8687         Fixes #435880
8688
8689 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8690
8691         * libs/gst/controller/gstinterpolation.c:
8692         Use an array of the correct type when using _get_value_array with
8693         linear interpolation.
8694
8695 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8696
8697         * gst/gstelement.c (gst_element_requires_clock,
8698           gst_element_provides_clock, gst_element_request_pad,
8699           gst_element_class_set_details, gst_element_class_set_details_simple,
8700           gst_element_default_send_event, gst_element_abort_state,
8701           gst_element_continue_state, gst_element_set_state,
8702           gst_element_set_state_func, iterator_activate_fold_with_resync):
8703         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8704           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8705           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8706           gst_pad_get_range, gst_pad_pull_range):
8707         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8708           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8709           GstPadActivateModeFunction, GstPadChainFunction,
8710           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8711           GstPadFixateCapsFunction, GstPadTemplate):
8712         * gst/gstpipeline.c (gst_pipeline_change_state,
8713           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8714           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8715           gst_pipeline_get_delay):
8716           Whitespace and docs fixes.
8717
8718 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8719
8720         * libs/gst/controller/gstinterpolation.c:
8721         (interpolate_trigger_get_enum_value_array),
8722         (interpolate_trigger_get_string_value_array):
8723         Add support for retrieving value arrays when using the trigger
8724         interpolation mode. 
8725
8726 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8727
8728         * libs/gst/controller/gstcontroller.c:
8729         (gst_controller_get_value_array):
8730         * libs/gst/controller/gstcontroller.h:
8731         Clarify the docs of gst_controller_get_value_array(): The array where
8732         the values should be written to must be allocated as there seems to be
8733         no way to get the size of a random GType. This doesn't change any
8734         behaviour. Also fix some typos all over the place and remove an unused,
8735         commented function that is not necessary as g_object_set() could be
8736         used instead.
8737         * tests/check/libs/controller.c: (GST_START_TEST),
8738         (gst_controller_suite):
8739         Add unit test for gst_controller_get_value_array().
8740
8741 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8742
8743         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8744
8745         Disable part of the gst_buffer_try_new_and_alloc test, because
8746         it can happily succeed on 64-bit systems where there's more address
8747         space available.
8748
8749 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8750
8751         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8752         Add unit test for the improved caps checking from bug #421543.
8753
8754 2007-05-21  Wim Taymans  <wim@fluendo.com>
8755
8756         * docs/design/part-synchronisation.txt:
8757         Small addition.
8758
8759         * gst/gstbin.c: (gst_bin_query):
8760         * plugins/elements/gstqueue.c: (apply_segment):
8761         Improve debugging.
8762
8763         * gst/gstmessage.h:
8764         Improve docs.
8765
8766 2007-05-21  Wim Taymans  <wim@fluendo.com>
8767
8768         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8769         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8770         (gst_pad_configure_src):
8771         Added simple version of improved caps checking. It was previously
8772         assumed that a setcaps function would check the validity of the caps but
8773         people prefer us to check caps against the template automatically. 
8774         Fixes #421543.
8775
8776 2007-05-21  Wim Taymans  <wim@fluendo.com>
8777
8778         * libs/gst/base/gstbasetransform.h:
8779         Fix macro for locking/unlocking the transform lock.
8780
8781 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * docs/plugins/tmpl/.cvsignore:
8784           Ignore more.
8785
8786 2007-05-18  Edward Hervey  <edward@fluendo.com>
8787
8788         * plugins/elements/gstqueue.c: (gst_queue_loop):
8789         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8790         for the subtle art of warning a potentially blocking thread that it
8791         should check the source pad return value, and relay the information
8792         upstream.
8793
8794 2007-05-18  Edward Hervey  <edward@fluendo.com>
8795
8796         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8797         Release the queue lock !
8798
8799 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8800
8801         * docs/libs/gstreamer-libs-sections.txt:
8802         Add the two new controller functions to the appropiate places.
8803
8804 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8805
8806         reviewed by: Stefan Kost <ensonic@users.sf.net>
8807
8808         * libs/gst/controller/gstcontroller.c:
8809         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8810         (_gst_controller_get_property), (_gst_controller_set_property),
8811         (_gst_controller_init), (_gst_controller_class_init):
8812         * libs/gst/controller/gstcontroller.h:
8813         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8814         (gst_object_get_control_rate), (gst_object_set_control_rate):
8815         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8816         Add API that provides sync suggestion timestamps for elements that
8817         call gst_object_sync_values() from which those elements can subdivide
8818         their processing loop to get the best results for the controlled
8819         properties. For now it just suggests last_sync + control_rate as
8820         new timestamp but this will be improved in the future.
8821
8822         While doing that change the control-rate property to a GstClockTime
8823         from guint and change it's meaning from samples to nanoseconds as
8824         the GstController doesn't know anything about sampling rate. Strictly
8825         speaking this breaks ABI but as the control-rate property didn't do
8826         anything in the past and as such couldn't be used this should be no
8827         problem.        
8828
8829 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8830
8831         reviewed by: Stefan Kost <ensonic@users.sf.net>
8832
8833         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8834         (gst_controller_unset_all):
8835         * libs/gst/controller/gstcontrollerprivate.h:
8836         * libs/gst/controller/gstinterpolation.c:
8837         (gst_controlled_property_find_control_point_node):
8838         Save last synced value from the list to continue searching from there
8839         in future syncs. This speeds everything up a bit.
8840         
8841 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8842
8843         reviewed by: Stefan Kost <ensonic@users.sf.net>
8844
8845         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8846         (gst_control_point_find), (gst_controlled_property_new),
8847         (gst_control_point_free), (gst_controlled_property_free),
8848         (gst_controller_set), (gst_controller_set_from_list),
8849         (gst_controller_unset), (gst_controller_unset_all),
8850         (gst_controller_sync_values):
8851         * libs/gst/controller/gstcontroller.h:
8852         * libs/gst/controller/gstcontrollerprivate.h:
8853         * libs/gst/controller/gstinterpolation.c:
8854         (gst_controlled_property_find_control_point_node),
8855         (interpolate_none_get), (interpolate_trigger_get):
8856         Add a new private GstControlPoint struct which "inherits" from
8857         GstTimedValue to allow different interpolators to store internal
8858         values next to each control point. From the outside everything is
8859         still a GstControlPoint so we don't loose binary compatibility.
8860         Also fixup all the GValue handling to not leak GValues or list nodes.
8861         * tests/check/libs/controller.c: (GST_START_TEST):
8862         Free the list nodes and GValues in the controller_misc test.
8863
8864 2007-05-17  Edward Hervey  <edward@fluendo.com>
8865
8866         * gst/gstsegment.c:
8867         Small doc fix.
8868
8869 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8870
8871         * gst/gstplugin.c: (gst_plugin_load_file):
8872           If we fail to load a plugin because of unresolved symbols or missing
8873           libraries and spew a warning to stderr, we may just as well mention
8874           which plugin it was that failed to load.
8875
8876 2007-05-13  David Schleef  <ds@schleef.org>
8877
8878         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8879           handles the case when ENABLE_GTK_DOC is false, and installs
8880           the prebuilt documentation.  So gtk-doc subdirs are 
8881           unconditionally enabled.  Fixes: #349099.
8882
8883 2007-05-13  David Schleef  <ds@schleef.org>
8884
8885         * gst/gstutils.h: Reword some documentation.
8886
8887 2007-05-12  David Schleef  <ds@schleef.org>
8888
8889         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8890           do anything with the passed "module" parameter, so remove it.
8891           Allows removal of additional vestigal code.
8892
8893 2007-05-12  David Schleef  <ds@schleef.org>
8894
8895         * gst/gstplugin.c:
8896           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8897           Switch to using g_stat() because it's more portable.
8898
8899 2007-05-12  David Schleef  <ds@schleef.org>
8900
8901         * gst/gst.c:
8902           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8903           parsing for embedded systems.
8904         * gst/gstelementfactory.c:
8905           Allow gst_element_register() to be called with plugin==NULL.
8906           Did nobody notice that static elements were broken?
8907
8908 2007-05-12  Wim Taymans  <wim@fluendo.com>
8909
8910         * tools/gst-launch.c: (event_loop):
8911         Give more interesting info when buffering starts and stops.
8912         Fix case where buffering starts but we fail to update the buffering flag
8913         because the target state is not PLAYING.
8914
8915 2007-05-12  Wim Taymans  <wim@fluendo.com>
8916
8917         * plugins/elements/gstqueue.c: (gst_queue_init),
8918         (gst_queue_finalize), (update_time_level), (apply_segment),
8919         (apply_buffer), (gst_queue_locked_flush),
8920         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8921         (gst_queue_handle_sink_event), (gst_queue_chain),
8922         (gst_queue_push_one), (gst_queue_loop):
8923         * plugins/elements/gstqueue.h:
8924         Refactor an cleanup queue a bit.
8925         Do better time level calculations that also work when the srcpad is not
8926         yet running.
8927         Remove some unneeded debug lines.
8928
8929         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8930         Added testcase for time level measurement.
8931         Try to make some stuff more racefree.
8932
8933 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8934
8935         * gst/gsturi.c: (gst_element_make_from_uri):
8936           Don't leak plugin feature.
8937
8938         * tests/check/Makefile.am:
8939         * tests/check/gst/.cvsignore:
8940         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8941           Add brain-dead unit test.
8942
8943 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8944
8945         Patch by: Jeroen Wouters <woutersj at gmail com>
8946
8947         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8948           Treat protocol strings in a case-insensitive way (#437563).
8949
8950 2007-05-11  Michael Smith <msmith@fluendo.com>
8951
8952         * gst/gstplugin.c: (gst_plugin_load_file):
8953         * gst/gstregistry.c: (gst_registry_scan_path_level):
8954           Don't print a g_warning for any failure to load a shared object.
8955           Instead, push this down into gstplugin.c, and warn _only_ if we
8956           failed to open the module (i.e. failure to link).
8957           Avoids warnings on normal, working, non-plugin .so files.
8958
8959 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8960
8961         * gst/gstplugin.c (gst_plugin_load_file):
8962         * gst/gstregistry.c (GST_CAT_DEFAULT,
8963           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8964           Print a g_warning if there was an error when loading a plugins during
8965           registry scan. The shuld help beginners starting with gst-plugin
8966           template.
8967
8968 2007-05-10  Wim Taymans  <wim@fluendo.com>
8969
8970         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8971         (update_time_level), (gst_queue_locked_flush),
8972         (gst_queue_handle_sink_event), (gst_queue_chain),
8973         (gst_queue_push_one), (gst_queue_loop):
8974         * plugins/elements/gstqueue.h:
8975         Be smarter when calculating the current amount of data in the queue by
8976         measuring the difference between start and end timestamps (in running
8977         time) inside the queue. Fixes #432876.
8978         API: GstQueue::pushing to notify elements that we are pushing data again
8979         since the running signal is rather broken for this purpose.
8980
8981 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8982
8983         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8984           gst_queue_base_init, gst_queue_init):
8985           use GST_BOILERPLATE
8986
8987 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8988
8989         * win32/common/libgstreamer.def:
8990         Add new exported functions.
8991         * win32/vs6/grammar.dsp:
8992         Use grammar pre-generated files.
8993
8994 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8995
8996         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8997
8998         * gst/Makefile.am:
8999         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9000         * gst/gstparse.h:
9001         * gst/gstutils.c: (gst_parse_bin_from_description):
9002         * gst/gstutils.h:
9003           Maintain API and ABI when --disable-parse is used. Now that
9004           we have an appropriate error code, we can just return NULL and the
9005           appropriate error when gst_parse_launch() is used despite it having
9006           been disabled (#342564).
9007
9008         * tests/check/Makefile.am:
9009         * tests/check/pipelines/.cvsignore:
9010         * tests/check/pipelines/parse-disabled.c:
9011           Make sure these functions exist and return NULL plus a GError when
9012           --disable-parse is used.
9013
9014 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9015
9016         * tests/benchmarks/complexity.c: (main):
9017         * tests/benchmarks/mass-elements.c: (main):
9018           Set a good example and don't leak messages.
9019
9020 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9021
9022         * docs/gst/Makefile.am:
9023         * docs/libs/Makefile.am:
9024           Correct fixxrefs options.
9025
9026         * docs/plugins/Makefile.am:
9027         * docs/plugins/gstreamer-plugins-docs.sgml:
9028         * docs/plugins/gstreamer-plugins-sections.txt:
9029         * plugins/elements/Makefile.am:
9030         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9031         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9032           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9033           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9034           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9035           _GstCapsFilterClass, trans_class):
9036         * plugins/elements/gstelements.c (name, rank, type, _elements):
9037         * plugins/elements/gstidentity.c
9038           (gst_identity_check_imperfect_timestamp,
9039           gst_identity_check_imperfect_offset):
9040           Document capsfilter and add doc-blurb to identity.
9041
9042 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9043
9044         * libs/gst/controller/gstcontroller.c:
9045         (gst_controlled_property_set_interpolation_mode):
9046         * libs/gst/controller/gstinterpolation.c:
9047           Don't crash if someone tries to set an interpolation mode that
9048           is invalid or that isn't supported yet. Fixes #422295.
9049
9050         * tests/check/libs/controller.c: (GST_START_TEST),
9051         (gst_controller_suite):
9052           Add a test case for the above.
9053
9054 2007-05-03  Edward Hervey  <edward@fluendo.com>
9055
9056         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9057         Properly set the last_stop position on GstSegment. This will only happen
9058         if there is a buffer to push out.
9059
9060 2007-05-03  Wim Taymans  <wim@fluendo.com>
9061
9062         * libs/gst/base/gstbasetransform.c:
9063         (gst_base_transform_buffer_alloc):
9064         always_in_place does not mean that the sink and source caps are the
9065         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9066
9067 2007-05-03  Wim Taymans  <wim@fluendo.com>
9068
9069         * docs/libs/gstreamer-libs-sections.txt:
9070         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9071         (gst_base_src_default_query), (gst_base_src_get_range):
9072         * libs/gst/base/gstbasesrc.h:
9073         API: gst_base_src_query_latency(). Added method so that subclasses can
9074         easily get the latency values of the base source class.
9075
9076 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9077
9078         * tools/gst-inspect.c (print_implementation_info):
9079         Remove 0.8 cruft.
9080
9081 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9082
9083         * tools/Makefile.am:
9084         * tools/gst-launch.1.in:
9085           Don't create a customised man page based on the host architecture,
9086           describe the default registry path generically. That way the man
9087           page is the same for all architectures and packagers have one
9088           multilib issue less to deal with. Fixes #434926.
9089
9090 2007-05-02  Wim Taymans  <wim@fluendo.com>
9091
9092         * gst/gstpad.c:
9093         Fix documentation as spotted by rg on IRC. 
9094
9095 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9096
9097         * gst/gstutils.c:
9098           Improve docs for gst_element_{link,unlink}.
9099
9100 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9101
9102         * docs/design/part-events.txt:
9103         * docs/design/part-overview.txt:
9104         * gst/gstevent.c:
9105         * gst/gsturi.c:
9106         * gst/gsturi.h:
9107         * libs/gst/base/gstbasesink.c:
9108           Typo fixes; minor docs addition.
9109
9110 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9111
9112         * docs/gst/gstreamer-sections.txt:
9113         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9114         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9115         * gst/gsturi.h:
9116         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9117         or src that supports a given URI protocol exists.
9118
9119 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9120
9121         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9122         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9123         Set the location to NULL if "file://" is set as URI. Otherwise
9124         some random previous URI would still be set if "file://" is
9125         set on an already used filesink/filesrc.
9126
9127 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9128
9129         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9130         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9131         Special case the "file://" URI as as this is used by some
9132         applications to test with gst_element_make_from_uri if there's
9133         an element that supports the URI protocol.
9134         Also move the g_path_is_absolute() check for the location part
9135         of the URI to also check this for "file://localhost/bla" URIs.
9136
9137 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9138
9139         * docs/gst/gstreamer-sections.txt:
9140         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9141         * gst/gstbuffer.h:
9142         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9143         (gst_buffer_suite):
9144           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9145
9146 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9147
9148         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9149         (gst_registry_binary_load_pad_template),
9150         (gst_registry_binary_load_plugin),
9151         (gst_registry_binary_read_cache):
9152         * gst/gstregistrybinary.h:
9153           Implement no-mmap alternative for registry reading. Do code cleanups.
9154           Add more comments about avoiding strdups for all text data. Comments
9155           welcome.
9156
9157 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9158
9159         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9160           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9161           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9162           Comment structs and reformat to fix the build (that stuff should go
9163           into a priv. header).
9164
9165 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9166
9167         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9168         (gst_registry_binary_load_feature):
9169         * gst/gstregistrybinary.h:
9170           Refactor so that we can implement multiple features. Add support for
9171           TypeFindFactory features.
9172
9173 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9174
9175         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9176
9177         * configure.ac:
9178           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9179
9180 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9181
9182         * gst/gstbin.c: (gst_bin_element_set_state),
9183         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9184         (bin_handle_async_done), (gst_bin_handle_message_func):
9185           Fix build with --gst-disable-gst-debug
9186
9187 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9190           Make sure streaming has finished before calling the ::stop() vfunc,
9191           since that vfunc might clear state which is being used in the
9192           streaming thread. This fixes a race that caused crashes in
9193           audioresample when shutting down a pipeline (#420106).
9194
9195 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9196
9197         * docs/gst/gstreamer-sections.txt:
9198           That was one byte missing.
9199
9200 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9201
9202         * configure.ac:
9203         * docs/gst/gstreamer-sections.txt:
9204         * gst/Makefile.am:
9205         * gst/gstconfig.h.in:
9206         * gst/gstobject.c: (gst_object_class_init),
9207         (gst_signal_object_class_init):
9208         * gst/gstobject.h:
9209           2nd attempt to have a xml-less build as a joined effort of #413123
9210           and #421480.
9211
9212 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9213
9214         * docs/design/draft-tagreading.txt:
9215           Added open issues/thoughts to draft.
9216
9217 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9218
9219         * gst/parse/grammar.tab.pre.c:
9220         * gst/parse/grammar.tab.pre.h:
9221         * gst/parse/lex._gst_parse_yy.pre.c:
9222         Update the prebuild parser sources.
9223
9224 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9225
9226         * gst/parse/Makefile.am:
9227         And now fix the building of the flex sources. Now everything should
9228         work as expected.
9229
9230 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9231
9232         * gst/parse/Makefile.am:
9233         Now hopefully fix the build failures by setting proper rule
9234         dependencies and moving instead of copying.
9235
9236 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9237
9238         * tests/benchmarks/complexity.gnuplot:
9239         * tests/benchmarks/complexity.scm:
9240         * tests/benchmarks/mass-elements.gnuplot:
9241         * tests/benchmarks/mass-elements.scm:
9242           Total licensification.
9243
9244 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9245
9246         * gst/parse/Makefile.am:
9247           Fix the build by correcting the rule that gave wrong files to flex.
9248
9249 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9250
9251         * tests/benchmarks/complexity.c:
9252         * tests/benchmarks/mass-elements.c:
9253           Change licence to LGPL as granted by Benjamin and Andy.
9254
9255 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9256
9257         * gst/parse/Makefile.am:
9258         Add correct grammar.tab.h dependency if compiling without new enough
9259         flex. Fixes #431150.
9260
9261 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9262
9263         * gst/parse/Makefile.am:
9264         Fix typo and use outdated sources if the flex/bison sources are newer
9265         than the pregenerated ones but flex is too old. Print a warning in
9266         that case. This should fix the build on the build bot.
9267
9268 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9269
9270         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9271         * gst/parse/Makefile.am:
9272         * gst/parse/grammar.y:
9273         * gst/parse/parse.l:
9274         Make the parser reentrant and recursively callable. This requires flex
9275         >= 2.5.31, for older versions pregenerated sources are used as we
9276         can't bump the build dependency. Finally fixes #349180.
9277
9278         * gst/gstparse.c: (gst_parse_launch):
9279         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9280         now anyway.
9281
9282         * docs/gst/Makefile.am:
9283         * docs/gst/Makefile.am:
9284         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9285         (__gst_parse_strfree), (__gst_parse_link_new),
9286         (__gst_parse_link_free), (__gst_parse_chain_new),
9287         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9288         (gst_parse_element_set), (gst_parse_free_link),
9289         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9290         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9291         (_gst_parse_launch):
9292         * gst/parse/grammar.tab.pre.h:
9293         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9294         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9295         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9296         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9297         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9298         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9299         (_gst_parse_yypop_buffer_state),
9300         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9301         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9302         (yy_fatal_error), (_gst_parse_yyget_extra),
9303         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9304         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9305         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9306         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9307         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9308         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9309         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9310         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9311         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9312         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9313         (_gst_parse_yyfree):
9314         If the installed flex version is too old use pre-generated parser
9315         sources. These pre-generated parser sources are always updated when
9316         the actual flex/bison sources change but require everybody who wants
9317         to change something in the parser to have flex >= 2.5.31 installed.
9318
9319 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9320
9321         * common/m4/gst-gettext.m4:
9322         * gst/gst-i18n-lib.h:
9323           Make --disable-nls to work
9324
9325 2007-04-17  Wim Taymans  <wim@fluendo.com>
9326
9327         * gst/gstconfig.h.in:
9328         Revert previous change that broke the build.
9329
9330 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9331
9332         * configure.ac:
9333         * gst/Makefile.am:
9334         * gst/gstconfig.h.in:
9335           Drop libxml2 dependency when building with 
9336           --enable-binary-registry --disable-loadsave
9337
9338 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9339
9340         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9341         (gst_registry_binary_read_cache):
9342         * gst/gstregistrybinary.h:
9343           Remove unnecessary <sys/mman.h> include which broke the win32 build
9344           with MingW; move includes from header file to .c file, even if the
9345           header file isn't installed; use g_strerror() where UTF-8 strings
9346           are expected, such as in GST_DEBUG messages.
9347
9348 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9349
9350         * docs/libs/gstreamer-libs-sections.txt:
9351         Remove bogus addition for API I didn't end up keeping.
9352
9353         * libs/gst/base/gstbasesrc.h:
9354         Mention Since: 0.10.13 in the documentation.
9355
9356         Add the API keyword to the previous ChangeLog entry.
9357
9358 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9359
9360         * docs/libs/gstreamer-libs-sections.txt:
9361         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9362         (gst_base_src_default_prepare_seek_segment),
9363         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9364         * libs/gst/base/gstbasesrc.h:
9365         Allow basesrc derived classes to execute seeks in other formats
9366         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9367         to prepare the GstSegment in any format that their perform_seek method
9368         will be able to understand. The default implementation provides the
9369         old behaviour of attempting to convert the seek offsets to the 
9370         configured native format.
9371
9372         API: basesrc::prepare_seek_segment vmethod.
9373
9374 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9375
9376         * gst/gstelement.c: (gst_element_get_state_func):
9377         Don't output the same debug statement twice.
9378
9379         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9380         (gst_adapter_peek), (gst_adapter_take_buffer):
9381         Optimise the case where we have buffers at the head of the queue that
9382         can be joined quickly (because they're contiguous sub-buffers) by
9383         merging them together rather than copying data out into new memory.
9384
9385         * gst/parse/grammar.y:
9386         * tests/check/pipelines/parse-launch.c:
9387         Fix a leak in an error path for parse_launch, and add a check 
9388         for it to the testsuite.
9389
9390 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9391
9392         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9393           Don't deadlock when releasing a pad - gst_pad_set_active may try
9394           and take the multiqueue lock too.
9395
9396 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9397
9398         * gst/gsterror.c: (_gst_core_errors_init):
9399         * gst/gsterror.h:
9400           API: add GST_CORE_ERROR_DISABLED (#392804).
9401
9402 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9403
9404         * docs/faq/gst-uninstalled:
9405           don't get empty paths on the PATH variables
9406         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9407           Don't format for the uncommon terminal width of 84 characters.
9408
9409 2007-04-06  Wim Taymans  <wim@fluendo.com>
9410
9411         * gst/gstpipeline.c: (reset_stream_time),
9412         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9413         Only try to select a different pipeline clock when we went back to
9414         PAUSED and not when we merely got flushed.
9415
9416 2007-04-05  Michael Smith  <msmith@fluendo.com>
9417
9418         * tools/gst-launch.1.in:
9419           fractions are better supported in gstreamer than ractions, so
9420           suggest using those.
9421
9422 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9423
9424         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9425
9426         * po/LINGUAS:
9427         * po/da.po:
9428           Added Danish translation.
9429
9430 2007-04-05  Wim Taymans  <wim@fluendo.com>
9431
9432         * libs/gst/base/gstbasesink.c:
9433         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9434         Fix leak caused when refusing newsegment after EOS.
9435
9436         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9437         (gst_fake_sink_init), (gst_fake_sink_set_property),
9438         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9439         (gst_fake_sink_render), (gst_fake_sink_change_state):
9440         * plugins/elements/gstfakesink.h:
9441         Add num-buffers property to make the element generate EOS after a
9442         configurable amount of buffers.
9443         API: fakesink::num-buffers property.
9444
9445         * tests/check/elements/fakesink.c: (GST_START_TEST),
9446         (fakesink_suite):
9447         Fix GstBus leak in test.
9448         Test for fakesink num-buffers.
9449
9450 2007-04-05  Wim Taymans  <wim@fluendo.com>
9451
9452         * libs/gst/base/gstbasesink.c:
9453         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9454         (gst_base_sink_change_state):
9455         Don't accept anything after an EOS, return UNEXPECTED instead.
9456
9457         * tests/check/elements/fakesink.c: (GST_START_TEST),
9458         (fakesink_suite):
9459         Unit test for new EOS behaviour.
9460
9461 2007-04-05  Wim Taymans  <wim@fluendo.com>
9462
9463         * gst/gstelement.c: (gst_element_get_request_pad):
9464         Make padtemplates also work when they don't contain %s or %d.
9465
9466 2007-04-05  Wim Taymans  <wim@fluendo.com>
9467
9468         * docs/gst/gstreamer-sections.txt:
9469         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9470         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9471         * gst/gstclock.h:
9472         Improve _adjust_unlocked() so that it overflows less.
9473         Add gst_clock_unadjust_unlocked to convert from external time to
9474         internal time based on calibration.
9475         Add some more debug.
9476         API: GstClock::gst_clock_unadjust_unlocked()
9477
9478 2007-04-03  Wim Taymans  <wim@fluendo.com>
9479
9480         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9481
9482         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9483         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9484         when releasing sink pad. Fixes #425400.
9485
9486 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9487
9488         * docs/random/ensonic/dynlink.txt:
9489           More work on proposal for new core api.
9490
9491         * docs/libs/gstreamer-libs-sections.txt:
9492         * libs/gst/base/gstbasetransform.h:
9493           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9494           
9495         * libs/gst/controller/gstcontroller.c:
9496         (on_object_controlled_property_changed),
9497         (gst_controller_sync_values),
9498         (gst_controller_set_interpolation_mode):
9499         * libs/gst/controller/gstcontroller.h:
9500           Less verbose logging add docs for unimplemented parts and correctly
9501           return when using unavailable parts.
9502
9503 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9504
9505         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9506         Move all the debug to the CLOCK category, and associate it with
9507         the clock object.
9508
9509 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9510
9511         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9512         Make take_buffer a bit quicker by removing redundant checks
9513         caused by calling gst_adapter_take.
9514
9515 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9516
9517         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9518           Don't leak GCond.
9519
9520         * tests/check/Makefile.am:
9521         * tests/check/elements/.cvsignore:
9522         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9523         (GST_START_TEST), (multiqueue_suite):
9524           Add some dead simple unit tests for the 'multiqueue' element
9525           (some bits don't work yet and are disabled for now).
9526
9527 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9528
9529         * gst/gstelement.c: (gst_element_get_request_pad),
9530         (gst_element_class_get_request_pad_template):
9531           Make gst_element_get_request_pad() create request pads only for
9532           request pad templates and not for, say, sometimes pad templates.
9533
9534 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9535
9536         * docs/design/draft-klass.txt:
9537           Add example that needs more thinking.
9538         
9539         * docs/design/draft-missing-plugins.txt:
9540           More thoughts about wrapper plugins.
9541         
9542         * docs/random/ensonic/embedded.txt:
9543         * docs/random/ensonic/profiling.txt:
9544           More design work.
9545
9546 2007-03-25  Wim Taymans  <wim@fluendo.com>
9547
9548         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9549         (gst_base_src_loop):
9550         Only push the segment events in the PLAYING state for live sources.
9551
9552 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9553
9554         * gst/gstpipeline.c: (gst_pipeline_change_state):
9555         Modify the clock distribution path in PAUSED->PLAYING so that we 
9556         never attempt to choose a new clock unless we're actually leaving
9557         the PAUSED state for the first time. This prevents choosing a
9558         different clock when the state_change gets called for a 2nd time due
9559         to some element doing an async state change.
9560
9561 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9562
9563         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9564         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9565         (gst_pad_chain_unchecked), (gst_pad_push):
9566         Revert last commit. This needs some more thoughts.
9567
9568 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9569
9570         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9571         (gst_pad_chain_unchecked), (gst_pad_push):
9572         Check in set_caps if the caps are compatible with the pad and remove
9573         two functions that are redundant now. Fixes #421543.
9574
9575 2007-03-22  Wim Taymans  <wim@fluendo.com>
9576
9577         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9578         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9579         Unref some more to make valgrind happy.
9580
9581 2007-03-22  Wim Taymans  <wim@fluendo.com>
9582
9583         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9584         (gst_system_clock_id_wait_jitter),
9585         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9586         Fix anoying regression that survived a few releases. When adding an
9587         async entry while blocking on a sync entry, the sync entry will unblock
9588         but still be busy, so it should continue to wait instead of returning
9589         _BUSY to the app.
9590         Add some comments here and there.
9591
9592         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9593         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9594         Add testcase for this.
9595
9596 2007-03-22  Wim Taymans  <wim@fluendo.com>
9597
9598         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9599         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9600         WRONG_STATE and can silently pause the task. All other cases should
9601         error out.
9602
9603 2007-03-22  Wim Taymans  <wim@fluendo.com>
9604
9605         Patch by: Ville Syrjala <syrjala at sci dot fi>
9606
9607         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9608         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9609         Improve debugging.
9610
9611 2007-03-21  Michael Smith  <msmith@fluendo.com>
9612
9613         * docs/pwg/advanced-types.xml:
9614           Fix some errors in the typefinding docs pointed out on irc.
9615
9616 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9617
9618         * libs/gst/base/gstbasesrc.c:
9619         Clarify FIXME comment in the face of having added unlock_stop()
9620
9621 2007-03-21  Wim Taymans  <wim@fluendo.com>
9622
9623         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9624         Prepare for release where we warn against possible app breakage in the
9625         case of live pipelines along with an env var to enable/disable live
9626         preroll mode (GST_COMPAT=[no-]live-preroll).
9627
9628 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9629
9630         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9631         So we should use correct constants for checking for None offset.
9632
9633 2007-03-20  Wim Taymans  <wim@fluendo.com>
9634
9635         * docs/design/part-block.txt:
9636         Mention the fact that the newly switched element should be set to at
9637         least PAUSED.
9638
9639 2007-03-20  Wim Taymans  <wim@fluendo.com>
9640
9641         * gst/gst.c:
9642         Fix compilation with registry disabled as spotted by Saur.
9643
9644 2007-03-20  Wim Taymans  <wim@fluendo.com>
9645
9646         Patch by: Olivier Crete <tester at tester dot ca>
9647
9648         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9649         Look at the pending state too when syncing the element state to the
9650         parent. Fixes #420133.
9651
9652 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9653
9654         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9655         (gst_base_sink_change_state):
9656         * libs/gst/base/gstbasesink.h:
9657         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9658         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9659         (gst_base_src_deactivate):
9660         * libs/gst/base/gstbasesrc.h:
9661         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9662         for sub-classes to correctly clear any state they set trying to
9663         unlock, such as clearing out unlock commands from a command fd.
9664         API: basesrc::unlock_stop
9665         API: basesink::unlock_stop
9666
9667         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9668         (gst_fd_sink_render), (gst_fd_sink_unlock),
9669         (gst_fd_sink_unlock_stop):
9670         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9671         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9672         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9673
9674         Implement unlock_stop in fdsrc and fdsink.
9675         Implement seeking in fdsrc when a seekable fd is passed, as in
9676         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9677
9678 2007-03-19  Wim Taymans  <wim@fluendo.com>
9679
9680         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9681
9682         * gst/gstelement.c: (gst_element_class_init):
9683         Fix pad-added and pad-removed signal signatures so that the pad type is
9684         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9685
9686 2007-03-19  Wim Taymans  <wim@fluendo.com>
9687
9688         * docs/gst/gstreamer-sections.txt:
9689         Add new element field and method.
9690
9691         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9692         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9693         (gst_bin_recalc_state), (gst_bin_get_state_func),
9694         (gst_bin_element_set_state), (gst_bin_change_state_func),
9695         (gst_bin_continue_func), (bin_bus_handler),
9696         (bin_push_state_continue), (bin_handle_async_start),
9697         (bin_handle_async_done), (gst_bin_handle_message_func):
9698         Make async state changes a bit smarter by using new ASYNC_START and
9699         ASYNC_DONE messages. This reduces the number of times we run the state
9700         recalculation thread.
9701         Don't change state of element with a pending ASYNC_START message.
9702         Deprecate STATE_DIRTY messages.
9703         
9704         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9705         (gst_element_get_state_func), (gst_element_continue_state),
9706         (gst_element_lost_state), (gst_element_set_state_func),
9707         (gst_element_change_state):
9708         * gst/gstelement.h:
9709         Keep the state that was last set by the app in a new element field.
9710         Don't allow state changes when handling an element event.
9711         Post ASYNC_START and ASYNC_DONE messages.
9712         Change lost_state so that we go to PAUSED and wait for the parent to set
9713         us to PLAYING again (so latency calculation can be performed)
9714         Export gst_element_change_state() method so that subclasses can use it.
9715         API: gst_element_change_state()
9716         API: GST_STATE_TARGET
9717
9718         * gst/gstpipeline.c: (gst_pipeline_class_init),
9719         (reset_stream_time), (gst_pipeline_change_state),
9720         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9721         Using the new ASYNC_START message we can reset the base_time when
9722         needed. This can then be used to implement base_time redistribution in
9723         flushing seeks so that we can remove the explicit seek handling.
9724         Perform latency query and configuration when going to PLAYING.
9725
9726         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9727         (gst_base_sink_query), (gst_base_sink_change_state):
9728         Post new ASYNC_START/ASYNC_DONE messages.
9729
9730         * tests/check/generic/sinks.c: (GST_START_TEST):
9731         Fix test because the bin will not set the async element to PLAYING right
9732         away.
9733
9734         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9735         Make the message check a little stronger.
9736         Handle ASYNC messages.
9737
9738         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9739         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9740         Expect ASYNC_DONE messages.
9741
9742 2007-03-19  Wim Taymans  <wim@fluendo.com>
9743
9744         * docs/gst/gstreamer-sections.txt:
9745         * gst/gstmessage.c: (gst_message_new_async_start),
9746         (gst_message_new_async_done), (gst_message_parse_info),
9747         (gst_message_parse_async_start):
9748         * gst/gstmessage.h:
9749         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9750         support.
9751
9752 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9753
9754         * tools/gst-inspect.c:
9755         (print_plugin_automatic_install_info_codecs):
9756           Now that we don't check for the 'Codec' keyword any longer in the
9757           klass, we shouldn't spew a warning if the klass isn't a decoder or
9758           encoder (since it might be a Source/Network, for example).
9759
9760 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9761
9762         * tools/gst-inspect.c:
9763         (print_plugin_automatic_install_info_codecs):
9764           Don't require decoder/demuxer/depayloader elements or
9765           encoder/muxer/paylader elements to have 'Codec' as part of their
9766           factory class string when introspecting a plugin's capabilities.
9767           draft-klass.txt mentions that it might be removed in future, and
9768           flump3dec doesn't have it as part of its class string, so chances
9769           are others might also not have it.
9770
9771 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9772
9773         * po/af.po:
9774         * po/az.po:
9775         * po/bg.po:
9776         * po/ca.po:
9777         * po/cs.po:
9778         * po/de.po:
9779         * po/en_GB.po:
9780         * po/fr.po:
9781         * po/it.po:
9782         * po/nb.po:
9783         * po/nl.po:
9784         * po/ru.po:
9785         * po/sq.po:
9786         * po/sr.po:
9787         * po/sv.po:
9788         * po/tr.po:
9789         * po/uk.po:
9790         * po/vi.po:
9791         * po/zh_CN.po:
9792         * po/zh_TW.po:
9793           Update translations from translation project
9794
9795 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9796
9797         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9798         (gst_child_proxy_set_property):
9799           Invert precondition check to be alike the ones in the mimiced gobject
9800           api.
9801
9802 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9803
9804         * docs/design/draft-tagreading.txt:
9805         * docs/random/ensonic/audiobaseclasses.txt:
9806           Do some Architect work.
9807
9808         * gst/gstobject.c: (gst_object_set_name):
9809           Add a WARNING.
9810
9811         * gst/gstpad.c:
9812           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9813
9814 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9815
9816         * gst/gstsystemclock.c: (gst_system_clock_init),
9817         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9818         Defer starting the async system clock thread until the first async
9819         wait is scheduled. Fixes #414986.
9820
9821 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9822
9823         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9824         (gst_single_queue_free):
9825           Fix small leak (free GstSingleQueue structure too, not only contents).
9826
9827 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9828
9829         * gst/gstbin.c:(gst_bin_add):
9830         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9831         * win32/common/libgstbase.def:
9832         * win32/common/libgstreamer.def:
9833         Add new exported functions.
9834
9835 2007-03-09  Wim Taymans  <wim@fluendo.com>
9836
9837         * docs/plugins/gstreamer-plugins-sections.txt:
9838         Fix GstTee docs.
9839
9840 2007-03-09  Wim Taymans  <wim@fluendo.com>
9841
9842         * docs/gst/gstreamer-sections.txt:
9843         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9844         * gst/gstbuffer.h:
9845         Add metadata copy functions. Fixes #393099.
9846         API: gst_buffer_copy_metadata()
9847
9848         * gst/gstutils.c: (gst_buffer_stamp):
9849         * libs/gst/base/gstbasetransform.c:
9850         (gst_base_transform_prepare_output_buffer):
9851         Use new metadata copy functions.
9852
9853 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9854
9855         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9856         (gst_identity_init), (gst_identity_check_perfect),
9857         (gst_identity_check_imperfect_timestamp),
9858         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9859         (gst_identity_set_property), (gst_identity_get_property):
9860         * plugins/elements/gstidentity.h:
9861         Separate out check-imperfect-timestamp and check-imperfect-offset.
9862         Put back check-perfect as it was to keep compatibility.
9863
9864 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9865
9866         * gst/gstelement.c: (gst_element_dispose):
9867         There's no need to warn if VOID_PENDING is not NONE here, as
9868         long as the state is NULL it's ok, and that's checked immediately
9869         above.
9870
9871 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9872
9873         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9874         Fix check for perfect stream to ignore buffers with -1 
9875         offsets/offset ends when checking data contiguity.
9876
9877 2007-03-08  Wim Taymans  <wim@fluendo.com>
9878
9879         * tools/gst-launch.c: (event_loop):
9880         Print INFO messages.
9881
9882 2007-03-08  Wim Taymans  <wim@fluendo.com>
9883
9884         * libs/gst/base/gstbasetransform.c:
9885         (gst_base_transform_sink_eventfunc),
9886         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9887         (gst_base_transform_activate):
9888         * libs/gst/base/gstbasetransform.h:
9889         Add support for dropping buffers with custom GstFlowReturn.
9890         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9891         buffers or dropped buffers.
9892
9893         * docs/libs/gstreamer-libs-sections.txt:
9894         docs for new custom return code.
9895
9896         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9897         Use drop support in base class to implement drop-probability.
9898
9899 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9900
9901         * gst/gst.c: (load_plugin_func):
9902         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9903         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9904         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9905           Remove newlines at end of debug log strings.
9906
9907 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9908
9909         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9910         Only post bus message at max, once per buffer received.
9911
9912 2007-03-07  Wim Taymans  <wim@fluendo.com>
9913
9914         * docs/design/Makefile.am:
9915         * docs/design/part-synchronisation.txt:
9916         Add doc about synchronisation
9917
9918         * docs/design/draft-latency.txt:
9919         * docs/design/part-TODO.txt:
9920         * docs/design/part-clocks.txt:
9921         * docs/design/part-events.txt:
9922         * docs/design/part-gstbus.txt:
9923         * docs/design/part-gstpipeline.txt:
9924         * docs/design/part-live-source.txt:
9925         * docs/design/part-messages.txt:
9926         * docs/design/part-overview.txt:
9927         * docs/design/part-streams.txt:
9928         * docs/design/part-trickmodes.txt:
9929         Documentation updates.
9930
9931 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9932
9933         * gstreamer.doap:
9934         Update the doap file.
9935
9936 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9937
9938         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9939         Rename non-perfect to imperfect for Mike and for the sanctity of the
9940         language.
9941         Also make sure bus message gets emitted for data-incontiguities.
9942
9943 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9944
9945         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9946         (gst_identity_start):
9947         * plugins/elements/gstidentity.h:
9948         Emit bus message if check-perfect is true and we encounter a
9949         non-perfect stream between 2 consecutive buffers.
9950         Fixes #415394.
9951
9952 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9953
9954         * configure.ac:
9955         Back to CVS
9956
9957 === release 0.10.12 ===
9958
9959 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9960
9961         * configure.ac:
9962           releasing 0.10.12, "Inevitable Demise"
9963
9964 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9965
9966         * configure.ac:
9967          Version 0.10.11.2 (0.10.12 pre-release)
9968          Bump libtool versioning.
9969
9970 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9971
9972         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9973           Log flow-names and not numbers.
9974
9975 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9976
9977         * configure.ac:
9978           Convert to new AG_GST style.
9979
9980 2007-02-28  Wim Taymans  <wim@fluendo.com>
9981
9982         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9983         Don't unref query twice.
9984
9985 2007-02-28  Wim Taymans  <wim@fluendo.com>
9986
9987         * gst/gstvalue.c: (gst_value_transform_object_string),
9988         (_gst_value_initialize):
9989         Implement GstObject -> string transform so we print object names
9990         when serializing GValues containing GstObjects.
9991
9992 2007-02-28  Wim Taymans  <wim@fluendo.com>
9993
9994         * docs/gst/gstreamer-sections.txt:
9995         Add new stuff to docs.
9996
9997 2007-02-28  Wim Taymans  <wim@fluendo.com>
9998
9999         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10000         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10001         (gst_base_sink_change_state):
10002         Improve latency query code.
10003         Don't leak latency events.
10004
10005         * tests/check/gst/gstbin.c: (GST_START_TEST):
10006         Improve debugging.
10007
10008 2007-02-28  Wim Taymans  <wim@fluendo.com>
10009
10010         * gst/gstelement.c: (gst_element_message_full),
10011         (gst_element_get_state_func):
10012         * gst/gstelement.h:
10013         Improve docs a little. Added Since: for new macro.
10014
10015         * gst/gstobject.c: (gst_object_sink):
10016         * gst/gstpipeline.c: (gst_pipeline_change_state),
10017         (gst_pipeline_set_new_stream_time):
10018         * gst/gstpipeline.h:
10019         Improve debugging and docs.
10020
10021         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10022         Improve debugging.
10023
10024 2007-02-28  Wim Taymans  <wim@fluendo.com>
10025
10026         * gst/gstelement.c: (gst_element_message_full),
10027         (gst_element_set_locked_state), (gst_element_get_state_func),
10028         (gst_element_change_state):
10029         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10030         Documentation updates.
10031         Small code cleanups.
10032
10033         * gst/gstmessage.c: (gst_message_new_info),
10034         (gst_message_parse_info):
10035         * gst/gstmessage.h:
10036         API: gst_message_new_info()
10037         API: gst_message_parse_info()
10038         Add INFO message create and parse code.
10039
10040 2007-02-28  Wim Taymans  <wim@fluendo.com>
10041
10042         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10043         (bin_query_latency_done):
10044         Also report the live parameter of a latency query.
10045
10046 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10047
10048         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10049           Copy the current generic/states example from -base and adapt so
10050           we can use the exact same code everywhere.
10051           Check a STATES_IGNORE_ELEMENTS env var which can be used
10052           to ignore certain element factories for this test, which is
10053           what is being done in -base
10054         * tests/check/Makefile.am:
10055           Mention this environment variable.
10056
10057 2007-02-27  Wim Taymans  <wim@fluendo.com>
10058
10059         * docs/gst/gstreamer-sections.txt:
10060         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10061         (gst_bus_timed_pop), (gst_bus_pop):
10062         * gst/gstbus.h:
10063         API: gst_bus_timed_pop()
10064         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10065         message to arrive on the bus.
10066
10067         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10068         (gst_bus_suite):
10069         Two unit tests for new _timed_pop() function.
10070
10071 2007-02-23  Wim Taymans  <wim@fluendo.com>
10072
10073         * gst/gstpipeline.c: (gst_pipeline_change_state),
10074         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10075         Don't ref a NULL clock in _provide_clock_func().
10076         Don't allow an INVALID delay.
10077         Don't try to calculate base_time with an invalid start_time.
10078         Also distribute and notify a NULL clock when it was selected.
10079
10080         * tools/gst-launch.c: (event_loop):
10081         Don't crash when a NULL clock was selected in the pipeline.
10082
10083 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10084
10085         * docs/design/Makefile.am:
10086         * docs/design/draft-missing-plugins.txt:
10087         * docs/random/draft-missing-plugins.txt:
10088           Some small updates: update plugin system identifier prefix
10089           ('gstreamer.net' to 'gstreamer'), mention our new install
10090           API in libgstbaseutils rather than libgimme-codec, add
10091           reference to the online docs.
10092
10093 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10094
10095         * win32/common/config.h:
10096           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10097           use moap cl ci to only check in what is mentioned in the ChangeLog.
10098
10099 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10100
10101         * docs/gst/gstreamer-sections.txt:
10102         * gst/gstelement.h:
10103           Fix up documentation to link to the correct GstGError section.
10104           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10105
10106 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10107
10108         * tools/gst-launch.c: (event_loop):
10109           Make sure that we actually show the important message part of a
10110           warning message.
10111           No need to check if the gerror is not NULL to free; first of all
10112           g_free accepts NULL; and second the default error handler would
10113           segfault if gerror was NULL.
10114
10115 2007-02-21  Wim Taymans  <wim@fluendo.com>
10116
10117         * docs/gst/gstreamer-sections.txt:
10118         Removed docs as well.
10119
10120 2007-02-21  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/gstmessage.c: (gst_message_parse_duration):
10123         * gst/gstmessage.h:
10124         Remove new messages for release.
10125
10126 2007-02-20  Wim Taymans  <wim@fluendo.com>
10127
10128         * docs/design/part-gstghostpad.txt:
10129         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10130         (gst_ghost_pad_new_full):
10131         Make the ghostpad a parent of the internal pad again for better backward
10132         compatibility. Don't write code that relies on this however.
10133
10134         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10135         (gst_pad_link_check_hierarchy):
10136         Require that parents should be GstElements in the hierarchy check.
10137
10138 2007-02-20  Wim Taymans  <wim@fluendo.com>
10139
10140         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10141         (gst_bin_change_state_func), (bin_query_min_max_init),
10142         (bin_query_latency_fold), (bin_query_latency_done),
10143         (gst_bin_query):
10144         Improve debug info.
10145         Implement latency query.
10146
10147 2007-02-20  Wim Taymans  <wim@fluendo.com>
10148
10149         * docs/design/part-gstghostpad.txt:
10150         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10151         (gst_ghost_pad_internal_do_activate_push),
10152         (gst_ghost_pad_internal_do_activate_pull),
10153         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10154         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10155         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10156         Do not set the internal pad as a parent anymore so we can avoid
10157         hierarchy linking errors when the ghostpad has no parent yet. This also
10158         fixes failed activation because of unlinked internal pads, which in
10159         turn fixes the impossible case where you have to activate a pad before
10160         you can add it to a running element.
10161         Also fix the docs.
10162
10163         * gst/gstpad.c: (pre_activate), (post_activate),
10164         (gst_pad_set_active), (gst_pad_activate_pull),
10165         (gst_pad_activate_push), (gst_pad_check_pull_range):
10166         Add some more debug info.
10167         Mark activation mode in pre_activate so that we don't try to activate in
10168         endless loops. Fixes #385084.
10169
10170 2007-02-19  Wim Taymans  <wim@fluendo.com>
10171
10172         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10173         (gst_base_transform_check_get_range):
10174         Implement a checkgetrange function instead of relying on the default
10175         core behaviour that assumes we can operate in pull mode if we have a
10176         getrange function. First step at fixing #385084.
10177
10178 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10179
10180         * gst/gstchildproxy.h:
10181         * libs/gst/base/gstbasesink.h:
10182         * libs/gst/base/gstbasesrc.h:
10183         * libs/gst/base/gstbasetransform.h:
10184         More docs coverage and some ChangeLog surgery (add missing names)
10185
10186 2007-02-15  Wim Taymans  <wim@fluendo.com>
10187
10188         * docs/design/part-TODO.txt:
10189         * docs/design/part-activation.txt:
10190         * docs/design/part-block.txt:
10191         * docs/design/part-buffering.txt:
10192         * docs/design/part-clocks.txt:
10193         * docs/design/part-element-source.txt:
10194         * docs/design/part-events.txt:
10195         * docs/design/part-gstbin.txt:
10196         * docs/design/part-gstbus.txt:
10197         * docs/design/part-gstpipeline.txt:
10198         * docs/design/part-live-source.txt:
10199         * docs/design/part-messages.txt:
10200         * docs/design/part-overview.txt:
10201         * docs/design/part-qos.txt:
10202         * docs/design/part-query.txt:
10203         * docs/design/part-states.txt:
10204         * docs/design/part-trickmodes.txt:
10205         Some doc updates. Start renaming from stream_time to running_time where
10206         it was used wrongly.
10207
10208 2007-02-15  Wim Taymans  <wim@fluendo.com>
10209
10210         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10211         Answer LATENCY query.
10212
10213 2007-02-15  Wim Taymans  <wim@fluendo.com>
10214
10215         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10216         (GST_START_TEST):
10217         Improve debugging.
10218
10219 2007-02-15  Wim Taymans  <wim@fluendo.com>
10220
10221         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10222         (gst_pad_dispatcher):
10223         Improve debugging of default pad dispatcher and query functions.
10224
10225 2007-02-15  Wim Taymans  <wim@fluendo.com>
10226
10227         * docs/gst/gstreamer-sections.txt:
10228         Remove old unused method.
10229
10230 2007-02-13  Wim Taymans  <wim@fluendo.com>
10231
10232         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10233         Fix check
10234
10235 2007-02-13  Wim Taymans  <wim@fluendo.com>
10236
10237         * docs/design/part-seeking.txt:
10238         Some small update.
10239
10240         * gst/gstsegment.c: (gst_segment_set_seek):
10241         Revert old bogus change that should make seeking work again.
10242
10243 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10244
10245         * docs/random/ensonic/dynlink.txt:
10246         * docs/random/ensonic/interfaces.txt:
10247         * docs/random/ensonic/receipies.txt:
10248           Possible dynamic reconnection api, plus some type fixes the other two
10249           docs.
10250
10251 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10252
10253         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10254         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10255         Also check for an absolute path following file:// in the filesrc
10256         element. Remove redundant check and call g_path_is_absolute() on the
10257         unescaped location.
10258
10259 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10260
10261         * docs/design/draft-klass.txt:
10262           Add existing category analysis.
10263           
10264         * gst/gstcaps.c:
10265           Fix doc example, framerate is a fraction.
10266
10267 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10268
10269         * configure.ac:
10270         * docs/gst/Makefile.am:
10271         * docs/gst/gstreamer-sections.txt:
10272         * docs/libs/Makefile.am:
10273           Erm, forgot a bunch of --extra-dir.
10274
10275 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10276
10277         * configure.ac:
10278         * docs/gst/Makefile.am:
10279         * docs/libs/Makefile.am:
10280         * docs/plugins/Makefile.am:
10281           Add crossreferences to glib/gobject docs.
10282
10283 2007-02-12  Wim Taymans  <wim@fluendo.com>
10284
10285         * docs/design/draft-latency.txt:
10286         Small update.
10287
10288         * docs/libs/gstreamer-libs-sections.txt:
10289         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10290         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10291         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10292         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10293         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10294         (gst_base_sink_get_position), (gst_base_sink_query),
10295         (gst_base_sink_change_state):
10296         * libs/gst/base/gstbasesink.h:
10297         API: gst_base_sink_query_latency() to let subclasses query the upstream
10298         latency.
10299         API: gst_base_sink_get_latency() to let subclasses query the configured
10300         latency in the sink.
10301         Implement query and set latency.
10302         Update some docs.
10303         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10304         don't continue preroll when we are flushing. Fixes #405284.
10305
10306         * tests/check/pipelines/stress.c: (change_state_timeout),
10307         (quit_timeout), (GST_START_TEST), (stress_suite):
10308         Test for #405284.
10309
10310 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10311
10312         Patch by: René Stadler <mail at renestadler de>
10313
10314         * docs/gst/gstreamer-sections.txt:
10315         * gst/gsttaglist.c: (_gst_tag_initialize):
10316         * gst/gsttaglist.h:
10317           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10318
10319 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10320
10321         * docs/libs/Makefile.am:
10322           Fix path to core docs.
10323
10324         * gst/gstbin.c: (gst_bin_get_by_interface),
10325         (gst_bin_iterate_all_by_interface):
10326           Refix docs by also renaming 'interface' to 'iface' in implementation.
10327
10328         * docs/gst/gstreamer-sections.txt:
10329         * gst/gstcaps.c:
10330         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10331         * gst/gstchildproxy.h:
10332         * gst/gstelementfactory.c:
10333         * gst/gstpadtemplate.h:
10334         * libs/gst/controller/gstcontroller.c:
10335         (gst_controlled_property_new):
10336           Document more.
10337
10338 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10339
10340         * gst/gstbin.h:(gst_bin_get_by_interface),
10341         (gst_bin_iterate_all_by_interface):
10342         Replace interface parameter name by iface as interface is 
10343         a reserved keyword in Visual Studio for C++ projects so it removes
10344         a build error for application developpers using VS.
10345         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10346         Fix a bug on Windows in uri format check. Now the prefix checked
10347         is file:// and next we check if the path after file:// is absolute.
10348         * win32/common/libgstbase.def:
10349         * win32/common/libgstdataprotocol.def:
10350         * win32/common/libgstgstreamer.def:
10351         Add new exported functions.
10352
10353 2007-02-09  Andy Wingo  <wingo@pobox.com>
10354
10355         * tests/check/pipelines/simple-launch-lines.c
10356         (simple_launch_lines_suite, test_tee): Disable tee test until I
10357         have time to fix it :-(
10358
10359         * tests/check/Makefile.am (noinst_HEADERS): 
10360         * tests/check/libs/libsabi.c: 
10361         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10362         * tests/check/gst/gstabi.c: 
10363         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10364
10365         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10366         tests for push and pull tee behavior.
10367
10368         * plugins/elements/gsttee.h: 
10369         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10370         mark as deprecated as well as unimplemented. It was a crack idea.
10371         Add support for tee operating in pull mode, off by default.
10372
10373         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10374         normal-case logs down to LOG, raise errors to WARNING.
10375         (gst_registry_xml_read_cache): Don't log before calling a function
10376         that logs.
10377
10378         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10379         exit (registry finalize).
10380         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10381         DEBUG log when we emit signals that people don't even have the
10382         chance to connect to.
10383         (gst_registry_scan_path_level): Less logging in the normal case.
10384
10385 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10386
10387         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10388
10389         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10390         Correctly generate EOS for non-seekable files. We don't have a total
10391         length for them and would get an unexpected end of file if we only
10392         special-cased for regular files. (Fixes: #404569)
10393
10394 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10395
10396         * tests/check/elements/filesrc.c: (GST_START_TEST),
10397         (filesrc_suite):
10398         Add unit test for the GstURIHandler interface in filesrc. This also
10399         tests the newly added file://localhost/foo/bar support.
10400
10401 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10402
10403         * gst/gstelementfactory.h:
10404           The klass string is not a hierarchy. Add reference to the design doc
10405           for more information and common types.
10406
10407 2007-02-02  Wim Taymans  <wim@fluendo.com>
10408
10409         * gst/gstquery.c: (gst_query_new_latency):
10410         Remove old structure field.
10411
10412 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10413
10414         * tools/gst-launch.1.in:
10415           Give example for network streaming (#351998)
10416
10417 2007-02-02  Wim Taymans  <wim@fluendo.com>
10418
10419         * docs/gst/gstreamer-sections.txt:
10420         Add docs for new methods.
10421
10422         * gst/gstevent.c: (gst_event_new_latency),
10423         (gst_event_parse_latency):
10424         * gst/gstevent.h:
10425         Add new LATENCY event to configure latency in a pipeline.
10426         API: gst_event_new_latency
10427         API: gst_event_parse_latency
10428
10429         * gst/gstmessage.c: (gst_message_new_buffering),
10430         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10431         (gst_message_new_latency), (gst_message_parse_buffering),
10432         (gst_message_parse_lost_preroll):
10433         * gst/gstmessage.h:
10434         Added messages used in draft-latency.
10435         API: gst_message_new_lost_preroll
10436         API: gst_message_parse_lost_preroll
10437         API: gst_message_new_prerolled
10438         API: gst_message_new_latency
10439
10440         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10441         (gst_query_parse_latency):
10442         * gst/gstquery.h:
10443         Implemented new latency query as in design doc.
10444         API: gst_query_new_latency
10445         API: gst_query_set_latency
10446         API: gst_query_parse_latency
10447
10448 2007-02-02  Wim Taymans  <wim@fluendo.com>
10449
10450         * docs/design/draft-latency.txt:
10451         Slight redesign to allow for dynamic latency adjustments.
10452
10453         * docs/design/part-negotiation.txt:
10454         Fix some typos.
10455
10456 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10457
10458         reviewed by: Wim Taymans <wim@fluendo.com>
10459
10460         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10461         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10462         Allow file://localhost/foo/bar URLs and correctly fail for every other
10463         hostname that one sets. This was gnomevfssrc is linked for those if
10464         installed as it can handle it (#403172)
10465
10466 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10467
10468         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10469
10470         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10471         (unref_data), (gst_collect_pads_add_pad_full):
10472         * libs/gst/base/gstcollectpads.h:
10473         Don't put the previously added destroy notify in the GstCollectData
10474         struct as all it's padding is already used and we don't want to break
10475         ABI. Instead put in the pad's GObject data for now. This should be
10476         cleaned up for 0.11 (#402393).
10477
10478 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10479
10480         reviewed by: Wim Taymans <wim@fluendo.com>
10481
10482         * docs/libs/gstreamer-libs-sections.txt:
10483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10484         (unref_data), (gst_collect_pads_add_pad),
10485         (gst_collect_pads_add_pad_full):
10486         * libs/gst/base/gstcollectpads.h:
10487         API: Add function to specify a destroy notification for custom
10488         GstCollectData when adding new pads in GstCollectPads (#402393).
10489
10490 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10491
10492         * po/sv.po:
10493           Update Swedish translation (#378255).
10494
10495 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10496
10497         * docs/design/draft-klass.txt:
10498           Fix the previous change, this is a list of categories and not a hierarchy.
10499
10500 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10501
10502         * docs/design/draft-klass.txt:
10503           Add info about how to get a list of used classes.
10504
10505 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10506
10507         * plugins/elements/gsttypefindelement.c:
10508         (gst_type_find_element_chain_do_typefinding),
10509         (gst_type_find_element_change_state):
10510           Don't leak found caps in chain function (no idea why that never
10511           showed up as a leak anywhere).
10512
10513 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10514
10515         * gst/gstplugin.h:
10516           Fix and expand GstPluginDesc API docs.
10517
10518 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10519
10520         * gst/gstcaps.c:
10521         * gst/gstelementfactory.c:
10522         * gst/gstpadtemplate.h:
10523           api doc fixes
10524
10525         * libs/gst/controller/gstcontroller.c:
10526         (gst_controlled_property_new):
10527         * tests/examples/controller/audio-example.c:
10528           comment fixes
10529
10530 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10531
10532         * configure.ac:
10533           comment about refining the xml deps
10534
10535         * docs/manuals.mak:
10536           comments about moving away from jade for docs
10537         
10538         * gst/gst.c:
10539           recommit the ifdefs to use the binary registry
10540         
10541         * gst/gstbin.c: (gst_bin_change_state_func):
10542           this break is obsolete
10543
10544         * gst/gstelementfactory.h:
10545           better GST_ELEMENT_DETAILS docs, add comment about translation
10546
10547         * gst/gstinfo.h:
10548           remove eol slash
10549
10550         * gst/gstobject.c: (gst_signal_object_get_type):
10551           add G_UNLIKELY as usual
10552
10553         * gst/gstpad.c: (gst_pad_event_default):
10554           add fall trhu comment
10555
10556         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10557         (gst_registry_binary_initialize_magic),
10558         (gst_registry_binary_save_string),
10559         (gst_registry_binary_save_pad_template),
10560         (gst_registry_binary_save_feature),
10561         (gst_registry_binary_save_plugin),
10562         (gst_registry_binary_write_cache),
10563         (gst_registry_binary_check_magic),
10564         (gst_registry_binary_load_pad_template),
10565         (gst_registry_binary_load_feature),
10566         (gst_registry_binary_load_plugin),
10567         (gst_registry_binary_read_cache):
10568           comment typo and formatting
10569
10570         * gst/gstutils.c: (gst_element_state_get_name),
10571         (gst_element_state_change_return_get_name):
10572           remove obsolete breaks
10573
10574         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10575           add FIXME 0.11 and remove cpp comment
10576
10577 2007-01-29  Edward Hervey  <edward@fluendo.com>
10578
10579         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10580         Fix print statement in an even more portable way.
10581
10582 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10583
10584         * docs/gst/gstreamer-sections.txt:
10585         * gst/gstutils.h:
10586           API: add GST_ROUND_DOWN_* macros (#401781).
10587
10588 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10589
10590         * docs/gst/gstreamer.types.in:
10591         * gst/gstregistry.c: (gst_registry_class_init):
10592           Document registry signals and make gtk-doc pick them up (#401381).
10593
10594 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * docs/pwg/building-testapp.xml:
10597           Add some audioconverts and audioresample to the pipeline, and some
10598           more comments and error handling.
10599
10600 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10601
10602         * docs/manual/manual.xml:
10603         * docs/pwg/pwg.xml:
10604           Fix typo (#400987).
10605
10606 2007-01-26  Wim Taymans  <wim@fluendo.com>
10607
10608         * gst/gstcaps.c: (gst_static_caps_get):
10609         Init caps flags too.
10610
10611 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10612
10613         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10614
10615         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10616         If not using mmap'ed files try to seek to the end instead of the
10617         start to determine whether we can seek at all. This fixes the case
10618         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10619         seeks for everything afterwards fail. Fixes #400656
10620
10621 2007-01-25  Wim Taymans  <wim@fluendo.com>
10622
10623         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10624         Add some refcount debugging.
10625         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10626         in multiple streaming threads.
10627
10628 2007-01-25  Wim Taymans  <wim@fluendo.com>
10629
10630         Patch by: David Schleef <ds at schleef dot org>
10631
10632         * docs/libs/gstreamer-libs-sections.txt:
10633         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10634         * libs/gst/base/gstadapter.h:
10635         API: gst_adapter_copy() that can reduce the amount of memcpy when
10636         getting data from the adapter. Fixes #388201.
10637
10638 2007-01-25  Edward Hervey  <edward@fluendo.com>
10639
10640         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10641         In print statements, "%x" is for guint. Fixes build on macosx.
10642
10643 2007-01-24  Edward Hervey  <edward@fluendo.com>
10644
10645         * plugins/elements/gstmultiqueue.c:
10646         (gst_multi_queue_loop):
10647         Small fix.
10648         (single_queue_overrun_cb), (single_queue_underrun_cb),
10649         (single_queue_check_full), (gst_single_queue_new):
10650         Implement single queue growth system.
10651         This uses the extra-size properties, and will grow single queues by
10652         that much if one goes full whereas there are others empty. This is
10653         called extra-mode in the code.
10654         When a single queue's levels go back below the initial max-size
10655         limits, it is no longer in extra-mode. This is to ensure we don't
10656         consume too much memory.
10657         Fixes #399875
10658
10659 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10660
10661         * gst/gst.c: (gst_init_get_option_group):
10662           Make warning about late g_thread_init() calls a bit more explicit,
10663           so that it's more obvious to application developers what they need
10664           to do if a user files a bug against their application.
10665
10666 2007-01-22  Edward Hervey  <edward@fluendo.com>
10667
10668         * plugins/elements/gstmultiqueue.c:
10669         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10670         Remove previous hack of unsetting the flushing flag for the source pad
10671         instead of activating it. Instead, fix the source pad activate function
10672         so that it no longer depends on having a parent set or not.
10673
10674 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10675
10676         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10677
10678         * docs/manual/basics-bus.xml:
10679           Fix example code, gst_element_unref() doesn't exist any longer.
10680
10681 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10682
10683         Patch by: Mark Nauwelaerts <manauw at skynet be>
10684
10685         * gst/gstpad.c:
10686           Fix two docs typoes (#399094).
10687
10688 2007-01-19  Edward Hervey  <edward@fluendo.com>
10689
10690         * docs/faq/gst-uninstalled:
10691         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10692         depending on libgstbaseutils can work in uninstalled environment.
10693
10694 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10695
10696         * gst/gsttaglist.h:
10697         * gst/gsttagsetter.c:
10698         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10699         statement for new tag.
10700
10701 2007-01-17  Edward Hervey  <edward@fluendo.com>
10702
10703         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10704         When dynamically creating single queues, activate sinkpad before adding
10705         it.
10706         We should be doing the same thing for the source pad, but we can't
10707         since it would call a method which needs the parent to be set in order
10708         to work propertly. Instead of activating the source pad, we just unset
10709         the flushing flag, which is the minimal requirement for adding a pad
10710         to an element in a state greater than READY.
10711
10712 2007-01-17  Edward Hervey  <edward@fluendo.com>
10713
10714         * docs/faq/gst-uninstalled:
10715         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10716         Mac OS X.
10717
10718 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * tests/check/gst/gstabi.c:
10721         * tests/check/gst/struct_hppa.h:
10722         * tests/check/libs/libsabi.c:
10723         * tests/check/libs/struct_hppa.h:
10724           Add ABI structs for HPPA (see #393796).
10725
10726 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10727
10728         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10729           Actually write ABI structs to the file specified in the GST_ABI
10730           environment variable, as the message we print claims we would.
10731
10732 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * tests/check/gst/gsttask.c:
10735           Fix header comment.
10736
10737 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10738
10739         * gst/gsttaglist.c: (_gst_tag_initialize):
10740           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10741           previous two entries.
10742
10743 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10744
10745         * docs/gst/gstreamer-sections.txt:
10746         * gst/gsttaglist.c: (_gst_tag_initialize):
10747         * gst/gsttaglist.h:
10748           Add tag support for beat-per-minute.
10749
10750 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10751
10752         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10753         (gst_registry_binary_initialize_magic),
10754         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10755         (gst_registry_binary_save_pad_template),
10756         (gst_registry_binary_save_feature),
10757         (gst_registry_binary_save_plugin),
10758         (gst_registry_binary_write_cache),
10759         (gst_registry_binary_check_magic),
10760         (gst_registry_binary_load_pad_template),
10761         (gst_registry_binary_load_feature),
10762         (gst_registry_binary_load_plugin),
10763         (gst_registry_binary_read_cache):
10764         * gst/gstregistrybinary.h:
10765           Use glib types, cleanup comments, impement interfaces and uri-types.
10766
10767 2007-01-13  Andy Wingo  <wingo@pobox.com>
10768
10769         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10770         getrange() to return buffers with other caps, while we fix
10771         demuxers and typefind, or otherwise change part-negotiation.txt.
10772
10773 2007-01-12  Andy Wingo  <wingo@pobox.com>
10774
10775         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10776         Factor start/stop into this private function instead of partially
10777         in activate functions and partially in the change_state function.
10778         Fixes setup before the element has changed from READY->PAUSED, as
10779         is the case in pull-mode pipelines.
10780         (gst_base_transform_sink_activate_push)
10781         (gst_base_transform_src_activate_pull): Refactor to use
10782         gst_base_transform_activate().
10783         (gst_base_transform_change_state): Removed, not needed any more.
10784
10785         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10786         Truncate before fixating.
10787         
10788         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10789         Don't set_caps() if the result of fixating is ANY, as it's not
10790         supported, and not necessary in the case of a link with no
10791         template caps on either side. Fixes tests/check/libs/basesrc in
10792         some pull-mode tests.
10793
10794         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10795         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10796         (gst_base_transform_src_activate_pull): 
10797         Track the activation mode.
10798         (gst_base_transform_setcaps): In pull mode, when activating the
10799         src pad, after activating the sink pad, activate the sink pad's
10800         peer, as discussed in part-negotiation.txt.
10801
10802         * libs/gst/base/gstbasesrc.h: 
10803         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10804         vmethod, as in basesink.
10805
10806         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10807
10808         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10809         mode, first proxy the setcaps to the peer pad.
10810         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10811         new fixate vmethod.
10812         (gst_base_sink_default_activate_pull): Rename from
10813         gst_base_sink_activate_pull.
10814         (gst_base_sink_negotiate_pull): New function, performs negotiation
10815         in pull mode before calling ::activate_pull().
10816         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10817         vmethod instead of the default implementation. I have no idea how
10818         this worked before. Negotiate before calling activate_pull.
10819
10820         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10821         sink pads in pull mode. In addition to being correct, fixes
10822         filesrc ! decodebin ! identity ! fakesink.
10823         (gst_pad_get_range, gst_pad_pull_range): Don't call
10824         gst_pad_set_caps() if the caps changes; instead error out with
10825         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10826
10827 2007-01-12  Andy Wingo  <wingo@pobox.com>
10828
10829         * docs/design/part-negotiation.txt: Update with more policy.
10830
10831 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         * libs/gst/check/gstbufferstraw.h:
10834         * libs/gst/check/gstcheck.h:
10835           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10836           belongs.
10837
10838 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10839
10840         * tests/check/Makefile.am:
10841         * tests/check/gst/.cvsignore:
10842         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10843         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10844         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10845         (GST_START_TEST), (gst_tag_setter_suite):
10846           Add minimal unit test for beforementioned GstTagSetter bug.
10847
10848 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10849
10850         Patch by: René Stadler <mail at renestadler dot de>
10851
10852         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10853           gst_tag_list_merge() returns a new list, so it's not the best idea
10854           to ingore its return value. Effectively meant that tags could only
10855           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10856           Also add function guard to require a non-NULL taglist as input (has
10857           always been so due to gst_tag_list_copy(), just making it explicit).
10858
10859 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10860
10861         * docs/random/draft-missing-plugins.txt:
10862           Some additions: mention new API that is supposed to be used at the
10863           various stages; short blob about new gst-inspect introspection
10864           option; mention potential future problem with plugins that have
10865           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10866
10867 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10868
10869         * tools/gst-inspect.c:
10870         (print_plugin_automatic_install_info_codecs),
10871         (print_plugin_automatic_install_info_protocols),
10872         (print_plugin_automatic_install_info), (main):
10873         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10874         introspect plugin files and get machine-parsable output that corresponds
10875         to the last bit of the missing-plugin installer string (small gotcha:
10876         doesn't take into account ranks).
10877
10878 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10879
10880         * configure.ac:
10881         * docs/gst/gstreamer-sections.txt:
10882         * gst/Makefile.am:
10883         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10884         (gst_registry_lookup_locked):
10885         * gst/gstregistry.h:
10886         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10887         (gst_registry_binary_initialize_magic),
10888         (gst_registry_binary_save_string),
10889         (gst_registry_binary_save_pad_template),
10890         (gst_registry_binary_save_feature),
10891         (gst_registry_binary_save_plugin),
10892         (gst_registry_binary_write_cache),
10893         (gst_registry_binary_check_magic),
10894         (gst_registry_binary_load_pad_template),
10895         (gst_registry_binary_load_feature),
10896         (gst_registry_binary_load_plugin),
10897         (gst_registry_binary_read_cache):
10898         * gst/gstregistrybinary.h:
10899         * gst/gstregistryxml.c: (load_feature),
10900         (gst_registry_xml_read_cache):
10901           commit binary registry (disabled by default, see #359653)
10902
10903 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10904
10905         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10906           Fix 'make check' too.
10907
10908 2007-01-10  Andy Wingo  <wingo@pobox.com>
10909
10910         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10911         notes.
10912         
10913         * docs/design/part-negotiation.txt: Update with, um, one way that
10914         pull-mode negotiation might work?
10915
10916         * gst/gstpad.h: 
10917         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10918         that the pad must be a src pad; makes sense to call it the other
10919         way in pull mode, and the logic is symmetric anyway.
10920
10921 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10922
10923         * plugins/elements/gstfilesink.c:
10924           Include <stdio.h> for fseeko().
10925
10926 2007-01-10  Wim Taymans  <wim@fluendo.com>
10927
10928         * gst/gstevent.c:
10929         * gst/gstevent.h:
10930         Reserve LATENCY event.
10931
10932 2007-01-09  Wim Taymans  <wim@fluendo.com>
10933
10934         * docs/design/draft-latency.txt:
10935         Updates.
10936
10937 2007-01-09  Wim Taymans  <wim@fluendo.com>
10938
10939         * docs/design/draft-latency.txt:
10940         Updates.
10941
10942         * gst/gstelement.h:
10943         * gst/gststructure.c:
10944         * gst/gsttrace.c:
10945         Small typo fixes.
10946
10947 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10948
10949         * tests/check/.cvsignore:
10950           Ignore test-registry.xml as well.
10951
10952 2007-01-09  Wim Taymans  <wim@fluendo.com>
10953
10954         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10955         unref data at the end when we are done with the pad.
10956
10957 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10958
10959         * docs/gst/gstreamer-sections.txt:
10960         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10961         (init_post), (gst_deinit), (gst_update_registry):
10962         * gst/gst.h:
10963           API: add gst_update_registry() (#391296).
10964
10965         * tests/check/Makefile.am:
10966         * tests/check/gst/gstregistry.c:
10967         * tests/check/gst/.cvsignore:
10968           Simple unit test for the above.
10969
10970 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         * gst/gstregistry.c: (gst_registry_scan_path_level):
10973           Plugin extension on HP-UX is .sl, add that to the list of approved
10974           plugin extensions (see #393796).
10975
10976         * tests/check/gst/gstpad.c: (GST_START_TEST):
10977           ulong => gulong. Fixes compilation with HP-UX compiler.
10978
10979         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10980           Fix compilation if valgrind headers are not available.
10981
10982 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10983
10984         * win32/common/libgstreamer.def: 
10985           Add new exported function.
10986         * win32/vs6/libgstbase.dsp: 
10987           Add gstdataqueue.c to the build.
10988         * win32/vs6/libgstcoreelements.dsp:
10989           Add gstmultiqueue.c to the build.
10990         
10991 2007-01-06  Andy Wingo  <wingo@pobox.com>
10992
10993         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10994         activate_pull(), providing for a way to specialize the process of
10995         spawning a thread to pull on the sink pad. There is a default
10996         implementation.
10997
10998         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10999         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11000         (gst_base_sink_init): Renamed pad activation functions (inserting
11001         "_pad" in their names). Refactor to use the new activate_pull
11002         vmethod, as appropriate.
11003         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11004         default activate_pull function to start a task pulling from the
11005         sink pad, as before.
11006
11007         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11008         on the pads if necessary, as in push()/chain(). Update docs.
11009         Shouldn't affect existing pull() usage as it is currently only
11010         being used on buffers without caps.
11011
11012 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11013
11014         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11015         (init_pre):
11016           Call g_thread_init() first thing in gst_init() / gst_check_init().
11017           When initialisation is done via gst_init_get_option_group() and
11018           GOption parsing, issue a warning if the GLib thread system has not
11019           been initialised yet by the time gst_init_get_option_group() is
11020           called, as it's quite likely other GLib functions such as
11021           g_option_context_new() have been called already then, and
11022           g_thread_init() must be called before any other GLib function. The
11023           application in question must be fixed in that case, since memory
11024           corruption might happen otherwise.
11025           We issue the warning because even if the GLib folks decide to work
11026           around the problem on their end in future, this is still an issue
11027           with all GLib versions >= 2.10.0, so we should warn until we depend
11028           on a GLib version we know to be safe.
11029           Update documentation as well.
11030           Closes bug #391278.
11031
11032 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11033
11034         * tools/gst-inspect.c: (main):
11035         * tools/gst-launch.c: (main):
11036         * tools/gst-typefind.c: (main):
11037         * tools/gst-xmlinspect.c: (main):
11038           Call g_thread_init() really really early, before any other GLib
11039           function (see #342564 and recent discussion on gtk-devel-list).
11040
11041 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11042
11043         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11044
11045         * gst/gst_private.h:
11046         * gst/gstconfig.h.in:
11047         * gst/gstinfo.h:
11048           On win32, all the __declspec stuff for symbol exporting is
11049           apparently only needed with MSVC, but doesn't work with MingW.
11050           Fixes compilation with MingW and #391909.
11051
11052 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11055           Change some GST_ERROR_OBJECT that aren't really errors to
11056           GST_WARNING_OBJECT in order to reduce terminal spam.
11057
11058 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11059
11060         * tests/check/Makefile.am:
11061           disable test again, as there seem to be still race problems
11062
11063 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11064
11065         * tests/check/Makefile.am:
11066         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11067         (GST_START_TEST), (queue_suite):
11068           enable queue test again, add tests for the leaky behaviour
11069
11070 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11071
11072         * configure.ac:
11073         * tests/examples/Makefile.am:
11074           Compile adapter test/example only if the required headers are
11075           available (fixes #391915).
11076
11077 2007-01-01  David Schleef  <ds@schleef.org>
11078
11079         * gst/gstplugin.c:
11080           Restore the previous signal handler for SIGSEGV instead of
11081           setting to default, since we may have stolen it away from
11082           someone.  (i.e., Mono)
11083
11084 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11085
11086         * docs/random/draft-missing-plugins.txt:
11087           Some small additions and clarifications.
11088
11089 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11090
11091         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11092           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11093           since that can lead to random memory corruptions and crashes
11094           (may or may not be related to #383244, #386711, and #386711).
11095
11096 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11097
11098         * tests/check/.cvsignore:
11099         * tests/check/Makefile.am:
11100           sync .cvsignome and CLEANFILES
11101
11102 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11103
11104         * tests/check/Makefile.am:
11105           fix distcheck
11106
11107 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11108
11109         * docs/design/part-states.txt:
11110           two tiny additional comments
11111         
11112         * gst/gststructure.c:
11113           doc fixing
11114
11115         * tests/check/Makefile.am:
11116         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11117         (GST_START_TEST):
11118           disable test for now, unless it gets fixed
11119
11120 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11121
11122         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11123         (GST_START_TEST):
11124           fix race in underrun test
11125
11126 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11127
11128         * tests/check/elements/.cvsignore:
11129           ignore more
11130
11131         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11132         (GST_START_TEST):
11133           try to narrow test failure
11134
11135 2006-12-21  David Schleef  <ds@schleef.org>
11136
11137         * plugins/elements/gstfakesrc.c:
11138           Use g_random_int_range(), since it produces better random
11139           numbers in a range than almost-correct floating point code.
11140
11141 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11142
11143         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11144         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11145         (gst_check_teardown_sink_pad):
11146           do not automatically (de)activate pads
11147
11148         * tests/check/Makefile.am:
11149         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11150         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11151           add new, yet simple tests for queue
11152
11153         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11154         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11155         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11156         (GST_START_TEST):
11157         * tests/check/elements/identity.c: (cleanup_identity):
11158           consistent pad (de)activation
11159
11160 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11161
11162         Patch by: Sebastian Dröge  <slomo ubuntu com>
11163
11164         * libs/gst/base/gstcollectpads.c:
11165           Fix two doc typos (#387866).
11166
11167 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11168
11169         * docs/manual/advanced-dparams.xml:
11170           Fix typo (g_object_control_properties() doesn't exist).
11171
11172 2006-12-19  Edward Hervey  <edward@fluendo.com>
11173
11174         * gst/gstsegment.c: (gst_segment_set_seek):
11175         Fine tune the cases where the segment start/stop values are really
11176         updated.
11177         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11178         Add tests for the return values of gst_segment_set_seek().
11179
11180 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11181
11182         * gst/gst.c:
11183           Docs typo fix.
11184
11185         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11186         (gst_queue_init):
11187           Fix incorrect documentation and flesh it out a bit more.
11188           Set default values for the max properties on the GParamSpec as well,
11189           so it shows up correctly in gst-inspect.
11190
11191 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11192
11193         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11194           Correct docs of queue, add more detail and crosslink it more.
11195
11196 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11199           Print additional debug info when the stream isn't perfectly
11200           timestamped; don't try to use invalid durations.
11201
11202 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11203
11204         * docs/design/Makefile.am:
11205           Dist new design docs.
11206
11207 2006-12-16  Wim Taymans  <wim@fluendo.com>
11208
11209         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11210
11211         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11212         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11213         (gst_collect_pads_stop), (gst_collect_pads_event),
11214         (gst_collect_pads_chain):
11215         * libs/gst/base/gstcollectpads.h:
11216         Add refcounting to the collectpads data so we can track when it's safe
11217         to free the data. Fixes #383382.
11218
11219 2006-12-15  Wim Taymans  <wim@fluendo.com>
11220
11221         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11222         (gst_collect_pads_remove_pad):
11223         Automatically activate/deactivate pads when they are added to a
11224         started/stoped collectpads.
11225
11226 2006-12-15  Wim Taymans  <wim@fluendo.com>
11227
11228         * gst/gstelement.c: (gst_element_add_pad):
11229         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11230         * gst/gstpad.c: (gst_pad_init):
11231         Set pads to FLUSHING when they are created. Check, warn and fix when a
11232         demuxer adds an inactive pad to itself when running. Fixes #339326.
11233
11234 2006-12-15  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstelement.c: (gst_element_class_init),
11237         (gst_element_default_send_event), (gst_element_send_event),
11238         (gst_element_default_query), (gst_element_query):
11239         Expose default element send_event and query handling as vmethods that
11240         subclasses can chain up to.
11241
11242 2006-12-15  Wim Taymans  <wim@fluendo.com>
11243
11244         * gst/gstelement.c: (gst_element_set_state_func):
11245         Small documentation fixes.
11246
11247 2006-12-15  Wim Taymans  <wim@fluendo.com>
11248
11249         * docs/design/draft-latency.txt:
11250         Checked in draft for handling latency in pipelines.
11251
11252 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11253
11254         * Makefile.am:
11255         * gstreamer.doap:
11256         * gstreamer.spec.in:
11257           adding .doap file
11258
11259 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11260
11261         * gst/gst.c: (init_pre), (init_post):
11262           init_pre() and init_post() might be called via our GOptionGroup or
11263           from gst_init(), and we should skip both of them if we've already
11264           been initialised, otherwise we will init some things twice or add
11265           two default log functions.
11266
11267 2006-12-13  Edward Hervey  <edward@fluendo.com>
11268
11269         * docs/manual/basics-bus.xml:
11270         No, gst_main_loop does not exist. Its g_main_loop.
11271         Discovered by somebody who abused the copy-paste technique of coding :)
11272
11273 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         * gst/gstghostpad.c:
11276           Log ghostpad debug stuff to the GST_PADS category as well rather
11277           than just to the default category.
11278
11279 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * configure.ac:
11282         * gst/gst.c: (init_pre):
11283           Add some basic system details such as OS and architecture
11284           to the debug output if possible, courtesy of uname().
11285
11286 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11287
11288         * docs/gst/running.xml:
11289           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11290           environment variables.
11291
11292 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11293
11294         * tests/check/gst/gstbin.c: (GST_START_TEST):
11295         It is acceptable to have a refcount of 2 or 3 at this point in the
11296         test, because the pipeline might be just posting its state_change
11297         message. The next line then waits for that message to appear using
11298         bus_poll, so that should be fine too.
11299
11300 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11301
11302         * gst/gst.c: (ensure_current_registry_forking):
11303         Ignore EINTR when reading from the child registry pipe.
11304         Explicitly ignore the return value from close, since it makes no
11305         difference.
11306
11307         * gst/gstminiobject.c: (gst_mini_object_ref),
11308         (gst_mini_object_unref):
11309         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11310
11311         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11312         When removing cached plugins, remove their features too, so they're
11313         not visible after they've disappeared.
11314
11315         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11316         In the unlikely case that we are linking pads with no parents, don't
11317         crash trying to get the non-existent parent bin.
11318
11319         * gst/parse/grammar.y:
11320         Output debug in the PIPELINE category
11321
11322 2005-03-08  Wim Taymans  <wim@fluendo.com>
11323
11324         Patch by: René Stadler <mail at renestadler dot de>
11325
11326         * gst/gstclock.c: (gst_clock_new_periodic_id):
11327         Reject invalid clock times for interval of periodic ids.
11328         Fixes ##383506.
11329
11330 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11331
11332         * gst/gstelementfactory.c: (gst_element_factory_create):
11333         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11334         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11335         * tools/gst-inspect.c: (print_element_info):
11336         Fix refcounting of gst_plugin_feature_load to match the docs. 
11337         Fixes: #380129
11338
11339 2006-12-07  Wim Taymans  <wim@fluendo.com>
11340
11341         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11342         (gst_base_sink_get_position):
11343         Improve debugging of events.
11344
11345 2006-12-07  Wim Taymans  <wim@fluendo.com>
11346
11347         Patch by: René Stadler <mail at renestadler dot de>
11348
11349         * gst/gstclock.c: (gst_clock_id_wait):
11350         Make period ids add the interval to the origial requested time instead
11351         of the possibly updated time which can be wrong when there are multiple
11352         waiters for the same id. Fixes #382592.
11353
11354         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11355         (gst_system_clock_id_wait_jitter_unlocked),
11356         (gst_system_clock_id_wait_jitter):
11357         Fix restart in the async notify thread when an async entry is added to
11358         the front of the list. Fixes #381492. 
11359
11360         * tests/check/gst/gstsystemclock.c: (store_callback),
11361         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11362         Added test for multiple async waits.
11363         Added test for async wait order.
11364
11365 2006-12-07  Wim Taymans  <wim@fluendo.com>
11366
11367         * gst/gstbin.c: (gst_bin_query):
11368         Add some more docs about the POSITION query.
11369
11370 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11371
11372         * configure.ac:
11373         Bump version nano - back to CVS.
11374
11375 === release 0.10.11 ===
11376
11377 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11378
11379         * configure.ac:
11380           releasing 0.10.11, "Love never runs on time"
11381
11382 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11383
11384         * win32/common/libgstbase.def:
11385         * win32/common/libgstreamer.def:
11386         * win32/vs8/libgstbase.vcproj:
11387         * win32/vs8/libgstcoreelements.vcproj:
11388         * win32/vs8/libgstreamer.vcproj:
11389         Fix compilation on win32 under VS8
11390         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11391         Partially fixes #381175
11392
11393 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11394
11395         * gst/gstvalue.c: (gst_value_compare_fraction):
11396         If someone is foolish enough to compare 2 fractions with denominator =
11397         0, return UNORDERED rather than aborting.
11398
11399 2006-11-28  Edward Hervey  <edward@fluendo.com>
11400
11401         * libs/gst/base/Makefile.am:
11402         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11403         (gst_data_queue_base_init), (gst_data_queue_class_init),
11404         (gst_data_queue_init), (gst_data_queue_new),
11405         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11406         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11407         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11408         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11409         (gst_data_queue_set_flushing), (gst_data_queue_push),
11410         (gst_data_queue_pop), (gst_data_queue_drop_head),
11411         (gst_data_queue_set_property), (gst_data_queue_get_property):
11412         * libs/gst/base/gstdataqueue.h:
11413         New GstDataQueue object for threadsafe queueing. Most useful for
11414         elements that need some queueing functionnality.
11415         * docs/libs/gstreamer-libs-docs.sgml:
11416         * docs/libs/gstreamer-libs-sections.txt:
11417         Insert documentation for GstDataQueue
11418         * plugins/elements/Makefile.am:
11419         * plugins/elements/gstelements.c:
11420         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11421         (gst_multi_queue_class_init), (gst_multi_queue_init),
11422         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11423         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11424         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11425         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11426         (gst_multi_queue_loop), (gst_multi_queue_chain),
11427         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11428         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11429         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11430         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11431         (wake_up_next_non_linked), (compute_next_non_linked),
11432         (single_queue_overrun_cb), (single_queue_underrun_cb),
11433         (single_queue_check_full), (gst_single_queue_new):
11434         * plugins/elements/gstmultiqueue.h:
11435         New multiqueue element, using GstDataQueue. Used for queuing multiple
11436         streams.
11437         Closes #344639 and #347785
11438
11439 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11440
11441         * docs/pwg/advanced-types.xml:
11442           add more missing type details
11443
11444         * tools/gst-run.c: (main):
11445           remove unused variable
11446
11447 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11448
11449         * docs/libs/Makefile.am:
11450         * docs/libs/gstreamer-libs.types:
11451           add types of base classes to enable gobject specific stuff in the docs
11452
11453         * docs/random/ensonic/embedded.txt:
11454           more ideas about isolating platform specific things
11455
11456 2006-11-20  Wim Taymans  <wim@fluendo.com>
11457
11458         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11459
11460         * libs/gst/check/gstcheck.h:
11461         Fix compilation and running against 0.9.4. Fixes #377332.
11462
11463 2006-11-20  Wim Taymans  <wim@fluendo.com>
11464
11465         * gst/gstsegment.c: (gst_segment_set_seek),
11466         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11467         (gst_segment_to_running_time):
11468         Fix boundary checking in to_running_time() and to_stream_time().
11469         Fixes #377183.
11470
11471         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11472         stream and running time can now be calculated for the complete
11473         clipped segment.
11474
11475 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11476
11477         * gst/gstpad.c: (gst_pad_push_event):
11478           Can't access event structure after giving away ownership of
11479           the event.
11480
11481 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11482
11483         * docs/random/ensonic/embedded.txt:
11484         * docs/random/ensonic/profiling.txt:
11485         * docs/random/ensonic/receipies.txt:
11486           more thinking
11487
11488 2006-11-13  Wim Taymans  <wim@fluendo.com>
11489
11490         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11491
11492         * gst/gstpad.c:
11493         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11494
11495 2006-11-13  Wim Taymans  <wim@fluendo.com>
11496
11497         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11498
11499         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11500         Store new length in segment duration so we don't keep on calling the
11501         potentially expensize get_size() call. Fixes #370865.
11502
11503 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11504
11505         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11506
11507         * win32/common/libgstreamer.def:
11508           Add two missing symbols (#366492).
11509
11510 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11511
11512         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11513         (gst_adapter_take_buffer):
11514         Fix format string to use all its arguments.
11515         Remove useless >= check on a guint
11516
11517 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11518
11519         * tests/examples/adapter/.cvsignore:
11520         Ignore build file as commanded by the build-bot
11521
11522 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11523
11524         * tests/examples/adapter/Makefile.am:
11525         * tests/examples/adapter/adapter_test.c: (run_test_take),
11526         (run_test_take_buffer), (run_tests), (main):
11527
11528         Add new files from the previous commit
11529
11530 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11531
11532         * Makefile.am:
11533         * configure.ac:
11534         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11535         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11536         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11537         * libs/gst/base/gstadapter.h:
11538         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11539         (GST_START_TEST), (gst_adapter_suite):
11540         * tests/examples/Makefile.am:
11541         Do some optimisation work in GstAdapter to avoid copies in more cases.
11542         It could still do slightly better by merging buffers when
11543         gst_buffer_is_span_fast is true, but is already faster. 
11544
11545         Also, avoid traversing a single-linked list to append each incoming 
11546         buffer inside the adapter.
11547
11548         Add simple test app that times the adapter behaviour in different
11549         situations, and extend the unit test to check that bytes enter and
11550         exit the adapter in their original order.
11551
11552 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11553
11554         * docs/random/draft-missing-plugins.txt:
11555           Update: use element message instead of adding a new message
11556           type to the core; don't provide GStreamer API to initiate the
11557           plugin download, just provide API to compose the strings needed
11558           and let an external libgimmestuff handle the rest.
11559
11560 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11561
11562         * tools/gst-inspect.c: (print_element_properties_info):
11563         Print a string instead of 'unknown type' for GValueArray properties
11564
11565 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11566
11567         * docs/random/draft-missing-plugins.txt:
11568         More small fixes.
11569
11570 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11571
11572         * tests/examples/typefind/typefind.c: (type_found), (main):
11573           Make typefind element example work again (#371894); add a
11574           license header.
11575
11576 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11577
11578         * docs/random/draft-missing-plugins.txt:
11579           Commit initial draft about how to deal with missing plugins,
11580           needs work (API too).
11581
11582 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11583
11584         * docs/pwg/advanced-types.xml:
11585           documents the new caps elements (see #363118)
11586
11587 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11588
11589         * gst/gstplugin.c: (gst_plugin_load_file):
11590         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11591         (gst_file_src_map_region), (gst_file_src_start):
11592         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11593         (gst_file_index_commit):
11594           Use g_strerror() instead of strerror() - we want UTF-8.
11595
11596 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11597
11598         Patch by: Peter Kjellerstedt <pkj at axis com>
11599
11600         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11601           Another printf fix (#371493).
11602
11603 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11604
11605         * tests/check/gst/gsttag.c:
11606           relicence (okay with author=company)
11607
11608 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11609
11610         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11611         (gst_pad_push_event):
11612           Enhance debug and improve docs
11613         
11614         * gst/gsturi.c:
11615           Fix docs
11616
11617 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11618
11619         * docs/random/ensonic/distributed.txt:
11620         * docs/random/ensonic/profiling.txt:
11621           more ideas
11622
11623 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11624
11625         * docs/gst/gstreamer-sections.txt:
11626           add new API and fix the build
11627           
11628         * gst/gstbin.c: (gst_bin_recalc_state):
11629         * gst/gstelement.c: (gst_element_message_full),
11630         (gst_element_get_state_func), (gst_element_set_state_func):
11631           use new API and improve logging
11632         
11633         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11634         * gst/gstutils.h:
11635           API: add function to get StateChangereturn names to improve logs 
11636
11637 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11638
11639         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11640           I'm considering shooting the next person to put strerror stuff
11641           in the translateable part of the message.
11642
11643 2006-11-03  Wim Taymans  <wim@fluendo.com>
11644
11645         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11646         Get the type and printf conversion specifiers right.
11647
11648 2006-11-03  Wim Taymans  <wim@fluendo.com>
11649
11650         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11651
11652         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11653         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11654         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11655         Some small cleanups. Improve debugging.
11656         * gst/gstpad.h:
11657         Signal all waiting threads with a broadcast instead of just one.
11658         Fixes #369942.
11659
11660 2006-11-03  Wim Taymans  <wim@fluendo.com>
11661
11662         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11663         (gst_fd_src_create):
11664         Add some debugging. 
11665         Only update fd when it's different from the old.
11666
11667 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11668
11669         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11670           Printf fixes for PPC/OSX, take two (#369366).
11671
11672 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11673
11674         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11675
11676         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11677         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11678         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11679           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11680           don't cast to long long for portability reasons, but use
11681           GLib's types instead.
11682
11683 2006-10-30  Michael Smith  <msmith@fluendo.com>
11684
11685         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11686           Get the arguments to lseek() the right way around.
11687           Fixes 367677.
11688
11689 2006-10-30  Wim Taymans  <wim@fluendo.com>
11690
11691         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11692
11693         * gst/gstinfo.h:
11694         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11695
11696 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11697
11698         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11699
11700         * docs/design/part-MT-refcounting.txt:
11701         * docs/random/wtay/capsnego2-docs:
11702         * gst/gstclock.c:
11703         * gst/gstxml.c:
11704           Typo fixes (#366212).
11705
11706 2006-10-28  Wim Taymans  <wim@fluendo.com>
11707
11708         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11709
11710         * gst/gst.c:
11711         * win32/common/libgstbase.def:
11712         * win32/common/libgstreamer.def:
11713         * win32/vs8/libgstbase.vcproj:
11714         * win32/vs8/libgstcontroller.vcproj:
11715         Add needed entries in .def files.
11716         Use HAVE_UNISTD_H.
11717         Rearrange def files in vs8 solutions. Fixes #366286.
11718
11719 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         * win32/common/gstconfig.h:
11722           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11723           hand-made win32 gstconfig.h. Fixes #366321.
11724
11725 2006-10-27  Wim Taymans  <wim@fluendo.com>
11726
11727         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11728         (gst_ghost_pad_new_full):
11729         Make acceptcaps return TRUE when we don't have a target, just like
11730         setcaps does.
11731
11732 2006-10-27  Wim Taymans  <wim@fluendo.com>
11733
11734         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11735         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11736
11737 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11738
11739         * gst/gststructure.c: (gst_structure_id_set_value):
11740           If someone tries to set a non-UTF8 string field on a structure,
11741           don't just print a warning, but also ignore the request and do
11742           not change/add that field to the structure.
11743
11744         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11745           Test for the above.
11746
11747 2006-10-25  David Schleef  <ds@schleef.org>
11748
11749         * gst/gstinfo.c:
11750           g_hash_table_insert() needs a cast to a non-const pointer duh.
11751
11752 2006-10-25  David Schleef  <ds@schleef.org>
11753
11754         * gst/gstinfo.c:
11755         * gst/gstinfo.h:
11756           Change name parameter of _gst_debug_register_funcptr to const
11757           to reflect the constness of its use in the function as well
11758           as to quiet a gcc warning.
11759
11760 2006-10-25  Edward Hervey  <edward@fluendo.com>
11761
11762         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11763         Don't push the buffer if it's empty.
11764         Closes #363095
11765
11766 2006-10-24  Wim Taymans  <wim@fluendo.com>
11767
11768         * gst/gstevent.h:
11769         Add small comment.
11770
11771         * libs/gst/base/gstbasetransform.c:
11772         (gst_base_transform_sink_eventfunc):
11773         Debug segment values *after* updating them as this is more
11774         interesting.
11775
11776 2006-10-23  Wim Taymans  <wim@fluendo.com>
11777
11778         * docs/design/part-events.txt:
11779         Update some docs.
11780
11781         * docs/design/part-block.txt:
11782         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11783         (gst_pad_push_event):
11784         Revert BLOCKING patch, it tries to be smart without really having a
11785         clear idea what or how. So, now we discard all FLUSHING events again on
11786         a blocking pad. Should fix gnonlin again.
11787
11788 2006-10-23  Wim Taymans  <wim@fluendo.com>
11789
11790         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11791
11792         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11793         (gst_base_src_start), (gst_base_src_activate_push):
11794         Make sure size is always initialized. Fixes #364388.
11795
11796 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11797
11798         * docs/random/ensonic/distributed.txt:
11799           add some ideas about doing distributed processing
11800
11801         * docs/random/ensonic/profiling.txt:
11802           get_rusage look promising
11803
11804 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11805
11806         * docs/manual/basics-helloworld.xml:
11807           Add a cast in example to fix compile warning
11808
11809 2006-10-18  Wim Taymans  <wim@fluendo.com>
11810
11811         * gst/gstsegment.c: (gst_segment_set_last_stop),
11812         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11813         Relax arg checking again, -1 is allowed.
11814
11815 2006-10-18  Wim Taymans  <wim@fluendo.com>
11816
11817         * gst/gstsegment.c: (gst_segment_set_last_stop),
11818         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11819         _set_last_stop() must be with a value != -1
11820         A _TYPE_SET to -1 means seek to 0.
11821         Calc last_stop correctly for negative rates.
11822         Make sure we work with positive durations when updating a segment.
11823
11824 2006-10-18  Wim Taymans  <wim@fluendo.com>
11825
11826         * docs/design/part-live-source.txt:
11827         * gst/gstclock.h:
11828         Small docs fixes.
11829
11830 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11831
11832         * gst/gstbuffer.h:
11833           Add an explicit cast to GstBuffer** to keep old code that added an
11834           explicit cast to GstMiniObject** for gst_mini_object_replace()
11835           compiling without warning.
11836
11837 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11838
11839         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11840           check for validity of dates
11841
11842 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11843
11844         * docs/gst/gstreamer-sections.txt:
11845           Forgot this one, makes gtk-doc shut up.
11846
11847 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11848
11849         Patch by: Peter Kjellerstedt <pkj at axis com>
11850
11851         * gst/gstobject.h:
11852           Don't define xmlNodePtr to gpointer if the core was built with
11853           --disable-loadsave and --disable-registry, this will break
11854           applications that want to use libxml2 but are buildling against a
11855           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11856           instead so we don't have to mess with the libxml2 namespace
11857           (#361675).
11858
11859 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11860
11861         * gst/gstbuffer.h:
11862           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11863           type-punned pointer warnings.
11864
11865 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * gst/gstelement.h:
11868           Add casts to the correct return type to state <=> state transition
11869           macros.
11870
11871 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11872
11873         * docs/design/part-live-source.txt:
11874           describe howto handle latency
11875         
11876         * docs/random/ensonic/profiling.txt:
11877           more ideas
11878
11879         * tools/gst-plot-timeline.py:
11880           fix log parsing for solaris, remove unused function
11881
11882 2006-10-16  Wim Taymans  <wim@fluendo.com>
11883
11884         * docs/design/part-trickmodes.txt:
11885         * gst/gstevent.c:
11886         Update some docs regarding reverse playback.
11887
11888 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11889
11890         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11891
11892         * win32/vs8/grammar.vcproj:
11893           Error out with a warning if glib-genmarshal.exe is not in path,
11894           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11895
11896 2006-10-13  Wim Taymans  <wim@fluendo.com>
11897
11898         * gst/gstsegment.c: (gst_segment_set_seek):
11899         When seeking to stop -1, set last_stop (current position) to the
11900         duration of the segment.
11901
11902 2006-10-13  Wim Taymans  <wim@fluendo.com>
11903
11904         * gst/gstelement.h:
11905         Clarify _NO_PREROLL a bit more.
11906
11907         * gst/gstevent.c:
11908         Fix docs.
11909
11910         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11911         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11912         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11913         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11914         due to wrong locking order. Fixes #361769.
11915         Remove some redundant/misplaced checks in pad_block.
11916
11917         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11918         For negative rates, count backwards from the duration.
11919
11920 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11921
11922         * gst/gsterror.c: (_gst_library_errors_init):
11923           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11924           up with something better).
11925
11926 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11927
11928         * win32/vs6/libgstreamer.dsp:
11929         * win32/vs7/libgstreamer.vcproj:
11930         * win32/vs8/libgstreamer.vcproj:
11931           Don't reference glib-compat.c which is currently not used and not
11932           disted; add gstquark.c which was recently added. Fixes #361730.
11933
11934 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11935
11936         * win32/common/libgstbase.def:
11937         * win32/common/libgstcontroller.def:
11938         * win32/common/libgstreamer.def:
11939           Add gst_caps_merge() and a bunch of other recently-added functions.
11940           Fixes #361732.
11941
11942 2006-10-11  Wim Taymans  <wim@fluendo.com>
11943
11944         * docs/plugins/gstreamer-plugins.args:
11945         * docs/plugins/inspect/plugin-coreelements.xml:
11946         * docs/plugins/inspect/plugin-coreindexers.xml:
11947         Update element args.
11948
11949         * gst/gstsystemclock.c:
11950         Small comment update.
11951
11952         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11953         (gst_tee_request_new_pad), (gst_tee_release_pad),
11954         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11955         (gst_tee_sink_activate_pull):
11956         * plugins/elements/gsttee.h:
11957         Some tee loving:
11958         Add default property defines.
11959         Implement release pad function.
11960         Give properties better blubs etc.
11961         Activate pads before adding them to a running tee.
11962         Do simple buffer_alloc on the first requested pad.
11963         Post error when activation fails.
11964
11965 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11966
11967         * gst/gst.c: (ensure_current_registry_forking):
11968           Check return value of write() to make compiler happy.
11969
11970 2006-10-11  Wim Taymans  <wim@fluendo.com>
11971
11972         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11973
11974         * plugins/elements/gstqueue.c: (gst_queue_chain):
11975         Recheck queue filledness after signalling the overrun when we're about
11976         to leak downstream because we released the lock when emitting the signal
11977         and the queue could be empty again. Fixes #352345.
11978
11979 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11980
11981         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11982           Fix refcounting here too, just like we did for _new_valist() a few
11983           days ago (#357180) (thanks to René Stadler). Also remove all those
11984           'Since: 0.9' from the gtk-doc blobs.
11985
11986         * tests/check/libs/controller.c: (controller_refcount_new_list),
11987         (gst_controller_suite):
11988           Unit test for the above.
11989
11990 2006-10-10  Wim Taymans  <wim@fluendo.com>
11991
11992         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11993
11994         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11995         (gst_pad_save_thyself):
11996         Update some docs.
11997         Write pad direction in XML output. Fixes #345496.
11998
11999 2006-10-10  Wim Taymans  <wim@fluendo.com>
12000
12001         Patch by: René Stadler <mail at renestadler dot de>
12002
12003         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12004         (gst_controller_new_list), (_gst_controller_dispose),
12005         (_gst_controller_finalize), (_gst_controller_class_init):
12006         Take ref to controlled object so that it cannot disappear. 
12007         Fixes #357432.
12008
12009 2006-10-10  Wim Taymans  <wim@fluendo.com>
12010
12011         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12012         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12013         (gst_check_teardown_sink_pad):
12014         Activate/deactivate pads in setup/teardown respectively.
12015
12016 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12017
12018         Patch by: Josep Torra Valles <josep@fluendo.com>
12019
12020         * gst/Makefile.am:
12021         Cast values when making gstenumtypes.h.  This pacifies Forte
12022         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12023         in the enumeration.
12024
12025 2006-10-09  Wim Taymans  <wim@fluendo.com>
12026
12027         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12028         Rename some more @cur to @start to fix docs. 
12029
12030         * gst/gstsegment.c: (gst_segment_set_seek):
12031         Fix typo.
12032         time and start must always stay in sync as defined in design doc.
12033
12034         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12035         Rename param to fix docs.
12036
12037         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12038         Check that start and time are in sync.
12039
12040         * tests/check/pipelines/parse-launch.c:
12041         (gst_parse_test_element_change_state):
12042         Activate pad before adding to the element.
12043
12044 2006-10-09  Wim Taymans  <wim@fluendo.com>
12045
12046         * docs/design/part-qos.txt:
12047         Fix typo.
12048
12049         * gst/gstevent.c:
12050         * gst/gstevent.h:
12051         Update seek event docs regarding negative rates.
12052         Rename @cur to @start. 
12053
12054         * gst/gstsegment.c: (gst_segment_set_seek):
12055         * gst/gstsegment.h:
12056         Update set_seek docs regarding negative rates.
12057         Correctly update last_stop to @stop when dealing with negative
12058         rates.
12059         Rename @cur to @start. 
12060
12061         * tests/check/gst/gstpad.c: (GST_START_TEST):
12062         Activate pads before trying to use them.
12063
12064         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12065         (gst_segment_suite):
12066         Add simple check for segments and negative rates.
12067
12068 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12071         * gst/gsttaglist.h:
12072         * docs/gst/gstreamer-sections.txt:
12073           API: add gst_tag_list_is_empty() (#360467).
12074
12075         * tests/check/gst/gsttag.c: (GST_START_TEST):
12076           And a test case.
12077
12078 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12079
12080         * gst/gstmessage.h:
12081         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12082         a value that doesn't fit on enumeration.
12083
12084 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12085
12086         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12087         Remove local debugging system and use Gstreamer's instead.
12088
12089 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12090
12091         Patch by: Josep Torra Valles <josep@fluendo.com>
12092
12093         * common/m4/gst-error.m4:
12094         Disable warning of statement not reached on Forte.
12095         * gst/gstmessage.h:
12096         Fix warning on Forte (value doesn't fit on enumeration).
12097         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12098         Fix warning on Forte (value doesn't fit on enumeration).
12099         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12100         DEBUG macro says it takes minimum of 2 args and so Forte
12101         complains about the use with just 1 arg.
12102         * plugins/elements/gstfdsink.c:
12103         * plugins/elements/gstfdsrc.c:
12104         * plugins/elements/gstfilesink.c:
12105         * plugins/elements/gstfilesrc.c:
12106         Use correct return type for the uri handler implementations.
12107
12108         All these fix warnings in Forte.  Fixes bug #360860.
12109
12110 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12111
12112         * gst/gstelement.h:
12113           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12114           format string, so don't use G_GNUC_PRINTF for those versions.
12115
12116 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12117
12118         * gst/gsttaglist.c: (gst_is_tag_list):
12119         * gst/gsttaglist.h:
12120           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12121
12122         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12123           Small test for the above.
12124
12125 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12126
12127         * gst/gsttaglist.h:
12128           Less tabs, more spaces.
12129
12130 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12131
12132         * gst/gstinfo.h:
12133           Those two function declarations do actually belong there, revert
12134           commit from yesterday that turned them intro macros.
12135
12136 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12137
12138         Patch by: Josep Torra Valles <josep@fluendo.com>
12139
12140         * gst/gst.c: (gst_init_get_option_group):
12141         Fix empty declaration and type mismatch.
12142         * gst/gstbin.c: (gst_bin_change_state_func):
12143         Fix type mismatch.
12144         * gst/gstelement.c: (gst_element_continue_state),
12145         (gst_element_set_state_func), (gst_element_change_state),
12146         (gst_element_change_state_func):
12147         Fix type mismatches.
12148         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12149         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12150         Cast as appropriate.
12151         * gst/gstobject.c: (gst_class_signal_connect):
12152         Cast as appropriate.  The function pointer parameter really
12153         has the wrong type but would break API if we change it.
12154         * gst/gstquery.c:
12155         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12156         order of including string.h.
12157         * gst/gstutils.c: (gst_element_state_get_name):
12158         Remove unreachable line.
12159         * gst/gstxml.c: (gst_xml_parse_doc):
12160         Fix type mismatch.
12161         All these caught by Forte.
12162
12163 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12164
12165         Patch by: Josep Torra Valles <josep@fluendo.com>
12166
12167         * common/m4/gst-error.m4:
12168         Fixed bug #360151.
12169         We need to disable warnings on Forte for empty declarations
12170         due to gst-indent adding ;s to lines that just use macros
12171         where the macro actually doesn't need a ; at end to end
12172         statement.
12173
12174 2006-10-06  Wim Taymans  <wim@fluendo.com>
12175
12176         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12177         (gst_file_sink_close_file), (gst_file_sink_event),
12178         (gst_file_sink_render):
12179         Add some FIXME for the NEWSEGMENT handling.
12180
12181 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12182
12183         * gst/parse/grammar.y:
12184         Remove static function gst_parse_element_lock as all it does
12185         is return.  Looks like cruft from 0.8.
12186
12187 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12188
12189         Patch by: Josep Torra Valles <josep@fluendo.com>
12190
12191         * common/m4/gst-error.m4:
12192         * configure.ac:
12193         * libs/gst/net/Makefile.am:
12194         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12195         libresolv.
12196
12197 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12198
12199         * gst/gstpad.c: (pre_activate):
12200         * gst/gstregistry.c: (gst_registry_scan_path_level):
12201         * gst/gstregistryxml.c: (load_plugin):
12202         * libs/gst/controller/gstcontroller.c:
12203         (gst_controlled_property_set_interpolation_mode):
12204         * libs/gst/dataprotocol/dataprotocol.c:
12205         (gst_dp_packet_from_event_1_0):
12206         * libs/gst/net/gstnetclientclock.c:
12207         (gst_net_client_clock_observe_times):
12208         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12209           Printf fixes.
12210
12211 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12212
12213         * configure.ac:
12214         * docs/gst/gstreamer-sections.txt:
12215         * gst/gstconfig.h.in:
12216         * gst/gstelement.h:
12217         * gst/gstinfo.h:
12218           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12219           whether we can use G_GNUC_PRINTF in other header files and at
12220           least check the printf format/arguments of debug messages and
12221           GST_ELEMENT_ERROR messages when the printf extension is not
12222           being used.
12223           Replace more tabs with spaces in gstinfo.h and remove two spurious
12224           function declarations in GST_DISABLE_DEBUG part with macros.
12225
12226 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12227
12228         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12229           More docs for the sync-message signal (mention that it is not
12230           emitted by default); log message structures of messages posted on
12231           the bus as well.
12232
12233 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12234
12235         * gst/gst.c: (ensure_current_registry_forking):
12236         Use a pipe pair to receive status results from the forked child, and
12237         ignore the result from waitpid. Fixes #355499
12238
12239 2006-10-02  Wim Taymans  <wim@fluendo.com>
12240
12241         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12242         (gst_ghost_pad_suite):
12243         Fix leak in check.
12244
12245 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         * gst/gstpad.c:
12248           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12249
12250 2006-10-02  Edward Hervey  <edward@fluendo.com>
12251
12252         * docs/design/part-block.txt:
12253         Further explain the use of flushing on blocked pads.
12254         * docs/gst/gstreamer-sections.txt:
12255         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12256         (gst_pad_push_event):
12257         * gst/gstpad.h:
12258         Added new GstPadFlag : GST_PAD_BLOCKING.
12259         Adds the notion of pads really blocking, which enables to properly
12260         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12261         Fixes #358999
12262         API: gst_pad_is_blocking()
12263         API: GST_PAD_IS_BLOCKING() macro
12264         API: GST_PAD_BLOCKING GstPadFlag
12265         
12266 2006-10-02  Wim Taymans  <wim@fluendo.com>
12267
12268         Patch by: mrcgran <mrc.gran at gmail dot com>
12269
12270         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12271         Filter the proxied caps against the padtemplate if we have one.
12272
12273         * gst/gstquery.c: (gst_query_new_segment):
12274         Add include for gstinfo.h so that compilation with
12275         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12276
12277 2006-10-02  Wim Taymans  <wim@fluendo.com>
12278
12279         Patch by: Alessandro Decina  <alessandro at nnva org>
12280
12281         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12282         (gst_file_sink_set_location), (gst_file_sink_open_file),
12283         (gst_file_sink_close_file), (gst_file_sink_event),
12284         (gst_file_sink_render):
12285         Set file to NULL when closing filesink so that we can set a new filename
12286         in READY. Fixes #358613.
12287
12288 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12289
12290         Patch by: Alessandro Decina  <alessandro at nnva org>
12291
12292         * gst/gstevent.c: (_gst_event_copy):
12293           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12294           with event structures by setting the parent refcount address of the
12295           copied structure to the address of the refcount member of the newly
12296           copied event rather than the address of the refcount member of the
12297           original event. Fixes #358737.
12298
12299         * tests/check/gst/gstevent.c: (GST_START_TEST):
12300           Unit test for the above.
12301
12302 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12303
12304         * docs/design/Makefile.am:
12305           Dist some more files.
12306
12307 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12308
12309         * tests/check/libs/controller.c: (GST_START_TEST),
12310         (gst_controller_suite):
12311           Add test for the previous fix; add some more tests
12312           for correct refcounting behaviour; fix a few leaks
12313           in test cases; call gst_controller_init() at start
12314           of all tests.
12315
12316 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12317
12318         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12319         (gst_controller_set_from_list):
12320           Don't g_return_val_if_fail() on timed values with invalid timestamps
12321           inside a critical section without unlocking the mutex. Spotted by
12322           René Stadler. (#357617)
12323           Also, fix up refcounting properly: when returning an existing
12324           controller, we should increase the reference only once and not
12325           once per property and when trying to control a property again
12326           we should also increase the refcount.
12327
12328 2006-09-29  Wim Taymans  <wim@fluendo.com>
12329
12330         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12331         * libs/gst/net/gstnettimeprovider.c:
12332         (gst_net_time_provider_thread):
12333         Stop reading commands when EOF as well.
12334
12335         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12336         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12337         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12338         Unify description of the dump property.
12339
12340 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12341
12342         * tests/examples/manual/.cvsignore:
12343         OK, so it's actually cvsignore that needs changing. Stop laughing.
12344
12345 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12346
12347         * tests/examples/manual/Makefile.am:
12348         Gah, declare vars *before* using them
12349
12350 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12351
12352         * gst/gst.c: (init_pre), (scan_and_update_registry),
12353         (ensure_current_registry_nonforking),
12354         (ensure_current_registry_forking), (ensure_current_registry),
12355         (init_post), (gst_debug_help), (gst_deinit):
12356         * gst/gst_private.h:
12357         * gst/gstregistry.c: (gst_registry_finalize),
12358         (gst_registry_remove_features_for_plugin_unlocked),
12359         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12360         (gst_registry_scan_path),
12361         (_priv_gst_registry_remove_cache_plugins),
12362         (_priv_gst_registry_cleanup):
12363         * gst/gstregistry.h:
12364         Re-commit the registry changes, along with an extra fix:
12365           When a cached plugin is encountered at a different file path,
12366           update the stored path in the registry cache so that the parent
12367           process knows where it actually is now when it re-reads the registry
12368           cache. Fixes the thing that broke distcheck with the previous commit.
12369
12370         * tests/check/Makefile.am:
12371         Clean up files named 'core' too when running make clean.
12372
12373         * tests/examples/manual/Makefile.am:
12374         Set up a registry path for running these tests, and clean it properly
12375         for distcheck.
12376
12377 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12378
12379         * configure.ac:
12380         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12381         want gmodule-no-export-2.0.pc instead so that we don't drag in
12382         --export-dynamic on every project that links to GStreamer.
12383
12384         Also, make our export regex only match the start of symbols, rather 
12385         than any symbol that contains '_gst' somewhere.
12386
12387         * libs/gst/check/Makefile.am:
12388         The libgstcheck we build does however need export-dynamic, as it
12389         produces some symbols that don't match our _gst... style regex.
12390         Fixes: #318031
12391
12392 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12393
12394         * gst/gst.c: (init_pre), (scan_and_update_registry),
12395         (ensure_current_registry_nonforking),
12396         (ensure_current_registry_forking), (ensure_current_registry),
12397         (init_post), (gst_debug_help), (gst_deinit):
12398         * gst/gst_private.h:
12399         * gst/gstregistry.c: (gst_registry_finalize),
12400         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12401         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12402         (_gst_registry_cleanup):
12403         * gst/gstregistry.h:
12404           Revert previous change until I figure out why it breaks distcheck.
12405
12406 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12407
12408         * gst/gst.c: (init_pre), (scan_and_update_registry),
12409         (ensure_current_registry_nonforking),
12410         (ensure_current_registry_forking), (ensure_current_registry),
12411         (init_post), (gst_debug_help), (gst_deinit):
12412
12413           Make init_pre and init_post take the full complement of GOptionFunc
12414           args so they can return useful GErrors. Make the registry updating
12415           functions do so.
12416
12417           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12418           ensure that the registry we're about to write out doesn't contain
12419           stale information about old-deleted plugin files.
12420
12421           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12422           that deletion of plugin files is considered a registry change.
12423
12424         * gst/gst_private.h:
12425         * gst/gstregistry.c: (gst_registry_finalize),
12426         (gst_registry_remove_features_for_plugin_unlocked),
12427         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12428         (gst_registry_scan_path),
12429         (_priv_gst_registry_remove_cache_plugins),
12430         (_priv_gst_registry_cleanup):
12431         * gst/gstregistry.h:
12432         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12433         by adding _priv prefix, so that they won't appear in the global
12434         symbol table. They still do atm though because of #318031. Move the
12435         prototypes to gst_private.h
12436
12437         When removing a plugin, remove all features for that plugin too. 
12438         Fixes #340878.
12439
12440 2006-09-27  Wim Taymans  <wim@fluendo.com>
12441
12442         * docs/random/moving-plugins:
12443         Make it clear that the "compiled-in descriptions" really mean
12444         the element details.
12445
12446         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12447         (gst_base_sink_wait_preroll):
12448         Update docs.
12449
12450         * docs/libs/gstreamer-libs-sections.txt:
12451         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12452         (gst_base_src_get_range), (gst_base_src_activate_push):
12453         * libs/gst/base/gstbasesrc.h:
12454         Added function to block while waiting for PLAYING, this function
12455         is used by live sources that block on the clock.
12456         API: gst_base_src_wait_playing()
12457
12458 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12459
12460         Patch by: Peter Kjellerstedt <pkj at axis com>
12461
12462         * Makefile.am:
12463           gst-element-check.m4 is generated and should therefore be
12464           copied from the build dir rather than the source dir (#357593).
12465           'make distcheck' hasn't noticed this because we were disting
12466           the file as well, so stop doing that.
12467
12468 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12469
12470         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12471           Add some tests for gst_caps_intersect().
12472
12473         * tools/gst-launch.c: (event_loop):
12474           Print all buffering percentages we get, even the 100% one.
12475
12476 2006-09-26  Wim Taymans  <wim@fluendo.com>
12477
12478         * tools/gst-inspect.c: (print_element_properties_info),
12479         (print_signal_info):
12480         Fix printing of flags to match the look of enums.
12481
12482 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12483
12484         * gst/gstelementfactory.c:
12485           Fix typo in docs blurb.
12486
12487 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12488
12489         * gst/gsturi.c: (search_by_entry):
12490           Don't assert/crash here if a uri handler doesn't return any
12491           supported protocols. The list of protocols could be generated
12492           dynamically at runtime or at plugin registration, and an error
12493           in the underlying library shouldn't be fatal (#353301).
12494
12495 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12496
12497         * gst/gstinfo.c:
12498           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12499           (spotted by Peter Kjellerstedt).
12500
12501 2006-09-23  Wim Taymans  <wim@fluendo.com>
12502
12503         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12504
12505         * libs/gst/base/gstbasesrc.c:
12506         (gst_base_src_default_check_get_range), (gst_base_src_start),
12507         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12508         (gst_base_src_change_state):
12509         Match _start/_stop calls in the activate functions. Remove redundant
12510         _stop call from the state change function. Fixes #356910.
12511         Turn failure DEBUG into ERROR. 
12512
12513 2006-09-22  Wim Taymans  <wim@fluendo.com>
12514
12515         * docs/design/part-buffering.txt:
12516         * gst/gstmessage.c: (gst_message_new_buffering),
12517         (gst_message_parse_buffering):
12518         Update docs about buffering.
12519
12520         * docs/design/part-trickmodes.txt:
12521         Fix typo.
12522
12523 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12524
12525         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12526         (gst_controller_new_list):
12527           Ref instances when returning them again (fixes #357180)
12528
12529 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12530
12531         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12532           Don't forget to release proxy lock when there's an error.
12533
12534 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12535
12536         * gst/gstcaps.h:
12537           Add extra initialisers for Caps things, to fix some plugin warnings
12538           when using -Wextra
12539
12540 2006-09-18  Wim Taymans  <wim@fluendo.com>
12541
12542         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12543           Also set template on the internal pad so that a getcaps from the 
12544           target pad returns the template caps.
12545
12546 2006-09-18  Wim Taymans  <wim@fluendo.com>
12547
12548         * gst/gstelement.c: (gst_element_post_message),
12549         (gst_element_dispose):
12550         Use _DEBUG_OBJECT some more.
12551
12552         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12553         Avoid typechecks.
12554
12555         * tools/gst-launch.c: (main):
12556         If the toplevel element is not a GstPipeline, it must be put in a
12557         pipeline so that a bus and clock is selected.
12558
12559 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12560
12561         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12562           JITTER, RATE, and LATENCY query should be handled by the
12563           default case and not by the CONVERT query code.
12564
12565 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12566
12567         * gst/gstformat.c: (gst_format_register):
12568           Fix locking order (must take lock before using n_values).
12569
12570         * gst/gstvalue.c: (gst_value_serialize_enum),
12571         (gst_value_deserialize_enum_iter_cmp),
12572         (gst_value_deserialize_enum):
12573           Fix serialisation/deserialisation of custom registered GstFormats.
12574
12575         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12576           Unit test for custom format serialisation/deserialisation.
12577
12578 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12579
12580         * docs/pwg/building-boiler.xml:
12581         * plugins/elements/gstcapsfilter.c:
12582         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12583         section.
12584
12585 2006-09-16  Edward Hervey  <edward@fluendo.com>
12586
12587         * libs/gst/base/gstbasetransform.c:
12588         (gst_base_transform_buffer_alloc):
12589         Check if requested caps are the same as the sinks caps IF
12590         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12591         is FALSE.
12592         This fixes the renegotiation issues stated in #352827.
12593
12594 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12595
12596         * configure.ac:
12597         * docs/manual/advanced-autoplugging.xml:
12598         * tests/examples/Makefile.am:
12599         * tests/examples/manual/.cvsignore:
12600         * tests/examples/manual/Makefile.am:
12601         * tests/examples/manual/extract.pl:
12602           Extract the manual examples again like we used to do.
12603           Fix one of them.
12604
12605 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12606
12607         * win32/common/config.h:
12608           update for version
12609
12610 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12611
12612         * gst/gsterror.c:
12613           Documents how to receive errors.
12614
12615 2006-09-15  Wim Taymans  <wim@fluendo.com>
12616
12617         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12618         (event_loop), (main):
12619         Added some comments here and there.
12620         Post an application message when an interrupt is caught instead of doing
12621         an uncontrolled state change.
12622         Clean up the event loop.
12623         Handle buffering messages, pause/resume the pipeline.
12624         Make shutdown because of an interrupt more reliable.
12625
12626 2006-09-15  Wim Taymans  <wim@fluendo.com>
12627
12628         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12629         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12630         (gst_base_sink_preroll_object):
12631         Make sure that our internal state is correct when we commit our state
12632         asynchronously. This solves a race where a state change to PLAYING
12633         could cause the sink to remain blocked in preroll in some situations.
12634
12635 2006-09-15  Wim Taymans  <wim@fluendo.com>
12636
12637         * tools/gst-inspect.c: (print_element_properties_info),
12638         (print_signal_info):
12639         List flags as hex so it's easier to deal with.
12640
12641 2006-09-15  Wim Taymans  <wim@fluendo.com>
12642
12643         * docs/libs/gstreamer-libs-sections.txt:
12644         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12645         (gst_base_sink_do_sync):
12646         * libs/gst/base/gstbasesink.h:
12647         Expose logic to wait for preroll so that subclasses such as audiosink
12648         can also use this method.
12649         API: gst_base_sink_wait_preroll()
12650
12651 2006-09-15  Wim Taymans  <wim@fluendo.com>
12652
12653         * gst/gstobject.c: (gst_object_set_parent):
12654         * gst/gstpipeline.c: (do_pipeline_seek):
12655         Small cleanups in docs and code.
12656
12657         * gst/gstsegment.c: (gst_segment_clip):
12658         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12659         if stop == start and start is in the segment, no clipping should be
12660         done. Also add a test for this.
12661
12662 2006-09-15  Wim Taymans  <wim@fluendo.com>
12663
12664         * docs/design/part-buffering.txt:
12665         * docs/gst/gstreamer-sections.txt:
12666         * gst/gstmessage.c: (gst_message_new_buffering),
12667         (gst_message_parse_buffering):
12668         * gst/gstmessage.h:
12669         Added methods to create and parse BUFFERING messages.
12670         Added preliminary docs about buffering.
12671         API: gst_message_new_buffering
12672         API: gst_message_parse_buffering
12673
12674 2006-09-06  Wim Taymans  <wim@fluendo.com>
12675
12676         * gst/gstbin.c:
12677         Update documentation.
12678
12679         * gst/gstelement.c: (gst_element_class_init),
12680         (gst_element_release_request_pad), (gst_element_set_clock),
12681         (gst_element_get_index), (gst_element_add_pad),
12682         (gst_element_remove_pad), (gst_element_get_random_pad),
12683         (gst_element_send_event), (gst_element_get_query_types),
12684         (gst_element_query), (gst_element_post_message),
12685         (gst_element_message_full), (gst_element_continue_state),
12686         (gst_element_lost_state), (gst_element_save_thyself),
12687         (gst_element_restore_thyself):
12688         Documentation updates.
12689         Rename last bit of the new-pad -> pad-added signal rename.
12690         Fix the case where an element query would only work if the source
12691         pad was linked.
12692         Avoid some useless type checking in message handling.
12693
12694         * gst/gstevent.c:
12695         * gst/gstevent.h:
12696         * gst/gstutils.c:
12697         Documentation updates.
12698
12699 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12700
12701         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12702           add an INFO line for when we actually update the fd
12703
12704 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12705
12706         * configure.ac:
12707           back to TRUNK
12708
12709 === release 0.10.10 ===
12710
12711 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12712
12713         * configure.ac:
12714           releasing 0.10.10, "Pais"
12715
12716 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12717
12718         * docs/manual/advanced-position.xml:
12719           Fix typo in sample code.
12720
12721 2006-09-05  Wim Taymans  <wim@fluendo.com>
12722
12723         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12724         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12725         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12726         * libs/gst/net/gstnetclientclock.h:
12727         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12728         * libs/gst/net/gstnettimepacket.h:
12729         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12730         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12731         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12732         * libs/gst/net/gstnettimeprovider.h:
12733         Make stuff compile on windows. Fixes #345295.
12734
12735 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * gst/gst.c: (ensure_current_registry_forking):
12738           Print better details when child was terminated by signal.
12739
12740 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12741
12742         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12743           Print a warning rather than g_assert() if a plugin feature
12744           is a URI handler but returns no protocols (#353976).
12745
12746 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12747
12748         * docs/random/moving-plugins:
12749         Fix two typos.         
12750
12751 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12752
12753         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12754           Fix locking order, handle NULL function values properly.
12755
12756         * gst/gstinfo.h:
12757           Fix docs.
12758
12759         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12760           Initialise variable before using it and fix debug statement to
12761           print the address of the function rather than the address of the
12762           variable on the stack holding the address of the function.
12763
12764 2006-09-01  Wim Taymans  <wim@fluendo.com>
12765
12766         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12767         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12768         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12769         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12770         (gst_ghost_pad_parent_unset),
12771         (gst_ghost_pad_internal_do_activate_push),
12772         (gst_ghost_pad_internal_do_activate_pull),
12773         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12774         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12775         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12776         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12777         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12778         (gst_ghost_pad_new_no_target_from_template),
12779         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12780         More cleanups.
12781         Avoid needless typechecking in macros.
12782         Since the internal pad is always present and never changes, there is
12783         no need to locking or ref when retrieving it.
12784         Improve debugging a bit.
12785         Handle link errors when setting the target. Fixes #341029.
12786
12787 2006-09-01  Wim Taymans  <wim@fluendo.com>
12788
12789         * docs/libs/gstreamer-libs-sections.txt:
12790         * docs/plugins/gstreamer-plugins-sections.txt:
12791         Fix docs some more.
12792
12793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12794         (gst_collect_pads_event):
12795         * libs/gst/base/gstcollectpads.h:
12796         Documentation updates.
12797         Free queued buffer when removing a pad.
12798
12799 2006-08-31  Michael Smith  <msmith@fluendo.com>
12800
12801         * gst/gstutils.c: (gst_element_link_pads),
12802         (gst_element_link_pads_filtered):
12803           Ensure that we set a capsfilter to NULL if we failed to link it
12804           when doing filtered linking, to avoid criticals.
12805
12806           No need to check for unreffing srcpad, which is explicly NULLed
12807           above (a trivial code cleanup).
12808
12809 2006-08-31  Wim Taymans  <wim@fluendo.com>
12810
12811         * docs/design/part-gstghostpad.txt:
12812         Update ascii art in documentation.
12813
12814         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12815         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12816         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12817         (gst_ghost_pad_internal_do_activate_push),
12818         (gst_ghost_pad_internal_do_activate_pull),
12819         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12820         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12821         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12822         (gst_ghost_pad_set_target):
12823         Small cleanups and leak fixes.
12824         Remove some checks now that the internal pad is never NULL.
12825         Fix the case where linking pads without a target would create nasty
12826         criticals. Fixes #341029.
12827         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12828         value of _set_target().
12829
12830         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12831         (gst_ghost_pad_suite):
12832         Some more tests for creating and linking untargeted ghostpads.
12833
12834 2006-08-31  Edward Hervey  <edward@fluendo.com>
12835
12836         * docs/gst/gstreamer-sections.txt:
12837         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12838         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12839         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12840         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12841         (gst_ghost_pad_new_from_template),
12842         (gst_ghost_pad_new_no_target_from_template):
12843         * gst/gstghostpad.h:
12844         Refactored *_new() functions.
12845         Templates are now used as a g_object_new() parameter.
12846         Use template in _do_getcaps() if we don't have a target.
12847         Small documentation cleanups.
12848         Added two new constructors:
12849         gst_ghost_pad_new_from_template()
12850         gst_ghost_pad_new_no_target_from_template()
12851         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12852         (gst_ghost_pad_suite):
12853         Added tests for new ghostpad instanciation functions.
12854
12855         API additions: gst_ghost_pad_new_from_template,
12856         gst_ghost_pad_new_no_target_from_template
12857
12858 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12859
12860         * docs/random/ensonic/profiling.txt:
12861           Ideas about qos profiling.
12862
12863 2006-08-29  Wim Taymans  <wim@fluendo.com>
12864
12865         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12866         Code cleanups.
12867         Fix memleak.
12868
12869 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12870
12871         * gst/gstxml.c:
12872           Improve and detypofy docs.
12873
12874         * tests/check/Makefile.am:
12875         * tests/check/gst/.cvsignore:
12876         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12877           Add a basic test suite for GstXML.
12878
12879 2006-08-29  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstelement.c: (activate_pads), (clear_caps),
12882         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12883         Clear the pad caps when the element shut down all of the pads and
12884         is not streaming data that could modify the caps. 
12885         Fixes #352958.
12886
12887 2006-08-28  Michael Smith  <msmith@fluendo.com>
12888
12889         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12890           Revert previous change; I misunderstood single-segment mode.
12891
12892 2006-08-28  Michael Smith  <msmith@fluendo.com>
12893
12894         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12895           Unset DISCONT on buffers when using single-segment mode.
12896
12897 2006-08-28  Wim Taymans  <wim@fluendo.com>
12898
12899         * gst/gstcaps.c: (gst_caps_merge_structure):
12900         * gst/gstcaps.h:
12901         Fix docs and indentation again.
12902
12903         * tests/check/gst/gstquery.c: (GST_START_TEST):
12904         Fix leak in tests and add some more tests.
12905
12906 2006-08-28  Edward Hervey  <edward@fluendo.com>
12907
12908         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12909         Inform GstSegment of the last stop position in order for the current
12910         segment to have a proper duration if it doesn't have a specific stop
12911         position from which a duration could be calculated.
12912         This bug was noticeable when a non-flushing, non-update new segment was
12913         followed by another segment (all buffers from the new segment were being
12914         dropped).
12915
12916 2006-08-28  Wim Taymans  <wim@fluendo.com>
12917
12918         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12919         Small comment update.
12920
12921         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12922         (gst_identity_transform_ip):
12923         Drop-probability is broken, mention this in the code with a 
12924         FIXME and also in the property description.
12925         Make silent also be silent about the drop messages.
12926
12927 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12928
12929         * docs/manual/appendix-win32.xml:
12930           Remove mention of popt, we don't depend on that any
12931           longer (#353136). Add some comments pointing out that
12932           this section is slightly outdated.
12933
12934 2006-08-28  Wim Taymans  <wim@fluendo.com>
12935
12936         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12937
12938         * gst/gstquery.c: (gst_query_new_segment):
12939         * tests/check/gst/gstquery.c: (GST_START_TEST):
12940         Initialize variables when creating a new segment query.
12941         Fixes #353121.
12942
12943 2006-08-28  Wim Taymans  <wim@fluendo.com>
12944
12945         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12946
12947         * gst/gstelement.c: (gst_element_get_bus):
12948         * tests/check/gst/gstelement.c: (GST_START_TEST):
12949         Check for NULL before _reffing the bus. Fixes #353122.
12950
12951 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12952
12953         * docs/manual/basics-bus.xml:
12954           Docs update: fix wrong callback return value explanation; add
12955           some lines about the implicit relationship between main loop
12956           and main context; remove duplicate main loop variable declaration.
12957
12958 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12959
12960         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12961           Don't leak caps in unit test; add a few more simple
12962           checks. 
12963
12964 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12965
12966         * docs/gst/gstreamer-sections.txt:
12967         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12968         (gst_caps_structure_is_subset), (gst_caps_merge),
12969         (gst_caps_merge_structure):
12970         * gst/gstcaps.h:
12971         * libs/gst/base/gstbasetransform.c:
12972         (gst_base_transform_transform_caps):
12973         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12974           implement caps merging (fixes #352580)
12975
12976 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12977
12978         * tools/Makefile.am:
12979         * tools/gst-plot-timeline.py:
12980           add debug-log plotting developer tool (#340674)
12981
12982 2006-08-23  Wim Taymans  <wim@fluendo.com>
12983
12984         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12985         (gst_pad_stop_task):
12986         Improve debugging for task functions.
12987
12988         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12989         (gst_task_start), (gst_task_pause), (gst_task_join):
12990         Make sure that the task function started and finished after a 
12991         join(). 
12992         Don't try to push the task function on the threadpool multiple
12993         times.
12994         Improve the g_warning message with some useful suggestions
12995         about how to fix the problem. 
12996
12997 2006-08-23  Wim Taymans  <wim@fluendo.com>
12998
12999         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13000         Handle RESYNC correctly in _proxy_getcaps.
13001
13002 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13003
13004         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13005         (gst_xml_parse_memory), (gst_xml_get_element):
13006           Chain up to parent class in dispose function and also
13007           unref the elements in the toplevel_elements GList.
13008           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13009           Always return a reference in gst_xml_get_element() rather
13010           than only sometimes.
13011
13012         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13013           Don't leak GstXml object.
13014
13015 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13016
13017         * docs/gst/gstreamer-sections.txt:
13018         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13019         (gst_caps_merge):
13020         * gst/gstcaps.h:
13021         * libs/gst/base/gstbasetransform.c:
13022         (gst_base_transform_transform_caps):
13023           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13024           in a better way
13025
13026 2006-08-21  Edward Hervey  <edward@fluendo.com>
13027
13028         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13029         Implement GObject::dispose virtual method in GstXML so we can free the
13030         top_elements GList.
13031
13032 2006-08-21  Wim Taymans  <wim@fluendo.com>
13033
13034         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13035         (gst_buffer_create_sub):
13036         Copy duration/offset_end/caps when creating a subbuffer of the
13037         complete parent.
13038         Make the subbuffer read-only when we make the metadata writable for
13039         now. Fixes #351768.
13040
13041         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13042         Added check for metadata copy when creating subbuffers.
13043
13044 2006-08-21  Edward Hervey  <edward@fluendo.com>
13045
13046         * libs/gst/base/gstbasetransform.c:
13047         (gst_base_transform_buffer_alloc):
13048         Only call downstream buffer_alloc if transform element is passthrough
13049         or always_in_place. Closes #350449.
13050
13051 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13052
13053         * ChangeLog:
13054           ChangeLog surgery to add comments to previous changes
13055
13056 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13057
13058         * gst/gst.c:
13059           Add comments
13060
13061         * gst/gstpad.c: (gst_pad_set_active):
13062           Be more verbose in the log
13063
13064         * libs/gst/base/gstbasetransform.c:
13065         (gst_base_transform_transform_caps):
13066           Simplify caps to get rid of duplicates, fixes #345444
13067
13068 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13069
13070         * gst/gstvalue.c:
13071         * gst/gstvalue.h:
13072           Use these optimizations only internally.
13073
13074 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13075
13076         * gst/gstvalue.c: (gst_value_compare_list),
13077         (gst_value_compare_fraction_range),
13078         (gst_value_intersect_fraction_fraction_range),
13079         (gst_value_intersect_fraction_range_fraction_range),
13080         (gst_value_subtract_fraction_fraction_range),
13081         (gst_value_subtract_fraction_range_fraction_range),
13082         (gst_value_get_compare_func), (gst_value_compare),
13083         (gst_value_compare_with_func):
13084         * gst/gstvalue.h:
13085           Saves the expensive lookup of the compare function in many cases
13086          (#345444)
13087
13088 2006-08-18  Edward Hervey  <edward@fluendo.com>
13089
13090         * tests/check/gst/gstinfo.c: (gst_info_suite):
13091         Disable test that require gstdebug if it wasn't built in core.
13092
13093 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13094
13095         * docs/random/ensonic/logging.txt:
13096           update ideas
13097           
13098         * gst/gstinfo.c: (gst_debug_log_default):
13099           reorder fields, save some columns, add optional color codes for log
13100           levels
13101
13102 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13103
13104         * docs/random/ensonic/logging.txt:
13105           add ideas about making the logs a bit more useful
13106
13107 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13108
13109         * docs/pwg/advanced-events.xml:
13110         * docs/pwg/titlepage.xml:
13111           Update for 0.10 API (#340627). Add myself
13112           to authors list.
13113
13114 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13115
13116         * docs/libs/gstreamer-libs-docs.sgml:
13117         * docs/libs/gstreamer-libs-sections.txt:
13118         * libs/gst/check/gstbufferstraw.c:
13119           Make gstcheck stuff show up in docs (still needs to
13120           be documented properly though).
13121
13122 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13123
13124         * docs/gst/gstreamer-sections.txt:
13125         * gst/Makefile.am:
13126         * gst/gst.c: (init_post):
13127         * gst/gst_private.h:
13128         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13129         * gst/gstquark.h:
13130         * gst/gstquery.c: (gst_query_new_position),
13131         (gst_query_set_position), (gst_query_parse_position),
13132         (gst_query_new_duration), (gst_query_set_duration),
13133         (gst_query_parse_duration), (gst_query_new_convert),
13134         (gst_query_set_convert), (gst_query_parse_convert),
13135         (gst_query_new_segment), (gst_query_set_segment),
13136         (gst_query_parse_segment), (gst_query_new_seeking),
13137         (gst_query_set_seeking), (gst_query_parse_seeking):
13138         Add internal helpers for pre-registering quarks from static strings
13139         and using the quark values directly instead of looking them up when
13140         creating and parsing queries. Can be used for event construction too.
13141         Closes #350432.
13142
13143 2006-08-16  Wim Taymans  <wim@fluendo.com>
13144
13145         * gst/gstbin.c:
13146         Fix bogus docs.
13147
13148 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13149
13150         * gst/gstutils.c: (gst_util_set_value_from_string):
13151           Fix memleak (#351502).
13152
13153         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13154           Add unit test for most of gst_util_set_value_from_string()
13155           (not that one would want to encourage use of this function).
13156
13157 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13158
13159         * libs/gst/check/gstcheck.h:
13160           Use const gchar * variables in fail_unless_equals_string
13161           macro to avoid compiler warnings (and don't use tabs for
13162           indenting).
13163
13164 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13165
13166         * tools/gst-launch.c: (print_tag):
13167           More space on the left for the tag names, to cater
13168           for the 'extended comment' tag (not touching the
13169           string for the first line since it's translated).
13170
13171 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13172
13173         * libs/gst/check/gstcheck.h:
13174           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13175           print something when they fail.
13176
13177 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13178
13179         * docs/gst/gstreamer-sections.txt:
13180         * gst/gsttaglist.c: (_gst_tag_initialize):
13181         * gst/gsttaglist.h:
13182           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13183           Also change merge function for GST_TAG_COMMENT to
13184           use_first.
13185
13186 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13187
13188         * gst/gstinfo.c: (gst_debug_print_object):
13189           Make GST_PTR_FORMAT print messages as well.
13190
13191         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13192         (GST_START_TEST), (gst_info_suite):
13193           More tests.
13194
13195 2006-08-14  Edward Hervey  <edward@fluendo.com>
13196
13197         * gst/gstelementfactory.c: (gst_element_register):
13198         If the GstElementClass doesn't have a GstElementDetails with all fields
13199         filled up correctly (longname, description AND author), then error out
13200         nicely instead of crashing.
13201
13202 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13203
13204         * gst/gststructure.c:
13205           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13206
13207         * gst/gstvalue.h:
13208           Expand on the difference between arrays and lists as we use them.
13209           
13210 2006-08-14  Wim Taymans  <wim@fluendo.com>
13211
13212         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13213         If the parent state change function failed, don't assume we can safely
13214         stop the source, this will be done when the pads are deactivated.
13215
13216 2006-08-14  Wim Taymans  <wim@fluendo.com>
13217
13218         * gst/gstbuffer.c:
13219         * gst/gsttask.c: (gst_task_join):
13220         Small doc updates.
13221
13222         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13223         (gst_pad_stop_task):
13224         When pad (de)activation failed for some reason, restore the old
13225         activation mode and set the pad to flushing instead of assuming the
13226         pad is deactivated.
13227         If the _task_join() failed, reinstall the task on the pad so that it can
13228         be stopped later and return an error.
13229
13230 2006-08-11  Andy Wingo  <wingo@pobox.com>
13231
13232         * configure.ac:
13233         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13234         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13235         is only for users of API that don't want to see deprecated
13236         functions in the headers; people that want to compile out
13237         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13238         CFLAGS. Fixes the build of multifdsink, or will soon..
13239
13240 2006-08-11  Wim Taymans  <wim@fluendo.com>
13241
13242         * docs/gst/gstreamer-sections.txt:
13243         Add GstClockClass vmethod docs.
13244
13245         * gst/gstcaps.h:
13246         Mark #endif with comment for associated #if
13247
13248         * gst/gstclock.c: (gst_clock_id_wait):
13249         * gst/gstclock.h:
13250         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13251         most clock implementations.
13252         Document vmethods.
13253         Flesh out docs about resolution methods.
13254         API: GstClockClass::wait_jitter
13255
13256         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13257         (gst_system_clock_async_thread),
13258         (gst_system_clock_id_wait_jitter_unlocked),
13259         (gst_system_clock_id_wait_jitter):
13260         Use base class wait_jitter variant for improved performance
13261         due to less clock polling.
13262
13263 2006-08-11  Edward Hervey  <edward@fluendo.com>
13264
13265         * gst/gst.c: (gst_init_check), (init_post):
13266         Set gst as being initialized before scanning/updating the registry,
13267         since there might be my python plugin loader that calls gst_init() and
13268         we don't want to loop back in.
13269         Closes #350879
13270
13271 2006-08-11  Wim Taymans  <wim@fluendo.com>
13272
13273         * docs/design/part-qos.txt:
13274         Bring docs in line with the code. Mostly the sign of the jitter was
13275         wrong in the docs. Fixes #349943.
13276
13277         * gst/gstclock.c:
13278         Fix the docs for the jitter.
13279
13280         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13281         (gst_event_parse_tag), (gst_event_new_buffer_size),
13282         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13283         (gst_event_new_seek), (gst_event_parse_seek),
13284         (gst_event_new_navigation):
13285         Make sure the GstStructure has no parent when creating custom
13286         events.
13287         Add some more argument checking so that we avoid 0.0 rates.
13288         Flesh out the docs for the QoS event some more.
13289
13290 2006-08-11  Wim Taymans  <wim@fluendo.com>
13291
13292         * docs/gst/gstreamer-sections.txt:
13293         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13294         (ensure_current_registry_forking), (ensure_current_registry),
13295         (parse_one_option), (parse_goption_arg), (gst_deinit),
13296         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13297         * gst/gst.h:
13298         Doc updates.
13299         Added API and command line option to disable registry forking in
13300         addition to the environment variable.
13301         Constify some static arrays.
13302         Added some more debug.
13303         Don't deinit twice.
13304         API: gst_registry_fork_is_enabled()
13305         API: gst_registry_fork_set_enabled()
13306         API: --gst-disable-registry-fork command line option
13307         Fixes #348918.
13308
13309 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13310
13311         * gst/gst.c: (gst_init):
13312           Fix typo in error message.
13313
13314 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13315
13316         * libs/gst/controller/gstcontroller.h:
13317           fix ABI size-correction
13318
13319         * tests/check/libs/gdp.c: (gst_dp_suite):
13320           make tests that use deprecated API conditional
13321
13322 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13323
13324         * docs/libs/gstreamer-libs-sections.txt:
13325         * libs/gst/controller/gstcontroller.c:
13326         (_gst_controller_get_property), (_gst_controller_set_property),
13327         (_gst_controller_init), (_gst_controller_class_init):
13328         * libs/gst/controller/gstcontroller.h:
13329         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13330         (gst_object_set_control_rate):
13331           API: add gst_object_{s,g}et_control_rate(), add private data section,
13332           fix docs
13333
13334         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13335         * libs/gst/dataprotocol/dataprotocol.h:
13336           add deprecation guards to make gtk-doc happy and allow disabling cruft
13337
13338 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13339
13340         * tests/check/Makefile.am:
13341         * tests/check/gst/.cvsignore:
13342           Let's enable the new unit test as well.
13343
13344 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13345
13346         * configure.ac:
13347         * docs/gst/gstreamer-sections.txt:
13348         * gst/gstconfig.h.in:
13349         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13350         (_gst_info_printf_extension_ptr),
13351         (_gst_info_printf_extension_segment):
13352           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13353           register that lets us easily dump GstSegments into debug
13354           logs (#350419).
13355
13356         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13357         (info_segment_format_printf_extension), (gst_info_suite):
13358           Add simple unit test that logs a bunch of different segments (not
13359           valgrinded at the moment because of leaks in
13360           gst_debug_add_log_function).
13361
13362 2006-08-09  Edward Hervey  <edward@fluendo.com>
13363
13364         * libs/gst/base/gstbasetransform.c:
13365         (gst_base_transform_buffer_alloc):
13366         Even if we can't figure out the proper format to request downstream,
13367         call buffer_alloc() downstream with the input parameters without setting
13368         the caps on the srcpad. This will force negotiation in the chain
13369         function.
13370         Closes #350449
13371
13372 2006-08-08  Edward Hervey  <edward@fluendo.com>
13373
13374         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13375         Unlinking from a pad without a target is now a perfectly valid case
13376         which should NOT raise an assertion.
13377         This case would happen if a linked ghostpad its target set to NULL after
13378         it was previously linked.
13379
13380 2006-08-08  Edward Hervey  <edward@fluendo.com>
13381
13382         * tests/check/libs/gdp.c:
13383         Also comment out the test (see below).
13384
13385 2006-08-08  Edward Hervey  <edward@fluendo.com>
13386
13387         * tests/check/libs/gdp.c: (gst_dp_suite):
13388         Use the architecture information from config.h and not gcc macros
13389         in order to properly disable a test that fails on PPC64.
13390
13391 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13392
13393         * gst/gstelement.c: (gst_element_remove_pad):
13394           Don't crash printing the warning if the pad has no parent.
13395
13396 2006-08-02  Wim Taymans  <wim@fluendo.com>
13397
13398         * libs/gst/dataprotocol/dataprotocol.c:
13399         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13400         (gst_dp_crc), (gst_dp_header_payload_length),
13401         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13402         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13403         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13404         (gst_dp_event_from_packet), (gst_dp_validate_header),
13405         (gst_dp_validate_payload):
13406         Make debug category static
13407         Constify the crc table.
13408         Do some more arg checking in public functions.
13409         Fix some docs and do some small cleanups.
13410
13411         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13412         Add some more checks to see if GDP deals with bogus input.
13413
13414 2006-07-31  Wim Taymans  <wim@fluendo.com>
13415
13416         * gst/gstvalue.c: (gst_value_compare_list):
13417         Fix GstValueList comparison code. Fixes #347293.
13418
13419         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13420         Check to test GstValueList comparison.
13421
13422 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13423
13424         * gst/gstelementfactory.c: (gst_element_factory_create):
13425         Remove unnecessary ref/unref pair
13426
13427         * gst/parse/grammar.y:
13428         Make sure to free the parse buffer on all code paths.
13429         Move a g_free up to the error handler where it's easier to see.
13430
13431         * tests/check/gst/gstevent.c: (test_event):
13432         Extending timeout for downstream travelling events to 10 seconds to
13433         hopefully avoid intermittent failure on the buildbots.
13434
13435         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13436         Don't manually set the state of the src element - it will happen as a
13437         natural consequence of the pipeline changing state, and that way it
13438         will do it in the right order too.
13439
13440 2006-07-31  Wim Taymans  <wim@fluendo.com>
13441
13442         * libs/gst/base/gstbasetransform.c:
13443         (gst_base_transform_buffer_alloc):
13444         Use OBJECT_LOCK and refcounting to get the pad caps in the
13445         buffer_alloc function because the caps could change while we are
13446         busy with them. Fixes #349105
13447
13448 2006-07-31  Wim Taymans  <wim@fluendo.com>
13449
13450         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13451         Protect _PAD_CAPS with OBJECT_LOCK.
13452
13453 2006-07-31  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13456         (gst_pad_get_property), (gst_pad_activate_pull),
13457         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13458         (gst_pad_set_activate_function),
13459         (gst_pad_set_activatepull_function),
13460         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13461         (gst_pad_set_getrange_function),
13462         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13463         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13464         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13465         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13466         (gst_pad_set_acceptcaps_function),
13467         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13468         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13469         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13470         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13471         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13472         (gst_pad_configure_sink), (gst_pad_configure_src),
13473         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13474         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13475         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13476         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13477         (gst_pad_send_event):
13478         Use _DEBUG_OBJECT when it makes sense.
13479         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13480         Small cleanups and code reflows.
13481         Avoid caps refcounting in _accept_caps.
13482         Refactor alloc_buffer so that the code performed on the peer is in a
13483         separate function. Also if the pad does not implement a buffer alloc
13484         function, we should still check if the pad is flushing before falling
13485         back to the default allocator.
13486
13487 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13488
13489         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13490         Make all uses of identity and fakesink have silent=true to avoid
13491         serialising every passing data structure, which is breaking tests
13492         on FC4 for some unknown reason.
13493
13494 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13495
13496         * gst/parse/Makefile.am:
13497         * gst/parse/grammar.y:
13498         * gst/parse/parse.l:
13499           Reverted previous patch as it required to bump the flex dependency to
13500           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13501
13502 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13503
13504         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13505
13506         * gst/parse/Makefile.am:
13507         * gst/parse/grammar.y:
13508         * gst/parse/parse.l:
13509           push & pop the state of the lexer for reentrant use case
13510           Fixes #349180
13511
13512 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * libs/gst/base/gstbasesrc.h:
13515           Note in the docs that the ::newsegment vfunc is not actually used by
13516           GstBaseSrc.
13517
13518 2006-07-28  Wim Taymans  <wim@fluendo.com>
13519
13520         * libs/gst/base/gstcollectpads.c:
13521         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13522         (gst_collect_pads_clear), (gst_collect_pads_flush),
13523         (gst_collect_pads_event), (gst_collect_pads_chain):
13524         When flushing a pad, also clear the queued buffer so that we don't
13525         accidentally use it when we shouldn't.
13526         Fix leaks by inreffing incomming buffer.
13527         Flush out queued buffers in case of errors.
13528         Fixes #347452.
13529
13530 2006-07-28  Wim Taymans  <wim@fluendo.com>
13531
13532         * docs/random/phonon-gst:
13533         Random notes about a Phonon backend.
13534
13535 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13536
13537         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13538         Extra debug output
13539         * tests/check/libs/gdp.c: (gst_dp_suite):
13540         Take a whack at fixing the ppc compile using a different define to
13541         disable the broken test.
13542
13543         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13544         Remove excess g_print()
13545
13546 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13547
13548         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13549         Oops, meant to uncomment this line too to dampen the noise a bit.
13550
13551 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13552
13553         * gst/parse/grammar.y:
13554         * gst/parse/parse.l:
13555         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13556         (GST_START_TEST), (parse_suite):
13557         Fix some of the leaks exposed by extending the parse-launch testsuite,
13558         and move the 3 I can't figure out into a separate test that won't run
13559         the pipelines unless the appropriate line is uncommented.
13560
13561 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13562
13563         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13564           Requesting 0 bytes before the end of the file should result in
13565           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13566           unit test.
13567
13568 2006-07-27  Wim Taymans  <wim@fluendo.com>
13569
13570         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13571         Fix useless assert, a uint is always positive.
13572
13573         * gst/gststructure.c: (gst_structure_nth_field_name),
13574         (gst_structure_foreach), (gst_structure_map_in_place):
13575         Check input arguments for public functions to avoid obvious crashes.
13576
13577         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13578         * plugins/elements/gstfakesink.h:
13579         Do less useless typechecking.
13580
13581 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13582
13583         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13584           Do not use mmap() by default since there are a number of error
13585           conditions that we would like to handle in a non-fatal way that
13586           will result in a SIGBUS if we use mmap(). Examples: external
13587           devices (USB harddrive, portable music player) being unplugged
13588           while in use; file on mounted CD/DVD that can't be read because
13589           the medium is partly damaged. Fixes #348455 and #348475.
13590
13591 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13592
13593         * gst/gstquery.h:
13594         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13595         rates are a gdouble
13596
13597 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13598
13599         * gst/gstregistry.c:
13600           Move big documentation comment into class section header, so that it
13601           appears in the API docs.
13602
13603 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13604
13605         * docs/gst/gstreamer-sections.txt:
13606         Oops. Commit the docs additions too for new API.
13607         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13608
13609 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13610
13611         * gst/gststructure.c: (gst_structure_id_set),
13612         (gst_structure_id_set_valist):
13613         * gst/gststructure.h:
13614         Add API for setting values into structures without performing
13615         a quark lookup, if the appropriate quark is already known.
13616
13617         API: gst_structure_id_set
13618         API: gst_structure_id_set_valist
13619
13620         * gst/parse/grammar.y:
13621         * gst/parse/parse.l:
13622         Remove some dead code shown by the coverage information.
13623         Don't throw a critical g_warning when encountering a syntax error,
13624         just warn and let the normal error path handle it.
13625
13626         * plugins/elements/gstelements.c:
13627         Bump the rank of filesink up to PRIMARY so that it is preferred over
13628         gnomevfssink for file:// sink uri's
13629
13630         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13631         (GST_START_TEST), (run_delayed_test),
13632         (gst_parse_test_element_base_init),
13633         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13634         (gst_parse_test_element_change_state),
13635         (gst_register_parse_element), (parse_suite):
13636         Beef up the tests for parse syntax to check that more error cases
13637         fail as they are supposed to. Increases the test coverage a bit.
13638
13639 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13640
13641         * docs/manual/basics-elements.xml:
13642           Fix gst_element_link() example.
13643
13644         * gst/gstutils.c:
13645           Mention in API docs that one should usually gst_bin_add()
13646           elements to a bin or pipeline before doing the linking.
13647           
13648 2006-07-26  Wim Taymans  <wim@fluendo.com>
13649
13650         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13651         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13652         Avoid function call for known types by keeping the buffer and
13653         subbuffer GType global.
13654
13655         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13656         Random silly optimisations in read() path.
13657
13658 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13659
13660         * tools/gst-launch.c: (main):
13661           If the top-level of the parse is a normal bin, it doesn't do the
13662           right logic to run as a top-level element, so place it inside a
13663           pipeline.
13664
13665 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13666
13667         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13668           Remove superfluous g_object_notify() calls, GObject does
13669           that for us automatically.
13670
13671 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13672
13673         * gst/gstinfo.h:
13674           on Win32, use dllspec to export the debug category symbols
13675
13676 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13677
13678         * gst/gsttaglist.c: (_gst_tag_initialize):
13679           Allow more than one GST_TAG_IMAGE per taglist.
13680
13681 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13682
13683         * gst/gstminiobject.c:
13684           update docs
13685         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13686         (gst_fd_src_create):
13687           log recurring events at LOG level
13688           add more debug for when the fd gets set
13689
13690 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13691
13692         * gst/gstparse.c: (gst_parse_launch):
13693           Also remove reentrance checks if flex is MT safe (#348179)
13694          Fix my empty ChangeLog entry below
13695
13696 2006-07-21  Andy Wingo  <wingo@pobox.com>
13697
13698         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13699
13700         * libs/gst/check/Makefile.am
13701         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13702         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13703         * libs/gst/check/gstbufferstraw.h:
13704         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13705         functions, thus proving I am still a GStreamer haxor. OK I wrote
13706         them a long time ago, but anyways.
13707
13708 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13709
13710         * configure.ac:
13711         * gst/gstparse.c: (gst_parse_launch):
13712           Check for flex version and omit mutex if we have a MT save flex
13713           (fixes #348179)
13714
13715 2006-07-21  Wim Taymans  <wim@fluendo.com>
13716
13717         * gst/gstparse.c: (gst_parse_launch):
13718         Protect recursive calls to _parse with a recursive mutex
13719         and busy flag.
13720
13721 2006-07-21  Wim Taymans  <wim@fluendo.com>
13722
13723         * tests/check/gst/gstpad.c: (GST_START_TEST):
13724         Fix leak in test.
13725
13726 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13727
13728         * gst/gstparse.c: (gst_parse_launch):
13729           Do not hang on recursive usage of gst_parse_launch()
13730
13731 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13732
13733         * gst/gsttaglist.c:
13734           Add some more docs, comments and FIXME 0.11s here and there
13735           and also fix some typos.
13736
13737 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13738
13739         * gst/gstsegment.h:
13740           Convert tabs to spaces for better readability. 
13741
13742 2006-07-20  Edward Hervey  <edward@fluendo.com>
13743
13744         * tests/check/libs/gdp.c: (gst_dp_suite):
13745         the test_buffer test fails at line 140 on ppc64 at the following
13746         check:
13747         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13748                 GST_BUFFER_FLAG_IN_CAPS),
13749                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13750         See bug #348114 for more details.
13751
13752 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13753
13754         * docs/pwg/advanced-scheduling.xml:
13755         * gst/gstpad.c:
13756           Fix typos (#348000).
13757
13758 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13759
13760         * docs/pwg/intro-basics.xml:
13761           Fix wrong links (#347927).
13762
13763 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13764
13765         * gst/gstregistry.h:
13766         * gst/gstregistryxml.c: (load_feature),
13767         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13768         * win32/common/config.h:
13769           make --disable-index work (#342564)
13770
13771 2006-07-18  Wim Taymans  <wim@fluendo.com>
13772
13773         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13774
13775         * gst/Makefile.am:
13776         * gst/gsttrace.h:
13777         The attached patch adds two missing defines to gsttrace.h when tracing
13778         is disabled.  It also corrects one existing define.
13779         Fixes #347756.
13780
13781 2006-07-17  Wim Taymans  <wim@fluendo.com>
13782
13783         * docs/gst/gstreamer-sections.txt:
13784         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13785         * gst/gst.h:
13786         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13787         Add two functions to check and change the SIGSEGV behaviour
13788         when loading plugins.
13789         Don't mess with the SIGSEGV handler when we were told not to.
13790         Fixes #347794.
13791         API: gst_segtrap_is_enabled
13792         API: gst_segtrap_set_enabled
13793
13794 2006-07-14  Wim Taymans  <wim@fluendo.com>
13795
13796         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13797         * tests/check/elements/filesrc.c: (GST_START_TEST):
13798         Revert fix for regression in #347408 after release.
13799
13800 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13801
13802         Patch by: Antoine Tremblay <hexa00 at gmail com>
13803
13804         * gst/gstutils.c: (gst_element_unlink):
13805           Free iterator when done (#347311).
13806
13807         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13808           And add a test case for this.
13809
13810 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13811
13812         * configure.ac:
13813         Bump nano back to CVS
13814
13815 === release 0.10.9 ===
13816
13817 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13818
13819         * configure.ac:
13820           releasing 0.10.9, "On the road again"
13821
13822 2006-07-13  Wim Taymans  <wim@fluendo.com>
13823
13824         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13825         * tests/check/elements/filesrc.c: (GST_START_TEST):
13826         Revert pull-0 fix for release. Disable check. Fixes #347408.
13827
13828 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13829
13830         * libs/gst/dataprotocol/dataprotocol.c:
13831         (gst_dp_event_from_packet_1_0):
13832           Fixes #347337: failure to deserialize event packets with
13833           empty payload (only event type)
13834
13835 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13836
13837         * gst/Makefile.am:
13838           do not install a .c file in the header directory
13839
13840 2006-07-13  Edward Hervey  <edward@fluendo.com>
13841
13842         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13843         GhostPad no longer implicitely use the padtemplates of the targets.
13844         Fixes #347384
13845
13846 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13847
13848         * gst/gstvalue.c: (gst_value_compare_list),
13849         (gst_value_compare_array), (_gst_value_initialize):
13850         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13851         Make GstValueArray comparison be order dependent as designed.
13852         Add checks for value lists and value array comparisons.
13853         Fixes #347221
13854
13855 2006-07-11  Edward Hervey  <edward@fluendo.com>
13856
13857         * gst/gstbin.c: (activate_pads),
13858         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13859         (gst_bin_change_state_func):
13860         (de)activate src pads before calling state_change on the childs.
13861         This is to avoid the case where a src ghostpad is blocked (holding the
13862         stream lock), which would block the deactivation of the ghostpad's
13863         target pad.
13864         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13865         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13866         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13867         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13868         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13869         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13870         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13871         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13872         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13873         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13874         (gst_ghost_pad_class_init),
13875         (gst_ghost_pad_internal_do_activate_push),
13876         (gst_ghost_pad_internal_do_activate_pull),
13877         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13878         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13879         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13880         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13881         GhostPads now create their internal GstProxyPad at creation (and not
13882         when they're linked, as it was being done previously).
13883         The internal and target pads are linked straight away.
13884         The data will also travel through the other pad in order to make
13885         pad blocking and probes non-hackish (the probe/block now really happens
13886         on the GhostPad and not on the target).
13887         * gst/gstpad.c: (gst_pad_set_blocked_async),
13888         (gst_pad_link_prepare), (gst_pad_push_event):
13889         Remove previous ghostpad cruft.
13890         * gst/gstutils.c: (gst_pad_add_data_probe),
13891         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13892         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13893         (gst_pad_remove_buffer_probe):
13894         Remove previous ghost pad cruft.
13895         Added more detailed debug statements.
13896         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13897         Fix the testsuite for refcounting changes.
13898         The comments about who has references were correct, but the refcount
13899         being checked wasn't the same (!?!).
13900
13901         Fixes #341029
13902
13903 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13904
13905         * docs/gst/gstreamer-sections.txt:
13906         * gst/gstconfig.h.in:
13907         More docs for configuration options, add docs to gtk-doc.
13908
13909 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13910
13911         * gst/Makefile.am:
13912         * gst/gstconfig.h.in:
13913         * win32/common/config.h:
13914         Fix build when disabling tracing (fixes #344016). Also start to document
13915         the defines that disable the sub-systems.
13916
13917 2006-07-10  Edward Hervey  <edward@fluendo.com>
13918
13919         * gst/gst.c: (ensure_current_registry_forking):
13920         let's make valgrind happy...
13921
13922 2006-07-09  Wim Taymans  <wim@fluendo.com>
13923
13924         * gst/gstelement.c: (activate_pads),
13925         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13926         Better pad activation code: Reset the collect value too on resync.
13927         Add some comments.
13928
13929 2006-07-09  Wim Taymans  <wim@fluendo.com>
13930
13931         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13932         (gst_pad_activate_push):
13933         Use some more macros where it makes sense.
13934         Allow pad mode switching instead of asserting. When a pad
13935         is activated in one mode and we activate it in another, 
13936         deactivate it first before activating it in a different mode.
13937         Fixes #329198.
13938
13939 2006-07-08  Andy Wingo  <wingo@pobox.com>
13940
13941         * tools/gst-launch.c (main): Handle err == NULL.
13942
13943         * gst/gst.c (init_post, ensure_current_registry)
13944         (ensure_current_registry_forking)
13945         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13946         factoring out the registry scanning into separate functions. Don't
13947         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13948         Better environment var name/interface suggestions accepted.
13949
13950 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13951
13952         * gst/gstobject.c: (gst_object_set_name_default),
13953         (gst_object_set_name):
13954           Random micro-optimisation: don't use a hash table
13955           with strings as keys and the usual strdup/strcmp
13956           involved, but rather just use the GQuark of the
13957           type name as key, since it needs to be looked up
13958           anyway to get the type name string.
13959
13960         * tests/check/gst/gstobject.c: (GST_START_TEST):
13961           Fix various leaks.
13962
13963 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13964
13965         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13966         (gst_bin_iterate_all_by_interface):
13967           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13968           GTypes are gulongs and thus the top 4 bytes might be cut
13969           off on some platforms when doing GPOINTER_TO_INT, leading
13970           to invalid GTypes and bad things happening (see RH bug #179654).
13971           Also add a check to make sure the type passed in is really
13972           an interface type.
13973
13974 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13975
13976         * .cvsignore:
13977           Ignore more.
13978
13979 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13980
13981         * Makefile.am:
13982         * configure.ac:
13983         * gst-element-check.m4:
13984         * gst-element-check.m4.in:
13985           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13986           instead of the unversioned gst-inspect (#324176, #168659).
13987
13988 2006-07-06  Wim Taymans  <wim@fluendo.com>
13989
13990         * gst/gstmessage.h:
13991         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13992         warnings.
13993
13994 2006-07-06  Wim Taymans  <wim@fluendo.com>
13995
13996         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13997         (gst_base_src_wait), (gst_base_src_update_length),
13998         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13999         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14000         (gst_base_src_loop), (gst_base_src_start),
14001         (gst_base_src_activate_pull):
14002         Update docs.
14003         blocksize == 0 now means the default blocksize when working in push
14004         based mode.
14005         Remove some pointless asserts in _wait function.
14006         Fix offset/length calculations and EOS handling. We can now pull 0
14007         bytes as well, which is allowed.
14008         use _check_get_range() to decide if we can operate in _pull based
14009         mode.
14010         Fix refcounting leak when check_get_range function was not 
14011         implemented.
14012         API GstBaseSrc::blocksize range can be 0 too now (default)
14013
14014         * tests/check/elements/filesrc.c: (GST_START_TEST),
14015         (filesrc_suite):
14016         Added check to test _get_range() behaviour.
14017
14018 2006-07-06  Wim Taymans  <wim@fluendo.com>
14019
14020         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14021         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14022         (gst_pad_pull_range):
14023         * gst/gstpad.h:
14024         Lots of comments and docs added to the pad functions.
14025         Flesh out the expected behaviour of the get_range() functions.
14026
14027 2006-07-06  Wim Taymans  <wim@fluendo.com>
14028
14029         * gst/gstbus.h:
14030         * gst/gstclock.h:
14031         * gst/gstevent.h:
14032         * gst/gstiterator.h:
14033         * gst/gstpad.h:
14034         * gst/gstplugin.h:
14035         * gst/gsttask.h:
14036         Remove comma at end of enumerator list. 
14037
14038 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14039
14040         * win32/common/libgstbase.def:
14041         * win32/common/libgstdataprotocol.def:
14042         * win32/common/libsgtreamer.def:
14043         Add new exported functions.
14044
14045 2006-07-05  Wim Taymans  <wim@fluendo.com>
14046
14047         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14048         Add some more docs here and there.
14049
14050 2006-07-05  Wim Taymans  <wim@fluendo.com>
14051
14052         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14053         (gst_base_sink_loop), (gst_base_sink_get_position):
14054         When operating in pull mode update the offset so that we
14055         read sequentially.
14056
14057 2006-07-05  Wim Taymans  <wim@fluendo.com>
14058
14059         * gst/gstregistryxml.c: (read_string):
14060         Avoid strdup. (will happen in libxml, but hey!)
14061
14062         * gst/gsturi.c:
14063         Add some more docs.
14064
14065 2006-07-05  Wim Taymans  <wim@fluendo.com>
14066
14067         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14068         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14069         (gst_buffer_suite):
14070         No point in checking if the size of the subbuffer > 0, the
14071         code handles it correclty as demonstrated by unit test.
14072         Also add a unit test for the zero sized _new_and_alloc and
14073         _copy. Fixes #346663.
14074
14075 2006-07-05  Wim Taymans  <wim@fluendo.com>
14076
14077         * libs/gst/base/gstbasetransform.c:
14078         (gst_base_transform_prepare_output_buffer),
14079         (gst_base_transform_buffer_alloc),
14080         (gst_base_transform_handle_buffer):
14081         Make sure the buffer we pass to transform_ip has a refcount of
14082         1 and thus is writable. Fixes #343196
14083
14084 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14085
14086         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14087         (gst_file_src_init), (gst_file_src_set_property),
14088         (gst_file_src_get_property), (gst_file_src_map_region):
14089         * plugins/elements/gstfilesrc.h:
14090         Add "sequential" property, off by default, to use madvise and hint
14091         to the kernel that sequential access is desired.
14092         Touch all retrieved pages by default to ensure they are pulled
14093         into memory. (Closes #345720)
14094
14095 2006-07-03  Wim Taymans  <wim@fluendo.com>
14096
14097         * docs/design/part-block.txt:
14098         * docs/design/part-dynamic.txt:
14099         Small docs updates.
14100
14101 2006-07-03  Wim Taymans  <wim@fluendo.com>
14102
14103         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14104         (gst_caps_unref), (gst_static_caps_get),
14105         (gst_caps_append_structure):
14106         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14107         Use GSlice when the glib we build against is >= 2.10
14108
14109 2006-07-03  Wim Taymans  <wim@fluendo.com>
14110
14111         * gst/gstelement.c: (gst_element_pads_activate):
14112         Small cleanup in pad activation code.
14113
14114 2006-07-03  Wim Taymans  <wim@fluendo.com>
14115
14116         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14117
14118         * gst/gst-i18n-app.h:
14119         * gst/gst-i18n-lib.h:
14120         * tools/gst-inspect.c: (print_signal_info):
14121         The attached patch will make the inclusion of gettext.h unconditional in
14122         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14123         libintl.h in tools/gst-inspect.c.
14124         This allows use of --disable-nls again and fixes #344642.
14125
14126 2006-07-03  Edward Hervey  <edward@fluendo.com>
14127
14128         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14129         Implement pad blocking on events according to part-block.txt.
14130         More comments on behaviour.
14131         * tests/check/gst/gstevent.c: (test_event):
14132         Send event to peer pad of blocked pad (else it will block).
14133
14134 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14135
14136         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14137         (gst_check_run_suite):
14138           if we get the wrong message, give us the types as string
14139         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14140           Fix a translatable
14141         * tests/check/elements/filesrc.c: (GST_START_TEST):
14142           add a test for trying to open a non-existing file
14143
14144 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14145
14146         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14147           add a test for adding self
14148
14149 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14150
14151         * libs/gst/check/gstcheck.h:
14152           add some assert_ as alias for fail_unless_*
14153         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14154           increase test coverage
14155
14156 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14157
14158         * Makefile.am:
14159           include lcov.mak for lcov coverage generation
14160         * tools/Makefile.am:
14161           add to CLEANFILES
14162
14163 2006-07-02  Edward Hervey  <edward@fluendo.com>
14164
14165         * tests/check/elements/.cvsignore:
14166         moaping
14167
14168 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14169
14170         * configure.ac:
14171           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14172         * tests/check/Makefile.am:
14173           clean up gcov files
14174
14175 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14176
14177         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14178           remove gst_caps_simplify; it was not declared and not used
14179           and deprecated in 0.8
14180
14181 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14182
14183         * docs/faq/gst-uninstalled:
14184           don't put empty paths on PYTHONPATH
14185         * docs/gst/gstreamer-sections.txt:
14186           remove some symbols that are not there
14187
14188 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14189
14190         * gst/gstcaps.c: (gst_caps_compare_structures):
14191           whitespace fixes
14192         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14193         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14194           add more tests
14195
14196 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * libs/gst/dataprotocol/Makefile.am:
14199           build dataprotocol test by linking to the lib, instead of
14200           compiling the source, so we get coverage
14201         * tests/check/Makefile.am:
14202         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14203         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14204           add a test for filesrc
14205
14206 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14207
14208         * tests/check/gst/gststructure.c: (GST_START_TEST),
14209         (gst_structure_suite):
14210           Push coverage from 59.04% to 70.00%
14211
14212 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14213
14214         * tests/check/Makefile.am:
14215           gst-inspect every element; this makes sure that we also get
14216           coverage on element's get/set functions
14217
14218 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14219
14220         * configure.ac:
14221           set CFLAGS and friends to -O0 if gcov is being used
14222           add GCOV LIBS
14223         * gst/Makefile.am:
14224         * libs/gst/base/Makefile.am:
14225         * libs/gst/check/Makefile.am:
14226         * libs/gst/controller/Makefile.am:
14227         * libs/gst/dataprotocol/Makefile.am:
14228         * libs/gst/net/Makefile.am:
14229         * plugins/elements/Makefile.am:
14230         * plugins/indexers/Makefile.am:
14231           add makefile rules to generate gcov data and clean up
14232         * tests/check/Makefile.am:
14233           add a coverage target that generates an html overview
14234           of coverage data
14235
14236 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14237
14238         * tests/check/elements/fakesink.c:
14239         * tests/check/elements/fakesrc.c:
14240         * tests/check/elements/fdsrc.c:
14241         * tests/check/elements/identity.c:
14242         * tests/check/generic/sinks.c: (gst_sinks_suite):
14243         * tests/check/generic/states.c:
14244         * tests/check/gst/gst.c:
14245         * tests/check/gst/gstabi.c:
14246         * tests/check/gst/gstbin.c:
14247         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14248         * tests/check/gst/gstbus.c: (gst_bus_suite):
14249         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14250         * tests/check/gst/gstelement.c:
14251         * tests/check/gst/gstevent.c: (gst_event_suite):
14252         * tests/check/gst/gstghostpad.c:
14253         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14254         * tests/check/gst/gstmessage.c: (gst_message_suite):
14255         * tests/check/gst/gstminiobject.c:
14256         * tests/check/gst/gstobject.c:
14257         * tests/check/gst/gstpad.c:
14258         * tests/check/gst/gstpipeline.c:
14259         * tests/check/gst/gstplugin.c:
14260         * tests/check/gst/gstquery.c: (gst_query_suite):
14261         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14262         * tests/check/gst/gststructure.c:
14263         * tests/check/gst/gstsystemclock.c:
14264         * tests/check/gst/gsttag.c:
14265         * tests/check/gst/gsttask.c: (gst_task_suite):
14266         * tests/check/gst/gstutils.c:
14267         * tests/check/gst/gstvalue.c:
14268         * tests/check/libs/adapter.c:
14269         * tests/check/libs/basesrc.c:
14270         * tests/check/libs/collectpads.c:
14271         * tests/check/libs/controller.c:
14272         * tests/check/libs/gdp.c: (gst_dp_suite):
14273         * tests/check/libs/gstnetclientclock.c:
14274         * tests/check/libs/gstnettimeprovider.c:
14275         * tests/check/libs/libsabi.c: (libsabi_suite):
14276         * tests/check/libs/typefindhelper.c:
14277         * tests/check/pipelines/cleanup.c:
14278         * tests/check/pipelines/parse-launch.c:
14279         * tests/check/pipelines/simple-launch-lines.c:
14280         * tests/check/pipelines/stress.c: (stress_suite):
14281           use the new macro
14282
14283 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14284
14285         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14286         * libs/gst/check/gstcheck.h:
14287           create a macro and function so that the simple unit test
14288           case can be just one macro to create main()
14289
14290 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14291
14292         * gst/gstbin.c: (gst_bin_restore_thyself):
14293         * gst/gstxml.c: (gst_xml_make_element):
14294           Fix deserialisation from XML. Set parent manually
14295           instead of using gst_bin_add(), since gst_bin_add()
14296           will unlink all pads of the element being added.
14297           Fixes #341667.
14298
14299 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14300
14301         Patch by: Peter Kjellerstedt <pkj at axis com>
14302
14303         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14304           Fix missing g_strdup() and double free when using the
14305           --gst-plugin-load command line option (#346097).
14306
14307 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14308
14309         * gst/gstinfo.c:
14310           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14311
14312         * libs/gst/net/gstnetclientclock.c:
14313         * libs/gst/net/gstnettimeprovider.c:
14314           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14315
14316 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14317
14318         * docs/manual/advanced-dataaccess.xml:
14319           Fix buffer probe example compilation in
14320           ADM (#345708).
14321         
14322 2006-06-22  Edward Hervey  <edward@fluendo.com>
14323
14324         * gst/gstelement.c: (gst_element_pads_activate):
14325         We need to deactivate src pads first and then sink pads.
14326         The reason is the src pads might be blocking while holding the streaming
14327         lock, so we need to deactivate them first so that deactivating the sink
14328         pads doesn't block (since it will require the streaming lock).
14329
14330 2006-06-22  Wim Taymans  <wim@fluendo.com>
14331
14332         * libs/gst/base/gstbasetransform.c:
14333         (gst_base_transform_buffer_alloc):
14334         Forgot to remove two unneeded unrefs.
14335         Simplify a check _is_equal allready checks the obvious case.
14336
14337 2006-06-22  Wim Taymans  <wim@fluendo.com>
14338
14339         * docs/design/part-block.txt:
14340         Some docs about what pad_block should do.
14341
14342 2006-06-22  Wim Taymans  <wim@fluendo.com>
14343
14344         * gst/gstcaps.c: (gst_caps_replace):
14345         Fix crasher when passed NULL. Doc clarification.
14346         Optimize for the trivial case.
14347
14348         * gst/gstpipeline.c: (gst_pipeline_change_state):
14349         Small cleanups.
14350
14351         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14352         Small documentation cleanup.
14353
14354         * libs/gst/base/gstbasetransform.c:
14355         (gst_base_transform_buffer_alloc):
14356         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14357         is what we need and it avoids a whole lot of redundant 
14358         refcount operations.
14359
14360 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14361
14362         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14363
14364         * docs/manual/advanced-dataaccess.xml:
14365           Fix 'Embedding static elements' section to use
14366           GST_PLUGIN_DEFINE_STATIC (#345607).
14367
14368 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14369
14370         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14371           Attempt to 'fix' spuriously failing test case: it seems like the
14372           timeout of half a second is simply too small when the system is under
14373           load otherwise, and the timeout doesn't really seem to serve any
14374           particular purpose here. Give the pipeline a few seconds to preroll
14375           first, and then give it another half a second to go from PAUSED to
14376           PLAYING and marshal the message into the main thread.
14377
14378 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14379
14380         * tools/gst-feedback-m.m:
14381           Don't only use unversioned tools, try versioned tools as well
14382           (#345086).
14383
14384 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14385
14386         * gst/gstbus.c: (gst_bus_class_init):
14387           Fix some typos, make docs more explicit.
14388
14389 2006-06-20  Wim Taymans  <wim@fluendo.com>
14390
14391         * tests/check/gst/gstghostpad.c: (block_callback),
14392         (GST_START_TEST), (gst_ghost_pad_suite):
14393         Added some more ghostpad tests, mainly blocking
14394         and probes.
14395
14396 2006-06-16  Wim Taymans  <wim@fluendo.com>
14397
14398         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14399         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14400         (gst_file_sink_event), (gst_file_sink_render):
14401         * plugins/elements/gstfilesink.h:
14402         Check if we can seek in the file instead of assuming
14403         we always can. Post an error when we are asked to seek in a
14404         non-seekable file (like a fifo). Fixes #343312.
14405         Some cleanups.
14406
14407 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14408
14409         * tools/gst-launch.1.in:
14410           Un-garble (fourcc) bit in filtered caps section.
14411
14412 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14413
14414         * docs/manual/advanced-autoplugging.xml:
14415         * docs/manual/basics-helloworld.xml:
14416         * docs/manual/highlevel-components.xml:
14417           Don't leak bus reference in sample code.
14418
14419 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14420
14421         * autogen.sh:
14422           Add default for new --enable-plugin-docs switch.
14423
14424         * configure.ac:
14425           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14426           Fixes #344039.
14427
14428         * docs/Makefile.am:
14429           Use new ENABLE_PLUGIN_DOCS conditional.
14430
14431 2006-06-14  Wim Taymans  <wim@fluendo.com>
14432
14433         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14434         Make it clear with a FIXME and a real define what the #if 0
14435         previously disabled.
14436
14437 2006-06-14  Wim Taymans  <wim@fluendo.com>
14438
14439         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14440         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14441         * libs/gst/base/gstbasetransform.c:
14442         (gst_base_transform_sink_eventfunc):
14443         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14444         Don't randomly and silently reset a segment when the format 
14445         changes as this is a bug somewhere upstream. Fixes #330379.
14446
14447 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14448
14449         Patch by: Wouter Paesen  <wouter at kangaroot net>
14450
14451         * libs/gst/controller/gstcontroller.c:
14452         (gst_controlled_property_new):
14453           Fix controlling of float properties (#344849).
14454
14455         * tests/check/libs/controller.c:
14456         (gst_test_mono_source_get_property),
14457         (gst_test_mono_source_set_property),
14458         (gst_test_mono_source_class_init), (GST_START_TEST):
14459           While we're at it, add some float stuff to unit test.
14460
14461 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14462
14463         * docs/README:
14464         * docs/images/gdp-header.svg:
14465           add a gdp image
14466         * docs/libs/Makefile.am:
14467         * docs/libs/gdp-header.png:
14468         * libs/gst/dataprotocol/dataprotocol.c:
14469           add it to the API docs
14470         * docs/manual/intro-motivation.xml:
14471           fix typo
14472
14473 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * gst/gst.c: (scan_and_update_registry), (init_post):
14476           If the fork()'ed child process can't write the updated registry cache
14477           file to disk for some reason, make it exit with a failure exit code,
14478           so that the parent can then re-scan the plugins itself and update the
14479           registry structures in memory and work with that (rather than failing
14480           when creating elements because seemingly no plugins are available).
14481           Refactor registry scanning code into separate function for this and
14482           also separate fork() and non-fork() code paths. Fixes #344748.
14483
14484 2006-06-13  Wim Taymans  <wim@fluendo.com>
14485
14486         * docs/manual/advanced-dataaccess.xml:
14487         Fix wrong PluginDesc. Fixes #344755.
14488
14489 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14490
14491         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14492           Fix silly bug that prevented us from creating
14493           ~/.gstreamer-0.10 and writing the registry in one
14494           go (the first call to g_mkstemp() would overwrite the
14495           placeholder in the template string, so the second call
14496           to g_mkstemp() after creating the missing directory
14497           would then error out with 'invalid argument').
14498
14499 2006-06-13  Edward Hervey  <edward@fluendo.com>
14500
14501         * gst/gst.c: (init_post):
14502         Free string.
14503
14504 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14505
14506         * gst/glib-compat-private.h:
14507         * gst/glib-compat.c:
14508         * gst/glib-compat.h:
14509         * gst/gstvalue.c: (gst_value_serialize_flags):
14510           remove GLib 2.6 compatibility code
14511
14512 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14513
14514         * gst/parse/Makefile.am:
14515           Fix build with 'make -j N' even more (#340016).
14516
14517 2006-06-12  Wim Taymans  <wim@fluendo.com>
14518
14519         * docs/gst/gstreamer-sections.txt:
14520         Fix docs.
14521
14522 2006-06-12  Wim Taymans  <wim@fluendo.com>
14523
14524         * gst/gstsegment.c: (gst_segment_set_duration),
14525         (gst_segment_set_last_stop), (gst_segment_set_seek),
14526         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14527         (gst_segment_to_running_time), (gst_segment_clip):
14528         Use G_UNLIKELY to help the compiler a bit.
14529
14530 2006-06-12  Wim Taymans  <wim@fluendo.com>
14531
14532         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14533
14534         * gst/gstevent.c: (gst_event_get_type):
14535         * gst/gstmessage.c:
14536         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14537         (gst_pad_push):
14538         constify quark registration strings. Fixes #344115
14539         Avoid unneeded type checking is _pad_push() by internally
14540         calling gst_pad_chain_unchecked().
14541
14542 2006-06-12  Wim Taymans  <wim@fluendo.com>
14543
14544         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14545         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14546         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14547         (gst_buffer_is_span_fast), (gst_buffer_span):
14548         Init _type for consistency.
14549         Use _FLAGS macro to avoid type check.
14550         Avoid unneeded type checks in subbufer code.
14551
14552 2006-06-12  Wim Taymans  <wim@fluendo.com>
14553
14554         * gst/gst.c: (gst_debug_help):
14555         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14556         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14557         (gst_plugin_feature_list_free):
14558         * gst/gstregistry.c: (gst_registry_add_plugin),
14559         (gst_registry_add_feature), (gst_registry_plugin_filter),
14560         (gst_registry_feature_filter), (gst_registry_find_plugin),
14561         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14562         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14563         * gst/gstregistryxml.c: (load_feature),
14564         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14565         * gst/gstminiobject.c: (gst_mini_object_unref),
14566         (gst_mini_object_replace), (gst_value_mini_object_free),
14567         (gst_value_mini_object_copy):
14568         Use _CAST macros to avoid unneeded type checking.
14569         Added some more G_UNLIKELY.
14570
14571 2006-06-12  Wim Taymans  <wim@fluendo.com>
14572
14573         * gst/gstbuffer.h:
14574         Avoid unneeded type checking.
14575         API: GST_BUFFER_IS_DISCONT
14576
14577         * gst/gstminiobject.h:
14578         Avoid type check in flag accessor.
14579
14580         * gst/gstelementfactory.h:
14581         * gst/gstplugin.h:
14582         * gst/gstpluginfeature.h:
14583         Add _CAST macros.
14584         API: GST_ELEMENT_FACTORY_CAST
14585         API: GST_PLUGIN_CAST
14586         API: GST_PLUGIN_FEATURE_CAST
14587
14588 2006-06-12  Wim Taymans  <wim@fluendo.com>
14589
14590         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14591         (gst_object_unref):
14592         Add G_UNLIKELY in type registration.
14593         Avoid type check in _ref/_unref since that is also
14594         done in glib.
14595
14596 2006-06-12  Wim Taymans  <wim@fluendo.com>
14597
14598         * gst/gsterror.c: (gst_g_error_get_type):
14599         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14600         (gst_static_pad_template_get_type):
14601         * gst/gsttaglist.c: (gst_tag_list_get_type):
14602         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14603         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14604         * gst/gsturi.c: (gst_uri_handler_get_type):
14605         * gst/gstvalue.c: (gst_date_get_type):
14606         * gst/gstxml.c: (gst_xml_get_type):
14607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14608         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14609         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14610         Add G_UNLIKELY in type registration.
14611
14612 2006-06-12  Wim Taymans  <wim@fluendo.com>
14613
14614         * tools/gst-inspect.c: (print_signal_info):
14615         Properly print enum values.
14616
14617 2006-06-12  Wim Taymans  <wim@fluendo.com>
14618
14619         * gst/gstinfo.c: (gst_debug_set_active),
14620         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14621         * gst/gstinfo.h:
14622         Add some G_[UN]LIKELY.
14623         Maintain __gst_debug_min to avoid formatting the arguments of
14624         debug messages that will be dropped anyway to avoid a lot of 
14625         overhead from the debugging system.
14626
14627 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14628
14629         * po/POTFILES.in:
14630         * po/POTFILES.skip:
14631           add missing files containing translatable strings, tell intltool about
14632           one exception
14633
14634 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14635
14636         * tests/check/libs/.cvsignore:
14637         add test-binary to ignore list
14638
14639 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14640
14641         * docs/libs/gstreamer-libs-docs.sgml:
14642         reorder (put dp into a chapter) and indent
14643
14644 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14645
14646         * configure.ac:
14647           back to HEAD
14648
14649 === release 0.10.8 ===
14650
14651 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14652
14653         * configure.ac:
14654           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14655
14656 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14657
14658         * gst/gst.c: (init_post):
14659           move pid declaration to declaration block
14660
14661 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14662
14663         * gst/gst.c: (init_post):
14664           use _exit() instead of exit() in our forked child; this ensures
14665           that none of the registered exit handlers from whatever is using
14666           GStreamer get executed.  This fixes gnome-mixer-applet failing
14667           to load, because ORBit would shut down.
14668           Spotted by: Edward Hervey  <edward@fluendo.com>
14669           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14670           Fixes #344474
14671
14672 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14673
14674         * configure.ac:
14675           back to TRUNK
14676
14677 === release 0.10.7 ===
14678
14679 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14680
14681         * configure.ac:
14682           releasing 0.10.7, "Soepeke, ik zie ou"
14683
14684 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14685
14686         * configure.ac:
14687         * po/af.po:
14688         * po/az.po:
14689         * po/bg.po:
14690         * po/ca.po:
14691         * po/cs.po:
14692         * po/de.po:
14693         * po/en_GB.po:
14694         * po/fr.po:
14695         * po/it.po:
14696         * po/nb.po:
14697         * po/nl.po:
14698         * po/ru.po:
14699         * po/sq.po:
14700         * po/sr.po:
14701         * po/sv.po:
14702         * po/tr.po:
14703         * po/uk.po:
14704         * po/vi.po:
14705         * po/zh_CN.po:
14706         * po/zh_TW.po:
14707         * win32/common/config.h:
14708           0.10.6.2 prerelease
14709
14710 2006-06-07  Wim Taymans  <wim@fluendo.com>
14711
14712         * gst/gstindex.c: (gst_index_gtype_resolver):
14713         * tools/gst-xmlinspect.c: (print_plugin_info):
14714         Fix leak spotted by coverity checker. Fixes #343827
14715         Fix another other leak found by paolo borelli.
14716
14717 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14718
14719         * libs/gst/dataprotocol/dataprotocol.c:
14720         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14721         (gst_dp_version_get_type), (gst_dp_init),
14722         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14723         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14724         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14725         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14726         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14727         (gst_dp_packetizer_free):
14728         * libs/gst/dataprotocol/dataprotocol.h:
14729           API: add a GstDPPacketizer object, and create/free functions
14730           API: add GstDPVersion enum
14731           Add 1.0 event function that uses the string serialization
14732           Serialize more useful buffer flags
14733           Fixes #343988
14734
14735 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14736
14737         * tests/check/Makefile.am:
14738         * tests/check/gst/gstabi.c:
14739         * tests/check/gst/struct_ppc64.h:
14740         * tests/check/libs/libsabi.c:
14741         * tests/check/libs/struct_ppc64.h:
14742           add ppc64 structure sizes
14743
14744 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14745
14746         * tests/check/Makefile.am:
14747         * tests/check/gst/gstabi.c:
14748         * tests/check/gst/struct_x86_64.h:
14749         * tests/check/libs/libsabi.c:
14750         * tests/check/libs/struct_x86_64.h:
14751           generate and add structure size lists for x86_64
14752
14753 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14754
14755         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14756         * libs/gst/check/gstcheck.h:
14757           factor out the method from tests that checks size of structures,
14758           and add code to generate the header containing these sizes
14759         * tests/check/gst/gstabi.c: (GST_START_TEST):
14760         * tests/check/gst/struct_i386.h:
14761         * tests/check/libs/libsabi.c: (GST_START_TEST):
14762         * tests/check/libs/struct_i386.h:
14763           use it
14764
14765 2006-06-06  Michael Smith  <msmith@fluendo.com>
14766
14767         * gst/gstsegment.h:
14768           Don't use c++-style comments, fixes #343929
14769
14770 2006-06-05  Edward Hervey  <edward@fluendo.com>
14771
14772         * gst/gst.c:
14773         plugin_paths is not used if we build without registry support.
14774
14775         * gst/gstsegment.c: (gst_segment_copy): 
14776         _copy() was always returning NULL...
14777
14778 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14779
14780         * libs/gst/dataprotocol/dataprotocol.c:
14781         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14782         (gst_dp_packet_from_event):
14783           factor out CRC code
14784
14785 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14786
14787         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14788           make sure we unset caps
14789
14790 2006-06-02  Michael Smith  <msmith@fluendo.com>
14791
14792         * libs/gst/check/gstcheck.c: (gst_check_init),
14793         (gst_check_chain_func):
14794         * libs/gst/check/gstcheck.h:
14795           Add a cond/mutex to the check support lib, signal this whenever we
14796           add to the buffers list. This will allow tests to not busy-wait on
14797           the buffer-list.
14798
14799 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14800
14801         * libs/gst/dataprotocol/dataprotocol.c:
14802         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14803         (gst_dp_packet_from_event):
14804           factor out some common header init code
14805
14806 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14807
14808         * docs/libs/gstreamer-libs-sections.txt:
14809         * docs/libs/tmpl/gstdataprotocol.sgml:
14810         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14811         * libs/gst/dataprotocol/dataprotocol.h:
14812           API: make gst_dp_crc() public
14813
14814 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14815
14816         * plugins/indexers/gstindexers.c: (plugin_init):
14817         conditionally register fileindexer (fixes #343598)
14818
14819 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14820
14821         * gst/gsttagsetter.h:
14822         Can't cast ifaces to a class
14823
14824         * libs/gst/net/gstnetclientclock.h:
14825         * libs/gst/net/gstnettimeprovider.h:
14826         * plugins/elements/gstfakesink.h:
14827         * plugins/elements/gstfakesrc.h:
14828         * plugins/elements/gstfdsink.h:
14829         * plugins/elements/gstfdsrc.h:
14830         * plugins/elements/gstfilesink.h:
14831         * plugins/elements/gstfilesrc.h:
14832         * plugins/elements/gstidentity.h:
14833         * plugins/elements/gstqueue.h:
14834         * plugins/elements/gsttee.h:
14835         * plugins/indexers/gstfileindex.c:
14836         * plugins/indexers/gstmemindex.c:
14837         * tests/old/examples/plugins/example.h:
14838         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14839
14840 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14841
14842         * libs/gst/dataprotocol/dataprotocol.c:
14843         (gst_dp_header_from_buffer):
14844           make sure we zero the whole ABI-compatible area
14845
14846 2006-06-01  Wim Taymans  <wim@fluendo.com>
14847
14848         Patch by: Alessandro Decina <alessandro at nnva dot org>
14849
14850         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14851         Make sure the EOS flag is cleared from pads after a flush
14852         or stop. Fixes #343538.
14853
14854         * tests/check/libs/collectpads.c: (GST_START_TEST),
14855         (gst_collect_pads_suite):
14856         Added test for collectpads reusage after EOS.
14857
14858 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14859
14860         * gst/gst.c:
14861          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14862         * win32/common/libgstbase.def:
14863          export gst_collect_pads_set_flushing
14864         * win32/common/libgstreamer.def:
14865          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14866          gst_value_fraction_multiply
14867         * win32/vs6/gst_inspect.dsp:
14868          add a link to intl.lib
14869
14870 2006-05-30  Wim Taymans  <wim@fluendo.com>
14871
14872         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14873         (gst_collect_pads_chain):
14874         Handle the case where a pad is removed from the collection
14875         that could cause the other pads to become collectable.
14876
14877 2006-05-30  Wim Taymans  <wim@fluendo.com>
14878
14879         * gst/gstelement.c:
14880         Clarify the use of _release_request_pad() and
14881         _get_request_pad() a bit better.
14882
14883         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14884         (gst_adapter_take_buffer):
14885         Fix some doc and comment typos.
14886
14887 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14888
14889         * docs/gst/gstreamer-sections.txt:
14890         * docs/libs/gstreamer-libs-sections.txt:
14891           add declared symbols
14892
14893 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14894
14895         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14896         Add debug that can be enabled using a #define at the top of the file,
14897         for dumping stats about how late/early we were when waking up from
14898         waiting on the clock.
14899
14900 2006-05-30  Wim Taymans  <wim@fluendo.com>
14901
14902         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14903         When rebuilding the pad list, don't leak the previous list.
14904
14905 2006-05-30  Wim Taymans  <wim@fluendo.com>
14906
14907         Patch by: Lutz Mueller <lutz at topfrose dot de>
14908
14909         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14910         (gst_base_src_get_query_types), (gst_base_src_update_length):
14911         Publish supported query types.
14912         Update last_stop field in get_range mode so the position
14913         query works. Fixes #342321.
14914
14915 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14916
14917         * docs/gst/gstreamer-sections.txt:
14918         * gst/gsttaglist.c: (_gst_tag_initialize):
14919         * gst/gsttaglist.h:
14920           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14921
14922 2006-05-30  Wim Taymans  <wim@fluendo.com>
14923
14924         Patch by: Alessandro Decina <alessandro at nnva dot org>
14925
14926         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14927         Unlock mutex when removing an unknown pad.
14928         Fixes #343334.
14929
14930         * tests/check/Makefile.am:
14931         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14932         (push_event), (setup), (teardown), (GST_START_TEST),
14933         (gst_collect_pads_suite), (main):
14934         Added collecpads check, disabled for now as check crashes for
14935         some reason.
14936
14937 2006-05-29  Wim Taymans  <wim@fluendo.com>
14938
14939         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14940         Don't leak pads lists.
14941
14942 2006-05-29  Wim Taymans  <wim@fluendo.com>
14943
14944         * docs/libs/gstreamer-libs-sections.txt:
14945         * libs/gst/base/gstcollectpads.c:
14946         (gst_collect_pads_set_flushing_unlocked),
14947         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14948         (gst_collect_pads_stop):
14949         * libs/gst/base/gstcollectpads.h:
14950         API: gst_collect_pads_set_flushing()
14951         Added api to set the pads to flushing, useful for seeking
14952         code in elements using collectpads.
14953         Clear segment when receiving a flush.
14954
14955 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14956
14957         * gst/gst.c: (add_path_func), (init_post):
14958           Don't scan registry paths passed via --gst-plugin-path immediately
14959           (will crash, because absolutely nothing is set up and no types are
14960           registered etc.); do this later in init_post(). Fixes #343057.
14961
14962 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * gst/gst.c: (init_post):
14965           if we have fork, fork while reading/rebuilding the registry
14966           so the parent doesn't take the hit of having all plugins loaded
14967           in memory.  Fixes #342777.
14968         * configure.ac:
14969           Check if we have fork()
14970         * win32/common/config.h.in:
14971           no fork() on win32
14972
14973 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14974
14975         * plugins/elements/gstelements.c:
14976         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14977         (gst_file_src_init), (gst_file_src_set_property),
14978         (gst_file_src_get_property), (gst_file_src_start):
14979         * plugins/elements/gstfilesrc.h:
14980           API: GstFileSrc::use-mmap
14981
14982         Add a use-mmap property to enable easier testing of all code paths.
14983         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14984         in the absence of gnomevfssrc. (Closes #340501)
14985
14986 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14987
14988         * tools/gst-inspect.c:
14989         Add missing include, removes warning of ngettext not being defined on
14990         some arches.
14991
14992 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14993
14994         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14995         Handle NULL input and output pointers silently as a failed conversion,
14996         rather than g_warnings.
14997
14998 2006-05-25  Wim Taymans  <wim@fluendo.com>
14999
15000         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15001         Initialize variable before using. Fixes #342820.
15002
15003 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15004
15005         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15006           Fix off-by-one bug that would only allow peeks of N-1 bytes
15007           from the start even if the buffer to typefind on contains
15008           in fact N bytes of data (makes vorbis typefinding from a
15009           vorbis identification header buffer work).
15010
15011         * tests/check/Makefile.am:
15012         * tests/check/libs/.cvsignore:
15013         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15014         (gst_typefindhelper_suite), (main), (foobar_typefind),
15015         (plugin_init):
15016           Add very basic unit test for gst_type_find_helper_for_buffer()
15017           that checks for the problem fixed above.
15018
15019 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15020
15021         * tools/gst-inspect.c: (print_interfaces),
15022         (print_element_properties_info), (print_element_list), (main):
15023           add more translatable strings
15024
15025 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15026
15027         Patch by: Julien Moutte  <julien at moutte net>
15028
15029         * docs/gst/gstreamer-sections.txt:
15030           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15031           
15032         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15033         (gst_fake_sink_preroll):
15034         * plugins/elements/gstfakesink.h:
15035           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15036
15037 2006-05-23  Wim Taymans  <wim@fluendo.com>
15038
15039         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15040         * gst/gstpad.h:
15041         Added _CUSTOM error and success GstFlowReturn that can be
15042         used be elements internally. 
15043         Added macro to check for SUCCESS flowreturns.
15044         API: GST_FLOW_CUSTOM_SUCCESS
15045         API: GST_FLOW_CUSTOM_ERROR
15046         API: GST_FLOW_IS_SUCCESS
15047
15048         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15049         Added check for GstFlowReturn sanity.
15050
15051 2006-05-23  Wim Taymans  <wim@fluendo.com>
15052
15053         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15054
15055         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15056         (gst_collect_pads_event):
15057         clear/reset segment info in FLUSH_STOP.
15058         Fixes #336929.
15059
15060 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15061
15062         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15063         (gst_collect_pads_check_collected):
15064         Flush queued buffer on _stop(), fixes playing again (#342454)
15065
15066 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15067
15068         * tests/check/gst/gststructure.c: (GST_START_TEST),
15069         (gst_structure_suite):
15070           add a test for a complete structure
15071
15072 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15073
15074         * docs/faq/developing.xml:
15075         * docs/faq/faq.xml:
15076         * docs/faq/troubleshooting.xml:
15077         * docs/faq/using.xml:
15078           Some minor FAQ updates that won't change the fact that
15079           our FAQ is badly structured, full of information hardly
15080           anyone new to GStreamer needs to know and lacking lots
15081           of information people constantly ask for.
15082           
15083 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15084
15085         * gst/gstpad.c: (gst_pad_set_caps):
15086           Short-circuit gst_pad_set_caps if setting the existing
15087           caps pointer again, and avoid printing debug and 
15088           reffing/unreffing the caps.
15089
15090         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15091           There's actually no need to set the caps before pushing -
15092           the acceptcaps method will handle it anyway.
15093
15094 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15095
15096         * docs/gst/gstreamer-sections.txt:
15097         * win32/common/libgstreamer.def:
15098         * gst/gstutils.c: (gst_element_seek_simple):
15099         * gst/gstutils.h:
15100           API: add gst_element_seek_simple() (#342238).
15101
15102 2006-05-18  Edward Hervey  <edward@fluendo.com>
15103
15104         * gst/gsttypefind.c: (gst_type_find_get_type):
15105         * gst/gsttypefind.h:
15106         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15107         registered for GstTypeFind pointers. This allows wrapping the structure
15108         in bindings (i.e. gst-python).
15109
15110 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15111
15112         * gst/gsttagsetter.c:
15113           Docs additions and fixes (see #339918).
15114
15115 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15116
15117         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15118         The caps intersection algorithm can produce multiple copies of the
15119         caps. Until that is fixed, we need to simplify the result to be
15120         sure whether the allowed caps are fixed or not.
15121
15122         * plugins/elements/gstqueue.c: (gst_queue_init),
15123         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15124         (gst_queue_push_one):
15125         Proxied buffer alloc should not set the caps on the source pad.
15126         When pushing buffers, we always accept the caps change that triggers.
15127         This prevents negotiation errors caused by caps changing mid-stream 
15128         and then being refused on our source pad (because upstream is now
15129         refusing those caps).
15130
15131 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15132
15133         * tests/examples/helloworld/helloworld.c: (main):
15134           Must plug audioconvert and audioresample between decoder
15135           and audio sink.
15136
15137 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15138
15139         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15140         (load_feature), (load_plugin):
15141         Allow empty strings for some of the plugin fields so we don't 
15142         drop valid plugin entries that were written out correctly
15143         (Fixes #341479)
15144
15145 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15146         
15147         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15148           Use g_remove and g_rename instead of remove and rename that don't 
15149           handle utf8 characters. rename was failing for users who had specific
15150           characters in their name then the registry was built at each 
15151           gstreamer init.
15152         * win32/vs6/gst_inspect.dsp:
15153         * win32/vs6/gst_launch.dsp:
15154         * win32/vs6/libgstbase.dsp:
15155         * win32/vs6/libgstcoreelements.dsp:
15156         * win32/vs6/libgstreamer.dsp:
15157           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15158           build of libgstreamer and clean unused libraries in projects link 
15159           settings.
15160
15161 2006-05-17  Edward Hervey  <edward@fluendo.com>
15162
15163         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15164         The queue is not responsible for pushing an EOS when receiving a fatal
15165         flow error. It's up to the real element driving the pipeline to do that.
15166
15167 2006-05-16  Edward Hervey  <edward@fluendo.com>
15168
15169         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15170         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15171         buffer returned a fatal error. It should just send an EOS and stop
15172         its task.
15173         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15174         when pushing buffers on the queue and will be able to handle the event.
15175
15176 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * docs/manual/basics-bins.xml:
15179         * docs/manual/basics-init.xml:
15180           Fix typos and minor errors in sample code (#341856).
15181
15182 2006-05-16  Wim Taymans  <wim@fluendo.com>
15183
15184         * docs/design/part-qos.txt:
15185         Fix indexes in formulas to make more sense.
15186
15187 2006-05-15  Wim Taymans  <wim@fluendo.com>
15188
15189         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15190         Don't report POSITION based on clock time if sync is
15191         disabled in a sink.
15192
15193 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * gst/gstobject.h:
15196           Add cast to make compiler happy - refcount variable was a gint
15197           in GstObject but is a guint in GObject and g_atomic_int_get()
15198           wants a gint *.
15199
15200 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15201
15202         * gst/parse/Makefile.am:
15203           chain commands using &&, which also makes parallel make work
15204
15205 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15206
15207         * docs/gst/gstreamer-sections.txt:
15208         * gst/gstevent.c:
15209         * gst/gstevent.h:
15210         * gst/gstmessage.h:
15211           Minor docs fixes.
15212
15213 === release 0.10.6 ===
15214
15215 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15216
15217         * configure.ac:
15218           releasing 0.10.6, "Take the cannoli"
15219
15220 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15221
15222         * tools/gst-launch.c: (print_tag):
15223           Fix use of uninitialized variable in the hypothetical
15224           case that some broken plugin creates a GST_TAG_IMAGE
15225           tag containing a NULL buffer (#341667).
15226
15227 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15228
15229         * tools/gst-launch.c: (print_tag):
15230           Print something more intelligible for image tags when
15231           using the -t switch (#341556).
15232
15233 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15234
15235         * Makefile.am:
15236           updates for win32
15237         * configure.ac:
15238           define GST_MAJORMINOR so we have it available in win32/common/config.h
15239           Possibly remove it from our Makefile.am files later
15240         * win32/common/config.h:
15241         * win32/common/config.h.in:
15242           added GST_MAJORMINOR
15243         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15244         * win32/common/gstversion.h:
15245           updated
15246
15247 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15248
15249         * win32/MANIFEST:
15250           Update win32 files listing.
15251         * win32/common/gstversion.h:
15252           Add GST_MAJORMINOR definition.
15253         * win32/common/libgstreamer.def:
15254           Add new exported functions.
15255           
15256 2006-05-12  Michael Smith  <msmith@fluendo.com>
15257
15258         * gst/gstplugin.c: (gst_plugin_load_file):
15259           If an so file has no plugin entry point, unload the module.
15260
15261 2006-05-11  Wim Taymans  <wim@fluendo.com>
15262
15263         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15264         (gst_queue_set_property):
15265         Don't forget to signal the _chain or _loop function 
15266         when the queue size or thresholds change since that might
15267         cause them to make progres again.
15268
15269 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15270
15271         * gst/gstclock.c: (gst_clock_class_init):
15272         * gst/gstindex.c: (gst_index_class_init):
15273         * gst/gstobject.c: (gst_object_class_init):
15274         * gst/gstpad.c: (gst_pad_class_init):
15275         * gst/gstpipeline.c: (gst_pipeline_class_init):
15276         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15277         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15278         * libs/gst/base/gstbasetransform.c:
15279         (gst_base_transform_class_init):
15280         * libs/gst/net/gstnetclientclock.c:
15281         (gst_net_client_clock_class_init):
15282         * libs/gst/net/gstnettimeprovider.c:
15283         (gst_net_time_provider_class_init):
15284         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15285         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15286         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15287         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15288         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15289         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15290         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15291         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15292         * plugins/elements/gsttee.c: (gst_tee_class_init):
15293         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15294         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15295           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15296
15297 2006-05-11  Wim Taymans  <wim@fluendo.com>
15298
15299         * gst/gstbuffer.c: (_gst_buffer_initialize):
15300         Register subbufer along with the buffer type so that
15301         it does not accidentally gets registered from N
15302         different streaming threads in a non threadsafe way.
15303
15304 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15305
15306         * gst/gstbuffer.h:
15307         * gst/gstevent.h:
15308         * gst/gstmessage.h:
15309           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15310           gst_event_ref() and gst_message_ref() functions again
15311           (ugly hack, please do fix if there's a better way besides
15312           overrides.txt, which doesn't seem to work).
15313
15314 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15315
15316         * libs/gst/check/gstcheck.h:
15317           add an assert for setting state to avoid lots of repetitive code
15318           in the future
15319
15320 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15321
15322         * gst/gstvalue.c: (gst_value_serialize_flags):
15323           fix a leak if no flags are set
15324         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15325           fix leak in tests
15326
15327 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15328
15329         * docs/manual/basics-pads.xml:
15330           Expand a bit on caps and filtered links and update
15331           examples that were still using the no longer existing
15332           gst_pad_link_filtered() (#338206).
15333
15334 2006-05-10  Wim Taymans  <wim@fluendo.com>
15335
15336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15337         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15338         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15339         (gst_collect_pads_stop):
15340         * libs/gst/base/gstcollectpads.h:
15341         No need to call _stop in _finalize.
15342         Iterate the main pad list in _finalize.
15343         Added some more debug.
15344         Free lists and data in the right order.
15345         Also free data whem doing _remove_pad when stopped for
15346         backward compatibility protect ::started with PAD_LOCK as
15347         well.
15348
15349 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15350
15351         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15352         (gst_structure_parse_value):
15353           add some comments
15354           rename a method so that it actually says what it does better
15355
15356 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15357
15358         * gst/gstevent.c: (_gst_event_initialize):
15359         * gst/gstformat.c: (_gst_format_initialize):
15360           make sure some essential types used by events are registered
15361           as part of gst_init()
15362         * gst/gstvalue.c: (gst_value_serialize_flags):
15363           if no flags are set, serialize them to a value that represents NONE
15364           so that deserializing them works
15365         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15366           add tests for serialization and deserialization of flags
15367
15368 2006-05-10  Wim Taymans  <wim@fluendo.com>
15369
15370         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15371         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15372         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15373         (gst_collect_pads_event), (gst_collect_pads_chain):
15374         Update docs.
15375         Better debug info.
15376         Catch and return errors from the collect function
15377         Refuse data on eos pads.
15378
15379 2006-05-10  Edward Hervey  <edward@fluendo.com>
15380
15381         * gst/gstinterface.h:
15382         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15383         GInterface type checking.
15384         They were previously using non-defined macros.
15385
15386 2006-05-09  Wim Taymans  <wim@fluendo.com>
15387
15388         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15389         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15390         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15391         (gst_collect_pads_start), (gst_collect_pads_stop),
15392         (gst_collect_pads_peek), (gst_collect_pads_pop),
15393         (gst_collect_pads_available), (gst_collect_pads_read),
15394         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15395         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15396         (gst_collect_pads_chain):
15397         * libs/gst/base/gstcollectpads.h:
15398         Clean up the mess that is collectpads, add comments and
15399         FIXMEs where needed.
15400         Maintain a separate pad list so we can add pads while
15401         collecting the other ones. For this we need a new separate 
15402         lock (see comics).
15403         Fix memory leak in finalize.
15404         Refactor some weird code to set/unset pad flushing flags, mark
15405         with comments.
15406         Don't crash in _available, _read, _flush when we're EOS.
15407
15408         * tests/check/libs/.cvsignore:
15409         Ignore adapter check binary.
15410
15411 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15412
15413         * gst/gstindex.c: (gst_index_resolver_get_type):
15414         * plugins/elements/gstfakesink.c:
15415         (gst_fake_sink_state_error_get_type):
15416         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15417         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15418         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15419           Const-ify GEnumValue arrays.
15420
15421 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15422
15423         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15424           Add test case for flags + gst_buffer_make_metadata_writable().
15425
15426 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15427
15428         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15429           gst_buffer_make_metadata_writable() should maintain the
15430           buffer flags (those that make sense at least) (see #340859).
15431
15432 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15433
15434         * tools/gst-inspect.c:
15435         * tools/gst-launch.c:
15436         * tools/gst-typefind.c:
15437         * tools/gst-xmlinspect.c:
15438         * tools/tools.h:
15439           Fix up includes: need to include stdlib.h in tools.h for exit().
15440
15441 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15442
15443         * gst/gsttaglist.c: (_gst_tag_initialize):
15444         * gst/gsttaglist.h:
15445           API: add GST_TAG_IMAGE tag (#340721).
15446
15447 2006-05-08  Wim Taymans  <wim@fluendo.com>
15448
15449         * gst/gstquery.c:
15450         Added some docs for the segment query.
15451
15452 2006-05-08  Wim Taymans  <wim@fluendo.com>
15453
15454         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15455         (gst_base_src_loop), (gst_base_src_change_state):
15456         Always push non-flushing serialized events in the streaming 
15457         thread.
15458
15459 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15460
15461         * gst/gsterror.c: (_gst_stream_errors_init):
15462           Add a missing error string.
15463
15464 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15465
15466         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15467         Add applied_rate to the debug
15468
15469         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15470         Copy applied_rate into the outgoing NEWSEGMENT event
15471
15472 2006-05-08  Wim Taymans  <wim@fluendo.com>
15473
15474         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15475
15476         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15477         (gst_base_sink_change_state):
15478         call ::unlock before taking the PREROLL_LOCK so we can safely
15479         handle elements that lock in ::render.
15480         Fixes #340174.
15481
15482 2006-05-08  Edward Hervey  <edward@fluendo.com>
15483
15484         * autogen.sh: (CONFIGURE_DEF_OPT): 
15485         Darwin's libtoolize is in fact called glibtoolize.
15486         Adding glibtoolize to the list of accepted names for libtoolize.
15487
15488 2006-05-08  Wim Taymans  <wim@fluendo.com>
15489
15490         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15491         Unify error handling, don't post an error message
15492         when a push() returns EOS but perform our normal EOS
15493         handling code. Fixes #340772.
15494
15495 2006-05-08  Wim Taymans  <wim@fluendo.com>
15496
15497         * docs/design/part-overview.txt:
15498         Make upsteam/downstream concepts more clear.
15499         Give an example of serialized/non-serialized events.
15500
15501         * docs/design/part-events.txt:
15502         * docs/design/part-streams.txt:
15503         Mention applied_rate.
15504
15505         * docs/design/part-trickmodes.txt:
15506         Mention applied rate, flesh out some more use cases.
15507
15508         * gst/gstevent.c: (gst_event_new_new_segment),
15509         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15510         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15511         (gst_event_parse_tag), (gst_event_new_buffer_size),
15512         (gst_event_parse_buffer_size), (gst_event_new_qos),
15513         (gst_event_parse_qos), (gst_event_parse_seek),
15514         (gst_event_new_navigation):
15515         * gst/gstevent.h:
15516         Add applied_rate field to NEWSEGMENT event.
15517         API: gst_event_new_new_segment_full()
15518         API: gst_event_parse_new_segment_full()
15519
15520         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15521         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15522         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15523         * gst/gstsegment.h:
15524         Add applied_rate to GstSegment structure.
15525         Make calculation of stream_time and running_time more correct
15526         wrt rate/applied_rate.
15527         Add some more docs.
15528         API: GstSegment::applied_rate field
15529         API: gst_segment_set_newsegment_full();
15530
15531         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15532         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15533         * libs/gst/base/gstbasetransform.c:
15534         (gst_base_transform_sink_eventfunc),
15535         (gst_base_transform_handle_buffer):
15536         Parse and use applied_rate in the GstSegment field.
15537
15538         * tests/check/gst/gstevent.c: (GST_START_TEST):
15539         Add check for applied_rate field.
15540
15541         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15542         (gstsegments_suite):
15543         Add more checks for various GstSegment operations.
15544
15545 2006-05-08  Wim Taymans  <wim@fluendo.com>
15546
15547         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15548         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15549         (gst_base_sink_get_position), (gst_base_sink_change_state):
15550         Store the sync time of the buffer end position separatly in a
15551         new variable eos_rtime so we can properly sync the EOS event.
15552         Fixes #340697.
15553         Fix the docs for gst_base_sink_set_qos_enabled().
15554         Don't set segment start to invalid value when we receive a 
15555         non TIME newsegment.
15556         get closer to handling position reporting for negative rates 
15557         correctly.
15558
15559 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15560
15561         * gst/gstcaps.c:
15562         Docs about how to print caps for debug purposes.
15563
15564         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15565         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15566
15567 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15568
15569         * gst/gstelement.c:
15570           use full enum names and preprend a '%' in docs strings to make recent 
15571           gtk-doc turn that into a link
15572
15573 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15574
15575         * docs/manual/basics-bins.xml:
15576         * docs/manual/basics-bus.xml:
15577         * docs/manual/basics-pads.xml:
15578           Some typo fixes, some additions, some clarifications. 
15579
15580 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15581
15582         * tools/gst-inspect.c: (main):
15583         * tools/gst-launch.c: (main):
15584         * tools/gst-run.c: (main):
15585         * tools/gst-typefind.c: (main):
15586         * tools/gst-xmlinspect.c: (main):
15587           Use the string passed to g_option_context_new() for
15588           what it's intended for - the program name is already
15589           printed elsewhere.
15590
15591 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * tools/Makefile.am:
15594         * tools/gst-inspect.c: (main):
15595         * tools/gst-launch.c: (main):
15596         * tools/gst-xmlinspect.c: (main):
15597         * tools/tools.h:
15598           Add back --version command line option (#340460).
15599
15600         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15601           Add --version option and use GOption for argument parsing; refactor a
15602           bit; accept directories as arguments and recurse into them; lastly,
15603           print a decent error message when things go wrong.
15604
15605 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15606
15607         * docs/manual/basics-bins.xml:
15608         Don't mention GstThread (#340611)
15609         * docs/manual/basics-elements.xml:
15610         Update link to GObject tutorial (#340607)
15611         
15612 2006-05-05  Wim Taymans  <wim@fluendo.com>
15613
15614         * gst/gstbuffer.h:
15615         * gst/gstminiobject.c:
15616         Add note about refcounting and miniobject/buffer writeability
15617         to docs. Fixes #340604
15618
15619         * gst/gstelementfactory.h:
15620         Added some explanation about @klass.
15621
15622 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15623
15624         * docs/manual/intro-motivation.xml:
15625         * docs/manual/manual.xml:
15626         Avoid CORBA & Bonobo references (#340598)
15627
15628 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15629
15630         * docs/manual/basics-bus.xml:
15631         * docs/manual/basics-pads.xml:
15632         Fix up some inaccuracies and omissions (#340609)
15633         
15634 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15635
15636         * gst/gstghostpad.c:
15637           Small typo in docs (#340625)
15638
15639 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15640
15641         * gst/parse/Makefile.am:
15642           Make 'make -j' proof (see #340698).
15643
15644 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15645
15646         * configure.ac:
15647           Require GLib-2.8 here as well.
15648
15649 2006-05-05  Wim Taymans  <wim@fluendo.com>
15650
15651         * gst/glib-compat.c:
15652         * gst/gst.c: (init_pre):
15653         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15654         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15655         (gst_object_dispatch_properties_changed):
15656         * gst/gstobject.h:
15657         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15658         * gst/gststructure.c: (gst_structure_set_valist):
15659         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15660         Remove pre glib2.8 compatibility, fixes #340508
15661
15662 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15663
15664         * gst/gsttaglist.h:
15665           Mention type of tags in doc blurbs.
15666
15667 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15668
15669         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15670         (gst_pad_configure_src), (gst_pad_push):
15671         Restore acceptcaps checking behaviour now that good plugins have
15672         been released.
15673
15674 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15675
15676         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15677
15678         * gst/gst.c:
15679         * gst/gstbus.c:
15680         * gst/gstclock.c:
15681         * gst/gstevent.c:
15682         * gst/gstformat.c:
15683         * gst/gstmessage.c:
15684         * gst/gstparse.c:
15685         * gst/gstquery.c:
15686         * gst/gstutils.c:
15687         * gst/parse/Makefile.am:
15688         * libs/gst/base/gstadapter.c:
15689         * libs/gst/base/gstbasesrc.c:
15690         * libs/gst/base/gstpushsrc.c:
15691         * libs/gst/base/gsttypefindhelper.c:
15692         * plugins/elements/gstfakesrc.c:
15693         * plugins/elements/gstidentity.c:
15694           Make sure gstprivate.h and/or config.h are
15695           always included first, otherwise some of our
15696           defines (like _FILE_OFFSET_BITS) might be
15697           redefined in the system headers. Fixes build
15698           on opensolaris (#340016).
15699
15700 2006-05-04  Wim Taymans  <wim@fluendo.com>
15701
15702         * docs/libs/gstreamer-libs-sections.txt:
15703         API: addition: gst_adapter_take_buffer()
15704         
15705         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15706         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15707         (gst_adapter_available_fast):
15708         * libs/gst/base/gstadapter.h:
15709         Prepare for optimizing the hell out of this hugely inefficient
15710         piece of code. 
15711         Added gst_adapter_take_buffer() so we can at least start thinking
15712         about subbuffering and merging.
15713         Added some comments.
15714
15715         * tests/check/Makefile.am:
15716         * tests/check/libs/adapter.c: (GST_START_TEST),
15717         (gst_adapter_suite), (main):
15718         Added GstAdapter check.
15719
15720 2006-05-04  Wim Taymans  <wim@fluendo.com>
15721
15722         * docs/design/part-overview.txt:
15723         Fix some typos, add blurb about buffer flags.
15724
15725 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15726
15727         * docs/libs/gstreamer-libs-sections.txt:
15728           make sure GstBaseTransformClass shows up in the docs
15729         * libs/gst/base/gstbasetransform.c:
15730         * libs/gst/base/gstbasetransform.h:
15731           move docs so gtk-doc picks it up now
15732
15733 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15734
15735         * docs/libs/gstreamer-libs-sections.txt:
15736           add missing symbols to docs
15737
15738 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15739
15740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15741           back out the newsegment handling change, see #340060 for ongoing
15742           discussion
15743
15744 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15745
15746         * tools/gst-run.c: (get_candidates), (main):
15747           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15748           work); fix typo in error message. Fixes #340079.
15749
15750 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15751
15752         * common/Makefile.am:
15753         * docs/Makefile.am:
15754         * docs/faq/Makefile.am:
15755         * docs/gst/Makefile.am:
15756         * docs/libs/Makefile.am:
15757         * docs/manual/Makefile.am:
15758         * docs/plugins/Makefile.am:
15759         * docs/pwg/Makefile.am:
15760         * docs/slides/Makefile.am:
15761         * docs/upload.mak:
15762         * common/upload.mak:
15763           move upload.mak to common
15764
15765 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15766
15767         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15768           add more asserts on refcounts
15769           do more cleanup at end of tests
15770           fix test leaks showing in FC5
15771
15772 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15773
15774         * plugins/elements/gsttypefindelement.c:
15775         (gst_type_find_element_handle_event):
15776         reverted wrong change and reflowed code to avoid others falling into
15777         this trap
15778
15779 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15780
15781         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15782           fix changelog entry about last collectpads change,
15783           add notes about proper fix
15784
15785 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15786
15787         * gst/gst.c:
15788         * gst/gstregistry.c: (gst_registry_scan_path_level),
15789         (gst_registry_scan_path):
15790         * gst/gstregistry.h:
15791           only write out registry if it has changed, fixes #338339
15792
15793 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15794
15795         * gst/gstbin.c:
15796         * gst/gstpipeline.c:
15797         * plugins/elements/gstcapsfilter.c:
15798         * plugins/elements/gstfakesink.c:
15799         * plugins/elements/gstfakesrc.c:
15800         * plugins/elements/gstfdsink.c:
15801         * plugins/elements/gstfdsrc.c:
15802         * plugins/elements/gstfilesink.c:
15803         * plugins/elements/gstfilesrc.c:
15804         * plugins/elements/gstidentity.c:
15805         * plugins/elements/gstqueue.c:
15806         * plugins/elements/gsttee.c:
15807         * plugins/elements/gsttypefindelement.c:
15808         (gst_type_find_element_handle_event):
15809           make GstElementDetails const
15810
15811 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15812
15813         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15814         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15815         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15816           more detailed debug and formatting cleanup,
15817           forward newsegments to src-pad (so that e.g. adder not eats them)
15818
15819 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15820
15821         * gst/gstutils.c: (gst_element_link_pads):
15822           cleanup double code
15823
15824 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15825
15826         * libs/gst/controller/gstcontroller.c:
15827         (gst_controller_sync_values):
15828           some little tuning
15829         * tests/check/libs/controller.c: (GST_START_TEST),
15830         (gst_controller_suite):
15831           a new test for live value handling
15832
15833 2006-04-28  Wim Taymans  <wim@fluendo.com>
15834
15835         * gst/gstutils.c: (push_and_ref):
15836         Added some more docs.
15837         Fix refcount issue whith gst_element_found_tags() helper 
15838         function. Fixes #338335
15839
15840         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15841         Added testsuite for gst_element_found_tags().
15842
15843 2006-04-28  Michael Smith  <msmith@fluendo.com>
15844
15845         * gst/gstvalue.c: (gst_value_serialize_flags):
15846           Avoid NULL dereference when trying to serialize flags containing
15847           invalid values.
15848
15849 2006-04-28  Michael Smith  <msmith@fluendo.com>
15850
15851         * plugins/elements/gsttypefindelement.c:
15852         (gst_type_find_element_handle_event):
15853           If we get EOS before any data is accumulated, don't use
15854           uninitialised local variables.
15855
15856 2006-04-28  Michael Smith  <msmith@fluendo.com>
15857
15858         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15859         (gst_dp_event_from_packet):
15860           Fixes in reading/writing events over GDP (not currently used?) - 
15861           dereferencing NULL events for unknown/invalid event types, memory
15862           leak, and change g_warning to GST_WARNING.
15863
15864 2006-04-28  Wim Taymans  <wim@fluendo.com>
15865
15866         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15867         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15868         (gst_base_sink_get_position), (gst_base_sink_change_state):
15869         When frame dropping is enabled, we should not ignore frames
15870         without a duration.
15871         Update some documentation.
15872
15873 2006-04-28  Wim Taymans  <wim@fluendo.com>
15874
15875         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15876         (gst_base_src_send_event), (gst_base_src_change_state):
15877         Documentation updates.
15878
15879 2006-04-28  Wim Taymans  <wim@fluendo.com>
15880
15881         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15882         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15883         handle EAGAIN, EINTR and short writes correctly. Also clean
15884         up some error cases, avoid a deadlock on bad file descriptors and
15885         use GST_DEBUG_OBJECT.
15886         Fixes #339843
15887
15888 2006-04-28  Wim Taymans  <wim@fluendo.com>
15889
15890         * gst/gstvalue.c: (gst_value_serialize_buffer),
15891         (gst_value_deserialize_buffer):
15892         Don't try to serialize a GValue with a NULL buffer. 
15893         Fixes #339821.
15894
15895         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15896         Added check for serialisation of NULL buffers.
15897
15898 2006-04-28  Wim Taymans  <wim@fluendo.com>
15899
15900         * gst/gstminiobject.c: (gst_value_take_mini_object):
15901         Taking a NULL miniobject is valid, fix the case where
15902         we try to unref the NULL miniobject.
15903
15904 2006-04-28  Wim Taymans  <wim@fluendo.com>
15905
15906         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15907
15908         * gst/gstbin.c: (gst_bin_handle_message_func):
15909         Update docs.
15910         Don't leak bin refcount when a state recalc is
15911         in progress and we delay another one #339808.
15912
15913 2006-04-28  Wim Taymans  <wim@fluendo.com>
15914
15915         * docs/design/part-TODO.txt:
15916         Mention QoS as an ongoing work item.
15917
15918         * docs/design/part-buffering.txt:
15919         New doc about buffering that needs to be fleshed out
15920         at some point.
15921
15922         * docs/design/part-qos.txt:
15923         More QoS policy for decoders/demuxers/transforms
15924
15925         * docs/design/part-trickmodes.txt:
15926         Small update.
15927
15928 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15929
15930         * configure.ac:
15931           back to HEAD
15932
15933 === release 0.10.5 ===
15934
15935 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15936
15937         * configure.ac:
15938           releasing 0.10.5, "Fogo"
15939
15940 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15941
15942         patch by: Wim Taymans
15943
15944         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15945         (gst_pad_configure_src), (gst_pad_push):
15946         * gst/gstpipeline.c: (gst_pipeline_init):
15947           Fix internal data flow errors.  Fixes #338711.
15948
15949 2006-04-12  Wim Taymans  <wim@fluendo.com>
15950
15951         * tests/check/gst/gstelement.c: (GST_START_TEST):
15952         Don't leak the factory.
15953
15954 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15955
15956         * configure.ac:
15957         * win32/common/config.h:
15958           prerelease
15959
15960 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15961
15962         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15963         (gst_controller_unset_all):
15964           Free allocated GstTimedValues when freeing list nodes.
15965           Should fix leaks 'make check-valgrind' complains about.
15966
15967         * win32/common/libgstcontroller.def:
15968           Add gst_controller_unset_all.
15969
15970 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15971
15972         * docs/libs/gstreamer-libs-sections.txt:
15973         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15974         (gst_controller_unset_all):
15975         * libs/gst/controller/gstcontroller.h:
15976         API: Added new method gst_controller_unset_all()
15977         fixed gst_controller_unset()
15978         * tests/check/libs/controller.c: (GST_START_TEST),
15979         (gst_controller_suite):
15980         Added two testcases for new and fixed method
15981
15982 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15983
15984         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15985           MSG_DONTWAIT is not defined on Cygwin, so work
15986           around that (fixes #317048).
15987           
15988 2006-04-11  Wim Taymans  <wim@fluendo.com>
15989
15990         * gst/gstelementfactory.c: (gst_element_register),
15991         (gst_element_factory_create), (gst_element_factory_make):
15992         Some cleanups.
15993         Fixed a FIXME.
15994         Updated docs (Fixes #131079)
15995
15996         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15997         Small cleanups.
15998
15999         * tests/check/gst/gstelement.c: (GST_START_TEST),
16000         (gst_element_suite):
16001         Added testcase for elementfactory class field.
16002
16003 2006-04-10  Wim Taymans  <wim@fluendo.com>
16004
16005         * gst/gstsegment.c:
16006         Added some more docs.
16007
16008         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16009         (gst_base_sink_reset_qos):
16010         Calculate more accurate rate values.
16011
16012 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16013
16014         * gst/gst_private.h:
16015           add a new #ifdef to use __declspec(dllimport) only for
16016           other modules and not for gstreamer core
16017         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16018           use gst_guint64_to_gdouble for conversion
16019         * win32/common/libgstreamer.def:
16020           add new exported functions
16021         * win32/vs6/gst_inspect.dsp:
16022         * win32/vs6/gst_launch.dsp:
16023         * win32/vs6/libgstbase.dsp:
16024         * win32/vs6/libgstcontroller.dsp:
16025         * win32/vs6/libgstcoreelements.dsp:
16026         * win32/vs6/libgstdataprotocol.dsp:
16027         * win32/vs6/libgstnet.dsp:
16028           update project files
16029
16030 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16031
16032         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16033         * gst/gstclock.c: (gst_clock_class_init):
16034         * gst/gstelement.c: (gst_element_class_init):
16035         * gst/gstindex.c: (gst_index_class_init):
16036         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16037         * gst/gstobject.c: (gst_object_class_init),
16038         (gst_signal_object_class_init):
16039         * gst/gstpad.c: (gst_pad_class_init):
16040         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16041         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16042         * gst/gstregistry.c: (gst_registry_class_init):
16043         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16044         * gst/gsttask.c: (gst_task_class_init):
16045         * gst/gstxml.c: (gst_xml_class_init):
16046         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16047         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16048         (gst_base_src_loop):
16049         * libs/gst/controller/gstcontroller.c:/
16050         (_gst_controller_class_init):
16051         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16052         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16053         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16054         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16055         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16056         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16057
16058 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16059
16060         * gst/gstpad.c: (gst_pad_link):
16061           Must set peer pads before calling the link function, otherwise
16062           a task started from a link function might get a flow-not-linked
16063           result when trying to push because the other thread where the
16064           linking happens hasn't had a chance to set the peers yet. This
16065           might happen for example when a queue gets linked to a downstream
16066           element, as queue starts a streaming task when its source pad
16067           gets linked. Happens in real life when playing back flac/musepack
16068           files in playbin (#332390).
16069           
16070 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16071
16072         * gst/gstindex.h:
16073         * gst/gstxml.h:
16074         * libs/gst/base/gstadapter.h:
16075         * libs/gst/base/gstbasesink.h:
16076         * libs/gst/base/gstbasesrc.h:
16077         * libs/gst/base/gstbasetransform.h:
16078         * libs/gst/base/gstcollectpads.h:
16079         * libs/gst/base/gstpushsrc.h:
16080         Fix broken GObject macros
16081
16082 2006-04-07  Wim Taymans  <wim@fluendo.com>
16083
16084         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16085         Initialize start and stop times, thanks valgrind.
16086
16087 2006-04-07  Wim Taymans  <wim@fluendo.com>
16088
16089         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16090         Be a bit nicer to badly behaving upstream elements that expect
16091         us to deal with non TIME segments and timestamps (such as fakesrc
16092         in the testsuite).
16093
16094 2006-04-07  Wim Taymans  <wim@fluendo.com>
16095
16096         * gst/gstbus.c:
16097         Small documentation clarification about the signal watch.
16098
16099         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16100         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16101         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16102         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16103         (gst_base_sink_get_position_last),
16104         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16105         Convert and store timestamps in stream time and running time, the
16106         raw timestamps are not useful, also document this better.
16107         Use different window sizes for good and bad QoS observations so
16108         we react to badness a little quicker.
16109         Keep track of the amount of rendered and dropped buffers.
16110         Send QoS timestamps in running time.
16111
16112         * libs/gst/base/gstbasetransform.c:
16113         (gst_base_transform_sink_eventfunc),
16114         (gst_base_transform_handle_buffer):
16115         Compare QoS timestamps against running time.
16116
16117 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16118
16119         * gst/gstpad.c:
16120           Typo fixes in docs.
16121
16122 2006-04-06  Michael Smith  <msmith@fluendo.com>
16123
16124         * gst/gstpad.c: (gst_pad_set_property):
16125           Use g_value_get_object() instead of g_value_dup_gst_object(),
16126           to avoid double-reffing the pad template (which we then sink,
16127           so this worked previously if (and only if) the pad template
16128           was floating.
16129
16130         * gst/gstpadtemplate.c: (gst_pad_template_init),
16131         (gst_pad_template_pad_created):
16132           Never return floating references to pad templates, create
16133           them as initially-sunken.
16134
16135           Document an extra function (and make this stop sinking our
16136           pad template, since that is now guaranteed to do nothing,
16137           since we created it sunken).
16138
16139         * gst/gstghostpad.c:
16140           Fix docs typo.
16141
16142 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16143
16144         * gst/gstinfo.c: (__gst_in_valgrind):
16145           Add some newlines.
16146
16147         * plugins/elements/gsttypefindelement.c:
16148         (gst_type_find_element_chain):
16149           Don't leak buffer caps.
16150
16151 2006-04-06  Michael Smith  <msmith@fluendo.com>
16152
16153         * gst/parse/grammar.y:
16154           Fix a leak in parse-launch for any source-or-sink named element 
16155           references used.
16156
16157         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16158           Unref the pipeline if it exists after we've failed parsing.
16159
16160 2006-04-05  Michael Smith  <msmith@fluendo.com>
16161
16162         * gst/gstpipeline.c: (gst_pipeline_init):
16163           When we create a pipeline bus, initially create it in flushing mode.
16164           Fixes leaks in at least one test, and makes a new pipeline work the
16165           same as one that has gone to READY and then back to NULL.
16166
16167         * gst/gstelement.c:
16168           Typo fix in docs.
16169
16170 2006-04-05  Michael Smith  <msmith@fluendo.com>
16171
16172         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16173           Unref a pad we reffed.
16174         * tests/check/gst/gstutils.c: (GST_START_TEST):
16175           Unref bins
16176
16177 2006-04-05  Michael Smith  <msmith@fluendo.com>
16178
16179         * gst/gstquery.c: (gst_query_set_formats),
16180         (gst_query_set_formatsv):
16181           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16182
16183 2006-04-05  Michael Smith  <msmith@fluendo.com>
16184
16185         * tests/check/generic/sinks.c: (GST_START_TEST):
16186           Fix a variety of memleaks in sinks check, which are only sometimes 
16187           shown by running the tests under valgrind (weird?).
16188
16189 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16190
16191         * docs/version.entities.in:
16192           Fix the substituted entity name after thomas' changes on the
16193           weekend.
16194
16195 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16196
16197         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16198         VALGRIND_PRINTF
16199         
16200 2006-04-05  Andy Wingo  <wingo@pobox.com>
16201
16202         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16203
16204         * libs/gst/base/gstbasetransform.c
16205         (gst_base_transform_sink_eventfunc): When resetting our segment on
16206         FLUSH_STOP, also update the flag saying we haven't seen a
16207         newsegment.
16208
16209 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16210
16211         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16212
16213         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16214         (gst_plugin_check_license):
16215           minor clean-ups: G_DEFINE_TYPE already takes care of the
16216           parent_class stuff, no need to do it twice. Mark array of
16217           license strings as constant. (#337103)
16218           
16219 2006-04-04  Michael Smith  <msmith@fluendo.com>
16220
16221         * tools/gst-inspect.c: (print_element_list):
16222           Free the right plugin list; fixes a memory leak.
16223
16224 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16227
16228         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16229           Don't error out on empty buffers (#336945).
16230           
16231 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16232
16233         * docs/libs/gstreamer-libs-sections.txt:
16234         * gst/gsttaglist.c:
16235         * libs/gst/base/gstbasesink.c:
16236         * libs/gst/base/gstbasesink.h:
16237         * libs/gst/base/gstbasesrc.c:
16238         * libs/gst/base/gstbasesrc.h:
16239           Documentation updates. Make BaseSink and BaseSrc docs contain the
16240           class structure so that people can actually see the prototypes for
16241           virtual functions they're supposed to be overriding.
16242
16243 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16244
16245         * plugins/elements/gsttypefindelement.c:
16246         (gst_type_find_element_chain):
16247           More debug info; when skipping typefinding, send cached
16248           events in all cases.
16249
16250 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16251
16252         * configure.ac:
16253           use new AS_VERSION and AS_NANO macros
16254         * gst/gst-i18n-lib.h:
16255         * gst/gst.c:
16256         * gst/gsterror.c:
16257         * gst/gstversion.h.in:
16258         * win32/common/config.h:
16259         * win32/common/config.h.in:
16260           update accordingly
16261
16262 2006-03-31  Michael Smith  <msmith@fluendo.com>
16263
16264         * plugins/elements/gsttypefindelement.c:
16265         (gst_type_find_element_chain):
16266           Do not typefind content if the buffers already have caps.
16267           Neccesary for icydemux (#333657), and the right thing to do anyway.
16268
16269 2006-03-30  Wim Taymans  <wim@fluendo.com>
16270
16271         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16272         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16273         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16274         (gst_base_sink_record_qos_observation),
16275         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16276         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16277         (gst_base_sink_change_state):
16278         More QoS measurements as described in the design doc.
16279         Get rid of ringbuffer with observations, running average is
16280         more simple and equally good.
16281         Calculates valid proportion now.
16282         Added beginning of flood measurement.
16283
16284 2006-03-29  Wim Taymans  <wim@fluendo.com>
16285
16286         * docs/design/part-qos.txt:
16287         * gst/gstclock.c:
16288         Small documentation updates and additions.
16289
16290 2006-03-29  Wim Taymans  <wim@fluendo.com>
16291
16292         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16293         (gst_base_src_send_event), (gst_base_src_loop),
16294         (gst_base_src_change_state):
16295         Perform the EOS logic when we reach the segment stop position.
16296         Fix compilation on gcc4.1
16297
16298 2006-03-29  Wim Taymans  <wim@fluendo.com>
16299
16300         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16301
16302         * plugins/elements/gstqueue.c: (gst_queue_init),
16303         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16304         (gst_queue_set_property):
16305         * plugins/elements/gstqueue.h:
16306         In queue, when EOS is received, if minimum threshold > max_size -
16307         current_level, there is chance that queue blocks forever in conditional
16308         item del wait. This is because the queue is not emptied completely due
16309         to minimum threshold.  Here is another approach. Instead of setting
16310         cur_levels to max in EOS, just zero all minimum threshold levels. This
16311         should make sure that queue gives out all data. When going to READY
16312         (stop) state, just reset the original minimum threshold levels.
16313         Fixes #336336.
16314
16315 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16316
16317         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16318         (gst_type_find_element_handle_event),
16319         (gst_type_find_element_send_cached_events),
16320         (gst_type_find_element_change_state):
16321         * plugins/elements/gsttypefindelement.h:
16322           When typefinding is done in push mode, we should cache
16323           events we receive during typefinding instead of just
16324           dropping them (e.g. newsegment, custom events from
16325           dvdreadsrc etc.) and then send them out once we've
16326           determined the type of the stream (and decodebin
16327           has had a chance to plug in a decoder/demuxer).
16328           
16329 2006-03-27  Wim Taymans  <wim@fluendo.com>
16330
16331         * docs/design/part-qos.txt:
16332         First QoS ideas.
16333
16334 2006-03-27  Wim Taymans  <wim@fluendo.com>
16335
16336         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16337
16338         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16339         (gst_base_src_send_event), (gst_base_src_change_state):
16340         Handle element seek correctly when we are streaming.
16341         Fixes #326998.
16342
16343 2006-03-24  Michael Smith  <msmith@fluendo.com>
16344
16345         * docs/faq/gst-uninstalled:
16346           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16347           allow you to correctly run intalled applications built against old 
16348           core, using plugins that require updated core (e.g. running
16349           installed totem against a full uninstalled gstreamer stack)
16350
16351 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16352
16353         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16354         more debug details
16355
16356 2006-03-24  Wim Taymans  <wim@fluendo.com>
16357
16358         * docs/gst/gstreamer-sections.txt:
16359         Rearrange the order of the methods so that related methods
16360         are grouped together in sections.
16361
16362 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16363
16364         * gst/gstelement.c:
16365           Little clarification in the docs
16366
16367 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16368
16369         * docs/README:
16370         formatting fix
16371         * plugins/elements/gstidentity.c:
16372         * plugins/elements/gstqueue.c:
16373         * plugins/elements/gsttee.c:
16374         * plugins/elements/gsttypefindelement.c:
16375         GST_ELEMENT_DETAILS formatting
16376
16377 2006-03-24  Wim Taymans  <wim@fluendo.com>
16378
16379         * libs/gst/base/gstbasesink.h:
16380         Only add fields, not insert or we break ABI.
16381
16382 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16383
16384         * win32/common/libgstbase.def:
16385         * win32/common/libgstreamer.def:
16386           Update, add recently added functions.
16387
16388 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16389
16390         * docs/gst/gstreamer-sections.txt:
16391         * gst/gstutils.c: (gst_pad_query_peer_position),
16392         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16393         * gst/gstutils.h:
16394           API: add some new utility functions:
16395            - gst_pad_query_peer_position()
16396            - gst_pad_query_peer_duration()
16397            - gst_pad_query_peer_convert()
16398           
16399 2006-03-23  Wim Taymans  <wim@fluendo.com>
16400
16401         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16402         (gst_base_sink_init), (gst_base_sink_finalize),
16403         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16404         (gst_base_sink_set_property), (gst_base_sink_get_property),
16405         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16406         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16407         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16408         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16409         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16410         (gst_base_sink_preroll_object), (gst_base_sink_event),
16411         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16412         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16413         (gst_base_sink_query), (gst_base_sink_change_state):
16414         Decouple max-lateness and the fact that QoS messages are generated
16415         with a new property (qos).
16416         added API: GstBaseSink::async_play()
16417         Add vmethod so subclasses can be notified of ASYNC playing
16418         state changes.
16419         Collect timestamp start and stop to report better current
16420         position in EOS/PLAYING/PAUSED/READY/NULL.
16421         Refactor QoS/frame dropping and other measurements.
16422         API: GstBaseSrc::qos
16423         Fixes #326311
16424
16425         * libs/gst/base/gstbasesink.h:
16426         Added Private struct.
16427         API: gst_base_sink_set_qos_enabled()
16428         API: gst_base_sink_is_qos_enabled()
16429
16430 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16431
16432         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16433           If compiling against GLib-2.8 or newer, try to read the
16434           registry file using GMappedFile first before falling back
16435           to fopen() + fread() (#332151).
16436
16437 2006-03-22  Wim Taymans  <wim@fluendo.com>
16438
16439         * gst/gstinfo.c: (gst_debug_set_active),
16440         (gst_debug_category_set_threshold):
16441         Disable debugging unless explicitly activated.
16442         Fixes #335480.
16443
16444 2006-03-22  Wim Taymans  <wim@fluendo.com>
16445
16446         * gst/gstelement.c: (gst_element_set_locked_state),
16447         (gst_element_dispose):
16448         Cleanup the error case.
16449
16450         * gst/gstobject.c: (gst_object_dispose):
16451         print a critical when some object was disposed with
16452         a parent, also revive the object since it might
16453         crash the parent.
16454
16455 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16456
16457         * tools/gst-launch.1.in:
16458           Fix another typo.
16459
16460 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16461
16462         * configure.ac:
16463         * tests/check/Makefile.am:
16464           disable some tests when we don't have a registry
16465         * tests/check/gst/gstutils.c: (gst_utils_suite):
16466           don't build the part that needs parsing
16467
16468 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16469
16470         * gst/Makefile.am
16471         * tests/examples/Makefile.am:
16472           fix --disable-parse build
16473
16474 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16475
16476         * tools/gst-feedback.1.in:
16477           Fix typo: s/feeback/feedback/ (#133494).
16478
16479 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16480
16481         * tools/Makefile.am:
16482         * tools/gst-launch.1.in:
16483           Add FILES section and correct entry about GST_REGISTRY_PATH
16484           environment variable (#133495; #133494).
16485
16486 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16487
16488         * tools/Makefile.am:
16489         * tools/gst-md5sum.1.in:
16490         * tools/gst-md5sum.c:
16491           Remove gst-md5sum and man page (the md5sink element
16492           required was removed ages ago)
16493
16494 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16495
16496         * gst/gststructure.c: (gst_structure_id_set_value):
16497           Make sure that string fields in structures/taglists
16498           contain valid UTF-8 - we don't want to pass rubbish to
16499           applications because of a buggy plugin (cp. #334167).
16500
16501 2006-03-21  Edward Hervey  <edward@fluendo.com>
16502
16503         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16504         (gst_bin_handle_message_func):
16505         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16506         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16507         (gst_element_set_bus_func):
16508         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16509         * gst/gstminiobject.c: (gst_value_set_mini_object),
16510         (gst_value_take_mini_object):
16511         * gst/gstpad.c: (gst_pad_set_pad_template):
16512         * gst/gstpipeline.c: (gst_pipeline_dispose),
16513         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16515         (gst_collect_pads_chain):
16516         * libs/gst/net/gstnettimeprovider.c:
16517         (gst_net_time_provider_set_property):
16518         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16519         It's in fact all issues with gst_*object_replace().
16520
16521 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16522
16523         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16524         
16525         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16526         * pkgconfig/gstreamer-check.pc.in:
16527           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16528
16529 2006-03-21  Edward Hervey  <edward@fluendo.com>
16530
16531         * gst/gstbuffer.h:
16532         * gst/gstevent.h:
16533         * gst/gstmessage.h:
16534         gst_[buffer|event|message]_ref() macros are replaced by a static
16535         inline functions because gcc-4.1 will about if the return value
16536         isn't used.
16537         * tests/check/gst/gstevent.c: (event_probe):
16538         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16539
16540 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16541
16542         * gst/gstutils.h:
16543         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16544         the type' case. (Closes: #335195 for now). In the future, when we
16545         depend on GLib 2.10, we could also intern the type name using
16546         g_intern_static_string()
16547
16548 2006-03-20  Wim Taymans  <wim@fluendo.com>
16549
16550         * gst/gstbin.c: (gst_bin_handle_message_func),
16551         (bin_query_max_init), (bin_query_position_fold),
16552         (bin_query_position_done), (gst_bin_query):
16553         Position query should also take max of all streams.
16554
16555 2006-03-20  Wim Taymans  <wim@fluendo.com>
16556
16557         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16558         (gst_fake_src_finalize):
16559         Fix leaks in fakesrc.
16560
16561         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16562         Fix leaks in the testcase.
16563
16564 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16565
16566         * gst/gst_private.h:
16567           add win32 specific import decoration(__declspec(dllimport)) 
16568           for all extern GstDebugCategory * variables
16569         * win32/common/libgstbase.def:
16570         * win32/common/libgstcontroller.def:
16571         * win32/common/libgstreamer.def:
16572           Add some exports, remove empty lines
16573         * win32/common/libgstdataprotocol.def:
16574         * win32/common/libgstdataprotocol.dsp:
16575         * win32/common/libgstnet.def:
16576         * win32/common/libgstnet.dsp:
16577           new project files and exportation files added
16578         
16579 2006-03-19  Wim Taymans  <wim@fluendo.com>
16580
16581         * tests/check/libs/basesrc.c: (eos_event_counter):
16582         Use proper return value for probe.
16583
16584 2006-03-17  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16587         (gst_pad_push):
16588         Don't leak buffers, caps and pads on negotiation errors.
16589
16590 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16591
16592         * docs/faq/cvs.xml:
16593         * docs/faq/dependencies.xml:
16594         * docs/faq/developing.xml:
16595         * docs/faq/faq.xml:
16596         * docs/faq/general.xml:
16597         * docs/faq/getting.xml:
16598         * docs/faq/legal.xml:
16599         * docs/faq/troubleshooting.xml:
16600         * docs/faq/using.xml:
16601         Faq review and update.
16602
16603 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16604
16605         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16606         (gst_pad_push):
16607         Don't pound the cpu to pieces by checking get_caps when accept_caps
16608         is called with the same caps as the pad already has.
16609         Use GST_DEBUG_OBJECT when outputting caps change information.
16610
16611 2006-03-15  Wim Taymans  <wim@fluendo.com>
16612
16613         * gst/gstclock.c: (gst_clock_class_init):
16614         Fix docs.
16615
16616 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16617
16618         * gst/gstbuffer.h:
16619         Documentation fix.
16620
16621         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16622         (gst_pad_accept_caps), (gst_pad_configure_sink),
16623         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16624         Make the default acceptcaps behaviour be to check the requested 
16625         caps against the gst_pad_get_caps output. 
16626
16627         Ensure that gst_pad_accept_caps is used to check caps when a pad
16628         doesn't have a setcaps function, so that pads automatically refuse 
16629         caps that they don't allow in their pad template. (Fixes #332986)
16630
16631         When a buffer with attached caps is pushed, ensure that the source 
16632         pad receives those caps even if the element didn't call
16633         gst_pad_set_caps first.
16634
16635 2006-03-15  Wim Taymans  <wim@fluendo.com>
16636
16637         * libs/gst/base/gstadapter.c:
16638         Add some docs.
16639
16640 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * win32/common/libgstbase.def:
16643         * win32/common/libgstcontroller.def:
16644         * win32/common/libgstreamer.def:
16645           Add a whole bunch of missing functions (#334434).
16646
16647 2006-03-14  Wim Taymans  <wim@fluendo.com>
16648
16649         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16650         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16651         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16652         Better debug info when we receive a segment event.
16653         Reorganize a bit so we can pass the get_times() results around.
16654         Use the segment format when calculating the running time.
16655         Don't do QoS is sync is disabled or we have no clock or the
16656         element does not want us to sync to the clock.
16657         Don't drop buffers if QoS is disabled for now.
16658
16659 2006-03-14  Wim Taymans  <wim@fluendo.com>
16660
16661         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16662         Marked the stats property as unimplemented so people don't get
16663         wild ideas.
16664         Add debug message when regression goes wrong.
16665         Added some more docs.
16666
16667 2006-03-14  Wim Taymans  <wim@fluendo.com>
16668
16669         * gst/gstsegment.c: (gst_segment_to_stream_time):
16670         Return correct return type in case of errors.
16671
16672 2006-03-14  Wim Taymans  <wim@fluendo.com>
16673
16674         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16675           Don't segfault on invalid formats.
16676
16677 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16678
16679         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16680           Can't use gst_segment_to_running_time() when the segment
16681           is not in GST_TIME_FORMAT (like with filesink, for example).
16682           Stops flac encoding pipelines from spewing critical warnings
16683           at EOS (#331248).
16684           
16685 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16686
16687         * gst/gstpipeline.c: (gst_pipeline_class_init):
16688           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16689
16690         * plugins/elements/gsttypefindelement.c:
16691         (gst_type_find_element_handle_event):
16692           Don't try to typefind empty streams.
16693
16694 2006-03-14  Wim Taymans  <wim@fluendo.com>
16695
16696         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16697         (gst_base_sink_do_qos):
16698         Separate QoS calculation.
16699         Only drop buffers when lateness is bigger than the 
16700         duration of the buffer.
16701
16702 2006-03-13  Wim Taymans  <wim@fluendo.com>
16703
16704         * gst/gstpipeline.c: (gst_pipeline_set_property),
16705         (gst_pipeline_get_property), (do_pipeline_seek),
16706         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16707         (gst_pipeline_get_delay):
16708         Don't deadlock when reading properties.
16709
16710 2006-03-13  Wim Taymans  <wim@fluendo.com>
16711
16712         * libs/gst/base/gstbasetransform.c:
16713         (gst_base_transform_class_init), (gst_base_transform_init),
16714         (gst_base_transform_sink_event),
16715         (gst_base_transform_sink_eventfunc),
16716         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16717         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16718         (gst_base_transform_set_property),
16719         (gst_base_transform_get_property),
16720         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16721         (gst_base_transform_set_qos_enabled),
16722         (gst_base_transform_is_qos_enabled):
16723         * libs/gst/base/gstbasetransform.h:
16724         Make basetransform virtual method for src events too.
16725         Handle QOS in basetransform.
16726         API: gst_base_transform_update_qos()
16727         API: gst_base_transform_set_qos_enabled()
16728         API: gst_base_transform_is_qos_enabled()
16729
16730 2006-03-13  Wim Taymans  <wim@fluendo.com>
16731
16732         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16733         (gst_base_sink_do_sync):
16734         Small cleanups.
16735         Use QOS debug category.
16736
16737 2006-03-13  Wim Taymans  <wim@fluendo.com>
16738
16739         * plugins/elements/gstqueue.c:
16740         Very small doc update.
16741
16742 2006-03-13  Wim Taymans  <wim@fluendo.com>
16743
16744         * gst/gst_private.h:
16745         * gst/gstinfo.c: (_gst_debug_init):
16746         Added QOS debug category
16747
16748 2006-03-13  Wim Taymans  <wim@fluendo.com>
16749
16750         * docs/gst/gstreamer-sections.txt:
16751         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16752         * gst/gstbin.h:
16753         * gst/gstbus.c: (gst_bus_class_init):
16754         * gst/gstbus.h:
16755         * gst/gstclock.c:
16756         * gst/gstelement.c: (gst_element_set_locked_state):
16757         * gst/gstsegment.c:
16758         Documentation updates.
16759
16760         * gst/gstpipeline.c: (gst_pipeline_get_type),
16761         (gst_pipeline_class_init), (gst_pipeline_init),
16762         (gst_pipeline_dispose), (gst_pipeline_set_property),
16763         (gst_pipeline_get_property), (do_pipeline_seek),
16764         (gst_pipeline_send_event), (gst_pipeline_change_state),
16765         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16766         (gst_pipeline_get_delay):
16767         * gst/gstpipeline.h:
16768         Added methods for setting the delay.
16769         API: gst_pipeline_set_delay()
16770         API: gst_pipeline_get_delay()
16771         Add pipeline debug category
16772         Various cleanups.
16773         Updated docs.
16774         Don't reset stream time when seek failed.
16775
16776 2006-03-13  Wim Taymans  <wim@fluendo.com>
16777
16778         * docs/design/draft-klass.txt:
16779         * docs/design/part-clocks.txt:
16780         * docs/design/part-events.txt:
16781         * docs/design/part-gstbin.txt:
16782         * docs/design/part-gstpipeline.txt:
16783         * docs/design/part-messages.txt:
16784         * docs/design/part-negotiation.txt:
16785         * docs/design/part-overview.txt:
16786         * docs/design/part-preroll.txt:
16787         * docs/design/part-seeking.txt:
16788         * docs/design/part-states.txt:
16789         * docs/design/part-streams.txt:
16790         Documentation updates.
16791
16792 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16793
16794         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16795         us to leak strings...
16796
16797 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16798
16799         * libs/gst/net/gstnettimeprovider.c:
16800           fix docs
16801         * win32/common/config.h:
16802           update
16803
16804 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16805
16806         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16807
16808         * configure.ac:
16809           Don't check for libgnomeui (leftover from old examples
16810           that aren't built or disted any longer) (#334303).
16811           
16812 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16813
16814         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16815         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16816           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16817           there's no space left on the device.
16818
16819 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16820
16821         * gst/gstclock.h:
16822           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16823           to cast the input to GstClockTime before comparing with
16824           another GstClockTime value.
16825
16826 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16827
16828         * configure.ac:
16829           back to trunk
16830
16831 === release 0.10.4 ===
16832
16833 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16834
16835         * configure.ac:
16836           releasing 0.10.4, "Light"
16837
16838 2006-03-10  Michael Smith  <msmith@fluendo.com>
16839
16840         * libs/gst/dataprotocol/dataprotocol.c:
16841           Fix docs for dataprocotol to not get the return types completely
16842           wrong for a few functions.
16843
16844 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16845
16846         * docs/gst/gstreamer-sections.txt:
16847         * gst/gstpipeline.c: (gst_pipeline_class_init),
16848         (gst_pipeline_init), (gst_pipeline_set_property),
16849         (gst_pipeline_get_property), (gst_pipeline_change_state),
16850         (gst_pipeline_set_auto_flush_bus),
16851         (gst_pipeline_get_auto_flush_bus):
16852         * gst/gstpipeline.h:
16853           Add new API: gst_pipeline_set_auto_flush_bus() and
16854           gst_pipeline_get_auto_flush_bus() to disable automatic
16855           flushing of the pipeline's GstBus when going from READY
16856           to NULL state (#332045).
16857
16858 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16859
16860         * docs/gst/gstreamer-sections.txt:
16861         * gst/gsturi.c: (gst_uri_has_protocol):
16862         * gst/gsturi.h:
16863            Add new API: gst_uri_has_protocol() (#333779).
16864
16865 2006-03-09  Wim Taymans  <wim@fluendo.com>
16866
16867         * gst/gstclock.c: (gst_clock_entry_new),
16868         (gst_clock_id_compare_func), (gst_clock_id_wait),
16869         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16870         (gst_clock_init), (gst_clock_get_internal_time),
16871         (gst_clock_set_master), (do_linear_regression),
16872         (gst_clock_add_observation), (gst_clock_set_property):
16873         * gst/gstclock.h:
16874         Review docs.
16875         Small cleanups.
16876         Fix a possible segfault when the window-size is made smaller.
16877         Calculate jitter before performing the clock wait. Ideally
16878         the clock implementation should calculate jitter but we need
16879         API breakage for that.
16880
16881         * gst/gstsystemclock.c: (gst_system_clock_init):
16882         Docs review.
16883         
16884         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16885         Remove leftover else
16886
16887         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16888         (gst_systemclock_suite):
16889         Added check to test GST_CLOCK_DIFF.
16890
16891 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16892
16893         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16894         (gst_type_find_helper_get_range):
16895           If we are provided with the size, we should implement
16896           GstTypeFind::get_length, so that typefind functions who
16897           want to can actually peek at the middle of a file.
16898
16899 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * docs/manual/advanced-dataaccess.xml:
16902           Add some very very basic error checking.
16903
16904         * docs/pwg/appendix-checklist.xml:
16905           Some updates to the list of things to check when writing an element.
16906
16907 2006-03-08  Wim Taymans  <wim@fluendo.com>
16908
16909         * docs/design/part-element-transform.txt:
16910         Added some docs about the design of tranform elements.
16911
16912         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16913         (gst_base_src_loop), (gst_base_src_change_state):
16914         Mark buffers with the DISCONT flag.
16915
16916 2006-03-08  Michael Smith  <msmith@fluendo.com>
16917
16918         * gst/gstregistry.h:
16919         * gst/gstregistryxml.c: (gst_registry_save),
16920         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16921         (gst_registry_xml_save_pad_template),
16922         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16923         (gst_registry_xml_write_cache):
16924           Rewrite registry-saving to avoid race conditions and check for
16925           failed writes.
16926
16927 2006-03-08  Wim Taymans  <wim@fluendo.com>
16928
16929         * libs/gst/base/gstbasetransform.c:
16930         (gst_base_transform_transform_caps),
16931         (gst_base_transform_transform_size),
16932         (gst_base_transform_prepare_output_buffer),
16933         (gst_base_transform_get_unit_size),
16934         (gst_base_transform_buffer_alloc),
16935         (gst_base_transform_handle_buffer),
16936         (gst_base_transform_change_state):
16937         Cleanups, separate normal flow from errors, add sensible
16938         DEBUG lines.
16939         Don't try to renegotiate when allocating an output buffer.
16940         Also copy DISCONT buffer flag when copying a buffer.
16941         Reset the transform after we finish streaming, not during.
16942
16943 2006-03-08  Wim Taymans  <wim@fluendo.com>
16944
16945         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16946         Use last buffer timestamp in qos message.
16947
16948 2006-03-07  Wim Taymans  <wim@fluendo.com>
16949
16950         Patch by: Christophe Fergeau
16951
16952         * docs/pwg/advanced-tagging.xml:
16953         * docs/pwg/building-pads.xml:
16954           fixes #333416
16955
16956 2006-03-07  Wim Taymans  <wim@fluendo.com>
16957
16958         * docs/libs/gstreamer-libs-sections.txt:
16959         Added basesink new methods.
16960
16961         * gst/gstevent.c:
16962         * gst/gstevent.h:
16963         Docs updates. Flesh out the QoS docs.
16964
16965         * libs/gst/base/gstadapter.c:
16966         Small doc clarification about ownership and flushing.
16967
16968         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16969         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16970         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16971         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16972         * libs/gst/base/gstbasesink.h:
16973         API additions: 
16974         Added new methods to allow subclass to control max-lateness 
16975         and sync.
16976         Generate very basic QoS events based on last sync observation.
16977         Updated docs, fix typo, added some QoS blurb.
16978
16979         * libs/gst/base/gstbasesrc.c:
16980         Remove obsolete _get_state() calls from docs.
16981
16982 2006-03-07  Wim Taymans  <wim@fluendo.com>
16983
16984         * docs/libs/gstreamer-libs-sections.txt:
16985         * libs/gst/base/gstbasetransform.h:
16986         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16987         Fix docs for GstBaseSrc.
16988
16989 2006-03-07  Wim Taymans  <wim@fluendo.com>
16990
16991         * docs/gst/gstreamer-sections.txt:
16992         * gst/gstbuffer.h:
16993         * gst/gstvalue.c:
16994         * libs/gst/base/gstbasetransform.h:
16995         Small documentation fixes.
16996
16997 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16998
16999         * gst/gstvalue.c:
17000           Document thread-unsafety of gst_value_register_foo_func()
17001           when used at the same time as gst_value_foo() (#322628).
17002
17003 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17004
17005         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17006         (gst_push_src_check_get_range):
17007           Push sources don't support pull mode by default.
17008
17009 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17010
17011         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17012         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17013         (gst_base_src_default_check_get_range):
17014         * libs/gst/base/gstbasesrc.h:
17015           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17016           provide default implementation, and rename
17017           gst_base_src_check_get_range() to
17018           gst_base_src_pad_check_get_range() for clarity.
17019
17020 2006-03-06  Wim Taymans  <wim@fluendo.com>
17021
17022         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17023         Make property overridable.
17024
17025 2006-03-06  Wim Taymans  <wim@fluendo.com>
17026
17027         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17028         (gst_base_sink_init), (gst_base_sink_set_property),
17029         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17030         * libs/gst/base/gstbasesink.h:
17031         API addition: Make max-lateness a property.
17032
17033 2006-03-06  Wim Taymans  <wim@fluendo.com>
17034
17035         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17036         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17037         Don't ever draw a frame that is >10ms late.
17038
17039 2006-03-06  Michael Smith  <msmith@fluendo.com>
17040
17041         * gst/gstmessage.c: (_gst_message_copy):
17042           When copying a message, set the parent_refcount of the enclosed
17043           structure to point at the copy, not the original message.
17044
17045 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17046
17047         Patch by: Christophe Fergeau
17048
17049         * gst/gstutils.h:
17050           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17051           usable in c++ code (#333417)
17052
17053 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17054
17055         * gst/gstclock.h:
17056           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17057
17058 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17059
17060         * libs/gst/base/gstbasetransform.c:
17061         (gst_base_transform_transform_caps):
17062           Make sure caps are writable before passing them to
17063           gst_caps_append().
17064
17065 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17066
17067         * gst/gsterror.h:
17068           Fix some minor docs errors.
17069
17070 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17071
17072           Patch by: Ross Burton <ross at burtonini dot com>
17073
17074         * gst/gsterror.c: (_gst_resource_errors_init):
17075         * gst/gsterror.h:
17076           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17077
17078 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17079
17080         * gst/gst.c:
17081         Add a check and output a g_warning when GStreamer is built
17082         against GLib 2.6 but running against 2.8 or higher, and vice 
17083         versa. (Closes: #323542)
17084
17085 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17086
17087         * gst/parse/parse.l:
17088           Commit patch for parse_launch syntax from #331255. Removes 
17089           support for quoted strings and mimetypes when writing filtered 
17090           caps. See the bug report for more details - I'm pretty sure this
17091           obscure feature is not in use by _anyone_ anywhere.
17092
17093           With this simple change, the size of the gstreamer.so here 
17094           drops from 2193KB to 1565KB.
17095
17096 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17097
17098         * plugins/elements/gsttypefindelement.h:
17099         * plugins/elements/gsttypefindelement.c:
17100         (gst_type_find_element_src_event), (start_typefinding),
17101         (stop_typefinding), (gst_type_find_element_handle_event),
17102         (gst_type_find_element_chain),
17103         (gst_type_find_element_chain_do_typefinding):
17104           Use gst_type_find_helper_for_buffer() for chain-based
17105           typefinding.
17106
17107 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17108
17109         * plugins/elements/gsttypefindelement.c:
17110         (gst_type_find_element_class_init),
17111         (gst_type_find_element_set_property),
17112         (gst_type_find_element_get_property):
17113           Deprecate "maximum" property (not only was it only taken into
17114           account for typefinding in push-mode anyway, it also was never
17115           actually possible to set it in the first place because the
17116           property was registered with the numeric property ID for the
17117           "minimum" property). Register "maximum" property correctly,
17118           for the sake of future copy'n'pasters. Remove some cruft
17119           from property get/set functions.
17120
17121 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17122
17123         * plugins/elements/gsttypefindelement.c:
17124         (gst_type_find_element_activate):
17125           Use gst_type_find_helper_get_range() here, so we
17126           can honour the "minimum" property and also emit
17127           the signal with the correct probability of the found caps.
17128
17129 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17130
17131         * docs/libs/gstreamer-libs-sections.txt:
17132         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17133         (helper_find_suggest), (gst_type_find_helper_get_range),
17134         (gst_type_find_helper):
17135         * libs/gst/base/gsttypefindhelper.h:
17136           New API: gst_type_find_helper_get_range() (#333042).
17137
17138 2006-03-02  Michael Smith  <msmith@fluendo.com>
17139
17140         * gst/gstregistryxml.c: (load_feature):
17141           Asserting on a failure to read part of the registry is Not Cool.
17142           Just log a warning and return NULL (which is already handled)
17143
17144 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17145
17146         * win32/common/libgstbase.def:
17147           added export of gst_type_find_helper_for_buffer
17148         * win32/common/libgstbase.def:
17149           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17150           gst_ghost_pad_get_target
17151
17152 2006-02-28  Wim Taymans  <wim@fluendo.com>
17153
17154         * docs/design/draft-klass.txt:
17155         We use Filter now.
17156         Added Connector to mark elements that are only used to
17157         allow pipeline connections.
17158         Moved Debug to extra feature since most of them are 
17159         functionally something else.
17160
17161 2006-02-28  Wim Taymans  <wim@fluendo.com>
17162
17163         * docs/design/draft-klass.txt:
17164         Some updates and clarifications.
17165
17166 2006-02-28  Wim Taymans  <wim@fluendo.com>
17167
17168         * docs/design/draft-klass.txt:
17169         Proposal for klass field values.
17170
17171         * docs/design/part-streams.txt:
17172         Start of a doc describing stream anatomy.
17173
17174 2006-02-28  Wim Taymans  <wim@fluendo.com>
17175
17176         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17177         Help the compiler a bit with type registration.
17178         Use existing forward cod path instead of duplicating it when 
17179         handling a message.
17180         
17181         * gst/gstbus.c: (gst_bus_get_type):
17182         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17183         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17184         * gst/gstclock.c: (gst_clock_get_type):
17185         * gst/gstelement.c: (gst_element_get_type),
17186         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17187         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17188         * gst/gstminiobject.c: (gst_mini_object_get_type):
17189         * gst/gstpad.c: (gst_pad_get_type):
17190         * gst/gstsegment.c: (gst_segment_get_type):
17191         * gst/gststructure.c: (gst_structure_get_type):
17192         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17193         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17194         * gst/gstvalue.c:
17195         Help compiler with type registration.
17196
17197         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17198         Small doc update.
17199
17200 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17201
17202         * plugins/elements/gsttypefindelement.c:
17203         (gst_type_find_element_handle_event):
17204           When we get an EOS event and have not found a type yet
17205           (most likely because we had not yet accumulated
17206           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17207           type given the data we have so far. Fixes typefinding
17208           for very short streams again, most notably quicktime
17209           redirections as used on Apple's trailer site (#331701).
17210
17211 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17212
17213         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17214         (gst_type_find_helper):
17215           Try typefinding factories with the highest rank first.
17216
17217 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17218
17219         * docs/libs/gstreamer-libs-docs.sgml:
17220         * docs/libs/gstreamer-libs-sections.txt:
17221         * libs/gst/base/gsttypefindhelper.c:
17222           Add section for typefind helper and add documentation
17223           for the old and the new function.
17224
17225 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17226
17227         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17228         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17229         (gst_type_find_helper_for_buffer):
17230         * libs/gst/base/gsttypefindhelper.h:
17231           New API: gst_type_find_helper_for_buffer() (#332723).
17232           
17233 2006-02-27  Michael Smith  <msmith@fluendo.com>
17234
17235         Patch by: Loïc Minier
17236
17237         * configure.ac:
17238         * docs/Makefile.am:
17239         * docs/slides/Makefile.am:
17240           prevent CVS directories getting disted.
17241
17242 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17243
17244         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17245           Use the REFCOUNTING category for caps refcounting.
17246           
17247 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17248
17249         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17250           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17251
17252 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17253
17254         * plugins/elements/gsttypefindelement.c:
17255         (gst_type_find_element_activate):
17256           Use gst_pad_check_pull_range() before _activate_pull()
17257           to avoid unnecessary open/close (see #331690).
17258
17259 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17260
17261         * gst/gstutils.c:
17262           Docs enhancement: make it crystal clear what the
17263           gst_pad_add_*_probe() callbacks should look like.
17264
17265 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17266
17267         * libs/gst/base/gstbasesrc.c:
17268           Document how applications can stop recording from
17269           live sources (see #330996).
17270
17271 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17272
17273         * tests/check/Makefile.am:
17274         * tests/check/libs/basesrc.c: (eos_event_counter),
17275         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17276         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17277         (gst_basesrc_suite), (main):
17278           ... and add some tests for the base source EOS stuff.
17279
17280 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17281
17282         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17283           Test case originally showed the problem fixed below,
17284           but was then amended. Add checks back at the place
17285           where they used to be.
17286
17287 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17288
17289         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17290         (gst_base_src_init), (gst_base_src_loop),
17291         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17292         (gst_base_src_change_state):
17293         * libs/gst/base/gstbasesrc.h:
17294           Don't unconditionally send EOS when going from PAUSED to
17295           READY state, esp. make sure we don't send two EOS events
17296           in some cases (e.g. one when reaching EOS and one when
17297           going from PAUSED to READY). Also, we don't want to send
17298           EOS events when operating in pull mode. However, we do
17299           want to send an EOS event when shutting down a live
17300           source explicitly, for example (fixes #330996).
17301           
17302 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17303
17304         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17305           Update src->read_position after a seek when not using mmap.
17306           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17307
17308 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17309
17310         * gst/Makefile.am:
17311         * gst/gstparse.h:
17312         * gst/gstutils.c:
17313         * gst/gstutils.h:
17314         Make things work with --disable-parse as they do with 
17315         --disable-load-save - the symbols involved disappear, but the
17316         header is still installed and GST_DISABLE_PARSE is included via
17317         gstconfig.h
17318
17319 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17320
17321         * libs/gst/base/gstbasetransform.c:
17322         (gst_base_transform_change_state): Fix a stupid bug. I was 
17323         sure I compiled that.
17324
17325 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17326
17327         * gst/gstpad.c: (gst_pad_set_blocked_async):
17328         * gst/gstutils.c: (gst_pad_add_data_probe),
17329         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17330         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17331         (gst_pad_remove_buffer_probe): Make those function act on the
17332         ghostpad target when it's a ghostpad. (Closes #331727)
17333
17334 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17335
17336         * libs/gst/base/gstbasetransform.c:
17337         (gst_base_transform_change_state): Make basetransform reusable.
17338         (Closes #331898)
17339
17340 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17341
17342         * docs/random/release:
17343         Move the current documentation of how to do a release to the top
17344         of the file.
17345
17346         * gst/gstbin.c: (gst_bin_class_init),
17347         (gst_bin_handle_message_func):
17348         Allow multiple state-recalculation threads. (Closes #328873)
17349
17350 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17351
17352         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17353         * gst/gstpad.c: (gst_pad_set_event_function),
17354         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17355         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17356         2 strings. You can't use the STR_NULL macro on that.
17357
17358 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17359
17360         * gst/gstpad.c: (gst_pad_set_event_function),
17361         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17362         (gst_pad_set_getcaps_function)
17363         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17364           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17365           So now, we can use --gst-debug-level=5 on Windows
17366         * win32/common/libgstcontroller.def:
17367           Added export of gst_controller_init
17368         * win32/vs6/libgstcontroller.dsp:
17369           Fixed Release post build configuration
17370
17371 2006-02-17  Wim Taymans  <wim@fluendo.com>
17372
17373         * tests/check/gst/gstquery.c: (GST_START_TEST):
17374         Added another check.
17375
17376 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17377
17378         * plugins/elements/gsttypefindelement.c: (find_peek):
17379           We can do peeks at non-zero offsets, as long as they
17380           fall within the buffer we have.
17381
17382 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17383
17384         * tests/check/Makefile.am:
17385         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17386         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17387         (parse_suite), (main):
17388           Add testsuite for parse launch syntax
17389
17390 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17391
17392         * plugins/elements/gsttypefindelement.c:
17393         (gst_type_find_element_chain):
17394           When typefinding is unsuccessful in the chain function, don't
17395           error out immediately. Only error out with NO_CAPS_FOUND if
17396           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17397           otherwise simply wait for more data so we can try typefinding
17398           again with more data later. Also, don't attempt to typefind
17399           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17400           this should improve typefinding from network sources where the
17401           size of the first buffer can be somewhat random.
17402
17403 2006-02-14  Wim Taymans  <wim@fluendo.com>
17404
17405         * docs/gst/gstreamer-sections.txt:
17406         * gst/gstpadtemplate.c:
17407         * gst/gstpadtemplate.h:
17408         Fix padtemplate docs, fixes #328805.
17409
17410 2006-02-14  Wim Taymans  <wim@fluendo.com>
17411
17412         * tools/gst-launch.c: (main):
17413         NO_PREROLL is not an ERROR so don't send confusing messages
17414         to the user.
17415
17416 2006-02-14  Wim Taymans  <wim@fluendo.com>
17417
17418         Patch by: Torsten Schoenfeld
17419
17420         * gst/gstregistry.c: (gst_registry_get_default),
17421         (_gst_registry_cleanup):
17422         Protect default registry with lock and ref/sink it.
17423         Fixes #324818
17424
17425 2006-02-14  Wim Taymans  <wim@fluendo.com>
17426
17427         * gst/gstbuffer.c:
17428         * gst/gstquery.c: (gst_query_list_add_format),
17429         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17430         (gst_query_parse_formats_nth):
17431         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17432         Docs fixes.
17433
17434 2006-02-14  Wim Taymans  <wim@fluendo.com>
17435
17436         * docs/gst/gstreamer-sections.txt:
17437         Reworked query docs.
17438
17439         * gst/gstquery.c: (gst_query_new_formats),
17440         (gst_query_list_add_format), (gst_query_set_formats),
17441         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17442         (gst_query_parse_formats_nth):
17443         * gst/gstquery.h:
17444         Flesh out formats query, added some new methods.
17445         Fix part of #324398.
17446
17447         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17448         Added query creation tests.
17449
17450 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17451
17452         * gst/gstpad.c: (fixate_value):
17453         Add a default fixation for fraction lists.
17454
17455 2006-02-13  Wim Taymans  <wim@fluendo.com>
17456
17457         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17458         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17459         (gst_task_join):
17460         * gst/gsttask.h:
17461         Detect and warn for obvious deadlocks. fixes #320340
17462         Fix error case where lock was not released.
17463
17464         * tests/check/Makefile.am:
17465         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17466         (task_func), (gst_element_suite), (main):
17467         Add task check.
17468
17469 2006-02-13  Wim Taymans  <wim@fluendo.com>
17470
17471         * docs/gst/gstreamer-sections.txt:
17472         * gst/gstbus.c:
17473         Add new functions to docs.
17474
17475 2006-02-13  Wim Taymans  <wim@fluendo.com>
17476
17477         * docs/design/part-TODO.txt:
17478         Updated TODO list, basesrc supports seeking to non-bytes
17479         formats.
17480
17481         * docs/design/part-element-sink.txt:
17482         Update docs.
17483
17484         * gst/gstbin.c: (bin_replace_message),
17485         (gst_bin_handle_message_func):
17486         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17487         * gst/gstevent.c: (gst_event_finalize):
17488         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17489         (gst_pad_send_event):
17490         Use shiny new _TYPE_NAME macros.
17491
17492         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17493         Move debug statement up.
17494
17495         * gst/gstelement.c: (gst_element_set_locked_state):
17496         Add some debugging.
17497
17498 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17499
17500         * docs/gst/gstreamer-sections.txt:
17501         * gst/gstmessage.h:
17502         * gst/gstquery.h:
17503           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17504           macros (#330906). Also, document the already existing
17505           GST_QUERY_TYPE macro.
17506
17507 2006-02-13  Wim Taymans  <wim@fluendo.com>
17508
17509         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17510         (event_probe), (GST_START_TEST):
17511         Only events up to the pipeline EOS are counted, there are
17512         some more when going to NULL currently which we don't care
17513         about for now.
17514
17515 2006-02-13  Wim Taymans  <wim@fluendo.com>
17516
17517         * gst/gstpad.c: (gst_pad_send_event):
17518         Correctly check flushing and emit probes. fixes #330125
17519
17520 2006-02-10  Andy Wingo  <wingo@pobox.com>
17521
17522         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17523         structure.
17524         (gst_bus_init): Cache the location of the private data in the
17525         instance structure.
17526         (gst_bus_enable_sync_message_emission) 
17527         (gst_bus_disable_sync_message_emission): Implement new public
17528         functions.
17529         (gst_bus_post): Emit the sync-message signal if the user asked for
17530         it. Fixes #330684.
17531
17532         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17533         location of the bus-private structure.
17534         (gst_bus_enable_sync_message_emission)
17535         (gst_bus_disable_sync_message_emission): API addition
17536
17537 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17538
17539         Patch by: Vincent Torri
17540
17541         * docs/pwg/building-boiler.xml:
17542         PWG patch from #326800
17543
17544 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17545
17546         * configure.ac:
17547         * docs/Makefile.am:
17548         * docs/design/Makefile.am:
17549           Dist design docs.
17550
17551 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17552
17553         * configure.ac:
17554           back to CVS
17555
17556 === release 0.10.3 ===
17557
17558 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17559
17560         * configure.ac:
17561           releasing 0.10.3, "Like a virgin"
17562
17563 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17564
17565         * configure.ac:
17566           2nd prerelease of 0.10.3
17567           Bump libtool versioning.
17568
17569 2006-02-07  Andy Wingo  <wingo@pobox.com>
17570
17571         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17572         update last_stop if we're in TIME format and the timestamp is
17573         valid.
17574
17575         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17576         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17577         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17578         If we get a new newsegment with a different format, adapt
17579         accordingly.
17580
17581         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17582         of 0. Not a problem, really.
17583
17584         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17585         warn if sync=true.
17586
17587 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17588
17589         * configure.ac:
17590           Prelease of 0.10.3
17591
17592 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17593
17594         * win32/vs7:
17595           project files updated to the default vs7 configuration
17596         * win32/common/libgstbase.def:
17597         * win32/common/libgstreamer.def:
17598           added new symbols,
17599           removed empty lines,
17600           sorted all exported symbols alphabetically
17601         * win32/common/dirent.c:
17602         * win32/common/dirent.h:
17603         * win32/common/gchar.h:
17604           use windows line end.
17605           
17606 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17607
17608         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17609           Send EOS event when stopping.
17610
17611 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17612
17613         * docs/README:
17614           Tell folks what to do if the plugin-foobar.xml file
17615           hasn't been generated for a newly-added plugin.
17616
17617 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17618
17619         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17620         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17621         (gst_collect_pads_start), (gst_collect_pads_stop),
17622         (gst_collect_pads_event): Collectpads now holds a reference
17623         to the GstPad that was added. Indeed we don't want to look
17624         at pads that might just go away with no warning...
17625
17626 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17627
17628         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17629         (gst_collect_pads_start), (gst_collect_pads_stop),
17630         (gst_collect_pads_event), (gst_collect_pads_chain):
17631         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17632         Mark Nauwelaerts's patch on bug #328491.
17633
17634 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17635
17636         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17637         (gst_utils_suite):
17638           Add some simple tests for gst_parse_bin_from_description() and
17639           gst_bin_find_unconnected_pad() (#329069).
17640
17641 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17642
17643         * tools/gst-launch.c: (event_loop), (main):
17644           Catch errors during preroll (#320084).
17645
17646 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17647
17648         * plugins/elements/gsttypefindelement.c:
17649         (gst_type_find_element_activate):
17650           Post TYPE_NOT_FOUND error message when typefinding
17651           is unsuccessful in the activate function as well.
17652
17653 2006-02-02  Wim Taymans  <wim@fluendo.com>
17654
17655         * docs/design/part-element-sink.txt:
17656         Updated doc.
17657
17658 2006-02-02  Wim Taymans  <wim@fluendo.com>
17659
17660         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17661         (gst_base_sink_render_object),
17662         (gst_base_sink_queue_object_unlocked):
17663         Only keep track of prerollable items when we are 
17664         prerolling.
17665         Before rendering after preroll, always check if we
17666         have queued items.
17667         Added some more debugging.
17668
17669 2006-02-02  Wim Taymans  <wim@fluendo.com>
17670
17671         * gst/gstelement.c: (gst_element_continue_state),
17672         (gst_element_set_state_func), (gst_element_change_state):
17673         Fixed #326576, been running this for quite some time with
17674         no regressions at all.
17675
17676 2006-02-02  Wim Taymans  <wim@fluendo.com>
17677
17678         * common/gst.supp:
17679         Added more suppressions
17680
17681 2006-02-02  Wim Taymans  <wim@fluendo.com>
17682
17683         * docs/design/part-element-sink.txt:
17684         Updated document.
17685
17686         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17687         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17688         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17689         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17690         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17691         (gst_base_sink_preroll_object),
17692         (gst_base_sink_queue_object_unlocked),
17693         (gst_base_sink_queue_object), (gst_base_sink_event),
17694         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17695         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17696         (gst_base_sink_get_position), (gst_base_sink_change_state):
17697         * libs/gst/base/gstbasesink.h:
17698         Totally refactored matching the design doc.
17699         Use two segments, one to clip incomming buffers and another to
17700         perform sync.
17701         Handle queueing correctly, bypass the queue when playing.
17702         Make EOS cancelable.
17703         Handle errors correctly when operating in pull based mode.
17704
17705         * tests/check/elements/fakesink.c: (GST_START_TEST),
17706         (fakesink_suite):
17707         Added new check for sinks.
17708
17709 2006-02-02  Wim Taymans  <wim@fluendo.com>
17710
17711         * gst/gstsegment.c: (gst_segment_clip):
17712         No reason to refuse to clip when start == -1
17713
17714 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17715
17716         * docs/README:
17717         * docs/manual/intro-basics.xml:
17718         * docs/manual/intro-preface.xml:
17719         * docs/manual/manual.xml:
17720         * docs/pwg/advanced-dparams.xml:
17721         * docs/pwg/intro-basics.xml:
17722         * docs/pwg/intro-preface.xml:
17723         * docs/pwg/pwg.xml:
17724           describe dparams (controller) for plugins
17725           unify docs a little more
17726
17727 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17728
17729         * docs/gst/gstreamer-sections.txt:
17730         * gst/gstutils.c: (element_find_unconnected_pad),
17731         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17732         * gst/gstutils.h:
17733           Add new API: gst_parse_bin_from_description() and
17734           gst_bin_find_unconnected_pad() (#329069).
17735
17736 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17737
17738         * docs/manual/README:
17739           uncover a nasty detail of the docs build
17740
17741 2006-01-31  Wim Taymans  <wim@fluendo.com>
17742
17743         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17744         Don't cache duration messages if we're not going to use or
17745         free them.
17746
17747 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17748
17749         * docs/manual/advanced-dparams.xml:
17750         * docs/pwg/advanced-dparams.xml:
17751           more dparam docs
17752         * gst/gstindex.c:
17753           fix docs
17754         * libs/gst/controller/lib.c: (gst_controller_init):
17755           init just once
17756
17757 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17758
17759         * gst/gstelement.c: (gst_element_message_full):
17760           also show file/line/func if no additional debug was given
17761
17762 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17763         
17764         * win32/vs7/grammar.vcproj:
17765           activate copy of autogenerated files for Release mode
17766
17767 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17768         
17769         * win32/common/libgstreamer.def:
17770           export gst_value_compare
17771
17772 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17773
17774         * plugins/elements/Makefile.am:
17775         * plugins/elements/gstelements.c:
17776         * plugins/elements/gstfdsink.c: (_do_init),
17777         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17778         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17779         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17780         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17781         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17782         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17783         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17784         * plugins/elements/gstfdsink.h:
17785         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17786
17787 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17788
17789         * docs/manual/advanced-dparams.xml:
17790           describe controller
17791         * docs/manual/advanced-position.xml:
17792         * docs/manual/basics-init.xml:
17793         * docs/manual/manual.xml:
17794         * docs/manual/titlepage.xml:
17795         * docs/pwg/pwg.xml:
17796         * docs/pwg/titlepage.xml:
17797           cleanup xml (more to come)
17798         * libs/gst/controller/gstcontroller.c:
17799           fix typo
17800
17801 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17802         
17803         * win32/vs6/grammar.dsp:
17804           add autogen of gstmarshal.c,h for Release mode
17805                 
17806 2006-01-30  Wim Taymans  <wim@fluendo.com>
17807
17808         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17809         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17810         (gst_base_sink_handle_object), (gst_base_sink_event),
17811         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17812         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17813         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17814         (gst_base_sink_deactivate), (gst_base_sink_activate),
17815         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17816         (gst_base_sink_query), (gst_base_sink_change_state):
17817         Basesink cleanups, remove some old code.
17818         Handle the case where a subclass can preroll in the render
17819         method (mostly audiosinks).
17820         Handle more events.
17821         Remove some locks around variables that are now protected
17822         with the PREROLL_LOCK (clock_id, flushing, ..).
17823         Optimize position query some more, do correct locking.
17824         Remove old code to push queue in state change, this is not
17825         needed anymore since preroll blocks on all prerollable items 
17826         now.
17827         Almost implemented as described in design doc.
17828
17829 2006-01-30  Wim Taymans  <wim@fluendo.com>
17830
17831         * tests/check/gst/gstbin.c: (GST_START_TEST):
17832         Wait for refcount to settle down before checking.
17833
17834 2006-01-30  Wim Taymans  <wim@fluendo.com>
17835
17836         * docs/design/part-element-sink.txt:
17837         Pseudo code overview of desired sink behaviour regarding
17838         preroll.
17839
17840 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17841         * win32/vs6/grammar.dsp:
17842           fix some bugs in Release mode for autogenerated files
17843                 
17844 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17845         * win32/common/libgstbase.def:
17846         * win32/common/libgstreamer.def:
17847           export some new symbols: gst_base_src_set_format,
17848           gst_iterator_next, gst_structure_set_valist
17849
17850 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17851
17852         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17853         Set pad functions unconditionally. Fixes #329105.
17854
17855 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17856         * win32/vs8:
17857           add vs8 project files created by Sergey Scobich
17858
17859 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17860
17861         * gst/gstutils.c: (gst_element_unlink_pads):
17862         Don't leak pad references.
17863
17864         * tests/check/elements/fakesink.c: (GST_START_TEST):
17865         * tests/check/generic/sinks.c: (GST_START_TEST):
17866         * tests/check/generic/states.c: (GST_START_TEST):
17867         * tests/check/gst/gstbin.c: (GST_START_TEST):
17868         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17869         * tests/check/gst/gstelement.c: (GST_START_TEST):
17870         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17871         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17872         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17873         Fix a bunch of leaks. Make generic/sinks.c
17874         use a bit less cpu by slowing the buffer rate
17875         between fakesrc and fakesink.
17876         
17877 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17878         * gst/gstcaps.c:
17879         * gst/gstelement.c: (gst_element_send_event):
17880         * gst/gstevent.c:
17881         * gst/gstinfo.c:
17882         * gst/gstiterator.c:
17883         * gst/gstiterator.h:
17884         * gst/gstpad.c: (gst_pad_send_event):
17885         * gst/gststructure.c:
17886         * gst/gsturi.c:
17887         * gst/gstutils.c:
17888         * gst/gstvalue.c:
17889         * libs/gst/base/gstadapter.c:
17890           doc fixes, to link to function, just write gst_cool_function(), don't
17891           prefix with '#'
17892
17893 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17894
17895         * plugins/elements/gsttee.c: (gst_tee_do_push),
17896         (gst_tee_handle_buffer):
17897         Always prefer an actual return value from a src
17898         pad in place of NOT_LINKED. This means we return
17899         WRONG_STATE when all src pads are WRONG_STATE
17900         instead of NOT_LINKED.
17901
17902         Lock when replacing the last message to prevent
17903         racing with the get_property method.
17904
17905         Add debug output
17906
17907 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17908
17909         * tests/check/Makefile.am:
17910         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17911         (main):
17912         Add a very simple check that should have caught the memleak I fixed
17913         last night (if not for the slice allocator hiding it)
17914
17915 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17916
17917         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17918         (gst_bin_remove_func), (gst_bin_handle_message_func),
17919         (bin_query_duration_fold), (bin_query_generic_fold):
17920         Clean up references to the clock provider when disposed or when
17921         handling a clock-lost message from it.
17922
17923         Unref sinks when performing a query via gst_iterator_fold, as the
17924         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17925
17926         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17927         (gst_clock_set_master):
17928         Drop our reference to the master clock, if any, when we are disposed.
17929
17930         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17931         Chain up in dispose. 
17932
17933 2006-01-26  Wim Taymans  <wim@fluendo.com>
17934
17935         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17936         Add some debugging.
17937
17938 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17939
17940         * plugins/elements/gsttee.c: (gst_tee_do_push),
17941         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17942         handles pad being NOT_LINKED or in WRONG_STATE.
17943
17944 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17945
17946         * win32/MANIFEST:
17947           more updating
17948
17949 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17950
17951         * win32/MANIFEST:
17952           remove obsolete entry
17953
17954 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17955
17956         * docs/gst/gstreamer-sections.txt:
17957         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17958         (gst_bin_iterate_sources), (gst_bin_send_event):
17959         * gst/gstbin.h:
17960         * gst/gstelement.c: (gst_element_send_event):
17961         * gst/gstevent.c:
17962         * gst/gstpad.c: (gst_pad_send_event):
17963           added code for downstream events, reviewed docs in gstevent.c
17964
17965 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17966
17967         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17968         We only query position using the clock in the playing state.
17969         Query peer in the other cases.
17970         * win32/common/config.h: Updates.
17971
17972 2006-01-24  Wim Taymans  <wim@fluendo.com>
17973
17974         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17975         A clock entry that is scheduled for the exact time of the
17976         clock is still in time.
17977
17978         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17979         (gst_base_sink_do_sync):
17980         Add some more debug info.
17981
17982 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17983
17984         * win32/vs7:
17985           Add new vs7 project files and solution.
17986
17987 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17988
17989         * win32/vs7:
17990           all files removed as they were out-dated.
17991
17992 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17993
17994         * docs/random/release:
17995           update notes
17996         * gst/gstbin.c: (gst_bin_init):
17997         * gst/gstbus.c: (gst_bus_new):
17998         * gst/gstbus.h:
17999         * gst/gstpipeline.c: (gst_pipeline_init):
18000           use gst_bus_new(), improve logging, fix docs
18001         * win32/common/config.h:
18002           update for cvs build
18003
18004 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18005
18006         * autogen.sh:
18007           up required version of automake to 1.7
18008
18009 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18010
18011         * win32/common/libgstreamer.def:
18012           export gst_buffer_is_metadata_writable
18013
18014 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18015
18016         * docs/gst/gstreamer-sections.txt:
18017         * gst/gstevent.h:
18018           Add gst_event_replace() (#327001)
18019
18020 2006-01-20  Wim Taymans  <wim@fluendo.com>
18021
18022         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18023         Make it actually compile too..
18024
18025 2006-01-20  Wim Taymans  <wim@fluendo.com>
18026
18027         * gst/gstcaps.c:
18028         Clarify behaviour of _is_equal() when passing NULL parameters.
18029
18030         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18031         (gst_pad_set_caps):
18032         Cleanups. Don't unref NULL caps.
18033         When setting the same caps, protect caps of the pad with
18034         proper lock.
18035         Use full functionality of _is_equal() when comparing caps.
18036
18037 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18038
18039         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18040         Don't loop infinitely if there are no buffers to present. Partially
18041         fixes #327197, but collectpads is just broken for reusing elements
18042         to do multiple encodes atm.
18043
18044 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18045
18046         * tools/gst-inspect.c: (print_element_features):
18047         * tools/gst-xmlinspect.c: (main):
18048         URL_HANDLER is not a plugin feature we can search for in
18049         the registry.
18050
18051 2006-01-19  Edward Hervey  <edward@fluendo.com>
18052
18053         * gst/gstelement.c: (gst_element_pads_activate): 
18054         When activating, do src pads first, then sink pads.
18055         When de-activating, do sink pads first, then src pads.
18056
18057 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18058
18059         * docs/gst/gstreamer-sections.txt:
18060         Add gst_index_add_associationv to the docs
18061
18062 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18063
18064         * gst/gstevent.c:
18065           Fix docs typo
18066
18067         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18068         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18069           Do some refactoring. Doesn't actually change functionality,
18070           but makes landing the DRAIN event easier later.
18071
18072 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18073
18074         * docs/pwg/advanced-scheduling.xml:
18075           Update from 0.9.x to 0.10 API and make example a bit
18076           clearer.
18077
18078 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18079
18080         * docs/gst/gstreamer-sections.txt:
18081         Add gst_buffer_(is|make)_metadata_writable methods.
18082
18083 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18084
18085         * docs/design/part-sparsestreams.txt:
18086         Update sparse streams doc, hopefully for greater clarity
18087
18088 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18089
18090         * docs/design/part-events.txt:
18091         Remove mention of FILLER events.
18092         Add DRAIN event.
18093
18094         * docs/design/part-sparsestreams.txt:
18095         Write some things about using NEWSEGMENT to keep sparse streams
18096         flowing.
18097
18098 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18099
18100         * gst/gstbin.c: (gst_bin_dispose):
18101           Guard gst_object_unref call against a NULL object (dispose
18102           can theoretically be called multiple times).
18103           
18104 2006-01-18  Wim Taymans  <wim@fluendo.com>
18105
18106         * gst/gstbin.c: (gst_bin_element_set_state):
18107         * gst/gstclock.c: (gst_clock_id_wait):
18108         Added some more debug info.
18109
18110         * libs/gst/base/gstadapter.c:
18111         Added more docs.
18112
18113         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18114         (gst_base_sink_do_sync), (gst_base_sink_chain):
18115         Added some comments.
18116
18117 2006-01-18  Wim Taymans  <wim@fluendo.com>
18118
18119         * tests/check/Makefile.am:
18120         * tests/check/elements/fakesink.c: (chain_async_buffer),
18121         (chain_async), (chain_async_return), (GST_START_TEST),
18122         (fakesink_suite), (main):
18123         Added fakesink test that checks prerolling and clipping
18124         behaviour.
18125
18126         * tests/check/gst/gstutils.c: (GST_START_TEST):
18127         Make check run faster so that buildbots don't timeout.
18128
18129 2006-01-18  Wim Taymans  <wim@fluendo.com>
18130
18131         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18132         (gst_base_sink_do_sync):
18133         Some cleanups.
18134         When the sink finishes blocking on the preroll buffer, it can
18135         immediatly render it instead of rendering when the next buffer
18136         arrives.
18137
18138 2006-01-18  Wim Taymans  <wim@fluendo.com>
18139
18140         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18141         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18142         (gst_base_sink_chain):
18143         Small cleanups.
18144         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18145         Don't store _last_stop if the buffer is dropped.
18146
18147 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18148
18149         * plugins/elements/gsttypefindelement.c:
18150         (gst_type_find_element_class_init):
18151           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18152           object method handler that sets the caps on the pad and we want
18153           that to happen before we emit the signal (fixes e.g. feeding a
18154           plain text file to decodebin).
18155
18156 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18157
18158         * gst/gstplugin.c: Add MPL and Proprietary as license options
18159
18160 2006-01-18  Andy Wingo  <wingo@pobox.com>
18161
18162         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18163         symbol was exported before, it appears this was just an oversight.
18164         Fixes #168703.
18165         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18166
18167         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18168         prototype to gint. OK since this prototype was not in the header.
18169
18170 2006-01-17  Andy Wingo  <wingo@pobox.com>
18171
18172         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18173         registry while we remove plugins.
18174
18175         * tools/gst-inspect.c (print_element_info): Don't unref the
18176         factory arg, that should be the responsibility of whatever code
18177         received the ref. Fixes a double-free when called from
18178         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18179         (main): Unref the factory if we have one.
18180         (print_element_list): No change -- relies on the
18181         plugin_feature_list_free to free the list of features.
18182
18183 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18184
18185         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18186         (gst_buffer_make_metadata_writable):
18187         * gst/gstbuffer.h:
18188         * libs/gst/base/gstbasetransform.c:
18189         (gst_base_transform_prepare_output_buf):
18190         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18191         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18192           Replace gst_buffer_(make|is)_metadata_writable patch now
18193           that the release is out.
18194
18195 2006-01-17  Andy Wingo  <wingo@pobox.com>
18196
18197         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18198         in the present tense without reference to versions.
18199
18200         * gst/gstregistry.c (gst_registry_add_plugin)
18201         (gst_registry_remove_plugin, gst_registry_remove_feature)
18202         (gst_registry_find_feature, gst_registry_get_feature_list)
18203         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18204         (gst_registry_lookup, gst_registry_scan_path)
18205         (_gst_registry_remove_cache_plugins)
18206         (gst_registry_get_feature_list_by_plugin): Add argument
18207         validation.
18208
18209 === release 0.10.2 ===
18210
18211 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18212
18213         * configure.ac:
18214           releasing 0.10.2, "If man is five"
18215
18216 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18217
18218         * gst/gstbuffer.c:
18219         * gst/gstbuffer.h:
18220         * libs/gst/base/gstbasetransform.c:
18221         (gst_base_transform_prepare_output_buf):
18222         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18223         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18224           Back out patch until after the release.
18225
18226 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18227
18228         * gst/gstminiobject.c:
18229           Spelling fix in docs.
18230         * ChangeLog - remove conflict indicator
18231
18232 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18233
18234         Reviewed By: Andy Wingo
18235
18236         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18237         (gst_buffer_make_metadata_writable):
18238         * gst/gstbuffer.h:
18239           Add gst_buffer_(is|make)_metadata_writable as analogues of
18240           gst_buffer_(is|make)_writable.
18241
18242         * libs/gst/base/gstbasetransform.c:
18243         (gst_base_transform_prepare_output_buf):
18244         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18245           Use name gst_buffer_(is|make)_metadata_writable functions.
18246
18247         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18248           Test gst_buffer_(is|make)_metadata_writable
18249         
18250           (Closes: #324162)
18251
18252 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18253
18254         * docs/manual/Makefile.am:
18255           don't do parallel make
18256         * configure.ac:
18257           AC_SUBST HOST_CPU
18258         * win32/common/config.h.in:
18259           add generations for HOST_CPU and GST_MAJORMINOR
18260         * win32/common/config.h:
18261           commit generated result
18262
18263 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18264
18265         * docs/manual/appendix-integration.xml:
18266           Update GNOME integration section to use gst_init_get_option_group()
18267           instead of the old popt stuff (#322911). Also, GNOME applications
18268           should  now use gconf*sink and gconf*src instead of the old gconf
18269           helper lib we had.
18270
18271 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18272
18273
18274         * docs/gst/gstreamer-docs.sgml:
18275         * docs/gst/gstreamer-sections.txt:
18276         * docs/libs/gstreamer-libs-sections.txt:
18277           add new API entries to the docs
18278         * libs/gst/controller/Makefile.am:
18279         * libs/gst/controller/gstcontroller.c:
18280         * libs/gst/controller/gstcontroller.h:
18281         * libs/gst/controller/gstcontrollerprivate.h:
18282         * libs/gst/controller/gsthelper.c:
18283         * libs/gst/controller/gstinterpolation.c:
18284           move private structs to private header
18285         * po/README:
18286           gstreamer-0.7 -> gstreamer-0.10
18287         * tests/check/libs/struct_i386.h:
18288           remove private structs
18289
18290 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18291
18292         * plugins/indexers/Makefile.am:
18293           Fixes as part of #317048
18294
18295 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18296
18297         * plugins/indexers/Makefile.am:
18298           fix #316086 - compilation when mmap is missing
18299
18300 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18301
18302         * libs/gst/base/gstbasesink.c:
18303           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18304           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18305         * win32/common/config.h:
18306           added some defines GST_MAJORMINOR and HOST_CPU
18307         * win32/common/libgstbase.def:
18308         * win32/common/libgstreamer.def:
18309           added some exported functions.
18310
18311 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18312
18313         * libs/gst/controller/gstcontroller.c:
18314         (gst_controlled_property_set_interpolation_mode),
18315         (gst_controlled_property_new):
18316         * libs/gst/controller/gstcontroller.h:
18317         * libs/gst/controller/gstinterpolation.c:
18318         (interpolate_none_get_string_value_array):
18319           make G_TYPE_STRING controlable
18320
18321 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18322
18323         * tools/README:
18324         * tools/gst-feedback.1.in:
18325         * tools/gst-inspect.1.in:
18326         * tools/gst-launch.1.in:
18327         * tools/gst-md5sum.1.in:
18328         * tools/gst-typefind.1.in:
18329         * tools/gst-xmlinspect.1.in:
18330         * tools/gst-xmllaunch.1.in:
18331           cleanup man-pages, remove reference to gst-register, document env-vars
18332
18333 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18334
18335         * gst/gstbuffer.c: (gst_buffer_span):
18336           gst_buffer_span should copy the timestamp of the first buffer
18337           if they were both originally overlapping subbuffers of the 
18338           same parent, using the same logic as the 'slow copy' case.
18339
18340 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18341
18342         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18343           Need to awaken ALL the pads when we pop a buffer, otherwise
18344           collectpads only works when there is 2 input streams.
18345
18346 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18347
18348         * docs/random/ensonic/media-device-daemon.txt:
18349           more ideas (dbus)
18350         * gst/gstbuffer.c:
18351           fix doc example, add clarification
18352         * tools/gst-launch.1.in:
18353           add initial info about GST_PLUGIN_PATH, needs more work
18354
18355 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18356
18357         * docs/manual/basics-bins.xml:
18358         * docs/manual/basics-elements.xml:
18359         * docs/manual/intro-basics.xml:
18360           Some more minor docs additions and updates.
18361
18362 2006-01-11  Wim Taymans  <wim@fluendo.com>
18363
18364         * docs/manual/basics-bins.xml:
18365         * docs/manual/basics-elements.xml:
18366         Some small fixes as pointed out by Ser-ver on IRC.
18367
18368 2006-01-10  Edward Hervey  <edward@fluendo.com>
18369
18370         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18371         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18372         the single-segment mode.
18373
18374 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18375
18376         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18377
18378         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18379         (gst_base_src_perform_seek), (gst_base_src_send_event),
18380         (gst_base_src_set_property), (gst_base_src_get_property),
18381         (gst_base_src_loop), (gst_base_src_start),
18382         (gst_base_src_activate_push):
18383         * libs/gst/base/gstbasesrc.h:
18384           Name (private) union; makes Sun's Forte compiler happy (#324900).
18385
18386 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18387
18388         * README:
18389           gst-register is gone.
18390
18391 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18392
18393         * gst/gstvalue.c: (_gst_value_initialize):
18394           make the G_TYPE_DATE instantiation work if debug is disabled
18395
18396 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18397
18398         * gst/gstmessage.c: (gst_message_parse_tag),
18399         (gst_message_parse_error), (gst_message_parse_warning):
18400           Don't crash when return location for error/warning debug
18401           string is NULL; add fact that return locations can be
18402           NULL to docs where appropriate.
18403
18404 2006-01-05  Wim Taymans  <wim@fluendo.com>
18405
18406         * gst/gstplugin.c: (gst_plugin_load_file):
18407         Replace strdup by g_strdup.
18408
18409 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18410
18411         * docs/pwg/advanced-types.xml:
18412           fix doc borkage
18413
18414 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18415
18416         submitted by: Abel Cheung
18417
18418         * po/LINGUAS:
18419         * po/zh_TW.po:
18420           Added Chinese (traditional) translation
18421
18422 2006-01-04  Wim Taymans  <wim@fluendo.com>
18423
18424         * docs/manual/basics-pads.xml:
18425         * docs/plugins/Makefile.am:
18426         * docs/plugins/gstreamer-plugins-docs.sgml:
18427         * docs/plugins/gstreamer-plugins-sections.txt:
18428         * docs/pwg/advanced-clock.xml:
18429         * docs/pwg/advanced-scheduling.xml:
18430         * docs/pwg/advanced-types.xml:
18431         * plugins/elements/gstfdsink.c:
18432         * plugins/elements/gstfdsrc.c:
18433         * plugins/elements/gstfdsrc.h:
18434         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18435         * plugins/elements/gstidentity.h:
18436         * plugins/elements/gstqueue.h:
18437         * plugins/elements/gsttee.c:
18438         * plugins/elements/gsttee.h:
18439         * plugins/elements/gsttypefindelement.c:
18440         (gst_type_find_element_class_init):
18441         * plugins/elements/gsttypefindelement.h:
18442         Small updates to various docs.
18443         Added core plugins to docs.
18444
18445 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18446
18447         * common/gst.supp:
18448           add a suppression for liboil's uninitialized variable
18449
18450 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18451
18452         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18453
18454         * gst/gstutils.h:
18455           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18456           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18457           compiler switch is being used (#325429).
18458
18459 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18460
18461         * gst/gstbin.c: (gst_bin_query):
18462           Disable duration query caching in bins until it gets
18463           fixed (see #324807).
18464
18465 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18466
18467         * tools/gst-inspect.c: (print_element_properties_info):
18468           Handle properties of POINTER and BOXED type.
18469
18470 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18471
18472         * gst/gst.c: (init_post):
18473           Init tags stuff and some other things before loading
18474           any static plugins (there may be other static plugins
18475           than just the GStreamer ones, and they may want to
18476           register their own tags or formats or whatever, and
18477           preferably without segfaulting).
18478
18479         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18480           Print at least a warning in the debug logs if we drop a
18481           query just because we don't know how to adjust the value
18482           in the particular format.
18483
18484 2005-12-24  David Schleef  <ds@schleef.org>
18485
18486         * tools/gstreamer-completion:
18487           Replacement for gst-complete written in sh and sed.  Only
18488           completes names of features, but that's 90% of what I want
18489           it for.  Properties are not available in registry.xml.  (Maybe
18490           they should be...)
18491
18492 === release 0.10.1 ===
18493
18494 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18495
18496         * configure.ac:
18497           releasing 0.10.1, "Nollaig chridheil"
18498
18499 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18500
18501         * docs/faq/cvs.xml:
18502           Add missing quote, should be make ERROR_CFLAGS="".
18503
18504 2005-12-20  Wim Taymans  <wim@fluendo.com>
18505
18506         * docs/design/part-trickmodes.txt:
18507         More documentation on trickmodes.
18508
18509 2005-12-20  Edward Hervey  <edward@fluendo.com>
18510
18511         * gst/gstcaps.c: (gst_static_caps_get_type):
18512         * gst/gstcaps.h:
18513           API addition: GST_TYPE_STATIC_CAPS
18514         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18515         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18516         * gst/gstpadtemplate.h:
18517           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18518         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18519         bindings.
18520
18521 2005-12-18  Wim Taymans  <wim@fluendo.com>
18522
18523         * libs/gst/base/gstadapter.c:
18524         * libs/gst/base/gstadapter.h:
18525         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18526         (gst_base_sink_get_position):
18527         * libs/gst/base/gstbasesink.h:
18528         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18529         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18530         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18531         (gst_base_src_send_event), (gst_base_src_update_length),
18532         (gst_base_src_get_range), (gst_base_src_loop),
18533         (gst_base_src_start):
18534         * libs/gst/base/gstbasesrc.h:
18535         * libs/gst/base/gstbasetransform.h:
18536         * libs/gst/base/gstcollectpads.h:
18537         * libs/gst/base/gstpushsrc.c:
18538         * libs/gst/base/gstpushsrc.h:
18539         * libs/gst/dataprotocol/dataprotocol.c:
18540         * libs/gst/dataprotocol/dataprotocol.h:
18541         * libs/gst/net/gstnetclientclock.h:
18542         * libs/gst/net/gstnettimeprovider.h:
18543         Documentation updates.
18544
18545 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18546
18547         * docs/manual/basics-helloworld.xml:
18548           Remove superfluous closing bracket in helloworld example.
18549
18550 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18551
18552         * tools/gst-launch.1.in:
18553           Update gst-launch man page; add a section with useful
18554           environment variables. Fixes #323882.
18555
18556 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18557
18558         * gst/gst.c:
18559         * gst/gst_private.h:
18560           change some char* into char[]
18561
18562 2005-12-16  Wim Taymans  <wim@fluendo.com>
18563
18564         * gst/gstregistryxml.c: (load_feature):
18565         Cleanups.
18566         Don't use g_object_unref on GstObjects so that we avoid
18567         leaks on unsafe glibs.
18568
18569 2005-12-16  Wim Taymans  <wim@fluendo.com>
18570
18571         * gst/gstbin.c: (gst_bin_recalc_state):
18572         Small doc updates.
18573
18574 2005-12-16  Wim Taymans  <wim@fluendo.com>
18575
18576         * common/check.mak:
18577         Added make forever target for check.
18578
18579 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18580
18581         * gst/gst.c: (init_post):
18582           make the registry cache file HOST_CPU-dependent
18583
18584 2005-12-16  Andy Wingo  <wingo@pobox.com>
18585
18586         * plugins/elements/gstbufferstore.c
18587         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18588         return value.
18589
18590         * tests/check/gst/gstobject.c
18591         (test_fake_object_name_threaded_unique): Pay attention to
18592         g_list_sort return value.
18593
18594 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18595
18596         * tools/gst-feedback-m.m:
18597           Update for 0.9/0.10 (fixes #323870).
18598
18599 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18600
18601         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18602           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18603           
18604         * tests/check/gst/gstminiobject.c: (my_foo_init),
18605         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18606         (test_value_collection), (gst_mini_object_suite):
18607           Add test to ensure refcounts end up as expected when passing
18608           GstMiniObjects through g_object_get() and g_object_set().
18609
18610 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18611
18612         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18613         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18614         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18615         of collectpads. This version removes a lot of races without
18616         touching API/ABI. Yay !
18617
18618 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18619
18620         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18621           Don't allow activation of a srcpad in pull_range if it has no
18622           getrange function.
18623           Change some debug statements to be a little clearer
18624
18625         * plugins/elements/gsttypefindelement.c:
18626         (gst_type_find_handle_src_query):
18627           Check that we have a peer before executing queries thereupon.
18628
18629         * tests/examples/metadata/read-metadata.c: (message_loop):
18630           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18631           immediately return us any available message with 0 timeout.
18632
18633 2005-12-12  Michael Smith  <msmith@fluendo.com>
18634
18635         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18636           Don't unref factories after calling them.
18637         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18638         * plugins/elements/gsttypefindelement.c:
18639         (gst_type_find_element_chain):
18640           Free lists of factories after using them. Fixing typefinding memory
18641           leaks.
18642
18643 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18644
18645         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18646         (gst_plugin_feature_load):
18647           more meaningful debug output
18648         * configure.ac:
18649         * tests/Makefile.am:
18650         * tests/old/examples/Makefile.am:
18651           make make distcheck happy again
18652
18653 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18654
18655         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18656           Catch the special case where we are operating chain-based,
18657           but the downstream peer pad has no chain function. Emit a
18658           custom error message in this case instead of letting the
18659           core generate one implying that this is some sort of core
18660           bug. It's not, it just means that whatever got plugged
18661           into the pipeline downstream when we announced the type
18662           can only operate pull-based, while our source can only
18663           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18664           Error string has not been marked for translation yet, as
18665           it probably needs some more work first.
18666
18667         (gst_type_find_element_get_best_possibility):
18668           Add helper function to find the best of all available
18669           found possibilities that qualify given the min. threshold.
18670
18671         (gst_type_find_element_handle_event):
18672           Fix the case where we get an EOS while still in TYPEFIND
18673           mode (we want to chose the best of all possible types,
18674           not just the first type that happens to be in our unsorted
18675           list of possible types).
18676
18677         (gst_type_find_element_chain):
18678           Make sure we return GST_FLOW_ERROR when we errored out
18679           in stop_typefinding(); also, don't just find the best of
18680           all found type entries and then use the last examined
18681           type entry, but actually use the best entry.
18682
18683 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18684
18685         * tests/examples/typefind/typefind.c: (type_found):
18686         * tests/examples/xml/runxml.c: (xml_loaded):
18687           More gcc4 fixes and a mem leak fix.
18688
18689 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18690
18691         * tests/examples/xml/createxml.c: (object_saved):
18692           gcc 4 fixes
18693
18694 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18695
18696         * tests/Makefile.am:
18697           enable the examples even more
18698
18699 2005-12-12  Andy Wingo  <wingo@pobox.com>
18700
18701         * libs/gst/net/gstnettimeprovider.c
18702         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18703         (gst_net_time_provider_set_property)
18704         (gst_net_time_provider_get_property):
18705         API addition: Export "active" as a GObject property.
18706         (gst_net_time_provider_thread): Only respond to time queries if
18707         the time provider is active.
18708
18709         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18710         NetTimeProvider, preserving binary compat.
18711
18712 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18713
18714         * tests/examples/controller/audio-example.c: (main):
18715         * tests/examples/launch/Makefile.am:
18716           convert comments again
18717
18718 2005-12-12  Wim Taymans  <wim@fluendo.com>
18719
18720         * libs/gst/base/gstpushsrc.c:
18721         Fix typo.
18722
18723 2005-12-12  Wim Taymans  <wim@fluendo.com>
18724
18725         * docs/libs/gstreamer-libs-sections.txt:
18726         Added new symbol to docs.
18727
18728         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18729         (gst_base_src_init), (gst_base_src_set_format),
18730         (gst_base_src_default_query), (gst_base_src_query),
18731         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18732         (gst_base_src_perform_seek), (gst_base_src_send_event),
18733         (gst_base_src_default_event), (gst_base_src_event_handler),
18734         (gst_base_src_set_property), (gst_base_src_get_property),
18735         (gst_base_src_wait), (gst_base_src_do_sync),
18736         (gst_base_src_update_length), (gst_base_src_get_range),
18737         (gst_base_src_check_get_range), (gst_base_src_loop),
18738         (gst_base_src_default_negotiate), (gst_base_src_start),
18739         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18740         (gst_base_src_change_state):
18741         * libs/gst/base/gstbasesrc.h:
18742         Implement seeking to other formats than _BYTES.
18743         Implement more seeking methods correctly.
18744         Doc updates.
18745         Added query vmethod.
18746         Added do_seek vmethod to make life easier for subclasses
18747         when seeking.
18748         API addition: gst_base_src_set_format()
18749
18750 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18751
18752         * tests/examples/Makefile.am:
18753           added that too
18754
18755 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18756
18757         * configure.ac:
18758         * docs/random/ensonic/media-device-daemon.txt:
18759         * tests/examples/controller/.cvsignore:
18760         * tests/examples/controller/Makefile.am:
18761         * tests/examples/controller/audio-example.c: (main):
18762         * tests/examples/helloworld/.cvsignore:
18763         * tests/examples/helloworld/Makefile.am:
18764         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18765         * tests/examples/launch/.cvsignore:
18766         * tests/examples/launch/Makefile.am:
18767         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18768         * tests/examples/metadata/.cvsignore:
18769         * tests/examples/metadata/Makefile.am:
18770         * tests/examples/metadata/read-metadata.c: (message_loop),
18771         (make_pipeline), (print_tag), (main):
18772         * tests/examples/queue/.cvsignore:
18773         * tests/examples/queue/Makefile.am:
18774         * tests/examples/queue/queue.c: (event_loop), (main):
18775         * tests/examples/typefind/.cvsignore:
18776         * tests/examples/typefind/Makefile.am:
18777         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18778         (main):
18779         * tests/examples/xml/.cvsignore:
18780         * tests/examples/xml/Makefile.am:
18781         * tests/examples/xml/createxml.c: (object_saved), (main):
18782         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18783         * tests/old/examples/Makefile.am:
18784         * tests/old/examples/TODO:
18785         * tests/old/examples/controller/.cvsignore:
18786         * tests/old/examples/controller/Makefile.am:
18787         * tests/old/examples/controller/audio-example.c:
18788         * tests/old/examples/helloworld/.cvsignore:
18789         * tests/old/examples/helloworld/Makefile.am:
18790         * tests/old/examples/helloworld/helloworld.c:
18791         * tests/old/examples/launch/.cvsignore:
18792         * tests/old/examples/launch/Makefile.am:
18793         * tests/old/examples/launch/mp3parselaunch.c:
18794         * tests/old/examples/launch/mp3play:
18795         * tests/old/examples/manual/Makefile.am:
18796         * tests/old/examples/metadata/Makefile.am:
18797         * tests/old/examples/metadata/read-metadata.c:
18798         * tests/old/examples/queue/.cvsignore:
18799         * tests/old/examples/queue/Makefile.am:
18800         * tests/old/examples/queue/queue.c:
18801         * tests/old/examples/typefind/.cvsignore:
18802         * tests/old/examples/typefind/Makefile.am:
18803         * tests/old/examples/typefind/typefind.c:
18804         * tests/old/examples/xml/.cvsignore:
18805         * tests/old/examples/xml/Makefile.am:
18806         * tests/old/examples/xml/createxml.c:
18807         * tests/old/examples/xml/runxml.c:
18808           applied some simple fixing to some examples
18809           re-enabled the working examples
18810
18811 2005-12-12  Wim Taymans  <wim@fluendo.com>
18812
18813         * gst/gstsegment.c: (gst_segment_init),
18814         (gst_segment_set_last_stop), (gst_segment_set_seek),
18815         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18816         (gst_segment_to_running_time):
18817         Added more documentation.
18818         Make sure the last_pos value is updated properly.
18819         Make sure to_stream_time and to_running_time don't
18820         operate on wrong values.
18821
18822         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18823         Update check.
18824
18825 2005-12-12  Michael Smith  <msmith@fluendo.com>
18826
18827         * plugins/elements/gsttypefindelement.c: (free_entry),
18828         (gst_type_find_element_chain):
18829           Now that we're not leaking factories, make sure we keep references
18830           to them while we need them.
18831
18832 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18833
18834         * tests/check/gst/struct_i386.h:
18835           ifdef out the XML structs
18836
18837 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18838
18839         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18840           floor is not needed, F is always positive; this obviates the
18841           need for adding -lm when building without libxml
18842
18843 2005-12-12  Wim Taymans  <wim@fluendo.com>
18844
18845         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18846         Take current playback rate into account when reporting
18847         the position.
18848
18849 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18850
18851         * docs/manual/mime-world.fig:
18852           Let's try this again, this time with a file that is
18853           actually in XFig format.
18854
18855 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18856
18857         * docs/manual/mime-world.fig:
18858           Add audioconvert element to diagram so that it
18859           matches the text and the code (fixes #319526).
18860
18861 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18862
18863         * docs/pwg/building-chainfn.xml:
18864         * docs/pwg/building-pads.xml:
18865         * docs/pwg/building-state.xml:
18866         * docs/pwg/other-source.xml:
18867           Update state change stuff for 0.10 (fixes #322969).
18868
18869 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18870
18871         * docs/manual/advanced-dataaccess.xml:
18872         * docs/manual/appendix-checklist.xml:
18873         * docs/manual/appendix-programs.xml:
18874         * docs/manual/basics-pads.xml:
18875         * docs/manual/highlevel-components.xml:
18876         * docs/manual/manual.xml:
18877           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18878           add converters in front of pipelines; remove curly
18879           brackets for threads stuff, they no longer exist; use
18880           GST_TYPE_FRACTION for framerates; update some pieces of
18881           code to 0.10, but there's plenty more to do.
18882
18883         * docs/manual/appendix-porting.xml:
18884           Expand on asynchroneous state changes; s/0.9/0.10/;
18885           mention disappearance of gst_init_get_popt_table()
18886           (fixes #322916).
18887
18888 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18889
18890         * docs/faq/using.xml:
18891           Spider no longer exists, and neither does gst-launch-ext.
18892           Update examples to use decodebin and playbin and put
18893           converters in front of sinks (fixes #323726).
18894
18895 2005-12-09  Michael Smith  <msmith@fluendo.com>
18896
18897         * plugins/elements/gsttypefindelement.c: (find_peek),
18898         (gst_type_find_element_chain):
18899           Fix leaking element factories in typefinding.
18900           Fix problem where we forgot about a probable type on non-seekable
18901           files, and thus later mis-typefound it.
18902
18903 2005-12-09  Michael Smith  <msmith@fluendo.com>
18904
18905         * common/m4/gst-makecontext.m4:
18906         * common/m4/gst-mcsc.m4:
18907         * configure.ac:
18908         * win32/common/config.h:
18909         * win32/common/config.h.in:
18910           Remove makecontext stuff; not used in 0.10 and causes problems on
18911           HPUX according to bug #322441
18912
18913 2005-12-07  Wim Taymans  <wim@fluendo.com>
18914
18915         * tests/check/Makefile.am:
18916         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18917         (main):
18918         * tests/check/libs/struct_i386.h:
18919         Added ABI check for libs
18920
18921 2005-12-07  Wim Taymans  <wim@fluendo.com>
18922
18923         * tests/check/Makefile.am:
18924         And add the struct_i386.h to dist.
18925
18926 2005-12-07  Wim Taymans  <wim@fluendo.com>
18927
18928         * tests/check/Makefile.am:
18929         * tests/check/gst/.cvsignore:
18930         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18931         (main):
18932         * tests/check/gst/struct_i386.h:
18933         Added check for ABI compatibility.
18934
18935 2005-12-07  Wim Taymans  <wim@fluendo.com>
18936
18937         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18938         (gst_fake_src_get_times), (gst_fake_src_create):
18939         Fix broken sync option, fixes #323259
18940
18941 2005-12-07  Wim Taymans  <wim@fluendo.com>
18942
18943         * gst/gstbuffer.c:
18944         Small docs update.
18945
18946         * gst/gstcaps.c: (gst_caps_is_equal):
18947         Don't assert on NULL <--> X. Fixes #323260
18948
18949         * gst/gstminiobject.c: (gst_mini_object_replace):
18950         If we're doing atomic operations, we might just as well use
18951         the proper way to get an atomic pointer.
18952
18953         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18954         Clean up debugging.
18955
18956 2005-12-07  Michael Smith  <msmith@fluendo.com>
18957
18958         * gst/parse/grammar.y:
18959           Remove handling of { } for threads.
18960
18961 2005-12-06  David Schleef  <ds@schleef.org>
18962
18963         * libs/gst/base/gstbasetransform.c: speling fix.
18964
18965 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18966
18967         * docs/libs/tmpl/gstdataprotocol.sgml:
18968         * docs/random/omega/testing/gstobject.c:
18969         * gst/gst.c:
18970         * gst/gstclock.c:
18971         * gst/gstelement.c:
18972         * gst/gstelementfactory.c:
18973         * gst/gsterror.c:
18974         * gst/gstevent.c:
18975         * gst/gstghostpad.c:
18976         * gst/gstinfo.c:
18977         * gst/gstpadtemplate.c:
18978         * gst/gstregistryxml.c:
18979         * gst/gsttaglist.c:
18980         * gst/gsttagsetter.c:
18981         * gst/gsttypefind.c:
18982         * gst/gstvalue.c:
18983         * libs/gst/base/gstbasesrc.c:
18984         * libs/gst/net/gstnetclientclock.c:
18985         * libs/gst/net/gstnettimeprovider.c:
18986         * plugins/elements/gstfakesrc.c:
18987         * plugins/elements/gstfdsrc.c:
18988         * plugins/elements/gstfilesrc.c:
18989         * plugins/elements/gstidentity.c:
18990         * plugins/elements/gstqueue.c:
18991         * plugins/elements/gsttypefindelement.c:
18992         * plugins/indexers/gstfileindex.c:
18993         * plugins/indexers/gstmemindex.c:
18994         * tests/check/gst/gsttag.c:
18995         * tests/old/examples/cutter/cutter.c:
18996         * tests/old/examples/mixer/mixer.c:
18997         * tests/old/examples/xml/runxml.c: (main):
18998         * tests/old/testsuite/caps/normalisation.c:
18999         * tests/old/testsuite/debug/global.c:
19000         * tests/old/testsuite/parse/parse1.c:
19001         * tools/gst-xmlinspect.c:
19002         * win32/common/dirent.c:
19003           expand tabs
19004
19005 === release 0.10.0 ===
19006
19007 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19008
19009         * configure.ac:
19010           releasing 0.10.0, "Maroilles"
19011
19012 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         submitted by: Funda Wang <fundawang@linux.net.cn>
19015
19016         * po/LINGUAS:
19017         * po/zh_CN.po:
19018           added Chinese (Traditional) translation
19019
19020 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19021
19022         * docs/gst/gstreamer-sections.txt:
19023         * docs/libs/tmpl/gstdataprotocol.sgml:
19024         * docs/random/thomasvs/TODO:
19025         * gst/gstutils.c:
19026         * gst/gstutils.h:
19027           fix docs
19028
19029 2005-12-05  Andy Wingo  <wingo@pobox.com>
19030
19031         patch by: Wim Taymans <wim@fluendo.com>
19032
19033         * libs/gst/base/gstbasetransform.c
19034         (gst_base_transform_prepare_output_buf)
19035         (gst_base_transform_buffer_alloc):
19036         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19037         alloc_buffer_and_set_caps.
19038
19039         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19040         set_caps on the source pad.
19041         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19042         alloc_buffer used to do. Fixes #322874.
19043
19044         * docs/gst/gstreamer-sections.txt: 
19045         * docs/design/part-negotiation.txt: 
19046         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19047         changes.
19048
19049 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19050
19051         patch by: Sebastien Moutte
19052
19053         * win32/MANIFEST:
19054         * win32/common/config.h.in:
19055         * win32/vs6/libgstcontroller.dsp:
19056           win32 build fixes
19057
19058 2005-12-05  Wim Taymans  <wim@fluendo.com>
19059
19060         * gst/gstcaps.c: (gst_caps_is_equal):
19061         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19062         (gst_fake_src_create):
19063         Back out previous code changes, leave doc updates, file bugs 
19064         instead. 
19065
19066 2005-12-05  Wim Taymans  <wim@fluendo.com>
19067
19068         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19069         (gst_fake_src_get_times), (gst_fake_src_create):
19070         * plugins/elements/gstfakesrc.h:
19071         Fix broken sync code.
19072
19073 2005-12-05  Wim Taymans  <wim@fluendo.com>
19074
19075         * gst/gstcaps.c: (gst_caps_is_equal):
19076         Comparing NULL against !NULL yields different caps, not a
19077         failure.
19078
19079 2005-12-05  Wim Taymans  <wim@fluendo.com>
19080
19081         * gst/gstpipeline.c:
19082         Fix small typo in docs.
19083
19084 2005-12-05  Andy Wingo  <wingo@pobox.com>
19085
19086         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19087
19088         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19089         registries/plugins with a MAJORMINOR one.
19090         (plugin_desc): Rename library from gstcoreleements to
19091         staticelements. Fixes #323222.
19092
19093 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19094
19095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19096           Change debug category to 'collectpads' from 'collect_pads'
19097           (fixes #323250).
19098
19099 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19100
19101         patch by: Sebastien Moutte
19102
19103         * libs/gst/controller/gstinterpolation.c:
19104           use convert function for uint64/double
19105         * win32/vs6/libgstcontroller.dsp:
19106           link to GLib
19107
19108 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19109
19110         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19111         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19112         * gst/gstutils.h:
19113         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19114           add tests that seem to show that the guint64/gdouble conversions
19115           are correct.
19116
19117 2005-12-02  Wim Taymans  <wim@fluendo.com>
19118
19119         * gst/gstregistry.c: (gst_registry_add_path):
19120         * gst/gstregistry.h:
19121         * gst/gstregistryxml.c:
19122         Fix docs again.
19123
19124 2005-12-02  Wim Taymans  <wim@fluendo.com>
19125
19126         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19127         (gst_util_uint64_scale_int):
19128         Small cleanup.
19129
19130         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19131         Add debug log line.
19132
19133         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19134         Add FIXME.
19135
19136 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19137
19138         * win32/MANIFEST:
19139         * win32/common/config.h:
19140         * win32/vs6/gstreamer.dsw:
19141         * win32/vs6/libgstcoreelements.dsp:
19142         * win32/vs6/libgstelements.dsp:
19143           renamed core elements plugin
19144
19145 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19146
19147         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19148         (get_candidates):
19149           do piece-wise major/minor comparison so 0.9 < 0.10
19150           also allow .exe extensions for tools
19151
19152 2005-12-02  Michael Smith  <msmith@fluendo.com>
19153
19154         * gst/gst.c:
19155           Escape a % to make gtkdoc happier; bug 322958.
19156
19157 === release 0.9.7 ===
19158
19159 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19160
19161         * configure.ac:
19162           releasing 0.9.7, "My Dog Has No Nose"
19163
19164 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19165
19166         * common/gst-xmlinspect.py:
19167         * configure.ac:
19168         * docs/libs/tmpl/gstdataprotocol.sgml:
19169         * docs/random/release:
19170         * po/af.po:
19171         * po/az.po:
19172         * po/bg.po:
19173         * po/ca.po:
19174         * po/cs.po:
19175         * po/de.po:
19176         * po/en_GB.po:
19177         * po/fr.po:
19178         * po/it.po:
19179         * po/nb.po:
19180         * po/nl.po:
19181         * po/ru.po:
19182         * po/sq.po:
19183         * po/sr.po:
19184         * po/sv.po:
19185         * po/tr.po:
19186         * po/uk.po:
19187         * po/vi.po:
19188         * win32/common/config.h:
19189         * win32/common/config.h.in:
19190         * win32/vs6/gst_inspect.dsp:
19191         * win32/vs6/gst_launch.dsp:
19192         * win32/vs6/libgstbase.dsp:
19193         * win32/vs6/libgstelements.dsp:
19194         * win32/vs6/libgstreamer.dsp:
19195         * win32/vs7/GStreamer.vcproj:
19196         * win32/vs7/gst-inspect.vcproj:
19197         * win32/vs7/gst-launch.vcproj:
19198         * win32/vs7/libgstbase.vcproj:
19199           bump GST_MAJORMINOR to 0.10
19200           reset libtool version
19201
19202 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19203
19204         * po/LINGUAS:
19205         * po/bg.po:
19206           Added Bulgarian translation by (Alexander Shopov)
19207
19208 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19209
19210         * tests/check/gst/gstplugin.c:
19211           fix test
19212
19213 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19214
19215         * common/gst-xmlinspect.py:
19216         * common/gtk-doc-plugins.mak:
19217         * configure.ac:
19218         * docs/Makefile.am:
19219         * docs/gst/Makefile.am:
19220         * docs/gst/gstreamer-docs.sgml:
19221         * docs/gst/gstreamer-sections.txt:
19222         * docs/gst/gstreamer.types:
19223         * docs/gst/gstreamer.types.in:
19224         * docs/plugins/Makefile.am:
19225         * docs/plugins/gstreamer-plugins-docs.sgml:
19226         * docs/plugins/gstreamer-plugins-sections.txt:
19227         * docs/plugins/gstreamer-plugins.types:
19228         * docs/plugins/inspect.stamp:
19229         * docs/plugins/inspect/plugin-coreelements.xml:
19230         * docs/plugins/inspect/plugin-coreindexers.xml:
19231         * docs/plugins/scanobj-build.stamp:
19232         * gstreamer.spec.in:
19233         * plugins/elements/Makefile.am:
19234         * plugins/elements/gstelements.c:
19235         * plugins/elements/gstfakesink.c:
19236         * plugins/elements/gstfakesrc.c:
19237         * plugins/elements/gstfilesink.c:
19238         * plugins/elements/gstfilesrc.c:
19239         * plugins/elements/gstqueue.c:
19240         * plugins/indexers/Makefile.am:
19241         * plugins/indexers/gstindexers.c:
19242           document core plugins in a separate document just like all the
19243           others
19244           rename these plugins to something starting with core
19245
19246 2005-12-01  Andy Wingo  <wingo@pobox.com>
19247
19248         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19249         padding here before, but it missed the commit.
19250
19251 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19252
19253         * libs/gst/controller/gstinterpolation.c:
19254           whitespace prices have crashed, we should feel free to use some now
19255           use gst_guint64_to_gdouble
19256
19257 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * libs/gst/controller/gstcontroller.c:
19260         * libs/gst/controller/gsthelper.c:
19261         * libs/gst/controller/gstinterpolation.c:
19262         * libs/gst/controller/lib.c:
19263           wrap config.h include
19264
19265 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         * docs/gst/gstreamer-sections.txt:
19268           update docs
19269
19270 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19271
19272         * plugins/elements/gstelements.c:
19273         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19274         (gst_fd_sink__class_init), (gst_fd_sink__init),
19275         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19276         (gst_fd_sink__get_property):
19277         * plugins/elements/gstfdsink.h:
19278         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19279         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19280         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19281         (gst_fd_src_unlock), (gst_fd_src_set_property),
19282         (gst_fd_src_get_property), (gst_fd_src_create),
19283         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19284         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19285         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19286         (gst_fd_src_uri_handler_init):
19287         * plugins/elements/gstfdsrc.h:
19288         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19289           more anal cleanup
19290
19291 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19292
19293         * docs/gst/Makefile.am:
19294         * docs/gst/gstreamer.types.in:
19295         * gst/Makefile.am:
19296           fix the docs build
19297
19298 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19299
19300         * configure.ac:
19301         * gst/Makefile.am:
19302         * gst/gst.c:
19303         * gst/gstplugin.h:
19304         * gst/gstregistry.h:
19305         * tests/benchmarks/complexity.c:
19306         * tests/benchmarks/mass-elements.c:
19307         * tests/check/Makefile.am:
19308         * tools/Makefile.am:
19309         * tools/gst-inspect.c:
19310         * tools/gst-xmlinspect.c:
19311           various fixes to make
19312           --disable-nls --disable-registry --disable-loadsave
19313           --disable-parse --disable-gst-debug
19314           work and get the core .so down to 360444 bytes after stripping
19315
19316 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19317
19318         * Makefile.am:
19319         * configure.ac:
19320           descend into tests
19321         * docs/random/thomasvs/TODO:
19322         * tests/Makefile.am:
19323         * tests/README:
19324           add a README
19325
19326 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19327
19328         * win32/GStreamer.vcproj:
19329         * win32/MANIFEST:
19330         * win32/Makefile:
19331         * win32/Makefile.inspect:
19332         * win32/Makefile.launch:
19333         * win32/Makefile.register:
19334         * win32/README.txt:
19335         * win32/gst-inspect.vcproj:
19336         * win32/gst-launch.vcproj:
19337         * win32/gst-register.vcproj:
19338         * win32/gstelements.vcproj:
19339         * win32/gstgetbits.def:
19340         * win32/gstgetbits.vcproj:
19341         * win32/gstreamer-dbg.def:
19342         * win32/gstreamer.def:
19343         * win32/libgstbase.def:
19344         * win32/libgstbase.vcproj:
19345         * win32/link_oldruntime.c:
19346         * win32/mman.c:
19347         * win32/mman.h:
19348         * win32/mman.inl:
19349         * win32/msvc71.sln:
19350           move even more stuff, win32/ is nice and clean now
19351
19352 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19353
19354         * libs/gst/control/.cvsignore:
19355         * win32/MANIFEST:
19356         * win32/config.h:
19357         * win32/dirent.c:
19358         * win32/dirent.h:
19359         * win32/gstbytestream.def:
19360         * win32/gstbytestream.vcproj:
19361         * win32/gstconfig.h:
19362         * win32/gstenumtypes.c:
19363         * win32/gstenumtypes.h:
19364         * win32/gstoptimalscheduler.vcproj:
19365         * win32/gstversion.h:
19366         * win32/gtchar.h:
19367         * win32/testsuite/bins.vcproj:
19368         * win32/testsuite/bytestream.vcproj:
19369         * win32/testsuite/caps.vcproj:
19370         * win32/testsuite/cleanup.vcproj:
19371         * win32/testsuite/clock.vcproj:
19372         * win32/testsuite/debug.vcproj:
19373         * win32/testsuite/dlopen.vcproj:
19374         * win32/testsuite/dynparams.vcproj:
19375         * win32/testsuite/elements.vcproj:
19376         * win32/testsuite/ghostpads.vcproj:
19377         * win32/testsuite/indexers.vcproj:
19378         * win32/testsuite/negotiation.vcproj:
19379         * win32/testsuite/parse.vcproj:
19380         * win32/testsuite/plugin.vcproj:
19381         * win32/testsuite/refcounting.vcproj:
19382         * win32/testsuite/schedulers.vcproj:
19383         * win32/testsuite/states.vcproj:
19384         * win32/testsuite/tags.vcproj:
19385         * win32/testsuite/threads.vcproj:
19386           remove old win32 stuff that isn't maintained and should be
19387           reorganized
19388
19389 2005-11-30  Andy Wingo  <wingo@pobox.com>
19390
19391         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19392         loading the gst.interfaces python module bork.
19393
19394         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19395         available since GLib 2.2. Fixes #318031.
19396
19397 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * Makefile.am:
19400         * check/.cvsignore:
19401         * check/Makefile.am:
19402         * check/elements/.cvsignore:
19403         * check/elements/fakesrc.c:
19404         * check/elements/fdsrc.c:
19405         * check/elements/identity.c:
19406         * check/generic/.cvsignore:
19407         * check/generic/states.c:
19408         * check/gst-libs/.cvsignore:
19409         * check/gst-libs/controller.c:
19410         * check/gst-libs/gdp.c:
19411         * check/gst/.cvsignore:
19412         * check/gst/capslist.h:
19413         * check/gst/gst.c:
19414         * check/gst/gstbin.c:
19415         * check/gst/gstbuffer.c:
19416         * check/gst/gstbus.c:
19417         * check/gst/gstcaps.c:
19418         * check/gst/gstelement.c:
19419         * check/gst/gstevent.c:
19420         * check/gst/gstghostpad.c:
19421         * check/gst/gstiterator.c:
19422         * check/gst/gstmessage.c:
19423         * check/gst/gstminiobject.c:
19424         * check/gst/gstobject.c:
19425         * check/gst/gstpad.c:
19426         * check/gst/gstpipeline.c:
19427         * check/gst/gstplugin.c:
19428         * check/gst/gstsegment.c:
19429         * check/gst/gststructure.c:
19430         * check/gst/gstsystemclock.c:
19431         * check/gst/gsttag.c:
19432         * check/gst/gstutils.c:
19433         * check/gst/gstvalue.c:
19434         * check/net/.cvsignore:
19435         * check/net/gstnetclientclock.c:
19436         * check/net/gstnettimeprovider.c:
19437         * check/pipelines/.cvsignore:
19438         * check/pipelines/cleanup.c:
19439         * check/pipelines/simple_launch_lines.c:
19440         * check/pipelines/stress.c:
19441         * check/states/.cvsignore:
19442         * check/states/sinks.c:
19443         * configure.ac:
19444         * examples/Makefile.am:
19445         * examples/appreader/.cvsignore:
19446         * examples/appreader/Makefile.am:
19447         * examples/appreader/appreader.c:
19448         * examples/controller/.cvsignore:
19449         * examples/controller/Makefile.am:
19450         * examples/controller/audio-example.c:
19451         * examples/cutter/.cvsignore:
19452         * examples/cutter/Makefile.am:
19453         * examples/cutter/cutter.c:
19454         * examples/cutter/cutter.h:
19455         * examples/events/Makefile.am:
19456         * examples/events/seek.c:
19457         * examples/helloworld/.cvsignore:
19458         * examples/helloworld/Makefile.am:
19459         * examples/helloworld/helloworld.c:
19460         * examples/helloworld2/.cvsignore:
19461         * examples/helloworld2/Makefile.am:
19462         * examples/helloworld2/helloworld2.c:
19463         * examples/launch/.cvsignore:
19464         * examples/launch/Makefile.am:
19465         * examples/launch/mp3parselaunch.c:
19466         * examples/launch/mp3play:
19467         * examples/manual/.cvsignore:
19468         * examples/manual/Makefile.am:
19469         * examples/manual/extract.pl:
19470         * examples/metadata/Makefile.am:
19471         * examples/metadata/read-metadata.c:
19472         * examples/mixer/.cvsignore:
19473         * examples/mixer/Makefile.am:
19474         * examples/mixer/mixer.c:
19475         * examples/mixer/mixer.h:
19476         * examples/pingpong/.cvsignore:
19477         * examples/pingpong/Makefile.am:
19478         * examples/pingpong/pingpong.c:
19479         * examples/plugins/.cvsignore:
19480         * examples/plugins/Makefile.am:
19481         * examples/plugins/example.c:
19482         * examples/plugins/example.h:
19483         * examples/pwg/.cvsignore:
19484         * examples/pwg/Makefile.am:
19485         * examples/pwg/extract.pl:
19486         * examples/queue/.cvsignore:
19487         * examples/queue/Makefile.am:
19488         * examples/queue/queue.c:
19489         * examples/queue2/.cvsignore:
19490         * examples/queue2/Makefile.am:
19491         * examples/queue2/queue2.c:
19492         * examples/queue3/.cvsignore:
19493         * examples/queue3/Makefile.am:
19494         * examples/queue3/queue3.c:
19495         * examples/queue4/.cvsignore:
19496         * examples/queue4/Makefile.am:
19497         * examples/queue4/queue4.c:
19498         * examples/retag/.cvsignore:
19499         * examples/retag/Makefile.am:
19500         * examples/retag/retag.c:
19501         * examples/retag/transcode.c:
19502         * examples/thread/.cvsignore:
19503         * examples/thread/Makefile.am:
19504         * examples/thread/thread.c:
19505         * examples/typefind/.cvsignore:
19506         * examples/typefind/Makefile.am:
19507         * examples/typefind/typefind.c:
19508         * examples/xml/.cvsignore:
19509         * examples/xml/Makefile.am:
19510         * examples/xml/createxml.c:
19511         * examples/xml/runxml.c:
19512         * tests/Makefile.am:
19513         * tests/check/Makefile.am:
19514         * testsuite/.cvsignore:
19515         * testsuite/Makefile.am:
19516         * testsuite/Rules:
19517         * testsuite/caps/.cvsignore:
19518         * testsuite/caps/Makefile.am:
19519         * testsuite/caps/app_fixate.c:
19520         * testsuite/caps/audioscale.c:
19521         * testsuite/caps/caps.c:
19522         * testsuite/caps/caps.h:
19523         * testsuite/caps/caps_strings:
19524         * testsuite/caps/compatibility.c:
19525         * testsuite/caps/deserialize.c:
19526         * testsuite/caps/enumcaps.c:
19527         * testsuite/caps/eratosthenes.c:
19528         * testsuite/caps/filtercaps.c:
19529         * testsuite/caps/fixed.c:
19530         * testsuite/caps/fraction-convert.c:
19531         * testsuite/caps/fraction-multiply-and-zero.c:
19532         * testsuite/caps/intersect2.c:
19533         * testsuite/caps/intersection.c:
19534         * testsuite/caps/normalisation.c:
19535         * testsuite/caps/random.c:
19536         * testsuite/caps/renegotiate.c:
19537         * testsuite/caps/sets.c:
19538         * testsuite/caps/simplify.c:
19539         * testsuite/caps/string-conversions.c:
19540         * testsuite/caps/structure.c:
19541         * testsuite/caps/subtract.c:
19542         * testsuite/caps/union.c:
19543         * testsuite/debug/.cvsignore:
19544         * testsuite/debug/Makefile.am:
19545         * testsuite/debug/category.c:
19546         * testsuite/debug/commandline.c:
19547         * testsuite/debug/global.c:
19548         * testsuite/debug/output.c:
19549         * testsuite/debug/printf_extension.c:
19550         * testsuite/dlopen/.cvsignore:
19551         * testsuite/dlopen/Makefile.am:
19552         * testsuite/dlopen/dlopen_gst.c:
19553         * testsuite/dlopen/loadgst.c:
19554         * testsuite/elements/.cvsignore:
19555         * testsuite/elements/Makefile.am:
19556         * testsuite/elements/gst-inspect-check.in:
19557         * testsuite/elements/struct_i386.h:
19558         * testsuite/elements/struct_size.c:
19559         * testsuite/indexers/.cvsignore:
19560         * testsuite/indexers/Makefile.am:
19561         * testsuite/indexers/cache1.c:
19562         * testsuite/indexers/indexdump.c:
19563         * testsuite/parse/.cvsignore:
19564         * testsuite/parse/Makefile.am:
19565         * testsuite/parse/parse1.c:
19566         * testsuite/parse/parse2.c:
19567         * testsuite/plugin/.cvsignore:
19568         * testsuite/plugin/Makefile.am:
19569         * testsuite/plugin/README:
19570         * testsuite/plugin/dynamic.c:
19571         * testsuite/plugin/linked.c:
19572         * testsuite/plugin/loading.c:
19573         * testsuite/plugin/registry.c:
19574         * testsuite/plugin/static.c:
19575         * testsuite/plugin/static2.c:
19576         * testsuite/plugin/testplugin.c:
19577         * testsuite/plugin/testplugin2.c:
19578         * testsuite/plugin/testplugin2_s.c:
19579         * testsuite/plugin/testplugin_s.c:
19580         * testsuite/refcounting/.cvsignore:
19581         * testsuite/refcounting/Makefile.am:
19582         * testsuite/refcounting/bin.c:
19583         * testsuite/refcounting/element.c:
19584         * testsuite/refcounting/element_pad.c:
19585         * testsuite/refcounting/mainloop.c:
19586         * testsuite/refcounting/mem.c:
19587         * testsuite/refcounting/mem.h:
19588         * testsuite/refcounting/object.c:
19589         * testsuite/refcounting/pad.c:
19590         * testsuite/refcounting/sched.c:
19591         * testsuite/refcounting/thread.c:
19592         * testsuite/states/.cvsignore:
19593         * testsuite/states/Makefile.am:
19594         * testsuite/states/bin.c:
19595         * testsuite/states/locked.c:
19596         * testsuite/states/parent.c:
19597         * testsuite/threads/.cvsignore:
19598         * testsuite/threads/159566.c:
19599         * testsuite/threads/159852.c:
19600         * testsuite/threads/Makefile.am:
19601         * testsuite/threads/queue.c:
19602         * testsuite/threads/signals.c:
19603         * testsuite/threads/staticrec.c:
19604         * testsuite/threads/thread.c:
19605         * testsuite/threads/threadb.c:
19606         * testsuite/threads/threadc.c:
19607         * testsuite/threads/threadd.c:
19608         * testsuite/threads/threade.c:
19609         * testsuite/threads/threadf.c:
19610         * testsuite/threads/threadg.c:
19611         * testsuite/threads/threadh.c:
19612         * testsuite/threads/threadi.c:
19613           move all of these under tests
19614
19615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * configure.ac:
19618         * tests/Makefile.am:
19619           fix distcheck
19620
19621 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19622
19623         * docs/gst/gstreamer-sections.txt:
19624         * tests/sched/.cvsignore:
19625         * tests/sched/Makefile.am:
19626         * tests/sched/cases/(fs-fs).xml:
19627         * tests/sched/cases/(fs-i-fs).xml:
19628         * tests/sched/cases/(fs-i-i-fs).xml:
19629         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19630         * tests/sched/dynamic-pipeline.c:
19631         * tests/sched/interrupt1.c:
19632         * tests/sched/interrupt2.c:
19633         * tests/sched/interrupt3.c:
19634         * tests/sched/runtestcases:
19635         * tests/sched/runxml.c:
19636         * tests/sched/sched-stress.c:
19637         * tests/sched/sort.c:
19638         * tests/sched/testcases:
19639         * tests/sched/testcases1.tc:
19640         * tests/seeking/.cvsignore:
19641         * tests/seeking/Makefile.am:
19642         * tests/seeking/seeking1.c:
19643         * tests/threadstate/.cvsignore:
19644         * tests/threadstate/Makefile.am:
19645         * tests/threadstate/test1.c:
19646         * tests/threadstate/test2.c:
19647         * tests/threadstate/threadstate1.c:
19648         * tests/threadstate/threadstate2.c:
19649         * tests/threadstate/threadstate3.c:
19650         * tests/threadstate/threadstate4.c:
19651         * tests/threadstate/threadstate5.c:
19652           remove obsolete tests
19653         * configure.ac:
19654         * tests/bench-complexity.scm:
19655         * tests/bench-mass_elements.scm:
19656         * tests/complexity.c:
19657         * tests/complexity.gnuplot:
19658         * tests/instantiate/.cvsignore:
19659         * tests/instantiate/Makefile.am:
19660         * tests/instantiate/caps.c:
19661         * tests/mass_elements.c:
19662         * tests/network-clock-utils.scm:
19663         * tests/network-clock.scm:
19664         * tests/plot-data:
19665         First pass at cleaning up tests/ dir before moving the rest
19666         Combined with CVS surgery
19667
19668 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19669
19670         * po/POTFILES.in:
19671           queue has moved, update
19672
19673 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19674
19675         * docs/gst/gstreamer-sections.txt:
19676           remove double entries from the docs
19677         * gst/gst_private.h:
19678         * gst/gstinfo.c: (_gst_debug_init):
19679           remove the THREAD debug category
19680         * gst/Makefile.am:
19681         * gst/gstqueue.c:
19682         * gst/gstqueue.h:
19683         * docs/gst/gstreamer.types:
19684         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19685         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19686           completely move queue and fix up debugging categories
19687
19688 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19689
19690         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19691           make initialization portable, using LL is not
19692
19693 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19694
19695         * win32/common/gstconfig.h:
19696           add large padding
19697
19698 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19699
19700         * win32/common/libgstreamer.def:
19701           rename symbols; sort base section
19702
19703 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19704
19705         * gst/gstclock.c: (do_linear_regression):
19706           remove crack non-portable handrolled DEBUG macro
19707
19708 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19709
19710         * docs/random/release:
19711           update notes
19712         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19713         (gst_object_flags_get_type), (register_gst_bin_flags),
19714         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19715         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19716         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19717         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19718         (gst_caps_flags_get_type), (register_gst_clock_return),
19719         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19720         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19721         (gst_clock_flags_get_type), (register_gst_state),
19722         (gst_state_get_type), (register_gst_state_change_return),
19723         (gst_state_change_return_get_type), (register_gst_state_change),
19724         (gst_state_change_get_type), (register_gst_element_flags),
19725         (gst_element_flags_get_type), (register_gst_core_error),
19726         (gst_core_error_get_type), (register_gst_library_error),
19727         (gst_library_error_get_type), (register_gst_resource_error),
19728         (gst_resource_error_get_type), (register_gst_stream_error),
19729         (gst_stream_error_get_type), (register_gst_event_type_flags),
19730         (gst_event_type_flags_get_type), (register_gst_event_type),
19731         (gst_event_type_get_type), (register_gst_seek_type),
19732         (gst_seek_type_get_type), (register_gst_seek_flags),
19733         (gst_seek_flags_get_type), (register_gst_format),
19734         (gst_format_get_type), (register_gst_index_certainty),
19735         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19736         (gst_index_entry_type_get_type),
19737         (register_gst_index_lookup_method),
19738         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19739         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19740         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19741         (gst_index_flags_get_type), (register_gst_debug_level),
19742         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19743         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19744         (gst_iterator_result_get_type), (register_gst_iterator_item),
19745         (gst_iterator_item_get_type), (register_gst_message_type),
19746         (gst_message_type_get_type), (register_gst_mini_object_flags),
19747         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19748         (gst_pad_link_return_get_type), (register_gst_flow_return),
19749         (gst_flow_return_get_type), (register_gst_activate_mode),
19750         (gst_activate_mode_get_type), (register_gst_pad_direction),
19751         (gst_pad_direction_get_type), (register_gst_pad_flags),
19752         (gst_pad_flags_get_type), (register_gst_pad_presence),
19753         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19754         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19755         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19756         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19757         (gst_plugin_flags_get_type), (register_gst_rank),
19758         (gst_rank_get_type), (register_gst_query_type),
19759         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19760         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19761         (gst_tag_flag_get_type), (register_gst_task_state),
19762         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19763         (gst_alloc_trace_flags_get_type),
19764         (register_gst_type_find_probability),
19765         (gst_type_find_probability_get_type), (register_gst_uri_type),
19766         (gst_uri_type_get_type), (register_gst_parse_error),
19767         (gst_parse_error_get_type):
19768         * win32/common/gstenumtypes.h:
19769         * win32/common/gstversion.h:
19770           update visual studio generated files
19771
19772 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19773
19774         * win32/vs6/libgstbase.dsp:
19775         * win32/vs6/libgstelements.dsp:
19776           update project files for new locations
19777
19778 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19779
19780         * Makefile.am:
19781           remove some files
19782         * README:
19783           reinstate and update
19784         * DEVEL:
19785         * REQUIREMENTS:
19786           removed
19787         * LICENSE:
19788         * docs/random/LICENSE:
19789           moved to random
19790
19791 2005-11-30  Edward Hervey  <edward@fluendo.com>
19792
19793         * gst/gsttypefind.c: (gst_type_find_register):
19794         * gst/gsttypefind.h:
19795         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19796         (gst_type_find_factory_dispose):
19797         * gst/gsttypefindfactory.h:
19798         Fix memory leak in GstTypeFindFactory.
19799
19800 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19801
19802         * gst/gst.c:
19803         * plugins/elements/Makefile.am:
19804         * plugins/elements/gstelements.c:
19805         * plugins/elements/gstqueue.c:
19806           move queue from core to the elements plugin
19807
19808 2005-11-29  Andy Wingo  <wingo@pobox.com>
19809
19810         * libs/gst/base/gstbasetransform.h: 
19811         * libs/gst/base/gstbasesrc.h: 
19812         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19813
19814         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19815         of pointers by which to pad very extensible base classes (like the
19816         ones in libs/gst/base).
19817
19818 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19819
19820         * docs/gst/gstreamer-docs.sgml:
19821         * docs/gst/gstreamer-sections.txt:
19822         * docs/libs/gstreamer-libs-docs.sgml:
19823         * docs/libs/gstreamer-libs-sections.txt:
19824           moving documentation from core to lib
19825
19826 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19827
19828         * check/Makefile.am:
19829         * configure.ac:
19830         * docs/gst/Makefile.am:
19831         * gst/Makefile.am:
19832         * gst/base/.cvsignore:
19833         * gst/base/Makefile.am:
19834         * gst/base/README:
19835         * gst/base/gstadapter.c:
19836         * gst/base/gstadapter.h:
19837         * gst/base/gstbasesink.c:
19838         * gst/base/gstbasesink.h:
19839         * gst/base/gstbasesrc.c:
19840         * gst/base/gstbasesrc.h:
19841         * gst/base/gstbasetransform.c:
19842         * gst/base/gstbasetransform.h:
19843         * gst/base/gstcollectpads.c:
19844         * gst/base/gstcollectpads.h:
19845         * gst/base/gstpushsrc.c:
19846         * gst/base/gstpushsrc.h:
19847         * gst/base/gsttypefindhelper.c:
19848         * gst/base/gsttypefindhelper.h:
19849         * gst/check/Makefile.am:
19850         * gst/check/gstcheck.c:
19851         * gst/check/gstcheck.h:
19852         * gst/net/Makefile.am:
19853         * gst/net/gstnet.h:
19854         * gst/net/gstnetclientclock.c:
19855         * gst/net/gstnetclientclock.h:
19856         * gst/net/gstnettimepacket.c:
19857         * gst/net/gstnettimepacket.h:
19858         * gst/net/gstnettimeprovider.c:
19859         * gst/net/gstnettimeprovider.h:
19860         * libs/gst/Makefile.am:
19861         * libs/gst/base/Makefile.am:
19862         * libs/gst/base/gstbasetransform.c:
19863         * libs/gst/check/Makefile.am:
19864         * plugins/elements/Makefile.am:
19865         * po/POTFILES.in:
19866           CVS surgery + support to move base, check, and net out of gst
19867           and into libs/gst
19868
19869 2005-11-29  Andy Wingo  <wingo@pobox.com>
19870
19871         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19872
19873         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19874         padding.
19875
19876         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19877
19878         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19879
19880         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19881
19882         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19883         padding; reduces object size by about 30%. We don't expect
19884         anything else to go into gstobject.
19885
19886         * gst/gstminiobject.h (struct _GstMiniObject)
19887         (struct _GstMiniObjectClass): Only one pointer of padding; the
19888         payload is only a pointer and two ints anyway. For the class there
19889         are only two methods as well.
19890         
19891         * gst/gstelement.h (struct _GstElementClass): Removed
19892         the state_changed signal callback, it is not used.
19893
19894 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19895
19896         * docs/gst/gstreamer.types:
19897           fix includes, though they are a little dinky
19898
19899 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19900
19901         * check/Makefile.am:
19902           look in the right place for elements, a lot more chance of
19903           success
19904         * gst/Makefile.am:
19905           remove indexers and elements subdirs
19906         * plugins/Makefile.am:
19907           make indexers conditional
19908
19909 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19910
19911         * Makefile.am:
19912         * configure.ac:
19913         * plugins/elements/Makefile.am:
19914         * plugins/elements/gstcapsfilter.c:
19915         * plugins/elements/gstfilesink.c:
19916         * plugins/elements/gstfilesrc.c:
19917         * plugins/elements/gstidentity.c:
19918         * plugins/indexers/Makefile.am:
19919           do CVS surgery and related build fixery to move elements
19920           and indexers in a new gstreamer/plugins directory, out of the
19921           gst/ directory
19922
19923 2005-11-29  Andy Wingo  <wingo@pobox.com>
19924
19925         * check/Makefile.am:
19926         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19927         * pkgconfig/gstreamer-net.pc.in:
19928         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19929         #322257.
19930
19931 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19932
19933         * tools/Makefile.am:
19934         * tools/gst-complete.1.in:
19935         * tools/gst-complete.c:
19936         * tools/gst-compprep.1.in:
19937         * tools/gst-compprep.c:
19938           removing -compprep and -complete
19939
19940 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19941
19942         * gst/gstevent.c: (gst_event_new_new_segment),
19943         (gst_event_parse_new_segment):
19944         * gst/gstevent.h:
19945           fix #320529 - clean up new_segment API and structure.
19946           Let's hope everyone was using the methods, and not the structure.
19947
19948 2005-11-29  Edward Hervey  <edward@fluendo.com>
19949
19950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19951         (gst_base_sink_event), (gst_base_sink_do_sync),
19952         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19953         Properly handle non GST_FORMAT_TIME segment
19954         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19955         Properly handle non GST_FORMAT_TIME segment
19956         * gst/gstsegment.c:
19957         This function is valid if the accumulator is 0 and the format
19958         is different from the requested format.
19959         
19960 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19961
19962         * docs/gst/gstreamer-sections.txt:
19963         Add gst_query_new_seeking and gst_query_parse_seeking to the
19964         docs.
19965
19966 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19967
19968         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19969           Treat a pad alloc with new caps the same as if we were not
19970           negotiated, in order to allow a changing upstream output
19971           to produce a new format of data.
19972
19973 2005-11-29  Edward Hervey  <edward@fluendo.com>
19974
19975         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19976         (gst_base_transform_event), (gst_base_transform_eventfunc):
19977         The event virtual method is now properly implemented, with a default
19978         handler
19979         Sub classes should call the parent_class event method. They should
19980         return FALSE if they had a problem handling the given event, or don't
19981         want GstBaseTransform to send that even downstream
19982         * gst/elements/gstidentity.c: (gst_identity_class_init),
19983         (gst_identity_init), (gst_identity_event),
19984         (gst_identity_transform_ip), (gst_identity_set_property),
19985         (gst_identity_get_property):
19986         * gst/elements/gstidentity.h:
19987         Added the single-segment boolean property.
19988         If set to TRUE, it will output a single segment of data, starting from
19989         0, will eat up all incoming newsegment, and modify the timestamp of the
19990         buffers accordingly
19991
19992 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19993
19994         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19995           Don't ref NULL target pad (#322751). Improve docs.
19996
19997 2005-11-29  Michael Smith  <msmith@fluendo.com>
19998
19999         * gst/gstregistryxml.c: (load_plugin):
20000           Don't crash if we failed to load a feature from a plugin. 
20001
20002 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20003
20004         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20005         (GST_START_TEST):
20006           use more check API and less GLib API
20007
20008 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20009
20010         * Makefile.am:
20011           don't run checks if we don't have check
20012         * common/check.mak:
20013           remove the registry when running make torture
20014         * docs/gst/gstreamer-sections.txt:
20015           remove second multiply
20016         * gst/gstqueue.c: (gst_queue_loop):
20017           fix a compile warning when disabling debug
20018
20019 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20020
20021         * gst/gstinfo.h:
20022         Hey! Let's print the pad name if the pointer != NULL instead
20023         of when it == NULL :-)
20024
20025 2005-11-28  Wim Taymans  <wim@fluendo.com>
20026
20027         * check/gst/gstutils.c: (GST_START_TEST):
20028         Updated check, add some scaling accuracy checking code.
20029
20030         * gst/gstutils.c: (gst_util_div128_64),
20031         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20032         (gst_util_uint64_scale_int):
20033         Fix 6 times faster division code. Optimize for common 
20034         1/1 and less common X/1 cases.
20035
20036 2005-11-28  Wim Taymans  <wim@fluendo.com>
20037
20038         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20039         More checks.
20040
20041         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20042         (do_linear_regression), (gst_clock_add_observation):
20043         Cleanups.
20044         Release lock when the clock cannot be slaved.
20045         Catch the case where the regression returned an invalid denominator.
20046
20047         * gst/gstutils.c: (gst_util_div128_64_iterate),
20048         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20049         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20050         Add protentially more performant non-iterative 128/64 divide function
20051         that unfortunatly does not work yet.
20052         Shortcut the trivial 0/X = 0 case.
20053         Remove the warnings on overflow.
20054
20055 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20056
20057         * gst/gstplugin.c: (gst_plugin_register_func):
20058           everything causing a plugin not to load should be at least a WARNING
20059
20060 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20061
20062         * docs/random/ensonic/dparams.txt:
20063           some TODOs for the next dev cycle
20064         * libs/gst/controller/gstcontroller.c:
20065         (gst_controlled_property_set_interpolation_mode),
20066         (gst_controlled_property_new):
20067         * libs/gst/controller/gstcontroller.h:
20068           use base type to assign acccessor functions
20069
20070 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20071
20072         * check/Makefile.am:
20073         Oops, that should have been top_srcdir
20074
20075 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20076
20077         * check/Makefile.am:
20078         * check/elements/fdsrc.c: (GST_START_TEST):
20079         Use a cmdline define to specify the location of a file to use for
20080         testing, to avoid breaking distcheck.
20081
20082 2005-11-28  Andy Wingo  <wingo@pobox.com>
20083
20084         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20085
20086 2005-11-28  Edward Hervey  <edward@fluendo.com>
20087
20088         * tools/gst-launch.c: (main):
20089         Clarify the output strings, makes it easier to translate.
20090         Fixes #322626
20091
20092 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20093
20094         * gst/Makefile.am:
20095           don't try and build net if we don't even have <sys/socket.h>
20096
20097 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20098
20099         * check/Makefile.am:
20100         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20101         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20102           Add tests for fdsrc seekability
20103
20104         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20105         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20106         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20107         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20108         * gst/elements/gstfdsrc.h:
20109           fdsrc should not be a 'live' source.
20110           Implement seeking on seekable fd's.
20111
20112         * gst/gstquery.c: (gst_query_new_seeking),
20113         (gst_query_parse_seeking):
20114         * gst/gstquery.h:
20115           Implement SEEKING query functions: 
20116             *_new_seeking and *_parse_seeking
20117
20118 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20119
20120         * gst/gstelement.c: (gst_element_dispose):
20121           don't loop forever
20122
20123         * gst/gstiterator.c:
20124         * gst/gststructure.c:
20125           doc fixes
20126
20127         * libs/gst/controller/gstcontroller.c:
20128         (gst_controlled_property_set_interpolation_mode):
20129         * libs/gst/controller/gstcontroller.h:
20130         * libs/gst/controller/gstinterpolation.c:
20131         (interpolate_none_get_enum_value_array):
20132           support controlling enums
20133
20134 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20135
20136         * gst/gstvalue.c:
20137           Improve documentation for gst_value_union().
20138
20139         * gst/gstvalue.h:
20140           Change return value for union, intersect and subtract functions
20141           from gint to gboolean.
20142
20143 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20144
20145         * gst/gstvalue.c: (gst_value_serialize_any_list),
20146         (gst_value_transform_any_list_string),
20147         (gst_value_deserialize_list), (gst_value_deserialize_array),
20148         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20149         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20150         (gst_value_set_fraction_range_full),
20151         (gst_value_deserialize_fraction_range),
20152         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20153         (gst_value_deserialize_boolean),
20154         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20155         (gst_value_serialize_float), (gst_value_deserialize_float),
20156         (gst_string_wrap), (gst_value_deserialize_string),
20157         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20158         (gst_value_union_int_range_int_range),
20159         (gst_value_intersect_int_range_int_range),
20160         (gst_value_intersect_double_range_double_range),
20161         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20162         (gst_value_subtract_int_range_int_range),
20163         (gst_value_subtract_double_double_range),
20164         (gst_value_subtract_double_range_double_range),
20165         (gst_value_deserialize_fraction):
20166         * gst/gstvalue.h:
20167           Use gint, gdouble and gchar in our API instead of int, double and
20168           char (and make usage in gstvalue.c more consistent).
20169
20170 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20171
20172         * check/Makefile.am:
20173         * libs/gst/controller/Makefile.am:
20174         * libs/gst/dataprotocol/Makefile.am:
20175           fix up Makefile.am and remove GST_ENABLE_NEW
20176
20177 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20178
20179         * configure.ac:
20180         * gst/Makefile.am:
20181         * gst/base/Makefile.am:
20182         * gst/check/Makefile.am:
20183         * gst/elements/Makefile.am:
20184         * gst/net/Makefile.am:
20185           update LDFLAGS use some more
20186
20187 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20188
20189         * common/m4/gst-doc.m4:
20190           Fixes #312589
20191
20192 2005-11-26  Edward Hervey  <edward@fluendo.com>
20193
20194         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20195         This shouldn't issue a g_warning since it returns NULL if it
20196         couldn't find the plugin, and all functions using this behave
20197         properly on a NULL return. Switching to a GST_WARNING.
20198
20199 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20200
20201         * gst/gstbin.c: (gst_bin_handle_message_func):
20202         Don't leak clock messages.
20203
20204 2005-11-25  Wim Taymans  <wim@fluendo.com>
20205
20206         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20207         (gst_util_uint64_scale_int):
20208         Optimisations, remove unneeded vars.
20209
20210 2005-11-25  Wim Taymans  <wim@fluendo.com>
20211
20212         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20213         Added more checks for the high precision uint64 cases.
20214
20215         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20216         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20217         Implement high precision (guint64 * guint64) / guint64.
20218
20219 2005-11-24  Wim Taymans  <wim@fluendo.com>
20220
20221         * gst/base/gstbasesrc.c: (gst_base_src_query):
20222         Fix wrong percentage query.
20223
20224         * gst/gstutils.c: (gst_util_uint64_scale),
20225         (gst_util_uint64_scale_int):
20226         Add some more common cases that can be handled 
20227         efficiently to _scale.
20228
20229 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20230
20231         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20232         (gst_mini_object_suite):
20233           don't use check calls from threads; check probably isn't
20234           threadsafe and using a lock to make it threadsafe would
20235           defeat the purpose of this check
20236         * gst/check/gstcheck.c:
20237         * gst/check/gstcheck.h:
20238           use GST_DEBUG some more
20239
20240 2005-11-24  Wim Taymans  <wim@fluendo.com>
20241
20242         * gst/gstutils.c: (gst_util_uint64_scale),
20243         (gst_util_uint64_scale_int):
20244         Chain trivial case to _scale_int.
20245
20246 2005-11-24  Wim Taymans  <wim@fluendo.com>
20247
20248         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20249         Added test for scaling.
20250
20251         * gst/gstclock.h:
20252         Small doc fix.
20253
20254         * gst/gstutils.c: (gst_util_uint64_scale_int):
20255         Implemented high precision scaling code.
20256
20257 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20258
20259         * gst/gstinfo.h:
20260           do not crash on pad==NULL
20261
20262 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20263
20264         Patch by: Stefan Kost
20265
20266         * common/gtk-doc.mak:
20267         * docs/gst/Makefile.am:
20268         * docs/libs/Makefile.am:
20269           Fix distcheck issues for the libraries docs build
20270           Closes #319599.
20271
20272 2005-11-24  Michael Smith <msmith@fluendo.com>
20273
20274         * docs/manual/basics-helloworld.xml:
20275           Fix bug #315027: memory leak in example code in docs.
20276
20277 2005-11-24  Michael Smith <msmith@fluendo.com>
20278
20279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20280           Unlock the PREROLL_LOCK in a failure case.
20281
20282 2005-11-24  Wim Taymans  <wim@fluendo.com>
20283
20284         * docs/gst/gstreamer-sections.txt:
20285         * gst/base/gstadapter.h:
20286         * gst/base/gstbasesink.h:
20287         * gst/base/gstbasesrc.h:
20288         * gst/base/gstbasetransform.h:
20289         * gst/base/gstpushsrc.h:
20290         * gst/elements/gstfakesink.h:
20291         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20292         * gst/elements/gstfakesrc.h:
20293         * gst/elements/gstfilesink.h:
20294         * gst/elements/gstfilesrc.h:
20295         * gst/gst.c:
20296         * gst/gstbin.c:
20297         * gst/gstbuffer.c: (_gst_buffer_copy):
20298         * gst/gstbus.h:
20299         * gst/gstcaps.c:
20300         * gst/gstchildproxy.c:
20301         * gst/gstclock.c:
20302         * gst/gstelement.c:
20303         * gst/gstelementfactory.c:
20304         * gst/gstelementfactory.h:
20305         * gst/gstevent.c:
20306         * gst/gstghostpad.h:
20307         * gst/gstindex.h:
20308         * gst/gstinterface.h:
20309         * gst/gstminiobject.c:
20310         * gst/gstminiobject.h:
20311         * gst/gstpad.c:
20312         * gst/gstpad.h:
20313         * gst/gstpadtemplate.h:
20314         * gst/gstpipeline.h:
20315         * gst/gstpluginfeature.h:
20316         * gst/gstquery.h:
20317         * gst/gstqueue.h:
20318         * gst/gsttaglist.c:
20319         * gst/gsttaglist.h:
20320         * gst/gsttagsetter.c:
20321         * gst/gsttagsetter.h:
20322         * gst/gsttrace.c:
20323         * gst/gsttrace.h:
20324         * gst/gsttypefind.h:
20325         * gst/gsturi.h:
20326         * gst/gstvalue.c:
20327         * gst/net/gstnetclientclock.c:
20328         * gst/net/gstnetclientclock.h:
20329         * gst/net/gstnettimepacket.c:
20330         * gst/net/gstnettimeprovider.c:
20331         * gst/net/gstnettimeprovider.h:
20332         Doc fixes.
20333
20334 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20335
20336         * configure.ac: back to HEAD
20337
20338 === release 0.9.6 ===
20339
20340 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20341
20342         * configure.ac:
20343           releasing 0.9.6, "Always On Time"
20344
20345 2005-11-23  Wim Taymans  <wim@fluendo.com>
20346
20347         * docs/gst/gstreamer-sections.txt:
20348         * gst/glib-compat.c:
20349         * gst/gsttagsetter.c:
20350         * gst/gstvalue.c:
20351         * gst/net/gstnetclientclock.c:
20352         * gst/net/gstnettimepacket.h:
20353         Doc updates.
20354
20355 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20356
20357         * docs/faq/using.xml:
20358         * docs/libs/tmpl/gstcontrol.sgml:
20359         * docs/manual/advanced-dparams.xml:
20360         * docs/manual/appendix-checklist.xml:
20361         * docs/manual/basics-elements.xml:
20362         * docs/pwg/other-source.xml:
20363         * docs/random/moving-plugins:
20364         * gst/gstpad.c:
20365         * tools/gst-launch.1.in:
20366           remove mentions of sinesrc
20367
20368 2005-11-23  Michael Smith <msmith@fluendo.com>
20369
20370         * docs/gst/gstreamer-sections.txt:
20371           Update for new API and API changes.
20372         * gst/gstobject.h:
20373           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20374         * gst/gstvalue.c:
20375           Documentation typo fix.
20376         * gst/net/gstnettimepacket.c:
20377           Documentation fixes for arguments.
20378
20379 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20380
20381         * gst/gststructure.c: (gst_structure_get_fraction),
20382         (gst_structure_parse_value),
20383         (gst_structure_fixate_field_nearest_fraction):
20384         * gst/gststructure.h:
20385         * gst/gstutils.c: (gst_util_uint64_scale_int):
20386         * gst/gstutils.h:
20387         * scripts/update-funcnames:
20388         API Changes. 
20389         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20390         Make gst_structure_fixate_field_nearest_fraction take a numerator
20391         and denominator argument instead of a GValue
20392         add gst_structure_get_fraction helper function.
20393
20394 2005-11-23  Wim Taymans  <wim@fluendo.com>
20395
20396         * docs/design/part-TODO.txt:
20397         Update TODO.
20398
20399         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20400         * gst/net/gstnetclientclock.h:
20401         Use parent fields for timeout and window_size.
20402
20403 2005-11-23  Andy Wingo  <wingo@pobox.com>
20404
20405         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20406         rate_num/rate_denom change.
20407
20408         * gst/net/gstnetclientclock.c
20409         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20410         OBJECT_LOCK. Don't call add_observation with the lock.
20411
20412         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20413         fraction.
20414         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20415         rate fraction.
20416         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20417         deal with rate as a fraction whose numerator and denominator are
20418         GstClockTime values.
20419         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20420         master; the other fields are protected by the SLAVE_LOCK.
20421         (do_linear_regression): Note that this must be called with the
20422         SLAVE_LOCK.
20423         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20424         OBJECT_LOCK. Call set_calibration instead of touching the
20425         variables directly.
20426         (gst_clock_set_property, gst_clock_get_property): Protect
20427         master/slave parameters with the SLAVE_LOCK.
20428
20429         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20430         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20431         note that all of the instance variables that add_observation and
20432         the set_master functions use are protected by that lock and not
20433         the OBJECT_LOCK.
20434         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20435
20436         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20437         the caller to take the object lock.
20438
20439 2005-11-23  Wim Taymans  <wim@fluendo.com>
20440
20441         * gst/gsterror.c: (_gst_core_errors_init):
20442         * gst/gsterror.h:
20443         Add error for clock stuff.
20444
20445         * gst/gstpipeline.c: (gst_pipeline_change_state),
20446         (gst_pipeline_set_clock):
20447         Post clock error when clock cannot be used in a pipeline.
20448
20449 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20450
20451         * docs/gst/gstreamer-sections.txt:
20452           make two symbols from gstinfo private for the docs
20453         * gst/base/gstcollectpads.h:
20454         * gst/gstutils.c:
20455           fix doc typos, update docs
20456
20457 2005-11-22  Wim Taymans  <wim@fluendo.com>
20458
20459         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20460         (gst_base_sink_wait), (gst_base_sink_do_sync),
20461         (gst_base_sink_handle_event):
20462         * gst/base/gstbasesink.h:
20463         No need to store the clock, the parent element class already
20464         has it.
20465
20466         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20467         Updates for clock_set returning a gboolean
20468
20469         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20470         (gst_clock_id_wait_async), (gst_clock_class_init),
20471         (gst_clock_init), (gst_clock_finalize),
20472         (gst_clock_get_internal_time), (gst_clock_get_time),
20473         (gst_clock_slave_callback), (gst_clock_set_master),
20474         (gst_clock_get_master), (do_linear_regression),
20475         (gst_clock_add_observation), (gst_clock_set_property),
20476         (gst_clock_get_property):
20477         * gst/gstclock.h:
20478         Implement master/slave. When setting a clock as a slave, a
20479         periodic timeout is scheduled to sample master and slave times.
20480         Then the slave clock is recalibrated to match offset and rate
20481         of the master clock.
20482         Update logging a bit.
20483         Add flag so that a clock can state that is cannot be slaved to
20484         another clock.
20485
20486         * gst/gstelement.c: (gst_element_set_clock):
20487         * gst/gstelement.h:
20488         The set clock returns a gboolean for when an element cannot
20489         deal with the selected clock in the pipeline. 
20490
20491         * gst/gstpipeline.c: (gst_pipeline_change_state),
20492         (gst_pipeline_set_clock):
20493         * gst/gstpipeline.h:
20494         Handle the case where the selected clock cannot be set on
20495         the pipeline.
20496
20497         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20498         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20499         (gst_net_client_clock_set_property),
20500         (gst_net_client_clock_get_property),
20501         (gst_net_client_clock_observe_times):
20502         * gst/net/gstnetclientclock.h:
20503         Use regression code in GstClock parent, remove duplicated
20504         functionality.
20505
20506 2005-11-22  Michael Smith <msmith@fluendo.com>
20507
20508         * gst/gstutils.c: (gst_util_clock_time_scale):
20509         * gst/gstutils.h:
20510         * docs/gst/gstreamer-sections.txt:
20511           Rename method to have extra underscore.
20512
20513 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20514
20515         * gst/elements/Makefile.am:
20516         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20517         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20518         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20519         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20520         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20521         * gst/elements/gstfakesrc.h:
20522         * gst/gstqueue.c: (queue_leaky_get_type):
20523           correctly fix GEnumValues so that nick is the short lowercase
20524           dashed tag
20525         * tools/gst-inspect.c: (print_element_properties_info):
20526           also show the nick, since it's useful to use from parse_launch
20527           syntax
20528           Fixes #322139
20529
20530 2005-11-22  Michael Smith <msmith@fluendo.com>
20531
20532         * gst/gstutils.c: (gst_util_clocktime_scale):
20533         * gst/gstutils.h:
20534         * docs/gst/gstreamer-sections.txt:
20535           Add util method for scaling a clocktime by a fraction. Useful 
20536           implementation is left as an exercise for the reader.
20537
20538 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20539
20540         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20541         If needed, allocate storage in the destination value during
20542         collection.
20543
20544 2005-11-22  Edward Hervey  <edward@fluendo.com>
20545
20546         * docs/gst/gstreamer-sections.txt:
20547         * gst/Makefile.am:
20548         * gst/gst.h:
20549         * gst/gsturitype.c:
20550         * gst/gsturitype.h:
20551         * gst/gstutils.c: (gst_util_set_object_arg):
20552         * tools/gst-compprep.c: (main):
20553         * tools/gst-inspect.c: (print_element_properties_info):
20554         Removed GstURI, closes bug #321061
20555
20556 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20557
20558         * check/gst/gststructure.c: (GST_START_TEST):
20559         * gst/gststructure.c: (gst_structure_parse_value):
20560           Oops, broke automatic string type parsing.
20561           Add a test to catch it in future.
20562
20563 2005-11-22  Andy Wingo  <wingo@pobox.com>
20564
20565         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20566         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20567         Actually rename the function implementations. Grr.
20568
20569 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20570
20571         * check/gst/capslist.h:
20572           Comment test cases
20573         * check/gst/gststructure.c: (GST_START_TEST),
20574         (gst_structure_suite):
20575           Test automatic value type detection in gst_structure_from_string.
20576         * gst/gststructure.c: (gst_structure_parse_value):
20577           Add fraction as a type we try and guess automatically in
20578           caps/structure strings.
20579
20580 2005-11-22  Andy Wingo  <wingo@pobox.com>
20581
20582         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20583
20584         * gst/gsttagsetter.h:
20585         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20586         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20587         (gst_tag_setter_add_tag_valist)
20588         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20589         _add_values, _add_valist, and _add_valist_values. Since this is an
20590         interface the function suffixes should be more explicit so
20591         language binding don't end up with element.add_valist ->
20592         gst_tag_setter_add_valist, for example. Fixes #322069.
20593
20594 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20595
20596         * check/gst/gstcaps.c: (GST_START_TEST):
20597           Extend caps string tests to check that a caps to string
20598           conversion is reversible and produces the same caps.
20599
20600         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20601           Output "fraction" as the generic type fraction range, so caps
20602           serialisation and deserialisation works.
20603         * check/gst/capslist.h:
20604         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20605           Support 'MIN' and 'MAX' for deserialising fractions.
20606
20607 2005-11-22  Andy Wingo  <wingo@pobox.com>
20608
20609         * gst/gstevent.h (gst_event_new_new_segment)
20610         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20611         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20612         Renamed from *_newsegment, *_buffersize, *_notarget.
20613
20614         * scripts/update-funcnames: New script, performs the changes
20615         listed above.
20616
20617 2005-11-22  Wim Taymans  <wim@fluendo.com>
20618
20619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20620         Make sure the GstFlowReturn is returned.
20621
20622         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20623         (gst_bus_add_signal_watch):
20624         * gst/gstbus.h:
20625         add gst_bus_add_signal_watch_full.
20626
20627         * gst/gstplugin.c: (gst_plugin_load_file):
20628         Small style cleanup.
20629
20630 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20631
20632         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20633           Block the fakesrc srcpad when we send an event, to avoid
20634           contention on the stream_lock causing random test failures.
20635
20636 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20637
20638         * check/gst/gstvalue.c: (GST_START_TEST):
20639         * gst/gstvalue.c: (gst_value_fraction_subtract):
20640           Fix subtraction.
20641
20642 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20643
20644         * gst/gst.h:
20645           include "gstchildproxy.h"
20646         * gst/gstchildproxy.h:
20647         * libs/gst/controller/gstcontroller.h:
20648           use G_GNUC_NULL_TERMINATED
20649
20650 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20651
20652         * check/gst/capslist.h:
20653         * check/gst/gstcaps.c: (GST_START_TEST):
20654         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20655         * gst/gststructure.c: (gst_structure_parse_range),
20656         (gst_structure_fixate_field_nearest_fraction):
20657         * gst/gststructure.h:
20658         * gst/gstvalue.c: (gst_value_init_fraction_range),
20659         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20660         (gst_value_collect_fraction_range),
20661         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20662         (gst_value_set_fraction_range_full),
20663         (gst_value_get_fraction_range_min),
20664         (gst_value_get_fraction_range_max),
20665         (gst_value_serialize_fraction_range),
20666         (gst_value_transform_fraction_range_string),
20667         (gst_value_compare_fraction_range),
20668         (gst_value_deserialize_fraction_range),
20669         (gst_value_intersect_fraction_fraction_range),
20670         (gst_value_intersect_fraction_range_fraction_range),
20671         (gst_value_subtract_fraction_fraction_range),
20672         (gst_value_subtract_fraction_range_fraction),
20673         (gst_value_subtract_fraction_range_fraction_range),
20674         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20675         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20676         (gst_value_transform_string_fraction), (_gst_value_initialize):
20677         * gst/gstvalue.h:
20678           Implement fraction ranges and extend GstFraction to support
20679           arithmetic subtraction, as well as deserialization from integer
20680           strings such as "100"
20681           Add a testsuite as for int and double range set operations
20682
20683 2005-11-21  Andy Wingo  <wingo@pobox.com>
20684
20685         * gst/gsttaglist.h: 
20686         * gst/gstcaps.h: 
20687         * gst/gststructure.h: Add glib-compat.h.
20688
20689 2005-11-21  Wim Taymans  <wim@fluendo.com>
20690
20691         * gst/gstbin.c: (gst_bin_change_state_func):
20692         Fix for #321595
20693
20694 2005-11-21  Wim Taymans  <wim@fluendo.com>
20695
20696         * gst/gstsegment.h:
20697         And add a nice define too.
20698
20699 2005-11-21  Wim Taymans  <wim@fluendo.com>
20700
20701         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20702         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20703         (gst_segment_set_duration), (gst_segment_set_last_stop),
20704         (gst_segment_set_seek), (gst_segment_set_newsegment),
20705         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20706         (gst_segment_clip):
20707         * gst/gstsegment.h:
20708         Make binding friendly.
20709
20710 2005-11-21  Andy Wingo  <wingo@pobox.com>
20711
20712         * gst/gsttagsetter.h: 
20713         * gst/gsttaglist.h: 
20714         * gst/gststructure.h: 
20715         * gst/gstcaps.h: 
20716         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20717         #319940.
20718
20719         * gst/gsterror.c (_gst_core_errors_init):
20720         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20721         category.
20722
20723         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20724         (noinst_HEADERS): noinst the -private.
20725
20726 2005-11-21  Michael Smith <msmith@fluendo.com>
20727
20728         * gst/gstplugin.h:
20729         * gst/gstregistry.h:
20730           Remove unimplemented declarations for which we can see no sensible
20731           use.
20732
20733 2005-11-21  Andy Wingo  <wingo@pobox.com>
20734
20735         * gst/gst.h: Include glib-compat.h.
20736
20737         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20738
20739         * gst/glib-compat.c: Include the public and the private header.
20740
20741         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20742
20743         * gst/gstvalue.c: 
20744         * gst/gstpad.c: 
20745         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20746
20747         * check/gst/gstevent.c (create_custom_events): Check that
20748         FLUSH_STOP is serialized.
20749
20750         * check/elements/identity.c (event_func): 
20751         * check/elements/fakesrc.c (event_func): No stream lock, the core
20752         takes it.
20753
20754         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20755         stream lock taking, yay.
20756
20757         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20758         ensure that core takes the stream lock.
20759
20760         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20761         lock name change.
20762
20763         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20764         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20765         it already. For the flush start we do take it though so we get the
20766         right preroll state change messages.
20767
20768         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20769         the stream lock here, the core does it for us.
20770
20771         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20772         GST_STREAM_GET_LOCK.
20773         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20774         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20775         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20776         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20777         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20778         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20779
20780         * gst/gstpad.c: Update for stream lock name change.
20781
20782         * gst/base/gstbasesink.c: Update for preroll lock name change.
20783
20784 2005-11-21  Wim Taymans  <wim@fluendo.com>
20785
20786         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20787         (gst_clock_get_master):
20788         * gst/gstclock.h:
20789         * gst/gstsystemclock.c: (gst_system_clock_init):
20790         Convert Clock flags to object flags.
20791         Added methods to manage master/slave clocks.
20792
20793 2005-11-21  Wim Taymans  <wim@fluendo.com>
20794
20795         * check/gst/gstsegment.c: (GST_START_TEST):
20796         * docs/design/part-TODO.txt:
20797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20798         (gst_base_sink_event), (gst_base_sink_do_sync),
20799         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20800         (gst_base_sink_query), (gst_base_sink_change_state):
20801         * gst/base/gstbasesink.h:
20802         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20803         (gst_base_src_default_newsegment),
20804         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20805         (gst_base_src_get_range), (gst_base_src_loop),
20806         (gst_base_src_change_state):
20807         * gst/base/gstbasesrc.h:
20808         * gst/base/gstbasetransform.c:
20809         (gst_base_transform_prepare_output_buf),
20810         (gst_base_transform_event), (gst_base_transform_change_state):
20811         * gst/base/gstbasetransform.h:
20812         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20813         (gst_collect_pads_event):
20814         * gst/base/gstcollectpads.h:
20815         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20816         (gst_fake_src_create):
20817         * gst/elements/gstfakesrc.h:
20818         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20819         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20820         (gst_segment_set_last_stop), (gst_segment_set_seek),
20821         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20822         (gst_segment_to_running_time), (gst_segment_clip):
20823         * gst/gstsegment.h:
20824         More segment updates, replace code in plugins with segment
20825         helper functions.
20826
20827 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20828
20829         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20830         Don't ignore sscanf results
20831
20832 2005-11-21  Andy Wingo  <wingo@pobox.com>
20833
20834         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20835
20836         * *.h:
20837         * *.c: Ran scripts/update-macros. Oh yes.
20838
20839         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20840         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20841         GST_GET_LOCK, etc.
20842
20843         * scripts/update-macros: New script. Run it on your files to
20844         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20845         well.
20846
20847 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20848
20849         * docs/gst/Makefile.am:
20850         * docs/gst/gstreamer-docs.sgml:
20851         * docs/gst/gstreamer-sections.txt:
20852         * docs/gst/gstreamer.types:
20853         * gst/gstinfo.h:
20854           more docs fixes, add new api to the docs
20855
20856 2005-11-21  Andy Wingo  <wingo@pobox.com>
20857
20858         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20859         state_broadcast call.
20860
20861         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20862
20863 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20864
20865         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20866         function calls for arrays.
20867
20868 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20869
20870         * docs/random/ensonic/media-device-daemon.txt:
20871           wild idea, can this be done?
20872         * docs/gst/gstreamer-sections.txt:
20873         * gst/gsterror.h:
20874         * gst/gstfilter.c:
20875         * gst/gstfilter.h:
20876         * gst/gstplugin.h:
20877         * gst/gstpluginfeature.c:
20878         * gst/gsttrace.c:
20879         * gst/gstvalue.c:
20880         * gst/gstvalue.h:
20881           doc fixes and additions
20882
20883 2005-11-21  Andy Wingo  <wingo@pobox.com>
20884
20885         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20886         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20887         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20888         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20889         private to the basesrc implementation.
20890
20891         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20892         behalf of event function if necessary. It should no longer be
20893         necessary to take the stream lock in pad's event functions. Fixes
20894         #320299.
20895
20896 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20897         * docs/gst/gstreamer-sections.txt:
20898         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20899         (gst_structure_fixate_field_nearest_double),
20900         (gst_structure_fixate_field_boolean):
20901         * gst/gststructure.h:
20902         * win32/common/libgstreamer.def:
20903         * win32/gstreamer.def:
20904
20905         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20906         (#322027)
20907
20908 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20909
20910         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20911         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20912         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20913         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20914         (gst_fdsrc_uri_handler_init):
20915         * gst/elements/gstfdsrc.h:
20916           Port fd:// URI handler from 0.8 to fdsrc
20917
20918 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20919
20920         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20921         (gst_value_serialize_fourcc):
20922         * gst/gstvalue.h:
20923           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20924           consistent with our other format defines (#320324).
20925
20926 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20927
20928         * gst/gstvalue.c: (gst_value_is_fixed):
20929           Revert previous commit. Value lists are by definition
20930           not fixed, as they are a list of possible values.
20931
20932 2005-11-21  Andy Wingo  <wingo@pobox.com>
20933
20934         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20935         during the stable series if we need it. Fixes #319178.
20936
20937         * gst/gstevent.c (gst_event_new_filler): Removed.
20938
20939         * check/gst/gstevent.c: Update comment about filler events.
20940
20941 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20942
20943         * gst/gstvalue.c: (gst_value_is_fixed):
20944           Should handle both value arrays and value lists.
20945
20946 2005-11-21  Andy Wingo  <wingo@pobox.com>
20947
20948         patch by: Alessandro Dessina <alessandro nnva org>
20949
20950         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20951         functions to access arrays. Fixes #321962.
20952
20953 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20954
20955         * docs/gst/gstreamer.types:
20956           gst_collectpads_get_type => gst_collect_pads_get_type.
20957           
20958         * gst/base/gstbasetransform.c:
20959           Remove unused SIGNAL_HANDOFF enum.
20960
20961 2005-11-21  Andy Wingo  <wingo@pobox.com>
20962
20963         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20964         the event type (upstream, downstream, serialized). Renamed
20965         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20966         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20967         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20968
20969         * gst/gstevent.c: Update for new CUSTOM event names.
20970
20971         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20972
20973         * gst/gstevent.h:
20974         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20975         bug #319392.
20976
20977 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20978
20979         * docs/gst/gstreamer-sections.txt:
20980         * win32/common/libgstbase.def:
20981         * win32/libgstbase.def:
20982         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20983         (gst_collect_pads_class_init), (gst_collect_pads_init),
20984         (gst_collect_pads_finalize), (gst_collect_pads_new),
20985         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20986         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20987         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20988         (gst_collect_pads_start), (gst_collect_pads_stop),
20989         (gst_collect_pads_peek), (gst_collect_pads_pop),
20990         (gst_collect_pads_available), (gst_collect_pads_read),
20991         (gst_collect_pads_flush), (gst_collect_pads_event),
20992         (gst_collect_pads_chain):
20993         * gst/base/gstcollectpads.h:
20994           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20995           unimplemented functions as unimplemented. Add padding to
20996           GstCollectData. (#320766, #320423)
20997
20998 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20999
21000         * gst/gstmessage.c:
21001           Improve docs for DURATION message (usage of duration parameter)
21002           (#320113)
21003
21004 2005-11-20  Wim Taymans  <wim@fluendo.com>
21005
21006         * check/Makefile.am:
21007         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21008         (main):
21009         * gst/Makefile.am:
21010         * gst/gst.h:
21011         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21012         (gst_segment_set_seek), (gst_segment_set_newsegment),
21013         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21014         (gst_segment_clip):
21015         * gst/gstsegment.h:
21016         Added segment helper structure and methods. Not fully implemented
21017         yet.
21018         Added segment check.
21019
21020 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21021
21022         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21023           Add a deserialisation test for fractions
21024         * examples/metadata/read-metadata.c: (message_loop),
21025         (make_pipeline), (main):
21026           Fix up metadata reading sample.
21027         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21028           Debug format fix
21029         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21030           Don't try and fixate empty caps
21031         * gst/gst_private.h:
21032           Wrap in G_BEGIN_DECLS/G_END_DECLS
21033         * gst/gstvalue.c: (gst_value_collect_fraction),
21034         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21035         (gst_value_transform_string_fraction),
21036         (gst_value_compare_fraction):
21037           Add some extra guards to ensure that we don't end up 
21038           with an invalid denominator of 0 in a gstfraction and
21039           that fractions always get reduced.
21040
21041 2005-11-20  Wim Taymans  <wim@fluendo.com>
21042
21043         * docs/gst/gstreamer-sections.txt:
21044         * gst/gstbuffer.h:
21045         * gst/gstelement.c:
21046         * gst/gstformat.c:
21047         * gst/gstformat.h:
21048         * gst/gstindex.h:
21049         * gst/gstquery.c:
21050         * gst/gstquery.h:
21051         * gst/gstvalue.c:
21052         Doc fixes.
21053
21054 2005-11-20  Wim Taymans  <wim@fluendo.com>
21055
21056         * docs/design/part-TODO.txt:
21057         * gst/gstcaps.h:
21058         Make a proper enum of the flag.
21059
21060 2005-11-19  Wim Taymans  <wim@fluendo.com>
21061
21062         * docs/design/part-TODO.txt:
21063         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21064         (gst_format_to_quark), (gst_format_register):
21065         * gst/gstformat.h:
21066         * gst/gstquery.c: (_gst_query_initialize),
21067         (gst_query_type_get_name), (gst_query_type_to_quark),
21068         (gst_query_type_register):
21069         * gst/gstquery.h:
21070         Add type to quark and type to string conversions.
21071
21072 2005-11-19  Andy Wingo  <wingo@pobox.com>
21073
21074         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21075         #320097.
21076
21077 2005-11-19  Wim Taymans  <wim@fluendo.com>
21078
21079         * docs/design/part-TODO.txt:
21080         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21081         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21082         (gst_bin_handle_message_func):
21083         * gst/gstbin.h:
21084         Make message handling overridable.
21085
21086 2005-11-19  Andy Wingo  <wingo@pobox.com>
21087
21088         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21089
21090         * gst/gstclock.h:
21091         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21092         be a GstClockTime.
21093         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21094         is a GstClockTime. Fixes #321710.
21095
21096         * gst/gstclock.h (GstClock): Remove offset property. Add
21097         internal_calibration and external_calibration. Fix padding. Pad
21098         also by GstClockTime so we don't run into problems.
21099
21100         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21101         (gst_clock_get_rate_offset): Remove.
21102         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21103
21104         * gst/gstutils.h:
21105         * gst/gstutils.c (g_static_rec_cond_wait)
21106         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21107
21108         * gst/gstbin.c: Remove terrible continue_state prototype.
21109
21110         * gst/gstelement.h (gst_element_continue_state): Make public.
21111
21112         * gst/gstelement.h:
21113         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21114         by continue_state. Fixes #319389.
21115
21116         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21117         Really fixes #168438. However I don't see anywhere where the
21118         filter function is called... stupid GStreamer...
21119         
21120         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21121         don't have a dispose function, so it won't get called when the
21122         object is unreffed, but oh well!
21123
21124         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21125         allows a destroy function to be set so user_data can be freed.
21126         Fixes #168438.
21127         (gst_index_set_filter): Call gst_index_set_filter_full.
21128
21129         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21130
21131         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21132         string should produce an error, given the lack of a way to
21133         represent NULL strings. Fixes #165650.
21134         
21135         * gst/gstvalue.h: 
21136         * gst/gstvalue.c (gst_value_array_append_value) 
21137         (gst_value_array_prepend_value, gst_value_array_get_size) 
21138         (gst_value_array_get_value): New API, copied from
21139         gst_value_list_*, only operates on arrays.
21140         (gst_value_list_append_value, gst_value_list_prepend_value) 
21141         (gst_value_list_concat, gst_value_list_get_size) 
21142         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21143
21144         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21145         init_list, because it works on both.
21146         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21147         (gst_value_copy_list_or_array): Renamed from copy_list.
21148         (gst_value_free_list_or_array): Renamed from free_list.
21149         (gst_value_collect_list_or_array): Renamed from collect_list.
21150         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21151         (gst_value_list_or_array_peek_pointer): Renamed from
21152         list_peek_pointer.
21153         (_gst_value_array_value_table, _gst_value_list_value_table):
21154         Update value table functions.
21155         (gst_value_compare_list_or_array): Renamed from compare_list.
21156
21157         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21158         some constness.
21159
21160         * gst/gsttaglist.c:
21161         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21162         GstTagList*. Fixes #143472.
21163
21164         * gst/gststructure.h: Clarify what the foreach/map functions can
21165         or can't do to their arguments.
21166
21167 2005-11-18  Wim Taymans  <wim@fluendo.com>
21168
21169         * gst/gstclock.c: (gst_clock_set_calibration),
21170         (gst_clock_get_calibration):
21171         Doc and API fixes.
21172         Calibration can be set with internal time equal to current
21173         internal time too.
21174
21175 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21176
21177         * gst/gsterror.c:
21178         * gst/gsterror.h:
21179           document
21180
21181 2005-11-18  Andy Wingo  <wingo@pobox.com>
21182
21183         * configure.ac: 
21184         * pkgconfig/gstreamer-net.pc.in:
21185         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21186         * pkgconfig/Makefile.am: Add net pkgconfig files.
21187
21188 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21189
21190         * gst/gstcaps.c:
21191         * gst/gstghostpad.c:
21192         * gst/gsttrace.c:
21193         * gst/gstvalue.c:
21194         * gst/gstvalue.h:
21195           docs fixes
21196
21197 2005-11-18  Andy Wingo  <wingo@pobox.com>
21198
21199         * gst/net/gstnetclientclock.c: Turn off debugging.
21200
21201         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21202         times connverge somewhat. Can't make a real test.
21203
21204         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21205         integer arithmetic. Return the minimum of the domain, which can be
21206         set as "internal" for gst_clock_set_calibration.
21207         (gst_net_client_clock_observe_times): Call _set_calibration.
21208         (gst_net_client_clock_new): Call _set_calibration instead of
21209         rate_offset.
21210
21211         * check/net/gstnetclientclock.c (test_functioning): Use the right
21212         adjustment api.
21213
21214         * gst/gstclock.h:
21215         * gst/gstclock.c (gst_clock_get_calibration) 
21216         (gst_clock_set_calibration): New functions, obsolete the ones I
21217         added yesterday. Doh. Precision issues mean we have to extrapolate
21218         from a point in the more recent past than 1970.
21219         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21220         obsolete.
21221         (gst_clock_adjust_unlocked): Use the right calibration data.
21222
21223 2005-11-18  Edward Hervey  <edward@fluendo.com>
21224
21225         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21226         Also reset the ->current_* values in READY->PAUSED
21227
21228 2005-11-18  Andy Wingo  <wingo@pobox.com>
21229
21230         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21231         Whoops, check the right fd. Also add some debugging.
21232         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21233         (do_linear_regression): Add a crapload of debugging. Subtract off
21234         the minimum values from the input series to discard unneeded bits.
21235         Use only int arithmetic. There is still double arithmetic when
21236         calculating the intercept that needs fixing. Return boolean to
21237         indicate success; FALSE would mean the domain or range is too
21238         great. Still needs fixes.
21239
21240 2005-11-18  Wim Taymans  <wim@fluendo.com>
21241
21242         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21243         For the current position in stream time, we need to subtract
21244         accumulated time.
21245         
21246         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21247         Release lock before calling the callback function of async
21248         entries.
21249
21250 2005-11-18  Andy Wingo  <wingo@pobox.com>
21251
21252         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21253         Port goes all the way to MAXUINT16.
21254
21255         * gst/net/gstnettimeprovider.c: Make the port range the same as
21256         for the kernel: 0 assigns, otherwise ports are less than
21257         MAXUINT16.
21258
21259         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21260         port change.
21261
21262         * check/net/gstnetclientclock.c (test_functioning): Add the start
21263         of another test. 
21264
21265 2005-11-18  Wim Taymans  <wim@fluendo.com>
21266
21267         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21268         (gst_bin_remove_func), (bin_bus_handler):
21269         * gst/gstbin.h:
21270         Removing a clock provider from a bin, triggers a clock lost message
21271         so that a new clock will be selected.
21272         Adding a clock to a bin triggers a clock provider message.
21273         Make sure we reselect a clock when we received a clock lost message.
21274         Keep a reference to the element that provided the clock.
21275
21276 2005-11-18  Andy Wingo  <wingo@pobox.com>
21277
21278         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21279         the clock initially so it produces values around the base time.
21280         (gst_net_client_clock_class_init): Typo fix.
21281         (gst_net_client_clock_thread): Add note on when the socket gets
21282         closed.
21283
21284 2005-11-17  Wim Taymans  <wim@fluendo.com>
21285
21286         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21287         Free remote and local time arrays.
21288
21289 2005-11-17  Wim Taymans  <wim@fluendo.com>
21290
21291         * gst/net/gstnetclientclock.c: (do_linear_regression),
21292         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21293         Fix compilation, uninitialized vars and a forgotten continue.
21294
21295 2005-11-17  Andy Wingo  <wingo@pobox.com>
21296
21297         * check/Makefile.am (check_PROGRAMS): 
21298         * check/net/gstnetclientclock.c: Add a most minimal test for the
21299         net client clock. More to come later.
21300
21301         * gst/net/gstnet.h: 
21302         * gst/net/Makefile.am: Add netclientclock.
21303
21304         * gst/net/gstnetclientclock.h:
21305         * gst/net/gstnetclientclock.c: New files, implement an untested
21306         GstClock that takes its time from a network time provider.
21307         Implements the algorithm in network-clock.scm.
21308
21309         * tests/network-clock.scm (*window-size*): Rename from
21310         *queue-length*.
21311         * tests/network-clock.scm (network-time): 
21312         * tests/network-clock-utils.scm (q-push): Update callers.
21313
21314 2005-11-17  Wim Taymans  <wim@fluendo.com>
21315
21316         * gst/gstbin.c: (gst_bin_provide_clock_func),
21317         (gst_bin_sort_iterator_new):
21318         And unref the child too..
21319
21320 2005-11-17  Wim Taymans  <wim@fluendo.com>
21321
21322         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21323         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21324         Refactor the sort iterator so it can be used while holding the
21325         LOCK too.
21326         Make clock selection select a clock closest to the source.
21327
21328 2005-11-17  Michael Smith <msmith@fluendo.com>
21329
21330         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21331         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21332         * gst/gstclock.h:
21333           Anonymous structs are a gcc (and some other compilers) extension, so
21334           don't use them. Since this is only for ABI-compatibility, and our
21335           API/ABI freeze is over in a few days, this whole thing will only
21336           last a few days, so don't bother trying to think up a meaningful
21337           name for the struct.
21338
21339 2005-11-17  Andy Wingo  <wingo@pobox.com>
21340
21341         * gst/gstclock.h (GstClock): Add rate and offset properties,
21342         preserving ABI stability. Add rate/offset accessors. Will file bug
21343         for the freeze break.
21344
21345         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21346         and offset, trying to keep precision and avoiding
21347         underflow/overflow.
21348         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21349         functions. Make gst_clock_set_time_adjust obsolete.
21350         (gst_clock_set_time_adjust): Note that this function is obsolete.
21351         Will file bug soon.
21352
21353         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21354         greppable by using GST_PADDING-1+1.
21355
21356 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21357
21358         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21359
21360         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21361           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21362
21363         * gst/gstpadtemplate.h:
21364         * gst/gstpluginfeature.h:
21365           Don't use c++ style comments in headers (#321638).
21366
21367 2005-11-16  Andy Wingo  <wingo@pobox.com>
21368
21369         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21370         buffer.
21371
21372         * check/net/gstnettimeprovider.c: Check to see that the time
21373         provider actually provides times. Works, yo!
21374
21375 2005-11-16  Wim Taymans  <wim@fluendo.com>
21376
21377         * check/Makefile.am:
21378         Enable more tests.
21379
21380         * check/elements/fakesrc.c: (GST_START_TEST):
21381         Set element to NULL before disposing it.
21382
21383 2005-11-16  Andy Wingo  <wingo@pobox.com>
21384
21385         * gst/net/Makefile.am:
21386         * gst/net/gstnet.h:
21387         * gst/net/gstnettimeprovider.c: 
21388         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21389         provider, include it from gstnet.h, and add it to the build.
21390
21391         * gst/net/gstnettimepacket.h: 
21392         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21393         sending and receiving.
21394
21395 2005-11-16  Wim Taymans  <wim@fluendo.com>
21396
21397         * check/Makefile.am:
21398         Enable valgrind check.
21399
21400         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21401         (gst_fake_src_alloc_buffer):
21402         Fix memleak.
21403
21404 2005-11-16  Wim Taymans  <wim@fluendo.com>
21405
21406         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21407         Call parent finalize too.
21408
21409 2005-11-16  Wim Taymans  <wim@fluendo.com>
21410
21411         * check/Makefile.am:
21412         Enable valgrind check that should work fine now.
21413
21414         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21415         * gst/gstqueue.c: (gst_queue_init):
21416         Fix memleaks in pad allocation.
21417
21418 2005-11-16  Andy Wingo  <wingo@pobox.com>
21419
21420         * gst/net/Makefile.am:
21421         * gst/net/gstnet.h: New part of core to hold network elements and
21422         objects. Put in core because it exposes API that applications want
21423         to use. The library is named libgstnet-tempname right now because
21424         of the existing libgstnet in gst-plugins-base. Solution is
21425         probably to rename the one in plugins-base; will file a bug for
21426         the freeze break.
21427
21428         * gst/net/gstnettimeprovider.c: 
21429         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21430         get_time call over the network.
21431
21432         * configure.ac: 
21433         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21434
21435         * check/Makefile.am:
21436         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21437         get additions shortly.
21438
21439 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21440
21441         * gst/gstpad.c: (gst_pad_new_from_static_template):
21442         * gst/gstpad.h:
21443           add gst_pad_new_from_static_template functions
21444         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21445         (gst_check_setup_sink_pad):
21446         * gst/elements/gsttee.c: (gst_tee_init):
21447           and use them
21448
21449 2005-11-16  Wim Taymans  <wim@fluendo.com>
21450
21451         * gst/gstpad.c: (gst_pad_pause_task):
21452         Removed warning, it's not really an error either.
21453
21454 2005-11-16  Wim Taymans  <wim@fluendo.com>
21455
21456         * gst/base/gstbasetransform.c:
21457         (gst_base_transform_prepare_output_buf),
21458         (gst_base_transform_event):
21459         Check if the caps are NULL, this can happen if the element
21460         is shutting down and the pad caps are set to NULL.
21461
21462 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21463
21464         * gst/elements/gsttee.c: (gst_tee_init):
21465           fix pad template leak in tee
21466
21467 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21468
21469         * gst/glib-compat.c: (g_value_dup_gst_object):
21470         * gst/glib-compat.h:
21471         * gst/gstpad.c: (gst_pad_set_property):
21472           use gst_object_ref when setting the pad template; this will
21473           trigger the pad template leaks on GLib 2.6 and the slaves
21474
21475 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21476
21477         * gst/glib-compat.c: (gst_flags_get_first_value):
21478         * gst/glib-compat.h:
21479         * gst/gstregistryxml.c:
21480           remove functions copied from GLib 2.6
21481
21482 2005-11-16  Michael Smith <msmith@fluendo.com>
21483
21484         * gst/Makefile.am:
21485           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21486           do, but only breaks with newer valgrind versions. We're not a
21487           valgrind tool, we have no link-time dependencies on libcoregrind.
21488
21489 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21490
21491         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21492           some debug changes
21493         * gst/gstmessage.h:
21494           typo fixes
21495
21496 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21497
21498         * gst/base/gstbasesrc.c: (gst_base_src_init):
21499         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21500         * gst/gstqueue.c: (gst_queue_init):
21501         * gst/gstregistryxml.c: (load_feature):
21502           Revert all these unrefs, they don't even pass make check !
21503
21504 2005-11-15  Johan Dahlin  <johan@gnome.org>
21505
21506         * gst/base/gstbasesrc.c: (gst_base_src_init):
21507         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21508         * gst/gstqueue.c: (gst_queue_init): 
21509         Free pad templates, fixes a couple of leaks.
21510
21511 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21512
21513         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21514
21515         * gst/gstpad.c: (gst_pad_get_property):
21516           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21517           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21518           (#321452)
21519
21520 2005-11-15  Wim Taymans  <wim@fluendo.com>
21521
21522         * gst/gstevent.c:
21523         Small doc update.
21524
21525 2005-11-15  Andy Wingo  <wingo@pobox.com>
21526
21527         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21528
21529         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21530         using GST_CLOCK_TIME_NONE to disable base time management.
21531         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21532         time if it was NONE before.
21533         (gst_pipeline_change_state): Only munge the base time if
21534         stream_time != GST_CLOCK_TIME_NONE.
21535
21536         * check/gst/gstpipeline.c (test_base_time): Punt around the
21537         problem of the probe not being called, because that's not the
21538         issue I'm looking at. Add a check that setting stream_time to NONE
21539         disables base time management.
21540         
21541 2005-11-15  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21544         segment_stop == -1 at startup.
21545
21546         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21547         (gst_base_transform_change_state):
21548         Init segment values at start.
21549
21550 2005-11-15  Wim Taymans  <wim@fluendo.com>
21551
21552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21553         0 segment values are 0 in any format.
21554
21555         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21556         * gst/base/gstbasetransform.h:
21557         Parse newsegment correctly in basetransform
21558
21559         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21560         Sync to clock using updated segment values.
21561
21562 2005-11-15  Andy Wingo  <wingo@pobox.com>
21563
21564         * check/gst/gstpipeline.c (test_base_time): Add check that the
21565         base time and stream time are reset correctly.
21566
21567 2005-11-15  Wim Taymans  <wim@fluendo.com>
21568
21569         * docs/design/part-TODO.txt:
21570         Some more TODO items.
21571
21572 2005-11-15  Andy Wingo  <wingo@pobox.com>
21573
21574         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21575         error if the user selected "no clock" as the clocking method.
21576
21577         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21578         timestamps with live capture.
21579
21580         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21581         is 0 but we are a live source, timestamp the buffers using the
21582         element's clock.
21583
21584 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21585
21586         * docs/gst/gstreamer-sections.txt:
21587         * gst/gsterror.c:
21588         * gst/gstghostpad.c:
21589         * gst/gstobject.h:
21590         * gst/gstxml.c:
21591           more section docs
21592
21593 2005-11-14  Wim Taymans  <wim@fluendo.com>
21594
21595         * common/gst.supp:
21596           add suppressions from Wim's Debian machine
21597
21598 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21599
21600         * common/gst.supp:
21601           add suppressions from Andy's AMD64 Ubuntu machine
21602
21603 2005-11-14  Andy Wingo  <wingo@pobox.com>
21604
21605         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21606         STATE_LOCK not necessary. Fixes #311489.
21607
21608         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21609         #305291.
21610
21611         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21612         this function is not implemented.
21613
21614 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21615
21616         * gst/base/gstbasetransform.c:
21617         (gst_base_transform_prepare_output_buf):
21618         Ref the source pad caps while we need them.
21619         Fixes (#321386)
21620
21621 2005-11-11  Wim Taymans  <wim@fluendo.com>
21622
21623         * docs/gst/gstreamer-sections.txt:
21624         Added some docs for GstCollectData.
21625
21626         * gst/base/gstadapter.c:
21627         Some small code example fix.
21628
21629         * gst/base/gstcollectpads.c:
21630         * gst/base/gstcollectpads.h:
21631         Document some more.
21632
21633 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21634
21635         * configure.ac: back to HEAD
21636
21637 === release 0.9.5 ===
21638
21639 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21640
21641         * configure.ac:
21642           releasing 0.9.5, "Bike Lunch Day"
21643
21644 2005-11-11  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/gstbuffer.c: (_gst_buffer_copy):
21647         Copy more flags.
21648
21649         * gst/gstcaps.c: (gst_caps_is_equal):
21650         Fix some docs.
21651         Make _is_equal fast in the trivial cases.
21652
21653         * gst/gstminiobject.c:
21654         * gst/gstminiobject.h:
21655         More docs. Spifify .h file.
21656
21657         * gst/gstutils.c:
21658         Small doc update.
21659
21660 2005-11-11  Wim Taymans  <wim@fluendo.com>
21661
21662         * gst/base/gstbasetransform.c:
21663         (gst_base_transform_prepare_output_buf),
21664         (gst_base_transform_handle_buffer):
21665         Small cleanups.
21666         If we're processing a buffer and need to allocate an output
21667         buffer, we cannot accept a format change. If we did get a 
21668         format change, we have to alloc a buffer ourselves of the 
21669         right size.
21670
21671 2005-11-11  Wim Taymans  <wim@fluendo.com>
21672
21673         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21674         While checking the flag for reentrancy in the gstcaps function
21675         is nice to detect recursive invocations, it also makes it 
21676         impossible to call getcaps from multiple threads, which must be
21677         possible. So, checking for recursive calls has to go.
21678
21679 2005-11-11  Michael Smith <msmith@fluendo.com>
21680
21681         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21682           Don't sync on buffers that fall partially outside our current
21683           segment. Prevents an assertion failure/abort playing some files.
21684
21685 2005-11-10  Andy Wingo  <wingo@pobox.com>
21686
21687         * check/gst/gstbin.c (test_message_state_changed_children): Style
21688         fix..
21689
21690         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21691         gst_bus_poll with the signal watch. Ensures that poll and a signal
21692         watch see the same messages.
21693
21694         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21695         a poll and a watch at the same time get the same messages.
21696
21697 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21698
21699         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21700         * gst/gstcaps.c: (gst_caps_intersect):
21701           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21702           and it's not needed.
21703
21704 2005-11-10  Wim Taymans  <wim@fluendo.com>
21705
21706         * docs/design/part-TODO.txt:
21707         Updated todo.
21708
21709 2005-11-10  Wim Taymans  <wim@fluendo.com>
21710
21711         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21712         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21713         (gst_base_src_do_sync), (gst_base_src_get_range):
21714         Implement clock sync in base class.
21715
21716 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21717
21718         patch by: Tim-Philipp Müller <tim at centricular dot net>
21719
21720         * gst/gststructure.c: (gst_structure_parse_field),
21721         (gst_structure_from_string):
21722           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21723           so that gst_parse_launch() can deal with spaces in filtered link
21724           caps (fixes #164479)
21725         * check/gst/capslist.h:
21726         * check/gst/gststructure.c: (GST_START_TEST):
21727           add unit tests for this change
21728
21729 2005-11-10  Wim Taymans  <wim@fluendo.com>
21730
21731         * docs/gst/gstreamer-sections.txt:
21732         * gst/gstelement.c:
21733         * gst/gstelement.h:
21734         Fix docs, move some STATE macros to private.
21735
21736 2005-11-10  Wim Taymans  <wim@fluendo.com>
21737
21738         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21739         Added check for bug #317341
21740
21741         * gst/gstbuffer.c:
21742         * gst/gstbuffer.h:
21743         Some more spiffifying.
21744
21745         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21746         Call peer linkfunction if we are a source pad. Totally fixes
21747         #317341
21748
21749         * gst/gstpad.c:
21750         Update docs, source pads should call the peer linkfunction
21751         so they can atomically perform the pad link.
21752
21753 2005-11-09  Wim Taymans  <wim@fluendo.com>
21754
21755         * gst/gstbuffer.c:
21756         * gst/gstbuffer.h:
21757         Uber-spiffy-spiffify some more.
21758
21759 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21760
21761         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21762         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21763         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21764         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21765         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21766         * gst/gstpad.c: (gst_pad_init):
21767           Use GST_DEBUG_FUNCPTR() more extensively.
21768
21769 2005-11-09  Wim Taymans  <wim@fluendo.com>
21770
21771         * gst/gstobject.c: (gst_object_class_init):
21772         * gst/gstobject.h:
21773         Documentation fixes.
21774
21775 2005-11-09  Edward Hervey  <edward@fluendo.com>
21776
21777         * gst/gsttypefindfactory.c:
21778         Fix docs.
21779         
21780 2005-11-09  Edward Hervey  <edward@fluendo.com>
21781
21782         * gst/base/gsttypefindhelper.c:
21783         * gst/gsttypefind.c:
21784         * gst/gsttypefind.h:
21785         Fix docs.
21786
21787 2005-11-09  Wim Taymans  <wim@fluendo.com>
21788
21789         * gst/gstiterator.c:
21790         Fix revision data.
21791
21792         * gst/gsttask.c:
21793         * gst/gsttask.h:
21794         Fix docs.
21795
21796 2005-11-09  Wim Taymans  <wim@fluendo.com>
21797
21798         * gst/gstevent.h:
21799         * gst/gsturi.h:
21800         Fix docs.
21801
21802 2005-11-09  Wim Taymans  <wim@fluendo.com>
21803
21804         * docs/gst/gstreamer-sections.txt:
21805         Moved the message async delivery private lock and cond
21806         to the private section.
21807
21808         * gst/gstmessage.c:
21809         * gst/gstmessage.h:
21810         Fixed docs.
21811
21812 2005-11-09  Edward Hervey  <edward@fluendo.com>
21813
21814         * docs/gst/gstreamer-sections.txt:
21815         * gst/gsturi.c:
21816         * gst/gsturi.h:
21817         Document GstURIHandler
21818
21819 2005-11-09  Wim Taymans  <wim@fluendo.com>
21820
21821         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21822         (gst_iterator_find_custom):
21823         * gst/gstiterator.h:
21824         Fix iterator docs.
21825
21826 2005-11-09  Wim Taymans  <wim@fluendo.com>
21827
21828         * gst/gstbin.h:
21829         Document another field.
21830
21831         * gst/gststructure.c:
21832         * gst/gststructure.h:
21833         Document.
21834
21835 2005-11-09  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/gstbin.h:
21838         Documented structs.
21839
21840 2005-11-09  Wim Taymans  <wim@fluendo.com>
21841
21842         * docs/gst/gstreamer-sections.txt:
21843         Added some new macros.
21844
21845         * gst/gstclock.c:
21846         * gst/gstclock.h:
21847         * gst/gstobject.h:
21848         Docs updates.
21849
21850 2005-11-09  Wim Taymans  <wim@fluendo.com>
21851
21852         * docs/design/part-TODO.txt:
21853         Some more items for the TODO
21854
21855         * gst/gstcaps.c:
21856         * gst/gstcaps.h:
21857         Document GstCaps.
21858
21859 2005-11-09  Andy Wingo  <wingo@pobox.com>
21860
21861         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21862         to work on something else now tho...
21863
21864         * gst/base/gstadapter.c: More adapter docs.
21865
21866         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21867         (gst_file_sink_stop): New functions, replace the state change
21868         handler.
21869         (gst_file_sink_class_init): Hook up the start and stop functions.
21870         (gst_file_sink_base_init): Don't set the state change handler any
21871         more. It was a bit ugly too, being set from here...
21872         (gst_file_sink_get_property, gst_file_sink_set_property):
21873         Cleanups...
21874         (gst_file_sink_set_location): More robust check that doesn't call
21875         GST_STATE. Ugggggg.
21876
21877 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21878
21879         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21880           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21881
21882 2005-11-08  Wim Taymans  <wim@fluendo.com>
21883
21884         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21885         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21886         (gst_base_sink_chain), (gst_base_sink_change_state):
21887         * gst/base/gstbasesink.h:
21888         * gst/base/gstbasesrc.h:
21889         * gst/gstelement.h:
21890         * gst/gstevent.h:
21891         Avoid excessive typechecking in macros.
21892
21893         * gst/gstminiobject.c: (gst_mini_object_get_type),
21894         (gst_mini_object_init), (gst_mini_object_new),
21895         (gst_mini_object_free):
21896         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21897         (gst_object_finalize):
21898         Remove cruft code, optimize alloc_trace.
21899
21900 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21901
21902         * docs/faq/gst-uninstalled:
21903           fix up PS1 for systems that try to reset it
21904
21905 2005-11-07  Wim Taymans  <wim@fluendo.com>
21906
21907         * gst/base/gstbasesrc.c: (gst_base_src_init),
21908         (gst_base_src_get_range):
21909         Set the segment_end to -1 initially. Fixed typefind.
21910
21911 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21912
21913         * gst/base/gstadapter.c:
21914           Debug category should be 'adapter', not 'GstAdapter'.
21915           
21916         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21917         (gst_collectpads_class_init), (gst_collectpads_init),
21918         (gst_collectpads_peek), (gst_collectpads_pop),
21919         (gst_collectpads_event), (gst_collectpads_chain):
21920           Add debug category and some debugging output. Use boilerplate
21921           macros. Remove some extraneous words from docs.
21922
21923 2005-11-05  Andy Wingo  <wingo@pobox.com>
21924
21925         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21926         macro.
21927
21928 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21929
21930         * docs/gst/gstreamer-sections.txt:
21931         * gst/gstcaps.h:
21932         * gst/gstinfo.c:
21933         * gst/gstminiobject.h:
21934         * gst/gstobject.h:
21935         * gst/gstutils.h:
21936           more docs added
21937
21938 2005-11-04  Wim Taymans  <wim@fluendo.com>
21939
21940         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21941         Small update to stop at the configured segment_end
21942         position.
21943
21944 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21945
21946         * gst/gstregistry.c:
21947         * gst/gstregistry.h:
21948           added missing docs
21949
21950 2005-11-04  Edward Hervey  <edward@fluendo.com>
21951
21952         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21953         Check if we are doing a segment seek and have arrived at the
21954         end of that segment.
21955
21956 2005-11-04  Wim Taymans  <wim@fluendo.com>
21957
21958         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21959         Don't leak a mutex unlock in case of an error.
21960
21961         * gst/gstbus.h:
21962         Doc fixes.
21963
21964 2005-11-04  Wim Taymans  <wim@fluendo.com>
21965
21966         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21967         (gst_bus_post):
21968         Get the context to wake up only once.
21969
21970 2005-11-03  Wim Taymans  <wim@fluendo.com>
21971
21972         * check/states/sinks.c: (GST_START_TEST):
21973         Uncomment fixed check.
21974
21975         * docs/design/part-TODO.txt:
21976         Updated TODO.
21977
21978         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21979         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21980         (gst_base_sink_get_position):
21981         If we are going to PLAYING, post the right pending state
21982         when we post the intermediate paused message.
21983
21984         * gst/gstelement.c: (gst_element_continue_state),
21985         (gst_element_set_state_func), (gst_element_change_state):
21986         Don't post state changes that were between the same state
21987         and were not ASYNC.
21988
21989 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21990
21991         * docs/gst/gstreamer-sections.txt:
21992         * gst/gstcaps.h:
21993         * gst/gstinfo.c:
21994         * gst/gstminiobject.h:
21995         * gst/gstobject.h:
21996         * gst/gstutils.h:
21997           more docs and doc style fixes
21998
21999 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22000
22001         * docs/gst/gstreamer-sections.txt:
22002         * gst/gstelement.c:
22003         * gst/gstminiobject.c:
22004         doc fixes
22005
22006 2005-11-03  Andy Wingo  <wingo@pobox.com>
22007
22008         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22009         state-changed messages actually have the right order and the right
22010         values.
22011
22012 2005-11-03  Wim Taymans  <wim@fluendo.com>
22013
22014         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22015         Added some more checks. Specifically the case where NO_PREROLL
22016         elements are in the pipeline.
22017
22018         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22019         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22020         (gst_base_sink_get_position):
22021         Post READY->PAUSED state change messages too.
22022         Fix bug where VOID was posted as pending state...
22023
22024         * gst/gstbin.c: (gst_bin_recalc_state):
22025         use _element_continue_state() to continue the state change.
22026
22027         * gst/gstelement.c: (gst_element_continue_state),
22028         (gst_element_commit_state), (gst_element_set_state_func),
22029         (gst_element_change_state), (gst_element_change_state_func):
22030         Lots of state change cleanups, assign the STATE_RETURN in
22031         a new continue_state() function that also propagates the
22032         last return value from a state change to the app.
22033         Update some debug statements with proper category.
22034
22035 2005-11-03  Wim Taymans  <wim@fluendo.com>
22036
22037         * docs/design/part-events.txt:
22038         * docs/design/part-gstpipeline.txt:
22039         * docs/design/part-messages.txt:
22040         * docs/design/part-overview.txt:
22041         * docs/design/part-seeking.txt:
22042         * docs/design/part-states.txt:
22043         * docs/design/part-trickmodes.txt:
22044         * docs/manual/advanced-position.xml:
22045         Small docs updates.
22046
22047         * gst/gstobject.h:
22048         People think !! is ugly, this looks better.
22049
22050         * gst/gstpad.c: (gst_pad_set_blocked_async):
22051         Remove !! since it's fixed elsewhere now.
22052
22053 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22054
22055         * gst/gstminiobject.h:
22056         * gst/gstobject.h:
22057           Add !! to _FLAG_IS_SET macros to make the result boolean.
22058
22059 2005-11-03  Edward Hervey  <edward@fluendo.com>
22060
22061         * gst/gstpad.c: (gst_pad_set_blocked_async):
22062         comparing a flag and a gboolean rarely returns coherent results...
22063         Added two characters (!!) to make that work correctly.
22064         
22065 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22066
22067         * gst/gstbus.c: (gst_bus_class_init):
22068           Fix some typos.
22069           
22070         * gst/gstqueue.c: (gst_queue_loop):
22071           Don't assume a miniobject that isn't a buffer is an
22072           event (it could be that there is a refcounting
22073           problem somewhere and the pointer is stale and
22074           refers to an already destroyed miniobject).
22075
22076 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22077
22078         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22079
22080 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22081
22082         * docs/manual/advanced-position.xml:
22083           Update seek example and explanations to current 0.9 API.
22084
22085         * gst/elements/gsttypefindelement.c:
22086         (gst_type_find_element_activate):
22087           Remove FIXME comment now that the found caps
22088           are unreffed.
22089
22090 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22091
22092         * gst/gstregistryxml.c: (load_feature):
22093           Add another GST_STR_NULL instance
22094
22095 2005-11-02  Edward Hervey  <edward@fluendo.com>
22096
22097         * gst/gstpad.c: (handle_pad_block):
22098         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22099         
22100 2005-11-02  Wim Taymans  <wim@fluendo.com>
22101
22102         * gst/gstbin.c:
22103         Fix typo in docs.
22104
22105         * gst/gstelement.c: (gst_element_commit_state):
22106         Remove unused value.
22107
22108         * gst/gstiterator.c:
22109         Mention that the returned element is reffed in the docs.
22110
22111 2005-11-02  Wim Taymans  <wim@fluendo.com>
22112
22113         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22114         (gst_pad_push), (gst_pad_push_event):
22115         Unlock blocked pads when they are flushed.
22116
22117 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22118
22119         * docs/README:
22120         * docs/gst/gstreamer-sections.txt:
22121         * gst/gstbin.c:
22122           doc updates
22123         * gst/gstregistry.c: (gst_registry_scan_path_level):
22124           fix for a nasty little missed situation where an installed plug-in
22125           which was in the cache did not get overridden by an uninstalled one
22126           which was earlier in the plugin path because the newly created plugin
22127           for the uninstalled one (not in the registry) didn't get its
22128           ->registered set to TRUE
22129
22130 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22131
22132         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22133         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22134         (gst_collectpads_is_active), (gst_collectpads_collect),
22135         (gst_collectpads_collect_range), (gst_collectpads_start),
22136         (gst_collectpads_stop), (gst_collectpads_peek),
22137         (gst_collectpads_pop), (gst_collectpads_available),
22138         (gst_collectpads_read), (gst_collectpads_flush):
22139           Guard public API with assertions.
22140         
22141         * gst/gstpad.c:
22142           Fix docs for gst_pad_set_link_function().
22143
22144 2005-11-02  Johan Dahlin  <johan@gnome.org>
22145
22146         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22147         Unref found_caps after we used it.
22148
22149 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22150
22151         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22152           Don't try to ref NULL.
22153
22154 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22155
22156         * win32/common/config.h.in:
22157           provide a GST_FUNCTION that just gives a string for now
22158
22159 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22160
22161         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22162         (gst_object_flags_get_type), (register_gst_bin_flags),
22163         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22164         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22165         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22166         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22167         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22168         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22169         (gst_clock_flags_get_type), (register_gst_state),
22170         (gst_state_get_type), (register_gst_state_change_return),
22171         (gst_state_change_return_get_type), (register_gst_state_change),
22172         (gst_state_change_get_type), (register_gst_element_flags),
22173         (gst_element_flags_get_type), (register_gst_core_error),
22174         (gst_core_error_get_type), (register_gst_library_error),
22175         (gst_library_error_get_type), (register_gst_resource_error),
22176         (gst_resource_error_get_type), (register_gst_stream_error),
22177         (gst_stream_error_get_type), (register_gst_event_type),
22178         (gst_event_type_get_type), (register_gst_seek_type),
22179         (gst_seek_type_get_type), (register_gst_seek_flags),
22180         (gst_seek_flags_get_type), (register_gst_format),
22181         (gst_format_get_type), (register_gst_index_certainty),
22182         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22183         (gst_index_entry_type_get_type),
22184         (register_gst_index_lookup_method),
22185         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22186         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22187         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22188         (gst_index_flags_get_type), (register_gst_debug_level),
22189         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22190         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22191         (gst_iterator_result_get_type), (register_gst_iterator_item),
22192         (gst_iterator_item_get_type), (register_gst_message_type),
22193         (gst_message_type_get_type), (register_gst_mini_object_flags),
22194         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22195         (gst_pad_link_return_get_type), (register_gst_flow_return),
22196         (gst_flow_return_get_type), (register_gst_activate_mode),
22197         (gst_activate_mode_get_type), (register_gst_pad_direction),
22198         (gst_pad_direction_get_type), (register_gst_pad_flags),
22199         (gst_pad_flags_get_type), (register_gst_pad_presence),
22200         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22201         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22202         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22203         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22204         (gst_plugin_flags_get_type), (register_gst_rank),
22205         (gst_rank_get_type), (register_gst_query_type),
22206         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22207         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22208         (gst_tag_flag_get_type), (register_gst_task_state),
22209         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22210         (gst_alloc_trace_flags_get_type),
22211         (register_gst_type_find_probability),
22212         (gst_type_find_probability_get_type), (register_gst_uri_type),
22213         (gst_uri_type_get_type), (register_gst_parse_error),
22214         (gst_parse_error_get_type):
22215         * win32/common/gstversion.h:
22216           update win32 copies
22217
22218 2005-11-01  Luca Ognibene  <luogni@tin.it>
22219
22220         * gst/gst.c:
22221           fix docs. popt is dead, long live GOption.
22222
22223 2005-10-31  Wim Taymans  <wim@fluendo.com>
22224
22225         * gst/gstbuffer.h:
22226         Small doc fix.
22227
22228 2005-10-31  Andy Wingo  <wingo@pobox.com>
22229
22230         * Boo!
22231
22232         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22233
22234         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22235         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22236         the possibility of deadlocks here if code calling notify() or
22237         set() has a lock that can be taken in another notify handler (ABBA
22238         with class lock and e.g. python GIL state lock).
22239
22240 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22241
22242         * gst/gstbus.c: Doc updates.
22243
22244 2005-10-28  Wim Taymans  <wim@fluendo.com>
22245
22246         * docs/design/part-TODO.txt:
22247         * gst/gstiterator.c:
22248         * gst/gstsystemclock.c:
22249         * gst/gstsystemclock.h:
22250         Doc updates.
22251
22252 2005-10-28  Edward Hervey  <edward@fluendo.com>
22253
22254         * docs/gst/gstreamer-docs.sgml:
22255         * docs/gst/gstreamer-sections.txt:
22256         the GstURIType documentation page is private, it only defines GstURIType
22257         which should be defined in the GstURIHandler page
22258         
22259 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22260
22261         * gst/gstbin.c: (gst_bin_class_init):
22262         * gst/gstbin.h:
22263         * gst/gstutils.c:
22264         Documentation updates.
22265
22266 2005-10-28  Wim Taymans  <wim@fluendo.com>
22267
22268         * docs/gst/gstreamer-sections.txt:
22269         * gst/gstclock.c:
22270         * gst/gstclock.h:
22271         Documented the clocks.
22272
22273 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22274
22275         * docs/gst/gstreamer-sections.txt:
22276           move some macros to private sections
22277         * gst/gstminiobject.c:
22278         * gst/gstminiobject.h:
22279           add descriptions provided by ds and some more
22280         * gst/gstpad.h:
22281           mark macro as to be removed
22282
22283 2005-10-28  Wim Taymans  <wim@fluendo.com>
22284
22285         * docs/design/part-TODO.txt:
22286         Add an item to TODO.
22287
22288         * gst/gstiterator.c: (gst_iterator_fold),
22289         (gst_iterator_find_custom):
22290         * gst/gstiterator.h:
22291         Add iterator docs.
22292
22293 2005-10-28  Wim Taymans  <wim@fluendo.com>
22294
22295         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22296         (gst_base_transform_init):
22297         Don't leak class.
22298
22299         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22300         An EOS event marks the queue as completely filled.
22301
22302 2005-10-27  Wim Taymans  <wim@fluendo.com>
22303
22304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22305         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22306         Some more debugging.
22307
22308         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22309         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22310         (gst_base_transform_event), (gst_base_transform_getrange),
22311         (gst_base_transform_chain):
22312         * gst/base/gstbasetransform.h:
22313         Fix debugging,
22314         Protect transform and concurrent buffer alloc with a new lock.
22315         Try not to break ABI/API.
22316
22317 2005-10-27  Wim Taymans  <wim@fluendo.com>
22318
22319         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22320         (gst_base_src_init), (gst_base_src_query),
22321         (gst_base_src_default_newsegment),
22322         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22323         (gst_base_src_send_event), (gst_base_src_event_handler),
22324         (gst_base_src_pad_get_range), (gst_base_src_loop),
22325         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22326         (gst_base_src_start), (gst_base_src_deactivate),
22327         (gst_base_src_activate_push), (gst_base_src_change_state):
22328         Move some stuff around and cleanup things.
22329
22330 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22331
22332         * gst/base/gstbasesrc.c: (gst_base_src_query):
22333           Add missing break statements.
22334
22335 2005-10-27  Wim Taymans  <wim@fluendo.com>
22336
22337         * check/gst/gstbin.c: (GST_START_TEST):
22338         An extra refcount is taken in basesrc.
22339
22340         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22341         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22342         (gst_base_src_loop):
22343         Small cleanups, check for flushing after being unlocked from the 
22344         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22345         Don't send out EOS when going to READY.
22346
22347 2005-10-27  Wim Taymans  <wim@fluendo.com>
22348
22349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22350         (gst_base_sink_get_position):
22351         Some more debug.
22352
22353         * gst/gstbin.c: (message_check), (bin_replace_message),
22354         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22355         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22356         (bin_query_duration_init), (bin_query_duration_fold),
22357         (bin_query_duration_done), (bin_query_generic_fold),
22358         (gst_bin_query):
22359         * tools/gst-launch.c: (main):
22360         Remove old option.
22361
22362 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22363
22364         * examples/controller/audio-example.c: (main):
22365         * examples/queue/queue.c: (event_loop):
22366         * gst/base/gstbasetransform.h:
22367         * gst/gstelement.c: (gst_element_send_event):
22368         * gst/gstevent.h:
22369         * gst/gstpad.c: (gst_pad_send_event):
22370           fixing examples
22371           fixing docs typos
22372           changing log priority in error situations
22373
22374 2005-10-25  Wim Taymans  <wim@fluendo.com>
22375
22376         * gst/gstbin.c: (message_check), (bin_replace_message),
22377         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22378         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22379         (bin_query_duration_init), (bin_query_duration_fold),
22380         (bin_query_duration_done), (bin_query_generic_fold),
22381         (gst_bin_query):
22382         Some doc and debug updates.
22383         Cache previously requested query DURATION for speed. invalidate
22384         cached duration if element posts a DURATION message.
22385
22386 2005-10-25  Wim Taymans  <wim@fluendo.com>
22387
22388         * docs/design/part-TODO.txt:
22389         Update TODO.
22390
22391         * gst/gstbin.c: (message_check), (bin_replace_message),
22392         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22393         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22394         (bin_query_duration_init), (bin_query_duration_fold),
22395         (bin_query_duration_done), (bin_query_generic_fold),
22396         (gst_bin_query):
22397         Handle SEGMENT_START/DONE messages correctly.
22398         More evolved query algorithm that handles duration queries
22399         correctly.
22400
22401         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22402         (gst_element_get_state_func), (gst_element_abort_state),
22403         (gst_element_commit_state), (gst_element_lost_state):
22404         Some more debugging.
22405
22406         * gst/gstmessage.h:
22407         Added doc.
22408
22409 2005-10-25  Wim Taymans  <wim@fluendo.com>
22410
22411         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22412         Don't use invalid stream_time.
22413
22414         * gst/gstevent.c: (gst_event_new_newsegment):
22415         stream_time in newsegment cannot be undefined.
22416
22417 2005-10-24  Wim Taymans  <wim@fluendo.com>
22418
22419         * gst/gstbus.c:
22420         Doc fix.
22421
22422         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22423         (gst_queue_loop):
22424         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22425
22426 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22427
22428         * docs/libs/tmpl/gstdparam.sgml:
22429         * docs/libs/tmpl/gstdplinint.sgml:
22430         * docs/libs/tmpl/gstdpman.sgml:
22431         * docs/libs/tmpl/gstdpsmooth.sgml:
22432         * docs/libs/tmpl/gstunitconvert.sgml:
22433           these are obsolete
22434
22435 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22436
22437         * configure.ac:
22438           back to HEAD
22439
22440 === release 0.9.4 ===
22441
22442 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22443
22444         * configure.ac:
22445           releasing 0.9.4, "Tyrannosaurus Rex"
22446
22447 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22448
22449         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22450         (gst_file_sink_get_current_offset):
22451           Use fseeko() and ftello() if available. When falling back on
22452           lseek() to get the current offset, fflush() first to make sure
22453           everything is up-to-date and we get the right offset.
22454
22455 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22456
22457         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22458         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22459         * gst/gsterror.c: (_gst_stream_errors_init):
22460         * gst/gsterror.h:
22461         * gst/gstqueue.c: (gst_queue_loop):
22462         * po/POTFILES.in:
22463           remove prematurely added error category and clean up the instances
22464
22465 2005-10-21  Wim Taymans  <wim@fluendo.com>
22466
22467         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22468         (gst_base_sink_get_position), (gst_base_sink_query),
22469         (gst_base_sink_change_state):
22470         Simply set the right flag when going to playing, that's all
22471         we need to do instead of calling a function inside the object
22472         lock (that could take the lock as well and deadlock)
22473
22474 2005-10-21  Wim Taymans  <wim@fluendo.com>
22475
22476         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22477         (gst_base_src_loop):
22478         Don't warn, the peer element knows what to do best when
22479         the seek failed, it might try something else.
22480
22481 2005-10-21  Wim Taymans  <wim@fluendo.com>
22482
22483         * gst/base/gstbasesrc.c: (gst_base_src_init),
22484         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22485         Fix seeking.
22486
22487 2005-10-21  Wim Taymans  <wim@fluendo.com>
22488
22489         * docs/design/part-segments.txt:
22490         More docs.
22491
22492         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22493         Correctly set caps, even on the subbufer.
22494
22495 2005-10-21  Wim Taymans  <wim@fluendo.com>
22496
22497         * docs/gst/gstreamer-docs.sgml:
22498         * docs/gst/gstreamer-sections.txt:
22499         * gst/gstelement.h:
22500         * gst/gstevent.c:
22501         * gst/gstevent.h:
22502         * gst/gstmessage.h:
22503         * gst/gstpad.h:
22504         * gst/gstparse.h:
22505         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22506         * gst/gsttask.h:
22507         * gst/gstutils.c:
22508         * gst/gstutils.h:
22509         And 2% more doc coverage.
22510
22511 2005-10-21  Andy Wingo  <wingo@pobox.com>
22512
22513         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22514         position reporting.
22515
22516 2005-10-20  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/gsterror.c: (gst_error_get_message):
22519         * gst/gstparse.h:
22520         * gst/gstquery.h:
22521         * gst/gststructure.c:
22522         * gst/gsttrace.c:
22523         * gst/gstutils.c:
22524         More docs.
22525
22526 2005-10-20  Wim Taymans  <wim@fluendo.com>
22527
22528         * gst/gstbuffer.h:
22529         * gst/gstpad.c:
22530         * gst/gstparse.c:
22531         Another 1% more coverage.
22532
22533 2005-10-20  Wim Taymans  <wim@fluendo.com>
22534
22535         * docs/gst/gstreamer-sections.txt:
22536         * gst/gstelement.c: (gst_element_get_state_func),
22537         (gst_element_abort_state), (gst_element_commit_state),
22538         (gst_element_lost_state):
22539         * gst/gstevent.h:
22540         * gst/gstquery.c: (gst_query_set_position),
22541         (gst_query_parse_position), (gst_query_set_duration),
22542         (gst_query_parse_duration), (gst_query_new_convert):
22543         * gst/gstutils.c:
22544         Yay! 1% more docs coverage.
22545
22546 2005-10-20  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/gstpad.h:
22549         * gst/gstquery.c: (gst_query_set_position),
22550         (gst_query_parse_position), (gst_query_set_duration),
22551         (gst_query_parse_duration), (gst_query_new_convert):
22552         * gst/gstquery.h:
22553         * gst/gstutils.c: (gst_element_query_convert):
22554         * gst/gstutils.h:
22555         Docs and consistency fixes.
22556
22557 2005-10-20  Wim Taymans  <wim@fluendo.com>
22558
22559         * gst/gsttask.c:
22560         * gst/gsttask.h:
22561         More docs.
22562
22563 2005-10-20  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/gstbin.c: (message_check), (bin_replace_message),
22566         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22567         (update_degree), (gst_bin_sort_iterator_next),
22568         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22569         Reworked the message handling a bit, cache the messages instead of
22570         only the senders. alows us to do more in the future.
22571
22572 2005-10-20  Wim Taymans  <wim@fluendo.com>
22573
22574         * docs/design/part-TODO.txt:
22575         Update TODO
22576
22577         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22578         (gst_base_sink_query):
22579         Don't use clock time to report position when in EOS.
22580
22581 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22582
22583         * tools/gst-inspect.c: (print_interfaces),
22584         (print_element_properties_info), (print_element_info):
22585           Fix interface output with gst-inspect -a; don't print
22586           newlines after double/float properties.
22587
22588 2005-10-20  Wim Taymans  <wim@fluendo.com>
22589
22590         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22591         (gst_base_sink_query):
22592         Speed up current position calculation.
22593
22594         * gst/base/gstbasesrc.c: (gst_base_src_query),
22595         (gst_base_src_default_newsegment):
22596         Correctly set stream position in newsegment.
22597
22598         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22599         (update_degree), (gst_bin_sort_iterator_next),
22600         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22601         * gst/gstmessage.c: (gst_message_new_custom):
22602         Clean up debugging info
22603
22604         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22605         (gst_queue_loop), (gst_queue_handle_src_query):
22606         Pause task faster.
22607
22608 2005-10-19  Wim Taymans  <wim@fluendo.com>
22609
22610         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22611         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22612         Fix query handling again.
22613
22614 2005-10-19  Wim Taymans  <wim@fluendo.com>
22615
22616         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22617         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22618         * gst/base/gstbasesrc.c: (gst_base_src_query):
22619         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22620         * gst/elements/gsttypefindelement.c:
22621         (gst_type_find_handle_src_query), (find_element_get_length),
22622         (gst_type_find_element_activate):
22623         API change fix.
22624
22625         * gst/gstquery.c: (gst_query_new_position),
22626         (gst_query_set_position), (gst_query_parse_position),
22627         (gst_query_new_duration), (gst_query_set_duration),
22628         (gst_query_parse_duration), (gst_query_set_segment),
22629         (gst_query_parse_segment):
22630         * gst/gstquery.h:
22631         Bundling query position/duration is not a good idea since duration
22632         does not change much and we don't want to recalculate it for every
22633         position query, so they are separated again..
22634         Base value in segment query is not needed.
22635
22636         * gst/gstqueue.c: (gst_queue_handle_src_query):
22637         * gst/gstutils.c: (gst_element_query_position),
22638         (gst_element_query_duration), (gst_pad_query_position),
22639         (gst_pad_query_duration):
22640         * gst/gstutils.h:
22641         Updates for query API change.
22642         Added some docs here and there.
22643
22644 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22645
22646         * check/gst/gstbin.c: (GST_START_TEST):
22647         * check/gst/gstghostpad.c: (GST_START_TEST):
22648         * check/pipelines/cleanup.c: (GST_START_TEST):
22649           wait on thread to die so we can check refcount correctly
22650
22651 2005-10-18  Wim Taymans  <wim@fluendo.com>
22652
22653         * check/pipelines/stress.c: (GST_START_TEST):
22654         Make check a little more time consuming.
22655
22656 2005-10-18  Wim Taymans  <wim@fluendo.com>
22657
22658         * check/Makefile.am:
22659         * check/pipelines/stress.c: (GST_START_TEST),
22660         (simple_launch_lines_suite), (main):
22661         Small state change torture test.
22662
22663         * docs/design/part-states.txt:
22664         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22665         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22666         (gst_base_sink_change_state):
22667         Never take state lock from streaming thread, clean up ugly
22668         hacks. Unfortunatly core does not yet support nice ways to
22669         async commit state.
22670         
22671         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22672         (bin_bus_handler):
22673         Start state recalc if a STATE_DIRTY message is posted, but only
22674         on the toplevel bin.
22675
22676         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22677         (gst_element_get_state_func), (gst_element_abort_state),
22678         (gst_element_commit_state), (gst_element_lost_state),
22679         (gst_element_set_state_func), (gst_element_change_state):
22680         * gst/gstelement.h:
22681         State variables are now protected with the LOCK, the state
22682         lock is only used to serialize _set_state().
22683
22684 2005-10-18  Wim Taymans  <wim@fluendo.com>
22685
22686         * check/gst/gstbin.c: (GST_START_TEST):
22687         * check/gst/gstmessage.c: (GST_START_TEST):
22688         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22689         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22690         (bin_bus_handler):
22691         * gst/gstelement.c: (gst_element_abort_state),
22692         (gst_element_commit_state), (gst_element_lost_state):
22693         * gst/gstmessage.c: (gst_message_new_state_changed),
22694         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22695         (gst_message_new_segment_done), (gst_message_new_duration),
22696         (gst_message_parse_state_changed),
22697         (gst_message_parse_segment_start),
22698         (gst_message_parse_segment_done), (gst_message_parse_duration):
22699         * gst/gstmessage.h:
22700         * tools/gst-launch.c: (event_loop):
22701         Seriously, this is better than a previous commit as we only need
22702         to notify the fact that an element changed state in a streaming
22703         thread, marking the state of the parents dirty, hence the 
22704         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22705         message.
22706
22707 2005-10-18  Wim Taymans  <wim@fluendo.com>
22708
22709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22710         (gst_bin_recalc_func):
22711         * gst/gstelement.c: (gst_element_set_clock),
22712         (gst_element_abort_state), (gst_element_lost_state):
22713         Cleanups, prepare for state change fixes.
22714
22715 2005-10-18  Wim Taymans  <wim@fluendo.com>
22716
22717         * gst/gstbin.h:
22718         * gst/gstelement.c: (gst_element_class_init),
22719         (gst_element_set_state), (gst_element_set_state_func):
22720         * gst/gstelement.h:
22721         Pending ABI changes.
22722         GThreadPool in GstBinClass to monitor async state changes.
22723         state_cookie in GstElement to detect concurrent gst/set state.
22724         set_state is now virtual too in case a very complicated element
22725         has to be constructed.
22726
22727 2005-10-18  Wim Taymans  <wim@fluendo.com>
22728
22729         * check/gst/gstbin.c: (GST_START_TEST):
22730         * check/gst/gstmessage.c: (GST_START_TEST):
22731         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22732         * gst/gstbin.c: (bin_bus_handler):
22733         * gst/gstelement.c: (gst_element_commit_state),
22734         (gst_element_lost_state):
22735         * gst/gstmessage.c: (gst_message_new_state_changed),
22736         (gst_message_new_segment_start), (gst_message_new_segment_done),
22737         (gst_message_new_duration), (gst_message_parse_state_changed),
22738         (gst_message_parse_segment_start),
22739         (gst_message_parse_segment_done), (gst_message_parse_duration):
22740         * gst/gstmessage.h:
22741         * tools/gst-launch.c: (event_loop):
22742         Make messages future proof.
22743         state-change gets a flag if it was a message comming from the
22744         streaming thread.
22745         segment-start/stop can also be specified in other formats.
22746         A message to notify an app that a pipeline changed playback 
22747         duration.
22748         Also fix a GstMessage leak in -launch
22749
22750 2005-10-18  Andy Wingo  <wingo@pobox.com>
22751
22752         * gst/gstelement.c (gst_element_dispose): More helpful message.
22753
22754 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22755
22756         reviewed by: <delete if not using a buddy>
22757
22758         * common/gtk-doc.mak:
22759
22760 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22761
22762         * gst/gstregistry.c: (gst_registry_scan_path_level):
22763           unref a plug-in we get that was already initialized
22764
22765 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22766
22767         * docs/gst/gstreamer-sections.txt:
22768         * docs/libs/gstreamer-libs-sections.txt:
22769         * gst/gstelement.h:
22770           add new api entries
22771           hide internal macro
22772
22773 2005-10-17  Andy Wingo  <wingo@pobox.com>
22774
22775         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22776         cleanup.
22777
22778         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22779
22780         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22781
22782         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22783         (gst_element_get_state_func): Better debug message.
22784         (gst_element_commit_state): s/INFO/DEBUG/.
22785         (gst_element_lost_state, gst_element_change_state): 
22786
22787         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22788         (gst_message_new_custom): s/INFO/LOG/.
22789
22790 2005-10-17  Michael Smith <msmith@fluendo.com>
22791
22792         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22793           Check if end time is valid using end time, not start time.
22794
22795 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22796
22797         * check/gst-libs/controller.c: (GST_START_TEST),
22798         (gst_controller_suite):
22799         * libs/gst/controller/gstcontroller.c:
22800         (gst_controlled_property_set_interpolation_mode):
22801         * libs/gst/controller/gstcontroller.h:
22802         * libs/gst/controller/gstinterpolation.c:
22803         * testsuite/controller/.cvsignore:
22804         * testsuite/controller/Makefile.am:
22805         * testsuite/controller/interpolator.c:
22806           merge controller testsuites
22807           fix broken tests
22808           remove mem-chunk from docs
22809
22810 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22811
22812         * gst/gstmemchunk.c:
22813         * gst/gstmemchunk.h:
22814         * gst/gsttrashstack.c:
22815         * gst/gsttrashstack.h:
22816           out.  get out.  you're fired.  to the Attic !
22817
22818 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22819
22820         * gst/gstcaps.c: (gst_caps_intersect):
22821           fix signedness issues in a (hopefully) correct way
22822         * gst/gstelement.c: (gst_element_pads_activate):
22823           some debugging
22824         * gst/gstobject.c: (gst_object_set_parent):
22825           some debugging
22826
22827 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22828
22829         * gst/gstvalue.h: Fix prototypes.
22830
22831 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22832
22833         * docs/gst/gstreamer-sections.txt:
22834         * gst/gst.c: (gst_version_string):
22835         * gst/gst.h:
22836         * gst/gstversion.h.in:
22837         * win32/common/libgstreamer.def:
22838           add gst_version_string ()
22839
22840 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22841
22842         * configure.ac:
22843           clean up further
22844         * gst/gst.c: (init_post):
22845         * win32/common/config.h.in:
22846           it's PLUGINDIR now
22847         * gst/gstcaps.c: (gst_caps_intersect):
22848           use gint64, the range could be bigger than a guint
22849
22850 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22851
22852         * gst/gstclock.h:
22853           document potential problem in 2038
22854
22855 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22856
22857         * gst/gstcaps.c: (gst_caps_intersect):
22858           Fix guint j diving under 0
22859
22860 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22861
22862         * configure.ac:
22863         * win32/common/config.h:
22864         * win32/common/config.h.in:
22865           check for process.h, declares getpid() on Windows
22866         * gst/gstinfo.c:
22867           include process.h if we have it
22868         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22869         * gst/gstmemchunk.h:
22870           fix signedness issues
22871         * win32/common/libgstreamer.def:
22872           fix get_type's
22873
22874 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22875
22876         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22877         fix. Because of unsigned ints, caps intersection was going nuts and
22878         trying to access structures with G_MAXUINT index. That fixes
22879         videotestsrc ! ffmpegcolorspace ! fakesink
22880         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22881         consistency.
22882
22883 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22884
22885         * configure.ac:
22886           use the gettext macro
22887         * gst/elements/gstelements.c:
22888         * gst/gst.c:
22889         * gst/indexers/gstindexers.c:
22890           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22891         * win32/common/config.h:
22892           updated config.h
22893         * win32/common/config.h.in:
22894           add the template to generate config.h
22895         * win32/common/gstenumtypes.c:
22896         * win32/common/gstversion.h:
22897           updated copies
22898
22899 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22900
22901         * gst/gst.c: (gst_version):
22902         * gst/gstversion.h.in:
22903           add the nano
22904
22905 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22906
22907         * gst/gstevent.h:
22908           Oops, add missing closing bracket.
22909
22910 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22911
22912         * configure.ac:
22913           use common m4's for argument checking
22914
22915 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22916
22917         * docs/gst/gstreamer-sections.txt:
22918         * gst/gstevent.h:
22919           Add GST_EVENT_TYPE_NAME() macro.
22920
22921 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22922
22923         * gst/gstinfo.c:
22924         * gst/gstpluginfeature.c:
22925         * gst/gsttask.c:
22926           privatize more symbols
22927
22928 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22929
22930         * configure.ac:
22931           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22932           everything that uses GStreamer API should have the includes
22933
22934 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22935
22936         * docs/gst/gstreamer-sections.txt:
22937         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22938         * gst/gstvalue.h:
22939           give each value a _get_type, removes the DATA exports
22940
22941 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22942
22943         * gst/gst.c:
22944         * gst/gst.h:
22945           remove _gst_registry_auto_load, not used anymore
22946         * gst/gstbin.c: (gst_bin_get_type):
22947         * gst/gstbin.h:
22948         * gst/gstelement.c: (gst_element_get_type):
22949         * gst/gstelement.h:
22950         * gst/gstobject.c: (gst_object_get_type):
22951         * gst/gstobject.h:
22952         * gst/gstpad.c: (gst_pad_get_type):
22953         * gst/gstpad.h:
22954           make _get_type functions similar, fixes data export from library
22955
22956 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * configure.ac:
22959           correctly make conditionals
22960         * gst/elements/Makefile.am:
22961         * gst/elements/gstelements.c:
22962           fix typo causing fdsrc not to build
22963
22964 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22965
22966         * testsuite/Makefile.am:
22967         * testsuite/bytestream/.cvsignore:
22968         * testsuite/bytestream/Makefile.am:
22969         * testsuite/bytestream/filepadsink.c:
22970         * testsuite/bytestream/gstbstest.c:
22971         * testsuite/bytestream/test1.c:
22972         * testsuite/bytestream/testfile1:
22973         * testsuite/caps/normalisation.c:
22974         * testsuite/caps/random.c: (main):
22975         * testsuite/cleanup/.cvsignore:
22976         * testsuite/cleanup/Makefile.am:
22977         * testsuite/cleanup/cleanup1.c:
22978         * testsuite/cleanup/cleanup2.c:
22979         * testsuite/cleanup/cleanup3.c:
22980         * testsuite/cleanup/cleanup4.c:
22981         * testsuite/cleanup/cleanup5.c:
22982         * testsuite/controller/interpolator.c:
22983         * testsuite/debug/printf_extension.c: (main):
22984         * testsuite/elements/tee.c:
22985         * testsuite/negotiation/.cvsignore:
22986         * testsuite/negotiation/Makefile.am:
22987         * testsuite/negotiation/pad_link.c:
22988         * testsuite/pad/Makefile.am:
22989         * testsuite/pad/chainnopull.c:
22990         * testsuite/pad/getnopush.c:
22991         * testsuite/pad/link.c:
22992         * testsuite/refcounting/sched.c: (create_pipeline):
22993         * testsuite/registry/Makefile.am:
22994         * testsuite/registry/gst-print-formats.c:
22995         * testsuite/schedulers/.cvsignore:
22996         * testsuite/schedulers/142183-2.c:
22997         * testsuite/schedulers/142183.c:
22998         * testsuite/schedulers/143777-2.c:
22999         * testsuite/schedulers/143777.c:
23000         * testsuite/schedulers/147713.c:
23001         * testsuite/schedulers/147819.c:
23002         * testsuite/schedulers/147894-2.c:
23003         * testsuite/schedulers/147894.c:
23004         * testsuite/schedulers/Makefile.am:
23005         * testsuite/schedulers/group_link.c:
23006         * testsuite/schedulers/queue_link.c:
23007         * testsuite/schedulers/relink.c:
23008         * testsuite/schedulers/unlink.c:
23009         * testsuite/schedulers/unref.c:
23010         * testsuite/schedulers/useless_iteration.c:
23011         * testsuite/states/bin.c:
23012           clean out/remove some stuff from the testsuite directories
23013
23014 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23015
23016         * configure.ac:
23017           check for some headers
23018         * gst/elements/Makefile.am:
23019         * gst/elements/gstelements.c:
23020           don't compile fdsrc without sys/socket.h
23021         * gst/indexers/Makefile.am:
23022         * gst/indexers/gstindexers.c: (plugin_init):
23023           don't compile fileindex without mmap
23024
23025 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23026
23027         * configure.ac:
23028           reorganize
23029           clean up
23030           document more
23031           remove cruft
23032         * check/Makefile.am:
23033         * docs/gst/Makefile.am:
23034         * examples/helloworld/Makefile.am:
23035         * gst/Makefile.am:
23036         * gst/base/Makefile.am:
23037         * gst/check/Makefile.am:
23038         * gst/elements/Makefile.am:
23039         * gst/indexers/Makefile.am:
23040         * gst/parse/Makefile.am:
23041         * libs/gst/controller/Makefile.am:
23042         * libs/gst/dataprotocol/Makefile.am:
23043         * examples/helloworld/helloworld.c: (event_loop):
23044           compile fixes, though it's not being compiled currently
23045
23046 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23047
23048         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23049           Add some simple tests for the new taglist date API.
23050
23051 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23052
23053         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23054         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23055           Beautify 'last-message' output: print 'none' for buffer timestamps
23056           and durations if none is set; improve alignment with next messages.
23057
23058 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23059
23060         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23061         * gst/gstpluginfeature.h:
23062         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23063         * gst/gstregistry.h:
23064         * docs/gst/gstreamer-sections.txt:
23065           Add new API to check plugin feature version requirements.
23066
23067         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23068           Some basic tests for the above.         
23069
23070 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23071
23072         * gst/gststructure.c: (gst_structure_to_string):
23073           guard against NULL printf - happens when for example
23074           a message structure with GstClock gets serialized
23075
23076 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23077
23078         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23079           Fix presumable copy'n'pasto.
23080
23081 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23082
23083         * gst/elements/gstfakesrc.h:
23084         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23085         * gst/elements/gsttypefindelement.c:
23086           fix some signedness
23087         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23088           I wonder if this could actually write +2GB files before
23089
23090 2005-10-13  Andy Wingo  <wingo@pobox.com>
23091
23092         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23093         Fix Timmeke Waymans bug.
23094         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23095         string of the proper length to gst_caps_from_string. There's a
23096         potential for, before this fix, that this could cause someone
23097         connecting over the network to cause a segfault if the payload is
23098         not NUL-terminated.
23099
23100 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23101
23102         * docs/design/draft-push-pull.txt:
23103         * docs/design/part-overview.txt:
23104         * docs/random/TODO-pre-0.9:
23105         * docs/random/old/ChangeLog.gstreamer:
23106         * gst/base/gstpushsrc.c:
23107         * gst/gstclock.c:
23108           fixed typos
23109
23110 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * gst/glib-compat.c: (gst_flags_get_first_value):
23113         * gst/glib-compat.h:
23114         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23115         (gst_value_compare_double), (gst_value_serialize_flags):
23116           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23117           infinite loop
23118
23119 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23120
23121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23122         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23123           fix up debugging
23124         * tools/gst-launch.c: (event_loop):
23125           print out clock nicely
23126
23127 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23128
23129         * docs/gst/gstreamer-sections.txt:
23130         * gst/gsttaglist.h:
23131         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23132         (gst_tag_list_get_date_index):
23133           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23134           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23135
23136 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23137
23138         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23139         (gst_collectpads_chain):
23140         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23141         in CollectData.
23142
23143 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23144
23145         * docs/gst/gstreamer-sections.txt:
23146         * gst/gst.c:
23147         * gst/gsterror.h:
23148         * tools/gst-inspect.c: (main):
23149         * tools/gst-launch.c: (main):
23150         * tools/gst-run.c: (main):
23151         * tools/gst-xmlinspect.c: (main):
23152           fix GOption context leaks
23153           doc fixes
23154
23155 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23156
23157         * gst/gstbus.c:
23158           use HAVE_UNISTD_H
23159         * win32/common/config.h:
23160           update config
23161         * win32/vs6/grammar.dsp:
23162         * win32/vs6/libgstelements.dsp:
23163         * win32/vs6/libgstreamer.dsp:
23164           update vs6 files
23165
23166 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23167
23168         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23169         * gst/base/gstbasesrc.c: (gst_base_src_query):
23170           fix more guint64<->gdouble conversions
23171
23172 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23173
23174         * Makefile.am:
23175           add win32-update target
23176         * win32/common/gstconfig.h:
23177         * win32/common/gstenumtypes.c:
23178         * win32/common/gstenumtypes.h:
23179         * win32/common/gstversion.h:
23180           add files that visual studio can't generate
23181
23182 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23183
23184         * Makefile.am:
23185           add a win32-update target
23186         * configure.ac:
23187
23188 2005-10-12  Wim Taymans  <wim@fluendo.com>
23189
23190         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23191         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23192         * gst/gstelement.c: (gst_element_commit_state),
23193         (gst_element_set_state):
23194         Protect flags with proper lock.
23195         unref provided cached clock in dispose.
23196
23197 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23198
23199         * gst/gst.c:
23200         * gst/gstminiobject.h:
23201         * gst/gstpad.h:
23202         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23203           removed unused flags from miniobject
23204           doc fixes
23205
23206 2005-10-12  Wim Taymans  <wim@fluendo.com>
23207
23208         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23209         (gst_file_sink_event), (gst_file_sink_render):
23210         Flush before seeking.
23211
23212 2005-10-12  Andy Wingo  <wingo@pobox.com>
23213
23214         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23215         always been the case.
23216
23217 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23218
23219         * check/gst/gstbin.c: (GST_START_TEST):
23220         * docs/gst/gstreamer-sections.txt:
23221         * gst/base/gstbasesink.c: (gst_base_sink_init):
23222         * gst/base/gstbasesrc.c: (gst_base_src_init),
23223         (gst_base_src_get_range), (gst_base_src_check_get_range),
23224         (gst_base_src_start), (gst_base_src_stop):
23225         * gst/base/gstbasesrc.h:
23226         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23227         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23228         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23229         (bin_bus_handler):
23230         * gst/gstbin.h:
23231         * gst/gstbuffer.h:
23232         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23233         * gst/gstbus.h:
23234         * gst/gstelement.c: (gst_element_is_locked_state),
23235         (gst_element_set_locked_state), (gst_element_commit_state),
23236         (gst_element_set_state):
23237         * gst/gstelement.h:
23238         * gst/gstindex.c: (gst_index_init):
23239         * gst/gstindex.h:
23240         * gst/gstminiobject.h:
23241         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23242         (gst_object_set_parent):
23243         * gst/gstobject.h:
23244         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23245         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23246         * gst/gstpad.h:
23247         * gst/gstpadtemplate.h:
23248         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23249         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23250         * gst/gstpipeline.h:
23251         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23252         (gst_file_index_commit):
23253         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23254         * testsuite/pad/link.c: (gst_test_src_init),
23255         (gst_test_filter_init), (gst_test_sink_init):
23256         * testsuite/states/locked.c: (main):
23257           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23258           moved bitshift from macro to enum definition
23259
23260 2005-10-12  Wim Taymans  <wim@fluendo.com>
23261
23262         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23263         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23264         (gst_file_sink_render):
23265         Some more debugging info.
23266
23267 2005-10-12  Wim Taymans  <wim@fluendo.com>
23268
23269         * docs/design/part-states.txt:
23270         * tools/gst-launch.c: (main):
23271         Some doc updates.
23272         Revert non-intentional change.
23273
23274 2005-10-12  Wim Taymans  <wim@fluendo.com>
23275
23276         * check/gst/gstbin.c: (GST_START_TEST):
23277         * check/gst/gstelement.c: (GST_START_TEST):
23278         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23279         * check/gst/gstghostpad.c: (GST_START_TEST):
23280         * check/gst/gstpipeline.c: (GST_START_TEST):
23281         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23282         * check/states/sinks.c: (GST_START_TEST):
23283         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23284         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23285         (gst_bin_remove_func), (gst_bin_get_state_func),
23286         (gst_bin_recalc_state), (gst_bin_change_state_func),
23287         (bin_bus_handler):
23288         * gst/gstelement.c: (gst_element_get_state_func),
23289         (gst_element_get_state), (gst_element_abort_state),
23290         (gst_element_commit_state), (gst_element_set_state),
23291         (gst_element_change_state), (gst_element_change_state_func):
23292         * gst/gstelement.h:
23293         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23294         (gst_pipeline_provide_clock_func):
23295         * gst/gstutils.c: (gst_element_link_pads_filtered):
23296         * tools/gst-launch.c: (main):
23297         * tools/gst-typefind.c: (main):
23298         Use GstClockTime in _get_state() instead of GTimeVal.
23299         Remove old code in gstutils.c
23300
23301 2005-10-12  Andy Wingo  <wingo@pobox.com>
23302
23303         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23304         removed.
23305
23306         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23307         there is no task. Shouldn't affect any code, as nothing in our
23308         plugins checks this return value.
23309         (gst_pad_stop_task): Also take the stream lock if the pad has no
23310         task. Docs updated.
23311
23312 2005-10-12  Wim Taymans  <wim@fluendo.com>
23313
23314         * gst/gstpad.c: (pre_activate), (post_activate),
23315         (gst_pad_activate_pull), (gst_pad_activate_push):
23316         Cleanup activation code. Reset old state if
23317         activation failed.
23318
23319 2005-10-12  Wim Taymans  <wim@fluendo.com>
23320
23321         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23322         (gst_base_sink_change_state):
23323         No need to prerol after receiving EOS.
23324
23325         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23326         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23327         * gst/elements/gstidentity.c: (gst_identity_event):
23328         Print events more verbosely.
23329
23330 2005-10-12  Wim Taymans  <wim@fluendo.com>
23331
23332         * check/Makefile.am:
23333         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23334         * check/states/sinks2.c:
23335         Moved sinks2 testcode in sinks check.
23336
23337         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23338         (gst_bin_remove_func), (gst_bin_recalc_state),
23339         (gst_bin_change_state_func), (bin_bus_handler):
23340         Fix potential race condition when _get_state() iterated over an
23341         ASYNC element right before it posted a state completion.
23342
23343         * gst/gstclock.h:
23344         Do proper cast here.
23345
23346         * gst/gstevent.c: (gst_event_new_newsegment),
23347         (gst_event_parse_newsegment):
23348         A playback rate of 0.0 is not allowed.
23349
23350 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23351
23352         * win32/common/config.h:
23353         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23354         (_trewinddir), (_ttelldir), (_tseekdir):
23355         * win32/common/dirent.h:
23356         * win32/common/gtchar.h:
23357         * win32/common/libgstbase.def:
23358         * win32/common/libgstreamer.def:
23359         * win32/vs6/grammar.dsp:
23360         * win32/vs6/gst_inspect.dsp:
23361         * win32/vs6/gst_launch.dsp:
23362         * win32/vs6/gstreamer.dsw:
23363         * win32/vs6/libgstbase.dsp:
23364         * win32/vs6/libgstelements.dsp:
23365         * win32/vs6/libgstreamer.dsp:
23366           Visual Studio 6 project files, and a new common directory.
23367           Phear.
23368
23369 2005-10-11  Wim Taymans  <wim@fluendo.com>
23370
23371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23372         (gst_base_sink_do_sync), (gst_base_sink_query),
23373         (gst_base_sink_change_state):
23374         * gst/base/gstbasesink.h:
23375         Correctly parse newsegment info.
23376
23377 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23378
23379         * gst/gst.c: (init_post):
23380           split plugin paths correctly
23381
23382 2005-10-11  Wim Taymans  <wim@fluendo.com>
23383
23384         * check/gst/gstevent.c: (GST_START_TEST):
23385         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23386         (gst_base_sink_change_state):
23387         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23388         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23389         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23390         * gst/gstevent.c: (gst_event_new_newsegment),
23391         (gst_event_parse_newsegment):
23392         * gst/gstevent.h:
23393         Added extra flag to newsegment for future API freeze.
23394         Updated check and base elements.
23395
23396 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23397
23398         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23399         (gst_collectpads_add_pad), (gst_collectpads_pop),
23400         (gst_collectpads_event), (gst_collectpads_chain):
23401         * gst/base/gstcollectpads.h: Handle EOS correctly.
23402
23403 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23404
23405         * tools/gst-launch.c: (main):
23406           more null protecting
23407
23408 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23409
23410         * gst/gst-i18n-lib.h:
23411           check for ENABLE_NLS, not GETTEXT_PACKAGE
23412         * gst/gstregistry.c: (gst_registry_add_plugin),
23413         (gst_registry_scan_path_level),
23414         (_gst_registry_remove_cache_plugins):
23415           protect possibly NULL strings
23416         * gst/parse/types.h:
23417           config.h already included before
23418         * tools/gst-inspect.c: (main):
23419           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23420           check for ENABLE_NLS, not GETTEXT_PACKAGE
23421         * tools/gst-launch.c: (main):
23422           check for ENABLE_NLS, not GETTEXT_PACKAGE
23423
23424 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23425
23426         * configure.ac:
23427           if we don't have glib, fail before testing 2.8
23428         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23429           fix a leak, should fix plugins-base testsuite
23430
23431 2005-10-11  Andy Wingo  <wingo@pobox.com>
23432
23433         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23434         take the mode we're going to as an arg. Go head and set the mode
23435         and flushing flags now, so that if the activate function starts a
23436         thread all the flags will be in the right state.
23437         (post_activate): Renamed also. Just handle making sure streaming
23438         finishes for the deactivation case, and setting the deactivated
23439         mode.
23440         (gst_pad_set_active): Complain loudly if deactivation fails.
23441         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23442         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23443         remove the terrible hack.
23444
23445 2005-10-11  Wim Taymans  <wim@fluendo.com>
23446
23447         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23448         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23449         (gst_bin_recalc_state), (gst_bin_change_state_func),
23450         (gst_bin_dispose), (bin_bus_handler):
23451         * gst/gstbin.h:
23452         Prepare to make current EOS message queue more generic.
23453         Fix some typos.
23454
23455         * gst/gstevent.c: (gst_event_new_newsegment),
23456         (gst_event_parse_newsegment):
23457         * gst/gstevent.h:
23458         Rename base to stream_time.
23459
23460         * gst/gstmessage.h:
23461         Fix typo in docs.
23462
23463 2005-10-11  Wim Taymans  <wim@fluendo.com>
23464
23465         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23466         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23467         (gst_bin_change_state_func), (bin_bus_handler):
23468         * gst/gstbin.h:
23469         Work on proper clock selection.
23470
23471 2005-10-11  Edward Hervey  <edward@fluendo.com>
23472
23473         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23474         * libs/gst/controller/gstcontroller.h:
23475         Added GList* version of _remove_properties() in order to be able to wrap
23476         it in bindings.
23477
23478 2005-10-11  Wim Taymans  <wim@fluendo.com>
23479
23480         * docs/design/part-states.txt:
23481         Some more docs.
23482
23483         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23484         (gst_bin_change_state_func), (bin_bus_handler):
23485         Doc updates. Don't distribute the same clock over and over again.
23486
23487         * gst/gstclock.c:
23488         * gst/gstclock.h:
23489         Doc updates.
23490
23491         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23492         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23493         (gst_pad_send_event):
23494         * gst/gstpad.h:
23495         Make probe emission threadsafe again.
23496         Register quarks and move _get_name() from utils.
23497         Doc updates.
23498
23499         * gst/gstpipeline.c: (gst_pipeline_class_init),
23500         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23501         Only redistribute the clock of it changed.
23502
23503         * gst/gstsystemclock.h:
23504         Doc updates. 
23505
23506         * gst/gstutils.c:
23507         * gst/gstutils.h:
23508         Moved the _flow_get_name() to GstPad.
23509
23510 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23511
23512         * check/gst-libs/gdp.c: (GST_START_TEST):
23513         * check/gst/gstcaps.c: (GST_START_TEST):
23514         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23515         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23516         (gst_dp_packet_from_caps):
23517           fix more valgrind warnings before turning up the heat
23518
23519 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23520
23521         * gst/parse/grammar.y:
23522           some cleanup before the hacking
23523
23524 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23525
23526         * gst/base/gstbasesrc.c: (gst_base_src_query):
23527           use conversions
23528         * gst/gstutils.c: (gst_guint64_to_gdouble),
23529         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23530         * gst/gstutils.h:
23531           externalize, basesrc uses it
23532           obviously the implementation needs testing
23533
23534 2005-10-10  Wim Taymans  <wim@fluendo.com>
23535
23536         * tests/sched/Makefile.am:
23537         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23538         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23539
23540 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23541
23542         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23543           apparently converting from guint64 to double is not implemented
23544           on MSVC
23545
23546 2005-10-10  Wim Taymans  <wim@fluendo.com>
23547
23548         * check/Makefile.am:
23549         * check/generic/states.c: (GST_START_TEST):
23550         * check/gst/gstbin.c: (GST_START_TEST):
23551         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23552         * check/states/sinks.c: (GST_START_TEST):
23553         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23554         (main):
23555         Check fixes, use API as stated in design docs, remove hacks.
23556
23557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23558         (gst_base_sink_change_state):
23559         Catch stopping our task while we're shutting down.
23560
23561         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23562         (gst_bin_remove_func), (gst_bin_get_state_func),
23563         (gst_bin_recalc_state), (gst_bin_change_state_func),
23564         (bin_bus_handler):
23565         * gst/gstbin.h:
23566         * gst/gstelement.c: (gst_element_init),
23567         (gst_element_get_state_func), (gst_element_abort_state),
23568         (gst_element_commit_state), (gst_element_lost_state),
23569         (gst_element_set_state), (gst_element_change_state),
23570         (gst_element_change_state_func):
23571         * gst/gstelement.h:
23572         New state change algorithm (see #318116)
23573
23574         * gst/gstpipeline.c: (gst_pipeline_class_init),
23575         (gst_pipeline_init), (gst_pipeline_set_property),
23576         (gst_pipeline_get_property), (do_pipeline_seek),
23577         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23578         * gst/gstpipeline.h:
23579         Remove crude state change hacks.
23580
23581         * gst/gstutils.h:
23582         Remove crude hacks.
23583
23584         * tools/gst-launch.c: (main):
23585         Fixes for state change. Needs some more work to fully use the
23586         new stuff.
23587
23588 2005-10-10  Andy Wingo  <wingo@pobox.com>
23589
23590         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23591
23592         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23593         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23594         issue.
23595
23596 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23597
23598         * gst/gstiterator.c: (gst_iterator_new):
23599           Fix my previous commit: GTypes passed to gst_iterator_new()
23600           can be fundamental types.
23601
23602 2005-10-10  Wim Taymans  <wim@fluendo.com>
23603
23604         * gst/gstelement.c: (gst_element_iterate_pad_list),
23605         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23606         (gst_element_iterate_sink_pads):
23607         Use src/sink pads lists for the respective iterators instead
23608         of filtering.
23609
23610 2005-10-10  Andy Wingo  <wingo@pobox.com>
23611
23612         Merged in popt removal + GOption addition patch from Ronald, bug
23613         #169772.
23614
23615         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23616         GstElement macros around, remove popt-related symbols, add goption
23617         stuff.
23618
23619         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23620         
23621         * docs/gst/Makefile.am:
23622         * docs/libs/Makefile.am: No POPT_CFLAGS.
23623         
23624         * examples/manual/Makefile.am:
23625         * docs/manual/basics-init.xml: Doc updates with an example.
23626         
23627         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23628         (gst_init), (parse_one_option), (parse_goption_arg):
23629         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23630         bit of hand merging and debugging to get the GOption stuff working
23631         tho.
23632         
23633         * tests/Makefile.am:
23634         * tools/Makefile.am:
23635         * tools/gst-inspect.c: (main):
23636         * tools/gst-launch.c: (main):
23637         * tools/gst-run.c: (main):
23638         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23639
23640 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23641
23642         * gst/gstiterator.c: (gst_iterator_new):
23643           Add assertions to make sure passed GType is likely to really
23644           be a GType (as the compiler won't catch it if the size and
23645           GType arguments get mixed up, see #318447).
23646
23647 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23648
23649         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23650
23651         * gst/gstbin.c: (gst_bin_iterate_sorted):
23652           Pass GType and size arguments to gst_iterator_new() in the right
23653           order (maybe we should make _new() take the GType as first argument
23654           just like _new_list()?) (#318447).
23655           
23656
23657 2005-10-10  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/gstelement.c: (gst_element_finalize):
23660         And free the GStaticRecMutex too
23661
23662 2005-10-10  Andy Wingo  <wingo@pobox.com>
23663
23664         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23665         Allocate and free the mutex properly.
23666
23667         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23668         New macros.
23669         (GstElement): The state_lock is now recursive. Rebuild your
23670         plugins, suckers. Old macros adapted.
23671
23672         * docs/gst/gstreamer-sections.txt: Doc updates.
23673
23674         * gst/gstutils.h:
23675         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23676         (g_static_rec_cond_wait): Ported from state changes patch, while
23677         we wait on bug #317802 to be solved in a well-distributed GLib.
23678
23679         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23680         gst_element_change_state, variable name changes.
23681         (gst_element_change_state): Split out of gst_element_set_state in
23682         preparation for the state change merge. Doesn't pay attention to
23683         the 'transition' argument.
23684         (gst_element_set_state): Updates, hopefully purely cosmetic.
23685         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23686         state change patch.
23687         (gst_element_get_state_func): Renamed from get_state, cosmetic
23688         changes.
23689
23690 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23691
23692         * gst/elements/gstelements.c:
23693         * win32/GStreamer.vcproj:
23694         * win32/config.h:
23695         * win32/dirent.c: (_tseekdir):
23696         * win32/gst-inspect.vcproj:
23697         * win32/gst-launch.vcproj:
23698         * win32/gstconfig.h:
23699         * win32/gstelements.vcproj:
23700         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23701         * win32/gstreamer.def:
23702         * win32/msvc71.sln:
23703           updates for the win32 build (patch from Sebastien Moutte)
23704
23705 2005-10-10  Andy Wingo  <wingo@pobox.com>
23706
23707         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23708         gst_bin_get_state, cleaned up (but no logic changes).
23709         (bin_element_is_sink): Comment updates.
23710         (sink_iterator_filter): Remove needless cast.
23711         (gst_bin_iterate_sinks): Doc update.
23712         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23713         cleaned up (but no logic changes).
23714
23715         * check/states/sinks.c (test_src_sink): Cleanups from the state
23716         change patch.
23717         (test_livesrc_sink): Sync on the state.
23718
23719         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23720         the state change patch.
23721
23722         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23723         change patch.
23724
23725         * check/gst/gstbin.c: Merge in some style fixes and additional
23726         checks from Wim's state change patch.
23727
23728 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23729
23730         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23731         (gst_type_find_helper):
23732           Check whether we have the requested data already in our list of
23733           cached buffers before pulling a new buffer; also make the buffer
23734           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23735
23736 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23737
23738         * gst/gstcaps.c:
23739         * gst/gstevent.c:
23740           doc updates
23741         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23742           don't use long long, it's not portable.  Replacing with
23743           gint64 seems to work; let's hope no skeletons fall out of the closet.
23744
23745 2005-10-10  Andy Wingo  <wingo@pobox.com>
23746
23747         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23748
23749 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23750
23751         * docs/gst/gstreamer-sections.txt:
23752         * gst/gstevent.c:
23753         * gst/gstevent.h:
23754         * gst/gstinfo.c:
23755         * gst/gstinfo.h:
23756         * gst/gstmessage.c: (gst_message_parse_state_changed):
23757         * gst/gstpad.c:
23758         * gst/gstpad.h:
23759           more docs, fix compilation
23760
23761 2005-10-09  Philippe Khalaf <burger@speedy.org>
23762         * gst/gstmessage.c:
23763           Fixed a few forgotten variables on previous commit
23764
23765 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23766
23767         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23768           Fix evil typefind crasher: getrange() might return a short
23769           buffer at the end of a file, but gst_type_find_peek() must
23770           either return the full data as requested or NULL, but
23771           never a short buffer.
23772
23773 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23774
23775         * gst/gstmessage.c: (gst_message_new_state_changed),
23776         (gst_message_parse_state_changed):
23777         * gst/gstmessage.h:
23778           don't use "new", it's a C++ keyword
23779
23780 2005-10-08  Wim Taymans  <wim@fluendo.com>
23781
23782         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23783         * gst/gstelement.c: (gst_element_post_message):
23784         * gst/gstpipeline.c: (gst_pipeline_change_state):
23785         Small docs and debug updates.
23786
23787 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23788
23789         * docs/gst/gstreamer-sections.txt:
23790         * gst/gstelementfactory.c:
23791         * gst/gstevent.c:
23792         * gst/gsttaglist.c:
23793           more docs
23794
23795 2005-10-08  Wim Taymans  <wim@fluendo.com>
23796
23797         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23798         (gst_bin_dispose), (bin_bus_handler):
23799         Fix typos, add comments.
23800         Clear EOS list when going to PAUSED from any direction and do it
23801         in a threadsafe way.
23802         Get base time in a threadsafe way too.
23803         Fix confusing debug in the change_state function.
23804         Various other small cleanups.
23805         
23806         * gst/gstelement.c: (gst_element_post_message):
23807         Fix very verbose bus posting code.
23808
23809         * gst/gstpipeline.c: (gst_pipeline_class_init),
23810         (gst_pipeline_set_property), (gst_pipeline_get_property),
23811         (gst_pipeline_change_state):
23812         Small ARG_ -> PROP_ cleanup
23813
23814 2005-10-08  Wim Taymans  <wim@fluendo.com>
23815
23816         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23817         Do a less CPU demanding EOS check because we can.
23818
23819 2005-10-08  Wim Taymans  <wim@fluendo.com>
23820
23821         * libs/gst/dataprotocol/dataprotocol.c:
23822         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23823         (gst_dp_packet_from_event):
23824         * libs/gst/dataprotocol/dataprotocol.h:
23825         * libs/gst/dataprotocol/dp-private.h:
23826         It's about time we bump the version number.
23827         Since event types don't fit in the guint8 anymore describing
23828         the payload type, make payload type 16 bits wide.
23829
23830 2005-10-08  Wim Taymans  <wim@fluendo.com>
23831
23832         * docs/design/part-TODO.txt:
23833         * docs/design/part-clocks.txt:
23834         * docs/design/part-events.txt:
23835         * docs/design/part-gstbin.txt:
23836         * docs/design/part-gstelement.txt:
23837         * docs/design/part-gstpipeline.txt:
23838         * docs/design/part-live-source.txt:
23839         * docs/design/part-messages.txt:
23840         * docs/design/part-overview.txt:
23841         * docs/design/part-states.txt:
23842         Many doc updates.
23843
23844 2005-10-08  Wim Taymans  <wim@fluendo.com>
23845
23846         * gst/gstevent.c:
23847         * gst/gstevent.h:
23848         Fix event quark registration.
23849         Add some space between events so we can insert them in the
23850         right groups.
23851
23852 2005-10-08  Wim Taymans  <wim@fluendo.com>
23853
23854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23855         (gst_base_sink_handle_buffer):
23856         Better log message.
23857
23858         * gst/gstbus.h:
23859         * gst/gstelement.h:
23860         More docs.
23861
23862         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23863         (gst_queue_set_property), (gst_queue_get_property):
23864         * gst/gstqueue.h:
23865         Remove old unused properties.
23866
23867 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23868         * docs/gst/gstreamer-sections.txt:
23869         * gst/gstmessage.c:
23870         * gst/gstmessage.h:
23871         * gst/gstminiobject.c:
23872         * gst/gstminiobject.h:
23873         * gst/gstobject.h:
23874         * gst/gstpad.h:
23875         * gst/gstutils.h:
23876           lots of new docs and doc fixes
23877
23878 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23881         * gst/gstplugin.h:
23882         * gst/gstregistry.c: (gst_registry_lookup_locked),
23883         (gst_registry_scan_path_level):
23884         * gst/gstregistryxml.c: (load_plugin):
23885           Only ever load one plugin for a given plugin basename.
23886           This ensures correct overriding of GST_PLUGIN_PATH over
23887           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23888           system installed plugins.
23889
23890 2005-10-08  Wim Taymans  <wim@fluendo.com>
23891
23892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23893         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23894         Prepare for doing QOS.
23895
23896 2005-10-08  Wim Taymans  <wim@fluendo.com>
23897
23898         * check/gst/gstbin.c: (GST_START_TEST):
23899         * check/pipelines/cleanup.c: (GST_START_TEST):
23900         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23901         Allow new clock message too.
23902
23903 2005-10-08  Wim Taymans  <wim@fluendo.com>
23904
23905         * gst/gstmessage.c: (gst_message_new_error),
23906         (gst_message_new_warning), (gst_message_new_tag),
23907         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23908         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23909         (gst_message_new_segment_start), (gst_message_new_segment_done),
23910         (gst_message_parse_state_changed),
23911         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23912         (gst_message_parse_new_clock):
23913         * gst/gstmessage.h:
23914         Also carry the clock in question.
23915
23916 2005-10-08  Wim Taymans  <wim@fluendo.com>
23917
23918         * gst/gstmessage.c: (gst_message_new_custom),
23919         (gst_message_new_eos), (gst_message_new_error),
23920         (gst_message_new_warning), (gst_message_new_tag),
23921         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23922         (gst_message_new_new_clock), (gst_message_new_segment_start),
23923         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23924         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23925         * gst/gstmessage.h:
23926         Clean up.
23927         Added clock related messages.
23928
23929         * gst/gstpipeline.c: (gst_pipeline_change_state):
23930         Post message when the clock changed.
23931
23932         * tools/gst-launch.c: (event_loop):
23933         Print new clock.
23934
23935 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23936
23937         * tools/gst-inspect.c: (print_element_properties_info):
23938           Can't pass NULL strings to g_print() on windows.
23939
23940 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23941
23942         * docs/Makefile.am:
23943         * docs/gst/Makefile.am:
23944         * docs/gst/gstreamer-docs.sgml:
23945         * docs/gst/running.xml:
23946         * docs/version.entities.in:
23947           add a chapter on running GStreamer.
23948           document GST_DEBUG and GST_PLUGIN* env vars
23949
23950 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23951
23952         * Makefile.am:
23953           remove include dir
23954         * configure.ac:
23955           remove PLUGINS_BUILDDIR stuff
23956         * gst/gst.c: (init_post):
23957           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23958         * idiottest.mak:
23959           remove, it was condescending and not needed
23960
23961 2005-10-08  Wim Taymans  <wim@fluendo.com>
23962
23963         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23964         (gst_base_sink_handle_object), (gst_base_sink_event),
23965         (gst_base_sink_wait), (gst_base_sink_handle_event),
23966         (gst_base_sink_change_state):
23967         * gst/base/gstbasesink.h:
23968         Repost EOS message while going to PLAYING if still EOS.
23969         Make sure that when receiving a FLUSH_START we don't attempt
23970         to sync on the clock anymore.
23971
23972 2005-10-08  Wim Taymans  <wim@fluendo.com>
23973
23974         * tools/gst-launch.c: (event_loop):
23975         Better message printout.
23976
23977 2005-10-08  Wim Taymans  <wim@fluendo.com>
23978
23979         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23980         (gst_bin_child_proxy_get_children_count):
23981         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23982         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23983         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23984         (gst_child_proxy_set_valist):
23985         * gst/parse/grammar.y:
23986         Make ChildProxy threadsafe and fix mem leaks.
23987
23988 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23989
23990         * gst/gst.c: (init_post):
23991           debug the GST_PLUGIN_ env vars
23992
23993 2005-10-08  Wim Taymans  <wim@fluendo.com>
23994
23995         * check/gst/gstbin.c: (GST_START_TEST):
23996         * check/gst/gstmessage.c: (GST_START_TEST):
23997         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23998         * gst/gstelement.c: (gst_element_commit_state),
23999         (gst_element_lost_state):
24000         * gst/gstmessage.c: (gst_message_new_state_changed),
24001         (gst_message_parse_state_changed):
24002         * gst/gstmessage.h:
24003         * tools/gst-launch.c: (event_loop):
24004         Added extra field to STATE_CHANGE message with the pending
24005         state, which will be different from the new state soon.
24006
24007 2005-10-08  Wim Taymans  <wim@fluendo.com>
24008
24009         * gst/gstbus.c: (gst_bus_pop):
24010         * gst/gstclock.c:
24011         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24012         Small cleanups and doc updates.
24013
24014 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24015
24016         * gst/gst.c: (init_pre):
24017         * gst/gstbin.c: (gst_bin_add_func):
24018           log distributing clocks and base time
24019         * gst/gstregistry.c: (gst_registry_add_plugin),
24020         (gst_registry_scan_path_level), (gst_registry_scan_path):
24021           clean up the debugging output a little
24022         * gst/gstutils.c: (gst_element_state_get_name):
24023           warn about a memleak (I've actually seen this be used, though
24024           it was probably a bug)
24025
24026 2005-10-07  Wim Taymans  <wim@fluendo.com>
24027
24028         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24029         (gst_base_src_init), (gst_base_src_default_newsegment),
24030         (gst_base_src_newsegment), (gst_base_src_do_seek),
24031         (gst_base_src_loop), (gst_base_src_start):
24032         * gst/base/gstbasesrc.h:
24033         Make the newsegment event customizable by subclasses.
24034
24035 2005-10-07  Wim Taymans  <wim@fluendo.com>
24036
24037         * gst/gstevent.c: (gst_event_new_buffersize),
24038         (gst_event_parse_buffersize):
24039         * gst/gstevent.h:
24040         New event for future idea.
24041
24042 2005-10-07  Andy Wingo  <wingo@pobox.com>
24043
24044         * gst/gstelement.c (gst_element_post_message): Doc update.
24045
24046         * docs/gst/gstreamer-sections.txt: Update.
24047
24048         * gst/gstmessage.c (gst_message_new_application): Made into a
24049         function like honest API calls.
24050         (gst_message_new_element): New message type.
24051
24052         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24053
24054         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24055         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24056         times.
24057
24058         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24059         NO_PREROLL from gst_element_change_state to fall through.
24060
24061 2005-10-07  Wim Taymans  <wim@fluendo.com>
24062
24063         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24064         (gst_ghost_pad_do_activate_push):
24065         Activating a ghostpad with no internal pad in push mode
24066         is ok.
24067
24068 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24069
24070         * gst/gstobject.h:
24071           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24072           Fixes compilation on Windows.
24073
24074 2005-10-07  Michael Smith <msmith@fluendo.com>
24075
24076         * tools/gst-inspect.c:
24077           Print out feature and plugin count at the end when printing out
24078           all features.
24079
24080 2005-10-04  Michael Smith <msmith@fluendo.com>
24081
24082         * gst/gsterror.c: (_gst_stream_errors_init):
24083           Add another error string used in a few existing plugins.
24084
24085         * gst/gstplugin.c:
24086         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24087         * tools/gst-inspect.c: (print_element_info):
24088           When a feature disappears from a plugin (and the feature exists in
24089           the cached registry file), things went horribly wrong. This isn't a
24090           complete fix, we should actually be removing the 'missing' features
24091           from the features list when we load the actual plugin. That's not
24092           yet implemented. 
24093
24094 2005-10-04  Johan Dahlin  <johan@gnome.org>
24095
24096         * check/gst/gstiterator.c: (GST_START_TEST):
24097         * gst/gstbin.c: (gst_bin_iterate_elements),
24098         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24099         * gst/gstelement.c: (gst_element_iterate_pads):
24100         * gst/gstformat.c: (gst_format_iterate_definitions):
24101         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24102         (gst_iterator_new_list), (gst_iterator_filter):
24103         * gst/gstiterator.h:
24104         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24105         Add a GType to GstIterator, update callsites and tests.
24106
24107 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24108
24109         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24110           give events a chance to be handled by event probes when the pad
24111           is not linked
24112
24113 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24114
24115         * gst/gstevent.c: (gst_event_type_get_name),
24116         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24117         * gst/gstevent.h:
24118           add string representations for event types
24119
24120 2005-10-06  Wim Taymans  <wim@fluendo.com>
24121
24122         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24123         Don't use NULL pointers.
24124
24125 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24126
24127         * gst/gst_private.h:
24128         * gst/gstbus.c:
24129         * gst/gstelement.c:
24130         * gst/gstinfo.c:
24131         * gst/gstpluginfeature.c:
24132           widen the debug category in output to fit the biggest one we have
24133           add a bus category and use it
24134           play with the colors
24135           fix up some categories
24136
24137 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24138
24139         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24140           add push activation of sink ghost pads.
24141           Andye, please verify
24142
24143 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24144
24145         * gst/gstutils.c: (gst_element_link_pads):
24146           fix a bug in the case where neither element has a pad
24147         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24148           add a test for that case
24149
24150 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24151
24152         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24153           emit have-data before checking for peers.  This allows
24154           for probe handlers to connect elements.  This helps autopluggers.
24155         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24156         (gst_pad_suite):
24157           add six checks, linked/unlinked with no/true/false probe
24158
24159 2005-10-04  Wim Taymans  <wim@fluendo.com>
24160
24161         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24162         (gst_fake_sink_event), (gst_fake_sink_preroll),
24163         (gst_fake_sink_render), (gst_fake_sink_change_state):
24164         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24165         (gst_fake_src_get_property), (gst_fake_src_create),
24166         (gst_fake_src_stop):
24167         * gst/elements/gstidentity.c: (gst_identity_stop):
24168         Protect last_message with lock.
24169
24170 2005-10-04  Edward Hervey  <edward@fluendo.com>
24171
24172         * gst/gstformat.h: 
24173         Added precision in the comments for GST_FORMAT_DEFAULT
24174
24175 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24176
24177         * tools/gst-launch.c: (main):
24178           Don't try to run erroneous pipelines.
24179
24180 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24181
24182         * gst/gstbus.c: We don't need this header.
24183
24184 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24185
24186         * configure.ac:
24187           back to development
24188
24189 === release 0.9.3 ===
24190
24191 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24192
24193         * README:
24194         * configure.ac:
24195           Releasing 0.9.3, "Unregistered"
24196
24197 2005-10-03  Andy Wingo  <wingo@pobox.com>
24198
24199         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24200         whereby calling a pad's activatepush() function can start a thread
24201         that starts to push or pull before the pad gets the FLUSHING flag
24202         unset. Hack around it by holding the stream lock until the flag is
24203         set. Need to replace this with a proper solution. Together with
24204         the ghost pad fixes, this fixes mp3 playing/tagreading.
24205
24206         * docs/design/part-gstghostpad.txt: Add a note about activation of
24207         proxy pads outside of ghost pads.
24208
24209         * gst/gstghostpad.c: Implement the ghost pad activation design.
24210
24211 2005-10-02  Andy Wingo  <wingo@pobox.com>
24212
24213         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24214         It is volatile, after all.
24215
24216         * docs/design/part-gstghostpad.txt: Flesh out activation with
24217         ghost pads.
24218
24219         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24220         GST_DEBUG_FUNCPTR.
24221
24222 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24223
24224         * configure.ac:
24225           Fix (unused) AM_CONDITIONAL tests.
24226
24227 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24228
24229         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24230
24231         * gst/gstutils.c: (gst_pad_query_convert):
24232           Add assertion that makes sure src_val is >=0, just like
24233           gst_query_new_convert() has. (#315895)
24234
24235 2005-09-30  Edward Hervey  <edward@fluendo.com>
24236
24237         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24238         Let's not iterate pads we're not interested in, it avoids getting 
24239         sky-high refcounts on sinkpad.
24240
24241 2005-09-30  Wim Taymans  <wim@fluendo.com>
24242
24243         * gst/gstelement.c: (gst_element_set_state),
24244         (gst_element_change_state):
24245         Small tweak, element in ASYNC remains ASYNC.
24246
24247 2005-09-30  Wim Taymans  <wim@fluendo.com>
24248
24249         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24250         Only error is an error.
24251
24252         * gst/gstbin.c: (gst_bin_change_state):
24253         Better debugging.
24254
24255         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24256         Also call pad_block in pad alloc.
24257
24258         * gst/gstutils.c: (gst_flow_get_name):
24259         Better debugging.
24260
24261 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24262
24263         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24264         (gst_base_src_get_range):
24265           Fix documentation typos. Add some more debug info.
24266
24267 2005-09-29  David Schleef  <ds@schleef.org>
24268
24269         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24270           more end-user friendly.
24271         * tools/gst-inspect.c: (main): Check if command-line argument is
24272           a file and attempt to load that file as a plugin.
24273
24274 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24275
24276         * check/gst/gstbin.c:
24277         * check/states/sinks.c:
24278           fix tests for the new warning
24279         * check/gst/gstpipeline.c:
24280           add a test for pipeline and bus interaction
24281         * gst/gstelement.c:
24282           elements should be NULL if they get disposed; add a warning if not
24283
24284 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24285
24286         * gst/gstobject.c:
24287           for 2.6 refcounting, make debug log more correct by printing
24288           the actual refcounts at the time of swap (Wim)
24289
24290 2005-09-29  Andy Wingo  <wingo@pobox.com>
24291
24292         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24293         removes signal watches previously added via
24294         gst_bus_add_signal_watch.
24295         (gst_bus_add_signal_watch): Don't return the source id, just store
24296         it on the bus if there wasn't an id already.
24297
24298         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24299         add_signal_watch and remove_signal_watch.
24300
24301 2005-09-29  Edward Hervey  <edward@fluendo.com>
24302
24303         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24304         Better if we actually iterate the list :)
24305
24306 2005-09-29  Wim Taymans  <wim@fluendo.com>
24307
24308         * check/gst/gstbin.c: (GST_START_TEST):
24309         Change for new bus API.
24310
24311         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24312         (send_messages), (GST_START_TEST), (gstbus_suite):
24313         Change for new bus signal API.
24314
24315         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24316         (gst_bus_source_prepare), (gst_bus_source_check),
24317         (gst_bus_create_watch), (gst_bus_add_watch_full),
24318         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24319         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24320         * gst/gstbus.h:
24321         Remove support for multiple GSources operating on different
24322         message types as it is too complex and unneeded when using
24323         signals.
24324         Added support for receiving signals from the bus.
24325
24326 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24327
24328         * docs/libs/tmpl/gstdataprotocol.sgml:
24329         * docs/manual/advanced-dataaccess.xml:
24330         * gst/elements/gstcapsfilter.c:
24331         * gst/gstutils.c:
24332           rename filter-caps to caps property
24333
24334 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24335
24336         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24337           More robust fraction string parsing.
24338
24339         * docs/pwg/appendix-porting.xml:
24340           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24341
24342 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24343
24344         * gst/gstcaps.c: (gst_caps_do_simplify):
24345           Thou shalt not free a structure and then continue using it
24346           in the next loop iteration.
24347
24348         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24349         (gst_caps_suite):
24350           Add test case for caps simplification.
24351
24352 2005-09-29  Wim Taymans  <wim@fluendo.com>
24353
24354         * check/gst/gstbin.c: (GST_START_TEST):
24355         Oops.
24356
24357 2005-09-29  Wim Taymans  <wim@fluendo.com>
24358
24359         * check/gst/gstbin.c: (GST_START_TEST):
24360         Add bus to bin.
24361
24362         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24363         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24364         (find_element), (gst_bin_sort_iterator_next),
24365         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24366         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24367         (gst_bin_change_state), (gst_bin_dispose):
24368         A bin does not have a bus, it gets the bus from the parent.
24369
24370         * gst/gstelement.c: (gst_element_requires_clock),
24371         (gst_element_provides_clock), (gst_element_is_indexable),
24372         (gst_element_is_locked_state), (gst_element_change_state),
24373         (gst_element_set_bus_func):
24374         Small cleanups.
24375
24376         * gst/gstpipeline.c: (gst_pipeline_class_init),
24377         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24378         The pipeline provides a bus.
24379
24380 2005-09-28  Johan Dahlin  <johan@gnome.org>
24381
24382         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24383         gst_structure_get_enum instead of gst_structure_get_int
24384
24385         * gst/gststructure.c (gst_structure_get_enum): Impl.
24386
24387         * gst/gststructure.h (gst_structure_get_enum): Add
24388
24389         * docs/gst/gstreamer-sections.txt: Ditto
24390
24391         * gst/gstmessage.c (gst_message_new_state_changed): Use
24392         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24393         which does introspection.
24394         Reviewed by Christian Schaller
24395
24396 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24397
24398         * gst/gstinfo.c: (gst_debug_log_default):
24399           don't do dummy g_strdup()s
24400         * libs/gst/controller/gstcontroller.c:
24401         (on_object_controlled_property_changed),
24402         (gst_controlled_property_new), (gst_controller_new_valist),
24403         (gst_controller_new_list),
24404         (gst_controller_remove_properties_valist), (gst_controller_set),
24405         (gst_controller_get), (gst_controller_sync_values),
24406         (gst_controller_get_value_array), (_gst_controller_class_init),
24407         (gst_controller_get_type):
24408         * libs/gst/controller/gstcontroller.h:
24409         * libs/gst/controller/gstinterpolation.c:
24410         (gst_controlled_property_find_timed_value_node):
24411           convert // to /**/ comments
24412
24413 2005-09-28  Wim Taymans  <wim@fluendo.com>
24414
24415         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24416         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24417         (gst_bus_sync_signal_handler):
24418         * gst/gstbus.h:
24419         Added async-message and sync-message signals to the bus.
24420         Added helper BusFunc to emit signals for all posted messages.
24421
24422         * gst/gstmessage.c: (gst_message_type_get_name),
24423         (gst_message_type_to_quark), (gst_message_get_type):
24424         * gst/gstmessage.h:
24425         Register quarks for message names.
24426
24427 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24428
24429         * docs/libs/gstreamer-libs-sections.txt:
24430         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24431         (gst_controller_new_list):
24432         * libs/gst/controller/gstcontroller.h:
24433           added another constructor for language bindings
24434
24435 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24436
24437         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24438           add another check
24439         * gst/gstbus.c:
24440           add some doc
24441         * gst/gstinfo.c: (_gst_debug_init):
24442           slightly more readable color for refcount debugging
24443
24444 2005-09-28  Wim Taymans  <wim@fluendo.com>
24445
24446         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24447         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24448         (find_element), (gst_bin_sort_iterator_next),
24449         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24450         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24451         (gst_bin_change_state), (gst_bin_dispose):
24452         Small doc fixes. get_clock -> provide_clock.
24453
24454         * gst/gstelement.c: (gst_element_class_init),
24455         (gst_element_provides_clock), (gst_element_provide_clock),
24456         (gst_element_get_clock), (gst_element_commit_state),
24457         (gst_element_lost_state):
24458         * gst/gstelement.h:
24459         Make get/set_clock() symetric. Add provide_clock vmethod since
24460         that is actually what this function does.
24461
24462         * gst/gstpipeline.c: (gst_pipeline_class_init),
24463         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24464         (gst_pipeline_get_clock):
24465         get_clock -> provide_clock.
24466
24467 2005-09-28  Andy Wingo  <wingo@pobox.com>
24468
24469         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24470         lieu of real docs...
24471
24472         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24473
24474 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24475
24476         * gst/elements/gstcapsfilter.c:
24477         * gst/elements/gstfakesink.c:
24478         * gst/elements/gstfakesrc.c:
24479         * gst/elements/gstfdsink.c:
24480         * gst/elements/gstfdsrc.c:
24481         * gst/elements/gstfilesink.c:
24482         * gst/elements/gstfilesrc.c:
24483         * gst/elements/gstidentity.c:
24484         * gst/elements/gsttee.c:
24485         * gst/elements/gsttypefindelement.c:
24486           Make element details static.
24487
24488 2005-09-28  Wim Taymans  <wim@fluendo.com>
24489
24490         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24491         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24492         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24493         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24494         (gst_bin_change_state), (gst_bin_dispose):
24495         Some documentation updates.
24496         Clean up dispose handlers.
24497
24498         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24499         * gst/gstpad.c: (gst_pad_dispose):
24500         Clean up dispose handler.
24501
24502         * gst/gstpipeline.c: (gst_pipeline_change_state):
24503         Removed spurious UNLOCK.
24504
24505 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24506
24507         * docs/gst/gstreamer-sections.txt:
24508         * gst/base/gstbasesrc.h:
24509         * gst/gstelement.h:
24510         * gst/gstevent.h:
24511         * gst/gstobject.h:
24512         * gst/gstpad.h:
24513         * gst/gstpipeline.c:
24514         * gst/gstpipeline.h:
24515         * gst/gstutils.h:
24516         * gst/gstxml.h:
24517           added two new functions to the docs
24518                 documents all undocumented GstXXXFlags
24519                 completed some incomplete docs 
24520
24521 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24522
24523         * gst/gstbin.c: (gst_bin_dispose):
24524         * gst/gstelement.c: (gst_element_dispose):
24525           remove now useless and leaky resurrection code in dispose
24526         * gst/base/gstbasesrc.c: (gst_base_src_init):
24527         * gst/gstelementfactory.c: (gst_element_factory_create):
24528         * gst/gstobject.c: (gst_object_set_parent):
24529           add some debugging
24530
24531 2005-09-27  Wim Taymans  <wim@fluendo.com>
24532
24533         * docs/design/part-TODO.txt:
24534         Update TODO.
24535
24536         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24537         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24538         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24539         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24540         (gst_bin_change_state):
24541         * gst/gstelement.h:
24542         Remove element variable, we keep element info in the iterator now.
24543
24544 2005-09-27  Andy Wingo  <wingo@pobox.com>
24545
24546         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24547         values.
24548
24549 2005-09-27  Wim Taymans  <wim@fluendo.com>
24550
24551         * check/gst/gstbin.c: (GST_START_TEST):
24552         Enable check that works now.
24553
24554         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24555         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24556         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24557         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24558         (gst_bin_change_state):
24559         * gst/gstbin.h:
24560         Redid the state change algorithm using a topological sort algo.
24561         Handles all cases correctly.
24562         Exposed iterator for state change order.
24563
24564         * gst/gstelement.h:
24565         Temp storage for state changes. Need to get rid of this soon.
24566
24567 2005-09-27  Wim Taymans  <wim@fluendo.com>
24568
24569         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24570         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24571         (link_fold_func), (gst_pad_proxy_setcaps):
24572         Leak fixes, the fold functions need to unref the passed object and
24573         _get_parent_*() returns ref to parent.
24574
24575 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24576
24577         * check/gst/gstbuffer.c: (test_make_writable):
24578           Plug leak in test case and fix 'make check-valgrind'
24579
24580 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24581
24582         * gst/gstbuffer.c: (gst_subbuffer_init):
24583           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24584           works correctly in all circumstances (we could have just copied
24585           the parent buffer's readonly flag, but conceptually it seems
24586           cleaner to mark all subbuffers as read-only). (based on patch
24587           by Alessandro Decina, #314710).
24588         
24589         * check/gst/gstbuffer.c: (create_read_only_buffer),
24590         (test_make_writable), (test_subbuffer_make_writable),
24591         (gst_test_suite):
24592           Add some tests for gst_buffer_make_writable().
24593
24594 2005-09-27  Wim Taymans  <wim@fluendo.com>
24595
24596         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24597         use gst_object_has_ancestor().
24598
24599         * gst/gstobject.c: (gst_object_has_ancestor):
24600         * gst/gstobject.h:
24601         gst_object_has_ancestor() copied from gstbin.c as it is a
24602         useful function.
24603
24604         * tests/instantiate/create.c: (create_all_elements):
24605         * tests/lat.c: (handoff_src), (handoff_sink):
24606         * tests/sched/runxml.c: (main):
24607         * tests/seeking/seeking1.c: (main):
24608         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24609         (main):
24610         Fix compilation of some tests.
24611
24612 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24613
24614         * gst/gsterror.h:
24615           Remove comment. GST_TYPE_G_ERROR is here to stay,
24616           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24617           (#316961, #300610).
24618
24619 2005-09-26  Wim Taymans  <wim@fluendo.com>
24620
24621         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24622         Added check that shows error in state change order.
24623
24624 2005-09-26  Wim Taymans  <wim@fluendo.com>
24625
24626         * gst/gstbin.c: (gst_bin_change_state):
24627         Make state change function use 3 queues again, we were
24628         adding elements in the wrong order.
24629
24630         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24631         Some debug info,
24632
24633         * gst/gstpad.c: (gst_pad_dispose):
24634         Added some debug info first.
24635
24636 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24637
24638         * docs/design/draft-push-pull.txt:
24639         * docs/design/part-events.txt:
24640         * docs/design/part-overview.txt:
24641         * docs/design/part-scheduling.txt:
24642           Replace all _pull_region() with _pull_range()
24643           
24644 2005-09-26  Andy Wingo  <wingo@pobox.com>
24645
24646         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24647
24648         * check/gst-libs/controller.c: Update for controller api change.
24649
24650         * configure.ac: 
24651         * tests/Makefile.am:
24652         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24653         over by GLib bug 118439.
24654         
24655         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24656         routines to a function.
24657
24658         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24659
24660         * libs/gst/controller/gsthelper.c:
24661         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24662         (gst_object_sync_values): Renamed from sink_values. Ugh.
24663
24664         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24665
24666         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24667         Renamed from controller_key, as it is exported.
24668
24669         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24670
24671 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24672
24673         * gst/Makefile.am:
24674         * gst/gst.h:
24675         * gst/gstpad.h:
24676         * gst/gstpadtemplate.h:
24677         * gst/gstquery.c:
24678         * gst/gstquery.h:
24679         * gst/gstqueryutils.c:
24680         * gst/gstqueryutils.h:
24681           remove queryutils headers after moving the two used functions
24682           to gstquery.  also fixes build problem for gstsiddec
24683
24684 2005-09-26  Michael Smith <msmith@fluendo.com>
24685
24686         * tools/gst-launch.1.in:
24687         Correct documentation in manpage of debug syntax
24688
24689 2005-09-26  Wim Taymans  <wim@fluendo.com>
24690
24691         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24692         (gst_base_src_is_seekable), (gst_base_src_change_state):
24693         Some more debugging info.
24694
24695 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24696
24697         * docs/gst/gstreamer-sections.txt:
24698         * gst/base/gstbasetransform.h:
24699         * gst/gstindex.h:
24700           added more docs
24701
24702 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24703
24704         * docs/gst/.cvsignore:
24705         * docs/gst/tmpl/.cvsignore:
24706         * docs/gst/tmpl/gstpipeline.sgml:
24707         * docs/gst/tmpl/gstplugin.sgml:
24708         * gst/gstpipeline.c:
24709         * gst/gstplugin.c:
24710         * gst/gstplugin.h:
24711           inlined the last two docs files
24712           removed the tmpl directory from cvs (no more conflicts here!)
24713
24714 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24715
24716         * docs/gst/gstreamer-sections.txt:
24717         * docs/gst/tmpl/.cvsignore:
24718         * docs/gst/tmpl/gstpad.sgml:
24719         * docs/gst/tmpl/gstpadtemplate.sgml:
24720         * gst/Makefile.am:
24721         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24722         (gst_pad_finalize), (gst_pad_set_pad_template):
24723         * gst/gstpad.h:
24724         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24725         (gst_pad_template_class_init), (gst_pad_template_init),
24726         (gst_pad_template_dispose), (name_is_valid),
24727         (gst_static_pad_template_get), (gst_pad_template_new),
24728         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24729         (gst_pad_template_pad_created):
24730         * gst/gstpadtemplate.h:
24731           inlined two more docs
24732           factored gstpadtemplate out of gstpad
24733
24734 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24735
24736         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24737         (test_children_state_change_order_semi_sink):
24738           Fix test case: we can't rely on a fixed state change order when
24739           going from READY => PAUSED because the sink might commit its 
24740           new state first when the first buffer created by the source 
24741           reaches the sink before the source has finished its change state.
24742           (Test case still fails at times, see #316856, comment 5 onwards)
24743
24744 2005-09-24  Wim Taymans  <wim@fluendo.com>
24745
24746         * docs/design/part-events.txt:
24747         * docs/design/part-gstbus.txt:
24748         * docs/design/part-gstpipeline.txt:
24749         * docs/design/part-messages.txt:
24750         * docs/design/part-overview.txt:
24751         * docs/design/part-segments.txt:
24752         * gst/gstbin.c:
24753         * gst/gstbuffer.c:
24754         * gst/gstclock.c:
24755         * gst/gstelement.c:
24756         * gst/gstevent.c:
24757         * gst/gstfilter.c:
24758         * gst/gstiterator.c:
24759         Various documentation updates.
24760
24761 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24762
24763         * gst/gstclock.h:
24764           Well, that's embarassing.  Luckily we weren't using
24765           GST_CLOCK_DIFF anywhere.
24766
24767 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24768
24769         * common/gtk-doc.mak:
24770           don't fail on building XML, FC4 slave shows a bunch of doc
24771           missing bits that I don't get
24772         * gst/gstpad.c:
24773         * gst/gstpipeline.c:
24774         * gst/gststructure.c:
24775           some doc updates
24776
24777 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24778
24779         * docs/design/part-gstbin.txt:
24780         * docs/design/part-gstbus.txt:
24781         * gst/gstbus.c:
24782           Add blurb about how the bus goes into flushing mode and
24783           drops all messages when its bin goes from READY into NULL 
24784           state.
24785
24786 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24787
24788         * docs/gst/gstreamer-sections.txt:
24789         * gst/gststructure.c: (gst_structure_get_clock_time):
24790         * gst/gststructure.h:
24791           add a method to get a GstClockTime out of a structure
24792
24793 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24794
24795         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24796         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24797           Added test to check state change order in bins (can still be made
24798           to fail here under heavy disk load; bails out with 'Push on pad
24799           fakesink:sink0, but it was not activated in push mode').
24800
24801         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24802           Fix state change order when there is only a semi sink (#316856)
24803
24804         * gst/gstbus.c: (gst_bus_class_init):
24805           Use _class_peek_parent(), not _class_ref(); fix docs to say
24806           'default main context' instead of 'mainloop' where that is
24807           what's meant.
24808
24809         * gst/gstelement.c: (gst_element_commit_state),
24810         (gst_element_set_state):
24811           Fix typos in debug messages
24812
24813 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24814
24815         * docs/README:
24816         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24817         * gst/gstpluginfeature.c:
24818         * gst/gstutils.c:
24819           various doc updates
24820         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24821           change an assert into an error until it gets fixed properly
24822
24823 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24824
24825         * docs/gst/gstreamer-sections.txt:
24826         * docs/gst/tmpl/.cvsignore:
24827         * docs/gst/tmpl/gstelement.sgml:
24828         * docs/gst/tmpl/gstinfo.sgml:
24829         * docs/gst/tmpl/gstobject.sgml:
24830         * gst/gstelement.c:
24831         * gst/gstelement.h:
24832         * gst/gstinfo.c:
24833         * gst/gstinfo.h:
24834         * gst/gstobject.c: (gst_object_class_init):
24835         * gst/gstobject.h:
24836           inlined 3 more biiiig doc files and added some missing docs on the fly
24837
24838 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24839
24840         * check/gst/.cvsignore:
24841         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24842         * gst/gstregistryxml.c: (load_plugin),
24843         (gst_registry_xml_save_plugin):
24844           put back source in registry.  add checks for find_plugin.
24845         * testsuite/states/bin.c: (assert_state), (empty_bin),
24846         (test_adding_one_element), (main):
24847         * testsuite/states/locked.c: (main):
24848           some compile/run fixes
24849
24850 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24851
24852         * check/gst/gstvalue.c: (GST_START_TEST):
24853           fix leaks in the test itself
24854
24855 2005-09-22  Wim Taymans  <wim@fluendo.com>
24856
24857         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24858         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24859         (gst_base_sink_query):
24860         Prepare for more accurate position reporting and query
24861         handling.
24862
24863         * gst/gstelement.c: (gst_element_send_event),
24864         (gst_element_set_state):
24865         Add some comment.
24866
24867 2005-09-22  Wim Taymans  <wim@fluendo.com>
24868
24869         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24870         (gst_query_parse_segment):
24871         * gst/gstquery.h:
24872         More documentation.
24873         Add segment query for future use.
24874
24875 2005-09-22  Wim Taymans  <wim@fluendo.com>
24876
24877         * gst/gstbin.c: (gst_bin_add_func):
24878         Some more debug info.
24879
24880         * gst/gstelement.c: (gst_element_send_event):
24881         Simplify send_event
24882
24883         * gst/gstelement.h:
24884         Don't know how flags got broken.
24885
24886         * gst/gstquery.h:
24887         Added new query.
24888
24889 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24890
24891         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24892           Add simplistic test suite for GST_TYPE_DATE serialisation and
24893           deserialisation.
24894
24895 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24896
24897         * docs/gst/gstreamer-sections.txt:
24898         * gst/gststructure.c: (gst_structure_set_valist),
24899         (gst_structure_get_date):
24900         * gst/gststructure.h:
24901         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24902         (gst_date_copy), (gst_value_compare_date),
24903         (gst_value_serialize_date), (gst_value_deserialize_date),
24904         (gst_value_transform_date_string),
24905         (gst_value_transform_string_date), (_gst_value_initialize):
24906         * gst/gstvalue.h:
24907           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24908           bunch of utility functions along with a hack that checks that
24909           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24910           is required. Part of the grand scheme in #170777.
24911
24912 2005-09-22  Andy Wingo  <wingo@pobox.com>
24913
24914         * gst/gstconfig.h.in: Psych out gtk-doc.
24915
24916         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24917
24918         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24919
24920         * tools/gst-inspect.c (print_element_list): Plug some
24921         inconsequential leaks.
24922
24923         * gst/gstregistry.c (gst_registry_get_default): Doc.
24924
24925         * check/gst/gstplugin.c: 
24926         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24927         * gst/gstelementfactory.c (gst_element_factory_create): 
24928         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24929         refcount changes.
24930
24931         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24932         (gst_plugin_feature_load): Doc, don't eat refs.
24933
24934         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24935         (gst_plugin_list_free): Doc.
24936         (gst_plugin_load_file): Doc updates.
24937
24938         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24939         accessors returning refcounted objects, return a ref.
24940
24941         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24942         accessor for caps. IDEMPOTENCE. Oh yes.
24943
24944 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24945
24946         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24947
24948         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24949         (_gst_debug_register_funcptr):
24950           Add mutex to serialise access to the hash table with
24951           the function pointer => function name string mapping;
24952           make that hash table static scope (#316809).
24953
24954         * gst/registries/.cvsignore:
24955           Remove left-over file.
24956
24957 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24958
24959         * docs/pwg/appendix-porting.xml:
24960           And something about newsegment events and caps-on-buffers to
24961           the porting guide (feel free to improve).
24962
24963 2005-09-21  Andy Wingo  <wingo@pobox.com>
24964
24965         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24966         data and event probes on the same pad.
24967         (test_buffer_probe_once): Test that removing probes from within
24968         the probe functions works.
24969
24970 2005-09-21  Andy Wingo  <wingo@pobox.com>
24971
24972         * check/gst/gstutils.c: New file.
24973         (test_buffer_probe_n_times): A simple buffer probe test. More to
24974         come, foolios.
24975
24976         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24977         have-data::buffer, not have-data.
24978         (gst_pad_add_event_probe): Likewise for have-data::event.
24979         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24980         peer' isn't quite right yet though.
24981         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24982         (gst_pad_remove_data_probe): Change to take the guint handler_id
24983         as their arg, not the function+data, which is more glib-like.
24984
24985         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24986         the signal emission to indicate if the data is a buffer or an
24987         event.
24988         (gst_pad_get_type): Initialize buffer and event quarks.
24989         (gst_pad_class_init): have-data is now a detailed signal, yes it
24990         is.
24991
24992 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24993
24994         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24995         * gst/gstutils.c: (gst_util_set_value_from_string),
24996         (gst_util_set_object_arg):
24997           Don't put functional code in g_return_if_fail() or
24998           g_return_val_if_fail() statements, otherwise things will 
24999           break when G_DISABLE_CHECKS is defined during compilation.
25000
25001 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25002
25003         * docs/gst/tmpl/.cvsignore:
25004         * docs/gst/tmpl/gstvalue.sgml:
25005         * gst/gstvalue.c:
25006         * gst/gstvalue.h:
25007           inlied another one and added  some obvious docs
25008
25009 2005-09-21  Wim Taymans  <wim@fluendo.com>
25010
25011         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25012         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25013         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25014         (gst_fdsrc_get_property), (gst_fdsrc_create):
25015         * gst/elements/gstfdsrc.h:
25016         Properly implement fdsrc. Removed signal and timeout,
25017         better implemented somewhere else.
25018
25019 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25020
25021         * docs/gst/tmpl/.cvsignore:
25022         * docs/gst/tmpl/gstimplementsinterface.sgml:
25023         * gst/gstinterface.c:
25024           inlined more docs
25025
25026 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25027
25028         * docs/gst/gstreamer-sections.txt:
25029         * docs/gst/tmpl/.cvsignore:
25030         * docs/gst/tmpl/gstenumtypes.sgml:
25031           remove obsolete doc file
25032
25033 2005-09-21  David Schleef  <ds@schleef.org>
25034
25035         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25036         little beer, fix a little leak.
25037
25038 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25039
25040         * docs/gst/gstreamer-docs.sgml:
25041         * docs/gst/gstreamer-sections.txt:
25042         * docs/gst/tmpl/.cvsignore:
25043         * gst/Makefile.am:
25044         * gst/gst.h:
25045         * gst/gstbin.c:
25046         * gst/gstelement.h:
25047         * gst/gstindex.c: (gst_index_class_init):
25048         * gst/gstindex.h:
25049         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25050         (gst_index_factory_class_init), (gst_index_factory_init),
25051         (gst_index_factory_finalize), (gst_index_factory_new),
25052         (gst_index_factory_destroy), (gst_index_factory_find),
25053         (gst_index_factory_create), (gst_index_factory_make):
25054         * gst/gstindexfactory.h:
25055         * gst/gstpluginfeature.c:
25056         * gst/gstpluginfeature.h:
25057         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25058           more docs inlined, splitted gstindex.{c,h}
25059
25060 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25061
25062         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25063           fix a leak
25064
25065 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25066
25067         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25068           Set sync to FALSE by default.
25069
25070 2005-09-20  Wim Taymans  <wim@fluendo.com>
25071
25072         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25073         (gst_base_sink_init):
25074         Make sync property settable from subclass.
25075
25076         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25077         (gst_fake_sink_change_state):
25078         Set sync to FALSE by default.
25079
25080 2005-09-20  Wim Taymans  <wim@fluendo.com>
25081
25082         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25083         * tools/gst-launch.c: (main):
25084         The timeout handler should have lower priority than the source
25085         so we don't timeout before popping a message with 0 timeout.
25086         Dump error messages after failed state change.
25087
25088 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25089
25090         * tools/gst-inspect.c: (print_element_properties_info):
25091           Fix two typos.
25092
25093 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25094
25095         * check/gst/gstevent.c:
25096         * gst/elements/gstfakesink.c:
25097         * gst/elements/gstfakesink.h:
25098           remove the sync property from fakesink.
25099           has the side effect of setting sync TRUE
25100           for fakesink, which is a change.  Anyone who knows how
25101           to fix this nicely in a GObject-y way, feel free.
25102
25103 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25104
25105         * docs/gst/gstreamer-docs.sgml:
25106           remove probe refsection
25107
25108 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25109
25110         * check/Makefile.am:
25111           disable valgrinding the controller test again
25112         * docs/gst/gstreamer-sections.txt:
25113           update for api-changes
25114
25115 2005-09-20  Wim Taymans  <wim@fluendo.com>
25116
25117         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25118         (gst_base_sink_set_property), (gst_base_sink_get_property),
25119         (gst_base_sink_do_sync):
25120         * gst/base/gstbasesink.h:
25121         Added sync property to basesink to disable clock sync.
25122
25123 2005-09-20  Andy Wingo  <wingo@pobox.com>
25124
25125         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25126         eating the caller's refcount.
25127
25128         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25129         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25130         refcount.
25131
25132         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25133         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25134         of GLib 2.8 public, so we can know which refcount to check in
25135         tests.
25136
25137         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25138         (gst_object_init): Only set the gst refcount if we're going ahead
25139         with the refcount hack.
25140
25141 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25142
25143         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25144         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25145           more leaks plumbed, added more debug-logging
25146         * gst/gstmacros.h:
25147           whitespace fix
25148
25149 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25150
25151         * gst/gstmessage.c:
25152           remove include of gstmemchunk.h
25153
25154 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25155
25156         * gst/gstclock.c: (_gst_clock_id_free):
25157           Commit from the Political Party For More Atomic CVS Commits,
25158           so that people don't waste too much of their day fishing
25159           out obvious leaks out of massive commits.
25160           Oh, and fix a pretty damn obvious leak in the memchunk
25161           removal code.
25162
25163 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25164
25165         * check/Makefile.am:
25166         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25167           plug mem-leak, re-add to valgrindable tests
25168
25169 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25170
25171         * gst/gstplugin.h:
25172           unbreak the build for those who have chronic arthritis
25173           and typing "make check" is just too taxing on the hands
25174
25175 2005-09-20  Andy Wingo  <wingo@pobox.com>
25176
25177         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25178         really want it out, you should fix plugins at the same time.
25179
25180 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25181
25182         * configure.ac:
25183         * docs/gst/gstreamer-sections.txt:
25184         * gst/gstobject.c:
25185           added missing symbols to api docs
25186           disable ref-count hack if we have glib >= 2.8
25187
25188 2005-09-19  David Schleef  <ds@schleef.org>
25189
25190         * docs/gst/Makefile.am: Ignore a few more internal headers
25191         * docs/gst/gstreamer-docs.sgml: Remove old sections
25192         * docs/gst/gstreamer-sections.txt: Remove old sections
25193         * docs/gst/tmpl/gstobject.sgml: update
25194         * docs/gst/tmpl/gstplugin.sgml: update
25195         * docs/gst/tmpl/gstpluginfeature.sgml: update
25196         * docs/random/ds/0.9-suggested-changes: update.
25197         * gst/Makefile.am: remove memchunk and trashstack, since they're
25198           not used.
25199         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25200         * gst/gst.h: don't include some headers
25201         * gst/gstchildproxy.c: add gstmarshal.h
25202         * gst/gstclock.c: Don't use memchunks
25203         * gst/gstminiobject.c: Add some docs
25204         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25205         * gst/gstobject.h: same
25206         * gst/gstplugin.c: include gstmacros.h
25207         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25208         * gst/gstquery.c: don't use memchunks
25209         * gst/gstregistry.c: rename gst_registry_deinit()
25210         * gst/gstregistry.h: same
25211
25212 2005-09-19  David Schleef  <ds@schleef.org>
25213
25214         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25215         * docs/libs/gstreamer-libs-sections.txt:
25216         * docs/libs/tmpl/gstgetbits.sgml:
25217         * docs/libs/tmpl/gstputbits.sgml:
25218
25219 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25220
25221         * win32/gstenumtypes.c:
25222         * win32/gstenumtypes.h:
25223           Update.
25224
25225 2005-09-19  Wim Taymans  <wim@fluendo.com>
25226
25227         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25228         Automatically PAUSE and RESUME a pipeline when a flushing seek
25229         is performed.
25230
25231 2005-09-19  Andy Wingo  <wingo@pobox.com>
25232
25233         * gst/gstregistry.h: Spacing fixen.
25234
25235 2005-09-19  Wim Taymans  <wim@fluendo.com>
25236
25237         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25238         Handle state change failure more correctly.
25239
25240 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25241
25242         * check/Makefile.am:
25243         * check/pipelines/cleanup.c: (run_pipeline):
25244         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25245         (GST_START_TEST):
25246           enable cleanup again after fixing the leak
25247         * docs/README:
25248           some more info on docs
25249
25250 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25251
25252         * check/Makefile.am:
25253           re-enable tests now that leaks are plugged
25254         * check/gst/gst.c:
25255         * check/gst/gstbin.c:
25256         * check/gst/gstpipeline.c:
25257           add some more tests while fixing leaks
25258         * common/check.mak:
25259           make sure binaries are uptodate when valgrinding/gdbing
25260         * gst/gst.c:
25261         * gst/gstelementfactory.c:
25262           remove a ref too many, and add a FIXME for when we get
25263           round to disposing of classes
25264         * gst/gstplugin.c:
25265           fix the refcounting when loading a plugin from a file and
25266           the code pretends that the pointer is the same even though
25267           of course it can change
25268         * gst/gstpluginfeature.c:
25269           unref plugins marked cached (a bit confusing as a name)
25270           as the docs state should be done
25271           various doc additions to explain refcounting
25272         * gst/gstregistry.c:
25273         * gst/gstregistryxml.c:
25274           debugging
25275
25276 2005-09-19  Wim Taymans  <wim@fluendo.com>
25277
25278         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25279         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25280         (send_messages), (GST_START_TEST), (gstbus_suite):
25281         * check/gst/gstpipeline.c: (GST_START_TEST):
25282         * check/pipelines/cleanup.c: (run_pipeline):
25283         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25284         (GST_START_TEST):
25285         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25286         (gst_bus_source_check), (gst_bus_source_dispatch),
25287         (gst_bus_create_watch), (gst_bus_add_watch_full),
25288         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25289         * gst/gstbus.h:
25290         * tools/gst-launch.c: (event_loop):
25291         * tools/gst-md5sum.c: (event_loop):
25292         GstBusHandler -> GstBusFunc, return value has the same meaning as
25293         any other GSource (FALSE == remove source).
25294         _add_watch() and _add_watch_full() now take a MessageType mask to
25295         only handle specific types of messages.
25296         _poll() returns the GstMessage instead of the message type to avoid
25297         race conditions.
25298         _have_pending() takes a MessageType mask now too.
25299         Added testsuite for multiple bus watches.
25300         Fix testsuites and applications for new bus API.
25301
25302 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25303
25304         * check/Makefile.am:
25305           mark a bunch of the tests as to fix until we fix them
25306
25307 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25308
25309         * common/check.mak:
25310           use GST_PLUGIN settings for valgrind tests as well, so we're
25311           valgrinding the correct thing
25312         * gst/gst.c: (init_post):
25313           plug another leak
25314
25315 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25316
25317         * gst/gst.c: (init_post), (gst_deinit):
25318         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25319         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25320         * gst/gstindex.c: (gst_index_factory_class_init),
25321         (gst_index_factory_finalize):
25322         * gst/gstobject.c: (gst_object_dispose):
25323         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25324         (gst_plugin_load_file), (gst_plugin_desc_free):
25325         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25326         (gst_plugin_feature_finalize):
25327         * gst/gstregistry.c: (gst_registry_class_init),
25328         (gst_registry_init), (gst_registry_finalize),
25329         (gst_registry_get_default), (gst_registry_deinit):
25330         * gst/gstregistry.h:
25331         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25332           various cleanups and memleak plugging.  make valgrind is happy now.
25333
25334 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25335
25336         * common/check.mak:
25337           add a check-valgrind target
25338
25339 2005-09-18  David Schleef  <ds@schleef.org>
25340
25341         * tools/gst-inspect.c: Revert the GOption code.
25342
25343 2005-09-17  David Schleef  <ds@schleef.org>
25344
25345         * check/Makefile.am: Fix environment variables.
25346         * check/gst/gstplugin.c: Fix for API changes.
25347         * tools/gst-inspect.c: Fix for API changes.
25348         * tools/gst-xmlinspect.c: Fix for API changes.
25349         * gst/gstelementfactory.c:
25350         * gst/gstplugin.c:
25351         * gst/gstplugin.h:
25352         * gst/gstpluginfeature.c:
25353         * gst/gstpluginfeature.h:
25354         * gst/gstregistry.c:
25355         * gst/gstregistry.h:
25356         * gst/gstregistryxml.c:
25357         * gst/gsttypefind.c:
25358         * gst/gsttypefindfactory.c:
25359         * gst/indexers/gstfileindex.c:
25360         * gst/indexers/gstmemindex.c:
25361         * gst/schedulers/Makefile.am:
25362           Change registry to keep track of both plugins and features,
25363           removing the feature tracking from plugins themselves.
25364
25365 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25366
25367         * check/Makefile.am:
25368         * tools/gst-register.1.in:
25369           remove gst-register
25370
25371 2005-09-15  David Schleef  <ds@schleef.org>
25372
25373         * check/gst/gstplugin.c:
25374         * gst/gstelementfactory.c:
25375         * gst/gstplugin.c:
25376         * gst/gstpluginfeature.c:
25377         * gst/gstregistry.c:
25378           Getting tired of debugging.  Disabled all the unreffing of
25379           plugins and features, which fixes the segfaults, but of
25380           course leaks like crazy.  At least playbin works.
25381
25382 2005-09-15  David Schleef  <ds@schleef.org>
25383
25384         * check/gst/gstplugin.c: (register_check_elements),
25385         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25386         More testing
25387         * gst/elements/gsttypefindelement.c: Fix refcounting.
25388         * gst/gsttypefind.c:
25389         * gst/gsttypefindfactory.c:
25390         * gst/gsttypefindfactory.h:
25391
25392 2005-09-15  David Schleef  <ds@schleef.org>
25393
25394         * gst/gstindex.c: get refcounting correct.
25395         * gst/gstregistry.c: Handle the case where a feature/plugin is
25396           not found.
25397
25398 2005-09-15  David Schleef  <ds@schleef.org>
25399
25400         * check/Makefile.am:
25401         * check/gst/gstplugin.c: Add test
25402         * gst/gstplugin.c: Fix problems noticed by testsuite
25403         * gst/gstplugin.h:
25404         * gst/gstregistry.c: 
25405         * gst/gstregistry.h:
25406
25407 2005-09-15  David Schleef  <ds@schleef.org>
25408
25409         * gst/gstplugin.c: Implement semi-decent recounting and locking
25410           in plugins and plugin features.
25411         * gst/gstplugin.h:
25412         * gst/gstpluginfeature.c:
25413         * gst/gstpluginfeature.h:
25414         * gst/gstregistry.c:
25415
25416 2005-09-15  Michael Smith <msmith@fluendo.com>
25417
25418         * gst/gstregistry.c: (gst_registry_get_feature_list):
25419           Implement this. Makes oggdemux work; decodebin still broken.
25420
25421 2005-09-14  David Schleef  <ds@schleef.org>
25422
25423         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25424           #316076)
25425         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25426         * gst/check/Makefile.am:
25427         * libs/gst/controller/Makefile.am:
25428         * libs/gst/dataprotocol/Makefile.am:
25429
25430 2005-09-14  David Schleef  <ds@schleef.org>
25431
25432         * configure.ac: Remove getbits library.  Nothing uses it, and
25433           it should be in something like liboil if someone did want
25434           to use it.
25435         * libs/gst/Makefile.am:
25436         * libs/gst/getbits/Makefile.am:
25437         * libs/gst/getbits/gbtest.c:
25438         * libs/gst/getbits/getbits.c:
25439         * libs/gst/getbits/getbits.h:
25440         * libs/gst/getbits/gstgetbits_generic.c:
25441         * libs/gst/getbits/gstgetbits_i386.s:
25442         * libs/gst/getbits/gstgetbits_inl.h:
25443
25444 2005-09-14  David Schleef  <ds@schleef.org>
25445
25446         * gst/Makefile.am: Dist glib-compat.h
25447
25448 2005-09-14  David Schleef  <ds@schleef.org>
25449
25450         * configure.ac: Remove gst/registries, since it's no longer used.
25451         * gst/registries/Makefile.am:
25452         * gst/registries/gstlibxmlregistry.c:
25453         * gst/registries/gstlibxmlregistry.h:
25454         * gst/registries/gstxmlregistry.c:
25455         * gst/registries/gstxmlregistry.h:
25456         * gst/registries/registrytest.c:
25457
25458 2005-09-14  David Schleef  <ds@schleef.org>
25459
25460         * gst/glib-compat.h:
25461         * gst/gstregistryxml.c:
25462           Convergence is near.  Seriously.
25463
25464 2005-09-14  David Schleef  <ds@schleef.org>
25465
25466         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25467         * gst/glib-compat.h:
25468           Attempt #4 to appease the buildbots.
25469
25470 2005-09-14  David Schleef  <ds@schleef.org>
25471
25472         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25473           Attempt #3.
25474
25475 2005-09-14  David Schleef  <ds@schleef.org>
25476
25477         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25478         Attempt #2.
25479
25480 2005-09-14  David Schleef  <ds@schleef.org>
25481
25482         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25483           the new functions.
25484
25485 2005-09-14  David Schleef  <ds@schleef.org>
25486
25487         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25488         * gst/glib-compat.h: Add some functions that are in newer versions
25489           of glib than we care to require.
25490         * gst/gstregistryxml.c: Use them.
25491
25492 2005-09-14  David Schleef  <ds@schleef.org>
25493
25494         * po/POTFILES.in: remove gst-register.c
25495
25496 2005-09-14  David Schleef  <ds@schleef.org>
25497
25498         * docs/gst/gstreamer-docs.sgml:
25499         * docs/gst/gstreamer-sections.txt:
25500         * docs/gst/gstreamer.types:
25501         * docs/gst/tmpl/gstelement.sgml:
25502         * docs/gst/tmpl/gstplugin.sgml:
25503         * docs/gst/tmpl/gstpluginfeature.sgml:
25504           Documentation updates for registry changes.
25505
25506 2005-09-14  David Schleef  <ds@schleef.org>
25507
25508         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25509           because we don't require glib-2.8.
25510
25511 2005-09-14  David Schleef  <ds@schleef.org>
25512
25513         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25514           registries directory.
25515
25516 2005-09-14  David Schleef  <ds@schleef.org>
25517
25518         * check/Makefile.am:
25519         * check/generic/states.c:
25520         * gst/Makefile.am:
25521         * gst/gst.c:
25522         * gst/gst.h:
25523         * gst/gst_private.h:
25524         * gst/gstelementfactory.c:
25525         * gst/gstindex.c:
25526         * gst/gstinfo.c:
25527         * gst/gstplugin.c:
25528         * gst/gstplugin.h:
25529         * gst/gstpluginfeature.c:
25530         * gst/gstpluginfeature.h:
25531         * gst/gstregistry.c:
25532         * gst/gstregistry.h:
25533         * gst/gstregistrypool.c: remove
25534         * gst/gstregistrypool.h: remove
25535         * gst/gsttypefind.c:
25536         * gst/gsttypefindfactory.c:
25537         * gst/gsturi.c:
25538         * tools/Makefile.am:
25539         * tools/gst-compprep.c:
25540         * tools/gst-inspect.c:
25541         * tools/gst-register.c: remove
25542         * tools/gst-xmlinspect.c:
25543           Registry rewrite.  Changes registry from being a file created
25544           by a tool into a simple cache file created automatically by 
25545           libgstreamer.  Removed gst-register (because it's no longer
25546           needed).  Remove registry pools, because we only have one
25547           registry implementation (XML).  Fix up other subsystems as
25548           necessary.
25549
25550 2005-09-13  Michael Smith <msmith@fluendo.com>
25551
25552         * gst/gstconfig.h.in:
25553           Don't Use windows linking attributes for MinGW. Fixes #316157
25554
25555 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25556
25557         * gst/gstutils.c: (set_state_async_thread_func),
25558         (gst_element_set_state_async):
25559           Apparently people think it's better if this function doesn't
25560           try to set the state to whatever state was asked for on the first
25561           call to this function for any object.  Seriously.
25562
25563 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25564
25565         * check/gst/gstpipeline.c: (GST_START_TEST):
25566         * docs/gst/gstreamer-sections.txt:
25567         * gst/gstutils.c: (set_state_async_thread_func),
25568         (gst_element_set_state_async):
25569         * gst/gstutils.h:
25570           add a "gst_element_set_state_async" method that
25571           sets the state and starts a thread to make sure the state
25572           change completes as best as it can
25573
25574 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25575
25576         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25577           codify design+behaviour in testsuite after discussion
25578
25579 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25580
25581         * docs/gst/tmpl/gstelement.sgml:
25582         * docs/manual/appendix-quotes.xml:
25583           add a quote
25584         * gst/gstelement.c: (gst_element_set_state):
25585           add some debug
25586
25587 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25588
25589         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25590         (gst_base_transform_prepare_output_buf),
25591         (gst_base_transform_handle_buffer):
25592         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25593         (gst_capsfilter_prepare_buf):
25594           Remove the requirement for sub-classes to call the parent
25595           implementation of prepare_output_buffer with a wrapper function.
25596           
25597         * gst/gsttaglist.h:
25598         * gst/gsttagsetter.h:
25599           Fix #define wrapper
25600
25601 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25602
25603         * docs/gst/gstreamer-sections.txt:
25604           more doc cleanups
25605
25606 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25607
25608         * docs/gst/gstreamer-sections.txt:
25609         * docs/gst/tmpl/gstelement.sgml:
25610         * docs/gst/tmpl/gstplugin.sgml:
25611         * gst/gstminiobject.c:
25612         * gst/gstvalue.h:
25613           docs now stop throwing warnings
25614
25615 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25616
25617         * docs/gst/gstreamer-sections.txt:
25618         * docs/gst/gstreamer.types:
25619         * docs/gst/tmpl/gstpad.sgml:
25620         * docs/gst/tmpl/gsttypes.sgml:
25621         * gst/base/gstadapter.h:
25622         * gst/base/gstbasesink.h:
25623         * gst/base/gstbasesrc.h:
25624         * gst/gstbin.h:
25625         * gst/gstbuffer.h:
25626         * gst/gstbus.h:
25627         * gst/gstcaps.h:
25628         * gst/gstclock.h:
25629         * gst/gstelement.h:
25630         * gst/gstevent.h:
25631         * gst/gstmessage.h:
25632         * gst/gstpad.h:
25633         * gst/gststructure.c:
25634         * gst/registries/gstlibxmlregistry.h:
25635           various documentation fixes
25636
25637 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25638
25639         * docs/gst/gstreamer-sections.txt:
25640         * docs/gst/tmpl/gstvalue.sgml:
25641           rearrange gstvalue section
25642         * gst/gstutils.c: (gst_element_state_get_name):
25643           NONE -> VOID
25644         * gst/gstvalue.c: (_gst_value_initialize):
25645         * gst/gstvalue.h:
25646           doc updates
25647
25648 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25649
25650         * check/gst-libs/controller.c:
25651           Header include fix.
25652         * gst/base/gstbasetransform.c:
25653         (gst_base_transform_default_prepare_buf),
25654         (gst_base_transform_handle_buffer):
25655         * gst/base/gstbasetransform.h:
25656           Some more basetransform changes and fixes to enable sub-classes
25657           that modify buffer metadata only.
25658         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25659         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25660         (gst_capsfilter_prepare_buf):
25661           If the output pad has fixed allowed caps and input buffers 
25662           don't have any, set the fixed caps on outgoing buffers.
25663
25664 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25665         * check/elements/identity.c: (GST_START_TEST):
25666           Make the error a little clearer when the test fails because
25667           identity made a copy of the buffer.
25668         * docs/gst/gstreamer-sections.txt:
25669           New symbols in gstbasetransform.h
25670         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25671         (gst_base_transform_init), (gst_base_transform_transform_size),
25672         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25673         (gst_base_transform_default_prepare_buf),
25674         (gst_base_transform_get_unit_size),
25675         (gst_base_transform_buffer_alloc),
25676         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25677         (gst_base_transform_change_state),
25678         (gst_base_transform_set_passthrough),
25679         (gst_base_transform_set_in_place),
25680         (gst_base_transform_is_in_place):
25681         * gst/base/gstbasetransform.h:
25682           Change BaseTransform to separate in_place operate from same_caps
25683           output. in_place implies that the element can perform the transform
25684           on incoming buffers in-place, even if the caps on the output are
25685           different.
25686           Sub-class elements can now implement special buffer allocation
25687           methods for outgoing buffers if they wish to.
25688           Big documentation addition.
25689         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25690         * gst/elements/gstelements.c:
25691           Changes for basetransform modifications.
25692         * gst/elements/Makefile.am:
25693         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25694           Compile fix. Extra debug output.
25695
25696 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25697
25698         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25699         (gst_pad_suite):
25700           add tests for valid pad naming
25701         * gst/check/gstcheck.c: (gst_check_log_message_func),
25702         (gst_check_log_critical_func):
25703           add ASSERT_WARNING
25704           remove printing of code, it is fragile when the code contains
25705           % and the line number is enough info
25706         * gst/check/gstcheck.h:
25707         * gst/gstpad.c: (gst_pad_template_new):
25708           fix memleaks
25709
25710 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25711
25712         * configure.ac:
25713           say what CHECK flags we use
25714         * docs/libs/gstreamer-libs.types:
25715         * libs/gst/controller/Makefile.am:
25716         * libs/gst/controller/gst-controller.c:
25717         * libs/gst/controller/gst-controller.h:
25718         * libs/gst/controller/gst-helper.c:
25719         * libs/gst/controller/gst-interpolation.c:
25720         * libs/gst/controller/gstcontroller.c:
25721         * libs/gst/controller/gsthelper.c:
25722         * libs/gst/controller/gstinterpolation.c:
25723         * tools/gst-inspect.c: (print_plugin_info):
25724           we don't use dashes in header names
25725
25726 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25727
25728         * check/Makefile.am:
25729         * check/gst/.cvsignore:
25730         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25731         (gst_pipeline_suite), (main):
25732           adding a test for pipelines and state changes
25733         * gst/gstutils.c: (get_state_func):
25734           add some debugging
25735         * gstreamer.spec.in:
25736           fix up spec file
25737
25738 2005-09-08  Michael Smith <msmith@fluendo.com>
25739
25740         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25741         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25742         (gst_file_src_is_seekable), (gst_file_src_get_size),
25743         (gst_file_src_start):
25744         * gst/elements/gstfilesrc.h:
25745           Various fixes for unseekable, unmmapable, and non-normal files, so
25746           that fallback to read() rather than mmap() works.
25747         * gst/gstevent.c: (gst_event_new_newsegment):
25748           Allow newsegment events with segment_start == segment_end, as will
25749           correctly happen if you use filesrc on a zero-size file, for
25750           example.
25751
25752 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25753
25754         * gst/gstplugin.c: (gst_plugin_load_file):
25755           Call g_module_close when we don't load the module
25756
25757         * gst/registries/gstlibxmlregistry.c:
25758         (gst_xml_registry_get_property):
25759           Port leak fix from 0.8
25760
25761 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25762
25763         * docs/gst/gstreamer-docs.sgml:
25764         * docs/gst/tmpl/.cvsignore:
25765         * docs/gst/tmpl/gsttrace.sgml:
25766         * docs/gst/tmpl/gsttrashstack.sgml:
25767         * gst/Makefile.am:
25768         * gst/gst.h:
25769         * gst/gstelement.h:
25770         * gst/gstevent.h:
25771         * gst/gstmessage.c:
25772         * gst/gstmessage.h:
25773         * gst/gsttag.c:
25774         * gst/gsttag.h:
25775         * gst/gsttaginterface.c:
25776         * gst/gsttaginterface.h:
25777         * gst/gsttaglist.c:
25778         * gst/gsttaglist.h:
25779         * gst/gsttagsetter.c:
25780         * gst/gsttagsetter.h:
25781         * gst/gsttrace.c:
25782         * gst/gsttrace.h:
25783         * gst/gsttrashstack.c:
25784           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25785           inlined docs for gsttrace, gsttrashstack
25786
25787 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25788
25789         * gst/Makefile.am:
25790         * gst/elements/gstbufferstore.h:
25791         * gst/elements/gsttypefindelement.c:
25792         * gst/elements/gsttypefindelement.h:
25793         * gst/gst.h:
25794         * gst/gsttypefind.c:
25795         * gst/gsttypefind.h:
25796         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25797         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25798         (gst_type_find_factory_dispose),
25799         (gst_type_find_factory_unload_thyself),
25800         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25801         (gst_type_find_factory_get_caps),
25802         (gst_type_find_factory_get_extensions),
25803         (gst_type_find_factory_call_function):
25804         * gst/gsttypefindfactory.h:
25805         * gst/registries/gstlibxmlregistry.c:
25806         * gst/registries/gstxmlregistry.c:
25807           splitted gsttypefind into gsttypefind, gsttypefindfactory
25808
25809 2005-09-07  Andy Wingo  <wingo@pobox.com>
25810
25811         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25812         condition whereby the pad's task function is entered before the
25813         pad_mode variable was set.
25814
25815 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25816
25817         * gst/gstpad.c: (gst_pad_alloc_buffer):
25818           Catch misbehaving pad_alloc functions that don't
25819           set up caps and do it for them.
25820
25821 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25822
25823         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25824           test for pipe!=NULL
25825         * docs/gst/tmpl/.cvsignore:
25826         * docs/gst/tmpl/gstmemchunk.sgml:
25827         * docs/gst/tmpl/gstparse.sgml:
25828         * docs/gst/tmpl/gsttaglist.sgml:
25829         * docs/gst/tmpl/gsttagsetter.sgml:
25830         * docs/gst/tmpl/gsttypefind.sgml:
25831         * docs/gst/tmpl/gsttypefindfactory.sgml:
25832         * gst/gstmemchunk.c:
25833         * gst/gstparse.c:
25834         * gst/gsttag.c:
25835         * gst/gsttaginterface.c:
25836         * gst/gsttypefind.c:
25837         * gst/gsttypefind.h:
25838           inlined more docs
25839
25840 === release 0.9.2 ===
25841
25842 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25843
25844         * NEWS:
25845         * RELEASE:
25846         * configure.ac:
25847           releasing 0.9.2, "South"
25848
25849 2005-09-05  Andy Wingo  <wingo@pobox.com>
25850
25851         * gst/registries/gstxmlregistry.h:
25852         * gst/registries/gstxmlregistry.c: Um... resurrect...
25853         
25854         * gst/registries/gstxmlregistry.h:
25855         * gst/registries/gstxmlregistry.c: and update to newer API.
25856         Incidentally they should be a bit faster now that they don't have
25857         to parse the caps.
25858         
25859 2005-09-05  Andy Wingo  <wingo@pobox.com>
25860
25861         * gst/registries/gstxmlregistry.h:
25862         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25863         replaced by the libxml registry a while back
25864
25865 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25866
25867         * docs/gst/tmpl/gstplugin.sgml:
25868         * gst/elements/gstelements.c:
25869         * gst/gst.c:
25870         * gst/gstplugin.c: (gst_plugin_register_func),
25871         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25872         (gst_plugin_get_source):
25873         * gst/gstplugin.h:
25874         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25875         (gst_xml_registry_save_plugin):
25876         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25877         (gst_xml_registry_save_plugin):
25878         * tools/gst-inspect.c: (print_plugin_info):
25879           add a "source" plugin description field, to represent the source
25880           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25881           will set it to PACKAGE, which is automake's idea of the name of
25882           the source project.
25883
25884 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25885
25886         * Makefile.am:
25887         * autogen.sh:
25888         * configure.ac:
25889         * docs/Makefile.am:
25890         * docs/faq/Makefile.am:
25891         * docs/gst/tmpl/gstelement.sgml:
25892         * docs/gst/tmpl/gsttypes.sgml:
25893         * docs/htmlinstall.mak:
25894         * docs/manual/Makefile.am:
25895         * docs/pwg/Makefile.am:
25896           reorganize doc build a little
25897           split out docbook and gtk-doc stuff
25898           have two separate --enable's and enable them through autogen
25899           but disable by default in configure (to be similar to other
25900           projects)
25901         * gstreamer.spec.in:
25902           clean up docs install
25903         * po/af.po:
25904         * po/az.po:
25905         * po/ca.po:
25906         * po/cs.po:
25907         * po/de.po:
25908         * po/en_GB.po:
25909         * po/fr.po:
25910         * po/it.po:
25911         * po/nb.po:
25912         * po/nl.po:
25913         * po/ru.po:
25914         * po/sq.po:
25915         * po/sr.po:
25916         * po/sv.po:
25917         * po/tr.po:
25918         * po/uk.po:
25919         * po/vi.po:
25920           translation updates
25921
25922 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25923
25924         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25925           Add comment.
25926           
25927         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25928         (gst_fake_sink_change_state):
25929           Make state change function thread-safe.
25930           
25931         * gst/gstpad.c: (gst_pad_alloc_buffer):
25932           Set offset on generic buffer allocated by fallback.
25933
25934 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25935
25936         * docs/gst/gstreamer-sections.txt:
25937         * docs/gst/tmpl/gstelement.sgml:
25938         * gst/gstpad.c:
25939         * libs/gst/controller/gst-controller.c:
25940         (gst_controlled_property_set_interpolation_mode),
25941         (gst_controlled_property_new),
25942         (gst_controller_find_controlled_property):
25943          run the wingo-magic script against the docs
25944
25945 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25946
25947         * docs/gst/gstreamer-docs.sgml:
25948         * docs/gst/gstreamer-sections.txt:
25949         * docs/gst/tmpl/.cvsignore:
25950         * docs/gst/tmpl/gstelementdetails.sgml:
25951         * docs/gst/tmpl/gstelementfactory.sgml:
25952         * gst/gst.c:
25953         * gst/gstbus.c:
25954         * gst/gstelementfactory.c:
25955         * gst/gstelementfactory.h:
25956           merged elementdetails docs into elementfactory docs
25957           inlined both
25958
25959 2005-09-02  Andy Wingo  <wingo@pobox.com>
25960
25961         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25962         consider this enum an enum and not a flags.
25963
25964 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25965
25966         * docs/gst/gstreamer-docs.sgml:
25967         * docs/gst/tmpl/.cvsignore:
25968         * docs/gst/tmpl/gstghostpad.sgml:
25969         * docs/gst/tmpl/gstiterator.sgml:
25970         * docs/gst/tmpl/gstmacros.sgml:
25971         * docs/gst/tmpl/gstrealpad.sgml:
25972         * docs/gst/tmpl/gstregistry.sgml:
25973         * docs/gst/tmpl/gstregistrypool.sgml:
25974         * docs/gst/tmpl/gststructure.sgml:
25975         * docs/gst/tmpl/gstsystemclock.sgml:
25976         * docs/gst/tmpl/gsttrace.sgml:
25977         * gst/gstghostpad.c:
25978         * gst/gstmacros.h:
25979         * gst/gstmemchunk.c:
25980         * gst/gstmemchunk.h:
25981         * gst/gstqueue.c:
25982         * gst/gstregistry.c:
25983         * gst/gstregistrypool.c:
25984         * gst/gststructure.c:
25985         * gst/gstsystemclock.c:
25986           more docs inlined
25987
25988 2005-09-02  Andy Wingo  <wingo@pobox.com>
25989
25990         * gst/gstelement.h (GstState): Renamed from GstElementState,
25991         changed to be a normal enum instead of flags.
25992         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25993         munged to be GST_STATE_CHANGE_*.
25994         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25995         work with the new state representation.
25996         (GstStateChange): New enumeration of possible state transitions.
25997         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25998         (GstElementClass::change_state): Pass the GstStateChange along as
25999         an argument. Helps language bindings, so they don't have to use
26000         tricky lock-needing macros like GST_STATE_CHANGE ().
26001
26002         * scripts/update-states (file): New script. Run it on a file to
26003         update it for state naming and API changes. Updates files in
26004         place.
26005
26006         * All files updated for the new API.
26007
26008 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26009
26010         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26011         * gst/gstutils.c: (gst_util_set_value_from_string),
26012         (gst_util_set_object_arg):
26013           fix a bunch of unchecked return values
26014         * tools/gst-complete.c: (main):
26015         * gstreamer.spec.in:
26016           clean up a little
26017
26018 2005-09-01  Wim Taymans  <wim@fluendo.com>
26019
26020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26021         (gst_base_sink_event), (gst_base_sink_do_sync),
26022         (gst_base_sink_handle_event):
26023         * gst/base/gstbasesink.h:
26024         Handle newsegments more correctly.
26025
26026         * gst/gstbus.c:
26027         Fix docs.
26028
26029         * gst/gstevent.c: (gst_event_new_newsegment):
26030         A newsegment cannot have a start_time of -1
26031
26032 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26033
26034         * win32/gstenumtypes.c:
26035         * win32/gstenumtypes.h:
26036           Update
26037
26038 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26039
26040         * libs/gst/controller/gst-controller.c:
26041         (gst_controlled_property_set_interpolation_mode),
26042         (gst_controlled_property_new):
26043          fixed boolean again
26044
26045 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26046
26047         * docs/faq/gst-uninstalled:
26048           add -good
26049         * gst/gstevent.c:
26050         * gst/gstevent.h:
26051           remove wrong docs
26052         * gst/gstutils.c: (gst_element_link_filtered):
26053         * gst/gstutils.h:
26054           add gst_element_link_filtered
26055
26056 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26057
26058         * docs/gst/gstreamer-docs.sgml:
26059         * docs/gst/gstreamer-sections.txt:
26060         * docs/gst/tmpl/.cvsignore:
26061         * docs/gst/tmpl/gsterror.sgml:
26062         * docs/gst/tmpl/gstfilter.sgml:
26063         * docs/gst/tmpl/gsturihandler.sgml:
26064         * docs/gst/tmpl/gsturitype.sgml:
26065         * docs/gst/tmpl/gstutils.sgml:
26066         * docs/gst/tmpl/gstxml.sgml:
26067         * gst/gsterror.c:
26068         * gst/gsterror.h:
26069         * gst/gstfilter.c:
26070         * gst/gsturi.c:
26071         * gst/gsturitype.c:
26072         * gst/gstutils.c:
26073         * gst/gstxml.c:
26074           inlined more docs, fixed double id-ref
26075
26076 2005-08-31  Wim Taymans  <wim@fluendo.com>
26077
26078         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26079         (gst_base_transform_handle_buffer):
26080         Passthrough elements don't need the caps as they don't care.
26081
26082 2005-08-31  Wim Taymans  <wim@fluendo.com>
26083
26084         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26085         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26086         Don't leak refcounts on buffers.
26087
26088 2005-08-31  Wim Taymans  <wim@fluendo.com>
26089
26090         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26091         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26092         (gst_base_transform_chain), (gst_base_transform_change_state):
26093         * gst/base/gstbasetransform.h:
26094         Handle the case where we are not negotiated more gracefully.
26095
26096 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26097
26098         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26099         (gst_file_src_map_region):
26100           Set READONLY flag on mmap'ed buffers, otherwise
26101           gst_buffer_make_writable() won't work properly (#314708).
26102
26103 2005-08-31  Wim Taymans  <wim@fluendo.com>
26104
26105         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26106         passthrough elements can even do inplace on non writable
26107         buffers (as they don't touch them).
26108
26109 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26110
26111         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26112         (gst_test_mono_source_set_property),
26113         (gst_test_mono_source_class_init), (GST_START_TEST),
26114         (gst_controller_suite):
26115           more tests (hehe I have the most)
26116         * gst/gstbus.c:
26117           describe popping messages whenusing mulltiple sources
26118         * libs/gst/controller/gst-controller.c:
26119         (gst_controlled_property_set_interpolation_mode),
26120         (gst_controlled_property_new):
26121         * libs/gst/controller/gst-controller.h:
26122         * libs/gst/controller/gst-interpolation.c:
26123           implement boolean properties
26124
26125 2005-08-31  Wim Taymans  <wim@fluendo.com>
26126
26127         * gst/gstminiobject.c: (gst_mini_object_ref):
26128         Cannot assert that the refcount has to be positive
26129         since a disposed object can be resurrected.
26130
26131 2005-08-31  Wim Taymans  <wim@fluendo.com>
26132
26133         * gst/gstpad.c: (gst_pad_init):
26134         Revert change, need to first fix badly behaving 
26135         apps.
26136
26137 2005-08-30  Wim Taymans  <wim@fluendo.com>
26138
26139         * check/elements/fakesrc.c: (setup_fakesrc):
26140         * check/elements/identity.c: (setup_identity):
26141         Activate pads before using them.
26142
26143 2005-08-30  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/base/gstadapter.c: (gst_adapter_flush):
26146         Flushing out 0 bytes is ok for this function.
26147
26148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26149         no newsegment gives a warning and sets the start/stop to 
26150         invalid.
26151
26152         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26153         (gst_base_transform_set_passthrough):
26154         Some debug info.
26155
26156         * gst/gstminiobject.c: (gst_mini_object_ref):
26157         Check refcount here too.
26158
26159         * gst/gstpad.c: (gst_pad_init):
26160         Pads are initially flushing and refusing data.
26161
26162         * gst/gstutils.c: (gst_element_link_pads_filtered):
26163         When adding a capsfilter element make sure it has the
26164         same state as the parent bin.
26165
26166 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26167
26168         * docs/gst/tmpl/.cvsignore:
26169         * docs/gst/tmpl/gstformat.sgml:
26170         * docs/gst/tmpl/gstversion.sgml:
26171         * gst/gstbus.h:
26172         * gst/gstformat.c:
26173         * gst/gstformat.h:
26174         * gst/gstversion.h.in:
26175           more docs and two more inlined
26176
26177 2005-08-30  Wim Taymans  <wim@fluendo.com>
26178
26179         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26180         Don't sync to clock.
26181
26182 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26183
26184         * docs/gst/gstreamer-sections.txt:
26185           ultral33t func10ns deserve to appear in the docs actually
26186         * docs/gst/tmpl/.cvsignore:
26187         * docs/gst/tmpl/gstcompat.sgml:
26188         * docs/gst/tmpl/gstconfig.sgml:
26189         * gst/check/gstcheck.c:
26190         * gst/gstcompat.h:
26191         * gst/gstconfig.h.in:
26192           inlined more docs
26193
26194 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26195
26196         * docs/gst/tmpl/.cvsignore:
26197         * docs/gst/tmpl/gstquery.sgml:
26198         * docs/gst/tmpl/gstutils.sgml:
26199         * gst/gstquery.c:
26200         * gst/gstquery.h:
26201           inlined and extended docs
26202
26203 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26204
26205         * check/gst-libs/controller.c: (GST_START_TEST),
26206         (gst_controller_suite):
26207           more tests
26208         * docs/gst/tmpl/gstutils.sgml:
26209         * docs/libs/gstreamer-libs-sections.txt:
26210         * docs/libs/tmpl/gstdataprotocol.sgml:
26211           include path fixes
26212         * examples/controller/audio-example.c: (main):
26213           controller example works now
26214         * gst/gstclock.h:
26215           doc fixes
26216         * tools/gst-inspect.c: (print_element_properties_info):
26217           show param spec flags
26218
26219 2005-08-29  Andy Wingo  <wingo@pobox.com>
26220
26221         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26222
26223 2005-08-28  Andy Wingo  <wingo@pobox.com>
26224
26225         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26226         as having two arguments instead of just one. Allows superclasses
26227         to access information on subclasses -- see the terrible for() loop
26228         in gtype.c:g_type_create_instance for the reason why. All callers
26229         changed.
26230
26231 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26232
26233         * docs/design/part-messages.txt:
26234           update info
26235         * docs/gst/tmpl/.cvsignore:
26236         * docs/gst/tmpl/gstcaps.sgml:
26237         * docs/gst/tmpl/gstclock.sgml:
26238         * gst/gstbus.c:
26239         * gst/gstcaps.c:
26240         * gst/gstcaps.h:
26241         * gst/gstclock.c:
26242         * gst/gstclock.h:
26243         * gst/gstmessage.c:
26244           added descriptions for bus and message
26245           inline caps and clock docs
26246
26247 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26248
26249         * gst/gstmessage.c:
26250         * gst/gstmessage.h:
26251           doc fixes
26252
26253 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26254
26255         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26256           fix div-by-zero
26257
26258 2005-08-26  Andy Wingo  <wingo@pobox.com>
26259
26260         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26261         element_set_state's return val.
26262         (test_2_elements): Add test that's been disabled for months.
26263
26264         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26265         can-activate-pull properties.
26266
26267         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26268         can-activate-pull properties. Implement is_seekable so fakesrc can
26269         operate in pull mode.
26270
26271         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26272         properties.
26273         (gst_base_sink_activate, gst_base_sink_activate_pull)
26274         (gst_base_sink_activate_push): Make activation mode choosing work.
26275         Cleanups.
26276         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26277         is right. Make pull mode work. Post an eos before pausing in pull
26278         mode.
26279         (gst_base_sink_change_state): Pay attention to the core's
26280         change_state() return val.
26281         
26282         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26283         has-getrange properties. Cleanups.
26284         
26285         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26286         has_getrange and replace with can_activate_pull and
26287         can_activate_push.
26288
26289         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26290         locking comments. Remove has_loop, has_chain and replace with
26291         can_activate_pull and can_activate_push.
26292
26293 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26294
26295         * configure.ac:
26296         * examples/Makefile.am:
26297         * examples/metadata/Makefile.am:
26298         * examples/metadata/read-metadata.c: (message_loop),
26299         (have_pad_handler), (make_pipeline), (print_tag), (main):
26300           Add metadata reading example that loops over a list of filenames,
26301           dumping any tags found.
26302
26303         * gst/gstbus.c: (gst_bus_dispose):
26304         * gst/gstelement.c: (gst_element_dispose):
26305           Release a few potentially-held references in dispose.
26306
26307 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26308
26309         * docs/gst/tmpl/gstminiobject.sgml:
26310           do *not* add tmpl/*.sgml files to CVS!
26311
26312 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26313
26314         * libs/gst/bytestream/.cvsignore:
26315         * libs/gst/bytestream/Makefile.am:
26316         * libs/gst/bytestream/adapter.c:
26317         * libs/gst/bytestream/adapter.h:
26318         * libs/gst/bytestream/bytestream.c:
26319         * libs/gst/bytestream/bytestream.h:
26320         * libs/gst/bytestream/filepad.c:
26321         * libs/gst/bytestream/filepad.h:
26322           removing obsolete files
26323
26324 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26325
26326         * docs/gst/gstreamer-docs.sgml:
26327         * docs/libs/gstreamer-libs-docs.sgml:
26328           disabed additional index entries again, as this makes docs-gen just
26329           slow and they aren't useful yet
26330         * docs/libs/gstreamer-libs-sections.txt:
26331           little -section.txt cleanup for libs
26332
26333 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26334
26335         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26336         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26337           fix up some debugging
26338         (gst_base_transform_get_unit_size),
26339         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26340         (gst_base_transform_handle_buffer):
26341         * gst/base/gstbasetransform.h:
26342           handle and store timed NEWSEGMENT events so that subclasses that
26343           calculate time by counting samples have a segment_start time they
26344           need to add to their timestamps - see audioresample
26345
26346 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26347
26348         * gst/gstbin.h:
26349           removed ';' from the end of macro defs
26350         * docs/gst/gstreamer-docs.sgml:
26351         * docs/gst/gstreamer-sections.txt:
26352         * docs/gst/tmpl/.cvsignore:
26353         * gst/gstbus.h:
26354         * gst/gstelement.c: (gst_element_class_init),
26355         (gst_element_set_state), (activate_pads),
26356         (gst_element_save_thyself):
26357         * gst/gstevent.c: (gst_event_new_newsegment):
26358         * gst/gstevent.h:
26359         * gst/gstiterator.c:
26360         * gst/gstiterator.h:
26361         * gst/gstpad.c:
26362         * gst/gstprobe.h:
26363         * gst/gstutils.c: (gst_pad_query_convert):
26364         * gst/gstutils.h:
26365           fixed parameter name mismatches between source, header and docs
26366           added some more docs, resolved the last batch of unused elements in
26367           docs (now someone needs to doc them)
26368
26369 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26370
26371         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26372         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26373           don't walk through the plugins backwards.  Where is all this
26374           reversed logic coming from ?
26375
26376 2005-08-25  Wim Taymans  <wim@fluendo.com>
26377
26378         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26379         (gst_base_transform_transform_size),
26380         (gst_base_transform_configure_caps),
26381         (gst_base_transform_get_unit_size),
26382         (gst_base_transform_buffer_alloc),
26383         (gst_base_transform_change_state):
26384         * gst/base/gstbasetransform.h:
26385         Cache caps unit_size.
26386         Make sure we cannot negotiate up and downstream at the
26387         same time.
26388
26389 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26390
26391         * gst/gst.c: (init_pre), (init_post):
26392           register the installed plugin path after the env var
26393         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26394         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26395           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26396           directories, so the tests can prefer uninstalled over installed
26397
26398 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26399
26400         * gst/base/gstbasetransform.h:
26401           comment
26402         * gst/gstpad.c:
26403           add to docs
26404
26405 2005-08-25  Wim Taymans  <wim@fluendo.com>
26406
26407         * gst/gstbin.c: (bin_bus_handler):
26408         Be a bit more conservative about the posted message.
26409         
26410         * gst/gstbus.c: (gst_bus_post):
26411         Some cleanups, warn wrong return values.
26412
26413 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26414
26415         * check/gst/gstbin.c: (GST_START_TEST):
26416         * gst/gstbin.c: (bin_bus_handler):
26417         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26418         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26419         (gst_message_new_warning), (gst_message_new_tag),
26420         (gst_message_new_state_changed), (gst_message_new_segment_start),
26421         (gst_message_new_segment_done), (gst_message_new_custom):
26422         * gst/gstmessage.h:
26423         * tools/gst-launch.c: (event_loop):
26424         * tools/gst-md5sum.c: (event_loop):
26425           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26426
26427 2005-08-25  Wim Taymans  <wim@fluendo.com>
26428
26429         * check/generic/states.c: (GST_START_TEST):
26430         Cleanup can be done at the end.
26431
26432         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26433         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26434         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26435         Oh boy.. Thanks for finding this, Thomas. 
26436
26437 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26438
26439         * docs/gst/gstreamer.types:
26440           added missing types
26441
26442 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26443
26444         * docs/gst/gstreamer-docs.sgml:
26445         * docs/gst/gstreamer-sections.txt:
26446         * docs/gst/tmpl/.cvsignore:
26447         * gst/gstbin.c:
26448         * gst/gstiterator.c:
26449         * gst/gstutils.c:
26450         * gst/registries/gstxmlregistry.h:
26451           added missing classes and symbols (123 more to go)
26452           removed removed symbols from section file
26453           fixed many doc-comments
26454
26455 2005-08-24  Wim Taymans  <wim@fluendo.com>
26456
26457         * check/generic/states.c: (GST_START_TEST):
26458         Make sure all tasks are stopped.
26459
26460         * check/gst/gstbin.c: (GST_START_TEST):
26461         Unref after usage for proper valgrinding.
26462
26463         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26464         Really wait for the task to stop before destroying the
26465         mutex.
26466
26467         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26468         (gst_queue_src_activate_push):
26469         Small cleanups. Don't stop the task when we did not start
26470         it.
26471
26472         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26473         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26474         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26475         (gst_task_join):
26476         * gst/gsttask.h:
26477         Protect the stream lock with the object lock.
26478         Disallow setting the stream lock when running.
26479         Add cleanup_all to wait for the threadpool to finish.
26480         Remove code to autoallocate a mutex if none was provided.
26481         Add _join() to wait for a task to stop.
26482         Protect the thread pool with a global lock.
26483
26484 2005-08-24  Wim Taymans  <wim@fluendo.com>
26485
26486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26487         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26488         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26489         * gst/base/gstbasesink.h:
26490         Handle newsegment events correctly.
26491         Drop buffers out of the segment range.
26492
26493 2005-08-22  Andy Wingo  <wingo@pobox.com>
26494
26495         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26496         macro, implements an interface and gstimplementsinterface for a
26497         new type.
26498
26499 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26500
26501         * check/Makefile.am:
26502         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26503           add a test that does a bunch of state changes on elements
26504           needs some fixing for valgrind
26505         * check/states/sinks.c: (gst_object_suite):
26506           whitespace
26507         * gst/gstcaps.h:
26508           add prototype for gst_caps_is_equal_fixed
26509         * gst/gstplugin.c:
26510         * gst/gstregistrypool.c:
26511           doc fixes
26512
26513 2005-08-24  Andy Wingo  <wingo@pobox.com>
26514
26515         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26516         convert a negative value. Doesn't make much sense. Mostly this is
26517         here to force callers to ensure -1 maps to -1.
26518
26519 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26520
26521         * docs/pwg/advanced-types.xml:
26522           Well done to Michael for catching my deliberate introduction
26523           of this spelling mistake. 
26524         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26525         * gst/gstelement.h:
26526           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26527           unlink pads before removing the element from the bin.
26528
26529 2005-08-24  Andy Wingo  <wingo@pobox.com>
26530
26531         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26532         the same thing as GST_DEBUG=*:4.
26533         (parse_debug_level, parse_debug_category): New helper parsers.
26534
26535 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26536
26537         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26538         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26539         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26540         (gst_base_transform_buffer_alloc),
26541         (gst_base_transform_handle_buffer):
26542           use gboolean return values and pointers to size so we can use the
26543           full GST_BUFFER_SIZE range (guint) for buffer sizes
26544           use GstPadDirection for transform_caps
26545         * gst/base/gstbasetransform.h:
26546           rename get_size to get_unit_size since that's what it is
26547         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26548           use GstPadDirection for transform_caps
26549         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26550         * gst/gstutils.h:
26551           cleanup and debugging
26552
26553 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26554
26555         * gst/gstelement.c: (gst_element_class_init),
26556         (gst_element_set_state), (activate_pads),
26557         (gst_element_save_thyself):
26558         * tools/gst-compprep.c: (main):
26559         * tools/gst-inspect.c: (print_element_properties_info):
26560         * tools/gst-xmlinspect.c: (print_element_properties):
26561           Fixed long standing mem-leak
26562
26563 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26564
26565         * check/gst/gstbin.c: (GST_START_TEST):
26566         * gst/gstbin.c: (bin_bus_handler):
26567         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26568         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26569         (gst_message_new_warning), (gst_message_new_tag),
26570         (gst_message_new_state_changed), (gst_message_new_segment_start),
26571         (gst_message_new_segment_done), (gst_message_new_custom):
26572         * gst/gstmessage.h:
26573         * tools/gst-launch.c: (event_loop):
26574         * tools/gst-md5sum.c: (event_loop):
26575           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26576           that applications can sensibly post custom messages with references
26577           to their own objects.
26578
26579 2005-08-24  Andy Wingo  <wingo@pobox.com>
26580
26581         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26582         already.
26583
26584 2005-08-24  Wim Taymans  <wim@fluendo.com>
26585
26586         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26587         (gst_base_transform_transform_caps),
26588         (gst_base_transform_transform_size),
26589         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26590         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26591         (gst_base_transform_handle_buffer):
26592         * gst/base/gstbasetransform.h:
26593         Many fixes and new features added by Thomas. Can now also do
26594         transforms with variable sizes and a custom fixate_caps function.
26595
26596 2005-08-24  Wim Taymans  <wim@fluendo.com>
26597
26598         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26599         Some debugging.
26600
26601         * gst/gstclock.h:
26602         Cast to ClockTime before formatting to time.
26603
26604         * gst/gstutils.h:
26605         Cleanups.
26606
26607 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26608
26609         * check/gst-libs/controller.c: (GST_START_TEST),
26610         (gst_controller_suite):
26611         * docs/gst/tmpl/gstcaps.sgml:
26612         * docs/gst/tmpl/gstghostpad.sgml:
26613         * docs/gst/tmpl/gstquery.sgml:
26614         * docs/gst/tmpl/gstutils.sgml:
26615         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26616         (gst_object_sink_values), (gst_object_get_value_arrays),
26617         (gst_object_get_value_array):
26618           gracefully handle helper method calls to objects that are not beeing
26619           controlled, added test case for that          
26620
26621 2005-08-23  Wim Taymans  <wim@fluendo.com>
26622
26623         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26624         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26625         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26626         (gst_event_parse_qos), (gst_event_new_seek),
26627         (gst_event_parse_seek):
26628         * gst/gstevent.h:
26629         Some more debugging output and doc cleanups.
26630
26631         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26632         Fix possible deadlock.
26633
26634 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26635
26636         * docs/gst/gstreamer-docs.sgml:
26637         * docs/gst/gstreamer-sections.txt:
26638         * docs/gst/gstreamer.types:
26639         * docs/gst/tmpl/.cvsignore:
26640         * gst/gstbin.h:
26641         * gst/gstbus.c:
26642         * gst/gstelement.c:
26643         * gst/gstevent.h:
26644           added 100 symbols from gstreamer-unused.txt to the right sections
26645           fixed more broken comments
26646           added GstBus to docs
26647
26648 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26649
26650         * docs/gst/gstreamer-sections.txt:
26651         * docs/gst/tmpl/.cvsignore:
26652         * docs/gst/tmpl/gstbin.sgml:
26653         * docs/gst/tmpl/gstbuffer.sgml:
26654         * gst/base/gstbasesrc.c:
26655         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26656         * gst/gstbuffer.c:
26657         * gst/gstbuffer.h:
26658         * tools/gst-launch.1.in:
26659           inlined more doc comments, added missing comments and fixed comments
26660           fixed typos
26661
26662 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26663
26664         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26665           some debugging
26666         * gst/gstcaps.h:
26667           whitespace fixes
26668         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26669           more debugging
26670         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26671         * gst/gststructure.h:
26672           add a fixate function for booleans; add a FIXME that these func
26673           names should probably be gst_structure_fixate_*
26674
26675 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26676
26677         * docs/gst/gstreamer-docs.sgml:
26678         * docs/gst/gstreamer-sections.txt:
26679         * gst/Makefile.am:
26680         * gst/gstbin.c: (gst_bin_get_type),
26681         (gst_bin_child_proxy_get_child_by_index),
26682         (gst_bin_child_proxy_get_children_count),
26683         (gst_bin_child_proxy_init):
26684         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26685         (gst_child_proxy_get_child_by_index),
26686         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26687         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26688         (gst_child_proxy_get), (gst_child_proxy_set_property),
26689         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26690         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26691         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26692         * gst/gstchildproxy.h:
26693         * gst/parse/grammar.y:
26694         * tools/gst-inspect.c: (print_interfaces),
26695         (print_element_properties_info), (print_element_info):
26696           ported gstchildproxy over from 0.8
26697           ported gst-inspect fixes and enhancements over from 0.8
26698
26699 2005-08-22  Wim Taymans  <wim@fluendo.com>
26700
26701         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26702         (gst_base_transform_handle_buffer):
26703         Also call the transform function if we have ANY caps.
26704
26705         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26706         Fix debug info.
26707
26708 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26709
26710         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26711           Don't pretend to handle seek events if the source is not seekable
26712
26713 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26714
26715         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26716           Remove extra parameter to debug output
26717
26718         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26719         (gst_base_src_do_seek), (gst_base_src_activate_push):
26720           Fix seek event handling.
26721
26722         * gst/gstpipeline.c: (gst_pipeline_change_state):
26723         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26724         (gst_queue_src_activate_push):
26725           Don't start the src pad task on FLUSH_STOP if the pad
26726           isn't linked.
26727           Debug changes.
26728
26729 2005-08-22  Wim Taymans  <wim@fluendo.com>
26730
26731         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26732         Added check for gst_static_caps_get() refcounting.
26733
26734 2005-08-22  Wim Taymans  <wim@fluendo.com>
26735
26736         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26737         Make _static_caps_get() refcounting sane.
26738         
26739         * gst/gstelement.c: (gst_element_set_state):
26740         Add g_return_val_if_fail() to protect against segfaults.
26741
26742 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26743
26744         * docs/gst/tmpl/gstevent.sgml:
26745         * gst/gstevent.c:
26746         * gst/gstevent.h:
26747           inlined remaining docs, added missing doc comments
26748
26749 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26750
26751         * check/gst/gstbin.c: (GST_START_TEST):
26752           since we don't know when preroll is done, use refcount range
26753           check for the sink
26754         * gst/check/gstcheck.h:
26755           add macro for checking refcount range
26756
26757 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26758
26759         * check/Makefile.am:
26760           clean up environment for when registry gets built versus
26761           when actual tests are run; valgrind seems to not report
26762           leaks if GST_PLUGIN_PATH is set to some specific values
26763         * check/gst/gstbin.c: (GST_START_TEST):
26764           add more refcounting checks; maybe this exposes a
26765           preroll lock bug ?
26766         * common/check.mak:
26767         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26768         * gst/check/gstcheck.h:
26769         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26770         (gst_bin_change_state):
26771         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26772           add/fix debugging/whitespace
26773
26774 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26775
26776         * check/gst/gstevent.c: (event_probe), (test_event),
26777         (GST_START_TEST):
26778          Er, don't call gst_bin_watch_for_state_change you idiot.
26779
26780 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26781
26782         * check/Makefile.am:
26783           Use CHECK_CFLAGS and CHECK_LIBS
26784         * check/gst/gstevent.c: (event_probe), (test_event),
26785         (GST_START_TEST):
26786           Don't leak events.
26787         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26788         (gst_base_src_start), (gst_base_src_stop),
26789         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26790         (gst_base_src_change_state):
26791           Sprinkle gst_base_src_stop liberally around error paths to fix
26792           problems reusing a source after failed state changes.
26793         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26794         (helper_find_suggest), (gst_type_find_helper):
26795           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26796         * gst/gstevent.h:
26797         * docs/gst/tmpl/gstevent.sgml:
26798           Migrate part of the docs from the SGML file. Wait for ensonic to
26799           tell me how I did it wrong ;)
26800         * tools/gst-typefind.c: (main):
26801           Extra robustness to state changes between files.
26802
26803 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26804
26805         * check/Makefile.am:
26806           don't valgrind the controller test - it's leaking - Stefan, HELP
26807         * gst/check/gstcheck.c: (gst_check_message_error),
26808         (gst_check_chain_func), (gst_check_setup_element),
26809         (gst_check_teardown_element), (gst_check_setup_src_pad),
26810         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26811         (gst_check_teardown_sink_pad):
26812         * gst/check/gstcheck.h:
26813           add a bunch of methods to set up elements, and src and sink pads
26814         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26815         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26816         (GST_START_TEST):
26817           use them
26818         * gst/gstmessage.c:
26819         * gst/gsttag.h:
26820           whitespace/doc fixes
26821
26822 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26823
26824         * gst/gstelement.h:
26825           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26826           be handled by the application and not always printed as well
26827
26828 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26829
26830         * check/Makefile.am:
26831           set GST_TOOLS_DIR
26832         * gst/check/gstcheck.c: (gst_check_message_error):
26833         * gst/check/gstcheck.h:
26834           add a fail_unless_equals_int
26835           add fail_unless for error messages
26836
26837 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26838
26839         * check/Makefile.am:
26840         * check/gst.supp:
26841         * common/Makefile.am:
26842         * common/check.mak:
26843         * common/gst.supp:
26844           factor out some of the common stuff so we can use it
26845
26846 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26847
26848         * check/Makefile.am:
26849         * check/gst/gstiterator.c: (GST_START_TEST):
26850         * check/gst/gstsystemclock.c: (GST_START_TEST),
26851         (gst_systemclock_suite):
26852         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26853         * gst/gstclock.c:
26854           valgrind more tests
26855
26856 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26857
26858         * check/elements/.cvsignore:
26859         * check/elements/gstfakesrc.c:
26860           rename to name of element
26861         * check/elements/identity.c: (chain_func), (event_func),
26862         (setup_identity), (cleanup_identity), (GST_START_TEST),
26863         (identity_suite), (main):
26864           add a test for identity
26865         * check/Makefile.am:
26866         * pkgconfig/Makefile.am:
26867         * pkgconfig/gstreamer-check.pc.in:
26868         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26869         * gst/check:
26870         * gst/Makefile.am:
26871         * configure.ac:
26872           move the check stuff to a library that gets installed
26873         * check/gst-libs/controller.c: (GST_START_TEST):
26874         * check/gst-libs/gdp.c:
26875         * check/gst/gst.c: (GST_START_TEST):
26876         * check/gst/gstbin.c:
26877         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26878         * check/gst/gstbus.c:
26879         * check/gst/gstcaps.c: (GST_START_TEST):
26880         * check/gst/gstelement.c:
26881         * check/gst/gstghostpad.c:
26882         * check/gst/gstiterator.c:
26883         * check/gst/gstmessage.c:
26884         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26885         * check/gst/gstobject.c:
26886         * check/gst/gstpad.c: (GST_START_TEST):
26887         * check/gst/gststructure.c: (GST_START_TEST):
26888         * check/gst/gstsystemclock.c: (GST_START_TEST),
26889         (gst_systemclock_suite):
26890         * check/gst/gsttag.c: (gst_tag_suite):
26891         * check/gst/gstvalue.c:
26892         * check/pipelines/cleanup.c:
26893         * check/pipelines/simple_launch_lines.c:
26894         * check/states/sinks.c:
26895           change include statement
26896
26897         * docs/gst/gstreamer-sections.txt:
26898         * docs/gst/tmpl/gstpad.sgml:
26899           document more pad stuff
26900         * gst/gstminiobject.c: (gst_mini_object_ref),
26901         (gst_mini_object_unref):
26902           debug refcounting
26903
26904 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26905
26906         * docs/gst/tmpl/gst.sgml:
26907         * gst/gst.c:
26908           eliminate another tmpl file, fix spelling in the long-description
26909
26910 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26911
26912         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26913         (test_event), (timediff), (gstevents_suite):
26914           Should fix build on 64-bit arch's
26915
26916 2005-08-18  Andy Wingo  <wingo@pobox.com>
26917
26918         Make sure that when a pipeline goes to PLAYING, that data has
26919         actually hit the sink.
26920
26921         * check/states/sinks.c (test_sink): A sink that doesn't get any
26922         data shouldn't return SUCCESS for going to either PLAYING or
26923         PAUSED. Test also the return values on the way back down.
26924
26925         * gst/gstelement.c (gst_element_set_state): When changing the
26926         state of an element currently changing state asynchronously, go to
26927         lost-state after commiting the pending state. Makes future calls
26928         to get_state continue to return ASYNC.
26929
26930         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26931         ASYNC when going to PLAYING if we still don't have preroll, as can
26932         happen with live sources.
26933
26934 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26935
26936         * docs/pwg/advanced-types.xml:
26937           Hack long paragraph into 2 chunks as a workaround for buggy
26938           jadetex version in sid and breezy that loops infinitely and
26939           eats all RAM.
26940
26941 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26942
26943         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26944         (test_event), (timediff), (gstevents_suite):
26945           Provide more error margin in clock measurements to allow for 
26946           g_get_current_time inaccuracies.
26947
26948 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26949
26950         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26951         (test_event), (timediff), (gstevents_suite):
26952            Fix error message output so I might be able to tell why the
26953            test works here but fails on the build farm.
26954
26955 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26956
26957         * check/Makefile.am:
26958         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26959         (test_event), (timediff), (gstevents_suite), (main):
26960           I wrote a test!
26961
26962         * docs/design/part-seeking.txt:
26963           Spelling correction
26964
26965         * docs/gst/tmpl/gstevent.sgml:
26966         * docs/gst/tmpl/gstfakesrc.sgml:
26967           Docs updates.
26968
26969         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26970           Treat a buffer-without-newsegment the same as a receiving 
26971           a newsegment not in time format, and disable syncing to the clock
26972           with a warning.
26973
26974         * gst/gstbus.c: (gst_bus_set_sync_handler):
26975           Assert if anyone tries to replace the existing sync_handler for bus, 
26976           as only the owner should be setting it.
26977
26978         * gst/gstevent.h:
26979           Have a fixed set of custom event enums with events identified by
26980           their structure name (as in 0.8), rather than a free-for-all
26981           allowing collisions between enum values from different plugins.
26982
26983         * gst/gstpad.c: (gst_pad_class_init):
26984           Docs change.
26985           
26986         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26987           Handle out-of-band downstream events from the sending thread.
26988
26989 2005-08-17  Andy Wingo  <wingo@pobox.com>
26990
26991         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26992         play-timeout==0 to mean no timeout at all. In that case, don't
26993         bother with a get_state or a warning, just return directly, even
26994         if it's ASYNC.
26995
26996         * gst/base/gstbasetransform.c: Debug changes.
26997
26998         * gst/gstutils.h:
26999         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27000         ensure bins post state change messages. A bit of a hack but I can't
27001         think of a way to avoid it.
27002
27003         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27004
27005 2005-08-16  Andy Wingo  <wingo@pobox.com>
27006
27007         * gst/base/gstadapter.h:
27008         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27009         peek() but you own the data. Not terribly efficient atm.
27010
27011 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27012
27013         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27014         (gst_element_found_tags):
27015         * gst/gstutils.h:
27016           Add two utility functions for tag handling.
27017
27018 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27019
27020         * docs/manual/advanced-dataaccess.xml:
27021         * docs/manual/basics-helloworld.xml:
27022           Fix docs to use _bin_add() before _link(), which fixes the examples
27023           with recent core versions (reported by Madhan Raj M
27024           <raj_madan@rediffmail.com>, #313199).
27025
27026 2005-08-16  Wim Taymans  <wim@fluendo.com>
27027
27028         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27029         Added subtract checks.
27030
27031         * docs/design/part-events.txt:
27032         Some more docs about newsegment
27033
27034         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27035         Fix FIXME
27036
27037         * gst/gstcaps.c: (gst_caps_to_string):
27038         Add comments, cleanups.
27039         
27040         * gst/gstelement.c: (gst_element_save_thyself):
27041         cleanups
27042         
27043         * gst/gstvalue.c: (gst_value_collect_int_range),
27044         (gst_string_unwrap), (gst_value_union_int_int_range),
27045         (gst_value_union_int_range_int_range),
27046         (gst_value_intersect_int_int_range),
27047         (gst_value_intersect_int_range_int_range),
27048         (gst_value_intersect_double_double_range),
27049         (gst_value_intersect_double_range_double_range),
27050         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27051         (gst_value_subtract_int_range_int),
27052         (gst_value_subtract_double_range_double),
27053         (gst_value_subtract_double_range_double_range),
27054         (gst_value_subtract_from_list), (gst_value_subtract_list),
27055         (gst_value_can_compare), (gst_value_compare_fraction):
27056         Cleanups, add comments, remove unneeded asserts.
27057
27058 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27059
27060         * tools/gst-launch.c: (event_loop):
27061           don't convert NULL structures to strings
27062
27063 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27064
27065         * docs/gst/gstreamer-sections.txt:
27066           made some defines private
27067         * docs/gst/tmpl/gstconfig.sgml:
27068         * docs/gst/tmpl/gstqueue.sgml:
27069         * docs/gst/tmpl/gsttaglist.sgml:
27070         * docs/gst/tmpl/gsttypes.sgml:
27071         * docs/gst/tmpl/gstutils.sgml:
27072         * docs/pwg/appendix-porting.xml:
27073         * gst/base/gstbasesink.h:
27074         * gst/base/gstbasesrc.c:
27075         * gst/base/gstbasesrc.h:
27076         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27077         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27078         * gst/gstelement.c: (gst_element_class_init):
27079         * gst/gstpad.c: (gst_pad_class_init):
27080         * gst/gstqueue.c: (gst_queue_class_init):
27081         * gst/gstxml.c: (gst_xml_class_init):
27082           documented all undocumented signal inline
27083         * libs/gst/controller/gst-controller.h:
27084           added padding
27085
27086 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27087
27088         * docs/pwg/appendix-porting.xml:
27089           Document _set_link_function -> _set_setcaps_function.
27090
27091 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27092
27093         * check/Makefile.am:
27094           add a .check target for running the check
27095         * check/gst-libs/controller.c: (GST_START_TEST):
27096           cosmetic fixups
27097         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27098           complete checks for gstbuffer; would be nice if I could get the
27099           gcov stuff to work so I can see if I actually completed gstbuffer.c
27100         * check/gstcheck.h:
27101           add ASSERT_BUFFER_REFCOUNT
27102
27103 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27104
27105         * docs/gst/gstreamer-sections.txt:
27106         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27107         * gst/gsttag.h:
27108           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27109           spew out a warning if a tag that is already registered
27110           is re-registered, unless it is re-registered with a 
27111           different type (#308438).
27112
27113 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27114
27115         * docs/pwg/appendix-porting.xml:
27116         * docs/pwg/building-state.xml:
27117           Add some paragraphs about state changes in 0.9 to the PWG
27118           and the porting guide, in particular about the new meaning
27119           of GST_STATE_PAUSED and how to write state change functions
27120           with concurrent access by multiple threads in mind.
27121
27122 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27123
27124         * docs/gst/gstreamer-docs.sgml:
27125         * docs/libs/gstreamer-libs-docs.sgml:
27126           added deprecation and since indexes
27127         * libs/gst/controller/gst-controller.c:
27128         * libs/gst/controller/gst-helper.c:
27129           added since tags
27130
27131
27132 2005-08-11  Wim Taymans  <wim@fluendo.com>
27133
27134         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27135         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27136         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27137         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27138         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27139         (gst_ghost_pad_set_target):
27140         Actually implement (re)setting the target on a ghostpad
27141         as described in the docs.
27142
27143 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27144
27145         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27146           Check whether GST_DEBUG_NO_COLOR environment variable is
27147           set and disable coloured debug output if that is the case.
27148
27149 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27150
27151         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27152         (gst_type_find_helper):
27153           The memory returned by gst_type_find_peek() needs to
27154           stay valid until the end of a typefind function, and
27155           typefind functions may keep results from different 
27156           offsets around, so we can't just unref the buffer from
27157           the previous _peek(), but have to save all buffers 
27158           returned by _peek() until typefinding is done and only
27159           free them then.
27160
27161 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27162
27163         * docs/gst/gstreamer-sections.txt:
27164         * gst/gstutils.h:
27165           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27166
27167 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27168
27169         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27170           Fix a pretty good memleak.
27171
27172 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27173
27174         * gst/gstiterator.h:
27175           Fix wrong include and 'make distcheck'.
27176
27177 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27178
27179         * gst/gstbin.c: (bin_bus_handler):
27180           Use gst_element_post_message() instead.
27181
27182 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27183
27184         * gst/base/gstadapter.h:
27185         * gst/base/gstbasesink.h:
27186         * gst/base/gstbasesrc.h:
27187         * gst/base/gstbasetransform.h:
27188         * gst/base/gstcollectpads.h:
27189         * gst/base/gstpushsrc.h:
27190         * gst/gstiterator.h:
27191           Add padding to our base elements' class and instance structs and
27192           to GstIterator (you will need to rebuild all plugins and apps!)
27193
27194 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27195
27196         * gst/gstbin.c: (bin_bus_handler):
27197           Make default message forwarding from child->bus to bin->bus
27198           threadsafe and make it not emit warnings if the parent has no bus.
27199
27200 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27201
27202         * gst/gstelement.c: (activate_pads):
27203           On paused->ready, set pad->caps to NULL, as is the documented
27204           behaviour in this state change. Fixes playback of series of
27205           media files when visualization is enabled in Totem.
27206
27207 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27208
27209         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27210           Allow NULL as filter-caps (which means "any").
27211
27212 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27213
27214         * docs/libs/gstreamer-libs-sections.txt:
27215         * libs/gst/controller/gst-controller.c:
27216         * libs/gst/controller/gst-controller.h:
27217         * libs/gst/controller/gst-helper.c:
27218           adding more entries to the docs and fix small doc-bugs
27219
27220 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27221
27222         * docs/gst/gstreamer-docs.sgml:
27223         * docs/gst/gstreamer-sections.txt:
27224         * docs/gst/gstreamer.types:
27225         * docs/gst/tmpl/gstbasesink.sgml:
27226         * docs/gst/tmpl/gstbasesrc.sgml:
27227         * docs/gst/tmpl/gstbasetransform.sgml:
27228         * docs/gst/tmpl/gstfakesrc.sgml:
27229         * gst/base/gstcollectpads.c:
27230         * gst/base/gstcollectpads.h:
27231         * libs/gst/controller/gst-controller.c:
27232         * libs/gst/controller/gst-controller.h:
27233         * libs/gst/controller/gst-helper.c:
27234         * libs/gst/controller/gst-interpolation.c:
27235         * libs/gst/controller/lib.c:
27236           added long/short desc for controller docs
27237           added collectpads base class docs
27238           added correct includes to base-class docs
27239
27240 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27241
27242         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27243         (gst_test_mono_source_set_property),
27244         (gst_test_mono_source_class_init), (GST_START_TEST),
27245         (gst_controller_suite):
27246         * docs/gst/gstreamer-docs.sgml:
27247         * docs/gst/gstreamer-sections.txt:
27248         * docs/gst/gstreamer.types:
27249         * docs/libs/gstreamer-libs-docs.sgml:
27250         * docs/libs/gstreamer-libs-sections.txt:
27251         * gst/base/gstadapter.c:
27252         * libs/gst/controller/gst-controller.c:
27253         (gst_controlled_property_new), (gst_controlled_property_free),
27254         (gst_controller_new_valist),
27255         (gst_controller_remove_properties_valist),
27256         (gst_controller_sink_values), (_gst_controller_finalize):
27257         * libs/gst/controller/gst-controller.h:
27258         * libs/gst/controller/gst-helper.c:
27259         (gst_object_control_properties), (gst_object_uncontrol_properties),
27260         (gst_object_get_controller), (gst_object_set_controller),
27261         (gst_object_sink_values), (gst_object_get_value_arrays),
27262         (gst_object_get_value_array):
27263           more tests (and fixes) for the controller
27264           more docs for the controller
27265           integrated companies docs for the adapter 
27266
27267 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27268
27269         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27270         (GST_START_TEST), (fakesrc_suite):
27271           add tests for sizetype
27272
27273 2005-08-04  Andy Wingo  <wingo@pobox.com>
27274
27275         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27276         fixes buffer_alloc proxying among other things.
27277
27278         * gst/base/gstbasetransform.c:
27279         * gst/base/gstbasetransform.h:
27280         Revert patch to gstbasetransform from 7-28 removing
27281         delay_configure.
27282
27283         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27284         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27285         Semantics changed, should return not the size of the output buffer
27286         but the byte size of a buffer with a given caps.
27287
27288         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27289         debug object.
27290         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27291         out) are not the pad caps until setcaps finishes.
27292         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27293         not-in-place case as well. Deal with changing from in-place to
27294         not-in-place within calling pad_alloc_buffer. Still a bit
27295         concerned about the overhead here...
27296
27297 2005-08-03  Andy Wingo  <wingo@pobox.com>
27298
27299         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27300         fixating is an error.
27301
27302 2005-08-04  Edward Hervey  <edward@fluendo.com>
27303
27304         * gst/base/gstadapter.h: 
27305         Added gst_adapter_get_type() to the header
27306
27307 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27308
27309         * check/Makefile.am:
27310         * check/gst-libs/controller.c:
27311         * libs/gst/controller/gst-controller.c:
27312         (gst_controller_new_valist):
27313           added check test suite for the controller
27314         * gst/base/gstpushsrc.c:
27315           fixed a doc typo
27316
27317 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27318
27319         * docs/gst/Makefile.am:
27320         * docs/gst/gstreamer-docs.sgml:
27321         * docs/gst/gstreamer-sections.txt:
27322         * docs/gst/gstreamer.types:
27323         * docs/gst/tmpl/gstfakesrc.sgml:
27324         * gst/base/README:
27325         * gst/base/gstbasesink.c:
27326         * gst/base/gstbasesink.h:
27327         * gst/base/gstbasesrc.c:
27328         * gst/base/gstbasesrc.h:
27329         * gst/base/gstbasetransform.c:
27330         * gst/base/gstpushsrc.c:
27331         * gst/base/gstpushsrc.h:
27332           add short/long description docs to base classes
27333           add pushsrc to the docs
27334           remove consolidated doc fragments
27335
27336 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27337
27338         * configure.ac:
27339         * docs/libs/Makefile.am:
27340         * docs/libs/gstreamer-libs-docs.sgml:
27341         * docs/libs/gstreamer-libs-sections.txt:
27342         * docs/libs/gstreamer-libs.types:
27343         * examples/Makefile.am:
27344         * examples/controller/.cvsignore:
27345         * examples/controller/Makefile.am:
27346         * examples/controller/audio-example.c: (main):
27347         * libs/gst/Makefile.am:
27348         * libs/gst/controller/.cvsignore:
27349         * libs/gst/controller/Makefile.am:
27350         * libs/gst/controller/gst-controller.c:
27351         (on_object_controlled_property_changed), (gst_timed_value_compare),
27352         (gst_timed_value_find),
27353         (gst_controlled_property_set_interpolation_mode),
27354         (gst_controlled_property_new), (gst_controlled_property_free),
27355         (gst_controller_find_controlled_property),
27356         (gst_controller_new_valist), (gst_controller_new),
27357         (gst_controller_remove_properties_valist),
27358         (gst_controller_remove_properties), (gst_controller_set),
27359         (gst_controller_set_from_list), (gst_controller_unset),
27360         (gst_controller_get), (gst_controller_get_all),
27361         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27362         (gst_controller_get_value_array),
27363         (gst_controller_set_interpolation_mode),
27364         (_gst_controller_finalize), (_gst_controller_init),
27365         (_gst_controller_class_init), (gst_controller_get_type):
27366         * libs/gst/controller/gst-controller.h:
27367         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27368         (g_object_uncontrol_properties), (g_object_get_controller),
27369         (g_object_set_controller), (g_object_sink_values),
27370         (g_object_get_value_arrays), (g_object_get_value_array):
27371         * libs/gst/controller/gst-interpolation.c:
27372         (gst_controlled_property_find_timed_value_node),
27373         (interpolate_none_get), (interpolate_trigger_get),
27374         (interpolate_trigger_get_value_array):
27375         * libs/gst/controller/lib.c: (gst_controller_init):
27376         * pkgconfig/Makefile.am:
27377         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27378         * pkgconfig/gstreamer-control.pc.in:
27379         * testsuite/Makefile.am:
27380         * testsuite/controller/.cvsignore:
27381         * testsuite/controller/Makefile.am:
27382         * testsuite/controller/interpolator.c: (main):
27383           added controller code
27384           removed dparam pc files
27385
27386 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27387         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27388         (gst_collectpads_stop):
27389           Broadcast the condition when shutting down, to make sure we wake all
27390           threads up. Shut down pads on finalize, for safety.
27391
27392 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27393         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27394         (gst_base_transform_handle_buffer),
27395         (gst_base_transform_change_state):
27396           Handle PAUSED->READY->PAUSED transition after negotiation
27397           occurred already.
27398         * gst/gstmessage.c: (gst_message_init):
27399           Extra piece of debug for new messages.
27400
27401 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27402
27403         * configure.ac:
27404         * docs/gst/tmpl/gstbasesrc.sgml:
27405         * docs/gst/tmpl/gstelement.sgml:
27406         * docs/gst/tmpl/gstevent.sgml:
27407         * docs/gst/tmpl/gstfakesrc.sgml:
27408         * docs/gst/tmpl/gstformat.sgml:
27409         * docs/gst/tmpl/gstghostpad.sgml:
27410         * docs/gst/tmpl/gstpad.sgml:
27411         * docs/gst/tmpl/gstquery.sgml:
27412         * docs/gst/tmpl/gststructure.sgml:
27413         * docs/gst/tmpl/gsttaglist.sgml:
27414         * docs/gst/tmpl/gstvalue.sgml:
27415         * docs/libs/gstreamer-libs-docs.sgml:
27416         * docs/libs/gstreamer-libs-sections.txt:
27417         * docs/libs/gstreamer-libs.types:
27418         * libs/gst/Makefile.am:
27419         * libs/gst/control/.cvsignore:
27420         * libs/gst/control/Makefile.am:
27421         * libs/gst/control/control.c:
27422         * libs/gst/control/control.h:
27423         * libs/gst/control/dparam.c:
27424         * libs/gst/control/dparam.h:
27425         * libs/gst/control/dparam_smooth.c:
27426         * libs/gst/control/dparam_smooth.h:
27427         * libs/gst/control/dparamcommon.h:
27428         * libs/gst/control/dparammanager.c:
27429         * libs/gst/control/dparammanager.h:
27430         * libs/gst/control/dplinearinterp.c:
27431         * libs/gst/control/dplinearinterp.h:
27432         * libs/gst/control/unitconvert.c:
27433         * libs/gst/control/unitconvert.h:
27434         * testsuite/Makefile.am:
27435         * testsuite/dynparams/.cvsignore:
27436         * testsuite/dynparams/Makefile.am:
27437         * testsuite/dynparams/dparamstest.c:
27438         * tools/Makefile.am:
27439         * tools/gst-inspect.c: (print_element_info), (main):
27440         * tools/gst-xmlinspect.c: (print_element_info), (main):
27441           deactivate and remove dparams (libgstcontrol)
27442
27443 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27444
27445         * gst/elements/gsttypefindelement.c:
27446         (gst_type_find_element_have_type), (gst_type_find_element_init),
27447         (stop_typefinding), (gst_type_find_element_handle_event),
27448         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27449         * gst/elements/gsttypefindelement.h:
27450           Set caps on all outgoing buffers, not just the first one.
27451
27452 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27453
27454         * gst/elements/gsttypefindelement.c:
27455         (gst_type_find_element_have_type),
27456         (gst_type_find_element_check_set_buffer_caps),
27457         (gst_type_find_element_init), (stop_typefinding),
27458         (gst_type_find_element_handle_event),
27459         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27460         * gst/elements/gsttypefindelement.h:
27461           Set caps on first outgoing buffer when we've found the type.
27462
27463 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27464
27465         * docs/gst/gstreamer-docs.sgml:
27466         * docs/gst/gstreamer-sections.txt:
27467         * docs/gst/tmpl/gstscheduler.sgml:
27468         * docs/gst/tmpl/gstschedulerfactory.sgml:
27469           Remove some old cruft from docs.
27470
27471 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27472
27473         * gst/gstpad.h:
27474           Fix inline docs for GstPadLinkReturn.
27475           
27476         * gst/gststructure.c: (gst_structure_has_name):
27477         * gst/gststructure.h:
27478         * docs/gst/gstreamer-sections.txt:
27479           New API: gst_structure_has_name().
27480
27481 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27482
27483         * configure.ac:
27484           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27485           and _LARGEFILE_SOURCE in config.h as required. Do not 
27486           export those flags in our .pc files any longer (#142209).
27487
27488           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27489
27490         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27491         (gst_file_sink_do_seek), (gst_file_sink_event),
27492         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27493           Redo seek/tell calls with large file support in mind; add some
27494           debugging messages; add log message that tells us when large
27495           file support is unavailable or not enabled for some reason.
27496
27497         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27498           Add log message that tells us when large file support 
27499           is unavailable or not enabled for some reason.
27500
27501 2005-07-29  Wim Taymans  <wim@fluendo.com>
27502
27503         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27504         Added test for removing an element with ghostpad from a bin.
27505         Fixed test as current implementation does the right thing.
27506
27507         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27508         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27509         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27510         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27511         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27512         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27513         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27514         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27515         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27516         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27517         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27518         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27519         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27520         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27521         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27522         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27523         * gst/gstghostpad.h:
27524         Clean up ghostpads, remove properties for internal stuff.
27525         Make threadsafe.
27526         Fix refcounting.
27527         Prepare for switching targets, not all use cases work yet.
27528
27529 2005-07-29  Wim Taymans  <wim@fluendo.com>
27530
27531         * docs/design/part-gstghostpad.txt:
27532         Small update.
27533
27534         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27535         (gst_bin_remove_func):
27536         Unlinking pads while holding the bin LOCK is not a good
27537         idea.
27538
27539         * gst/gstpad.c: (gst_pad_class_init),
27540         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27541         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27542         No prob setting template after creating the pad.
27543
27544 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27545
27546         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27547         (gst_bus_peek), (gst_bus_source_dispatch),
27548         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27549         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27550           gst_bus_poll may be called from other threads. Handle
27551           this nicely by not making poll_data disappear off the
27552           stack once gst_bus_poll returns.
27553           gst_bus_peek now increments the refcount on the returned
27554           message.
27555
27556 2005-07-29  Wim Taymans  <wim@fluendo.com>
27557
27558         * docs/design/part-gstghostpad.txt:
27559         Overview of current GhostPad datastructures and use
27560         cases for changing the target.
27561
27562 2005-07-28  Wim Taymans  <wim@fluendo.com>
27563
27564         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27565         Added checks for hierarchy consistency whan adding linked
27566         elements to bins.
27567
27568         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27569         Added check to test element scheduling without bin/pipeline.
27570
27571         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27572         First add elements to bin, then link.
27573         
27574         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27575         (gst_bin_remove_func):
27576         Unlink pads from elements added/removed from bin to maintain
27577         hierarchy consistency.
27578
27579 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27580
27581         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27582         (gst_base_transform_handle_buffer):
27583         * gst/base/gstbasetransform.h:
27584           Remove broken delay_configure (fixes renegotiation of software
27585           scaling pipelines); remove some leftover printf()s.
27586
27587 2005-07-28  Wim Taymans  <wim@fluendo.com>
27588
27589         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27590         Added some more tests for wrong hierarchy
27591
27592         * docs/design/part-overview.txt:
27593         Some updates.
27594
27595         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27596         Cleanups.
27597
27598         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27599         (gst_element_dispose):
27600         Some more cleanups.
27601
27602         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27603         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27604         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27605         (gst_pad_set_caps), (gst_pad_send_event):
27606         Check for correct hierarchy when linking pads. Moving to
27607         strict requirement for ghostpads when linking elements in
27608         different bins.
27609
27610         * gst/gstpad.h:
27611         Clean ups. Added WRONG_HIERARCHY return value.
27612
27613 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27614
27615         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27616           Better debug if no transform is possible.
27617
27618 2005-07-27  Wim Taymans  <wim@fluendo.com>
27619
27620         * docs/random/wtay/network-transp:
27621         Some old doc I had.
27622
27623 2005-07-27  Wim Taymans  <wim@fluendo.com>
27624
27625         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27626         (gst_dp_event_from_packet):
27627         Fix serialization of seek events.
27628
27629 2005-07-27  Wim Taymans  <wim@fluendo.com>
27630
27631         * check/gst-libs/gdp.c: (GST_START_TEST):
27632         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27633         Fix compilation and fix event serialization.
27634
27635 2005-07-27  Wim Taymans  <wim@fluendo.com>
27636
27637         * CHANGES-0.9:
27638         * docs/design/part-TODO.txt:
27639         * docs/design/part-events.txt:
27640         Some docs updates
27641
27642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27643         (gst_base_sink_event), (gst_base_sink_do_sync),
27644         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27645         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27646         (gst_base_src_do_seek), (gst_base_src_event_handler),
27647         (gst_base_src_loop):
27648         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27649         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27650         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27651         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27652         (gst_base_transform_set_passthrough),
27653         (gst_base_transform_is_passthrough):
27654         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27655         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27656         Event updates.
27657
27658         * gst/gstbuffer.h:
27659         Use faster casts.
27660
27661         * gst/gstelement.c: (gst_element_seek):
27662         * gst/gstelement.h:
27663         Update gst_element_seek.
27664
27665         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27666         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27667         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27668         (gst_event_new_eos), (gst_event_new_newsegment),
27669         (gst_event_parse_newsegment), (gst_event_new_tag),
27670         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27671         (gst_event_parse_qos), (gst_event_new_seek),
27672         (gst_event_parse_seek), (gst_event_new_navigation):
27673         * gst/gstevent.h:
27674         Make GstEvent use GstStructure. Add parsing code, make sure the
27675         API is sufficiently generic.
27676         Mark possible directions of events and serialization.
27677
27678         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27679         (_gst_message_copy), (gst_message_new_segment_start),
27680         (gst_message_new_segment_done), (gst_message_new_custom),
27681         (gst_message_parse_segment_start),
27682         (gst_message_parse_segment_done):
27683         Small cleanups.
27684
27685         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27686         (gst_pad_set_caps), (gst_pad_send_event):
27687         Update for new events. 
27688         Catch events sent in wrong directions.
27689
27690         * gst/gstqueue.c: (gst_queue_link_src),
27691         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27692         (gst_queue_handle_src_query):
27693         Event updates.
27694
27695         * gst/gsttag.c:
27696         * gst/gsttag.h:
27697         Remove event code from this file.
27698
27699         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27700         (gst_dp_event_from_packet):
27701         Event updates.
27702
27703 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27704
27705         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27706         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27707         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27708           Make debugging actually useful.
27709
27710 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27711
27712         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27713         (gst_pad_fixate_caps):
27714           Implement default fixation once again, so that gst_pad_fixate()
27715           actually does anything at all. This probably needs to be some
27716           sort of a last resort, and use profile-based fixation first, but
27717           since that doesn't exist yet, this is the best we have. Fixes
27718           visualization in Totem.
27719
27720 2005-07-22  Wim Taymans  <wim@fluendo.com>
27721
27722         * docs/design/part-events.txt:
27723         Small update.
27724
27725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27726         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27727         (gst_base_sink_activate_pull):
27728         Some more comments.
27729
27730         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27731         (gst_fake_src_create):
27732         Fix handoff marshall.
27733
27734         * gst/elements/gstidentity.c: (gst_identity_class_init),
27735         (gst_identity_transform_ip):
27736         We're a real inplace element.
27737
27738         * gst/gstbus.c: (gst_bus_post):
27739         Added some comments.
27740
27741         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27742         * tests/muxing/case1.c: (main):
27743         * tests/sched/dynamic-pipeline.c: (main):
27744         * tests/sched/interrupt1.c: (main):
27745         * tests/sched/interrupt2.c: (main):
27746         * tests/sched/interrupt3.c: (main):
27747         * tests/sched/runxml.c: (main):
27748         * tests/sched/sched-stress.c: (main):
27749         * tests/seeking/seeking1.c: (event_received), (main):
27750         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27751         (main):
27752         * tests/threadstate/threadstate3.c: (main):
27753         * tests/threadstate/threadstate4.c: (main):
27754         * tests/threadstate/threadstate5.c: (main):
27755         Fix the tests.
27756
27757 2005-07-21  Wim Taymans  <wim@fluendo.com>
27758
27759         * docs/design/part-seeking.txt:
27760         Some small additions.
27761
27762         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27763         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27764         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27765         * gst/base/gstbasesink.h:
27766         discont values are gint64, handle the math correctly.
27767
27768         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27769         Make the basesrc report error if the source pad is not linked.
27770
27771         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27772         (gst_queue_loop), (gst_queue_handle_src_query),
27773         (gst_queue_src_activate_push):
27774         Make queue collect data even if the srcpad is not linked.
27775         Start pushing out data as soon as it is linked.
27776
27777         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27778         * gst/gstutils.h:
27779         Added gst_flow_get_name() to ease error reporting.
27780
27781 2005-07-20  Wim Taymans  <wim@fluendo.com>
27782
27783         * gst/gstmessage.c: (gst_message_new_segment_start),
27784         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27785         (gst_message_parse_segment_done):
27786         * gst/gstmessage.h:
27787         Added a bunch of messages for advanced seeking.
27788
27789         * gst/parse/grammar.y:
27790         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27791         (gst_dpman_state_changed):
27792         Fix some new-pad -> pad-added signals
27793
27794 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27795
27796         * docs/manual/appendix-porting.xml:
27797         * docs/pwg/appendix-porting.xml:
27798           Document new-pad/state-change signal renames and the FixedList
27799           type rename.
27800
27801 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27802
27803         * docs/manual/advanced-autoplugging.xml:
27804         * docs/manual/basics-helloworld.xml:
27805         * docs/manual/basics-pads.xml:
27806         * docs/random/ds/0.9-suggested-changes:
27807         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27808         * gst/gstelement.h:
27809         * gst/gstevent.h:
27810         * gst/gstformat.h:
27811         * gst/gstquery.h:
27812         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27813         (gst_structure_parse_array), (gst_structure_parse_value):
27814         * gst/gstvalue.c: (gst_type_is_fixed),
27815         (gst_value_list_prepend_value), (gst_value_list_append_value),
27816         (gst_value_list_get_size), (gst_value_list_get_value),
27817         (gst_value_transform_array_string), (gst_value_serialize_array),
27818         (gst_value_deserialize_array), (gst_value_intersect_array),
27819         (gst_value_is_fixed), (_gst_value_initialize):
27820         * gst/gstvalue.h:
27821           GstElement::new-pad -> pad-added, GstElement::state-change ->
27822           state-changed, GstValueFixedList -> GstValueArray, add format and
27823           flags as their own arguments in gst_element_seek() (should improve
27824           "bindeability"), remove function generators since they don't work
27825           under a whole bunch of compilers (they were deprecated already
27826           anyway).
27827
27828 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27829
27830         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27831         (_gst_debug_register_funcptr):
27832         * gst/gstinfo.h:
27833           Fix illegal cast on some platforms (#309253).
27834
27835 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27836
27837         * gst/gstmessage.c: (gst_message_new_custom):
27838         * gst/gstmessage.h:
27839           Add _new_custom, make _new_application a macro to _new_custom.
27840
27841 2005-07-20  Wim Taymans  <wim@fluendo.com>
27842
27843         * gst/base/gstbasesrc.c: (gst_base_src_init),
27844         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27845         * gst/base/gstbasesrc.h:
27846         Add a gboolean to decide when to push out a discont.
27847
27848         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27849         (gst_queue_loop), (gst_queue_handle_src_query),
27850         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27851         (gst_queue_set_property), (gst_queue_get_property):
27852         Some cleanups.
27853
27854         * tests/threadstate/threadstate1.c: (main):
27855         Make a thread test compile and run... very silly..
27856
27857
27858 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27859
27860         * docs/manual/appendix-porting.xml:
27861           Mention removal of libgstgconf-0.9.la and existence of gconf
27862           elements.
27863
27864 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27865
27866         * docs/pwg/advanced-clock.xml:
27867         * docs/pwg/appendix-porting.xml:
27868         * docs/pwg/intro-preface.xml:
27869         * docs/pwg/other-base.xml:
27870         * docs/pwg/other-manager.xml:
27871         * docs/pwg/other-nton.xml:
27872         * docs/pwg/other-ntoone.xml:
27873         * docs/pwg/other-oneton.xml:
27874         * docs/pwg/pwg.xml:
27875           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27876           demuxer), remove n-to-n (was never written), fix some code examples
27877           and links and update the porting section to include all this.
27878
27879 2005-07-19  Wim Taymans  <wim@fluendo.com>
27880
27881         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27882         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27883         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27884         (gst_queue_src_activate_push), (gst_queue_change_state),
27885         (gst_queue_get_property):
27886         * gst/gstqueue.h:
27887         Propagate GstFlowReturn more intelligently upstream and output
27888         an ERROR/EOS when streaming stopped due to fatal error.
27889
27890 2005-07-19  Wim Taymans  <wim@fluendo.com>
27891
27892         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27893         Don't block forever for the state change to complete, the
27894         pipeline already did with a sensible timeout.
27895
27896 2005-07-19  Wim Taymans  <wim@fluendo.com>
27897
27898         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27899         Make sure we never call the create function is we
27900         got deactivated.
27901
27902 2005-07-19  Andy Wingo  <wingo@pobox.com>
27903
27904         * gst/parse/parse.l: Attempt to solve bug #172815.
27905
27906 2005-07-19  Wim Taymans  <wim@fluendo.com>
27907
27908         * docs/design/part-clocks.txt:
27909         * docs/design/part-events.txt:
27910         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27911         Small docs updates.
27912         Only update the seeking values when we are not
27913         busy streaming.
27914
27915 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27916
27917         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27918           Oops, ignore the result of gst_pad_push_event here.
27919
27920 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27921
27922         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27923         (gst_base_src_activate_push):
27924           Send discont event from the loop function, as pads
27925           aren't activated yet in the activate_push handler.
27926
27927         * gst/gstbin.c: (bin_bus_handler):
27928           Don't leak element name.
27929
27930 2005-07-18  Andy Wingo  <wingo@pobox.com>
27931
27932         * configure.ac: Use AS_LIBTOOL_TAGS.
27933
27934 2005-07-18  Wim Taymans  <wim@fluendo.com>
27935
27936         * docs/gst/gstreamer.types:
27937         Remove deleted types.
27938
27939 2005-07-18  Wim Taymans  <wim@fluendo.com>
27940
27941         * check/elements/gstfakesrc.c: (GST_START_TEST):
27942         * configure.ac:
27943         * gst/Makefile.am:
27944         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27945         (init_popt_callback):
27946         * gst/gst.h:
27947         * gst/gst_private.h:
27948         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27949         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27950         * gst/gstbin.h:
27951         * gst/gstbus.h:
27952         * gst/gstconfig.h.in:
27953         * gst/gstelement.c: (gst_element_class_init),
27954         (gst_element_set_base_time), (gst_element_get_base_time),
27955         (iterator_fold_with_resync), (gst_element_change_state),
27956         (gst_element_dispose), (gst_element_get_bus):
27957         * gst/gstelement.h:
27958         * gst/gstelementfactory.h:
27959         * gst/gsterror.c: (_gst_core_errors_init):
27960         * gst/gsterror.h:
27961         * gst/gstevent.h:
27962         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27963         * gst/gstindex.c:
27964         * gst/gstinfo.c: (_gst_debug_init):
27965         * gst/gstmessage.c: (_gst_message_copy):
27966         * gst/gstmessage.h:
27967         * gst/gstminiobject.h:
27968         * gst/gstobject.c:
27969         * gst/gstobject.h:
27970         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27971         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27972         * gst/gstpad.h:
27973         * gst/gstparse.h:
27974         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27975         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27976         (gst_pipeline_get_last_stream_time):
27977         * gst/gstpipeline.h:
27978         * gst/gstpluginfeature.h:
27979         * gst/gstquery.h:
27980         * gst/gstscheduler.c:
27981         * gst/gstscheduler.h:
27982         * gst/gststructure.h:
27983         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27984         (gst_task_finalize), (gst_task_func), (gst_task_create),
27985         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27986         (gst_task_stop), (gst_task_pause):
27987         * gst/gsttask.h:
27988         * gst/gsttypefind.h:
27989         * gst/gsttypes.h:
27990         * gst/registries/gstlibxmlregistry.c: (load_feature),
27991         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27992         * gst/registries/gstxmlregistry.c:
27993         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27994         * gst/schedulers/threadscheduler.c:
27995         * libs/gst/control/dparammanager.h:
27996         * tools/gst-inspect.c: (print_element_list),
27997         (print_plugin_features), (print_element_features):
27998         * tools/gst-xmlinspect.c: (print_element_list),
27999         (print_plugin_info), (main):
28000         Removed plugable schedulers.
28001         Removed Scheduler/Manager from elements.
28002         Removed gsttypes.h, rearranged includes.
28003         Removed dependency pad<->element, element<>pipeline, and
28004         various others,  fix includes.
28005         implement gst_pad_get_parent() with gst_object_get_parent()
28006         Make GstTask sefcontained.
28007         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28008         timeout.
28009         Fix endless loop in iterator_fold_with_resync.
28010
28011
28012 2005-07-18  Wim Taymans  <wim@fluendo.com>
28013
28014         * gst/Makefile.am:
28015         * gst/gstarch.h:
28016         Remove old file.
28017
28018 2005-07-18  Wim Taymans  <wim@fluendo.com>
28019
28020         * gst/Makefile.am:
28021         No more cothreads.h
28022
28023 2005-07-18  Wim Taymans  <wim@fluendo.com>
28024
28025         * gst/cothreads.c:
28026         * gst/cothreads.h:
28027         Let's remove these.
28028
28029 2005-07-18  Wim Taymans  <wim@fluendo.com>
28030
28031         * docs/design/part-dynamic.txt:
28032         * docs/design/part-events.txt:
28033         * docs/design/part-seeking.txt:
28034         Some more docs in the works.
28035
28036         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28037         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28038         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28039         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28040         (gst_base_transform_handle_buffer),
28041         (gst_base_transform_sink_activate_push),
28042         (gst_base_transform_src_activate_pull),
28043         (gst_base_transform_set_passthrough),
28044         (gst_base_transform_is_passthrough):
28045         Refcounting fixes.
28046
28047         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28048         Cleanups.
28049
28050         * gst/gstevent.c: (gst_event_finalize):
28051         Set SRC to NULL.
28052
28053         * gst/gstutils.c: (gst_element_unlink),
28054         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28055         (gst_pad_proxy_setcaps):
28056         * gst/gstutils.h:
28057         Add _get_parent_element() to get a pads parent as an element.
28058
28059 2005-07-18  Wim Taymans  <wim@fluendo.com>
28060
28061         * check/gst/gstbin.c: (GST_START_TEST):
28062         Remove bogus test.
28063
28064 2005-07-18  Wim Taymans  <wim@fluendo.com>
28065
28066         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28067         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28068         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28069         (gst_base_sink_event), (gst_base_sink_do_sync),
28070         (gst_base_sink_chain), (gst_base_sink_loop),
28071         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28072         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28073         Refcounting fixes.
28074         Fix logic for returning ASYNC when not prerolled.
28075
28076 2005-07-18  Wim Taymans  <wim@fluendo.com>
28077
28078         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28079         Fix nasty refcount bug.
28080
28081 2005-07-16 Philippe Khalaf <burger@speedy.org>
28082
28083         * gst/elements/gstfdsrc.c:
28084         * gst/elements/gstfdsrc.h:
28085         * gst/elements/gstelements.c:
28086         * gst/elements/Makefile.am:
28087         Ported fdsrc to 0.9.
28088
28089 2005-07-16  Wim Taymans  <wim@fluendo.com>
28090
28091         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28092         (gst_base_sink_do_sync):
28093         Fix compile error.
28094
28095 2005-07-16  Wim Taymans  <wim@fluendo.com>
28096
28097         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28098         (gst_base_sink_event), (gst_base_sink_get_times),
28099         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28100         * gst/base/gstbasesink.h:
28101         Store and use discont values when syncing buffers as described
28102         in design docs.
28103         
28104         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28105         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28106         (gst_base_src_activate_push):
28107         Push discont event when starting.
28108
28109         * gst/elements/gstidentity.c: (gst_identity_transform):
28110         Small cleanups.
28111
28112         * gst/gstbin.c: (gst_bin_change_state):
28113         Small cleanups in base_time  distribution.
28114
28115         * gst/gstelement.c: (gst_element_set_base_time),
28116         (gst_element_get_base_time), (gst_element_change_state):
28117         * gst/gstelement.h:
28118         Added methods for the base_time of the element.
28119         Some MT fixes.
28120
28121         * gst/gstpipeline.c: (gst_pipeline_send_event),
28122         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28123         (gst_pipeline_get_last_stream_time):
28124         * gst/gstpipeline.h:
28125         MT fixes.
28126         Handle seeking as described in design doc, remove stream_time
28127         hack.
28128         Cleanups clock and stream_time selection code. Added accessors
28129         for the stream_time.
28130         
28131
28132 2005-07-16  Andy Wingo  <wingo@pobox.com>
28133
28134         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28135         (#305291).
28136
28137 2005-07-16  Wim Taymans  <wim@fluendo.com>
28138
28139         * check/gst/gstbin.c: (GST_START_TEST):
28140         Make elements silent as the deep_notify refs the
28141         parent, which might make the test fail.
28142
28143         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28144         Don't hold the lock for too long.
28145
28146 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28147
28148         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28149           Don't unref the caps we passed to gst_caps_make_writable() after
28150           passing them. gst_caps_make_writable() will do that for us.
28151
28152 2005-07-15  Andy Wingo  <wingo@pobox.com>
28153
28154         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28155         (#157311).
28156
28157         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28158         own marshalling function for the handoff signal. Properly type the
28159         buffer as a buffer. Fixes some warnings. Should do a more general
28160         solution.
28161         (gst_identity_class_init): Plug into the right marshaller.
28162
28163 2005-07-15  Wim Taymans  <wim@fluendo.com>
28164
28165         * docs/design/part-TODO.txt:
28166         * docs/design/part-clocks.txt:
28167         * docs/design/part-element-sink.txt:
28168         * docs/design/part-events.txt:
28169         * docs/design/part-gstpipeline.txt:
28170         Updated docs, mostly DISCONT related.
28171
28172 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28173
28174         * docs/pwg/building-pads.xml:
28175           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28176
28177 2005-07-15  Andy Wingo  <wingo@pobox.com>
28178
28179         * tools/gst-typefind.c: Update, add copyright block.
28180
28181         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28182         Normalize and truncate caps before fixation.
28183
28184         * gst/gstcaps.h:
28185         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28186         discards all but the first structure from its argument.
28187
28188 2005-07-15  Wim Taymans  <wim@fluendo.com>
28189
28190         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28191         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28192         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28193         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28194         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28195         (gst_base_transform_chain), (gst_base_transform_change_state),
28196         (gst_base_transform_set_passthrough),
28197         (gst_base_transform_is_passthrough):
28198         * gst/base/gstbasetransform.h:
28199         Make passthrough work using the bufferpools.
28200         Changed API a bit, subclasses have to write into a buffer
28201         provided by the base class.
28202         More debug info in nego functions.
28203         
28204         * gst/elements/gstidentity.c: (gst_identity_init),
28205         (gst_identity_transform):
28206         Port to new base class.
28207
28208 2005-07-15  Wim Taymans  <wim@fluendo.com>
28209
28210         * gst/gstmessage.c: (gst_message_new_state_changed):
28211         * tools/gst-launch.c: (event_loop), (main):
28212         Totally dump messages in -launch with the -m option.
28213         Fix message name for State messages,
28214
28215 2005-07-14  Wim Taymans  <wim@fluendo.com>
28216
28217         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28218         Post error messages on errors.
28219
28220 2005-07-14  Wim Taymans  <wim@fluendo.com>
28221
28222         * gst/gstcaps.c: (gst_caps_do_simplify):
28223         Remove debug info.
28224
28225         * gst/gsterror.h:
28226         Define error for stream stopped.
28227
28228         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28229         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28230         Do proper return values.
28231
28232         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28233         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28234         (gst_pad_get_range):
28235         Better return values.
28236
28237         * gst/gstpad.h:
28238         Reorganise return values, add macro to check for fatal errors.
28239
28240         * gst/gstqueue.c: (gst_queue_chain):
28241         Return proper GstFlowReturn values,
28242
28243 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28244
28245         * docs/gst/gstreamer-sections.txt:
28246         * docs/gst/gstreamer.types:
28247         * docs/gst/tmpl/gst.sgml:
28248         * docs/gst/tmpl/gstbasesink.sgml:
28249         * docs/gst/tmpl/gstbasesrc.sgml:
28250         * docs/gst/tmpl/gstbasetransform.sgml:
28251         * docs/gst/tmpl/gstbin.sgml:
28252         * docs/gst/tmpl/gstbuffer.sgml:
28253         * docs/gst/tmpl/gstcaps.sgml:
28254         * docs/gst/tmpl/gstclock.sgml:
28255         * docs/gst/tmpl/gstcompat.sgml:
28256         * docs/gst/tmpl/gstconfig.sgml:
28257         * docs/gst/tmpl/gstelement.sgml:
28258         * docs/gst/tmpl/gstelementdetails.sgml:
28259         * docs/gst/tmpl/gstelementfactory.sgml:
28260         * docs/gst/tmpl/gstenumtypes.sgml:
28261         * docs/gst/tmpl/gsterror.sgml:
28262         * docs/gst/tmpl/gstevent.sgml:
28263         * docs/gst/tmpl/gstfakesink.sgml:
28264         * docs/gst/tmpl/gstfakesrc.sgml:
28265         * docs/gst/tmpl/gstfilesink.sgml:
28266         * docs/gst/tmpl/gstfilesrc.sgml:
28267         * docs/gst/tmpl/gstfilter.sgml:
28268         * docs/gst/tmpl/gstformat.sgml:
28269         * docs/gst/tmpl/gstghostpad.sgml:
28270         * docs/gst/tmpl/gstimplementsinterface.sgml:
28271         * docs/gst/tmpl/gstindex.sgml:
28272         * docs/gst/tmpl/gstindexfactory.sgml:
28273         * docs/gst/tmpl/gstinfo.sgml:
28274         * docs/gst/tmpl/gstiterator.sgml:
28275         * docs/gst/tmpl/gstmacros.sgml:
28276         * docs/gst/tmpl/gstmemchunk.sgml:
28277         * docs/gst/tmpl/gstminiobject.sgml:
28278         * docs/gst/tmpl/gstobject.sgml:
28279         * docs/gst/tmpl/gstpad.sgml:
28280         * docs/gst/tmpl/gstpadtemplate.sgml:
28281         * docs/gst/tmpl/gstparse.sgml:
28282         * docs/gst/tmpl/gstpipeline.sgml:
28283         * docs/gst/tmpl/gstplugin.sgml:
28284         * docs/gst/tmpl/gstpluginfeature.sgml:
28285         * docs/gst/tmpl/gstquery.sgml:
28286         * docs/gst/tmpl/gstqueue.sgml:
28287         * docs/gst/tmpl/gstregistry.sgml:
28288         * docs/gst/tmpl/gstregistrypool.sgml:
28289         * docs/gst/tmpl/gstscheduler.sgml:
28290         * docs/gst/tmpl/gstschedulerfactory.sgml:
28291         * docs/gst/tmpl/gststructure.sgml:
28292         * docs/gst/tmpl/gstsystemclock.sgml:
28293         * docs/gst/tmpl/gsttaglist.sgml:
28294         * docs/gst/tmpl/gsttagsetter.sgml:
28295         * docs/gst/tmpl/gsttrace.sgml:
28296         * docs/gst/tmpl/gsttrashstack.sgml:
28297         * docs/gst/tmpl/gsttypefind.sgml:
28298         * docs/gst/tmpl/gsttypefindfactory.sgml:
28299         * docs/gst/tmpl/gsttypes.sgml:
28300         * docs/gst/tmpl/gsturihandler.sgml:
28301         * docs/gst/tmpl/gsturitype.sgml:
28302         * docs/gst/tmpl/gstutils.sgml:
28303         * docs/gst/tmpl/gstvalue.sgml:
28304         * docs/gst/tmpl/gstversion.sgml:
28305         * docs/gst/tmpl/gstxml.sgml:
28306         * docs/libs/tmpl/gstcontrol.sgml:
28307         * docs/libs/tmpl/gstdataprotocol.sgml:
28308         * docs/libs/tmpl/gstdparam.sgml:
28309         * docs/libs/tmpl/gstdplinint.sgml:
28310         * docs/libs/tmpl/gstdpman.sgml:
28311         * docs/libs/tmpl/gstdpsmooth.sgml:
28312         * docs/libs/tmpl/gstgetbits.sgml:
28313         * docs/libs/tmpl/gstunitconvert.sgml:
28314         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28315         (gst_push_src_base_init), (gst_push_src_class_init),
28316         (gst_push_src_init), (gst_push_src_create):
28317         * gst/base/gstpushsrc.h:
28318         * gst/elements/gstelements.c:
28319         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28320         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28321         (gst_fake_sink_init), (gst_fake_sink_set_property),
28322         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28323         (gst_fake_sink_event), (gst_fake_sink_preroll),
28324         (gst_fake_sink_render), (gst_fake_sink_change_state):
28325         * gst/elements/gstfakesink.h:
28326         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28327         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28328         (gst_fake_src_base_init), (gst_fake_src_class_init),
28329         (gst_fake_src_init), (gst_fake_src_event_handler),
28330         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28331         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28332         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28333         (gst_fake_src_create_buffer), (gst_fake_src_create),
28334         (gst_fake_src_start), (gst_fake_src_stop):
28335         * gst/elements/gstfakesrc.h:
28336         * gst/elements/gstfilesink.c: (_do_init),
28337         (gst_file_sink_base_init), (gst_file_sink_class_init),
28338         (gst_file_sink_init), (gst_file_sink_dispose),
28339         (gst_file_sink_set_location), (gst_file_sink_set_property),
28340         (gst_file_sink_get_property), (gst_file_sink_open_file),
28341         (gst_file_sink_close_file), (gst_file_sink_query),
28342         (gst_file_sink_event), (gst_file_sink_render),
28343         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28344         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28345         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28346         * gst/elements/gstfilesink.h:
28347         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28348         (gst_file_src_class_init), (gst_file_src_init),
28349         (gst_file_src_finalize), (gst_file_src_set_location),
28350         (gst_file_src_set_property), (gst_file_src_get_property),
28351         (gst_file_src_map_region), (gst_file_src_map_small_region),
28352         (gst_file_src_create_mmap), (gst_file_src_create_read),
28353         (gst_file_src_create), (gst_file_src_is_seekable),
28354         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28355         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28356         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28357         (gst_file_src_uri_handler_init):
28358         * gst/elements/gstfilesrc.h:
28359           more autistic cleanliness in functions/names/defines
28360
28361 2005-07-13  Andy Wingo  <wingo@pobox.com>
28362
28363         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28364         source couldn't negotiate.
28365
28366         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28367         connections again.
28368
28369         * gst/gstutils.h:
28370         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28371         function. I am channeling Hades. Put your boots on suckers!!!
28372
28373 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28374
28375         * testsuite/caps/Makefile.am:
28376         * testsuite/caps/value_compare.c:
28377         * testsuite/caps/value_intersect.c:
28378         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28379           move two testsuite apps over to the check dir
28380
28381 2005-07-12  Wim Taymans  <wim@fluendo.com>
28382
28383         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28384         Added more debug info in the negotiate process.
28385
28386         * gst/gstmessage.h:
28387         Prepare for segment playback.
28388
28389         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28390         Better debugging.
28391
28392         * gst/gstutils.c:
28393         Some more docs.
28394
28395         * tools/gst-launch.c: (main):
28396         NULL pipeline on errors.
28397
28398 2005-07-12  Andy Wingo  <wingo@pobox.com>
28399
28400         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28401         not it comes from a malloc region. Make sure our copy gets freed.
28402
28403 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28404
28405         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28406         * check/gst/gstmessage.c: (GST_START_TEST):
28407         * check/gst/gststructure.c: (GST_START_TEST),
28408         (gst_structure_suite), (main):
28409           more testing
28410         * gst/gstelement.c: (gst_element_message_full):
28411           clean up GError and debug string now that they get copied
28412         * gst/gstmessage.c: (gst_message_new_error),
28413         (gst_message_new_warning), (gst_message_parse_error),
28414         (gst_message_parse_warning):
28415           use GST_TYPE_G_ERROR for structure_new, and take copies of
28416           arguments, so that we don't mess up refcounting
28417
28418 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28419
28420         * check/Makefile.am:
28421           add per-test valgrind targets
28422         * check/gst-libs/gdp.c: (GST_START_TEST),
28423         (gst_data_protocol_suite), (main):
28424           clean up
28425
28426 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28427
28428         * check/Makefile.am:
28429           instate more valgrindable tests
28430         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28431         (GST_START_TEST), (fakesrc_suite):
28432         * check/gst/gstpad.c: (GST_START_TEST):
28433         * check/gst/gststructure.c: (GST_START_TEST):
28434           fix test leaks
28435         * docs/gst/tmpl/gstminiobject.sgml:
28436         * gst/gstpad.c: (gst_pad_finalize):
28437           fix the static mutex leak
28438
28439 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28440
28441         * check/Makefile.am:
28442           add two more tests for valgrinding
28443         * check/gst/gstvalue.c: (GST_START_TEST):
28444           test refcount of deserialized buffer, found a leak
28445         * docs/gst/gstreamer-docs.sgml:
28446         * docs/gst/gstreamer-sections.txt:
28447         * docs/gst/gstreamer.types:
28448         * docs/gst/tmpl/gstminiobject.sgml:
28449           add miniobject to docs
28450         * gst/gstminiobject.c:
28451           add some docs
28452         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28453         (gst_string_unwrap):
28454           fix a hard-to-find invalid write for one of the tests
28455           fix a leak for deserialized buffers
28456
28457 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28458
28459         * docs/pwg/advanced-events.xml:
28460         * docs/pwg/advanced-request.xml:
28461         * docs/pwg/advanced-scheduling.xml:
28462         * docs/pwg/appendix-porting.xml:
28463         * docs/pwg/building-boiler.xml:
28464         * docs/pwg/intro-preface.xml:
28465         * docs/pwg/other-ntoone.xml:
28466           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28467           of example code and explanation for pad activation, loop() and
28468           getrange() functions and a bit more. Remove old comments pointing
28469           to loop-functions.
28470         * examples/pwg/Makefile.am:
28471           Add loop/getrange examples.
28472
28473 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28474
28475         * configure.ac:
28476           check for valgrind binary + some fixes
28477         * check/gst.supp:
28478           valgrind suppressions for the tests
28479         * check/Makefile.am:
28480           add a valgrind: target that valgrinds the unit tests
28481         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28482         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28483         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28484         * check/gst/gstghostpad.c:
28485           added some cleanup
28486         * check/gst/gstdata.c:
28487           removed
28488         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28489         (thread_unref), (gst_mini_object_suite), (main):
28490           added
28491         * gst/gst.c: (gst_deinit):
28492         * gst/gst.h:
28493           add a method to clean up.
28494         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28495         (gst_system_clock_obtain):
28496           allow for disposing the system clock.
28497         * tools/gst-launch.c: (main):
28498           deinit
28499
28500 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28501
28502         * docs/gst/tmpl/gstbasesrc.sgml:
28503         * docs/gst/tmpl/gstfakesrc.sgml:
28504         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28505         (gst_base_src_init), (gst_base_src_set_property),
28506         (gst_base_src_get_property), (gst_base_src_get_range),
28507         (gst_base_src_start):
28508         * gst/base/gstbasesrc.h:
28509           add num-buffers property
28510         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28511         (gst_fakesrc_init), (gst_fakesrc_set_property),
28512         (gst_fakesrc_get_property), (gst_fakesrc_create),
28513         (gst_fakesrc_start):
28514           remove num-buffers property
28515
28516 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28517
28518         * docs/gst/gstreamer-sections.txt:
28519         * docs/gst/tmpl/gstbasesink.sgml:
28520         * docs/gst/tmpl/gstbasesrc.sgml:
28521         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28522         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28523         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28524         (gst_base_sink_set_property), (gst_base_sink_get_property),
28525         (gst_base_sink_handle_object), (gst_base_sink_event),
28526         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28527         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28528         (gst_base_sink_loop), (gst_base_sink_deactivate),
28529         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28530         (gst_base_sink_change_state):
28531         * gst/base/gstbasesink.h:
28532         * gst/base/gstbasesrc.h:
28533         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28534         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28535         (gst_filesink_init):
28536           more macro splitting
28537
28538 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28539
28540         * gst/gstelement.c: (gst_element_get_bus):
28541           add debug
28542         * tools/gst-launch.c: (check_intr), (event_loop):
28543           fix bus leaks
28544
28545 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28546
28547         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28548           fix a caps leak
28549
28550 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28551
28552         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28553         (gst_base_src_finalize):
28554           add finalize method and clean up properly
28555         * gst/gstpipeline.c: (gst_pipeline_dispose):
28556           add debug
28557
28558 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28559
28560         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28561         (gst_bin_suite):
28562           add more things to check
28563         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28564         * gst/gstelement.c:
28565           more debug
28566
28567 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28568
28569         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28570         (GST_START_TEST), (fakesrc_suite):
28571         * check/gst-libs/gdp.c: (GST_START_TEST):
28572         * check/gst/gst.c: (GST_START_TEST):
28573         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28574         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28575         * check/gst/gstbus.c: (GST_START_TEST):
28576         * check/gst/gstcaps.c: (GST_START_TEST):
28577         * check/gst/gstdata.c: (GST_START_TEST):
28578         * check/gst/gstelement.c: (GST_START_TEST):
28579         * check/gst/gstghostpad.c: (GST_START_TEST):
28580         * check/gst/gstiterator.c: (GST_START_TEST):
28581         * check/gst/gstmessage.c: (GST_START_TEST):
28582         * check/gst/gstobject.c: (GST_START_TEST):
28583         * check/gst/gstpad.c: (GST_START_TEST):
28584         * check/gst/gststructure.c: (GST_START_TEST):
28585         * check/gst/gstsystemclock.c: (GST_START_TEST),
28586         (gst_systemclock_suite):
28587         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28588         * check/gst/gstvalue.c: (GST_START_TEST):
28589         * check/pipelines/cleanup.c: (GST_START_TEST):
28590         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28591         * check/states/sinks.c: (GST_START_TEST):
28592         * check/gstcheck.c: (gst_check_init):
28593         * check/gstcheck.h:
28594           add debugging category
28595           use GST_START_TEST now, so we add a debug line
28596
28597 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28598
28599         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28600           add test for state change message on a bin
28601         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28602           add another test
28603         * gst/gstbin.c: (gst_bin_init):
28604         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28605         * gst/gstelement.c: (gst_element_post_message),
28606         (gst_element_set_state):
28607         * gst/gstelementfactory.c: (gst_element_factory_create):
28608         * gst/gstmessage.c: (gst_message_new):
28609         * gst/gstscheduler.c:
28610           various debugging additions and cleanups
28611
28612 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28613
28614         * check/Makefile.am:
28615         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28616         (main):
28617           adding tests for elements
28618         * gst/gstelement.c: (gst_element_dispose):
28619
28620 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28621
28622         * gst/registries/gstlibxmlregistry.c: (load_feature):
28623           plug more leaks.  A simple gst_init() now is leakfree, yay.
28624
28625 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28626
28627         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28628         (gst_xml_registry_load):
28629           plug another memleak
28630
28631 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28632
28633         * configure.ac:
28634           use GST_SET_ERROR_CFLAGS
28635         * docs/faq/cvs.xml:
28636           change to ERROR_CFLAGS
28637
28638 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28639
28640         * configure.ac:
28641           make GST_ERROR_CFLAGS overridable and re-enable Werror
28642         * docs/faq/cvs.xml:
28643           add a note about error CFLAGS
28644         * docs/gst/tmpl/gstfakesrc.sgml:
28645         * gst/elements/gstfakesrc.c:
28646           comment out some unused code
28647         * gst/gst.c: (split_and_iterate):
28648         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28649         (load_feature):
28650           plug some memleaks
28651
28652 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28653
28654         * common/Makefile.am:
28655         * common/gtk-doc.mak:
28656         * docs/gst/Makefile.am:
28657           factor out gtk-doc.mak
28658
28659 2005-07-07  Wim Taymans  <wim@fluendo.com>
28660
28661         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28662         (gst_thread_scheduler_dispose):
28663         Unlock the STREAM_LOCK completely.
28664
28665 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28666
28667         * check/Makefile.am:
28668         * check/elements/.cvsignore:
28669         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28670         (START_TEST), (fakesrc_suite), (main):
28671         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28672         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28673         (gst_fakesrc_create), (gst_fakesrc_start):
28674         * gst/elements/gstfakesrc.h:
28675           adding a first element test
28676
28677 2005-07-07  Andy Wingo  <wingo@pobox.com>
28678
28679         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28680         debug message.
28681
28682 2005-07-07  Wim Taymans  <wim@fluendo.com>
28683
28684         * gst/gstquery.c:
28685         * gst/gstquery.h:
28686         Remove old types
28687
28688 2005-07-07  Wim Taymans  <wim@fluendo.com>
28689
28690         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28691         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28692         Allow subclasses to implement their own negotiation.
28693
28694 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28695
28696         * docs/design/part-gstbin.txt:
28697         * docs/design/part-gstpipeline.txt:
28698           Update design notes to reflect the movement of
28699           responsibility for bus handling from GstPipeline to
28700           GstBin
28701
28702 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28703
28704         * configure.ac:
28705           Remove unnecessary queue2/3/4 examples.
28706
28707 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28708
28709         * examples/Makefile.am:
28710         * examples/helloworld/helloworld.c: (event_loop), (main):
28711         * examples/queue/queue.c: (event_loop), (main):
28712         * examples/queue2/queue2.c: (main):
28713           Update a couple of the examples to work again.
28714
28715         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28716         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28717          Spelling corrections and extra debug.
28718         
28719         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28720         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28721         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28722         * gst/gstbin.h:
28723         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28724         (gst_pipeline_change_state):
28725         * gst/gstpipeline.h:
28726           Move the bus handler for children to the GstBin, and create a
28727           separate bus for receiving messages from children to the one the
28728           bus sends 'upwards' on.
28729
28730 2005-07-06  Wim Taymans  <wim@fluendo.com>
28731
28732         * gst/base/README:
28733         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28734         (gst_base_sink_handle_object), (gst_base_sink_loop),
28735         (gst_base_sink_change_state):
28736         * gst/base/gstbasesink.h:
28737         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28738         (gst_base_src_init), (gst_base_src_setcaps),
28739         (gst_base_src_getcaps), (gst_base_src_loop),
28740         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28741         (gst_base_src_start), (gst_base_src_change_state):
28742         * gst/base/gstbasesrc.h:
28743         Make basesrc negotiate.
28744         Handle the case where preroll fails in basesink.
28745         Update README.
28746
28747 2005-07-06  Wim Taymans  <wim@fluendo.com>
28748
28749         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28750         Implement the fixate function.
28751         Clean up acceptcaps.
28752
28753 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28754
28755         * docs/pwg/building-filterfactory.xml:
28756         * docs/pwg/pwg.xml:
28757           Remove never-written filter-factory chapter; I'll add the various
28758           base classes to part 4 ("other element types") later on.
28759
28760 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28761
28762         * docs/pwg/advanced-negotiation.xml:
28763         * docs/pwg/building-boiler.xml:
28764         * docs/pwg/building-pads.xml:
28765         * docs/pwg/pwg.xml:
28766         * examples/pwg/Makefile.am:
28767           Add a chapter on caps negotiation, simplify the original code
28768           samples a bit w.r.t. caps negotiation, add link to the advanced
28769           section. Add a bunch of examples showing different use cases of
28770           different types of caps negotiation. Upstream renegotiation isn't
28771           fully documented yet since nobody knows how that works.
28772
28773 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28774
28775         * check/gst/gstpad.c:
28776         * check/gstcheck.c:
28777         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28778           if pad has no parent, return NULL as list of internal links
28779
28780 2005-07-05  Andy Wingo  <wingo@pobox.com>
28781
28782         * gst/elements/gstfilesrc.c:
28783         * gst/elements/gstfakesrc.c: 
28784         * gst/base/gstpushsrc.c:
28785         * gst/base/gstbasesrc.h: 
28786         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28787         
28788 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28789
28790         * Makefile.am:
28791           better report generation target (lcov needs a patch)
28792
28793 2005-07-05  Andy Wingo  <wingo@pobox.com>
28794
28795         * gst/elements, testsuite: Null if we got it...
28796
28797 2005-07-05  Wim Taymans  <wim@fluendo.com>
28798
28799         * configure.ac:
28800         * libs/gst/dataprotocol/Makefile.am:
28801         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28802         * libs/gst/dataprotocol/dataprotocol.h:
28803         * pkgconfig/Makefile.am:
28804         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28805         * pkgconfig/gstreamer-dataprotocol.pc.in:
28806         Ported dataprotol to 0.9. 
28807         Added pkgconfig files.
28808
28809 2005-07-05  Andy Wingo  <wingo@pobox.com>
28810
28811         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28812         Default to returning TRUE for the case when tranform_caps returns
28813         a fixed caps, like for identity or volume.
28814
28815         * check/gst/gstbus.c (pound_bus_with_messages): 
28816         * check/gst/gstmessage.c (START_TEST): 
28817         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28818         message API change.
28819
28820         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28821         logic weaks here: always run transform_caps, trying passthrough
28822         operation only if the original caps intersects with the transform.
28823
28824         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28825         source and sink caps.
28826
28827         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28828         Intersect the peer caps with the pad template before going into
28829         transform_caps.
28830         (gst_base_transform_transform_caps): More debugging.
28831
28832         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28833         src argument.
28834
28835 2005-07-04  Edward Hervey  <edward@fluendo.com>
28836
28837         * gst/gstutils.c:
28838         * gst/gstutils.h:
28839         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28840         in bindings.
28841
28842 2005-07-04  Andy Wingo  <wingo@pobox.com>
28843
28844         * check/gst/gstpad.c: Only set explicit caps on pads.
28845
28846 2005-07-01  Andy Wingo  <wingo@pobox.com>
28847
28848         * tests/network-clock.scm: Commentary update.
28849
28850         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28851         Didn't really make sense, not implementable with basetransform,
28852         etc.
28853         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28854         attempt at implementing the sync property, needs an unlock method.
28855
28856         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28857         New func, by default returns the same caps (the identity
28858         transformation).
28859         (gst_base_transform_getcaps): Uses transform_caps to return
28860         something sensible.
28861         (gst_base_transform_setcaps): Complicated logic to get caps on
28862         both pads, even if they are different, and to call set_caps once
28863         for every time both pads get their caps set.
28864         (gst_base_transform_handle_buffer): Give the ref to the transform
28865         function. Allows in-place modification of the buffer.
28866
28867         * gst/base/gstbasetransform.h (transform_caps): New class method.
28868         Given caps on one side, what can I do on the other.
28869         (set_caps): Take two caps, one for each side of the element.
28870
28871         * gst/gstpad.h:
28872         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28873         caps in place. This is safe because we can check the mutability of
28874         the caps, and a good idea because fixate functions are just called
28875         as a matter of last resort. (Not actually implemented.)
28876         (gst_pad_set_caps): If the caps we're setting is actually the same
28877         as the existing pad caps, just update the pointer without calling
28878         setcaps. Assert that caps is either NULL or fixed, as per the
28879         docs.
28880
28881         * gst/gstghostpad.c: Update for fixate changes.
28882
28883 2005-07-02  Andy Wingo  <wingo@pobox.com>
28884
28885         * gst/gstcaps.c:
28886         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28887         two refcounts makes it immutable, which is enough. Doc more.
28888
28889 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28890
28891         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28892           Put the mini_object into GValue as a mini_object,
28893           not a gpointer, since that's how we declared
28894           the signal.
28895
28896 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28897
28898         * examples/pwg/Makefile.am:
28899           Fix buildbot again.
28900
28901 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28902
28903         * docs/pwg/building-testapp.xml:
28904           Add extra check.
28905         * examples/pwg/Makefile.am:
28906           Fix buildbot.
28907
28908 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28909
28910         * configure.ac:
28911         * examples/Makefile.am:
28912         * examples/pwg/Makefile.am:
28913         * examples/pwg/extract.pl:
28914           Enable building the PWG examples.
28915         * docs/pwg/advanced-interfaces.xml:
28916           Add URI interface stub.
28917         * docs/pwg/advanced-types.xml:
28918         * docs/pwg/other-autoplugger.xml:
28919         * docs/pwg/appendix-porting.xml:
28920         * docs/pwg/pwg.xml:
28921           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28922         * docs/pwg/building-boiler.xml:
28923         * docs/pwg/building-chainfn.xml:
28924         * docs/pwg/building-pads.xml:
28925         * docs/pwg/building-props.xml:
28926         * docs/pwg/building-state.xml:
28927         * docs/pwg/building-testapp.xml:
28928           Update the building-*.xml parts for 0.9 changes. All examples
28929           code blocks compile in examples/pwg/*.
28930
28931 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28932
28933         * docs/manual/advanced-autoplugging.xml:
28934         * docs/manual/appendix-checklist.xml:
28935         * docs/manual/appendix-integration.xml:
28936         * docs/manual/highlevel-components.xml:
28937           Fix playbin/decodebin examples, update docs a bit, mention bus
28938           instead of signals in various places, mention kmplayer and
28939           kaffeine since they have a working GStreamer backend in the KDE
28940           section.
28941
28942 2005-06-30  Wim Taymans  <wim@fluendo.com>
28943
28944         * CHANGES-0.9:
28945         * docs/design/draft-ghostpads.txt:
28946         * docs/design/draft-push-pull.txt:
28947         * docs/design/draft-query.txt:
28948         * docs/design/part-TODO.txt:
28949         * docs/design/part-query.txt:
28950         Added CHANGES-0.9 doc, updated status of other docs.
28951         
28952         * gst/gstquery.h:
28953         Remove "hmm" macro
28954
28955 2005-06-30  Wim Taymans  <wim@fluendo.com>
28956
28957         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28958         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28959         (gst_base_sink_change_state):
28960         * gst/base/gstbasesink.h:
28961         Some tweaks, only EOS and a buffer complete a preroll.
28962
28963 2005-06-30  Andy Wingo  <wingo@pobox.com>
28964
28965         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28966         activate_push down to the internal pad as well.
28967
28968 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28969
28970         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28971
28972         * gst/gsttaginterface.c:
28973           Some documentation fixes (#307394 and #307397).
28974
28975 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28976
28977         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28978
28979         * gst/gstvalue.c: (gst_value_intersect_list):
28980           Fix memleak (#309125).
28981
28982 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28983
28984         * docs/manual/advanced-dataaccess.xml:
28985           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28986         * docs/manual/basics-pads.xml:
28987           Add reference for filtered caps to above chapter.
28988
28989 2005-06-30  Wim Taymans  <wim@fluendo.com>
28990
28991         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28992         (gst_bin_change_state):
28993         Probes are gone.
28994         Lame attempt at making the state change function a bit
28995         more readable.
28996
28997 2005-06-30  Wim Taymans  <wim@fluendo.com>
28998
28999         * docs/design/part-clocks.txt:
29000         * docs/design/part-element-sink.txt:
29001         * docs/design/part-events.txt:
29002         * docs/design/part-preroll.txt:
29003         * docs/design/part-states.txt:
29004         Some more tweeks and additions to the docs.
29005
29006 2005-06-30  Wim Taymans  <wim@fluendo.com>
29007
29008         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29009         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29010         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29011         (gst_pad_check_pull_range), (gst_pad_get_range),
29012         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29013         * gst/gstpad.h:
29014         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29015         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29016         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29017         (gst_pad_remove_buffer_probe):
29018         Removed atomic operations, use existing LOCK.
29019         Move exception handling out of main code path.
29020
29021 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29022
29023         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29024         (silly_return_true_function), (gst_pad_class_init),
29025         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29026         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29027         (gst_pad_send_event):
29028           Fix accumulator, add default value by using _emitv() instead
29029           of _emit() for signal emission.
29030
29031 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29032
29033         * docs/manual/advanced-dataaccess.xml:
29034         * examples/manual/Makefile.am:
29035           Add probe example.
29036         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29037           Make work (??).
29038
29039 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29040
29041         * gst/elements/gstfilesink.c: (gst_filesink_render):
29042           Simplify code so that we don't have to handle short
29043           writes and return GST_FLOW_ERROR if an error occured.
29044
29045 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29046
29047         * docs/gst/gstreamer-docs.sgml:
29048           Remove probes more.
29049
29050 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29051
29052         * docs/gst/gstreamer-sections.txt:
29053         * docs/gst/tmpl/gstpad.sgml:
29054         * docs/gst/tmpl/gstprobe.sgml:
29055         * gst/Makefile.am:
29056         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29057         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29058         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29059         (gst_pad_push_event), (gst_pad_send_event):
29060         * gst/gstpad.h:
29061         * gst/gstutils.c: (gst_pad_add_data_probe),
29062         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29063         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29064         (gst_pad_remove_buffer_probe):
29065         * gst/gstutils.h:
29066           Remove old probes, add new g-signal-based probes and some utility
29067           functions.
29068
29069 2005-06-29  Edward Hervey  <edward@fluendo.com>
29070
29071         * gst/gstelementfactory.c:
29072         * gst/gstutils.h:
29073         * gst/gstutils.c:
29074         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29075         the definition to the header file.
29076
29077 2005-06-29  Andy Wingo  <wingo@pobox.com>
29078
29079         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29080         plugins from the source directory.
29081
29082 2005-06-29  Wim Taymans  <wim@fluendo.com>
29083
29084         * docs/gst/tmpl/gstbuffer.sgml:
29085         * docs/gst/tmpl/gstclock.sgml:
29086         Some fixings for blantently wrong text.
29087
29088 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29089
29090         * check/Makefile.am:
29091         * gst/gst.c: (add_path_func), (init_pre):
29092         * gst/gstregistry.c: (gst_registry_add_path):
29093           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29094           only scan the GST_PLUGIN_PATH locations, and not add
29095           system locations
29096
29097 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29098
29099         * docs/gst/gstreamer-sections.txt:
29100         * docs/gst/tmpl/gstbasesrc.sgml:
29101         * gst/gstelement.c:
29102         * gst/gstelement.h:
29103         * gst/gstevent.c:
29104         * gst/gstutils.c:
29105           doc fixes
29106
29107 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29108
29109         * docs/manual/advanced-autoplugging.xml:
29110           Fix autoplugging example.
29111
29112 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29113
29114         * docs/manual/advanced-autoplugging.xml:
29115         * docs/manual/mime-world.fig:
29116           Try to get autoplugging working, fix type detection. Fix text
29117           in hello-world image.
29118
29119 2005-06-29  Wim Taymans  <wim@fluendo.com>
29120
29121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29122         (gst_base_sink_change_state):
29123         Small debug line.
29124
29125         * gst/gstclock.h:
29126         map SIGNAL and BROADCAST to the right function.
29127
29128         * gst/gstobject.h:
29129         Remove redundant braces.
29130
29131         * gst/gstpad.c: (gst_pad_set_caps):
29132         Don't call setcaps function when reseting caps to NULL.
29133
29134         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29135         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29136         (gst_system_clock_id_unschedule):
29137         Use BROADCAST as this is what we do.
29138
29139 2005-06-29  Wim Taymans  <wim@fluendo.com>
29140
29141         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29142         We are actually prerolling before commiting the state
29143         change. 
29144
29145 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29146
29147         * docs/manual/advanced-clocks.xml:
29148         * docs/manual/advanced-interfaces.xml:
29149         * docs/manual/advanced-metadata.xml:
29150         * docs/manual/advanced-position.xml:
29151         * docs/manual/advanced-schedulers.xml:
29152         * docs/manual/advanced-threads.xml:
29153         * docs/manual/appendix-porting.xml:
29154         * docs/manual/basics-bins.xml:
29155         * docs/manual/basics-bus.xml:
29156         * docs/manual/basics-elements.xml:
29157         * docs/manual/basics-helloworld.xml:
29158         * docs/manual/basics-pads.xml:
29159         * docs/manual/highlevel-components.xml:
29160         * docs/manual/manual.xml:
29161         * docs/manual/thread.fig:
29162           Update (until threads/scheduling) Application Development Manual;
29163           remove GstThread, add GstBus, add simple porting checklist, add
29164           documentation for tag writing, clocks, make all examples until this
29165           part compile and run.
29166         * examples/manual/Makefile.am:
29167           Update from changes to Application Development Manual; add bus
29168           example, remove thread example.
29169
29170 2005-06-28  Wim Taymans  <wim@fluendo.com>
29171
29172         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29173         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29174         (gst_bus_source_dispatch):
29175         Add debugging messages.
29176         Make internal methods static.
29177         Handle the case where the bus is flushed in the handler.
29178         
29179         * gst/gstelement.c: (gst_element_get_bus):
29180         Fix refcount in _get_bus();
29181
29182         * gst/gstpipeline.c: (gst_pipeline_change_state),
29183         (gst_pipeline_get_clock_func):
29184         Clock refcounting fixes.
29185         Handle the case where preroll timed out more gracefully.
29186         
29187         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29188         Clean up the internal thread in dispose. This is needed
29189         for subclasses that actually get disposed.
29190         
29191         * gst/schedulers/threadscheduler.c:
29192         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29193         (gst_thread_scheduler_dispose):
29194         Free thread pool in dispose.
29195
29196 2005-06-28  Andy Wingo  <wingo@pobox.com>
29197
29198         * tests/network-clock-utils.scm (debug, print-event): New utils.
29199
29200         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29201         (*packet-loss*): Unified loss probability.
29202         (network-time): Report out-of-band events.
29203
29204         * tests/plot-data: Add support for out-of-band events. Hack it
29205         into this script instead of passing it down the pipe; should fix
29206         this later.
29207
29208 2005-06-28  Wim Taymans  <wim@fluendo.com>
29209
29210         * docs/gst/gstreamer.types:
29211         * docs/gst/tmpl/gstbasesrc.sgml:
29212         * docs/gst/tmpl/gstpad.sgml:
29213         Docs fixes.
29214
29215 2005-06-28  Wim Taymans  <wim@fluendo.com>
29216
29217         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29218         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29219         (gst_proxy_pad_do_fixatecaps):
29220         Correctly proxy the check_pull_range function.
29221
29222 2005-06-28  Andy Wingo  <wingo@pobox.com>
29223
29224         * tests/network-clock.scm: Removed need for slib.
29225         
29226 2005-06-28  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29229         (gst_basesink_preroll_queue_flush):
29230         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29231         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29232         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29233         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29234         (gst_proxy_pad_set_property):
29235         * gst/gstpad.c:
29236         * gst/gstpad.h:
29237         * gst/gstqueue.c: (gst_queue_init):
29238         The deprecated pad loop function is removed now.
29239
29240 2005-06-28  Andy Wingo  <wingo@pobox.com>
29241
29242         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29243         New parameters, simulate network packet loss.
29244
29245         * tests/network-clock-utils.scm: Initialize the RNG.
29246
29247 2005-06-28  Wim Taymans  <wim@fluendo.com>
29248
29249         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29250         (gst_basesink_event), (gst_basesink_deactivate):
29251         Flushing the preroll queue always needs to unlock the waiters.
29252
29253 2005-06-28  Edward Hervey  <edward@fluendo.com>
29254
29255         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29256         Wheen a seek was successful on a pipeline, set the stream_time to the
29257         seek offset in order to have a synchronized stream_time.
29258
29259 2005-06-28  Wim Taymans  <wim@fluendo.com>
29260
29261         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29262         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29263         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29264         (gst_proxy_pad_do_fixatecaps):
29265         Call wrapper function instead of just calling the function
29266         pointers. This takes care of any locking and whatmore.
29267
29268 2005-06-28  Wim Taymans  <wim@fluendo.com>
29269
29270         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29271         (gst_pad_pull_range):
29272         * gst/gstpad.h:
29273         CONNECTED -> LINKED.
29274
29275 2005-06-28  Andy Wingo  <wingo@pobox.com>
29276
29277         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29278         source-munging commit!!!
29279
29280         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29281         (gst_object_sink): Take gpointer arguments, not GstObject --
29282         avoids casts. Like GLib.
29283
29284         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29285         activate.
29286
29287 2005-06-27  Andy Wingo  <wingo@pobox.com>
29288
29289         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29290         remaining buffer.
29291
29292         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29293         returns a sorted copy of the trace list.
29294         (gst_alloc_trace_print_live): New API, only prints traces with
29295         live objects. Sort the list.
29296         (gst_alloc_trace_print_all): Sort the list.
29297         (gst_alloc_trace_print): Align columns.
29298
29299         * gst/elements/gstttypefindelement.c:
29300         * gst/elements/gsttee.c:
29301         * gst/base/gstbasesrc.c:
29302         * gst/base/gstbasesink.c:
29303         * gst/base/gstbasetransform.c:
29304         * gst/gstqueue.c: Adapt for pad activation changes.
29305
29306         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29307         sched.
29308         (gst_pipeline_dispose): Drop ref on sched.
29309
29310         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29311         (gst_pad_activate_default): Push mode by default.
29312         (pre_activate_switch, post_activate_switch): New stubs, things to
29313         do before and after switching activation modes on pads.
29314         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29315         the pad's activate function to choose which mode to activate.
29316         Shortcut on deactivation and call the right function directly.
29317         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29318         mode.
29319         (gst_pad_activate_push): New API, same for push mode.
29320         (gst_pad_set_activate_function) 
29321         (gst_pad_set_activatepull_function) 
29322         (gst_pad_set_activatepush_function): Setters for new API.
29323
29324         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29325         Trace all miniobjects.
29326         (gst_mini_object_make_writable): Unref the arg if we copy, like
29327         gst_caps_make_writable.
29328
29329         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29330
29331         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29332         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29333         Adapt for new pad API.
29334
29335         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29336
29337         * gst/gstelement.h:
29338         * gst/gstelement.c (gst_element_iterate_src_pads) 
29339         (gst_element_iterate_sink_pads): New API functions.
29340         
29341         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29342         should fold into gstiterator.c in some form.
29343         (gst_element_pads_activate): Simplified via use of fold and
29344         delegation of decisions to gstpad->activate.
29345
29346         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29347         help in debugging.
29348
29349         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29350         class once in init, like gstmessage. Didn't run into this issue
29351         but it seems correct. Don't initialize a trace, gstminiobject does
29352         that.
29353
29354         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29355         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29356         to the bus.
29357         (assert_live_count): New util function, uses alloc traces to check
29358         cleanup.
29359
29360         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29361         To be modified when unlink drops the internal pad.
29362
29363 2005-06-27  Wim Taymans  <wim@fluendo.com>
29364
29365         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29366         (gst_bin_change_state):
29367         Cleanup the get_state() function a little, make sure it
29368         iterates the same set of elements.
29369         Added stub iterate_state_order().
29370
29371 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29372
29373         * docs/gst/gstreamer-docs.sgml:
29374         * docs/gst/gstreamer-sections.txt:
29375         * docs/gst/gstreamer.types:
29376         * docs/gst/tmpl/gstbasesink.sgml:
29377         * docs/gst/tmpl/gstbasesrc.sgml:
29378         * docs/gst/tmpl/gstbasetransform.sgml:
29379         * docs/gst/tmpl/gstelement.sgml:
29380         * docs/gst/tmpl/gstiterator.sgml:
29381         * gst/base/gstbasesrc.c:
29382         * gst/base/gstbasesrc.h:
29383         * gst/base/gstbasetransform.h:
29384         * gst/gstelement.c:
29385         * gst/gstiterator.h:
29386           adding basetransform and iterator docs
29387
29388 2005-06-27  Andy Wingo  <wingo@pobox.com>
29389
29390         * docs/design/part-activation.txt: Notes on how activation should
29391         work -- not quite implemented yet.
29392
29393 2005-06-25  Wim Taymans  <wim@fluendo.com>
29394
29395         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29396         At least get the chain function correct, needs more
29397         fixing.
29398
29399 2005-06-25  Wim Taymans  <wim@fluendo.com>
29400
29401         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29402         (gst_basesink_handle_object), (gst_basesink_event),
29403         (gst_basesink_do_sync), (gst_basesink_handle_event),
29404         (gst_basesink_change_state):
29405         * gst/gsttask.h:
29406         Right, two problems here: ghostpads don't take locks and
29407         glib _rec_mutex_lock_full() with depth==0 still locks.
29408         Catch illegal locking and g_warn them.
29409
29410 2005-06-25  Wim Taymans  <wim@fluendo.com>
29411
29412         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29413         Have to check for completion now...
29414
29415 2005-06-25  Wim Taymans  <wim@fluendo.com>
29416
29417         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29418         (gst_basesink_handle_object), (gst_basesink_event),
29419         (gst_basesink_do_sync), (gst_basesink_handle_event),
29420         (gst_basesink_change_state):
29421         * gst/gstpad.h:
29422         Unlock STREAM_LOCK whatever the recursion was.
29423
29424 2005-06-25  Wim Taymans  <wim@fluendo.com>
29425
29426         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29427         (gst_basesink_preroll_queue_empty),
29428         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29429         (gst_basesink_event), (gst_basesink_do_sync),
29430         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29431         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29432         (gst_basesink_change_state):
29433         Reworked the base sink, handle event and buffer serialisation
29434         correctly and removed possible deadlock.
29435         Handle EOS correctly.
29436
29437 2005-06-25  Wim Taymans  <wim@fluendo.com>
29438
29439         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29440         (gst_pipeline_change_state):
29441         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29442         Allow elements to post EOS in the state change function.
29443         Fix up -launch, make it exit the poll loop when the
29444         pipeline actually changed state.
29445         Fix up warning parsing in -launch.
29446
29447 2005-06-25  Wim Taymans  <wim@fluendo.com>
29448
29449         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29450         (gst_tee_sink_activate):
29451         Core takes STREAM_LOCK for us now.
29452
29453 2005-06-25  Wim Taymans  <wim@fluendo.com>
29454
29455         * gst/gstelement.c: (gst_element_get_state_func),
29456         (gst_element_set_state):
29457         * gst/gstelement.h:
29458         * gst/gstmessage.c: (gst_message_parse_error),
29459         (gst_message_parse_warning):
29460         Keep track of current target state while performing a state
29461         change so that subclasses can do something interesting.
29462         Fix parsing of warning/error messages when GError is NULL.
29463
29464 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29465
29466         * docs/gst/Makefile.am:
29467         * docs/gst/gstreamer-docs.sgml:
29468         * docs/gst/gstreamer-sections.txt:
29469         * docs/gst/gstreamer.types:
29470         * docs/gst/tmpl/gstbasesink.sgml:
29471         * docs/gst/tmpl/gstbasesrc.sgml:
29472         * docs/gst/tmpl/gstbin.sgml:
29473         * docs/gst/tmpl/gstcompat.sgml:
29474         * docs/gst/tmpl/gstfakesink.sgml:
29475         * docs/gst/tmpl/gstfakesrc.sgml:
29476         * docs/gst/tmpl/gstfilesink.sgml:
29477         * docs/gst/tmpl/gstfilesrc.sgml:
29478         * docs/gst/tmpl/gstindex.sgml:
29479         * docs/manual/appendix-quotes.xml:
29480         * gst/base/gstbasesrc.h:
29481         * gst/elements/gstfakesrc.h:
29482         * gst/gstmessage.h:
29483           start pulling in base classes and elements in our docs
29484
29485 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29486
29487         * docs/gst/Makefile.am:
29488         * docs/libs/Makefile.am:
29489           fixed make distcheck with gtk-doc 1.3
29490
29491 2005-06-23  Wim Taymans  <wim@fluendo.com>
29492
29493         * gst/gstelement.c: (gst_element_get_state_func),
29494         (gst_element_set_state), (gst_element_change_state):
29495         When the state did not change, also report NO_PREROLL
29496         when it matters.
29497
29498 2005-06-23  Wim Taymans  <wim@fluendo.com>
29499
29500         * gst/gstpad.c: (gst_pad_event_default):
29501         * gst/gstqueue.c: (gst_queue_loop):
29502         No unsafe task pausing please.
29503
29504 2005-06-23  Wim Taymans  <wim@fluendo.com>
29505
29506         * gst/schedulers/threadscheduler.c:
29507         (gst_thread_scheduler_task_start),
29508         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29509         Ref the task before pushing it on the threadpool. This
29510         makes sure that we have a ref when the threadfunction is
29511         actually called.
29512
29513 2005-06-23  Andy Wingo  <wingo@pobox.com>
29514
29515         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29516         offset is greater than the file's size.
29517
29518         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29519         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29520         * gst/gstobject.c (gst_object_class_init): Make the class lock
29521         recursive. Wim won't let me drop deep_notify. Decodebin works
29522         again, whoopdy doo.
29523
29524         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29525         internal pad, and hacks accordingly. Doesn't do it on the target
29526         pad because we change its caps. Probably catches all cases of
29527         interest tho.
29528         (gst_ghost_pad_set_property): Connect to notify::caps as
29529         appropritate.
29530
29531         * tests/network-clock.scm (plot-simulation): Pipe data to the
29532         elite python skript.
29533
29534         * tests/network-clock-utils.scm (define-parameter): New macro,
29535         defines a parameter that can be set via the command line.
29536         (set-parameter!, parse-parameter-arguments): Command line args
29537         parser.
29538
29539         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29540         stdin.
29541
29542 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29543
29544         * gst/elements/gsttypefindelement.c:
29545         (gst_type_find_element_handle_event):
29546           Don't restart typefinding on a discont.
29547         * gst/gstelement.c: (gst_element_set_state):
29548           Debug spelling fix.
29549         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29550           Allow changing mode of an active pad.
29551           Debug output fixes.
29552         * gst/registries/gstlibxmlregistry.c: (load_feature):
29553           Don't cast a static pad template to a normal pad template.
29554
29555 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29556
29557         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29558         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29559           remove gst_strtoll completely, since it didn't actually do
29560           anything more than what g_ascii_strtoull already does.
29561           check for range errors when deserializing
29562           do a cast for the unsigned cases; but further fixing needs
29563           a decision on what the interpretation of "(int)" and
29564           deserialization should be for values that fall outside the
29565           type's boundaries (ie, refuse, or interpret as casting)
29566
29567 2005-06-23  Wim Taymans  <wim@fluendo.com>
29568
29569         * check/Makefile.am:
29570         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29571         * docs/design/part-live-source.txt:
29572         * docs/design/part-states.txt:
29573         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29574         (gst_basesrc_set_live), (gst_basesrc_is_live),
29575         (gst_basesrc_get_range), (gst_basesrc_activate),
29576         (gst_basesrc_change_state):
29577         * gst/base/gstbasesrc.h:
29578         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29579         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29580         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29581         * gst/gstelement.c: (gst_element_get_state_func),
29582         (gst_element_set_state):
29583         * gst/gstelement.h:
29584         * gst/gsttypes.h:
29585         * tools/gst-launch.c: (event_loop), (main):
29586         Added support for live sources and other elements that
29587         cannot do preroll.
29588         Updated design docs, added live-source design doc.
29589         Implemented live source functionality in basesrc
29590         Fix error condition in _bin_get_state()
29591         Implement live source handling in -launch.
29592         Added check for live sources.
29593         Fixed case in GstBin where elements were changed state
29594         multiple times.
29595
29596
29597 2005-06-23  Andy Wingo  <wingo@pobox.com>
29598
29599         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29600         borken refcounting.
29601
29602         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29603         gst_caps_replace takes care of this for us.
29604
29605         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29606         gst_pad_set_caps on the target, not just its setcaps() function.
29607
29608         * tests/network-clock.scm: 
29609         * tests/network-clock-utils.scm: A network clock simulator.
29610         Something of an algorithmic testbed before doing something in C.
29611
29612 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29613
29614         * check/Makefile.am:
29615         * check/gst/capslist.h:
29616           copy over from 0.8, and add two with bitmasks specified with
29617           (int) 0xFF...
29618         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29619           add test to parse everything from capslist.h
29620         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29621         (main):
29622           add test for structure deserialization
29623         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29624           add tests for deserialization of strings to int types
29625         * gst/gststructure.c: (gst_structure_nth_field_name):
29626         * gst/gststructure.h:
29627           add a way to get the name of a field referenced by index
29628         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29629           instead of checking if the resulting long long lies between
29630           min and max, we check if the long long would fit into
29631           a number of bytes for the final type.
29632           This fixes cases where a string represents 2^32 - 1, which
29633           when cast to int would be the (valid) -1, but is bigger than
29634           G_MAXINT
29635
29636 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29637
29638         * gst/parse/grammar.y:
29639           add a log line for type deserialization
29640
29641 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29642
29643         * check/gst/gstvalue.c: (START_TEST):
29644         * gst/gstvalue.c: (gst_value_deserialize):
29645           return long long, not int, so gint64 deserialization actually
29646           works.  Is there any flag that makes the compiler check this ?
29647           Fixes #308559
29648
29649 2005-06-22  Wim Taymans  <wim@fluendo.com>
29650
29651         * gst/gstbuffer.h:
29652         Added convenience macros for setting buffers in GValue.
29653
29654 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29655
29656         * check/gst/.cvsignore:
29657         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29658           add a test deserializing int64, and comment part out because
29659           it fails, yay !
29660
29661 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29662
29663         * check/Makefile.am:
29664         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29665         * testsuite/Makefile.am:
29666         * testsuite/caps/Makefile.am:
29667         * testsuite/caps/value_serialize.c:
29668         * testsuite/test_gst_init.c:
29669           move a value_serialize test over
29670
29671 2005-06-20  Wim Taymans  <wim@fluendo.com>
29672
29673         * gst/gstpad.c:
29674         Small doc updates.
29675         
29676         * gst/gstvalue.c: (gst_value_compare_buffer),
29677         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29678         (gst_value_compare_flags), (gst_value_serialize_flags),
29679         (gst_value_deserialize_flags), (_gst_value_initialize):
29680         Fix serialisation of buffers, they are not boxed types anymore
29681
29682 2005-06-20  Wim Taymans  <wim@fluendo.com>
29683
29684         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29685         Testcase to show error in buffer-on-caps serialisation.
29686
29687 2005-06-20  Andy Wingo  <wingo@pobox.com>
29688
29689         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29690         will be adding to later.
29691
29692         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29693         if its socks fill with rocks.
29694         (gst_system_clock_obtain): Set the name on object construction.
29695         Avoid double-checked locking.
29696
29697 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29698
29699         * gst/gsturi.c: (gst_element_make_from_uri):
29700           Fix potential endless loop.
29701
29702 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29703
29704         * check/Makefile.am:
29705           add gsttag
29706         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29707         (main):
29708           move over from testsuite dir and clean up
29709         * configure.ac:
29710         * gst/gsttag.c:
29711         * testsuite/Makefile.am:
29712         * testsuite/tags/.cvsignore:
29713         * testsuite/tags/Makefile.am:
29714         * testsuite/tags/merge.c:
29715           remove testsuite/tags
29716
29717 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29718
29719         * docs/gst/gstreamer-sections.txt:
29720         * docs/gst/tmpl/gstenumtypes.sgml:
29721         * win32/gstenumtypes.c:
29722           clean up documentation build a little
29723
29724 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29725
29726         * check/gstcheck.h:
29727           add macros for checking refcounts on objects and caps
29728         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29729           add some more unit tests
29730         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29731         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29732           fix leaked refcounts (I hope :)) so unittest works
29733         * gst/gstpad.h:
29734           whitespace removal
29735
29736 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29737
29738         * configure.ac: back to HEAD
29739
29740 === release 0.9.1 ===
29741
29742 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29743
29744         * NEWS:
29745         * RELEASE:
29746           updated
29747
29748 2005-06-17  Andy Wingo  <wingo@pobox.com>
29749
29750         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29751         assert; it's always possible that the pad gets deactivated in
29752         between the checks in gstpad.c and the implementation. Rely on
29753         finish_preroll() to return a FLUSHING or similar instead of on the
29754         assert.
29755         
29756         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29757         clock and post an EOS message if we come out of finish_preroll in
29758         the playing state.
29759
29760 2005-06-16  David Schleef  <ds@schleef.org>
29761
29762         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29763         (gst_capsfilter_set_property): Allow NULL as possible value
29764         for filter_caps property, indicating GST_CAPS_ANY.
29765
29766 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29767
29768         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29769           fix debug output
29770         * gst/schedulers/Makefile.am:
29771           use libgst prefix
29772         * gstreamer.spec.in:
29773           fix spec for it
29774
29775 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29776
29777         * gstreamer.spec.in:
29778           clean up
29779
29780 2005-06-08  Andy Wingo  <wingo@pobox.com>
29781
29782         * gst/gstutils.c: RPAD fixes all around.
29783         (gst_element_link_pads): Refcounting fixes.
29784
29785         * tools/gst-inspect.c:
29786         * tools/gst-xmlinspect.c:
29787         * parse/grammar.y:
29788         * gst/base/gsttypefindhelper.c:
29789         * gst/base/gstbasesink.c:
29790         * gst/gstqueue.c: RPAD fixes.
29791
29792         * gst/gstghostpad.h:
29793         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29794         pads. The tricky thing is they provide both source and sink
29795         interfaces, since they proxy the internal pad for the external
29796         pad, and vice versa. Implement with lower-level ProxyPad objects,
29797         with the interior proxy pad as a child of the exterior ghost pad.
29798         Should write a doc on this.
29799         
29800         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29801         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29802         gst_object API.
29803         
29804         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29805         pads are real pads. No ghost pads in this file. Not documenting
29806         the myriad s/RPAD/PAD/ and REALIZE fixes.
29807         (gst_pad_class_init): Add properties for "direction" and
29808         "template". Both are construct-only, so they can't change during
29809         the life of the pad. Fixes properly deriving from GstPad.
29810         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29811         derived objects, just set properties when creating the objects via
29812         g_object_new.
29813         (gst_pad_get_parent): Implement as a function, return NULL if the
29814         parent is not an element.
29815         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29816         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29817         
29818         * gst/gstobject.c (gst_object_class_init): Make name a construct
29819         property. Don't set it in the object init.
29820
29821         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29822         with UNKNOWN direction.
29823         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29824         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29825         (gst_element_remove_pad): Remove ghost-pad special cases.
29826         (gst_element_pads_activate): Remove rpad cruft.
29827
29828         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29829         catch the pad's-parent-not-an-element case.
29830
29831         * gst/gst.h: Include gstghostpad.h.
29832
29833         * gst/gst.c (init_post): No more real, ghost pads.
29834
29835         * gst/Makefile.am: Add gstghostpad.[ch].
29836
29837         * check/Makefile.am:
29838         * check/gst/gstbin.c:
29839         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29840         into a bin creates ghost pads, and that the refcounts are right.
29841         Partly moved from gstbin.c.
29842
29843 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29844
29845         * check/gst-libs/.cvsignore:
29846         * check/gst/.cvsignore:
29847         * check/pipelines/.cvsignore:
29848           ignore more
29849         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29850         (START_TEST), (cleanup_suite), (main):
29851           add some tests related to cleanup after running pipelines
29852
29853 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29854
29855         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29856           add a testsuite for GstBuffer
29857
29858 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29859
29860         * gst/gstminiobject.h:
29861           add defines for accessing the refcount
29862
29863 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29864
29865         * Makefile.am: added support for html unit test coverage reports
29866
29867 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29868
29869         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29870           Free existing caps if the capsfilter changes. Add a FIXME about
29871           setting those caps on the pads.
29872
29873         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29874           Before adding a ghost pad to a parent bin, check that there isn't
29875           already one for the element on the bin. Prevents infinite recursion
29876           when using decodebin in parse pipelines. Andy says he'll rewrite the
29877           way this works anyway, so ignore the hack.
29878
29879 2005-06-02  Andy Wingo  <wingo@pobox.com>
29880
29881         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29882         file size, pass it on to the type find helper.
29883
29884         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29885         segment_start and segment_end properly according to the seek
29886         method. Segment_end is still a bit flaky because offset can be
29887         negative for CUR and END cases, but it takes -1 as an "unset"
29888         value.
29889
29890 2005-06-02  Wim Taymans  <wim@fluendo.com>
29891
29892         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29893         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29894         (gst_basesink_activate):
29895         * gst/base/gstbasesink.h:
29896         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29897         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29898         (gst_pad_query), (gst_pad_start_task):
29899         * gst/gstpad.h:
29900         * gst/gstqueue.c: (gst_queue_bufferalloc),
29901         (gst_queue_handle_sink_event), (gst_queue_chain):
29902         Bufferalloc: return GstFlowReturn to more accuratly report
29903         why allocation failed.
29904
29905 2005-06-02  Wim Taymans  <wim@fluendo.com>
29906
29907         * gst/gstpipeline.c: (gst_pipeline_send_event):
29908         Take snapshot of state without blocking.
29909
29910 2005-06-02  Wim Taymans  <wim@fluendo.com>
29911
29912         * docs/design/part-TODO.txt:
29913         * docs/design/part-caps.txt:
29914         * docs/design/part-clocks.txt:
29915         * docs/design/part-negotiation.txt:
29916         * docs/design/part-preroll.txt:
29917         Small doc updates 
29918
29919 2005-05-30  Wim Taymans  <wim@fluendo.com>
29920
29921         * gst/elements/gstidentity.c: (gst_identity_event),
29922         (gst_identity_transform), (gst_identity_get_property):
29923         Protect last_message property as it is accessed from
29924         multiple threads.
29925
29926 2005-05-30  Wim Taymans  <wim@fluendo.com>
29927
29928         * gst/gstelement.c: (gst_element_init),
29929         (gst_element_pads_activate), (gst_element_change_state):
29930         Slicker pad activation code.
29931
29932 2005-05-30  Wim Taymans  <wim@fluendo.com>
29933
29934         * gst/Makefile.am:
29935         * gst/gstelement.h:
29936         * gst/gstelementfactory.h:
29937         * gst/gsttypes.h:
29938         Move elementfactory methods to separate .h file.
29939
29940 2005-05-30  Wim Taymans  <wim@fluendo.com>
29941
29942         * docs/design/part-overview.txt:
29943         * gst/gstsystemclock.h:
29944         Small typo fixes, doc updates.
29945
29946 2005-05-30  Wim Taymans  <wim@fluendo.com>
29947
29948         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29949         (init_popt_callback):
29950         Remove cpu-opt flag.
29951
29952 2005-05-30  Wim Taymans  <wim@fluendo.com>
29953
29954         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29955         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29956         * gst/gstbuffer.h:
29957         Avoid typechecking in places where not needed.
29958         Added accessor for malloc_data.
29959
29960 2005-05-30  Wim Taymans  <wim@fluendo.com>
29961
29962         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29963         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29964         (gst_pad_configure_sink), (gst_pad_configure_src),
29965         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29966         (gst_pad_start_task):
29967         Propagate errors from _set_caps() in configure_src/sink
29968         functions instead of returning TRUE.
29969         FLUSH events can travel up and downstream
29970
29971
29972 2005-05-30  Wim Taymans  <wim@fluendo.com>
29973
29974         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29975         (gst_basesink_activate):
29976         Handle EOS in preroll.
29977
29978 2005-05-30  Wim Taymans  <wim@fluendo.com>
29979
29980         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29981         (gst_queue_loop), (gst_queue_handle_src_event):
29982         Remove old pieces of code
29983         Flushing the queue in an upstream event is a very bad idea.
29984
29985 2005-05-26  Andy Wingo  <wingo@pobox.com>
29986
29987         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29988         gst_value_set_mini_object so as to add a ref on the object (which
29989         will be removed when the value is unset).
29990
29991         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29992         arg type in ::handoff.
29993
29994         * gst/gstelement.c (gst_element_change_state): Also deactivate
29995         pads in READY->NULL, just in case the element didn't make it to
29996         PAUSED. Wingo tested, Wim approved.
29997
29998 2005-05-26  Wim Taymans  <wim@fluendo.com>
29999
30000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30001         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30002         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30003         A flushing pad cannot be used to alloc_buffer from.
30004
30005 2005-05-26  Wim Taymans  <wim@fluendo.com>
30006
30007         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30008         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30009         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30010         (gst_bus_create_watch), (gst_bus_add_watch_full):
30011         * gst/gstbus.h:
30012         Implement a real GSource and use g_main_context_wakeup() to
30013         signal new messages instead of the socketpair.
30014
30015 2005-05-25  Wim Taymans  <wim@fluendo.com>
30016
30017         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30018         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30019         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30020         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30021         (gst_pad_send_event), (gst_pad_start_task):
30022         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30023         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30024         (gst_queue_sink_activate), (gst_queue_src_activate),
30025         (gst_queue_change_state):
30026         * gst/gstqueue.h:
30027         Fix state changes for non sinks. We now change sinks, then elements
30028         with unconnected srcpads, then the rest.
30029         More efficient queue unlocking in flush and state changes.
30030         Set the pad activate mode even if it does not have an activate
30031         function.
30032
30033 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30034
30035         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30036           Don't go in pull mode for non-seekable sources.
30037         * gst/elements/gsttypefindelement.h:
30038         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30039         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30040         (free_entry), (stop_typefinding),
30041         (gst_type_find_element_handle_event), (find_peek),
30042         (gst_type_find_element_chain), (do_pull_typefind),
30043         (gst_type_find_element_change_state):
30044           Allow typefinding (w/o seeking) in push-mode, simplified version
30045           of what was in 0.8.
30046         * gst/gstutils.c: (gst_buffer_join):
30047         * gst/gstutils.h:
30048           gst_buffer_join() from 0.8.
30049
30050 2005-05-25  Wim Taymans  <wim@fluendo.com>
30051
30052         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30053         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30054         (gst_pad_send_event), (gst_pad_start_task):
30055         Disable attempt at mode switching until it is figured out.
30056
30057 2005-05-25  Wim Taymans  <wim@fluendo.com>
30058
30059         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30060         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30061         (gst_basesink_finish_preroll), (gst_basesink_chain),
30062         (gst_basesink_loop), (gst_basesink_activate),
30063         (gst_basesink_change_state):
30064         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30065         (gst_basesrc_get_range), (gst_basesrc_loop),
30066         (gst_basesrc_activate):
30067         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30068         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30069         (gst_real_pad_init), (gst_real_pad_set_property),
30070         (gst_real_pad_get_property), (gst_pad_set_active),
30071         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30072         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30073         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30074         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30075         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30076         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30077         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30078         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30079         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30080         (gst_pad_stop_task):
30081         * gst/gstpad.h:
30082         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30083         (gst_queue_loop), (gst_queue_src_activate):
30084         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30085         (gst_task_get_state):
30086         * gst/gsttask.h:
30087         * gst/schedulers/threadscheduler.c:
30088         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30089         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30090         in task function.
30091         Remove ACTIVE pad flag, use FLUSHING everywhere
30092         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30093         functions.
30094         Add locks around IS_FLUSHING when reading.
30095         Take STREAM lock in chain(), get_range() functions so plugins
30096         don't need to take it anymore.
30097         
30098
30099
30100 2005-05-25  Wim Taymans  <wim@fluendo.com>
30101
30102         * tools/gst-launch.c: (event_loop):
30103         Unref message after using its contents instead of
30104         before.
30105
30106 2005-05-24  Wim Taymans  <wim@fluendo.com>
30107
30108         * docs/design/draft-ghostpads.txt:
30109         * docs/design/draft-push-pull.txt:
30110         * docs/design/draft-query.txt:
30111         * docs/design/part-overview.txt:
30112         Docs updates, added general overview doc.
30113
30114 2005-05-21  David Schleef  <ds@schleef.org>
30115
30116         * docs/gst/tmpl/old/GstBin.sgml:
30117         * docs/gst/tmpl/old/GstBuffer.sgml:
30118         * docs/gst/tmpl/old/GstCaps.sgml:
30119         * docs/gst/tmpl/old/GstClock.sgml:
30120         * docs/gst/tmpl/old/GstCompat.sgml:
30121         * docs/gst/tmpl/old/GstData.sgml:
30122         * docs/gst/tmpl/old/GstElement.sgml:
30123         * docs/gst/tmpl/old/GstEvent.sgml:
30124         * docs/gst/tmpl/old/GstIndex.sgml:
30125         * docs/gst/tmpl/old/GstStructure.sgml:
30126         * docs/gst/tmpl/old/GstTag.sgml:
30127         * docs/gst/tmpl/old/cothreads.sgml:
30128         * docs/gst/tmpl/old/cothreads_compat.sgml:
30129         * docs/gst/tmpl/old/gettext.sgml:
30130         * docs/gst/tmpl/old/gobject2gtk.sgml:
30131         * docs/gst/tmpl/old/grammar.tab.sgml:
30132         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30133         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30134         * docs/gst/tmpl/old/gst_private.sgml:
30135         * docs/gst/tmpl/old/gstaggregator.sgml:
30136         * docs/gst/tmpl/old/gstarch.sgml:
30137         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30138         * docs/gst/tmpl/old/gstbufferstore.sgml:
30139         * docs/gst/tmpl/old/gstdata_private.sgml:
30140         * docs/gst/tmpl/old/gstdisksink.sgml:
30141         * docs/gst/tmpl/old/gstdisksrc.sgml:
30142         * docs/gst/tmpl/old/gstelementfactory.sgml:
30143         * docs/gst/tmpl/old/gstextratypes.sgml:
30144         * docs/gst/tmpl/old/gstfakesink.sgml:
30145         * docs/gst/tmpl/old/gstfakesrc.sgml:
30146         * docs/gst/tmpl/old/gstfdsink.sgml:
30147         * docs/gst/tmpl/old/gstfdsrc.sgml:
30148         * docs/gst/tmpl/old/gstfilesink.sgml:
30149         * docs/gst/tmpl/old/gstfilesrc.sgml:
30150         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30151         * docs/gst/tmpl/old/gstidentity.sgml:
30152         * docs/gst/tmpl/old/gstindexfactory.sgml:
30153         * docs/gst/tmpl/old/gstmarshal.sgml:
30154         * docs/gst/tmpl/old/gstmd5sink.sgml:
30155         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30156         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30157         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30158         * docs/gst/tmpl/old/gstpipefilter.sgml:
30159         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30160         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30161         * docs/gst/tmpl/old/gstshaper.sgml:
30162         * docs/gst/tmpl/old/gstspider.sgml:
30163         * docs/gst/tmpl/old/gstspideridentity.sgml:
30164         * docs/gst/tmpl/old/gststatistics.sgml:
30165         * docs/gst/tmpl/old/gsttee.sgml:
30166         * docs/gst/tmpl/old/gsttimecache.sgml:
30167         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30168         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30169         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30170         * docs/gst/tmpl/old/types.sgml:
30171           I didn't intend to add these or check them in.
30172
30173 2005-05-19  David Schleef  <ds@schleef.org>
30174
30175         * configure.ac: Use -no-common everywhere.  In a sane world, it
30176           would be the default in libtool, because without it, you can't
30177           build DLLs on Windows.
30178         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30179         * docs/gst/gstreamer-sections.txt:
30180         * docs/gst/tmpl/gstcpu.sgml:
30181         * docs/gst/tmpl/gstdata.sgml:
30182         * docs/gst/tmpl/gstthread.sgml:
30183
30184 2005-05-19  David Schleef  <ds@schleef.org>
30185
30186         * gst/gstminiobject.c: (gst_value_set_mini_object),
30187         (gst_value_take_mini_object), (gst_value_get_mini_object):
30188         * gst/gstminiobject.h: Add GValue set/get functions.
30189
30190 2005-05-19  Wim Taymans  <wim@fluendo.com>
30191
30192         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30193         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30194         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30195         * gst/gstbuffer.h:
30196         * gst/gstbus.c: (gst_bus_post):
30197         * gst/gstelement.c: (gst_element_get_random_pad):
30198         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30199         Make subbufer unref the parent in finalize.
30200         some more debugging info.
30201
30202
30203 2005-05-19  Wim Taymans  <wim@fluendo.com>
30204
30205         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30206         (gst_basesink_init), (gst_basesink_finalize),
30207         (gst_basesink_activate), (gst_basesink_change_state):
30208         Don't free preroll queue too early.
30209
30210 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30211
30212         * gst/Makefile.am:
30213         * gst/ROADMAP:
30214           Hi, I'm outdated. Please shoot me.
30215
30216 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30217
30218         * gst/gstpipeline.c: (gst_pipeline_send_event):
30219           Do not access variables after they have been deleted.
30220
30221 2005-05-19  Wim Taymans  <wim@fluendo.com>
30222
30223         * tools/gst-inspect.c: (print_plugin_features):
30224         A plugin feature does unfortunatly not use the
30225         object name yet...
30226
30227 2005-05-18  Wim Taymans  <wim@fluendo.com>
30228
30229         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30230         Port _span() functions to new subbuffers.
30231
30232 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30233
30234         * gst/gstbin.c: (gst_bin_add_func):
30235           Fix clock settery in bins when adding kids after the clock has
30236           been selected.
30237
30238 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30239
30240         * gst/elements/gstidentity.c: (gst_identity_class_init):
30241           Workaround until signals support GstMiniObject.
30242
30243 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30244
30245         * gst/gstbuffer.c:
30246         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30247
30248 2005-05-18  Wim Taymans  <wim@fluendo.com>
30249
30250         * gst/base/Makefile.am:
30251         * gst/base/gstadapter.c: (gst_adapter_base_init),
30252         (gst_adapter_class_init), (gst_adapter_init),
30253         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30254         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30255         (gst_adapter_flush), (gst_adapter_available),
30256         (gst_adapter_available_fast):
30257         * gst/base/gstadapter.h:
30258         Ported and added adapter to the base classes.
30259
30260 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30261
30262         * gst/gst.c:
30263         * gst/gstmessage.c:
30264           Make sure the class is reffed/unreffed once before threads can be
30265           used.  Fixes #304551.
30266
30267 2005-05-17  Wim Taymans  <wim@fluendo.com>
30268
30269         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30270         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30271         * gst/gstminiobject.c: (gst_mini_object_get_type),
30272         (gst_mini_object_free):
30273         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30274         (gst_pad_push), (gst_pad_push_event):
30275         * gst/gstqueue.c: (gst_queue_change_state):
30276         Don't queue buffers in basesink when we are flushing.
30277         Unref buffer when flushing in basesink.
30278         Flush queue when going to READY
30279         Unref buffer when _push() returns an error.
30280         Don't free MiniObject instance when refcount is incremented
30281         in _finalize() so that we can recover objects.
30282
30283 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30284
30285         * docs/manual/advanced-schedulers.xml:
30286         * docs/manual/appendix-checklist.xml:
30287         * docs/pwg/advanced-clock.xml:
30288         * docs/pwg/advanced-interfaces.xml:
30289         * docs/pwg/advanced-request.xml:
30290         * docs/pwg/advanced-types.xml:
30291         * docs/pwg/intro-preface.xml:
30292         * examples/plugins/example.c: (gst_example_get_type),
30293         (gst_example_class_init), (gst_example_chain),
30294         (gst_example_set_property), (gst_example_get_property),
30295         (gst_example_change_state), (plugin_init):
30296         * examples/plugins/example.h:
30297           small doc fixes
30298
30299 2005-05-17  Wim Taymans  <wim@fluendo.com>
30300
30301         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30302         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30303         * gst/gstqueue.c: (gst_queue_change_state):
30304         Clear queue when going to READY.
30305         Remove IN_SETCAPS flag too.
30306
30307 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30308
30309         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30310           Remove implicit cast from gboolean to GstElementStateReturn;
30311           make sure we still return failure in paused => ready case if
30312           the parent class fails to change state and our own stop 
30313           vfunc succeeds.
30314
30315 2005-05-17  Wim Taymans  <wim@fluendo.com>
30316
30317         * tools/gst-launch.c: (event_loop):
30318         Message was unreffed too soon.
30319
30320 2005-05-16  Andy Wingo  <wingo@pobox.com>
30321
30322         * gst/gstbin.c (sink_iterator_filter): Err... um...
30323
30324         * check/gst/gstbin.c (test_ghost_pads): New test for the
30325         ghosting-if-elements-not-in-same-bin behavior.
30326
30327 2005-05-16  David Schleef  <ds@schleef.org>
30328
30329         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30330         accessing refcount directly.
30331
30332 2005-05-15  David Schleef  <ds@schleef.org>
30333
30334         * check/Makefile.am: remove GstData checks
30335         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30336         * gst/Makefile.am: add miniobject, remove data
30337         * gst/gst.h: add miniobject, remove data
30338         * gst/gstdata.c: remove
30339         * gst/gstdata.h: remove
30340         * gst/gstdata_private.h: remove
30341         * gst/gsttypes.h: remove GstEvent and GstMessage
30342         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30343         * gst/gstmarshal.list: change BOXED -> OBJECT
30344
30345         Implement GstMiniObject.
30346         * gst/gstminiobject.c:
30347         * gst/gstminiobject.h:
30348
30349         Modify to be subclasses of GstMiniObject.
30350         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30351         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30352         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30353         (gst_subbuffer_get_type), (gst_subbuffer_init),
30354         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30355         (gst_buffer_span):
30356         * gst/gstbuffer.h:
30357         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30358         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30359         (_gst_event_copy), (gst_event_new):
30360         * gst/gstevent.h:
30361         * gst/gstmessage.c: (_gst_message_initialize),
30362         (gst_message_get_type), (gst_message_class_init),
30363         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30364         (gst_message_new), (gst_message_new_error),
30365         (gst_message_new_warning), (gst_message_new_tag),
30366         (gst_message_new_state_changed), (gst_message_new_application):
30367         * gst/gstmessage.h:
30368         * gst/gstprobe.c: (gst_probe_perform),
30369         (gst_probe_dispatcher_dispatch):
30370         * gst/gstprobe.h:
30371         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30372         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30373         (_gst_query_copy), (gst_query_new):
30374
30375         Update elements for GstData -> GstMiniObject changes
30376         * gst/gstquery.h:
30377         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30378         (gst_queue_chain), (gst_queue_loop):
30379         * gst/elements/gstbufferstore.c:
30380         (gst_buffer_store_add_buffer_func),
30381         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30382         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30383         (gst_fakesink_render):
30384         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30385         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30386         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30387         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30388         (gst_filesrc_create_read):
30389         * gst/elements/gstidentity.c: (gst_identity_class_init):
30390         * gst/elements/gsttypefindelement.c:
30391         (gst_type_find_element_src_event), (free_entry_buffers),
30392         (gst_type_find_element_handle_event):
30393         * libs/gst/dataprotocol/dataprotocol.c:
30394         (gst_dp_header_from_buffer):
30395         * libs/gst/dataprotocol/dataprotocol.h:
30396         * libs/gst/dataprotocol/dp-private.h:
30397
30398 2005-05-15  David Schleef  <ds@schleef.org>
30399
30400         * gst/elements/gstelements.c: Don't include headers that were
30401         just removed.
30402
30403 2005-05-15  David Schleef  <ds@schleef.org>
30404
30405         * gst/elements/Makefile.am: Remove some elements that don't
30406         need to be in the core (or even exist at all).
30407         * gst/elements/gstaggregator.c:
30408         * gst/elements/gstaggregator.h:
30409         * gst/elements/gstmd5sink.c:
30410         * gst/elements/gstmd5sink.h:
30411         * gst/elements/gstmultifilesrc.c:
30412         * gst/elements/gstmultifilesrc.h:
30413         * gst/elements/gstpipefilter.c:
30414         * gst/elements/gstpipefilter.h:
30415         * gst/elements/gstshaper.c:
30416         * gst/elements/gstshaper.h:
30417         * gst/elements/gststatistics.c:
30418         * gst/elements/gststatistics.h:
30419         * po/POTFILES.in: Remove above files.
30420
30421 2005-05-14  Andy Wingo  <wingo@pobox.com>
30422
30423         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30424         so as to get the refs right.
30425         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30426         unreffing objects that don't pass the filter.
30427
30428         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30429         gst_element_set_bus.
30430         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30431         normal cases, this will destroy the bus.
30432
30433         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30434         object.
30435
30436         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30437         has no sinks.
30438
30439 2005-05-13  Andy Wingo  <wingo@pobox.com>
30440
30441         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30442         gst_pad_link, call pad_link_maybe_ghosting,
30443         (pad_link_maybe_ghosting): Links pads, making sure that the
30444         elements being linked are in the same bin.
30445         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30446         Helpers for pad_link_maybe_ghosting.
30447
30448 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30449
30450         * configure.ac:
30451           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30452
30453 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30454
30455         * docs/design/part-element-source.txt:
30456           Mention GstPushSrc
30457
30458 2005-05-12  Wim Taymans  <wim@fluendo.com>
30459
30460         * gst/base/gstbasesink.c: (gst_basesink_init),
30461         (gst_basesink_activate):
30462         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30463         (gst_basesrc_is_seekable):
30464         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30465         (bin_element_is_sink), (gst_bin_change_state):
30466         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30467         * gst/gstelement.h:
30468         Identify sinks by their flag to avoid overly complicated
30469         checks (fow now).
30470         Do state changes even for elements not reachable from the
30471         sinks.
30472         BaseSink is a sink now :)
30473         Some more debugging info in the basesrc.
30474
30475
30476 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30477
30478         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30479           Implement _query on a bin, similar to _send_event.
30480
30481 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30482
30483         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30484           Discont event offset format should be GST_FORMAT_BYTES,
30485           not GST_FORMAT_TIME.
30486
30487 2005-05-12  Wim Taymans  <wim@fluendo.com>
30488
30489         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30490         Same fix as Ronald's but without the signal. 
30491
30492 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30493
30494         * gst/gstutils.c: (gst_element_query_position):
30495           No, an element is not a pad.
30496
30497 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30498
30499         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30500         (gst_bin_get_state):
30501           If a child is removed from a bin while we remove the child from
30502           the bin and while we're retrieving its state, signal this to the
30503           get_state function so we abort the wait (instead of waiting for
30504           a timeout) and can immediately re-iterate over all other elements.
30505
30506 2005-05-12  Wim Taymans  <wim@fluendo.com>
30507
30508         * gst/base/Makefile.am:
30509         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30510         (gst_basesrc_start):
30511         * gst/base/gstbasesrc.h:
30512         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30513         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30514         (gst_pushsrc_init), (gst_pushsrc_create):
30515         * gst/base/gstpushsrc.h:
30516         Added is_seekable to BaseSrc
30517         Added simple PushSrc.
30518
30519 2005-05-11  Wim Taymans  <wim@fluendo.com>
30520
30521         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30522         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30523         (gst_element_link_pads), (gst_element_query_position),
30524         (gst_element_query_convert), (intersect_caps_func),
30525         (gst_pad_query_position), (gst_pad_query_convert):
30526         Fix refcounting in utils function.
30527         No point in trying to activate a pad when it's added, it could
30528         be added from the state change function and then we deadlock, the
30529         element has to decide what to do.
30530
30531 2005-05-10  Andy Wingo  <wingo@pobox.com>
30532
30533         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30534         *all* the arguments.
30535
30536         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30537         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30538         lock (according to the docs -- if this is wrong change the docs).
30539
30540         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30541         flush messages in the NULL state.
30542
30543         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30544         message immediately and return.
30545         (gst_bus_set_flushing): New function. If a bus is flushing, it
30546         flushes out any queued messages and immediately unrefs new
30547         messages. This is so when an element goes to NULL, all of the
30548         unhandled messages coming from it can be freed, and their
30549         references to the element dropped. In other words: message source
30550         ref considered harmful :P
30551
30552         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30553         we're finished with it.
30554
30555         * gst/gstmessage.c (gst_message_new_state_changed): 
30556
30557 2005-05-10  Wim Taymans  <wim@fluendo.com>
30558
30559         * gst/gstvalue.c: (gst_value_compare_flags),
30560         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30561         (_gst_value_initialize):
30562         Added flags serialize/deserialize/compare code.
30563
30564 2005-05-09  Andy Wingo  <wingo@pobox.com>
30565
30566         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30567         Intersect the peer's caps with our caps.
30568
30569 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30570
30571         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30572         * gst/elements/gsttypefindelement.c: (find_peek):
30573           Handle negative offsets better. Fixes decodebin.
30574
30575 2005-05-09  Wim Taymans  <wim@fluendo.com>
30576
30577         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30578         (gst_base_transform_event):
30579         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30580         Implement accept_caps.
30581         Fix silly lock/unlock mismatch in base class.
30582
30583 2005-05-09  Wim Taymans  <wim@fluendo.com>
30584
30585         * docs/design/draft-push-pull.txt:
30586         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30587         * gst/elements/gstfilesink.c: (gst_filesink_init),
30588         (gst_filesink_query):
30589         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30590         (gst_type_find_handle_src_query), (find_element_get_length):
30591         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30592         * gst/gstelement.h:
30593         * gst/gstmessage.c:
30594         * gst/gstmessage.h:
30595         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30596         (gst_real_pad_get_caps_unlocked),
30597         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30598         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30599         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30600         (gst_real_pad_dispose), (gst_real_pad_finalize),
30601         (gst_pad_load_and_link), (gst_pad_save_thyself),
30602         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30603         (gst_pad_check_pull_range), (gst_pad_pull_range),
30604         (gst_pad_template_get_type), (gst_pad_template_class_init),
30605         (gst_pad_template_init), (gst_pad_template_dispose),
30606         (name_is_valid), (gst_static_pad_template_get),
30607         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30608         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30609         (gst_pad_get_element_private), (gst_pad_start_task),
30610         (gst_pad_pause_task), (gst_pad_stop_task),
30611         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30612         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30613         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30614         (gst_ghost_pad_new):
30615         * gst/gstpad.h:
30616         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30617         (gst_query_new_position), (gst_query_set_position),
30618         (gst_query_parse_position), (gst_query_new_convert),
30619         (gst_query_set_convert), (gst_query_parse_convert):
30620         * gst/gstquery.h:
30621         * gst/gstqueryutils.c:
30622         * gst/gstqueryutils.h:
30623         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30624         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30625         (gst_queue_handle_src_query):
30626         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30627         (gst_element_query_position), (gst_element_query_convert),
30628         (intersect_caps_func), (gst_pad_query_position),
30629         (gst_pad_query_convert):
30630         * gst/gstutils.h:
30631         * tools/gst-inspect.c: (print_pad_info):
30632         * tools/gst-xmlinspect.c: (print_element_info):
30633         Remove old query functions. Ported old code.
30634         Added position/convert helper functions to gstutils.
30635         Reordered gstpad.c code, grouping relevant things.
30636         Remove gst_message_new(), always need to speficy a specific
30637         message.
30638
30639
30640 2005-05-09  Andy Wingo  <wingo@pobox.com>
30641
30642         * gst/gstiterator.h: Add some includes.
30643
30644         * gst/gstqueryutils.h: Include more headers.
30645
30646         * gst/gstpad.h:
30647         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30648         some uses of gst_pad_query.
30649
30650         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30651         NULL out parameters.
30652         (gst_query_new_position): New proc, allocates a new position
30653         query.
30654
30655         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30656         gstqueryutils.c to the build.
30657
30658         * gst/gststructure.c (gst_structure_set_valist): Implement with
30659         the generic G_VALUE_COLLECT.
30660         
30661 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30662
30663         * gst/Makefile.am: (gst_headers):
30664         Added gstqueryutils.h to the list of headers to install, that was
30665         a 'nachty' move wingo :)
30666
30667 2005-05-06  Andy Wingo  <wingo@pobox.com>
30668
30669         * gst/gstquery.h
30670         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30671         GstData, init a memchunk.
30672         (standard_definitions): Add a few query types, deprecate a few.
30673         (gst_query_get_type): New proc.
30674         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30675         implementation.
30676         (gst_query_new_application, gst_query_get_structure): New public
30677         procs.
30678
30679         * docs/design/draft-query.txt: Removed LINKS from the query types,
30680         because all the rest can be dispatched to other pads -- seemed
30681         ugly to have a query that couldn't be dispatched. internal_links
30682         is fine as a pad method.
30683
30684         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30685         in gstpad.c, but maintain binary compatibility for the moment.
30686         Will fix before 0.9 is out.
30687
30688         * gst/gstqueryutils.c: 
30689         * gst/gstqueryutils.h: New files, implement 3 methods for each
30690         query type: parse_query, parse_response, and set. Probably need an
30691         allocator as well.
30692
30693         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30694
30695         * gst/elements/gstfilesink.c (gst_filesink_query2):
30696         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30697         query_types, and formats methods.
30698
30699         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30700         (gst_pad_set_query2_function): New functions.
30701         (gst_real_pad_init): Set query2_default as the default query2
30702         function. Basically just dispatches to internally linked pads.
30703
30704         Needs review!
30705         
30706         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30707         without using the atomic operations. Only one thread can possibly
30708         be accessing the data at this point. Changed so as to avoid
30709         gst_atomic operations.
30710
30711 2005-05-06  Wim Taymans  <wim@fluendo.com>
30712
30713         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30714         Also set caps if we use the fallback buffer alloc.
30715
30716 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30717
30718         * docs/gst/Makefile.am:
30719         * docs/gst/gstreamer-docs.sgml:
30720         * docs/gst/gstreamer-sections.txt:
30721         * docs/gst/tmpl/gstatomic.sgml:
30722         * docs/gst/tmpl/gstmemchunk.sgml:
30723         * testsuite/elements/struct_i386.h:
30724         * win32/GStreamer.vcproj:
30725         * win32/Makefile:
30726           Purge GstAtomic stuff from docs and win32 makefiles as well
30727
30728 2005-05-06  Wim Taymans  <wim@fluendo.com>
30729
30730         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30731         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30732         * gst/gstpad.c: (gst_pad_peer_get_caps):
30733         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30734         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30735         (gst_queue_src_activate), (gst_queue_change_state):
30736         * gst/gstqueue.h:
30737         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30738         (intersect_caps_func):
30739         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30740         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30741         Some fixes for the peer_get_caps() change.
30742
30743 2005-05-06  Wim Taymans  <wim@fluendo.com>
30744
30745         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30746         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30747         (gst_basesink_activate):
30748         Actually do something with error codes returned from the push
30749         functions.
30750
30751 2005-05-06  Wim Taymans  <wim@fluendo.com>
30752
30753         * docs/design/part-element-sink.txt:
30754         * docs/design/part-element-source.txt:
30755         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30756         (gst_basesink_event), (gst_basesink_activate):
30757         * gst/base/gstbasesink.h:
30758         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30759         (gst_basesrc_activate):
30760         * gst/base/gstbasesrc.h:
30761         * gst/gstelement.c: (gst_element_pads_activate):
30762         Some more documentation.
30763         Fixed scheduling decision in _pads_activate().
30764
30765 2005-05-05  Andy Wingo  <wingo@pobox.com>
30766
30767         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30768         the test suite.
30769
30770 2005-05-05  Wim Taymans  <wim@fluendo.com>
30771
30772         * gst/base/Makefile.am:
30773         * gst/base/gstbasesink.h:
30774         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30775         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30776         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30777         (gst_collectpads_class_init), (gst_collectpads_init),
30778         (gst_collectpads_finalize), (gst_collectpads_new),
30779         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30780         (find_pad), (gst_collectpads_remove_pad),
30781         (gst_collectpads_is_active), (gst_collectpads_collect),
30782         (gst_collectpads_collect_range), (gst_collectpads_start),
30783         (gst_collectpads_stop), (gst_collectpads_peek),
30784         (gst_collectpads_pop), (gst_collectpads_available),
30785         (gst_collectpads_read), (gst_collectpads_flush),
30786         (gst_collectpads_chain):
30787         * gst/base/gstcollectpads.h:
30788         * gst/elements/Makefile.am:
30789         * gst/elements/gstelements.c:
30790         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30791         (gst_fakesink_get_times), (gst_fakesink_event),
30792         (gst_fakesink_preroll), (gst_fakesink_render):
30793         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30794         (gst_filesink_init), (gst_filesink_set_location),
30795         (gst_filesink_open_file), (gst_filesink_close_file),
30796         (gst_filesink_pad_query), (gst_filesink_event),
30797         (gst_filesink_render), (gst_filesink_change_state):
30798         * gst/elements/gstfilesink.h:
30799         Added object to help in making collect pad based elements.
30800         Ported filesink.
30801         Make event function in sink baseclass return gboolean.
30802
30803 2005-05-05  Wim Taymans  <wim@fluendo.com>
30804
30805         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30806         (gst_bin_get_by_name):
30807         * gst/gstbuffer.h:
30808         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30809         (gst_clock_finalize):
30810         * gst/gstdata.c: (gst_data_replace):
30811         * gst/gstdata.h:
30812         * gst/gstelement.c: (gst_element_request_pad),
30813         (gst_element_pads_activate):
30814         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30815         (gst_object_unref):
30816         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30817         (gst_pad_set_checkgetrange_function),
30818         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30819         (gst_pad_check_pull_range), (gst_pad_pull_range),
30820         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30821         (gst_pad_pause_task), (gst_pad_stop_task):
30822         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30823         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30824         Fix name lookup in GstBin.
30825         Added _data_replace() function and _buffer_replace()
30826         Use finalize method to clean up clock.
30827         Fix refcounting on request pads.
30828         Fix pad schedule mode error.
30829         Some more object refcounting debug info,
30830
30831
30832 2005-05-04  Andy Wingo <wingo@pobox.com>
30833
30834         * check/Makefile.am:
30835         * docs/gst/tmpl/gstatomic.sgml:
30836         * docs/gst/tmpl/gstplugin.sgml:
30837         * gst/base/gstbasesink.c: (gst_basesink_activate):
30838         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30839         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30840         (gst_basesrc_query), (gst_basesrc_set_property),
30841         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30842         (gst_basesrc_activate):
30843         * gst/base/gstbasesrc.h:
30844         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30845         (gst_base_transform_src_activate):
30846         * gst/elements/gstelements.c:
30847         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30848         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30849         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30850         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30851         (gst_type_find_element_checkgetrange),
30852         (gst_type_find_element_activate):
30853         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30854         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30855         (gst_caps_load_thyself):
30856         * gst/gstelement.c: (gst_element_pads_activate),
30857         (gst_element_save_thyself), (gst_element_restore_thyself):
30858         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30859         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30860         * gst/gstpad.h:
30861         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30862         (gst_xml_parse_file), (gst_xml_parse_memory),
30863         (gst_xml_get_element), (gst_xml_make_element):
30864         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30865         (_file_index_id_save_xml), (gst_file_index_commit):
30866         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30867         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30868         (load_paths):
30869         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30870         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30871         * tools/gst-complete.c: (main):
30872         * tools/gst-compprep.c: (main):
30873         * tools/gst-inspect.c: (print_element_properties_info):
30874         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30875         * tools/gst-xmlinspect.c: (print_element_properties):
30876         GCC 4 fixen.
30877         
30878 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30879
30880         * gst/gstplugin.c: (gst_plugin_check_module),
30881         (gst_plugin_check_file), (gst_plugin_load_file):
30882             apply patch from #172526 to make register work on MacOSX
30883
30884 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30885
30886         * docs/gst/tmpl/gstconfig.sgml:
30887         * gst/gstconfig.h.in:
30888           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30889         * testsuite/debug/printf_extension.c: (main):
30890           Do not use GST_PTR_FORMAT on pointers to types with
30891           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30892         * testsuite/elements/property.h:
30893           use correct printf format
30894
30895 2005-05-02  Wim Taymans  <wim@fluendo.com>
30896
30897         * docs/design/draft-push-pull.txt:
30898         * docs/design/draft-query.txt:
30899         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30900         (gst_basesrc_start):
30901         Added draft for new query API.
30902         Added draft for better selecting scheduling methods.
30903         Make basesrc ignore length if the subclass does not support
30904         it.
30905
30906 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30907
30908         * gst/Makefile.am:
30909           possible fixes for automake-1.5 - _LIBADD is reserved
30910
30911 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30912
30913         * docs/faq/Makefile.am:
30914         * docs/manual/Makefile.am:
30915         * docs/manuals.mak:
30916         * docs/pwg/Makefile.am:
30917         * gst/Makefile.am:
30918           possible fixes for automake-1.5
30919
30920 2005-04-28  Wim Taymans  <wim@fluendo.com>
30921
30922         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30923         (gst_basesink_pad_getcaps), (gst_basesink_init),
30924         (gst_basesink_do_sync):
30925         * gst/gstclock.c: (gst_clock_entry_new):
30926         * gst/gstevent.c: (gst_event_discont_get_value):
30927         * gst/gstpipeline.c: (pipeline_bus_handler),
30928         (gst_pipeline_change_state):
30929         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30930         Better debugging of clocking info.
30931         Allow NULL values when getting discont values.
30932
30933 2005-04-27  Wim Taymans  <wim@fluendo.com>
30934
30935         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30936         * check/gst/gstpad.c: (gst_pad_suite):
30937         Increase timeout for checks.
30938
30939 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30940
30941         * check/Makefile.am:
30942           fix the broken rule for cleanup.  Apparently this rule is
30943           only needed on FC2, so maybe this warrants further autotool
30944           inspection.
30945
30946 2005-04-26  Wim Taymans  <wim@fluendo.com>
30947
30948         * gst/gsttrashstack.h:
30949         Ooohh. a nasty one! After having a failed pop() from the stack,
30950         it's possible that the stack is empty. In that case, don't
30951         follow the NULL pointer.
30952
30953 2005-04-25  Wim Taymans  <wim@fluendo.com>
30954
30955         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30956         (gst_pad_set_checkgetrange_function),
30957         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30958         (gst_pad_check_pull_range), (gst_pad_pull_range),
30959         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30960         (gst_pad_pause_task), (gst_pad_stop_task):
30961         * gst/gstplugin.c: (gst_plugin_load):
30962         * gst/gstplugin.h:
30963         Remove gst_library_load as it does more harm than good with
30964         the new g_module flags.
30965         Revert bogus caps template check in pad linking, pad caps
30966         are important when linking not the template, which is more
30967         general than the current caps.
30968
30969 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30970
30971         * gst/autoplug/.cvsignore:
30972         * gst/autoplug/Makefile.am:
30973         * gst/autoplug/gstsearchfuncs.c:
30974         * gst/autoplug/gstsearchfuncs.h:
30975         * gst/autoplug/gstspider.c:
30976         * gst/autoplug/gstspider.h:
30977         * gst/autoplug/gstspideridentity.c:
30978         * gst/autoplug/gstspideridentity.h:
30979         * gst/autoplug/spidertest.c:
30980           Die, spider, die.
30981
30982 2005-04-25  Wim Taymans  <wim@fluendo.com>
30983
30984         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30985         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30986         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30987         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30988         * gst/gstpad.h:
30989         Added stubs for unimplemented functions. 
30990
30991 2005-04-24  David Schleef  <ds@schleef.org>
30992
30993         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30994         please fix.
30995
30996 2005-04-24  David Schleef  <ds@schleef.org>
30997
30998         Convert everything from GstAtomicInt to g_atomic_int_*, and
30999         remove gstatomic.
31000         * gst/Makefile.am:
31001         * gst/gstatomic.c:
31002         * gst/gstatomic.h:
31003         * gst/gstatomic_impl.h:
31004         * gst/gstbuffer.c:
31005         * gst/gstcaps.c:
31006         * gst/gstcaps.h:
31007         * gst/gstclock.c:
31008         * gst/gstclock.h:
31009         * gst/gstdata.c:
31010         * gst/gstdata.h:
31011         * gst/gstdata_private.h:
31012         * gst/gstevent.c:
31013         * gst/gstinfo.c:
31014         * gst/gstinfo.h:
31015         * gst/gstmessage.c:
31016         * gst/gstobject.c:
31017         * gst/gstobject.h:
31018         * gst/gststructure.c:
31019         * gst/gststructure.h:
31020         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31021         * gst/gstutils.h:
31022
31023 2005-04-24  David Schleef  <ds@schleef.org>
31024
31025         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31026         make the regressions tests work.  Remove some code that is no
31027         longer true.
31028         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31029         Disable warning for pads without templates.
31030
31031 2005-04-24  David Schleef  <ds@schleef.org>
31032
31033         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31034         functions that handle filtered links.
31035         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31036         removed functions.
31037         * gst/gstutils.c: Fix/remove utility functions that handle
31038         filtered caps.
31039         * gst/gstutils.h:
31040         * gst/gstvalue.c: Add serialization/deserialization of caps
31041         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31042         requires fixing so that the filter caps notation creates
31043         a capsfilter element and sets the filter_caps property.  I
31044         think everyone probably wants to keep the shorthand notation.
31045         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31046         * docs/gst/tmpl/gstpad.sgml:
31047
31048         * gst/elements/gstelements.c: Register capsfilter element.
31049         * gst/Makefile.am: fix spacing
31050         * docs/random/ds/0.9-suggested-changes: random
31051
31052 2005-04-23  David Schleef  <ds@schleef.org>
31053
31054         * gst/elements/Makefile.am:
31055         * gst/elements/gstcapsfilter.c: New element that acts like an
31056         identity, but filters caps.  Will eventually replace filtered
31057         caps in pad linking.
31058         * gst/gstutils.c: (gst_element_create_all_pads): New function
31059         to create all the ALWAYS pads that are registered with an
31060         element class.  This functionality should eventually be
31061         merged in with GstElement initialization.
31062         * gst/gstutils.h:
31063         * testsuite/trigger/README: part of trigger test code that should
31064         have been checked in a long time ago.
31065
31066 2005-04-23  David Schleef  <ds@schleef.org>
31067
31068         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31069         needed with new versions of libtool (nobody will confirm this),
31070         and hard to carry around.
31071         * gst/autoplug/Makefile.am:
31072         * gst/base/Makefile.am:
31073         * gst/elements/Makefile.am:
31074         * gst/indexers/Makefile.am:
31075         * gst/schedulers/Makefile.am:
31076         * libs/gst/bytestream/Makefile.am:
31077         * libs/gst/control/Makefile.am:
31078         * libs/gst/dataprotocol/Makefile.am:
31079         * libs/gst/getbits/Makefile.am:
31080
31081 2005-04-21  Wim Taymans  <wim@fluendo.com>
31082
31083         * docs/design/draft-push-pull.txt:
31084         * docs/design/part-MT-refcounting.txt:
31085         * docs/design/part-TODO.txt:
31086         * docs/design/part-caps.txt:
31087         * docs/design/part-events.txt:
31088         * docs/design/part-gstbus.txt:
31089         * docs/design/part-gstpipeline.txt:
31090         * docs/design/part-messages.txt:
31091         * docs/design/part-push-pull.txt:
31092         * docs/design/part-query.txt:
31093         Some more docs.
31094
31095 2005-04-21  Wim Taymans  <wim@fluendo.com>
31096
31097         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31098         (gst_message_new), (gst_message_new_error),
31099         (gst_message_new_warning), (gst_message_new_tag),
31100         (gst_message_new_state_changed), (gst_message_new_application),
31101         (gst_message_get_structure):
31102         * gst/gstmessage.h:
31103         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31104         (gst_structure_copy_conditional):
31105         Use parent refcount in GstMessage to ensure GstStructure
31106         consistency.
31107         Cleaned up headers a bit.
31108         
31109
31110 2005-04-20  Wim Taymans  <wim@fluendo.com>
31111
31112         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31113         (gst_basesink_pad_getcaps), (gst_basesink_init),
31114         (gst_basesink_chain_unlocked):
31115         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31116         (gst_type_find_helper):
31117         * gst/elements/gsttypefindelement.c:
31118         (gst_type_find_element_have_type), (gst_type_find_element_init),
31119         (stop_typefinding), (gst_type_find_element_handle_event),
31120         (find_suggest), (gst_type_find_element_chain),
31121         (gst_type_find_element_checkgetrange),
31122         (gst_type_find_element_getrange), (do_typefind),
31123         (gst_type_find_element_activate):
31124         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31125         (gst_buffer_default_free), (gst_buffer_default_copy),
31126         (gst_buffer_set_caps):
31127         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31128         (gst_caps_replace):
31129         * gst/gstmessage.c: (gst_message_new),
31130         (gst_message_new_state_changed):
31131         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31132         (gst_pad_set_checkgetrange_function),
31133         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31134         (gst_pad_set_caps), (gst_pad_check_pull_range),
31135         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31136         * gst/gstpad.h:
31137         * gst/gsttypefind.c: (gst_type_find_register):
31138         Make gst_caps_replace() work like other _replace() functions.
31139         Use _caps_replace() where possible.
31140         Make sure _message_new() initialises its field.
31141         Add gst_static_pad_template_get_caps()
31142
31143
31144 2005-04-18  Andy Wingo  <wingo@pobox.com>
31145
31146         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31147         on the peer, not the pad. I think that was a typo. Pass an extra
31148         arg to see if random access is possible. Activate the pads as
31149         PULL_RANGE if possible.
31150
31151         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31152
31153         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31154         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31155         to PROP_....
31156
31157 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31158
31159         * docs/faq/using.xml:
31160           Add note on gstreamer-properties (#154996).
31161
31162 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31163
31164         * docs/random/bbb/optional-properties:
31165           Some analysis on optional properties.
31166
31167 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31168
31169         * docs/gst/tmpl/gstelementfactory.sgml:
31170         * gst/gstelement.h:
31171         * gst/gstelementfactory.c: (gst_element_factory_init),
31172         (gst_element_factory_cleanup), (gst_element_register),
31173         (__gst_element_factory_add_static_pad_template),
31174         (gst_element_factory_get_static_pad_templates),
31175         (gst_element_factory_can_src_caps),
31176         (gst_element_factory_can_sink_caps):
31177         * gst/registries/Makefile.am:
31178         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31179         (gst_xml_registry_class_init), (gst_xml_registry_init),
31180         (gst_xml_registry_new), (gst_xml_registry_set_property),
31181         (gst_xml_registry_get_property), (get_time), (make_dir),
31182         (gst_xml_registry_get_perms_func),
31183         (plugin_times_older_than_recurse), (plugin_times_older_than),
31184         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31185         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31186         (add_to_char_array), (read_string), (read_uint), (read_enum),
31187         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31188         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31189         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31190         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31191         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31192         (gst_xml_registry_rebuild):
31193         * gst/registries/gstlibxmlregistry.h:
31194         * tools/gst-compprep.c: (main):
31195         * tools/gst-inspect.c: (print_pad_templates_info):
31196         * tools/gst-xmlinspect.c: (print_element_info):
31197           Use libxml2 for registry parsing, use staticpadtemplates in
31198           elementfactories. Makes gst_init() +/- 10x faster.
31199
31200 2005-04-12  Wim Taymans  <wim@fluendo.com>
31201
31202         * gst/base/Makefile.am:
31203         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31204         (gst_basesink_pad_getcaps), (gst_basesink_init),
31205         (gst_basesink_event), (gst_basesink_change_state):
31206         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31207         (gst_basesrc_init), (gst_basesrc_query),
31208         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31209         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31210         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31211         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31212         (gst_basesrc_stop), (gst_basesrc_activate),
31213         (gst_basesrc_change_state):
31214         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31215         (helper_find_suggest), (gst_type_find_helper):
31216         * gst/base/gsttypefindhelper.h:
31217         * gst/elements/Makefile.am:
31218         * gst/elements/gstelements.c:
31219         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31220         (gst_fakesink_get_times), (gst_fakesink_event),
31221         (gst_fakesink_preroll), (gst_fakesink_render):
31222         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31223         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31224         (gst_fakesrc_get_property), (gst_fakesrc_create),
31225         (gst_fakesrc_start), (gst_fakesrc_stop):
31226         * gst/elements/gstfakesrc.h:
31227         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31228         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31229         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31230         (gst_filesrc_create_read), (gst_filesrc_create),
31231         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31232         (gst_filesrc_start):
31233         * gst/elements/gsttypefindelement.c:
31234         (gst_type_find_element_have_type), (gst_type_find_element_init),
31235         (start_typefinding), (stop_typefinding), (push_buffer_store),
31236         (gst_type_find_element_handle_event),
31237         (gst_type_find_element_chain),
31238         (gst_type_find_element_checkgetrange),
31239         (gst_type_find_element_getrange), (do_typefind),
31240         (gst_type_find_element_activate),
31241         (gst_type_find_element_change_state):
31242         * gst/elements/gsttypefindelement.h:
31243         * gst/gstpipeline.c: (pipeline_bus_handler):
31244         Added typefind helper.
31245         Small preroll fix in the base sink.
31246         Disable typefind code in basesrc.
31247         Crude port of typefindelement.
31248         Fakesrc cleanups.
31249
31250
31251 2005-04-11  Wim Taymans  <wim@fluendo.com>
31252
31253         * check/gst/gstbus.c: (gstbus_suite):
31254         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31255         * check/gstcheck.h:
31256           Fix up the timeout so that the test does not fail.
31257
31258 2005-04-06  Wim Taymans  <wim@fluendo.com>
31259
31260         * gst/base/README:
31261         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31262         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31263         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31264         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31265         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31266         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31267         (gst_basesrc_stop), (gst_basesrc_activate),
31268         (gst_basesrc_change_state), (basesrc_find_peek),
31269         (basesrc_find_suggest), (gst_basesrc_type_find):
31270         * gst/base/gstbasesrc.h:
31271         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31272         (gst_filesrc_class_init), (gst_filesrc_init),
31273         (gst_filesrc_finalize), (gst_filesrc_set_location),
31274         (gst_filesrc_set_property), (gst_filesrc_get_property),
31275         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31276         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31277         (gst_filesrc_create_read), (gst_filesrc_create),
31278         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31279         * gst/elements/gstfilesrc.h:
31280         * gst/gstelement.c: (gst_element_get_state_func),
31281         (gst_element_lost_state), (gst_element_pads_activate):
31282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31283         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31284         (gst_pad_pull_range):
31285         * gst/gstpad.h:
31286         More work on the generic source base class, implement seeking,
31287         query.
31288         Make filesrc extend the base source class.
31289         Added gst_pad_set_checkgetrange_function to GstPad.
31290
31291 2005-04-06  Andy Wingo  <wingo@pobox.com>
31292
31293         * pkgconfig/gstreamer-base.pc.in:
31294         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31295
31296         * pkgconfig/Makefile.am:
31297         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31298
31299 2005-04-04  Wim Taymans  <wim@fluendo.com>
31300
31301         * gst/base/Makefile.am:
31302         * gst/base/README:
31303         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31304         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31305         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31306         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31307         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31308         (gst_basesrc_base_init), (gst_basesrc_class_init),
31309         (gst_basesrc_init), (gst_basesrc_get_formats),
31310         (gst_basesrc_get_query_types), (gst_basesrc_query),
31311         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31312         (gst_basesrc_set_property), (gst_basesrc_get_property),
31313         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31314         (gst_basesrc_loop), (gst_basesrc_activate),
31315         (gst_basesrc_change_state):
31316         * gst/base/gstbasesrc.h:
31317         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31318         (gst_fakesrc_class_init), (gst_fakesrc_init),
31319         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31320         (gst_fakesrc_get_property), (gst_fakesrc_create):
31321         * gst/elements/gstfakesrc.h:
31322         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31323         (gst_filesrc_open_file), (gst_filesrc_loop),
31324         (gst_filesrc_activate), (filesrc_find_peek),
31325         (gst_filesrc_type_find):
31326         Made base source class, make fakesrc extend it.
31327         Add comments to basesink class.
31328         Some filesrc cleanup.
31329
31330 2005-03-31  David Schleef  <ds@schleef.org>
31331
31332         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31333         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31334         expected to link against libgstreamer.
31335         * gst/base/Makefile.am: link against libgstreamer
31336         * gst/elements/Makefile.am: same
31337
31338 2005-03-31  Andy Wingo  <wingo@pobox.com>
31339
31340         * tests/instantiate/Makefile.am:
31341         * tests/instantiate/caps.c: Add test to test speed of caps copy
31342         and free.
31343
31344         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31345         GMemChunk to be fair.
31346
31347         * gst/gsttrashstack.h: Remove warning about using the fallback
31348         trash stack implementation, it's still faster than malloc.
31349
31350 2005-03-30  Andy Wingo  <wingo@pobox.com>
31351
31352         * tests/complexity.c: Add a copyright.
31353
31354 2005-03-31  Wim Taymans  <wim@fluendo.com>
31355
31356         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31357         (gst_base_transform_class_init), (gst_base_transform_init),
31358         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31359         (gst_base_transform_get_property),
31360         (gst_base_transform_sink_activate),
31361         (gst_base_transform_src_activate),
31362         (gst_base_transform_change_state):
31363         * gst/base/gstbasetransform.h:
31364         * gst/elements/gstidentity.c: (gst_identity_class_init),
31365         (gst_identity_event), (gst_identity_check_perfect),
31366         (gst_identity_transform), (gst_identity_start),
31367         (gst_identity_stop):
31368         Added start/stop methods to transform base class so subclasses 
31369         don't need to deal with state changes even.
31370
31371 2005-03-31  Wim Taymans  <wim@fluendo.com>
31372
31373         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31374         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31375         * gst/gstevent.h:
31376         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31377         (gst_pad_pull_range):
31378         Added rate to the discont event to prepare for variable speed
31379         and reverse playback.
31380
31381 2005-03-29  David Schleef  <ds@schleef.org>
31382
31383         * configure.ac:
31384         * testsuite/trigger/Makefile.am:
31385         * testsuite/trigger/trigger.c: A little example program to show
31386         how trigger-based elements can work.
31387
31388 2005-03-29  Wim Taymans  <wim@fluendo.com>
31389
31390         * gst/base/Makefile.am:
31391         * gst/base/README:
31392         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31393         (gst_basesink_base_init), (gst_basesink_class_init),
31394         (gst_basesink_pad_getcaps), (gst_basesink_init),
31395         (gst_basesink_activate), (gst_basesink_change_state):
31396         * gst/base/gstbasesink.h:
31397         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31398         (gst_base_transform_base_init), (gst_base_transform_finalize),
31399         (gst_base_transform_class_init), (gst_base_transform_init),
31400         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31401         (gst_base_transform_event), (gst_base_transform_getrange),
31402         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31403         (gst_base_transform_set_property),
31404         (gst_base_transform_get_property),
31405         (gst_base_transform_sink_activate),
31406         (gst_base_transform_src_activate),
31407         (gst_base_transform_change_state):
31408         * gst/base/gstbasetransform.h:
31409         * gst/elements/gstidentity.c: (gst_identity_finalize),
31410         (gst_identity_class_init), (gst_identity_init),
31411         (gst_identity_event), (gst_identity_check_perfect),
31412         (gst_identity_transform), (gst_identity_set_property),
31413         (gst_identity_get_property), (gst_identity_change_state):
31414         * gst/elements/gstidentity.h:
31415         * gst/gstelement.c: (gst_element_get_state_func),
31416         (gst_element_lost_state), (gst_element_pads_activate):
31417         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31418         (gst_pad_check_pull_range), (gst_pad_pull_range):
31419         * gst/gstpad.h:
31420         Simplify pad activation.
31421         Added function to check if pull_range can be performed.
31422         Error out when pulling inactive or flushing pads.
31423         Removed const from refcounted types as it does not make sense.
31424         Simplify pad templates in basesink
31425         Added base class for simple 1-to-1 transforms.
31426         Make identity subclass the base transform.
31427
31428 2005-03-29  Andy Wingo  <wingo@pobox.com>
31429
31430         * docs/libs/gstreamer-libs-overrides.txt: 
31431         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31432         really don't understand what's going on, but like whatever. I want
31433         green buildbot!
31434
31435         * docs/gst/Makefile.am:
31436         * docs/libs/Makefile.am: Dist the overrides files.
31437
31438         * check/Makefile.am (clean-local): Remove .libs directories.
31439
31440         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31441         elements to EXTRA_DIST, so po/ files are happy.
31442
31443         * po/POTFILES.in: Er, remove it here.
31444
31445         * po/POTFILES: Remove gstspider.c.
31446
31447         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31448
31449         * docs/libs/gstreamer-libs-docs.sgml: 
31450         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31451         bytestream.
31452
31453         * tests/complexity.c (main): Set the length of the preroll queue
31454         on the sinks to prevent a lockup.
31455
31456         * libs/gst/dataprotocol/Makefile.am: 
31457         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31458         the same as the one in check/gst-libs/gdp.c.
31459
31460         * po/, docs/gst/: Commit automatic changes to docs and po files.
31461
31462         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31463         the versioned libgstbase.
31464
31465         * check/Makefile.am: Depend on an unversioned gst-register, seems
31466         to make autoconf happier.
31467
31468         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31469
31470 2005-03-28  Wim Taymans  <wim@fluendo.com>
31471
31472         * configure.ac:
31473         * docs/design/part-gstelement.txt:
31474         * docs/design/part-negotiation.txt:
31475         * docs/design/part-preroll.txt:
31476         * docs/design/part-scheduling.txt:
31477         * docs/design/part-states.txt:
31478         * gst/Makefile.am:
31479         * gst/base/Makefile.am:
31480         * gst/base/README:
31481         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31482         (gst_basesink_base_init), (gst_basesink_class_init),
31483         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31484         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31485         (gst_basesink_set_pad_functions),
31486         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31487         (gst_basesink_set_property), (gst_basesink_get_property),
31488         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31489         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31490         (gst_basesink_preroll_queue_push),
31491         (gst_basesink_preroll_queue_empty),
31492         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31493         (gst_basesink_event), (gst_basesink_get_times),
31494         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31495         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31496         (gst_basesink_loop), (gst_basesink_activate),
31497         (gst_basesink_change_state):
31498         * gst/base/gstbasesink.h:
31499         * gst/elements/Makefile.am:
31500         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31501         (gst_fakesink_class_init), (gst_fakesink_init),
31502         (gst_fakesink_set_property), (gst_fakesink_get_property),
31503         (gst_fakesink_get_times), (gst_fakesink_event),
31504         (gst_fakesink_preroll), (gst_fakesink_render),
31505         (gst_fakesink_change_state):
31506         * gst/elements/gstfakesink.h:
31507         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31508         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31509         * gst/gstelement.c: (gst_element_add_pad),
31510         (gst_element_get_state_func), (gst_element_abort_state),
31511         (gst_element_commit_state), (gst_element_lost_state),
31512         (gst_element_set_state), (gst_element_pads_activate):
31513         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31514         * gst/gstpipeline.c: (gst_pipeline_send_event),
31515         (gst_pipeline_change_state):
31516         Added state change code.
31517         Added/updated docs.
31518         Added sink base class, make fakesink extend the base class.
31519         Small cleanups in GstPipeline.
31520
31521 2005-03-26  David Schleef  <ds@schleef.org>
31522
31523         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31524         is broken and should be implemented in a different library.
31525         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31526         * gst/gst.h: remove gstcpu.h
31527         * gst/gstcpu.c: remove
31528         * gst/gstcpu.h: remove
31529         * gst/Makefile.am.future: Remove this file.  It's ancient.
31530
31531 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31532
31533         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31534         (gst_bin_send_event):
31535           Add default event/set_manager handlers. The set_manager handler
31536           takes care that the manager is distributed over kids that were
31537           already in the bin before the manager was set. The event handler
31538           is a utility virtual function that sends the event over all sinks,
31539           so that gst_element_send_event (bin, event); has the expected
31540           behaviour.
31541         * gst/gstpad.c: (gst_pad_event_default):
31542           Re-install default event handling for discontinuities, so that
31543           seeking works without requiring hacks in applications or extra
31544           code in sinks.
31545         * gst/gstpipeline.c: (gst_pipeline_class_init),
31546         (gst_pipeline_send_event):
31547           Half hack, half utility: set a pipeline to PAUSED for seek events,
31548           since that is the only way we can guarantee a/v sync. Means that
31549           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31550           and it "just works".
31551
31552 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31553
31554         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31555           Lock/unlock mismatch.
31556
31557 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31558
31559         * docs/faq/gst-uninstalled:
31560           add gst-plugins-base
31561         * docs/gst/Makefile.am:
31562           don't error out until docs are fixed
31563         * docs/gst/gstreamer.types:
31564           remove thread
31565
31566 2005-03-22  Wim Taymans  <wim@fluendo.com>
31567
31568         * check/Makefile.am:
31569         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31570         * gst/gststructure.c: (gst_structure_set_valist),
31571         (gst_structure_copy_conditional):
31572         Activated more tests.
31573         Added message test.
31574         Added G_TYPE_POINTER to GstStructure.
31575         
31576
31577 2005-03-22  Wim Taymans  <wim@fluendo.com>
31578
31579         * docs/design/part-TODO.txt:
31580         * docs/design/part-events.txt:
31581         * docs/design/part-gstbin.txt:
31582         * docs/design/part-gstbus.txt:
31583         * docs/design/part-gstpipeline.txt:
31584         * docs/design/part-messages.txt:
31585         * gst/gstbus.c:
31586         * gst/gstmessage.c:
31587         Docs updates
31588
31589 2005-03-21  Wim Taymans  <wim@fluendo.com>
31590
31591         * gst/gstbus.c: (gst_bus_post):
31592         Fix copy-and-paste error.
31593
31594 2005-03-21  Wim Taymans  <wim@fluendo.com>
31595
31596         * check/Makefile.am:
31597         * gst/Makefile.am:
31598         * gst/elements/Makefile.am:
31599         * gst/elements/gstelements.c:
31600         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31601         (gst_fakesink_event), (gst_fakesink_chain):
31602         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31603         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31604         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31605         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31606         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31607         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31608         (gst_fakesrc_loop), (gst_fakesrc_activate),
31609         (gst_fakesrc_change_state):
31610         * gst/elements/gstfakesrc.h:
31611         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31612         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31613         (gst_filesrc_open_file), (gst_filesrc_loop),
31614         (gst_filesrc_activate), (gst_filesrc_change_state),
31615         (filesrc_find_peek), (filesrc_find_suggest),
31616         (gst_filesrc_type_find):
31617         * gst/elements/gstidentity.c: (gst_identity_finalize),
31618         (gst_identity_class_init), (gst_identity_init),
31619         (gst_identity_proxy_getcaps), (identity_queue_push),
31620         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31621         (gst_identity_getrange), (gst_identity_chain),
31622         (gst_identity_sink_loop), (gst_identity_src_loop),
31623         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31624         (gst_identity_set_property), (gst_identity_get_property),
31625         (gst_identity_change_state):
31626         * gst/elements/gstidentity.h:
31627         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31628         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31629         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31630         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31631         (gst_tee_sink_activate):
31632         * gst/elements/gsttee.h:
31633         * gst/gst.c: (gst_register_core_elements), (init_post):
31634         * gst/gst.h:
31635         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31636         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31637         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31638         (gst_bin_change_state):
31639         * gst/gstbin.h:
31640         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31641         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31642         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31643         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31644         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31645         (bus_watch_callback), (bus_watch_destroy),
31646         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31647         (poll_timeout), (gst_bus_poll):
31648         * gst/gstbus.h:
31649         * gst/gstcaps.h:
31650         * gst/gstdata.h:
31651         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31652         (gst_element_post_message), (gst_element_message_full),
31653         (gst_element_get_state_func), (gst_element_get_state),
31654         (gst_element_abort_state), (gst_element_commit_state),
31655         (gst_element_lost_state), (gst_element_set_state),
31656         (gst_element_pads_activate), (gst_element_change_state),
31657         (gst_element_dispose), (gst_element_set_manager_func),
31658         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31659         (gst_element_set_manager), (gst_element_get_manager),
31660         (gst_element_set_bus), (gst_element_get_bus),
31661         (gst_element_set_scheduler), (gst_element_get_scheduler):
31662         * gst/gstelement.h:
31663         * gst/gstevent.c: (gst_event_new_segment_seek),
31664         (gst_event_new_flush):
31665         * gst/gstevent.h:
31666         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31667         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31668         (gst_message_new_eos), (gst_message_new_error),
31669         (gst_message_new_warning), (gst_message_new_tag),
31670         (gst_message_new_state_changed), (gst_message_new_application),
31671         (gst_message_get_structure), (gst_message_parse_tag),
31672         (gst_message_parse_state_changed), (gst_message_parse_error),
31673         (gst_message_parse_warning):
31674         * gst/gstmessage.h:
31675         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31676         (gst_real_pad_set_property), (gst_pad_set_active),
31677         (gst_pad_is_active), (gst_pad_set_blocked_async),
31678         (gst_pad_set_blocked), (gst_pad_is_blocked),
31679         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31680         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31681         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31682         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31683         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31684         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31685         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31686         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31687         (gst_pad_set_caps), (gst_pad_configure_sink),
31688         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31689         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31690         (gst_real_pad_dispose), (gst_real_pad_finalize),
31691         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31692         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31693         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31694         * gst/gstpad.h:
31695         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31696         (pipeline_bus_handler), (gst_pipeline_change_state),
31697         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31698         * gst/gstpipeline.h:
31699         * gst/gstprobe.h:
31700         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31701         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31702         (gst_queue_link_src), (gst_queue_bufferalloc),
31703         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31704         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31705         (gst_queue_loop), (gst_queue_handle_src_event),
31706         (gst_queue_handle_src_query), (gst_queue_src_activate),
31707         (gst_queue_change_state):
31708         * gst/gstqueue.h:
31709         * gst/gstscheduler.c: (gst_scheduler_init),
31710         (gst_scheduler_dispose), (gst_scheduler_create_task),
31711         (gst_scheduler_factory_create):
31712         * gst/gstscheduler.h:
31713         * gst/gststructure.c: (gst_structure_get_type),
31714         (gst_structure_copy_conditional):
31715         * gst/gststructure.h:
31716         * gst/gsttaginterface.h:
31717         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31718         (gst_task_init), (gst_task_dispose), (gst_task_create),
31719         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31720         (gst_task_pause):
31721         * gst/gsttask.h:
31722         * gst/gstthread.c:
31723         * gst/gstthread.h:
31724         * gst/gsttypes.h:
31725         * gst/schedulers/Makefile.am:
31726         * gst/schedulers/cothreads_compat.h:
31727         * gst/schedulers/entryscheduler.c:
31728         * gst/schedulers/faircothreads.c:
31729         * gst/schedulers/faircothreads.h:
31730         * gst/schedulers/fairscheduler.c:
31731         * gst/schedulers/gstbasicscheduler.c:
31732         * gst/schedulers/gstoptimalscheduler.c:
31733         * gst/schedulers/gthread-cothreads.h:
31734         * gst/schedulers/threadscheduler.c:
31735         (gst_thread_scheduler_task_get_type),
31736         (gst_thread_scheduler_task_class_init),
31737         (gst_thread_scheduler_task_init),
31738         (gst_thread_scheduler_task_start),
31739         (gst_thread_scheduler_task_stop),
31740         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31741         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31742         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31743         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31744         (plugin_init):
31745         * libs/gst/Makefile.am:
31746         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31747         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31748         (gst_file_pad_parent_set):
31749         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31750         (gst_dp_event_from_packet):
31751         * tests/complexity.c: (main):
31752         * tests/mass_elements.c: (main):
31753         * testsuite/states/locked.c: (message_received), (main):
31754         * testsuite/states/parent.c: (main):
31755         * tools/gst-inspect.c: (print_element_flag_info),
31756         (print_implementation_info), (print_pad_info):
31757         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31758         (main):
31759         * tools/gst-md5sum.c: (event_loop), (main):
31760         * tools/gst-typefind.c: (main):
31761         * tools/gst-xmlinspect.c: (print_element_info):
31762         Next big merge.
31763         Added GstBus for mainloop integration.
31764         Added GstMessage for sending notifications on the bus.
31765         Added GstTask as an abstraction for pipeline entry points.
31766         Removed GstThread.
31767         Removed Schedulers.
31768         Simplified GstQueue for multithreaded core.
31769         Made _link threadsafe, removed old capsnego.
31770         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31771         Added pad blocking functions.
31772         Reworked scheduling functions in GstPad to prepare for
31773         scheduling updates soon.
31774         Moved events out of data stream.
31775         Simplified GstEvent types.
31776         Added return values to push/pull.
31777         Removed clocking from GstElement.
31778         Added prototypes for state change function for next merge.
31779         Removed iterate from bins and state change management.
31780         Fixed some elements, disabled others for now.
31781         Fixed -inspect and -launch.
31782         Added check for GstBus.
31783
31784 2005-03-10  Wim Taymans  <wim@fluendo.com>
31785
31786         * docs/design/part-MT-refcounting.txt:
31787         * docs/design/part-clocks.txt:
31788         * docs/design/part-gstelement.txt:
31789         * docs/design/part-gstobject.txt:
31790         * docs/design/part-standards.txt:
31791         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31792         (gst_bin_remove_func), (gst_bin_remove):
31793         * gst/gstbin.h:
31794         * gst/gstbuffer.c:
31795         * gst/gstcaps.h:
31796         * testsuite/clock/clock1.c: (main):
31797         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31798         (main):
31799         * testsuite/dlopen/loadgst.c: (do_test):
31800         * testsuite/refcounting/bin.c: (add_remove_test1),
31801         (add_remove_test2), (main):
31802         * testsuite/refcounting/element.c: (main):
31803         * testsuite/refcounting/element_pad.c: (main):
31804         * testsuite/refcounting/pad.c: (main):
31805         * tools/gst-launch.c: (sigint_handler_sighandler):
31806         * tools/gst-typefind.c: (main):
31807         Doc updates.
31808         Added doc about clock.
31809         removed gst_bin_iterate_recurse_up(), marked methods
31810         for removal.
31811         Fix more testsuites.
31812
31813 2005-03-09  Wim Taymans  <wim@fluendo.com>
31814
31815         * gst/gstpad.c: (gst_pad_get_direction),
31816         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31817         (gst_pad_collect_valist):
31818         * testsuite/bins/interface.c: (main):
31819         * testsuite/caps/audioscale.c: (test_caps):
31820         * testsuite/caps/caps.c: (test1), (test2), (test3):
31821         * testsuite/caps/deserialize.c: (main):
31822         * testsuite/caps/enumcaps.c: (main):
31823         * testsuite/caps/filtercaps.c: (main):
31824         * testsuite/caps/intersect2.c: (main):
31825         * testsuite/caps/random.c: (main):
31826         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31827         * testsuite/caps/sets.c: (check_caps):
31828         * testsuite/caps/simplify.c: (check_caps), (main):
31829         * testsuite/caps/subtract.c: (check_caps):
31830         Fix _pad_get_direction wrt ghostpads.
31831         Fix caps testsuite.
31832
31833 2005-03-09  Wim Taymans  <wim@fluendo.com>
31834
31835         * check/Makefile.am:
31836         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31837         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31838         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31839         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31840         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31841         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31842         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31843         (bin_element_is_sink), (gst_bin_iterate_sinks),
31844         (gst_bin_iterate_all_by_interface):
31845         * gst/gstbin.h:
31846         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31847         (gst_element_change_state), (gst_element_dispose),
31848         (gst_element_finalize), (gst_element_set_loop_function):
31849         * gst/gstelement.h:
31850         * gst/gstiterator.c: (find_custom_fold_func):
31851         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31852         (gst_pad_collectv), (gst_pad_collect_valist),
31853         (gst_pad_template_new):
31854         * gst/gstpipeline.c: (gst_pipeline_class_init),
31855         (gst_pipeline_dispose), (gst_pipeline_set_property),
31856         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31857         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31858         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31859         * gst/gstutils.h:
31860         * gst/schedulers/entryscheduler.c:
31861         * gst/schedulers/gstbasicscheduler.c:
31862         (gst_basic_scheduler_cothreaded_chain),
31863         (gst_basic_scheduler_chain_add_element):
31864         * testsuite/bins/interface.c: (main):
31865         Added GstBin test.
31866         Added GstSystemClock test.
31867         Implemented clock distribution code in GstBin.
31868         Implemented iterate sinks method for future use.
31869         Rearranged gstelement.h
31870         Fix GstIterator comparison bug.
31871         Moved some code to GstPipeline, mostly clocking related.
31872
31873 2005-03-09  Wim Taymans  <wim@fluendo.com>
31874
31875         * configure.ac:
31876         * gst/gst_private.h:
31877         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31878         (gst_bin_remove_func), (gst_bin_remove),
31879         (gst_bin_get_by_name_recurse_up):
31880         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31881         (gst_clock_id_compare_func), (gst_clock_id_wait),
31882         (gst_clock_id_wait_async), (gst_clock_init),
31883         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31884         * gst/gstelement.h:
31885         * gst/gstinfo.c: (_gst_debug_init):
31886         * gst/gstobject.h:
31887         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31888         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31889         * gst/gstpad.h:
31890         Bump version number, we're now 0.9.0
31891         Add future debugging category.
31892         Fix NULL _unref() in _get_by_name_recurse_up
31893         Rearrange gstpad.h.
31894         Update some docs.
31895
31896 2005-03-08  Wim Taymans  <wim@fluendo.com>
31897
31898         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31899         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31900         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31901         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31902         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31903         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31904         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31905         * gst/elements/gstidentity.c: (gst_identity_class_init):
31906         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31907         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31908         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31909         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31910         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31911         (gst_tee_link):
31912         * gst/gstelement.c: (gst_element_class_init),
31913         (gst_element_base_class_init), (gst_element_init),
31914         (gst_element_get_random_pad), (gst_element_wait_state_change),
31915         (gst_element_change_state), (gst_element_dispose),
31916         (gst_element_finalize), (gst_element_set_loop_function):
31917         * gst/gstelement.h:
31918         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31919         * gst/gstthread.c: (gst_thread_class_init),
31920         (gst_thread_release_children_locks), (gst_thread_change_state):
31921         * gst/schedulers/gstbasicscheduler.c:
31922         (gst_basic_scheduler_loopfunc_wrapper),
31923         (gst_basic_scheduler_chain_wrapper),
31924         (gst_basic_scheduler_src_wrapper),
31925         (gst_basic_scheduler_remove_element):
31926         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31927         Remove threadsafe properties. Fix elements because GObject
31928         complains when installing a property before declaring a
31929         set/get_property handler.
31930         Rearrange gstelement.h file, use STATE macros for state locks.
31931         Free mutexes in the finalize method instead of dispose.
31932
31933 2005-03-08  Wim Taymans  <wim@fluendo.com>
31934
31935         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31936         * gst/gstthread.c: (gst_thread_release_children_locks):
31937         Added parentage check.
31938         Fix build og GstThread again.
31939
31940 2005-03-08  Wim Taymans  <wim@fluendo.com>
31941
31942         * docs/design/part-MT-refcounting.txt:
31943         * docs/design/part-conventions.txt:
31944         * docs/design/part-gstobject.txt:
31945         * docs/design/part-relations.txt:
31946         * docs/design/part-standards.txt:
31947         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31948         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31949         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31950         (gst_bin_iterate_all_by_interface):
31951         * gst/gstbuffer.h:
31952         * gst/gstclock.h:
31953         * gst/gstelement.c: (gst_element_class_init),
31954         (gst_element_change_state), (gst_element_set_loop_function):
31955         * gst/gstelement.h:
31956         * gst/gstiterator.c:
31957         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31958         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31959         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31960         (gst_object_set_parent), (gst_object_unparent),
31961         (gst_object_check_uniqueness):
31962         * gst/gstobject.h:
31963         Docs updates, clean up some headers.
31964
31965 2005-03-07  Wim Taymans  <wim@fluendo.com>
31966
31967         * check/.cvsignore:
31968         * check/Makefile.am:
31969         * check/gst-libs/.cvsignore:
31970         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31971         * check/gst/.cvsignore:
31972         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31973         (START_TEST), (gstbus_suite), (main):
31974         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31975         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31976         (gst_data_suite), (main):
31977         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31978         (add_fold_func), (gstiterator_suite), (main):
31979         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31980         (thread_name_object), (thread_name_object_default),
31981         (gst_object_name_compare), (gst_object_suite), (main):
31982         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31983         (gst_pad_suite), (main):
31984         * check/gstcheck.c: (gst_check_log_message_func),
31985         (gst_check_log_critical_func), (gst_check_init):
31986         * check/gstcheck.h:
31987         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31988         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31989         Added checks.
31990
31991 2005-03-07  Wim Taymans  <wim@fluendo.com>
31992
31993         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31994         (gst_list_iterator_next), (gst_list_iterator_resync),
31995         (gst_list_iterator_free), (gst_iterator_new_list),
31996         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31997         (gst_iterator_free), (gst_iterator_push), (filter_next),
31998         (filter_resync), (filter_uninit), (filter_free),
31999         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32000         (gst_iterator_foreach), (find_custom_fold_func),
32001         (gst_iterator_find_custom):
32002         * gst/gstiterator.h:
32003         Added missing files.
32004
32005 2005-03-07  Wim Taymans  <wim@fluendo.com>
32006
32007         * Makefile.am:
32008         * configure.ac:
32009         * docs/design/part-MT-refcounting.txt:
32010         * docs/design/part-conventions.txt:
32011         * docs/design/part-gstobject.txt:
32012         * docs/design/part-relations.txt:
32013         * examples/mixer/mixer.c: (main):
32014         * examples/thread/thread.c: (eos), (main):
32015         * gst/Makefile.am:
32016         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32017         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32018         (gst_spider_plug_from_srcpad):
32019         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32020         (gst_spider_identity_change_state),
32021         (gst_spider_identity_sink_loop_type_finding):
32022         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32023         * gst/elements/gstidentity.c: (gst_identity_init):
32024         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32025         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32026         * gst/elements/gsttypefindelement.c: (free_entry):
32027         * gst/gst.c:
32028         * gst/gst.h:
32029         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32030         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32031         (gst_bin_set_index), (gst_bin_set_element_sched),
32032         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32033         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32034         (gst_bin_iterate_elements), (iterate_child_recurse),
32035         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32036         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32037         (compare_interface), (gst_bin_get_by_interface),
32038         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32039         * gst/gstbin.h:
32040         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32041         (gst_buffer_default_free), (gst_buffer_default_copy),
32042         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32043         (gst_buffer_create_sub):
32044         * gst/gstbuffer.h:
32045         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32046         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32047         (gst_caps_unref), (gst_static_caps_get),
32048         (gst_caps_remove_and_get_structure), (gst_caps_append),
32049         (gst_caps_append_structure), (gst_caps_remove_structure),
32050         (gst_caps_copy_nth), (gst_caps_set_simple),
32051         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32052         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32053         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32054         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32055         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32056         (gst_caps_structure_figure_out_union),
32057         (gst_caps_switch_structures), (gst_caps_do_simplify),
32058         (gst_caps_replace), (gst_caps_from_string),
32059         (gst_caps_copy_conditional):
32060         * gst/gstcaps.h:
32061         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32062         (_gst_clock_id_free), (gst_clock_id_unref),
32063         (gst_clock_id_compare_func), (gst_clock_id_wait),
32064         (gst_clock_id_wait_async), (gst_clock_class_init),
32065         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32066         (gst_clock_get_time), (gst_clock_set_time_adjust),
32067         (gst_clock_set_property), (gst_clock_get_property):
32068         * gst/gstclock.h:
32069         * gst/gstcompat.h:
32070         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32071         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32072         * gst/gstdata.h:
32073         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32074         (gst_element_requires_clock), (gst_element_provides_clock),
32075         (gst_element_set_clock), (gst_element_clock_wait),
32076         (gst_element_wait), (gst_element_set_time_delay),
32077         (gst_element_is_indexable), (gst_element_add_pad),
32078         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32079         (pad_compare_name), (gst_element_get_static_pad),
32080         (gst_element_request_pad), (gst_element_get_request_pad),
32081         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32082         (gst_element_class_get_pad_template_list),
32083         (gst_element_class_get_pad_template), (gst_element_error_func),
32084         (gst_element_get_random_pad), (gst_element_get_event_masks),
32085         (gst_element_send_event), (gst_element_seek),
32086         (gst_element_get_query_types), (gst_element_query),
32087         (gst_element_get_formats), (gst_element_convert),
32088         (gst_element_is_locked_state), (gst_element_set_locked_state),
32089         (gst_element_sync_state_with_parent), (gst_element_change_state),
32090         (gst_element_finalize), (gst_element_yield),
32091         (gst_element_interrupt), (gst_element_set_scheduler),
32092         (gst_element_get_scheduler), (gst_element_set_loop_function):
32093         * gst/gstelement.h:
32094         * gst/gstevent.h:
32095         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32096         (gst_format_get_by_nick), (gst_format_get_details),
32097         (gst_format_iterate_definitions):
32098         * gst/gstformat.h:
32099         * gst/gstindex.c: (gst_index_gtype_resolver):
32100         * gst/gstinfo.c:
32101         * gst/gstinfo.h:
32102         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32103         (gst_mem_chunk_free):
32104         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32105         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32106         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32107         (gst_object_dispatch_properties_changed),
32108         (gst_object_set_name_default), (gst_object_set_name),
32109         (gst_object_get_name), (gst_object_set_name_prefix),
32110         (gst_object_get_name_prefix), (gst_object_set_parent),
32111         (gst_object_get_parent), (gst_object_unparent),
32112         (gst_object_check_uniqueness), (gst_object_save_thyself),
32113         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32114         (gst_object_set_property), (gst_object_get_property),
32115         (gst_object_get_path_string):
32116         * gst/gstobject.h:
32117         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32118         (gst_real_pad_init), (gst_real_pad_get_property),
32119         (gst_pad_custom_new), (gst_pad_get_direction),
32120         (gst_pad_set_active), (gst_pad_is_active),
32121         (gst_pad_set_event_function), (gst_pad_is_linked),
32122         (gst_pad_link_free), (gst_pad_link_intersect),
32123         (gst_pad_link_fixate), (gst_pad_set_caps),
32124         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32125         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32126         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32127         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32128         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32129         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32130         (gst_pad_realize), (gst_pad_get_allowed_caps),
32131         (gst_real_pad_dispose), (gst_real_pad_finalize),
32132         (gst_pad_collectv), (gst_pad_collect_valist),
32133         (gst_pad_template_dispose), (gst_pad_template_new),
32134         (gst_pad_get_internal_links):
32135         * gst/gstpad.h:
32136         * gst/gstpipeline.c: (gst_pipeline_dispose),
32137         (gst_pipeline_change_state):
32138         * gst/gstpipeline.h:
32139         * gst/gstplugin.c:
32140         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32141         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32142         * gst/gstpluginfeature.h:
32143         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32144         * gst/gstquery.c: (_gst_query_type_initialize),
32145         (gst_query_type_register), (gst_query_type_get_by_nick),
32146         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32147         * gst/gstquery.h:
32148         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32149         * gst/gstscheduler.c: (gst_scheduler_add_element),
32150         (gst_scheduler_factory_create):
32151         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32152         (gst_structure_free), (gst_structure_set_name),
32153         (gst_structure_id_set_value), (gst_structure_set_value),
32154         (gst_structure_set_valist), (gst_structure_remove_field),
32155         (gst_structure_remove_fields),
32156         (gst_structure_remove_fields_valist),
32157         (gst_structure_remove_all_fields), (gst_structure_foreach),
32158         (gst_structure_map_in_place),
32159         (gst_caps_structure_fixate_field_nearest_int),
32160         (gst_caps_structure_fixate_field_nearest_double):
32161         * gst/gststructure.h:
32162         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32163         (gst_system_clock_init), (gst_system_clock_dispose),
32164         (gst_system_clock_async_thread),
32165         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32166         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32167         * gst/gstsystemclock.h:
32168         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32169         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32170         * gst/gsttaginterface.c:
32171         * gst/gstthread.c: (gst_thread_dispose),
32172         (gst_thread_release_children_locks), (gst_thread_change_state),
32173         (gst_thread_main_loop):
32174         * gst/gsttrashstack.h:
32175         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32176         * gst/gsttypes.h:
32177         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32178         (gst_element_request_pad), (gst_element_get_pad_from_template),
32179         (gst_element_request_compatible_pad),
32180         (gst_element_get_compatible_pad_filtered),
32181         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32182         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32183         (gst_element_link_many), (gst_element_link),
32184         (gst_element_link_pads), (gst_element_unlink_pads),
32185         (gst_element_unlink_many), (gst_element_unlink),
32186         (gst_pad_can_link_filtered), (gst_pad_can_link),
32187         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32188         (gst_object_default_error), (gst_bin_add_many),
32189         (gst_bin_remove_many), (gst_element_populate_std_props),
32190         (gst_element_class_install_std_props), (gst_buffer_merge),
32191         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32192         (link_fold_func), (gst_pad_proxy_setcaps):
32193         * gst/gstutils.h:
32194         * gst/gstvalue.c: (gst_value_deserialize_string):
32195         * gst/parse/grammar.y:
32196         * gst/schedulers/gstbasicscheduler.c:
32197         (gst_basic_scheduler_cothreaded_chain),
32198         (gst_basic_scheduler_chain_recursive_add),
32199         (gst_basic_scheduler_pad_link):
32200         * gst/schedulers/gstoptimalscheduler.c:
32201         (get_group_schedule_function),
32202         (gst_opt_scheduler_state_transition),
32203         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32204         * libs/gst/bytestream/bytestream.c:
32205         * libs/gst/dataprotocol/dataprotocol.c:
32206         (gst_dp_header_from_buffer):
32207         * po/nb.po:
32208         * po/ru.po:
32209         * tests/threadstate/threadstate2.c: (eos):
32210         * tools/gst-compprep.c: (main):
32211         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32212         (print_pad_info), (print_children_info):
32213         * tools/gst-launch.c: (idle_func), (main):
32214         * tools/gst-md5sum.c: (idle_func), (main):
32215         * tools/gst-xmlinspect.c: (print_element_info):
32216         First THREADED backport attempt, focusing on adding locks and
32217         making sure the API is threadsafe. Needs more work. More docs
32218         follow this week.
32219
32220 2005-02-24  Andy Wingo  <wingo@pobox.com>
32221
32222         * tests/bench-complexity.scm:
32223         * tests/complexity.gnuplot: New files, good for running complexity
32224         benchmarks.
32225
32226         * tests/Makefile.am:
32227         * tests/complexity.c: New test, sets up N elements, at each level
32228         teeing into M streams per element. Eeeenteresting.
32229
32230         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32231         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32232         running bench-mass_elements.scm.
32233
32234         * tests/bench-mass_elements.scm: New script, runs mass_elements
32235         for various numbers of identities, outputting the results to a
32236         file. Requires guile 1.6. Just for testing.
32237
32238 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32239
32240         * gst/schedulers/fairscheduler.c:
32241           compile with debug disabled
32242
32243 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32244
32245         * configure.ac:
32246           hunting season on 0.9 is now OPEN