gst/gstindex.c: Add a debugging category for GstIndex, first little step in making...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2
3         * gst/gstindex.c: (gst_index_get_type):
4         Add a debugging category for GstIndex, first little step in making
5         indexing top-notch.
6
7 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
8
9         * gst/gstelement.c: (gst_element_message_full),
10         (gst_element_pads_activate):
11         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
12         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
13         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
14         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
15         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
16         Assign debug statements to relevant categories instead of the 'default'
17         category so they don't get lost in debugging.
18
19 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
20
21         * gst/gstdebugutils.c:
22           Add some ideas, how to make the graph smaller.
23
24         * gst/gstutils.c:
25           Add a comment from a debug session.
26
27         * libs/gst/base/gstbasetransform.c:
28           Log more context.
29
30         * libs/gst/controller/gstinterpolationcontrolsource.c:
31           Indet.
32
33         * plugins/elements/gstcapsfilter.c:
34           Fix typo in docs.
35
36 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
37
38         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
39           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
40           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
41           (gst_bus_create_watch):
42           Make GstBusSource work with non-default main contexts (#562170).
43
44         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
45           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
46           Add test case for GstBusSource with a non-default main context.
47
48         * tests/check/libs/.cvsignore:
49           Ignore more.
50
51 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
52
53         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
54           (unpack_string)::
55           Wrap multi-line macros in G_STMT_{START|END}.
56
57 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
58
59         * docs/gst/gstreamer-sections.txt:
60         * gst/gstquark.c:
61         * gst/gstquark.h:
62         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
63         (gst_query_parse_uri):
64         * gst/gstquery.h:
65         API: Add URI query type. This is useful to query the URI
66         of a sink/source element and can be used by demuxers that
67         need to get data from other files.
68         This query should go upstream by default.
69         Fixes bug #562949.
70         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
71         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
72         (gst_fd_src_query):
73         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
74         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
75         (gst_file_src_query):
76         Implement URI query.
77
78 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
79
80         * gst/gstghostpad.c:
81         * tests/check/gst/gstghostpad.c:
82         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
83         That would cause the ghostpad to emit notify::caps two times (fist
84         from gst_pad_set_caps() and after from on_src_target_notify()).
85
86 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
87
88         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
89         (GST_START_TEST):
90         Add some more unit-tests for the ghostpad notify signal, one of which
91         currently fails.
92
93 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
94
95         * win32/common/libgstreamer.def:
96         Add gst_tag_setter_reset_tags to the list of exported symbols.
97
98 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
99
100         * gst/gstghostpad.c:
101         * tests/check/gst/gstghostpad.c:
102         In a source ghostpad, when caps are changed in the target pad, the
103         change needs to be reflected in the ghostpad.
104         Fixes #564863.
105
106 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
107
108         * gst/gstutils.c: (gst_element_found_tags_for_pad):
109         Add FIXME for 0.11 to set the pad as message source and not
110         the element. Otherwise it's impossible to detect for which
111         pad the tags were found without adding an event probe
112         or something similar to the pad.
113
114 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
115
116         * docs/faq/general.xml:
117         Update the faq.
118
119 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
120
121         * docs/gst/gstreamer-sections.txt:
122         * gst/gsttagsetter.c:
123         * gst/gsttagsetter.h:
124           Rename api added in previous commit and add since tag to docs.
125           API: gst_tag_setter_reset_tags()
126
127 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
128
129         * docs/gst/gstreamer-sections.txt:
130         * gst/gsttagsetter.c:
131         * gst/gsttagsetter.h:
132           Add function to reset tagsetter for element reuse.
133
134 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
135
136         * gst/gsttaglist.c:
137           Avoid copy of empty taglist.
138
139 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
140
141         * gst/gsttaglist.c:
142         * tests/check/gst/gsttag.c:
143           More complete unit tests. Fix handling of empty taglists (they were
144           not merged before).
145
146 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
147
148         * gst/gsttaglist.h:
149         * gst/gsttagsetter.c:
150           Update GstTagSetter and GstTagMergeMode documentation. Mention
151           that tags can come from events and from application. Fix example.
152
153 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
154
155         * docs/design/part-TODO.txt:
156         Remove the seqnum entry that we implemented in 0.10 already.
157         Add entry about removing the format return value for queries.
158
159 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
160
161         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
162         (gst_base_sink_init), (gst_base_sink_set_property),
163         (gst_base_sink_get_property):
164         Expose the render-delay as a property so things like appsink can use it
165         to tweak the synchronisation.
166
167 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
168
169         * libs/gst/check/gstcheck.h: Allow check tests to use
170         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
171         CK_FORK=no to be used with multiple check test that use threads.
172
173 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
174
175         * gst/gstutils.c: (gst_element_get_compatible_pad):
176         Fix a caps memory leak introduced by the last change.
177
178 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
179
180         * gst/gstutils.c: (gst_element_get_compatible_pad):
181         Check if the caps of the pads are compatible before returning
182         a pad and claiming it is compatible. This, among other things,
183         fixes a bug with gst-launch where an incompatible pad is chosen
184         and linking fails. Fixes bug #544003.
185
186 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
187
188         * libs/gst/check/gstcheck.c: (gst_check_init):
189         Revert accidentially commited patch for bug #404631 which
190         tries to print a backtrace if a testcase is terminated by
191         a signal. This code was never activated as the corresponding
192         configure.ac change wasn't committed.
193
194 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
195
196         * tests/check/libs/controller.c: (GST_START_TEST):
197         This test should return TRUE now as syncing an uncontrolled
198         object will succeed now (there's nothing to sync).
199
200 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
201
202         * libs/gst/controller/gstcontroller.c:
203           Aggregate return value for gst_controller_sync_values(). More info in
204           logging. Always set values on first sync-call.
205
206         * libs/gst/controller/gstcontrolsource.c:
207           Microoptimizations.
208
209         * libs/gst/controller/gsthelper.c:
210           Fix return code and comment.
211
212 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
213
214         * tools/gst-launch.1.in:
215           Fix description of how to specify a type in caps. Fixes #553873.
216           Also ranges and list contain values and not property-assignments.
217
218 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
219
220         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
221         Check for changed pads-list before checking the last returned
222         GstFlowReturn because the pad could have been removed and we
223         need to ignore the value in that case.
224
225 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
226
227         * libs/gst/base/gstbasetransform.c:
228         (gst_base_transform_prepare_output_buffer),
229         (gst_base_transform_getrange), (gst_base_transform_chain):
230         * libs/gst/base/gstbasetransform.h:
231         Add vmethod that is called before we start the transform and which can
232         be used to configure the transform, such as dynamic properties.
233
234 2008-12-05  David Schleef  <ds@schleef.org>
235
236         * gst/gst.c:
237         Search for plugins on win32 based on the location of the
238         gstreamer DLL.  Fixes #548786
239
240 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
241
242         * configure.ac:
243         Apparently AC_CONFIG_MACRO_DIR breaks when using more
244         than one macro directory, reverting last change.
245
246 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
247
248         * configure.ac:
249         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
250         our M4 macros.
251
252 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
253
254         Patch by: Cygwin Ports maintainer
255                   <yselkowitz at users dot sourceforge dot net>
256
257         * autogen.sh:
258         * configure.ac:
259         Require gettext 0.17 because older versions don't mix with libtool
260         2.2. At build time an older gettext version will still work.
261         Fixes bug #556091.
262
263 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
264
265         Patch by: 이문형 <iwings at gmail dot com>
266
267         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
268         Adds support for FD_CONNECT event (win32). See #562258.
269
270 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
271
272         * libs/gst/base/gstbasesink.c:
273           Turn comment into gtk-doc comment.
274
275 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
276
277         * libs/gst/base/gstbasetransform.c:
278         (gst_base_transform_acceptcaps):
279         Revert quick accepcaps attempt, it's not fully equivalent to the old
280         behaviour and thus causes regressions.
281
282 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
283
284         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
285         Fix memory leak.
286
287 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
288
289         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
290
291         * gst/gstregistry.c: (gst_registry_scan_path_level):
292         Reduce the number of stat() calls for every file from three times
293         to one time. Fixes bug #560360.
294
295 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
296
297         * libs/gst/base/gstbasetransform.c:
298         (gst_base_transform_acceptcaps):
299         Rename a variable to make the code clearer.
300
301 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
302
303         * plugins/elements/gstidentity.c:
304         Don't warning on offset==-1. Taken from _check_imperfect_offset().
305
306 2008-11-21  Michael Smith <msmith@songbirdnest.com>
307
308         * plugins/elements/gstfilesrc.c:
309           Check for localhost in URI was backwards, fix it. Fixes unit test.
310
311 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
312
313         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
314         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
315         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
316         Add beginnings of a more optimized acceptcaps function than the default
317         core one.
318
319 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
320
321         * gst/gstpad.c: (gst_pad_accept_caps):
322         Avoid getting the acceptcaps function too early.
323
324 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
325
326         * tools/gst-launch.c: (event_loop):
327         Make gst-launch handle LATENCY messages and make it recalculate the
328         latency.
329
330 2008-11-20  Michael Smith <msmith@songbirdnest.com>
331
332         * plugins/elements/gstfilesrc.c:
333           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
334           out own slightly incorrect version. Fixes use of some paths on
335           win32.
336
337 2008-11-20  Michael Smith <msmith@songbirdnest.com>
338
339         * gst/gstregistrybinary.c:
340           In win32 codepath, if we fail to write the registry, create the
341           directory for it and try again, matching the behaviour in non-win32
342           codepaths.
343
344 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
347         Changing the render delay changes the latency and so we must post a
348         latency message.
349
350 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
351
352         * gst/gstquery.c:
353         * gst/gstquery.h:
354         Add GstQueryType for custom queries instead of having to use the
355         not-so-very-convenient registration infrastructure to register new
356         types.
357
358 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
359
360         Patch by: Andrew Feren <acferen at yahoo dot com>
361
362         * gst/gstobject.c: (gst_object_default_deep_notify):
363         Unref the GEnumClass after usage again. Fixes bug #561501.
364
365 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
366
367         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
368         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
369         (gst_bin_change_state_func):
370         * gst/gstbin.h:
371         Add do-latency signal with the old default fallback implementation. This
372         allows for custom latency calculations for when the default is not
373         sufficient.
374         API: GstBin::do-latency signal.
375
376 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
377
378         * win32/common/libgstreamer.def:
379         Add new symbols to .def file.
380
381 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
382
383         * docs/gst/gstreamer-sections.txt:
384         * gst/gstbin.c: (gst_bin_recalculate_latency),
385         (gst_bin_change_state_func):
386         * gst/gstbin.h:
387         Add method to recalculate and redistribute the latency on a bin.
388         API: gst_bin_recalculate_latency().
389
390 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * gst/gstbuffer.h:
393         Document the free_func.
394
395 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
396
397         * libs/gst/controller/gstinterpolation.c:
398         * libs/gst/controller/gstlfocontrolsource.c:
399         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
400         as it is mapped to a cast on non-win32 platforms.
401
402 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
403
404         * libs/gst/controller/gstcontroller.c:
405         * libs/gst/controller/gstcontrollerprivate.h:
406           Keep last-value and only call set_property if value has changed. This
407           supresses all the g_object_notifies we would trigger otherwise. It
408           also allows the user to chage the value while there is no controller
409           change.
410
411 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
412
413         * gst/gstvalue.c:
414           Don't crash if either of the string GValues is empty.
415
416 2008-11-17  Andy Wingo  <wingo@pobox.com>
417
418         * tools/gst-inspect.c (print_all_uri_handlers): New function,
419         prints a summary of what URI schemes are supported by what
420         elements.
421         (main): Plumb in support for --uri-handlers or -u, and fix the
422         argc check for -a and -u.
423
424 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
425
426         * gst/gstutils.h:
427         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
428         conversion functions.
429
430 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
431
432         * gst/gstbuffer.c: (gst_buffer_finalize):
433         Avoid costly typechecking for trivially correct pointers.
434
435         * gst/gstpoll.c: (gst_poll_wait):
436         Add some G_LIKELY here and there.
437
438         * libs/gst/base/gstadapter.c: (gst_adapter_push):
439         Add some debug info.
440
441 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
442
443         * docs/random/wtay/poll-timeout:
444         Small tweaks.
445
446 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
447
448         * tests/old/testsuite/caps/intersection.c: (main):
449         * tests/old/testsuite/plugin/loading.c: (main):
450         Remove references to deprecated API g_mem_chunk*.
451         Fixes #560442.
452
453 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
454
455         * tools/gst-inspect.c: (main):
456         Add --plugin option. Fixes #560301.
457
458 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
459
460         * docs/random/wtay/poll-timeout:
461         Quick braindump for a possible (not totally verified) atomic case.
462
463 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
464
465         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
466         (gst_registry_binary_initialize_magic),
467         (gst_registry_binary_write_cache),
468         (gst_registry_binary_check_magic):
469         * gst/gstregistrybinary.h:
470         Don't write and check a CRC for the binary registry file. It's
471         guaranteed that the registry is completely written (it's first written
472         to a temporary file and then moved) and if the registry was corrupted
473         by some hardware failure we would have bigger problems.
474
475         Bump binary registry version to 0.10.21.1 for this as it's an
476         incompatible change and to ensure that the registry gets rebuild
477         after the update.
478
479         This saves some milliseconds for reading/writing the registry.
480         Fixes bug #560399.
481
482 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
483
484         * docs/random/wtay/poll-timeout:
485         Some pseudo code for how we could implement clock timeouts with GstPoll.
486
487 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
488
489         * plugins/elements/gstfilesink.c:
490           Update Author string to match others.
491
492 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
493
494         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
495         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
496         being fixed and inline the trivial check.
497
498 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
499
500         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
501         (gst_caps_merge_structure), (gst_caps_get_structure),
502         (gst_caps_copy_nth), (gst_caps_set_simple),
503         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
504         (gst_caps_is_equal_fixed), (gst_caps_intersect),
505         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
506         (gst_caps_to_string):
507         Callgrind micro optimisations.
508         Avoid array bounds checks and force inline of trivial function.
509
510         * gst/gstobject.c: (gst_object_set_name_default):
511         -1 is equivalent to letting glib to the strlen but then there is more
512         room for optimisations and it's not our fault.
513
514         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
515         no need to clear the array, we're cool.
516
517         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
518         The most common _is_fixed() check is done on fundamental glib base
519         types so we check this first instead of doing a huge amount of
520         useless GST_TYPE_ARRAY calls.
521
522 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
523
524         * gst/gstevent.h:
525         Add a SKIP seek flag for use with advanced trickmodes.
526         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
527
528 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
529
530         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
531         No need to memset, we can clear the value ourselves.
532
533         * gst/gstvalue.c: (gst_type_is_fixed),
534         (gst_value_get_compare_func):
535         Some optimisations from a few callgrind sessions:
536         When checking if a type is fixed, check for trivial fundamental types
537         first before checking types for which we need to get the type followed
538         by the heavy duty type checks, this reduces the amount of
539         g_type_fundamental() calls a lot.
540         When getting the compare function, first check for our registered types.
541         If that fails, do the heavy duty g_type_is_a() checks, reduces the
542         amount of g_type_is_a() considerably.
543
544 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
545
546         * docs/design/part-TODO.txt:
547         Mumble something about removing GstXML.
548
549 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * gst/gstbin.c: (gst_bin_handle_message_func):
552         Get the seqnum before we dispose the message.
553
554 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
555
556         * docs/design/part-TODO.txt:
557         Refer to the framestepping document.
558
559 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
560
561         * gst/gstbin.c: (bin_handle_async_start),
562         (gst_bin_handle_message_func), (gst_bin_query):
563         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
564         (gst_base_sink_event), (gst_base_sink_change_state):
565         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
566         (gst_base_src_loop), (gst_base_src_change_state):
567         Copy seqnums from events to messages so that they can all be related
568         back to eachother.
569
570 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
571
572         * tools/gst-launch.c: (event_loop):
573         Print the message seqnums.
574
575 2008-11-04  Andy Wingo  <wingo@pobox.com>
576
577         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
578
579 2008-11-04  Andy Wingo  <wingo@pobox.com>
580
581         Add sequence numbers to events and messages. See #559250.
582
583         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
584         API: New functions.
585
586         * gst/gstevent.h:
587         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
588         events with a new sequence number, and copy it when copying.
589         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
590         an event's sequence number.
591
592         * gst/gstmessage.h:
593         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
594         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
595         so with messages.
596
597         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
598
599 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
600
601         * docs/manual/advanced-position.xml:
602         * docs/manual/basics-bins.xml:
603         * docs/manual/basics-bus.xml:
604         * docs/manual/basics-pads.xml:
605         * docs/manual/intro-gstreamer.xml:
606         * docs/manual/intro-preface.xml:
607         Some Application Development Manual fixes thanks to
608         Andrew Feren. Fixes #558459.
609
610 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
611
612         * gst/gstregistrybinary.c:
613           Don't bother with the GTimer if we don't output the results.
614
615 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
616
617         Patch by: David Schleef  <ds@schleef.org>
618
619         * libs/gst/net/Makefile.am:
620         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
621
622 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
623
624         * gst/gstregistrybinary.c:
625           Oh my, studip, stupid me. Remove double stat() call.
626
627 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
628
629         * gst/gstpreset.c:
630           Use g_unlink instead of unlink.
631
632         * gst/gststructure.c:
633           Use glib type.
634
635         * gst/gstutils.c:
636           Add a FIXME:.
637
638         * gst/gsttaglist.c:
639         * gst/gsttypefind.c:
640         * gst/gstvalue.c:
641           Formatting & whitespaces.
642
643 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
644
645         * plugins/elements/gstidentity.c:
646           Doc typo. Use return value of parent_class->event.
647   
648         * plugins/elements/gsttypefindelement.c:
649           Chain up at the end for consistency.
650   
651 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
652
653         * docs/Makefile.am:
654         * docs/gst/gstreamer-docs.sgml:
655         * docs/gst/gstreamer-sections.txt:
656         * docs/gst/running.xml:
657         * docs/libs/gstreamer-libs-docs.sgml:
658           Change to xinclude based build - its faster and easier to maintain.
659
660 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
661
662         * gst/gstregistrybinary.c:
663         * gst/gstregistryxml.c:
664           Use g_unlink() as none of these are directories.
665
666 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
667
668         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
669         Some more comments.
670
671 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
672
673         * libs/gst/base/gstbasetransform.c:
674         (gst_base_transform_find_transform), (gst_base_transform_getrange):
675         If we have a fixate function, call it even if we already have fixed caps
676         because the subclass might add some caps. Makes audioconvert add a
677         default channel layout.
678
679 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
680
681         * libs/gst/base/gstbasetransform.c:
682         (gst_base_transform_prepare_output_buffer),
683         (gst_base_transform_getrange):
684         Clear the output buffer variable.
685         Cleanups to the error path in the getrange function.
686         Fixes #557649.
687
688 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
689
690         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
691         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
692         Use gst_buffer_try_new_and_alloc() and handle errors instead of
693         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
694         be allocated.
695
696 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
697
698         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
699         Set the last_stop to a more meaningful position when configuring the
700         segment. ie. the start/stop of the segment or clipped against the
701         updated segment boundaries.
702
703         * tests/check/gst/gstsegment.c: (GST_START_TEST):
704         Add some unit tests for the last_stop.
705
706 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
707
708         * libs/gst/base/gstbytereader.c:
709         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
710         copies of them.
711
712 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
713
714         * docs/gst/gstreamer-sections.txt:
715         * gst/gstutils.h:
716         API: Move float endianness conversion macros from libgstfloatcast
717         to core as it's useful in general, even in core. Fixes bug #555196.
718         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
719         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
720         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
721
722         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
723         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
724         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
725         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
726
727 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
728
729         * docs/libs/gstreamer-libs-sections.txt:
730         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
731         (gst_byte_reader_peek_data):
732         * libs/gst/base/gstbytereader.h:
733         * win32/common/libgstbase.def:
734         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
735         to get a pointer to the data at the current position and have
736         a guaranteed size.
737
738 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
739
740         * configure.ac:
741         Fix a bug in the output of the configure script summary
742         when --gst-disable-registry is supplied
743
744 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
745
746         * libs/gst/base/gstbitreader.c:
747         * libs/gst/base/gstbytereader.c:
748         Fix the names of 2 functions in the docs strings.
749
750 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
751
752         * libs/gst/base/gstbasetransform.c:
753         (gst_base_transform_prepare_output_buffer),
754         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
755         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
756         refcount problems as seen in banshee and maybe also in farsight2.
757         Remove atomic int now that we need to take the lock anyways.
758
759 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
760
761         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
762         (gst_base_sink_default_prepare_seek_segment),
763         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
764         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
765         (gst_base_sink_query):
766         Implement more seeking in pull mode.
767         Use pad convert functions to convert position to the requested format.
768         Fix position/duration reporting in pull mode.
769         Implement position and duration reporting in other formats than time.
770
771         * libs/gst/base/gstbasesink.h:
772         Add member to keep track of when the segment is playing.
773
774 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
775
776         * gst/gstpad.c: (gst_pad_configure_src):
777         When we use gst_pad_alloc_buffer() without wanting to set the caps we
778         also don't need to check if the caps are compatible because the caller
779         presumably is going to perform its own custom checks. Fixes some cases
780         where basetransform elements would error out when it was not needed.
781
782 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
783
784         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
785         Update comment.
786
787         * libs/gst/base/gstbasetransform.c:
788         (gst_base_transform_handle_buffer),
789         (gst_base_transform_reconfigure):
790         Add some debug info.
791
792         * win32/common/libgstbase.def:
793         Add new method.
794
795 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
796
797         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
798           Remove duplicated assignment and log a message in failure case.
799
800 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
801
802         Patch by: Dig Ge <dig.ge.cn at gmail com>
803
804         * tests/examples/helloworld/helloworld.c: (main):
805           Fix copy'n'paste bug in hello world example (#556900).
806
807 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
808
809         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
810         (gst_base_sink_query):
811         Query the total number of bytes when activating the pad in pull mode.
812         Implement duration query in pull mode by using the installed pad convert
813         function to convert from bytes to the requested format.
814
815 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
816
817         * docs/libs/gstreamer-libs-sections.txt:
818         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
819         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
820         (gst_base_sink_event), (gst_base_sink_perform_seek),
821         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
822         (gst_base_sink_send_event), (gst_base_sink_change_state):
823         * libs/gst/base/gstbasesink.h:
824         Add method to commit the state in subclasses.
825         Refactor the flush_start and flush_stop code because we need it for
826         flushing while seeking too.
827         Implement the beginnings of seeking in pull mode.
828         Use the segment last_stop field for the pulling offset.
829         Fix the pause method in pull mode.
830         Configure the segment to BYTES for pull mode.
831         API: GstBaseSink::gst_base_sink_do_preroll()
832
833 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
834
835         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
836         Update some docs.
837
838 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
839
840         * gst/gstquark.c: (_priv_gst_quarks_initialize):
841           Fix printf format warning.
842
843 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
844
845         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
846         Fix flow aggregation of tee. Error out immediately for all flow returns
847         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
848         and return OK if at least one pad is linked.
849
850         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
851         and otherwise returned the flow return of the last pad, which is wrong.
852         
853         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
854         (GST_START_TEST), (tee_suite):
855         Add unit tests for the flow aggregation.
856
857 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
858
859         * docs/design/part-TODO.txt:
860         Remove item from the todo list because it was fixed with the latency
861         state change rewrites.
862
863         * docs/design/part-seeking.txt:
864         * docs/design/part-segments.txt:
865         Update some docs.
866
867         * gst/gstevent.c: (gst_event_new_new_segment_full),
868         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
869         (gst_event_parse_buffer_size), (gst_event_new_qos),
870         (gst_event_parse_qos), (gst_event_new_seek),
871         (gst_event_parse_seek), (gst_event_new_latency),
872         (gst_event_parse_latency):
873         Use quarks to construct and parse events.
874
875         * gst/gstquark.c: (_priv_gst_quarks_initialize):
876         * gst/gstquark.h:
877         Add some more quarks to the table.
878         Emit a warning when the quark tables are not in sync.
879
880         * tests/check/gst/gstbus.c: (GST_START_TEST):
881         Add an assert.
882
883 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
884
885         * plugins/elements/Makefile.am:
886         * plugins/indexers/Makefile.am:
887           Don't install static libs for plugins. Fixes #550851 for core.
888
889 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
890
891         * gst/gstbus.c: (gst_bus_source_finalize),
892         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
893         (gst_bus_enable_sync_message_emission),
894         (gst_bus_disable_sync_message_emission),
895         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
896         Fix deadlock, g_source_get_id() cannot be called in finalize.
897         Keep track of the watch source by keeping a pointer to the source object
898         instead.
899         Use the bus lock to protect access to the pointer to the current
900         watch source.
901
902 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
903
904         Base on Patch by: Olivier Crete <tester at tester dot ca>
905
906         * gst/gstbus.c: (gst_bus_source_finalize),
907         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
908         Only allow one bus watch to be set at a time. This is necessary
909         because the dispatcher pops the message from the bus and the second
910         watcher will then get NULL or the next message (and the first won't
911         get this next message then, etc). If more than one "watcher" is
912         required signal watches should be used. Fixes bug #526044.
913
914 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
915
916         * tools/gst-launch.c:
917         Change the printing of the 'buffering...' output to avoid putting
918         a \r in a translateable string (flagged by the TP).
919
920 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
921
922         * gst/gstxml.c:
923         Clarify that the save_thyself() and restore_thyself() virtual
924         functions of GstObject need to be overriden, not
925         gst_object_(save|restore)_thyself() which is impossible.
926         Fixes bug #555700.
927
928 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
929
930         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
931         Revert a patch from 21 months ago that broke caps negotiation in pull
932         mode. Basically, having a buffer pass over a pad will trigger the
933         setcaps function when caps change, just like in push mode.
934
935 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
936
937         * docs/design/part-negotiation.txt:
938         Update the docs some more.
939
940         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
941         If we pull a buffer with non-trivial caps, suggest those caps with the
942         max probability.
943
944 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
945
946         * docs/design/part-TODO.txt:
947         Add another limitation of pad-blocking with segment seeks not pushing
948         EOS events.
949
950 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
951
952         * win32/common/libgstbase.def:
953         * win32/common/libgstreamer.def:
954         Add new symbols to the win32 defs files
955
956 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
957
958         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
959         (gst_bin_handle_message_func):
960         The message src can be NULL, don't try to print the object names in that
961         case.
962
963         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
964         Add some more debug info.
965
966         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
967         (GST_START_TEST):
968         Add some debug.
969         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
970         scheduling modes.
971
972 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
973
974         * docs/design/part-negotiation.txt:
975         Small doc update.
976
977         * docs/libs/gstreamer-libs-sections.txt:
978         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
979         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
980         (gst_base_sink_init), (gst_base_sink_set_blocksize),
981         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
982         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
983         (gst_base_sink_loop), (gst_base_sink_pad_activate),
984         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
985         (gst_base_sink_change_state):
986         * libs/gst/base/gstbasesink.h:
987         Add blocksize property and methods to control the amount of data
988         to pull.
989         Negotiate first before activating upstream in pull mode so that they can
990         negotiate themselves.
991         When we operate in pull mode, we only accept the caps that we
992         negotiated.
993         Make the sink go ASYNC to PAUSED, like all other sinks.
994         API: GstBaseSink::gst_base_sink_set_blocksize()
995         API: GstBaseSink::gst_base_sink_get_blocksize()
996         API: GstBaseSink::blocksize
997
998         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
999         (gst_base_src_set_live), (gst_base_src_is_live),
1000         (gst_base_src_set_format), (gst_base_src_query_latency),
1001         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1002         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1003         (gst_base_src_set_property), (gst_base_src_get_property):
1004         * libs/gst/base/gstbasesrc.h:
1005         Add typechecking in public API functions.
1006         Add methods to control the blocksize in subclasses.
1007         API: GstBaseSrc::gst_base_src_set_blocksize()
1008         API: GstBaseSrc::gst_base_src_get_blocksize()
1009
1010 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1011
1012         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1013         (buffer_probe), (event_probe), (GST_START_TEST):
1014         We now see 3 events go through our pad, since basesink now sends
1015         upstream latency events.
1016
1017 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1018
1019         * gst/gstpipeline.c: (gst_pipeline_change_state):
1020         Release the object lock before trying to flush the bus.
1021
1022 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1023
1024         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1025         Forward LATENCY events upstreams so that elements know about the total
1026         pipeline latency. Fixes #555307.
1027
1028 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1029
1030         * plugins/elements/gstqueue.c:
1031         Allow through queries when we don't know how
1032         to adjust them (not TIME or BYTES), as otherwise it's
1033         not possible to query the current position in order
1034         to seek in other formats at all.
1035
1036 2008-10-08  Andy Wingo  <wingo@pobox.com>
1037
1038         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1039
1040 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1041
1042         * gst/gstghostpad.c:
1043         * gst/gstghostpad.h:
1044         Unbreak -good build, private is a reserved c++ keyword.
1045
1046 2008-10-08  Andy Wingo  <wingo@pobox.com>
1047
1048         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1049         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1050         removal: re-add GST_GHOST_PAD_CAST to the header.
1051
1052         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1053         (GstGhostPadClass): Publically expose these structures so as to
1054         allow easy subclassing from C. Hide the member data behind a
1055         private opaque data pointer.
1056
1057         * gst/gstghostpad.c: Adapt to store instance data in the type
1058         instance's private data region, not in the public struct.
1059
1060 2008-10-08  Andy Wingo  <wingo@pobox.com>
1061
1062         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1063         template via g_object_get(), be sure to unref it.
1064
1065         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1066
1067 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1068
1069         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1070         If we can't get a cache file don't try to save something to it.
1071         Dereferencing NULL pointers usually isn't a good idea.
1072
1073 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1074
1075         * tests/check/Makefile.am:
1076         * tests/check/gst/gstabi.c:
1077         * tests/check/gst/struct_sparc.h:
1078         * tests/check/libs/libsabi.c:
1079         * tests/check/libs/struct_sparc.h:
1080         Add Sparc ABI checks
1081
1082         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1083         Cast signed integer to unsigned to avoid a compiler warning.
1084
1085 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1086
1087         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1088         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1089         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1090         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1091         (gst_byte_reader_peek_int24_be):
1092         Use new GST_READ_UINT24_(LE|BE) macros.
1093
1094 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1095
1096         * docs/gst/gstreamer-sections.txt:
1097         * gst/gstutils.h:
1098         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1099         as it's too easy to break the ISO C strict aliasing rules with simple
1100         casts to the corresponding type and this would introduce hard to debug
1101         bugs. Fixes bug #545714.
1102
1103         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1104
1105 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1106
1107         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1108         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1109           Add 'Since' bits to gtk-doc chunks for new API.
1110
1111 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1112
1113         * docs/gst/gstreamer-sections.txt:
1114         Fix documentation
1115
1116 2008-10-06  Andy Wingo  <wingo@pobox.com>
1117
1118         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1119         that will be called on the malloc_data to free it. Basically a way
1120         to avoid subclassing when all you need is a different free
1121         function, i.e. free() instead of g_free().
1122
1123         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1124         calling the free function.
1125         (gst_buffer_init): Initialize the free function to g_free.
1126
1127 2008-10-06  Andy Wingo  <wingo@pobox.com>
1128
1129         * gst/gstghostpad.h:
1130         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1131         finishes the initialization of ghost pad. Useful for language
1132         bindings and subclassers of GstGhostPad. Fixes #539108.
1133         (gst_ghost_pad_new_full): Use the new constructor.
1134
1135 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1136
1137         Base on Patch by: Olivier Crete <tester at tester dot ca>
1138
1139         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1140         (gst_bin_remove_func), (update_degree),
1141         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1142         Keep track of pads that are being linked/unlinked and resync the state
1143         changes.
1144
1145         * gst/gstpad.c: (gst_pad_get_direction),
1146         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1147         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1148         (gst_pad_link_prepare), (gst_pad_link),
1149         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1150         (gst_pad_check_pull_range), (gst_pad_get_range),
1151         (gst_pad_pull_range):
1152         Some code cleanups, use macros to check pad direction.
1153         Don't need to take the lock on the pad direction.
1154         Post structure change when pads are linked/unlinked.
1155         Change some checks into _return_if_fail().
1156
1157         * tests/check/gst/gstbin.c:
1158         (test_link_structure_change_state_changed_sync_cb),
1159         (GST_START_TEST), (gst_bin_suite):
1160         Add testcase for pad link/unlinke resync during a state change.
1161         Fixes #510354.
1162
1163 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1164
1165         * docs/gst/gstreamer-sections.txt:
1166         * gst/gstmessage.c: (gst_message_new_structure_change),
1167         (gst_message_parse_structure_change):
1168         * gst/gstmessage.h:
1169         Implement STRUCTURE_CHANGED messages. These messages will be used to
1170         signal the parent bin of link/unlink operations that could require a
1171         resync when doing a state change. See ##510354.
1172         API: gst_message_new_structure_change()
1173         API: gst_message_parse_structure_change()
1174
1175 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1176
1177         * gst/gstquark.c:
1178         * gst/gstquark.h:
1179         Add some more quarks for new message. See #510354.
1180
1181 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1182
1183         * docs/libs/gstreamer-libs-docs.sgml:
1184         * docs/libs/gstreamer-libs-sections.txt:
1185         * libs/gst/base/Makefile.am:
1186         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1187         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1188         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1189         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1190         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1191         (gst_bit_reader_skip_to_byte):
1192         * libs/gst/base/gstbitreader.h:
1193         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1194         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1195         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1196         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1197         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1198         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1199         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1200         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1201         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1202         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1203         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1204         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1205         * libs/gst/base/gstbytereader.h:
1206         * tests/check/Makefile.am:
1207         * tests/check/libs/bitreader.c: (GST_START_TEST),
1208         (gst_bit_reader_suite):
1209         * tests/check/libs/bytereader.c: (GST_START_TEST),
1210         (gst_byte_reader_suite):
1211         API: Add bit reader and byte reader classes, including documentation
1212         and an extensive unit test suite. Fixes bug #553554.
1213
1214 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1215
1216         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1217         (gst_base_sink_query):
1218         Improve position reporting while flushing and other intermediate state
1219         changes. Fixes #553874.
1220
1221 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1222
1223         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1224
1225         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1226         Original patch by : Simon Descaries
1227         Fix small refount leak in caps compatibility check.
1228         Fixes #551676.
1229
1230 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1231
1232         * docs/pwg/advanced-request.xml:
1233           Fix 0.8 api usage in example. Fixes #554561
1234
1235         * docs/pwg/appendix-porting.xml:
1236           Change 0.9 to 0.10 here.
1237
1238 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * docs/manual/basics-data.xml:
1241           Change "event-event interaction" to "element-element interaction".
1242           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1243           updates.
1244
1245 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1246
1247         * configure.ac:
1248         Back to development -> 0.10.21.1
1249
1250 === release 0.10.21 ===
1251
1252 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1253
1254         * configure.ac:
1255           releasing 0.10.21, "Take These Things From Me"
1256
1257 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1258
1259         * configure.ac:
1260         0.10.20.4 pre-release
1261
1262 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1263
1264         * libs/gst/base/gstbasetransform.c:
1265         * plugins/elements/gstcapsfilter.c:
1266         * tests/check/Makefile.am:
1267         * tests/check/elements/.cvsignore:
1268         * tests/check/elements/capsfilter.c:
1269         Fix assertion in basetransform when the subclass chooses not to
1270         allocate a buffer in prepare_buffer(), and make capsfilter error out
1271         cleanly if requested to apply caps that don't completely specify the
1272         buffer. Fixes #551509
1273
1274 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1275
1276         * libs/gst/base/gstbasetransform.c:
1277         (gst_base_transform_prepare_output_buffer):
1278         Take new caps ref because our old one might have been gone when the
1279         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1280
1281 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1282
1283         * configure.ac:
1284           Do not probe availability of check unit test library when cross
1285           compiling, as test would not work anyway. Also cleanup verbose output
1286           of the check test. Fixes #551952.
1287
1288 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1289
1290         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1291
1292         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1293         Avoid leaking the parent ref when we fail changing the state of the
1294         element using gst_element_sync_state_with_parent(). Fixes #551978.
1295
1296 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1297
1298         * docs/manual/intro-motivation.xml::
1299           Remove some bits that no longer apply, update others (#551642).
1300
1301 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1302
1303         * configure.ac:
1304         0.10.20.2 pre-release
1305
1306         * po/LINGUAS:
1307         * po/id.po:
1308         * po/pt_BR.po:
1309
1310         New translations.
1311
1312 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1313
1314         * win32/common/config.h.in:
1315           Add GST_DATADIR, hard-code cpu to x86.
1316
1317         * win32/common/libgstreamer.def:
1318           Spaces to tabs.
1319
1320 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1321
1322         * gst/gsttaglist.h:
1323           Fix Since: markers for new geo tags.
1324
1325 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1326
1327         * gst/gsttaglist.h:
1328           Fix actual tag name define after renaming from altitude to elevation.
1329
1330 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1331
1332         * gst/gstpad.c: (add_unref_pad_to_list),
1333         (gst_pad_get_internal_links_default):
1334         Add fallback when calling the deprecated function on an element that
1335         implements the new internal_link handler.
1336
1337 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1338
1339         * docs/gst/gstreamer-sections.txt:
1340         * gst/gsttaglist.c:
1341         * gst/gsttaglist.h:
1342           Add new tags for geo location and clarify purpose of existing location
1343           tag. Fixes #481169
1344
1345 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1346
1347         Patch by: Olivier Crete <tester at tester dot ca>
1348
1349         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1350         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1351         Use thread-safe internal links iterator. Fixes #549504.
1352
1353 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1354
1355         Based on patch by: Olivier Crete <tester at tester dot ca>
1356
1357         * docs/gst/gstreamer-sections.txt:
1358         * win32/common/libgstreamer.def:
1359         * gst/gstpad.c: (gst_pad_init),
1360         (gst_pad_set_iterate_internal_links_function),
1361         (int_link_iter_data_free), (iterate_pad),
1362         (gst_pad_iterate_internal_links_default),
1363         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1364         * gst/gstpad.h:
1365         Add threadsafe replacement functions for getting internal links of an
1366         element. Deprecate the old internal links functions.
1367         API:GstPad::gst_pad_set_iterate_internal_links_function()
1368         API:GstPad::GstPadIterIntLinkFunction
1369         API:GstPad::gst_pad_iterate_internal_links()
1370         API:GstPad::gst_pad_iterate_internal_links_default()
1371
1372         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1373         (gst_proxy_pad_init):
1374         Implement threadsafe internal links.
1375
1376         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1377         Unit test for internal links on tee. See #549504.
1378
1379 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1380
1381         * tests/check/Makefile.am:
1382         libs/transform1 test requires libs/test_transform.c
1383
1384 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1385
1386         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1387         Die evil deadlock, die !
1388
1389 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1390
1391         * gst/gstutils.c: (gst_element_get_compatible_pad):
1392         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1393         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1394         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1395         not steal the refcount of the given caps as stated.
1396
1397         REVERT THIS COMMIT ONCE FIXED !
1398         REVERT THIS COMMIT ONCE FIXED !
1399         REVERT THIS COMMIT ONCE FIXED !
1400         REVERT THIS COMMIT ONCE FIXED !
1401         REVERT THIS COMMIT ONCE FIXED !
1402         REVERT THIS COMMIT ONCE FIXED !
1403
1404 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1405
1406         * gst/gstiterator.c:
1407         * gst/gstiterator.h:
1408         After 3 years it's about time to revise the documentation of the
1409         iterator objects.
1410
1411 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1412
1413         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1414         Make the internal links function less thread-unsafe and add some
1415         comments, dunno why.
1416
1417 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1418
1419         * gst/gst_private.h:
1420           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1421           build with --disable-gst-debug.
1422
1423 2008-08-28  David Schleef  <ds@schleef.org>
1424
1425         * gst/gstpadtemplate.c: Revert last change, since it breaks
1426           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1427           but shouldn't be enabled until we've released fixed versions
1428           of -good and -ffmpeg.
1429
1430 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1431
1432         * gst/gstobject.c:
1433           Put the gst_object_get_name() back in.
1434
1435 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * gst/gstpadtemplate.c:
1438           The old behaviour was that gst_pad_template_new() takes ownership of
1439           the caps. As we now call g_object_new() which calls g_object_set() and
1440           which copies the caps, we have to unref them to not leak them. Fixes
1441           make valgrid for me.
1442
1443 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1444
1445         * gst/gsturi.c:
1446           Don't segfault on input like "tel:+1-123-555-1234".
1447
1448 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1449
1450         * gst/gstobject.c:
1451           Due to popular request also include ObjectType in
1452           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1453
1454 2008-08-26  David Schleef  <ds@schleef.org>
1455
1456         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1457           src_val must be positive, because that's not a requirement.
1458           This causes problems with converting negative granulepos
1459           values for Dirac.
1460         * gst/gstquery.c: Same, gst_query_new_convert().
1461
1462 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1463
1464         * gst/gstclock.c: (gst_clock_add_observation):
1465         Add some more debugging to the clock slaving code.
1466
1467         * win32/common/libgstbase.def:
1468         Add new basetransform method.
1469
1470 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1471
1472         * gst/gstbin.c: (gst_bin_element_set_state):
1473         Take the (recursive) state lock between getting the locked state of an
1474         element and changing the element state. This allows the application to
1475         lock an element's state and then change its state without races.
1476
1477 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1478
1479         * gst/gstbin.c: (gst_bin_element_set_state):
1480         When an element is in the locked state we still want to update the
1481         base_time of the element.
1482
1483 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1484
1485         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1486         Use the result from gst_pad_set_caps() instead of assuming the element
1487         always accepted the caps computed by the default negotiate function.
1488
1489 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1490
1491         * docs/libs/gstreamer-libs-sections.txt:
1492         * libs/gst/base/gstbasetransform.c:
1493         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1494         (gst_base_transform_chain), (gst_base_transform_suggest),
1495         (gst_base_transform_reconfigure):
1496         * libs/gst/base/gstbasetransform.h:
1497         Implement method for reconfiguring basetransform.
1498         API: GstBaseTransform::gst_base_transform_reconfigure()
1499
1500 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1501
1502         patch by: Murray Cumming <murrayc@murrayc.com>
1503
1504         * gst/gstutils.c:
1505           Mention that this is just like gst_buffer_merge() but with extra
1506           unreffing for C coders. Advise language bindings not to wrap it.
1507           Fixes Bug #533856.
1508           
1509           Also fix file comment.
1510
1511 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1512
1513         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1514
1515         * plugins/elements/gstfakesink.c:
1516         * plugins/elements/gstfakesrc.c:
1517           Call super::event() when not handling it. Fixes #544855.
1518
1519 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1520
1521         Patch by: Alessandro Decina <alessandro@nnva.org>
1522         * plugins/elements/gstfilesrc.c:
1523           Use 64 bit variants of stat functions on win32, to enable support
1524           of large files there.
1525           Fixes #547277.
1526
1527 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1528
1529         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1530         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1531         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1532         (gst_base_sink_get_position), (gst_base_sink_change_state):
1533         Improve position reporting in the flushing state.
1534         Also report the position when we are not yet prerolled but we
1535         have a newsegment event. Fixes #543444.
1536         Improve the pull-based negotiation code.
1537
1538         * tests/check/elements/fakesink.c: (GST_START_TEST),
1539         (fakesink_suite):
1540         Add testcase for position reporting while flushing in PAUSED and
1541         PLAYING.
1542
1543         * tests/check/generic/sinks.c: (GST_START_TEST):
1544         Update unit-test, we can now query the position as soon as we receive a
1545         NEWSEGMENT event.
1546
1547 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1548
1549         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1550
1551         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1552         When the subclass event handler releases the PREROLL_LOCK, we could be
1553         in the flushing state and we have to ignore the event. Fixes #548394.
1554
1555 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1556
1557         * tools/gst-launch.1.in:
1558           Document GST_REGISTRY_UPDATE environment variable.
1559
1560 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1561
1562         * libs/gst/base/gstbasetransform.c:
1563         (gst_base_transform_prepare_output_buffer):
1564         If the element is configured in passthrough mode but the
1565         prepare_output_buffer gave us a new output buffer, discard that buffer
1566         and reuse the input buffer.
1567
1568 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1569
1570         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1571
1572         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1573         (gst_tee_request_new_pad), (gst_tee_release_pad),
1574         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1575         * plugins/elements/gsttee.h:
1576         Protect pad_alloc with a new lock so that we can be sure that nothing is
1577         performing a pad_alloc when removing the pad. Fixes #547835.
1578
1579         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1580         (buffer_alloc_harness_teardown), (app_thread_func),
1581         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1582         Added testcase for shutdown race.
1583
1584 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1585
1586         * gst/gstpad.h:
1587         Add doc
1588
1589 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1590
1591         * libs/gst/base/gstbasetransform.c:
1592         (gst_base_transform_prepare_output_buffer),
1593         (gst_base_transform_buffer_alloc):
1594         Go over the buffer_alloc function again and make sure we always end up
1595         allocating a buffer.
1596         Add some more docs.
1597         Avoid doing pad alloc when we have a pending suggestion because we
1598         cannot yet deal with changing caps in that case. Fixes #547728
1599
1600 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1601
1602         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1603
1604         * docs/manual/advanced-clocks.xml:
1605         * docs/manual/clocks.png:
1606         * docs/manual/diagrams-clocks.svg:
1607           Add one more image showing different times together with a describing
1608           paragraph. Fixes #547729.
1609
1610 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1611
1612         * win32/common/libgstbase.def:
1613         Add new method.
1614
1615 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1616
1617         * libs/gst/base/gstbasetransform.c:
1618         (gst_base_transform_transform_caps),
1619         (gst_base_transform_prepare_output_buffer),
1620         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1621         Don't overwrite the outsize when calculating the expected size of a new
1622         buffer because we still need it in case we cannot process the new
1623         buffer.
1624         When converting the size of the new buffer to an upstream size, actually
1625         use the expected size of the buffer, not some other random value.
1626         Use an atomic int to signal that a new upstream caps suggestion is
1627         available.
1628         When we can convert the current buffer to a new format, check if the
1629         buffer size is of the expected size and allocate a new buffer of the
1630         expected size when this is not the case. Fixes #546883.
1631
1632         * tests/check/libs/transform1.c: (GST_START_TEST):
1633         remove ifdeffed code from the unit test.
1634
1635 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1636
1637         * pkgconfig/gstreamer-uninstalled.pc.in:
1638         * pkgconfig/gstreamer.pc.in:
1639           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1640           called gstcontroller-0.10.
1641
1642 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1643
1644         * gst/gstchildproxy.h:
1645         * gst/gstpreset.h:
1646           Remove double interface from doc-string.        
1647
1648 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1649
1650         * libs/gst/base/gstbasesrc.c:
1651         * libs/gst/base/gstbasetransform.c:
1652           Fix headings in docs and gtk-doc warnings.
1653
1654 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1655
1656         * gst/gstregistrybinary.c:
1657           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1658           libc.
1659           Fixes #544776.
1660
1661 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1662
1663         * libs/gst/base/gstbasetransform.c:
1664         (gst_base_transform_buffer_alloc):
1665         Fix a "may be used unitialized" warning.
1666
1667 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1668
1669         * docs/gst/gstreamer-sections.txt:
1670         * gst/gstpreset.h:
1671           Document preset-iface vmethods.
1672
1673 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * docs/manual/advanced-interfaces.xml:
1676           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1677           only used to discover devices.
1678
1679 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1680
1681         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1682
1683         * gst/gst.c: (init_pre):
1684         Make sure gettext returns translations in UTF-8 encoding rather
1685         than in the current locale encoding (#546822).
1686
1687 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1688
1689         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1690         Fix subset test.
1691
1692         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1693         Improve unit test subset tests and add a testcase for the subset failure
1694         cases.
1695
1696         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1697         Improve subtraction unit test.
1698
1699 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * plugins/elements/gsttee.c:
1702           Unlock, instead of locking again.
1703
1704 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1705
1706         * gst/gstpad.h:
1707         Clarify the docs a bit more.
1708
1709 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1710
1711         * tests/examples/metadata/read-metadata.c:
1712           Don't leak old taglist.
1713
1714 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1715
1716         Patch by: Olivier Crete <tester at tester dot ca>
1717
1718         * gst/gststructure.c:
1719         (gst_structure_fixate_field_nearest_fraction):
1720         Avoid overflows in fixation code when dealing with MAXINT values, which
1721         v4l2src seems to do.
1722         Fixes #546328.
1723
1724         * tests/check/gst/gststructure.c: (GST_START_TEST):
1725         Make a unit test to check the fix. 
1726
1727 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1728
1729         * plugins/elements/gstcapsfilter.c: (copy_func),
1730         (gst_capsfilter_set_property):
1731         Use new caps suggestion feature of basetransform to request a caps
1732         negotiation upstream.
1733
1734 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1735
1736         * docs/libs/gstreamer-libs-sections.txt:
1737         Add new function:
1738         API: GstBaseTransform::gst_base_transform_suggest()
1739
1740         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1741         (gst_base_transform_init), (gst_base_transform_transform_caps),
1742         (gst_base_transform_transform_size),
1743         (gst_base_transform_configure_caps),
1744         (gst_base_transform_can_transform),
1745         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1746         (gst_base_transform_prepare_output_buffer),
1747         (gst_base_transform_buffer_alloc),
1748         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1749         (gst_base_transform_chain), (gst_base_transform_activate),
1750         (gst_base_transform_set_passthrough),
1751         (gst_base_transform_is_passthrough),
1752         (gst_base_transform_set_in_place),
1753         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1754         (gst_base_transform_set_qos_enabled),
1755         (gst_base_transform_is_qos_enabled),
1756         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1757         (gst_base_transform_reconfigure):
1758         * libs/gst/base/gstbasetransform.h:
1759         Rewrite of basetransform to perform negotiation outside of the
1760         buffer_alloc functions.  Fixes #545853.
1761
1762         * tests/check/libs/transform1.c: (GST_START_TEST),
1763         (buffer_alloc_ct2):
1764         Update unit test.
1765
1766 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1767
1768         * tests/check/gst/gstpreset.c:
1769           Only run preset tests when $HOME is writable. Preliminary fix for
1770           #545433.
1771
1772 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1773
1774         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1775         (gst_bin_change_state_func), (bin_handle_async_done),
1776         (gst_bin_handle_message_func):
1777         Fix race for bins that simulate ASYNC state changes by inserting
1778         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1779         pending ASYNC messages even when the bin does not have ASYNC children.
1780         We note detect this behaviour because we will receive an ASYNC message
1781         that is originating from the bin itself. 
1782         Fixes races with decodebin2 state changes.
1783
1784         * tests/check/gst/gstbin.c: (GST_START_TEST):
1785         Add some more debug.
1786
1787 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1788
1789         * gst/gsttaglist.c: (_gst_tag_initialize):
1790           Fix typo.
1791
1792 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * gst/gsttaglist.c:
1795           Argh. actually save the text before committing. Now adds
1796           gst_tag_merge_strings_with_comma() to gst_tag_register().
1797
1798 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1799
1800         * gst/gsttaglist.c:
1801         * gst/gsttaglist.h:
1802           Do as tim pointed out and actually register the new tag. Also improve
1803           te docs and use gst_tag_merge_strings_with_comma() method to allow
1804           retriving all keywords merged in one list.
1805
1806 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1807
1808         * configure.ac:
1809         * docs/gst/gstreamer.types:
1810           Revert 'accidential' change of the configure option removal. We still
1811           need to generate the types file in configure --disable-load-save.
1812
1813 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * docs/gst/gstreamer-sections.txt:
1816         * gst/gsttaglist.h:
1817           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1818
1819 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1820
1821         * gst/gstpadtemplate.c:
1822           (gst_pad_template_class_init), (gst_static_pad_template_get),
1823           (gst_pad_template_new), (gst_pad_template_pad_created),
1824           (gst_pad_template_set_property), (gst_pad_template_get_property):
1825           Add "name-template", "direction", "presence" and "caps" properties,
1826           so that gst_pad_template_new() is just a thin wrapper around
1827           g_object_new(), which is better for bindings. (Fixes: #539772)
1828
1829 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1830
1831         * gst/gsturi.c:
1832           Be more liberal in what URIs we accept.
1833           Do not unescape bits of the URI for no apparent reason before passing to
1834           the element. Fixes #545352.
1835
1836 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1837
1838         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1839
1840         * gst/gst.c:
1841         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1842
1843 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1844
1845         * configure.ac:
1846         * docs/gst/gstreamer-sections.txt:
1847         * docs/gst/gstreamer.types:
1848         * docs/gst/gstreamer.types.in:
1849         * gst/Makefile.am:
1850         * gst/gst.c:
1851         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1852         * gst/gstconfig.h.in:
1853         * gst/gstelement.c: (gst_element_get_index):
1854         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1855         (gst_registry_binary_load_feature),
1856         (gst_registry_binary_read_cache):
1857         * gst/gstregistryxml.c: (load_feature),
1858         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1859         * plugins/Makefile.am:
1860         * tools/gst-indent:
1861         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1862         (print_plugin_features), (print_element_features):
1863         * tools/gst-xmlinspect.c: (print_event_masks),
1864         (print_element_info):
1865         * win32/common/gstconfig.h:
1866         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1867
1868         Disabling the indexers and URI handler code will only reduce the
1869         required amount of memory by a very small amount but on the other hand
1870         requires much more maintaince work. Apart from that many places of
1871         code are broken when disabling them.
1872
1873         Disabling the enum types doesn't reduce the required amount of memory
1874         by more than a few bytes and makes it hard to fix bugs like #539772,
1875         i.e. use the enums as GObject properties.
1876
1877 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1878
1879         * docs/design/part-TODO.txt:
1880         Add some thoughts and problems with upstream renegotiation.
1881
1882 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1883
1884         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1885         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1886         Remove silly redundant debug.
1887         Add some more debug info.
1888         Clarify the docs regarding new caps received from pad_alloc.
1889
1890 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1891
1892         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1893         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1894         Make setting the caps more threadsafe.
1895
1896 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1897
1898         * docs/design/part-element-transform.txt:
1899         Update docs.
1900
1901 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1902
1903         * plugins/elements/gstqueue.c: (gst_queue_init),
1904         (gst_queue_acceptcaps):
1905         Add and use a custom acceptcaps function instead of falling back to the
1906         potentially less optimized default implementation.
1907
1908 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1909
1910         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1911           Only sanity-check the buffer size if requested_caps == buffer_caps
1912           (ie. don't take pad caps into account, they're not relevant here)
1913
1914 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * plugins/elements/gsttee.c:
1917         * plugins/elements/gsttee.h:
1918           Reverting as not everything is clear yet. Needs some general design
1919           work.
1920
1921 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1922
1923         * ChangeLog:
1924           ChangeLog surgery for tee commit.
1925
1926 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * docs/gst/gstreamer-sections.txt:
1929           Cleanup section-file.
1930
1931 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1932
1933         * plugins/elements/gsttee.c:
1934         * plugins/elements/gsttee.h:
1935           Relay tag events in tee. Fixes parts of #474016.
1936           Downgrades 3 reoccurring debugs to log.
1937
1938 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1939
1940         * configure.ac:
1941         * libs/gst/Makefile.am:
1942           Build the net library if we have winsock2.
1943
1944 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1945
1946         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1947
1948         * docs/manual/advanced-threads.xml:
1949         * docs/manual/diagrams-pipelines.svg:
1950         * docs/manual/hello-world.png:
1951         * docs/manual/linked-elements.png:
1952         * docs/manual/mime-world.png:
1953         * docs/manual/queue.png:
1954         * docs/manual/thread-buffering.png:
1955         * docs/manual/thread-synchronizing.png:
1956           Replace one diagram with two separate ones and updates others.
1957           Fixes #542401.
1958
1959 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1960
1961         * gst/gstelement.h:
1962         Fix link in documentation.
1963
1964 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1965
1966         * gst/gstmessage.c:
1967         Fix confusing documentation.
1968
1969 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1970
1971         * libs/gst/base/gstbasesrc.h:
1972         revert the changes to the header file for the ABI.
1973
1974 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1975
1976         * libs/gst/base/gstbasesrc.c:
1977         * libs/gst/base/gstbasesrc.h:
1978         Don't cache the seekable status.
1979         Fixes bug #544174
1980
1981 2008-07-24  Rene Stadler  <mail@renestadler.de>
1982
1983         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1984         code to close the pipeline graph.  This prevents the program from
1985         printing internal data flow errors.
1986
1987 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1988
1989         * docs/manual/basics-bus.xml:
1990         Correct typo. Fixes bug #544320.
1991
1992 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1993
1994         * configure.ac:
1995           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1996           Add check (taken from -base) for winsock, adds WIN32_LIBS
1997         * gst/Makefile.am:
1998           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1999           winsock.
2000           Define GST_EXPORTS when building libgstreamer (only used on win32)
2001         * gst/gst_private.h:
2002         * gst/gstinfo.h:
2003           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2004           for symbols that we need to export in both these files.
2005         * gst/gstpoll.c:
2006           Include gst_private.h higher up to avoid some compile problems on win32.
2007
2008 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2009
2010         * gst/gstvalue.c:
2011         Fix typos.
2012
2013 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2014
2015         * gst/gstcaps.c:
2016         Previous commit was wrong NULL caps does not exist
2017         and indicate an error, so also add a FIXME to
2018         gst_caps_is_equal where NULL caps are accepted.
2019
2020 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2021
2022         * gst/gstcaps.c:
2023         Allow passing of NULL to gst_caps_union
2024
2025 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2026
2027         * gst/gstghostpad.c:
2028         Add in doc that gst_ghost_pad_set_target can accept
2029         NULL to clear target
2030
2031 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2032
2033         * gst/gstplugin.c:
2034         * gst/gstregistry.c:
2035           GstRegistryPool doesn't exist; don't refer to it in docs.
2036           Don't refer to functions that don't exist in docs, it's
2037           unhelpful.
2038
2039 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2040
2041         * gst/gst.c:
2042         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2043
2044 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2045
2046         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2047
2048         * docs/pwg/building-testapp.xml:
2049         Don't use an undeclared variable in the example program.
2050         Fixes bug #542573.
2051
2052 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2053
2054         * gst/gstdebugutils.c:
2055           Squeeze ghost-pad links and remove <> from classname labels to save
2056           more horizontal space.
2057
2058 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2059
2060         * gst/gstdebugutils.c:
2061           Give request and sometimes pads a different shpe style. Condense the
2062           graphs a little more.
2063
2064 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2065
2066         * configure.ac:
2067           Don't require flex and bison if the parser is disabled.
2068
2069 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2070
2071         * libs/gst/controller/gstinterpolationcontrolsource.c:
2072         (_list_find_sorted_custom):
2073         Don't use declarations after statements.
2074
2075 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2076
2077         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2078         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2079         of the the child-added / -removed signals as GstChildProxy
2080         only supports GstObjects.
2081
2082 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2083
2084         * gst/gstdebugutils.c:
2085         Fix memleak
2086
2087 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2088
2089         Patch by: Alessandro Decina <alessandro at nnva dot org>
2090
2091         * gst/gstpoll.c:
2092         Fix "ignored return value" compiler warning with newer glibc.
2093
2094 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2095
2096         * gst/gstchildproxy.c:
2097         Fix copy&paste error in gst_child_proxy_removed() documentation.
2098
2099 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2100
2101         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2102           Print error debug message if plugin description fields that should
2103           be set are NULL.
2104
2105         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2106           Don't crash if the string to serialise is NULL (it really should
2107           not be, but apparently this used to work with the xml registry ...).
2108
2109 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2110
2111         * tools/gst-plot-timeline.py:
2112         Fix parsing of log messages
2113
2114 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2115
2116         * win32/common/libgstbase.def::
2117           Sort alphabetically so make check-exports doesn't barf.
2118
2119 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2120
2121         * gst/gstevent.c:
2122           Use gst_format_get_name() to improve debug output.
2123
2124         * gst/gstpreset.c:
2125           Remove #ifdef'ed code. Add TODO comment.
2126
2127         * gst/gstsegment.c:
2128           Add debug output to ease spotting format != segment.format assertions.
2129
2130 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2131
2132         * tests/check/libs/gdp.c: (gst_dp_suite):
2133         Also enable the GDP unit test again on PPC now that the bug
2134         is fixed.
2135
2136 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2137
2138         * libs/gst/dataprotocol/dataprotocol.c:
2139         Don't write to the same region of memory as a uint64 and uint16
2140         as this breaks strict aliasing rules and apparantly breaks on PPC
2141         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2142
2143 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2144
2145         * libs/gst/controller/gstinterpolationcontrolsource.c:
2146           Optimize list handling. Use own find function. Exploit that fact that
2147           the list is sorted. Also pass back the node before, so that we can
2148           insert quickly. Have a fast path for append.
2149
2150 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2151
2152         * docs/design/draft-framestep.txt:
2153         * docs/design/part-negotiation.txt:
2154           Fix two typos.
2155
2156 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2157
2158         * configure.ac:
2159           Show configuration sumary after configure run. Based on patch by
2160           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2161
2162 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2163
2164         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2165
2166         * docs/manual/advanced-autoplugging.xml:
2167         * docs/manual/advanced-threads.xml:
2168         * docs/manual/basics-bins.xml:
2169         * docs/manual/basics-elements.xml:
2170         * docs/manual/basics-helloworld.xml:
2171         * docs/manual/basics-pads.xml:
2172           Add scale factor for pdf output.
2173
2174         * docs/manual/intro-basics.xml:
2175           Switched sections "pads" and "bins" and added a pipeline diagram.
2176
2177         * docs/manual/intro-gstreamer.xml:
2178           Added more info on gstreamer.
2179
2180         * docs/manual/intro-motivation.xml:
2181           Commented out the whole section "current problem", which sounds
2182           historical and somehow osolete; it could be turned in a positive
2183           way and reused to improve the design principles.
2184
2185         * docs/manual/intro-preface.xml:
2186           - Update URLs to library.gnome.org. 
2187           - Do not mention GTK+ in preliminary reading (irrelevant). 
2188           - Mention Plugin Writer's Manual and further reading only in the
2189             previous section.
2190           - Added a list of most relevant GObject/glib topics.
2191
2192         * docs/manual/Makefile.am:
2193         * docs/manual/bin-element-ghost.fig:
2194         * docs/manual/bin-element-ghost.png:
2195         * docs/manual/bin-element-noghost.fig:
2196         * docs/manual/bin-element-noghost.png:
2197         * docs/manual/bin-element.fig:
2198         * docs/manual/bin-element.png:
2199         * docs/manual/filter-element-multi.fig:
2200         * docs/manual/filter-element-multi.png:
2201         * docs/manual/filter-element.fig:
2202         * docs/manual/filter-element.png:
2203         * docs/manual/gstreamer-overview.png:
2204         * docs/manual/hello-world.fig:
2205         * docs/manual/hello-world.png:
2206         * docs/manual/linked-elements.fig:
2207         * docs/manual/linked-elements.png:
2208         * docs/manual/mime-world.fig:
2209         * docs/manual/mime-world.png:
2210         * docs/manual/queue.fig:
2211         * docs/manual/queue.png:
2212         * docs/manual/simple-player.png:
2213         * docs/manual/sink-element.fig:
2214         * docs/manual/sink-element.png:
2215         * docs/manual/src-element.fig:
2216         * docs/manual/src-element.png:
2217         * docs/manual/diagrams-general.svg:
2218         * docs/manual/diagrams-pipelines.svg:
2219           Removed .fig, added .png counterpart.
2220           
2221           Fixes: #539137
2222
2223 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2224
2225         * plugins/elements/gstmultiqueue.c:
2226         * plugins/elements/gstmultiqueue.h:
2227         revert extra-size-buffers stuff, caused some race conditions
2228         and extra-size-buffers is not used anymore. Docs needs some updates
2229
2230 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2231
2232         * win32/common/config.h:
2233         * win32/common/gstenumtypes.c:
2234         * win32/common/gstenumtypes.h:
2235         * win32/common/gstversion.h:
2236           Update win32 files.
2237
2238 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2239
2240         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2241           (GST_DEBUG_BIN_TO_DOT_FILE):
2242           Add missing Since' markers to gtk-doc blurbs.
2243
2244 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2245
2246         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2247         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2248         (set_caps_1), (set_caps_ct1), (transform_ct1),
2249         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2250         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2251         (transform_size_ct2), (buffer_alloc_ct2):
2252         Add some more tests with switching caps in buffer_alloc.
2253
2254 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2255
2256         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2257         (gst_test_trans_class_init), (result_sink_chain),
2258         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2259         (gst_test_trans_push), (gst_test_trans_pop):
2260         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2261         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2262         (set_caps_1), (set_caps_ct1), (transform_ct1),
2263         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2264         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2265         (transform_size_ct2), (buffer_alloc_ct2),
2266         (gst_basetransform_suite):
2267         More tests, prepare for tests with switching caps in buffer_alloc.
2268
2269 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2270
2271         * plugins/elements/gstmultiqueue.c:
2272         * plugins/elements/gstmultiqueue.h:
2273         Fix dead-lock in underrun_cb
2274
2275 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2276
2277         * docs/design/part-states.txt:
2278         Fix device open/close docs.
2279
2280 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2281
2282         * ChangeLog:
2283           Mention bugnumber for last commit.
2284
2285 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2286
2287         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2288
2289         * docs/manual/manual.xml:
2290         - Reorganised the previous "introduction" bundle into Foreword,
2291         Introduction, and About GStreamer. The two first are <preface>
2292         docbook elements. The later is the first part of the book.
2293         - added intro-gstreamer.xml (content partially from
2294         intro-preface.xml)
2295         - moved appendix-win32.xml into appendix-integration.xml
2296
2297         * docs/manual/intro-preface.xml: gstreamer section moved...
2298         * docs/manual/intro-gstreamer.xml: ...here. new file.
2299
2300         * docs/manual/appendix-win32.xml: removed file. Content moved...
2301         * docs/manual/appendix-integration.xml: ...here.
2302         
2303         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2304         * docs/manual/appendix-checklist.xml: ...here.
2305         
2306         Fixes: 538764
2307
2308 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2309
2310         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2311
2312         * docs/manual/basics-helloworld.xml:
2313         * docs/manual/hello-world.fig:
2314           - Explicitely include glib.h.
2315           - Do not use global variables.
2316           - Use g_printerr() instead of g_print().
2317           - Minor formating/renaming to increase readibility.
2318           - Renamed new_pad() to on_pad_added()
2319           - Improved explenatory comments.
2320           - renamed ogg parser to ogg demuxer
2321           - Use "autoaudiosink" instead of "alsasink".
2322           Fixes: #538619
2323
2324 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2325
2326         * ChangeLog:
2327           Remove cvs conflict marker.
2328
2329 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2330
2331         * docs/README:
2332           Document that for plgin-docs we extraxt he short-desc from the element
2333           details.
2334
2335         * docs/design/part-states.txt:
2336           Tell that devices should be closed in PAUSED -> READY.
2337
2338         * docs/manual/README:
2339           Document how tests in the manual are handled.
2340
2341         * docs/manuals.mak:
2342           Typo in comment.
2343
2344 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2345
2346         * gst/gstbin.c: (bin_query_latency_fold):
2347         Only care about latency min and max when the sink is actually a live
2348         sink.
2349
2350 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2351
2352         * docs/design/part-block.txt:
2353         Fix typo.
2354
2355         * docs/design/part-element-transform.txt:
2356         Add notes about why transform needs to know input/output sizes.
2357         Add some issues that need to be solved.
2358         Add some more use cases.
2359
2360         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2361         (gst_test_trans_class_init), (result_sink_chain),
2362         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2363         (gst_test_trans_push), (gst_test_trans_pop):
2364         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2365         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2366         (set_caps_1), (set_caps_ct1), (transform_ct1),
2367         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2368         (gst_basetransform_suite):
2369         Add suport for different pad templates and buffer-alloc.
2370         Add more checks for caps and buffer-alloc.
2371         Add checks for proxy buffer alloc.
2372         Add unit test for copy transform.
2373
2374 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2375
2376         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2377
2378         * docs/manual/appendix-integration.xml:
2379         * docs/manual/appendix-licensing.xml:
2380         * docs/manual/basics-elements.xml:
2381         * docs/manual/basics-helloworld.xml:
2382         * docs/manual/basics-pads.xml:
2383         * docs/manual/highlevel-components.xml:
2384         * docs/manual/highlevel-xml.xml:
2385         * docs/manual/intro-basics.xml:
2386         * docs/manual/intro-preface.xml:
2387           Typo and formatting fixes (#538594).
2388
2389 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2390
2391         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2392         Fix some memory leaks and uses of object instances that we don't
2393         actually own.
2394
2395 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2396
2397         * plugins/elements/gstmultiqueue.c:
2398         Add functionality to extra-size-buffers property.
2399
2400 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2401
2402         * plugins/elements/gstmultiqueue.c:
2403         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2404         activate the pads if they are added in STATE_NULL.
2405
2406 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2407
2408         * docs/libs/gstreamer-libs-sections.txt:
2409         Add new API to doc
2410         * libs/gst/check/gstcheck.c:
2411         * libs/gst/check/gstcheck.h:
2412         API: gst_check_teardown_pad_by_name
2413
2414 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2415
2416         * libs/gst/check/gstcheck.c:
2417         * libs/gst/check/gstcheck.h:
2418         Also setup request pads and allow setup pads by name (#537812)
2419         API: gst_check_setup_src_pad_by_name
2420         API: gst_check_setup_sink_pad_by_name
2421
2422 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2423
2424         * tests/check/gst/gstbuffer.c:
2425         * tests/check/pipelines/parse-launch.c:
2426           Use HAVE_VALGRIND_H some more.
2427
2428 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2429
2430         * scripts/cvs-update.sh:
2431           Pass arguments to make.
2432           Run autoregen.sh if Makefile is not there.
2433
2434 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2435
2436         * configure.ac:
2437         * gst/gstinfo.c:
2438           Don't assume that <valgrind/valgrind.h> exists just because
2439           the binary is there.
2440
2441 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2442
2443         * tests/check/Makefile.am:
2444         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2445         (gst_test_trans_class_init), (gst_test_trans_init),
2446         (gst_test_trans_set_data), (result_sink_chain),
2447         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2448         (gst_test_trans_pop):
2449         * tests/check/libs/transform1.c: (GST_START_TEST),
2450         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2451         Add some test basetransform element and the beginnings of various
2452         unit tests for it.
2453
2454 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2455
2456         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2457         Increase code readability.
2458         Don't try to compare buffer offsets when ther are invalid.
2459
2460 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2461
2462         * docs/design/Makefile.am:
2463           Dist some more design docs.
2464
2465         * docs/random/moving-plugins:
2466           Small addition: good plugins mustn't have functional code
2467           within assertion macros.
2468
2469 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2470
2471         * docs/design/draft-framestep.txt:
2472         Some ideas about a framestep API
2473
2474         * docs/design/part-element-transform.txt:
2475         Start design and use cases for basetransform in order to get it
2476         fixed soon.
2477
2478 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2479
2480         * gst/gsttaglist.h:
2481           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2482           be in UTF-8 encoding.
2483
2484 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2485
2486         * gst/gstbus.c:
2487           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2488
2489 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2490
2491         * plugins/elements/gstcapsfilter.c:
2492         * plugins/elements/gstfakesink.c:
2493         * plugins/elements/gstfakesrc.c:
2494         * plugins/elements/gstfdsink.c:
2495         * plugins/elements/gstfdsrc.c:
2496         * plugins/elements/gstfilesink.c:
2497         * plugins/elements/gstfilesrc.c:
2498         * plugins/elements/gstidentity.c:
2499         * plugins/elements/gstmultiqueue.c:
2500         * plugins/elements/gstqueue.c:
2501         * plugins/elements/gsttee.c:
2502         * plugins/elements/gsttypefindelement.c:
2503           Remove short_description. Add basic docs for gsttypefindelement.
2504           Simplify markup for fakesrc/fdsrc.
2505
2506 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2507
2508         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2509         Added Since doc.
2510
2511 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2512
2513         Patch by: Joel Larsson <tilljoel at gmail dot com>
2514
2515         * docs/plugins/gstreamer-plugins.args:
2516         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2517         (gst_fd_src_init), (gst_fd_src_update_fd),
2518         (gst_fd_src_set_property), (gst_fd_src_get_property),
2519         (gst_fd_src_create):
2520         * plugins/elements/gstfdsrc.h:
2521         Add timeout property like udpsrc. Fixes #538628.
2522         Add some more docs and example pipelines.
2523
2524 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2525
2526         * docs/libs/gstreamer-libs-sections.txt:
2527         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2528         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2529         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2530         (gst_base_sink_do_sync):
2531         * libs/gst/base/gstbasesink.h:
2532         * win32/common/libgstbase.def:
2533         Add method to allow sinks to specify additional delay between the sync
2534         times and the actual rendering of the data.
2535         API: gst_base_sink_set_render_delay()
2536         API: gst_base_sink_get_render_delay()
2537
2538 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2539
2540         * configure.ac:
2541         Bump version number back to dev -> 0.10.20.1
2542
2543 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2544
2545         * docs/gst/gstreamer-sections.txt:
2546         * gst/gsttaglist.c: (_gst_tag_initialize):
2547         * gst/gsttaglist.h:
2548         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2549         Fixes bug #538568.
2550
2551 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2552
2553         * libs/gst/controller/gstcontroller.c:
2554           Revert one change, that make ret value possible uninitialized.
2555
2556 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2557
2558         * libs/gst/controller/gstcontroller.c:
2559           Use freeze/thaw notify to sync notify emission a bit (its also more
2560           efficient). Move debug output to LOG (is called a lot in a loop).
2561           Always unset g_values if the have been initialized.
2562
2563 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2564
2565         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2566         (gst_base_sink_wait_eos), (gst_base_sink_event):
2567         If we have not seen a buffer before EOS, use the segment values to
2568         report the current position instead of invalid positions.
2569
2570 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2571
2572         * docs/plugins/tmpl/.cvsignore:
2573         * tests/check/gst/.cvsignore:
2574           Ignore more.
2575
2576 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2577
2578         * libs/gst/controller/gstinterpolation.c:
2579         * libs/gst/controller/gstinterpolationcontrolsource.c:
2580         * tests/check/libs/controller.c:
2581           Rewrite handling of default values. Fix overflow with unsigned types
2582           in linear interpolation. Remove now obsolete _first_value() function.
2583           Add more tests. Fixes #538201.
2584
2585 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2586
2587         * libs/gst/base/gstbasetransform.c:
2588         (gst_base_transform_class_init), (gst_base_transform_init),
2589         (gst_base_transform_transform_caps),
2590         (gst_base_transform_prepare_output_buffer):
2591         Add debug info.
2592         When a buffer is writable, its metadata is also writable so we don't
2593         need to subbuffer (which then makes the buffer not-writable anymore).
2594
2595 === release 0.10.20 ===
2596
2597 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2598
2599         * configure.ac:
2600           releasing 0.10.20, "You Crazy Diamond"
2601
2602 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2603
2604         * configure.ac:
2605         0.10.19.3 pre-release
2606
2607 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2608
2609         * configure.ac:
2610         * gst/gstpreset.c:
2611         Rename DATADIR to GST_DATADIR to avoid build problems
2612         on win32. Patch By: David Schleef <ds@schleef.org>
2613         Fixes: #536857
2614
2615 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2616
2617         * configure.ac:
2618         Explicitely link with -ldl if dladdr() is found there. Before it was
2619         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2620         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2621
2622 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2623
2624         * gst/gsterror.c: (_gst_stream_errors_init):
2625           Fix typo (spotted by Fabricio Godoy, #536723).
2626
2627 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2628
2629         * configure.ac:
2630         0.10.19.2 pre-release
2631
2632 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2633
2634         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2635         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2636         Add some debug.
2637         Make sure we don't generate invalid QoS messages.
2638
2639 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2640
2641         * gst/gstevent.c: (gst_event_new_qos):
2642         Add some assert and docs for invalid input to the qos function.
2643
2644 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2645
2646         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2647         (gst_base_sink_get_position):
2648         The reported position must always be smaller than the last seen
2649         timestamps (or timestamp + duration for reverse).
2650
2651 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2652
2653         Patch by: Rob Bradford <rob at robster dot org dot uk>
2654
2655         * gst/gstregistry.c: (gst_registry_scan_path_level):
2656         Don't recurse into .debug directories as some distros install
2657         the debugging symbols next to the plugins in .debug directories
2658         and dlopen() crashes on them sometimes. Fixes bug #508070.
2659
2660         Add FIXME for 0.11 to not recurse into directories at all because
2661         it's very inconsistent to the behaviour of other PATH environment
2662         variables.
2663
2664 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2665
2666         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2667         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2668         Fix position query range checks in reverse playback.
2669
2670 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2671
2672         * gst/gstelement.c:
2673         * gst/gstelement.h:
2674         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2675         clear of the reference to the resulting pad must be released later
2676         or not, resulting in possible leaks. Fixes bug #533865.
2677
2678 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2679
2680         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2681
2682         * gst/gstelementfactory.c:
2683         Small doc fix. Fixes #535285.
2684
2685 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2686
2687         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2688
2689         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2690         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2691         (gst_base_src_loop), (gst_base_src_set_flushing),
2692         (gst_base_src_change_state):
2693         Make sending an EOS event to the basesrc non-blocking even if the
2694         implementation does blocking waits in the create function. This is done
2695         by unlocking the create function when EOS is sent.
2696         Fixes #535218.
2697
2698 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2699
2700         * tools/gst-inspect.c: (print_element_properties_info):
2701         If possible print the element type of GValueArray properties.
2702
2703 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2704
2705         * gst/gstiterator.c:
2706         Remove an unused field from the private GstListIterator struct.
2707
2708 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2709
2710         * libs/gst/controller/gstcontroller.c:
2711           Add parameter guards.
2712
2713 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2714
2715         * tests/check/gst/gstpipeline.c:
2716           Revert test change and add comment why it should not work.
2717
2718 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2719
2720         * tests/check/gst/gstpipeline.c:
2721           Extending the test a little to verify that we also get the NULL state-
2722           change message.
2723
2724 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2725
2726         * gst/gstpreset.c: (gst_preset_default_get_meta),
2727           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2728           (gst_preset_load_preset), (gst_preset_save_preset),
2729           (gst_preset_rename_preset), (gst_preset_delete_preset),
2730           (gst_preset_set_meta):
2731           Add Since: markers to docs blurbs.
2732
2733         * win32/common/libgstreamer.def:
2734           Add recently-added API.
2735
2736 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2737
2738         Patch by: Stefan Kost  <ensonic@users.sf.net>
2739
2740         * configure.ac:
2741         Add DATADIR for storing presets.
2742
2743         * docs/gst/gstreamer-docs.sgml:
2744         * docs/gst/gstreamer-sections.txt:
2745         * docs/gst/gstreamer.types.in:
2746         Add GstPreset to docs.
2747
2748         * gst/Makefile.am:
2749         * gst/gst.h:
2750         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2751         (preset_open_and_parse_header), (preset_parse_version),
2752         (preset_merge), (preset_get_keyfile),
2753         (gst_preset_default_get_preset_names),
2754         (gst_preset_default_get_property_names),
2755         (gst_preset_default_load_preset),
2756         (gst_preset_default_save_presets_file),
2757         (gst_preset_default_save_preset),
2758         (gst_preset_default_rename_preset),
2759         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2760         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2761         (gst_preset_default_reset), (gst_preset_get_preset_names),
2762         (gst_preset_get_property_names), (gst_preset_load_preset),
2763         (gst_preset_save_preset), (gst_preset_rename_preset),
2764         (gst_preset_delete_preset), (gst_preset_set_meta),
2765         (gst_preset_get_meta), (gst_preset_class_init),
2766         (gst_preset_base_init), (gst_preset_get_type):
2767         * gst/gstpreset.h:
2768         Add GstPreset to core. Fixes #396779
2769
2770         * tests/check/Makefile.am:
2771         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2772         (gst_preset_test_set_property), (gst_preset_test_class_init),
2773         (gst_preset_test_base_init), (gst_preset_test_get_type),
2774         (gst_preset_test_plugin_init), (GST_START_TEST),
2775         (remove_preset_file), (test_setup), (test_teardown),
2776         (gst_preset_suite):
2777         Add GstPreset unit tests.
2778
2779 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2780
2781         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2782         The default event function on a sinkpad should return TRUE when
2783         there are no internal links but should collect the return values from
2784         the internal links otherwise.
2785
2786 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2787
2788         * plugins/elements/gsttypefindelement.c:
2789         (gst_type_find_element_src_event),
2790         (gst_type_find_element_handle_event):
2791         Use faster and safer _pad_push_event().
2792
2793 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2794
2795         * docs/gst/gstreamer-sections.txt:
2796         * gst/gstutils.c: (element_find_unlinked_pad),
2797           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2798         * gst/gstutils.h:
2799           API: add gst_bin_find_unlinked_pad()
2800           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2801
2802 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2803
2804         * gst/gstclock.c:
2805         * gst/gstclock.h:
2806         * gst/gsttask.c:
2807         * gst/gsttask.h:
2808         Fixed a bunch of typos.
2809
2810 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2811
2812         * gst/gstpad.h:
2813         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2814           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2815           (gst_parse_bin_from_description_full):
2816         * gst/gstutils.h:
2817           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2818
2819 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2820
2821         * docs/pwg/advanced-tagging.xml:
2822           Small docs update, can't be bothered to rewrite the nonsensical
2823           examples right now.
2824
2825 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2826
2827         * gst/gstevent.h:
2828           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2829
2830 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2831
2832         * gst/parse/grammar.y:
2833           Remove unneeded casts.
2834
2835 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/parse/grammar.y:
2838         * tests/check/pipelines/parse-launch.c:
2839           Get all missing elements from a parse launch string if possible
2840           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2841
2842 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2843
2844         * tests/check/Makefile.am:
2845         * tests/check/pipelines/parse-launch.c:
2846           Add some unit tests for the new gst_parse_launch*_full() API.
2847           (Exposes a previously-existing memory leak in the error code
2848           path, so adding to VALGRIND_TO_FIX for now).
2849
2850 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2851
2852         * docs/gst/gstreamer-sections.txt:
2853         * gst/gst.c: (init_post):
2854         * gst/gst_private.h: (_GstParseContext):
2855         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2856           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2857           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2858           (gst_parse_launch_full):
2859         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2860           (GstParseFlags), (GstParseContext):
2861         * gst/gstutils.c: (gst_parse_bin_from_description),
2862           (gst_parse_bin_from_description_full):
2863         * gst/gstutils.h:
2864         * gst/parse/grammar.y:
2865         * gst/parse/types.h:
2866         * win32/common/libgstreamer.def:
2867           Add new gst_parse_*_full API (#528178):
2868           API: gst_parse_launch_full()
2869           API: gst_parse_launchv_full()
2870           API: gst_parse_bin_from_description_full()
2871           API: gst_parse_context_new()
2872           API: gst_parse_context_free()
2873           API: gst_parse_context_get_missing_elements()
2874
2875 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2876
2877         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2878
2879         * docs/faq/gst-uninstalled:
2880           Also support ffmpeg in gst-uninstalled.
2881
2882 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2883
2884         * configure.ac:
2885         After discussion on IRC use the binary registry as default
2886         but allow to disable it with --disable-binary-registry.
2887
2888         * win32/common/libgstreamer.def:
2889         Add the two new symbols for the binary registry.
2890
2891 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2892
2893         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2894         * gst/gstutils.c: (gst_parse_bin_from_description):
2895         * gst/parse/grammar.y: (graph):
2896           More guards against bad input; typo fix; some minor clean-ups.
2897
2898 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2899
2900         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2901
2902         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2903         If nothing else can be used, use the last buffer's start time as
2904         the segment's last stop. Fixes bug #534258.
2905
2906 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2907
2908         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2909           Move size sanity check to the right place: downstream may return
2910           a buffer with a smaller size if the buffer caps are different than
2911           the requested ones, as may happen when doing reverse negotiation.
2912
2913 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2914
2915         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2916         (gst_file_sink_render):
2917         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2918         (gst_file_src_start):
2919         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2920         use it yet.
2921
2922 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2923
2924         * gst/gstpad.c: (gst_pad_load_and_link):
2925         * gst/gstutils.c: (gst_element_link_pads),
2926         (gst_element_unlink_pads):
2927         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2928         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2929         (gst_check_teardown_sink_pad),
2930         (gst_check_element_push_buffer_list):
2931         * tests/check/elements/fakesink.c: (GST_START_TEST):
2932         * tests/check/elements/filesink.c:
2933         * tests/check/elements/filesrc.c: (GST_START_TEST):
2934         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2935         (mq_sinkpad_to_srcpad):
2936         * tests/check/elements/tee.c: (GST_START_TEST):
2937         * tests/check/generic/sinks.c: (GST_START_TEST):
2938         * tests/check/gst/gstbin.c: (GST_START_TEST):
2939         * tests/check/gst/gstevent.c: (GST_START_TEST):
2940         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2941         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2942         * tests/check/gst/gstquery.c: (GST_START_TEST):
2943         * tests/check/gst/gstutils.c: (GST_START_TEST):
2944         * tests/check/libs/basesrc.c: (GST_START_TEST):
2945         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2946         (gst_parse_test_element_change_state):
2947         Don't use gst_element_get_pad().
2948
2949 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2950
2951         * docs/Makefile.am:
2952         Fix installing plugin documentation when gtk-doc is disabled.
2953
2954 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2955
2956         * docs/manual/advanced-autoplugging.xml:
2957         * docs/manual/basics-helloworld.xml:
2958         * docs/manual/basics-pads.xml:
2959         * docs/manual/highlevel-components.xml:
2960         Avoid using a bad function in the example code.
2961
2962 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2963
2964         * gst/gstclock.c: (gst_clock_set_calibration):
2965         Fix debug of the new clock rate.
2966
2967 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2968
2969         * win32/common/libgstbase.def:
2970         Add gst_base_sink_wait_clock() to the exported symbols.
2971
2972 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2973
2974         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2975
2976         * libs/gst/base/gstbasetransform.c:
2977         (gst_base_transform_sink_event):
2978         Unref events that the GstBaseTransform::event vfunc didn't want to
2979         have forwarded by the base class. Closes a leak in identity.
2980         Fixes bug #446763.
2981
2982 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2983
2984         * docs/libs/gstreamer-libs-sections.txt:
2985         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2986         * libs/gst/base/gstbasesink.h:
2987         Expose a method that was previously used internally to synchronize
2988         against the clock because it can be useful for subclasses too.
2989         API: GstBaseSink::gst_base_sink_wait_clock()
2990
2991 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2992
2993         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2994           Add sanity check to make sure we don't get smaller buffers
2995           than requested (and fallback to normal buffer alloc if we do).
2996
2997 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2998
2999         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3000         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3001         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3002         Refactor adjusting the running_time with latency and offset into a
3003         separate method.
3004         When doing clipping, we still want to use the subclass get_times method,
3005         just in case the DURATION or TIMESTAMP are not set.
3006
3007 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3008
3009         * docs/gst/gstreamer-sections.txt:
3010         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3011         * gst/gsttypefind.h:
3012         * win32/common/libgstreamer.def:
3013           API: add gst_type_find_suggest_simple(), #533740.
3014
3015 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3016
3017         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3018           Use right error code when typefinding fails, so we can use
3019           the default (translated) error messages.
3020
3021 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3022
3023         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3024         (gst_base_src_start):
3025         When the subclass did not set caps on outgoing buffers, configure the
3026         caps we negotiated on the source pad.
3027         When the typefind helper does not find caps, error out properly instead
3028         of doing things with NULL caps.
3029
3030 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3031
3032         * gst/gsttypefind.h:
3033           Tabs to spaces, oh yes!
3034
3035 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3036
3037         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3038           Add David's and Benjamin's tests for array intersection to the
3039           unit test suite (#147931).
3040
3041 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3042
3043         * gst/gstevent.c:
3044           Document that gst_event_new_tag() and gst_event_new_navigation()
3045           take ownership of the taglist/structure passed to them. (#533635).
3046
3047 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3048
3049         * docs/Makefile.am:
3050         Don't descend into the plugins dir if plugin docs building
3051         is disabled.
3052
3053         * docs/README:
3054         Add a note about the new type:GTypeName syntax for the plugin
3055         documentation .types file.
3056
3057 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3058
3059         * gst/gstmessage.c: (gst_message_new_error),
3060         (gst_message_new_warning), (gst_message_new_info):
3061         * gst/gstmessage.h:
3062         Mark the debug string parameters as const. Fixes bug #533490.
3063
3064 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3065
3066         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3067         Sort buffer cache list by end offsets. This makes sure that we don't
3068         stop to search for a cached buffer that contains the requested data
3069         too early.
3070         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3071         more efficient. Fixes bug #459862.
3072
3073 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3074
3075         * gst/gstinfo.c:
3076           Explain why we copy the list.
3077
3078         * gst/gstpipeline.c:
3079           Improve docs.
3080
3081         * gst/gstutils.c:
3082           Add one debug-log statement to help tracing probelms with linking pads.
3083
3084 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3085
3086         * tests/check/gst/gstinfo.c:
3087         Add a test for removing the default log handler. Seems to fail under
3088         windows.
3089
3090 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3091
3092         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3093         Release pad lock before calling out to avoid a possible deadlock.
3094
3095 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3096
3097         * gst/parse/grammar.y:
3098         Remove unneeded value unset.
3099
3100         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3101         Add unit test for de/serialization of caps.
3102
3103 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3104
3105         * plugins/elements/gstfakesink.c:
3106         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3107         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3108         (gst_fake_src_class_init):
3109         Use custom marshalers that take GstMiniObject as first parameter.
3110         Using OBJECT as parameter while a GstMiniObject is given will lead
3111         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3112
3113 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3114
3115         * plugins/elements/gsttypefindelement.c:
3116         (gst_type_find_element_handle_event),
3117         (gst_type_find_element_send_cached_events),
3118         (gst_type_find_element_change_state):
3119         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3120         immediately.
3121
3122 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3123
3124         * plugins/elements/gsttypefindelement.c:
3125         (gst_type_find_handle_src_query), (stop_typefinding),
3126         (gst_type_find_element_handle_event),
3127         (gst_type_find_element_send_cached_events),
3128         (gst_type_find_element_change_state):
3129         Forward FLUSH_START events immediately and clean up instead of
3130         caching them.
3131
3132 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3133
3134         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3135
3136         * libs/gst/base/gstbasetransform.c:
3137         (gst_base_transform_buffer_alloc):
3138         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3139         fall back to default negotiation in the chain function if the caps
3140         are different from what was requested. Fixes bug #526768.
3141
3142 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3143
3144         * gst/gstsegment.c:
3145         * tests/check/gst/gstsegment.c:
3146           No, let's not use g_slice_{dup|copy} here, since they only exist
3147           since GLib 2.14 and we still depend only on >= 2.12. Also add
3148           unit test for gst_segment_copy().
3149
3150 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3151
3152         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3153           Try to fix 'dereferencing type-punned pointer will break strict
3154           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3155           changed the default GType typedef from gulong to gsize at some point,
3156           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3157           g_once_* functions all take a gsize * though, so work around the type
3158           mismatch for C++ by doing everything in gsize and casting to GType
3159           later.
3160
3161 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3162
3163         * plugins/elements/gstmultiqueue.c:
3164         Add documentation for the signals to push our core plugin docs
3165         coverage back up to 100%.
3166
3167 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3168
3169         * gst/gstinfo.h (GST_FUNCTION):
3170           Reverted GST_FUNCTION to the old version as we don't want the
3171           full signature in C++ code. Also added support for MSVC.
3172
3173 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3174
3175         * gst/gstutils.h:
3176         Intern the type name string, similar to what G_DEFINE_TYPE does.
3177
3178 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3179
3180         * gst/gstutils.h:
3181         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3182
3183 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3184
3185         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3186
3187         * libs/gst/base/gstbasetransform.c:
3188         (gst_base_transform_buffer_alloc):
3189         Don't passthrough buffer allocation too easily if the caps change.
3190         This breaks when working in passthrough mode and upstream changes
3191         it's caps. Fixes bug #526768.
3192
3193 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3194
3195         * gst/gstinfo.c (gst_debug_log_valist):
3196           Improved the __FILE__ part of debug output for MSVC.
3197
3198 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3199
3200         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3201           Declaration after statement fix for compilers like MSVC.
3202
3203 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3204
3205         * win32/common/config.h.in:
3206           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3207           use the real thing than having "???" unconditionally.
3208
3209 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3210
3211         * gst/gstinfo.h (GST_FUNCTION):
3212           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3213
3214 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3215
3216         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3217         Small code cleanup.
3218
3219         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3220         (gst_base_sink_set_flushing):
3221         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3222         Fix some comments.
3223
3224 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3225
3226         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3227         (gst_fake_src_init), (gst_fake_src_set_property),
3228         (gst_fake_src_get_property), (gst_fake_src_start):
3229         * plugins/elements/gstfakesrc.h:
3230         Added format property to control the format of the newsegment events.
3231         API: GstFakeSrc:format
3232
3233 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3234
3235         * win32/common/libgstreamer.def:
3236         Add gst_pad_has_name() to the exported symbols.
3237
3238 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3241         * libs/gst/base/gstbasetransform.c:
3242         (gst_base_transform_prepare_output_buffer):
3243         Don't allow negative sizes when allocating new buffers.
3244         Fixes bug #461253.
3245
3246 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3247
3248         Patch by: Sjoerd Simons <sjoerd at luon net>
3249
3250         * gst/gstbus.c: (gst_bus_source_dispatch):
3251           Don't print a warning if the queue is empty when we try to pop
3252           here. That could happen if another thread or callback set the
3253           bus to flushing between the source's check/prepare and the
3254           dispatch being called (#531538).
3255
3256 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3257
3258         * plugins/elements/gstmultiqueue.c:
3259           Small docs fix.
3260         
3261 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3262
3263         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3264         Add unit test for deserializing uint64s and check some really large
3265         numbers in the int64 test.
3266
3267 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3268
3269         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3270         (print_interfaces), (print_element_properties_info),
3271         (print_signal_info):
3272         Use "%s" as format string instead of printing strings directly.
3273
3274 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3275
3276         * gst/gstclock.c: (gst_clock_set_calibration):
3277         Make some checks actually useful.
3278
3279         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3280         Remove some unused code. Unsigned integers tend to be >= 0.
3281
3282 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3283
3284         * gst/gstminiobject.c: (gst_value_get_mini_object):
3285           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3286           function was not in the unscheduled 0.10.19 release.
3287
3288 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3289
3290         * gst/gstregistry.c: (gst_registry_scan_path_level):
3291           Only print one log message per non-plugin file.
3292
3293 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3294
3295         * gst/gstinfo.c: (gst_debug_log_default):
3296           Fix alignment of debug log columns on 64-bit.
3297
3298 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3299
3300         * docs/libs/Makefile.am:
3301         * docs/libs/gstreamer-libs-sections.txt:
3302           Ignore private controller headers for docs.
3303
3304 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3305
3306         * libs/gst/controller/gstcontrollerprivate.h:
3307         * libs/gst/controller/gsthelper.c:
3308         * libs/gst/controller/gstinterpolation.c:
3309         * libs/gst/controller/gstinterpolationcontrolsource.c:
3310         (gst_interpolation_control_source_set_interpolation_mode):
3311         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3312         * libs/gst/controller/lib.c:
3313         Move some private declarations into private headers.
3314
3315 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3316
3317         * gst/gstdebugutils.c: (debug_dump_element_pad):
3318         Remove some code that is unused after Stefan's refactoring and uses
3319         uninitialized variables now, resulting in a compiler warning.
3320
3321 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3322
3323         * gst/gstregistry.c: (gst_registry_scan_path_level):
3324           Run g_str_has_suffix() only on the file name, not the
3325           entire file path.
3326
3327 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3328
3329         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3330           Since we're not called only from the chain function any longer,
3331           we can't assume that there's always data in the queue, so move
3332           the is_full check to the beginning of the loop (otherwise we'd
3333           hit the assert when changing the limit properties while the
3334           queue is empty or not running yet).
3335           Also, only set a discont if items were actually removed from
3336           the queue.
3337
3338         * tests/check/elements/queue.c: (test_leaky_downstream):
3339           Test case for the above.
3340
3341 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3342
3343         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3344
3345         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3346         (gst_queue_chain), (queue_capacity_change),
3347         (gst_queue_set_property):
3348         When changing thr max capacity of a leaky queue, immediatly drop buffers
3349         instead of waiting for a push on the sinkpad. Fixes #530637.
3350
3351 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3352
3353         * gst/gstdebugutils.c:
3354           Refactor code and fix handling of ghostpads and their proxypads.
3355
3356 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3357
3358         * docs/gst/gstreamer-sections.txt:
3359         * gst/gstevent.c: (gst_event_has_name):
3360         * gst/gstevent.h:
3361         * tests/check/gst/gstevent.c: (GST_START_TEST):
3362         Add method to conveniently check the name of a custom event with
3363         gst_event_has_name().
3364         Reformat the event docs so that related methods are put together instead
3365         of the default alphabetical sort.
3366         Update unit test with new method.
3367         API: GstEvent::gst_event_has_name()
3368
3369 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3370
3371         * libs/gst/check/Makefile.am:
3372           Don't add an explicit link to libgstreamer-0.10.la; it's already
3373           included in GST_OBJ_LIBS.
3374
3375 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3376
3377         * gst/gst.c:
3378         Register GstClock type from a type-safe context. Fixes bug #530317.
3379
3380 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3381
3382         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3383         * tools/gst-run.c:
3384           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3385
3386 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3387
3388         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3389         (gst_bin_dispose):
3390         Use the GLib stuff to create a private structure.
3391         Add some locking around some dispose methods to make them a little
3392         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3393
3394 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3395
3396         * libs/gst/base/gstbasesink.h:
3397         * libs/gst/base/gstbasesrc.h:
3398         * libs/gst/base/gstbasetransform.h:
3399         * libs/gst/base/gstcollectpads.h:
3400           Fix doc typos and unify caps a bit.
3401
3402 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3403
3404         * tools/gst-launch.1.in:
3405           Forgot to also add the envvar docs here.
3406
3407 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * gst/gst.c: (init_post), (gst_deinit):
3410         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3411           (test_concurrent_create), (gst_pipeline_suite):
3412           Ref some more classes in gst_init() to work around thread-safety
3413           issues in pre-2.16 GLibs, and add basic unit test.
3414
3415 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3416
3417         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3418         (gst_base_sink_send_event):
3419         Rearrange the latency query code. We always want to do the upstream
3420         query, even if we are not live so that the upstream elements can get the
3421         latency results too. If we fail doing the query and we are live, we
3422         return TRUE afterwards.
3423
3424 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3425
3426         patch by: Jason Zhao <e3423c@motorola.com>
3427
3428         * docs/gst/running.xml:
3429         * gst/gst.c:
3430           Enable/disable scan_and_update_registry() based on commandline switch
3431           or environment variable. Fixes #520468.
3432           
3433         * ChangeLog:
3434           Fix typo in my previous commit.
3435
3436 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3437
3438         * gst/gstregistrybinary.c:
3439           Add a warning if we hit unhandled factories when saving.
3440           More debug logging detail, but move to LOG category.
3441
3442 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3443
3444         * gst/gstregistry.c:
3445           Tell the *truth* when improving the documentation.
3446
3447 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3448
3449         * gst/gstelementfactory.c: (gst_element_factory_make):
3450         Unref the factory after it was used the last time, not before.
3451
3452         * gst/gstindexfactory.c: (gst_index_factory_make):
3453         Improve debugging a bit and don't leak a ref to the index factory with
3454         each call.
3455
3456 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3457
3458         * gst/gstregistry.c:
3459           Improve the documentation.
3460
3461 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3462
3463         * gst/gstsegment.c:
3464           The glib macro seems to be borked. Use g_slice_copy directly and cast
3465           in the hope that this fixes the warning on 64bit.
3466
3467 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3468
3469         * gst/gstsegment.c:
3470           Document the new function. Use g_slice_dup() (no need for
3471           gst_segment_init()).    
3472
3473 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * docs/gst/gstreamer-sections.txt:
3476           Move GParamSepc macros to standart section.
3477   
3478         * gst/gstbin.c:
3479           Dn't document _get_type - its in private section in docs anyway and
3480           this doc-blob was incomplete.
3481
3482         * gst/gstclock.h:
3483           Fix wrong symbol names in docs.
3484
3485         * gst/gstmacros.h:
3486           Add once doc sentence.
3487
3488         * tests/check/gst/.cvsignore:
3489           Ignore more.
3490
3491 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * docs/gst/Makefile.am:
3494           And remove those libs here.
3495
3496 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3497
3498         * docs/libs/Makefile.am:
3499           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3500
3501 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3502
3503         Patch by: Olivier Crete <tester at tester dot ca>
3504
3505         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3506         Add the min-threshold to the min latency if possible. Fixes #529148.
3507
3508 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * docs/gst/gstreamer.types.in:
3511           Stupid editor, I removed that line as it should go in yet.
3512
3513 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3514
3515         * docs/gst/gstreamer.types.in:
3516         * docs/libs/gstreamer-libs.types:
3517           Remove library types fro core docs and have them in libs docs.
3518           Reformat and cleanup. Add comment for miniobject types.
3519
3520 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3521
3522         * gst/gsturi.c: (gst_uri_get_protocol):
3523           Fix leak: g_strdown operates on the string in place, while
3524           g_ascii_strdown() returns a newly-allocated string.
3525
3526 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3527
3528         * tools/gst-inspect.c: (print_uri_handler_info),
3529         (print_element_info):
3530         Print the URI protocols and the URI type supported by the element.
3531
3532 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3533
3534         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3535         Use g_value_take_string() instead of the deprecated
3536         g_value_set_string_take_ownership().
3537
3538 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3539
3540         * gst/gstregistrybinary.c: (_gst_crc32):
3541         Return the old CRC instead of 0 if we give a NULL buffer
3542         or a buffer with a length of 0.
3543
3544 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3545
3546         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3547         (gst_uri_get_protocol), (gst_uri_has_protocol),
3548         (gst_uri_construct), (gst_uri_handler_set_uri):
3549         A valid URI scheme can also include '+', '-' and '.' additional
3550         to alphanumeric characters as per RFC 3986 Section 3.1.
3551
3552         Handle URI schemes case insensitive in all places and convert
3553         to lower-case when constructing an URI or setting an URI with
3554         the GstURIHandler interface. Fixes bug #528868.
3555         All elements can still assume (as before) that they will
3556         get passed URIs with a lower-case URI scheme by the GstURIHandler
3557         interface.
3558
3559 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3560
3561         * gst/gstcaps.c: (gst_static_caps_get):
3562         * gst/gstclock.c: (gst_clock_entry_new):
3563           Don't use g_atomic_set_int where it's not needed.
3564
3565 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3566
3567         * gst/gstvalue.c: (gst_value_deserialize_caps):
3568         * gst/parse/grammar.y:
3569         Fix 2 caps leaks.
3570
3571 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3572
3573         * gst/gstutils.c: (gst_atomic_int_set):
3574         Use g_atomic_int_set() here too instead of assignment +
3575         g_atomic_int_get().
3576
3577 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3578         
3579         * gst/gstutils.c:
3580         * gst/gstutils.h:
3581         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3582         now that we depend on new enough GLib.
3583
3584         * gst/gstcaps.c: (gst_static_caps_get):
3585         * gst/gstclock.c: (gst_clock_entry_new):
3586         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3587         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3588         (gst_debug_category_set_threshold):
3589         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3590         (gst_base_sink_set_qos_enabled):
3591         * libs/gst/net/gstnettimeprovider.c:
3592         (gst_net_time_provider_set_property):
3593         Use g_atomic_int_set() instead of gst_atomic_int_set().
3594
3595 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3596
3597         * gst/gstquery.c:
3598           Also use G_GINT64_CONSTANT for the queries.
3599
3600 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3601
3602         * gst/gstmessage.c:
3603           Use G_GINT64_CONSTANT in varargs function.
3604
3605 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3606
3607         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3608         Initialize the registry magic with zeroes.
3609
3610 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3611
3612         * gst/gstregistrybinary.c: (_gst_crc32),
3613         (gst_registry_binary_write),
3614         (gst_registry_binary_initialize_magic),
3615         (gst_registry_binary_write_cache),
3616         (gst_registry_binary_check_magic),
3617         (gst_registry_binary_read_cache):
3618         * gst/gstregistrybinary.h:
3619         Add crc32 checksum to the binary registry file and check this before
3620         accepting a registry file.
3621
3622         Also free the data list when writing to the registry file fails.
3623
3624 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3625
3626         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3627         (gst_registry_binary_load_feature),
3628         (gst_registry_binary_load_plugin):
3629         If an element supports the Uri interface, returns a valid pointer
3630         to the supported URI protocols but this pointer contains nothing
3631         don't try to save that as it will corrupt the registry.
3632
3633         Don't unref the plugin if we added it to the registry already but
3634         fail to load a feature as gst_registry_add_plugin() takes ownership
3635         of the plugin.
3636
3637         Improve debugging a bit.
3638
3639 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * gst/gsttaglist.h:
3642           Clarify some tag item docs after discussion on irc.
3643
3644 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * docs/gst/gstreamer-docs.sgml:
3647           Remove commented out plugins (they have their own docs). Update
3648           comments.
3649
3650 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3651
3652         * docs/gst/gstreamer-docs.sgml:
3653         * docs/gst/gstreamer-sections.txt:
3654         * gst/gstparamspecs.c:
3655         * gst/gstparamspecs.h:
3656           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3657           docs to own section.
3658
3659         * gst/gstvalue.c:
3660           This now only documents GValue.
3661           
3662         * docs/libs/gstreamer-libs-sections.txt:
3663         * libs/gst/controller/gstcontroller.h:
3664           Remove GST_PARAM_CONTROLLABLE.
3665
3666 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3667
3668         * docs/README:
3669           Correct file path. Tell about how to use -overrides.txt.
3670         * docs/design/draft-tagreading.txt:
3671           Small design update.
3672
3673 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3674
3675         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3676         (gst_registry_binary_load_plugin):
3677         Fix a typo in a debug message and revert change from yesterday as
3678         gst_registry_add_plugin() will only fail if something is really wrong
3679         already and we can't survive it anyway.
3680
3681 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3682
3683         * gst/gst.c: (init_post), (gst_deinit):
3684           Pre-register GstGError GType from a thread-safe context
3685           (fixes #527967); unref enum type classes in deinit.
3686
3687 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         Patch by: Rene Stadler <mail at renestadler de>
3690
3691         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3692           Merging an empty list with another list in KEEP_ALL mode should
3693           yield an empty list as result and not the second list (#512578).
3694
3695         * tests/check/gst/gsttagsetter.c:
3696           Add unit test for tag merge modes and the aforementioned bug.
3697
3698 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3699
3700         Patch by: Rene Stadler <mail at renestadler de>
3701
3702         * gst/gsttaglist.h:
3703           Fix description to match the order in the table (#512577).
3704   
3705 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3706
3707         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3708
3709         * libs/gst/net/gstnettimepacket.h:
3710         * docs/libs/gstreamer-libs-sections.txt:
3711           Define socklen_t as int if it's not defined yet. Fixes compilation
3712           with MSVC6 and other versions where socklen_t is not defined in
3713           the windows headers (#518022).
3714
3715 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3716
3717         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3718         If gst_registry_add_plugin() fails our reference to the plugin is
3719         invalid so don't try to use it anymore and instead error out.
3720
3721 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3722
3723         * tools/gst-xmlinspect.c: (print_element_info), (main):
3724           De-cruft a bit. If no argument is specified, print all elements in
3725           XML syntax rather than a freestyle list of elements like gst-inspect.
3726           Also, don't print XML header chunk unless we actually have something
3727           to print (ie. don't print it before an error message); print error
3728           message to stderr not stdout. Remove support for printing plugin
3729           info (it would just output something freestyle along the lines of
3730           gst-inspect so far), which fixes #514507. Also add license header.
3731
3732 2008-04-11  Julien Moutte  <julien@fluendo.com>
3733
3734         Mac OS X love...
3735         * configure.ac: Merge platform specific defines, introduce a new
3736         define on OS X to remember that forking when updating registry is
3737         unsafe.
3738         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3739         module.
3740         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3741         is defined.
3742         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3743         condition that leads to absolutely no plugins being registered on
3744         OS X.
3745
3746 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3747
3748         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3749
3750         * gst/gstutils.c: (gst_pad_add_data_probe),
3751           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3752           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3753           (gst_pad_add_buffer_probe_full):
3754         * gst/gstutils.h:
3755         * docs/gst/gstreamer-sections.txt:
3756         * win32/common/libgstreamer.def:
3757           Add gst_pad_add_*_probe_full() functions with a notify callback that
3758           lets the caller free the data it passes to the probe functions. This
3759           is useful for bindings such as gst-python or gstreamermm (#526814).
3760           API: gst_pad_add_data_probe_full
3761           API: gst_pad_add_buffer_probe_full
3762           API: gst_pad_add_event_probe_full
3763
3764         * tests/check/gst/gstutils.c:
3765           Add minimal unit test to make sure freeing the data actually works
3766           as expected.
3767
3768         * tests/benchmarks/.cvsignore:
3769           Random cvsignore addendum.
3770
3771 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3772
3773         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3774           (GST_DEBUG_BIN_TO_DOT_FILE):
3775           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3776           to it in the docs (since these are macros the types of the arguments
3777           won't be shown in the docs otherwise).
3778
3779 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3780
3781         * gst/gstpad.c:
3782           Do not abort on out of memory for pad_alloc_buffer.
3783
3784 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3785
3786         * libs/gst/check/gstcheck.c:
3787           Remove blank line between symbol name ad parameters to fix gtkdoc
3788           warning.
3789
3790 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3793
3794         * docs/gst/gstreamer-sections.txt:
3795         * gst/gstsegment.c:
3796         * gst/gstsegment.h:
3797         * win32/common/libgstreamer.def:
3798           Expose gst_segment_copy() to make things easier for the c++ bindings.
3799           Fixes #518932.
3800           API: gst_segment_copy()
3801
3802 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3803
3804         * gst/gst.c: (gst_init_get_option_group), (init_post):
3805           Fix const position; ref GType classes for enum types to work
3806           around thread-safety issues in GLib versions < 2.16.
3807
3808 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3809
3810         * docs/design/part-buffering.txt:
3811         Fix some typos and set the estimated total for push mode to -1.
3812
3813         * gst/gstquery.c: (gst_query_new_buffering):
3814         Set buffering-left to 0 as we're not buffering by default.
3815
3816         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3817         Implement BUFFERING query.
3818
3819 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3820
3821         Based on patch by: Milosz Derezynski <internalerror gmail com>
3822
3823         * gst/gsterror.c: (_gst_stream_errors_init):
3824         * gst/gsterror.h:
3825           Add two new error codes for encrypted content. Fixes #524659.
3826           API: GST_STREAM_ERROR_DECRYPT
3827           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3828
3829 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         * gst/gstquery.h:
3832           Fix typo.
3833
3834         * win32/common/libgstreamer.def:
3835           Add new functions.
3836
3837 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3838
3839         * plugins/elements/gstidentity.c: (gst_identity_event),
3840         (gst_identity_start):
3841         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3842         event after processing some data. Fixes bug #526042.
3843
3844 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3845
3846         * docs/gst/gstreamer-sections.txt:
3847         * gst/gstquery.c: (gst_query_parse_latency),
3848         (gst_query_set_buffering_percent),
3849         (gst_query_parse_buffering_percent),
3850         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3851         * gst/gstquery.h:
3852         Rename _avail -> _range
3853         API: gst_query_set_buffering_range
3854         API: gst_query_parse_buffering_range
3855
3856 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3857
3858         * docs/design/part-buffering.txt:
3859         * gst/gstquark.c:
3860         * gst/gstquark.h:
3861         * gst/gstquery.c: (gst_query_parse_latency),
3862         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3863         (gst_query_parse_buffering_percent):
3864         * gst/gstquery.h:
3865         Add busy field and quark for the buffering query so that the app can
3866         only use the query to see if buffering is in progress.
3867
3868 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3869
3870         * docs/gst/gstreamer-sections.txt:
3871         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3872         (gst_message_parse_buffering_stats):
3873         * gst/gstmessage.h:
3874         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3875         (gst_query_parse_latency), (gst_query_new_buffering),
3876         (gst_query_set_buffering_percent),
3877         (gst_query_parse_buffering_percent),
3878         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3879         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3880         * gst/gstquery.h:
3881         Reorder the message docs and headers for clarity.
3882         Add aditional buffering stats API for messages.
3883         Add buffering query.
3884         Convert some leftover queries to use GstQuark.
3885         API: gst_message_set_buffering_stats
3886         API: gst_message_parse_buffering_stats
3887         API: GST_QUERY_BUFFERING
3888         API: GstBufferingMode
3889         API: gst_query_new_buffering
3890         API: gst_query_set_buffering_percent
3891         API: gst_query_parse_buffering_percent
3892         API: gst_query_set_buffering_stats
3893         API: gst_query_parse_buffering_stats
3894
3895 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3896
3897         * gst/gstmessage.c: (gst_message_new_error),
3898         (gst_message_new_warning), (gst_message_new_info),
3899         (gst_message_new_buffering), (gst_message_new_state_changed),
3900         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3901         (gst_message_new_new_clock), (gst_message_new_segment_start),
3902         (gst_message_new_segment_done), (gst_message_new_duration),
3903         (gst_message_new_async_start), (gst_message_parse_buffering),
3904         (gst_message_parse_state_changed),
3905         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3906         (gst_message_parse_new_clock), (gst_message_parse_error),
3907         (gst_message_parse_warning), (gst_message_parse_info),
3908         (gst_message_parse_segment_start),
3909         (gst_message_parse_segment_done), (gst_message_parse_duration),
3910         (gst_message_parse_async_start):
3911         Use GstQuark for messages.
3912
3913 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3914
3915         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3916         * gst/gstquark.h:
3917         Add some more quarks needed for messages and queries.
3918
3919 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3920
3921         * docs/design/part-buffering.txt:
3922         Remove the "none" buffering mode, STREAM is a good default.
3923         Move estimated-time to the avail query, that's when it will be needed.
3924         Other small typo fixes and updates.
3925
3926 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * gst/gstindex.c: (gst_index_resolver_get_type):
3929           Don't put descriptions into the nick field of a GEnumValue: it's not
3930           meant for that and some language bindings rely on the nick field to
3931           construct constants and the like. Fixes #526705.
3932
3933 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3934
3935         * NEWS:
3936         * RELEASE:
3937         * gstreamer.doap:
3938           Merge other changes from 0.10.19 release branch.
3939
3940 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3941
3942         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3943
3944         * configure.ac:
3945         Actually build dlls when cross-compiling with mingw32.
3946         Fixes bug #526247.
3947
3948 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3949
3950         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3951
3952         * gst/gstpoll.c:
3953         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3954
3955 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3956
3957         * docs/design/draft-latency.txt:
3958         Fix typo.
3959
3960         * docs/design/part-buffering.txt:
3961         Update design docs with more buffering ideas.
3962
3963 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3964
3965         * configure.ac:
3966           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3967
3968 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3969
3970         * configure.ac:
3971           Revert part that belongs to the preset patch.
3972
3973 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3974
3975         * configure.ac:
3976           Add qoutes to the define. Fixes # 525961.
3977
3978 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3979
3980         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3981         (gst_file_index_load), (gst_file_index_add_id),
3982         (gst_file_index_get_assoc_entry):
3983         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3984         (gst_mem_index_free_id), (gst_mem_index_add_id),
3985         (gst_mem_index_index_format):
3986         Use GSlice when possible.
3987
3988 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3989
3990         * libs/gst/controller/gstinterpolationcontrolsource.c:
3991         (gst_control_point_free),
3992         (gst_interpolation_control_source_set_internal):
3993         Use GSlice for allocating the control points.
3994
3995 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3996
3997         * plugins/elements/gsttypefindelement.c:
3998         (gst_type_find_element_class_init),
3999         (gst_type_find_element_set_property),
4000         (gst_type_find_element_get_property),
4001         (gst_type_find_element_activate):
4002         * plugins/elements/gsttypefindelement.h:
4003         Cleanup properties.
4004         Fix pad leak when peer query fails.
4005         We can still typefind when the peer returns -1.
4006         Add property to force caps and bypass typefinding. This will be used in
4007         uridecodebin.
4008         API::force-caps
4009
4010 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4011
4012         * configure.ac:
4013         Require GLib 2.12.
4014
4015         * gst/glib-compat-private.h:
4016         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4017         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4018         Unconditionally use GSlice for allocation.
4019
4020         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4021         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4022         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4023         (gst_structure_free):
4024         Use GSlice for allocation.
4025
4026 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4027
4028         * gst/parse/Makefile.am:
4029         * gst/parse/grammar.tab.pre.c:
4030         * gst/parse/grammar.tab.pre.h:
4031         * gst/parse/lex._gst_parse_yy.pre.c:
4032         Require a new enough flex and bison and remove the parser hacks to use
4033         a pre-regenerated version.
4034
4035 2008-04-01  Julien Moutte  <julien@fluendo.com>
4036
4037         patch by: Jason Zhao <E3423C@motorola.com>
4038
4039         * configure.ac: Add a configure switch to disable option parsing
4040         in gst_init.
4041         Fixes #522882.
4042
4043 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4044
4045         * configure.ac:
4046         * gst/gstregistry.c:
4047           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4048           and handle this case.
4049
4050         * gst/gst.c:
4051           Add a comment here describing, why we stat each plugin and not try to
4052           be smart.
4053
4054 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4055
4056         * libs/gst/base/gstbasetransform.c:
4057         (gst_base_transform_prepare_output_buffer):
4058         Also unset the GAP flag on buffers if we're working inplace but
4059         the element is not GAP-aware.
4060
4061         Mark a comment as FIXME 0.11.
4062
4063 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4064
4065         * gst/gst.c:
4066           Fix type in log message and add one to ease seeing how long registry
4067           cache verification takes.
4068
4069         * gst/gstregistry.c:
4070           Only test plugin filenames against G_MODULE_SUFFIX.
4071
4072 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4073
4074         * gst/gstdebugutils.c:
4075           Improve handling ghost/proxy pads.
4076
4077 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4078
4079         * docs/gst/gstreamer-sections.txt:
4080         * gst/gstpad.c:
4081         * gst/gstpad.h:
4082           Expose macro to docs and fix link to it.
4083
4084 2008-03-27  Michael Smith <msmith@fluendo.com>
4085
4086         * libs/gst/dataprotocol/dataprotocol.c:
4087         (gst_dp_packet_from_event_1_0):
4088           When calculating GDP body CRC, use the correct pointer. 
4089           Fixes part of #522401.
4090
4091 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4092
4093         Patch by: Mark Nauwelaerts <manauw at skynet be>
4094
4095         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4096         (gst_identity_init), (gst_identity_prepare_output_buffer):
4097         Identity is not always a passthrough element, it can modify the buffer
4098         timestamps when it has a datarate and operates in single-segment mode.
4099         We therefore make it an in_place filter with a custom buffer prepare
4100         function that conditionally makes the input buffer metadata writable
4101         when needed.  Fixes #523985.
4102
4103 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4104
4105         Patch by: Mark Nauwelaerts <manauw at skynet be>
4106
4107         * gst/gstclock.h:
4108         * libs/gst/base/gstbasesrc.h:
4109         * libs/gst/base/gstbasetransform.c:
4110         * libs/gst/check/gstcheck.c:
4111         Small documentation fixes. Fixes #523978.
4112
4113 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4114
4115         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4116         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4117         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4118
4119 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4120
4121         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4122         (single_queue_underrun_cb):
4123         When trying to make room in the queue, bump the max allowed buffers
4124         bigger than the current amount of buffers in the queue. this fixes some
4125         nasty deadlocks in multiqueue when dynamically changing the limits of
4126         the queue.
4127
4128 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4129
4130         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4131
4132         * gst/gstcaps.c: (gst_caps_set_simple),
4133         (gst_caps_set_simple_valist), (gst_caps_intersect):
4134         * gst/gstcaps.h:
4135         Constify the field gchar * params in set_simple and friends.
4136         Fixes #522326.
4137
4138 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4139
4140         * gst/gstvalue.c: (gst_value_transform_object_string):
4141         Transform a GstObject to a more meaningfull string that includes the
4142         object type in addition to its name.
4143
4144 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4145
4146         * ChangeLog:
4147           ChangeLog surgery to add bugnumber to commit.
4148
4149 2008-03-23  Rene Stadler  <mail@renestadler.de>
4150
4151         * libs/gst/base/gstbasetransform.c:
4152         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4153
4154 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4155
4156         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4157         Rename constant everywhere and don't forget one occurence.
4158
4159 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4160
4161         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4162         Align memory to the pointer size even if the architecture allows
4163         unaligned memory access. Unaligned memory access usually comes with
4164         performance penality.
4165
4166 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4167
4168         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4169         (gst_registry_binary_check_magic),
4170         (gst_registry_binary_load_pad_template),
4171         (gst_registry_binary_load_feature),
4172         (gst_registry_binary_load_plugin):
4173         Align memory to the pointer size instead of always 32 bit. Fixes
4174         unaligned memory accesses on ia64 and friends.
4175
4176         * gst/gstregistrybinary.h:
4177         Bump binary registry format version for this as it changes the
4178         format on those architectures that don't have unaligned access
4179         and 64 bit pointers.
4180
4181 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4182
4183         * docs/pwg/advanced-dparams.xml:
4184         * docs/pwg/building-props.xml:
4185         * docs/pwg/other-source.xml:
4186         * gst/glib-compat.h:
4187         * gst/gstbin.c: (gst_bin_class_init):
4188         * gst/gstclock.c: (gst_clock_class_init):
4189         * gst/gstindex.c: (gst_index_class_init):
4190         * gst/gstobject.c: (gst_object_class_init):
4191         * gst/gstpad.c: (gst_pad_class_init):
4192         * gst/gstpipeline.c: (gst_pipeline_class_init):
4193         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4194         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4195         * libs/gst/base/gstbasetransform.c:
4196         (gst_base_transform_class_init):
4197         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4198         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4199         (_gst_check_fault_handler_sighandler),
4200         (_gst_check_fault_handler_setup), (gst_check_init):
4201         * libs/gst/controller/gstcontroller.c:
4202         (_gst_controller_class_init):
4203         * libs/gst/controller/gstlfocontrolsource.c:
4204         (gst_lfo_control_source_class_init):
4205         * libs/gst/net/gstnetclientclock.c:
4206         (gst_net_client_clock_class_init):
4207         * libs/gst/net/gstnettimeprovider.c:
4208         (gst_net_time_provider_class_init):
4209         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4210         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4211         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4212         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4213         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4214         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4215         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4216         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4217         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4218         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4219         * plugins/elements/gsttee.c: (gst_tee_class_init):
4220         * plugins/elements/gsttypefindelement.c:
4221         (gst_type_find_element_class_init):
4222         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4223         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4224         use it everywhere for GParamSpecs that use static strings (i.e. all).
4225         This gives us less memory usage, fewer allocations and thus less
4226         memory defragmentation. Fixes bug #523806.
4227
4228 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4229
4230         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4231         (gst_param_spec_mini_object):
4232         * gst/gstminiobject.h:
4233         * win32/common/libgstreamer.def:
4234         * docs/gst/gstreamer-sections.txt:
4235         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4236         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4237         GstParamSpecMiniObject into a public header for this.
4238
4239         This make GstMiniObject a bit more consistent with GObject and makes
4240         it possible to extend the param specs.
4241
4242         gst_value_dup_mini_object is mainly useful for set_property methods.
4243
4244         Fixes bug #523798.
4245
4246         * tools/gst-inspect.c: (print_element_properties_info):
4247         Print something useful for GstMiniObject properties and not just
4248         "unknown type".
4249
4250 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4251
4252         * docs/gst/gstreamer-sections.txt:
4253         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4254         (gst_registry_binary_check_magic):
4255         * gst/gstregistrybinary.h:
4256         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4257         and add it to the (private part) of the docs to fix the build.
4258
4259 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4260
4261         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4262         (gst_registry_binary_check_magic),
4263         (gst_registry_binary_read_cache):
4264         * gst/gstregistrybinary.h:
4265         Don't use GST_MAJORMINOR for the binary registry version. Instead
4266         hardcode a value that must be changed whenever the format changes
4267         in an incompatible way.
4268         Also don't GST_ERROR when there is a version mismatch, just
4269         regenerate the registry silently.
4270
4271 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4272
4273         * configure.ac:
4274         Back to development - 0.10.18.1
4275
4276 === release 0.10.18 ===
4277
4278 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4279
4280         * configure.ac:
4281           releasing 0.10.18, "So far away"
4282
4283 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4284
4285         * configure.ac:
4286         * win32/common/config.h:
4287         0.10.17.4 pre-release
4288
4289 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4290
4291         Patch by: Ole André Vadla Ravnås
4292             <ole dot andre dot ravnas at tandberg dot com>
4293
4294         * docs/gst/gstreamer-sections.txt:
4295         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4296         (gst_poll_update_winsock_event_mask),
4297         (gst_poll_prepare_winsock_active_sets),
4298         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4299         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4300         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4301         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4302         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4303         * gst/gstpoll.h:
4304         * win32/common/libgstreamer.def:
4305         Add new function gst_poll_fd_ignored() for improved Windows
4306         compatibility.
4307         Various minor fixes and cleanups. See #520808.
4308
4309 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4310
4311         * gst/gstindex.c: (gst_index_entry_free):
4312         * gst/gstindex.h:
4313           Don't free key strings which we don't own. Fixes crash in
4314           gst_index_entry_free() (#522741).
4315
4316         * tests/check/Makefile.am:
4317         * tests/check/gst/.cvsignore:
4318         * tests/check/gst/gstindex.c: (test_index_entries),
4319           (gst_index_suite), (gst_index):
4320           Add unit test for the above.
4321
4322 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4323
4324         * win32/common/libgstreamer.def:
4325         Remove symbols that were removed recently. Fixes bug #521740.
4326
4327 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4328
4329         * configure.ac:
4330         * win32/common/config.h:
4331         0.10.17.3 pre-release
4332
4333 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4334
4335         Patch by: Ole André Vadla Ravnås
4336             <ole dot andre dot ravnas at tandberg dot com>
4337
4338         * docs/gst/gstreamer-sections.txt:
4339         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4340         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4341         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4342         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4343         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4344         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4345         (gst_poll_fd_can_write), (gst_poll_wait),
4346         (gst_poll_set_controllable), (gst_poll_restart),
4347         (gst_poll_set_flushing):
4348         * gst/gstpoll.h:
4349         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4350         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4351         (gst_net_time_provider_new):
4352         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4353         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4354         * tests/benchmarks/gstpollstress.c: (main):
4355         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4356         Remove GstPollMode from the API, it does not make sense to let the
4357         application control this.
4358         Add support for Win32.
4359         Fix the testsuite. Fixes #520671.
4360
4361 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         Patch by: Ole André Vadla Ravnås
4364             <ole dot andre dot ravnas at tandberg dot com>
4365
4366         * gst/gstregistrybinary.c:
4367         Include io.h for write() and close() when building with MSVC. Fixes
4368         bug #520877.
4369
4370 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4371
4372         * configure.ac:
4373         * gst/gst_private.h:
4374         * gst/gstconfig.h.in:
4375         * gst/gstregistry.h:
4376         * gst/gstregistrybinary.c:
4377         * win32/common/gstconfig.h:
4378           Move registry backend API to private headers where we can. Add
4379           fixme-0.11 comments for the others. Add stubs for the xml backend when
4380           using the binary to ensure they functions exists (they should not be
4381           used though). Fixes #520756.
4382
4383 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4384
4385         * configure.ac:
4386         * win32/common/config.h:
4387         0.10.17.2 prelease
4388
4389 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4390
4391         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4392         (gst_registry_binary_read_cache):
4393         * gst/gstregistryxml.c: (gst_registry_save):
4394         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4395         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4396         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4397         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4398         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4399         Fixes #520152
4400
4401 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4402
4403         * gst/gstminiobject.c:
4404         Import gst_private.h before any other header that might include other
4405         glib headers. This fixes the build on windows using native compilers.
4406
4407 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * win32/common/gstconfig.h:
4410           Add here too, just for completeness.
4411
4412 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * configure.ac:
4415         * gst/gstconfig.h.in:
4416         * gst/gstregistry.h:
4417           Fix broken use of config.h-defined preprocessor directive in a public
4418           header file. Add a corresponding define to gstconfig.h, since we can't
4419           really remove those function declarations from the header file now
4420           (or can we? and why are they there in the first place?).
4421
4422 2008-03-03  Andy Wingo  <wingo@pobox.com>
4423
4424         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4425         the new warning.
4426
4427         * gst/gststructure.c (gst_structure_from_string): Warn if
4428         structure_from_string didn't consume the whole string, but the
4429         caller did not provide an end pointer.
4430
4431 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4434
4435         * gst/gstregistryxml.c: (read_string), (load_feature):
4436           Strings allocated by libxml2 should be freed with xmlFree(), not
4437           with g_free(). Fixes issues on windows in certain contexts (#519698).
4438
4439 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * gst/gstinterface.c: (gst_element_implements_interface):
4442           Don't crash if the element supports the interface queried, but does
4443           not implement GstImplementsInterface. Fixes #519584.
4444
4445         * tests/check/Makefile.am:
4446         * tests/check/gst/.cvsignore:
4447         * tests/check/gst/gstinterface.c:
4448           Add unit test for the above.
4449
4450 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4451
4452         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4453         Small doc update.
4454
4455 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4456
4457         * gst/gstsegment.c: (gst_segment_set_seek),
4458         (gst_segment_to_stream_time):
4459         Improve some comment.
4460         Update variables where it makes more sense.
4461
4462 2008-02-29  Rene Stadler  <mail@renestadler.de>
4463
4464         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4465         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4466         URIHandlers implemented using language bindings.
4467
4468 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4469
4470         * gst/gstelementfactory.h:
4471         * tests/check/elements/fakesink.c:
4472         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4473         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4474         * tests/check/elements/filesink.c: (setup_filesink):
4475         * tests/check/elements/filesrc.c: (setup_filesrc):
4476         * tests/check/elements/identity.c: (setup_identity):
4477         * tests/check/elements/tee.c:
4478         * tests/check/generic/sinks.c:
4479         * tests/check/generic/states.c: (setup), (teardown):
4480         * tests/check/gst/gst.c:
4481         * tests/check/gst/gstabi.c:
4482         * tests/check/gst/gstbin.c:
4483         * tests/check/gst/gstbus.c: (pull_messages):
4484         * tests/check/gst/gstcaps.c:
4485         * tests/check/gst/gstelement.c:
4486         * tests/check/gst/gstevent.c:
4487         * tests/check/gst/gstghostpad.c:
4488         * tests/check/gst/gstiterator.c:
4489         * tests/check/gst/gstmessage.c:
4490         * tests/check/gst/gstminiobject.c: (my_foo_init):
4491         * tests/check/gst/gstobject.c: (thread_name_object),
4492         (gst_object_suite):
4493         * tests/check/gst/gstpad.c:
4494         * tests/check/gst/gstplugin.c:
4495         * tests/check/gst/gstpoll.c:
4496         * tests/check/gst/gstquery.c:
4497         * tests/check/gst/gstsegment.c:
4498         * tests/check/gst/gststructure.c:
4499         * tests/check/gst/gstsystemclock.c:
4500         * tests/check/gst/gsttask.c:
4501         * tests/check/gst/gstutils.c:
4502         * tests/check/gst/gstvalue.c:
4503         * tests/check/gst/struct_hppa.h:
4504         * tests/check/gst/struct_i386.h:
4505         * tests/check/gst/struct_ppc32.h:
4506         * tests/check/gst/struct_ppc64.h:
4507         * tests/check/gst/struct_x86_64.h:
4508         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4509         * tests/check/libs/basesrc.c:
4510         * tests/check/libs/controller.c: (GST_START_TEST):
4511         * tests/check/libs/gdp.c:
4512         * tests/check/libs/gstnetclientclock.c:
4513         * tests/check/libs/gstnettimeprovider.c:
4514         * tests/check/libs/libsabi.c:
4515         * tests/check/libs/struct_hppa.h:
4516         * tests/check/libs/struct_i386.h:
4517         * tests/check/libs/struct_ppc32.h:
4518         * tests/check/libs/struct_ppc64.h:
4519         * tests/check/libs/struct_x86_64.h:
4520         * tests/check/pipelines/cleanup.c:
4521         * tests/check/pipelines/simple-launch-lines.c:
4522         * tests/check/pipelines/stress.c:
4523         And correct even more valid sparse warnings.
4524
4525         * win32/common/libgstreamer.def:
4526         Add gst_poll_fd_init to the list of symbols.
4527
4528 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4529
4530         * gst/gstconfig.h.in:
4531         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4532         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4533         (gst_check_log_critical_func), (gst_check_drop_buffers),
4534         (gst_check_element_push_buffer_list):
4535         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4536         (gst_controller_get_type):
4537         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4538         (gst_object_get_controller), (gst_object_get_control_source):
4539         * libs/gst/controller/gstinterpolationcontrolsource.c:
4540         (gst_interpolation_control_source_new):
4541         * libs/gst/controller/gstlfocontrolsource.c:
4542         (gst_lfo_control_source_new):
4543         * libs/gst/dataprotocol/dataprotocol.c:
4544         (gst_dp_event_from_packet_0_2):
4545         * plugins/elements/gstfdsrc.c:
4546         * plugins/elements/gstmultiqueue.c:
4547         * plugins/elements/gsttee.c:
4548         * plugins/elements/gsttypefindelement.c:
4549         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4550         (gst_file_index_add_association):
4551         * plugins/indexers/gstmemindex.c:
4552         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4553         * tests/check/elements/queue.c: (setup_queue):
4554         * tests/check/gst/gstpipeline.c:
4555         * tests/check/libs/collectpads.c: (setup), (teardown),
4556         (gst_collect_pads_suite):
4557         * tests/examples/adapter/adapter_test.c:
4558         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4559         * tests/examples/xml/createxml.c:
4560         * tests/examples/xml/runxml.c:
4561         * tools/gst-inspect.c:
4562         * tools/gst-run.c:
4563         Correct all relevant warnings found by the sparse semantic code
4564         analyzer. This include marking several symbols static, using
4565         NULL instead of 0 for pointers, not using variable sized arrays
4566         on the stack, moving variable declarations to the beginning of
4567         a block and using "foo (void)" instead of "foo ()" for declarations.
4568
4569 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4570
4571         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4572         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4573         Don't reset GstPollFDs, this is not necessary at all.
4574
4575         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4576         (delayed_restart), (delayed_control):
4577         Use GST_POLL_FD_INIT.
4578
4579 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4580
4581         * gst/gstpoll.c: (gst_poll_fd_init):
4582         * gst/gstpoll.h:
4583         Added Since tags.
4584
4585         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4586         Use some more init macros.
4587
4588 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4589
4590         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4591         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4592         Use init macros and functions.
4593
4594 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4595
4596         * docs/gst/gstreamer-sections.txt:
4597         * gst/gstpoll.c: (gst_poll_fd_init):
4598         * gst/gstpoll.h:
4599         Add INIT macro and _init method for initializing the GstPollFD.
4600
4601 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4602
4603         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4604         (gst_fd_sink_update_fd):
4605         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4606         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4607         (delayed_restart), (delayed_control):
4608         Initialize some uninitialized variables as spotted by valgrind.
4609
4610 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4611
4612         * tests/benchmarks/Makefile.am:
4613         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4614         (main):
4615         Add poll stress test.
4616
4617 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4618
4619         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4620
4621         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4622         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4623         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4624         * plugins/elements/gstfdsink.h:
4625         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4626         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4627         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4628         (gst_fd_src_uri_set_uri):
4629         * plugins/elements/gstfdsrc.h:
4630         Port to GstPoll. See #505417.
4631
4632 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4633
4634         * win32/common/libgstreamer.def:
4635         Add new gst_poll_ symbols to win32 defs.
4636
4637 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4638
4639         * docs/libs/gstreamer-libs-sections.txt:
4640         * libs/gst/net/gstnetclientclock.c:
4641         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4642         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4643         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4644         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4645         * libs/gst/net/gstnetclientclock.h:
4646         * libs/gst/net/gstnettimeprovider.c:
4647         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4648         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4649         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4650         (gst_net_time_provider_new):
4651         * libs/gst/net/gstnettimeprovider.h:
4652         Use a private stuct to not break ABI.
4653
4654 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4655
4656         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4657
4658         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4659         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4660         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4661         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4662         * libs/gst/net/gstnetclientclock.h:
4663         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4664         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4665         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4666         (gst_net_time_provider_new):
4667         * libs/gst/net/gstnettimeprovider.h:
4668         Massive code removal and cleanups because of GstPoll.
4669         Fixes #505417.
4670
4671 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4672
4673         * configure.ac:
4674         Add checks for poll, ppoll and pselect.
4675
4676         * docs/gst/gstreamer-docs.sgml:
4677         * docs/gst/gstreamer-sections.txt:
4678         Add docs for GstPoll.
4679
4680         * gst/Makefile.am:
4681         * gst/gst.h:
4682         * gst/gstpoll.c: (find_index), (selectable_fds),
4683         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4684         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4685         (gst_poll_set_mode), (gst_poll_get_mode),
4686         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4687         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4688         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4689         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4690         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4691         (gst_poll_fd_can_write), (gst_poll_wait),
4692         (gst_poll_set_controllable), (gst_poll_restart),
4693         (gst_poll_set_flushing):
4694         * gst/gstpoll.h:
4695         Add generic poll abstraction. We ideally don't want to have this in core
4696         here but in glib intead...
4697         This code will be used in various network elements and ultimately for
4698         the nanosecond precision monotonic clock (that's why it's here in core).
4699         It'll allow us to implement cancelable socket operations for windows too.
4700
4701         * tests/check/Makefile.am:
4702         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4703         (delayed_stop), (delayed_restart), (delayed_flush),
4704         (delayed_control), (gst_poll_suite):
4705         Add GstPoll unit test.
4706
4707 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4708
4709         * gst/gstfilter.c:
4710           Improve documentation of gst_filter_run(). Fixes #518627.
4711
4712 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * docs/README:
4715           Add a few lines about the new 'check-inspected-versions' target.
4716
4717 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4718
4719         * tests/check/gst/gstevent.c:
4720           Add qos to the event test. Rename tcase/tsuite; is not only about
4721           custom events.
4722
4723 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4724
4725         * plugins/elements/gstqueue.c:
4726           Ensure that buffer metadata is writeable, before modifying. Spotted by
4727           Mike.
4728
4729 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4730
4731         * plugins/elements/gstqueue.c:
4732         * plugins/elements/gstqueue.h:
4733           When dropping buffers in leaky modes, mark next buffers we sent as
4734           DISCONT.
4735
4736 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4737
4738         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4739           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4740
4741 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4742
4743         * plugins/elements/Makefile.am:
4744         * plugins/elements/gstbufferstore.c:
4745         * plugins/elements/gstbufferstore.h:
4746         * plugins/elements/gsttypefindelement.h:
4747           Remove GstBufferStore, no idea why we were still building it.
4748           It's not used anywhere and superseded by GstAdapter.
4749
4750         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4751           (gst_file_src_create_mmap):
4752         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4753           Printf format fixes for 64-bit integers.
4754
4755 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4756
4757         * configure.ac:
4758         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4759         We're not in 0.8 times anymore.
4760
4761 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4762
4763         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4764         (gst_check_element_push_buffer_list):
4765         * libs/gst/check/gstcheck.h:
4766         Make the declaration in the header for
4767         gst_check_element_push_buffer_list match the implementation.
4768
4769         Fix up spelling, grammar and wording of the documentation in a few
4770         places, and add the Since keyword to new API functions.
4771         Use g_list_delete_link instead of g_list_remove in
4772         gst_check_drop_buffers, since it's immeasurably more efficient.
4773
4774         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4775         Use new gst_check_drop_buffers function where appropriate.
4776
4777         * win32/common/libgstbase.def:
4778         * win32/common/libgstreamer.def:
4779         Add new symbols gst_collect_pads_take_buffer, 
4780         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4781         exports
4782
4783         Changelog surgery to add API keyword to new gst_check API.
4784
4785 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4786
4787         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4788         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4789         Update pre-generated flex files with flex 2.3.34.
4790
4791 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4792
4793         * gst/gstminiobject.c:
4794           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4795           friendly to subclasses and not require them to know all internals
4796           of their parent class.
4797
4798 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4799
4800         * docs/libs/gstreamer-libs-sections.txt:
4801         * libs/gst/base/gstcollectpads.c:
4802         * libs/gst/base/gstcollectpads.h:
4803           Add sub-buffer functions to collectpads. Fixes #516187.
4804           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4805
4806 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4807
4808         * gst/gstbuffer.c:
4809           Copy selected buffer-flags when creating subbuffers.
4810           Fixes #516395.
4811
4812 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4813
4814         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4815         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4816         * gst/gstmessage.c: (gst_message_class_init),
4817         (gst_message_finalize):
4818         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4819         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4820         (gst_mmap_buffer_finalize):
4821         Properly chain up finalize functions to the parent class.
4822
4823 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4824
4825         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4826
4827         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4828         (gst_index_set_resolver_full):
4829         * gst/gstindex.h:
4830         Add new function with option to dispose of user_data in resolver.
4831         Actually call the dispose function when finalizing the object and not
4832         just when changing the resolver/filter.
4833         API: GstIndex::gst_index_set_resolver_full()
4834
4835         * docs/gst/gstreamer-sections.txt:
4836         Add new function to docs. Fixes #515469.
4837
4838 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4839
4840         * gst/gstindex.c: (gst_index_finalize):
4841         Chain up finalize to the parent class. Fixes leaking the GstObject
4842         name and other things.
4843
4844 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4845
4846         * configure.ac:
4847         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4848         pre-releases or releases.
4849
4850         * docs/faq/gst-uninstalled:
4851         Add gst-plugins-gl
4852
4853         * docs/random/release:
4854         Change one of the steps - we only upload core & base to Gnome FTP
4855
4856 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4857
4858         * gst/gstconfig.h.in:
4859           Add 'id' for example.
4860
4861         * gst/gstpad.c:
4862         * gst/gstutils.c:
4863         * plugins/elements/gstfdsink.c:
4864           Link to signals. Doc and comment fixes.
4865
4866 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4867
4868         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4869         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4870           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4871           unused and unimplemented; finally, it is plugin features, not
4872           plugins, that have ranks.
4873           
4874 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4875
4876         * gst/gstpluginfeature.h:
4877           Clarify GstRank range docs.
4878
4879 2008-02-05  David Schleef  <ds@schleef.org>
4880
4881         * gst/gst.c: Add a separate gst_deinitialized that prevents
4882           gst_init() from being called after gst_deinit().  Fixes #509559
4883
4884 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4885
4886         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4887         (gst_bin_class_init):
4888         * gst/gstelement.c: (gst_element_base_class_init),
4889         (gst_element_class_add_pad_template):
4890         * gst/gstpadtemplate.c: (gst_pad_template_init):
4891         * gst/gstpipeline.c: (gst_pipeline_get_type),
4892         (gst_pipeline_base_init), (gst_pipeline_class_init):
4893         * libs/gst/base/gstbasesink.c:
4894         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4895         (gst_base_src_base_init), (gst_base_src_class_init):
4896         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4897         (gst_capsfilter_class_init):
4898         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4899         (gst_fake_sink_class_init):
4900         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4901         (gst_fake_src_class_init):
4902         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4903         (gst_fd_sink_class_init):
4904         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4905         (gst_fd_src_class_init):
4906         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4907         (gst_file_sink_class_init):
4908         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4909         (gst_file_src_class_init):
4910         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4911         (gst_identity_class_init):
4912         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4913         (gst_multi_queue_class_init):
4914         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4915         (gst_queue_class_init):
4916         * plugins/elements/gsttee.c: (gst_tee_base_init),
4917         (gst_tee_class_init):
4918         * plugins/elements/gsttypefindelement.c:
4919         (gst_type_find_element_base_init),
4920         (gst_type_find_element_class_init):
4921         * tests/check/gst/gstelement.c: (gst_element_suite):
4922         Revert previous changes to the behaviour of GstPadTemplates, etc
4923         and the possiblity to call them in class_init as it breaks too
4924         many elements. Reopens bug #491501.
4925
4926         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4927         several places.
4928
4929 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4930
4931         * tools/gst-launch.c:
4932         Dump one graph per pipeline state-change and state change name
4933         (if GST_DEBUG_DUMP_DOT_DIR is set).
4934
4935 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4936
4937         * gst/gstpad.c:
4938         * tests/check/gst/gstpad.c:
4939         Be sure that we have a new copy of the caps and not
4940         reffed caps from a template
4941
4942 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4943
4944         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4945         * gst/gstpipeline.c: (gst_pipeline_get_type),
4946         (gst_pipeline_class_init):
4947         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4948         (gst_base_sink_class_init):
4949         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4950         (gst_base_src_class_init):
4951         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4952         (gst_base_transform_class_init):
4953         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4954         (gst_collect_pads_class_init):
4955         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4956         * libs/gst/net/gstnettimeprovider.c:
4957         (gst_net_time_provider_base_init),
4958         (gst_net_time_provider_class_init):
4959         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4960         (gst_capsfilter_class_init):
4961         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4962         (gst_fake_sink_class_init):
4963         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4964         (gst_fake_src_class_init):
4965         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4966         (gst_fd_sink_class_init):
4967         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4968         (gst_fd_src_class_init):
4969         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4970         (gst_file_sink_class_init):
4971         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4972         (gst_file_src_class_init):
4973         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4974         (gst_identity_class_init):
4975         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4976         (gst_multi_queue_class_init):
4977         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4978         (gst_queue_class_init):
4979         * plugins/elements/gsttee.c: (gst_tee_base_init),
4980         (gst_tee_class_init):
4981         * plugins/elements/gsttypefindelement.c:
4982         (gst_type_find_element_base_init),
4983         (gst_type_find_element_class_init):
4984         Don't use base_init where not absolutely necessary. For example it's
4985         not necessary anymore for adding pad templates or setting element
4986         details.
4987
4988         Leave empty base_init functions in several places as GST_BOILERPLATE
4989         still defines and uses them.
4990
4991 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4992
4993         * gst/gstelement.c: (gst_element_base_class_init),
4994         (gst_element_class_add_pad_template):
4995         * gst/gstpadtemplate.c:
4996         Make it possible (and recommended) to set element details and add
4997         pad templates in the class_init functions by copying the details/pad
4998         templates in GstElement's base_init.
4999
5000         Also make it possible to replace existing pad templates by adding
5001         a new one with the same name. This was done in a hackish fashion
5002         in same elements before already.
5003
5004         Don't reference pad templates that are added a second time. A
5005         new pad template has a refcount of one and is not floating anymore
5006         and to be owned by the element's class. Make this more explicit by
5007         mentioning it in the docs of gst_element_class_add_pad_template().
5008
5009         These changes are backwards compatible. Fixes bug #491501.
5010
5011         * tests/check/gst/gstelement.c:
5012         Add unit test for setting element details, adding pad templates and
5013         replacing them in a subclass.
5014
5015 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5016
5017         * tools/gst-inspect.c: (print_interfaces),
5018         (print_element_properties_info), (print_pad_info),
5019         (print_signal_info), (print_element_info):
5020         Fix a few memory leaks.
5021
5022 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5023
5024         * docs/libs/gstreamer-libs-sections.txt:
5025         * libs/gst/check/gstcheck.c:
5026         * libs/gst/check/gstcheck.h:
5027         Add more functions for unit testing: gst_check_drop_buffers,
5028         gst_check_caps_equal, gst_check_element_push_buffer_list,
5029         gst_check_element_push_buffer
5030         API: gst_check_drop_buffers
5031         API: gst_check_caps_equal
5032         API: gst_check_element_push_buffer_list
5033         API: gst_check_element_push_buffer
5034
5035 2008-02-01  Julien Moutte  <julien@fluendo.com>
5036
5037         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5038         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5039         (gst_index_finalize), (gst_index_entry_free),
5040         (gst_index_add_association): Fix memory leaks.
5041         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5042         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5043         (gst_mem_index_free_format), (gst_mem_index_free_id),
5044         (gst_mem_index_finalize): Fix memory leaks.
5045         * win32/common/config.h: Updated to CVS HEAD.
5046
5047 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5048
5049         * docs/README:
5050           Some more details about how the plugin docs works.
5051
5052         * docs/plugins/gstreamer-plugins-sections.txt:
5053           Whitespace cleanup.
5054
5055 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5056
5057         * gst/parse/grammar.tab.pre.c:
5058         * gst/parse/grammar.tab.pre.h:
5059         * gst/parse/grammar.y:
5060         * gst/parse/lex._gst_parse_yy.pre.c:
5061           Add delayed set-property. This allows to set properties on dynamicaly
5062           created objects (pads in videomxer). Fixes #509391.
5063
5064 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5065
5066         * gst/gstutils.c:
5067         Check if caps are not NULL (fix bug #510194)
5068
5069 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5070
5071         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5072         (gst_base_sink_get_position_paused):
5073         Add fixme regarding EOS in pull mode.
5074         Fix position reporting in PAUSED for negative rates.
5075
5076 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5077
5078         * gst/gstminiobject.c: (gst_mini_object_replace):
5079         When replacing a miniobject, do a quick equality check first so that we
5080         can avoid a ref/unref pair.
5081
5082 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5083
5084         * docs/design/part-synchronisation.txt:
5085         Update some docs.
5086
5087         * docs/plugins/Makefile.am:
5088         * docs/plugins/gstreamer-plugins-docs.sgml:
5089         * docs/plugins/gstreamer-plugins-sections.txt:
5090         * plugins/elements/gstmultiqueue.c:
5091         Add multiqueue to the docs.
5092
5093 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5094
5095         * configure.ac:
5096           Back to CVS
5097
5098 === release 0.10.17 ===
5099
5100 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5101
5102         * configure.ac:
5103           releasing 0.10.17, "Due Negligence"
5104
5105 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5106
5107         * gst/gstutils.c:
5108         Revert caps != NULL check temporarily for 0.10.17 release.
5109
5110 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5111
5112         * gst/gstutils.c:
5113         Check if caps are not NULL (fix bug #510194)
5114
5115 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5116
5117         * gst/gstutils.c:
5118         Fix compilation on systems that have posix timers but no
5119         monotonic clock.
5120         Fixes: #512715
5121         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5122         dot net>
5123
5124 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5125
5126         * tools/gst-inspect.c:
5127         Revert previous commit in preparation for an impromptu 0.10.17 release
5128
5129 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5130
5131         * tools/gst-inspect.c: (print_interfaces),
5132         (print_element_properties_info), (print_pad_info),
5133         (print_signal_info), (print_element_info):
5134         Fix a few memory leaks.
5135
5136 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5137
5138         * configure.ac:
5139         Back to CVS
5140
5141 === release 0.10.16 ===
5142
5143 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5144
5145         * configure.ac:
5146           releasing 0.10.16, "Special Dispensation"
5147
5148 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5149
5150         * configure.ac:
5151           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5152           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5153           not fail when trying to crosscompile on OpenEmbedded (#511750).
5154
5155 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5156
5157         * docs/manuals.mak:
5158         Use $(MAKE) instead of make to fix the build if GNU make is
5159         called different. Fixes bug #510747.
5160
5161 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5162
5163         * gst/gstplugin.c: (_gst_plugin_initialize):
5164           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5165           again, which I broke two commits ago when changing the API
5166           of gst_plugin_register_static(): the g_list_foreach() in
5167           _gst_plugin_register_static still assumed the old function
5168           signature and would therefore fail (re-fixes #510187).
5169
5170         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5171           (_gst_plugin_register_static), (gst_plugin_register_static):
5172           Revert the (technically correct) change to call g_thread_init() from
5173           the pre-main() constructor. This will break programs which call
5174           g_thread_init() without an if (!g_thread_supported()) guard in their
5175           main function. We could just blame it on GLib or the application, but
5176           it's probably best to just avoid this altogether and simply not use
5177           any GLib functions here and use plain old malloc() with a simple
5178           array to store the plugins to register later when gst_init() is
5179           finally called (re-fixes #510187).
5180
5181         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5182           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5183           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5184           (GST_START_TEST), (gst_plugin_suite):
5185           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5186           works.
5187
5188 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5191           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5192           This makes gtk-doc complain, but results in slightly better
5193           compiler errors. The old _gst_plugin_register_static() is
5194           still guarded, so there'll be a compiler warning about that
5195           instead. Fixes #510187 too.
5196
5197 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5198
5199         * gst/gst.c: (init_post):
5200         * gst/gstplugin.c: (_gst_plugin_register_static),
5201           (gst_plugin_register_static), (_gst_plugin_initialize):
5202         * gst/gstplugin.h: (GstPluginFilter):
5203           Change API of gst_plugin_register_static() to not take
5204           a GstPluginDesc, but rather just take all the arguments
5205           in a GstPluginDesc directly. This is more intuitive and
5206           avoids certain mistakes when porting code from
5207           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5208           Fixes #510187.
5209
5210         * tests/check/gst/gstplugin.c:
5211           Fix up for changed API.
5212
5213 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5214
5215         * docs/faq/legal.xml:
5216           Update FAQ, Totem actually has an exception these days.
5217
5218 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5219
5220         * win32/common/libgstreamer.def:
5221         Add new API declarations
5222
5223 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5224
5225         * gst/gstminiobject.c:
5226           Spelling fixes for the API docs.
5227
5228 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5229
5230         * libs/gst/base/gstbasetransform.c:
5231           Fix long property description for QoS.
5232
5233 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5234
5235         * gst/gst.c:
5236         _gst_trace_on is already provided by gsttrace.h, no need to declare
5237         it ourselves.
5238
5239         * docs/libs/gstreamer-libs-sections.txt:
5240         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5241         and remove strange tcase_add_test which is outputting a warning.
5242
5243         * libs/gst/check/gstcheck.c:
5244         * libs/gst/check/gstcheck.h:
5245         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5246         and define them in gstcheck.c instead of having every .c file whcih
5247         includes gstcheck.h be defining its own copy and relying on symbol
5248         interposing to marry them all, which doesn't work on Solaris.
5249
5250         * tests/check/elements/identity.c: (GST_START_TEST):
5251         Don't define 'buffers' locally, it comes from libgstcheck.
5252
5253         * tests/check/generic/sinks.c: (send_buffer):
5254         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5255
5256         * tests/check/gst/gststructure.c: (GST_START_TEST):
5257         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5258         * tests/check/gst/gstutils.c: (GST_START_TEST):
5259         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5260         Add a bunch of casts to make various constants fit the types
5261         they're being assigned to.
5262
5263 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5264
5265         * gst/gstchildproxy.c:
5266           Improve docs and add some ideas for making this more general-purpose.
5267
5268 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * gst/gst_private.h: (GST_CAT_TYPES):
5271           Add GST_CAT_TYPES, for consistency, and so that the other
5272           debug categories don't make fun of it. Spotted by Saur on IRC.
5273
5274 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5275
5276         * gst/parse/Makefile.am:
5277           Move types.h from EXTRA_DIST to noinst_HEADERS.
5278
5279 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5280
5281         * autogen.sh:
5282           Add -Wno-portability to the automake parameters to stop warnings
5283           about GNU make extensions being used. We require GNU make in almost
5284           every Makefile anyway.
5285
5286         * configure.ac:
5287           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5288           at the same time is required for per target flags.
5289
5290 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5291
5292         * gst/gstmacros.h:
5293           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5294           __GNUC__ is defined before using it.
5295
5296 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5297
5298         * docs/gst/gstreamer-sections.txt:
5299         * gst/gst.c: (init_post):
5300         * gst/gstplugin.c: (_gst_plugin_register_static),
5301           (gst_plugin_register_static), (_gst_plugin_initialize),
5302           (gst_plugin_register_func):
5303         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5304           API: add gst_plugin_register_static() and deprecate
5305           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5306           (#498924).
5307           Also, in _gst_plugin_register_static(), make sure to call
5308           g_thread_init() before calling GLib functions such as
5309           g_list_append() if we're not initialised yet, since that
5310           may lead to random crashes with older GSlice/GLib versions.
5311
5312         * tests/check/gst/gstplugin.c:
5313           Adapt unit test to above changes.
5314
5315 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5316
5317         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5318         * gst/gstcaps.c: (gst_caps_to_string):
5319         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5320           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5321           Yet another gratuitous GString micro-optimisation: add a (private)
5322           function that serialises a structure appending to an existing
5323           GString, so that when we serialise caps we don't need to alloc+free
5324           a throwaway GString for each structure (each of which also entailing
5325           multiple reallocs on the way); also use g_string_sized_new() in
5326           various places with an approximate string length to avoid reallocs
5327           within GString. See #500143.
5328
5329 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5330
5331         * gst/gststructure.c: (gst_structure_id_set_value):
5332           Always check UTF-8 conformance of structure strings and not only
5333           if the debugging system is enabled; reasoning: the behaviour of
5334           the actual code shouldn't really change depending on whether the
5335           debugging system is enabled or not (#508291).
5336
5337 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5338
5339         * Makefile.am:
5340           Remove old coverage target in favour of "make lcov".
5341
5342 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5343
5344         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5345         (gst_base_src_loop):
5346         The start segment for reverse playback goes from start to last_stop.
5347
5348 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5349
5350         Patch by: Peter Kjellerstedt <pkj axis com>
5351
5352         * gst/gstclock.h:
5353         Cast the results from the timeval/spec_to_time macros to what the
5354         docs say it casts to, a GstClockTime. fixes #508175.
5355
5356 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5357
5358         * gst/gstbuffer.c:
5359         Update some comments.
5360
5361         * tools/gst-inspect.c: (print_element_properties_info):
5362         Improve printing of flags.
5363
5364 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         * libs/gst/base/gstbasetransform.c:
5367           (gst_base_transform_transform_size):
5368           Print element name with g_warning() if there's a problem
5369           with the unit size.
5370
5371 2008-01-07  David Schleef  <ds@schleef.org>
5372
5373         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5374
5375         * libs/gst/controller/gstcontroller.h:
5376         * libs/gst/controller/gstcontrolsource.h:
5377         * libs/gst/controller/gstinterpolationcontrolsource.h:
5378         * libs/gst/controller/gstlfocontrolsource.h:
5379         * libs/gst/dataprotocol/dataprotocol.h:
5380           Fix empty prototypes.  Fixes bug #507957.
5381
5382 2008-01-07  David Schleef  <ds@schleef.org>
5383
5384         * docs/faq/dependencies.xml: Fix typo.
5385
5386 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5387
5388         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5389         (gst_base_src_loop):
5390         Don't update the last_stop position in do_seek, that's the position we
5391         did a seek to.
5392         Read backwards when we have a negative rate.
5393
5394         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5395         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5396         (filesrc_suite):
5397         Add check for reverse reading.
5398
5399 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5400
5401         Patch by: Alexis Ballier <aballier at gentoo org>
5402
5403         * tests/check/gst/gstabi.c:
5404         * tests/check/gst/struct_ppc64.h:
5405         * tests/check/libs/libsabi.c:
5406         * tests/check/libs/struct_ppc64.h:
5407           Decide which header to include based on the userland ABI target
5408           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5409           for 64-bit userland (#503590).  Might need something similar for
5410           x86 too.
5411
5412 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5413
5414         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5415           Log the reason why fopen fails in addition to the fact that it failed.
5416           
5417 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5418
5419         * gst/parse/parse.l:
5420         Use "%option never-interactive" to prevent useless calls to isatty()
5421         on every input when parsing. Also use "%option noinput" to not define
5422         the static input/yyinput functions which we don't use anyway. This
5423         removes a compiler warning with gcc 4.3 and saves some bytes in the
5424         library.
5425         
5426         * gst/parse/lex._gst_parse_yy.pre.c:
5427         Regenerated for the above change.
5428
5429 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5430
5431         * gst/gstpad.c: (fixate_value):
5432         Don't crash when trying to fixate and empty list.
5433         Fixes #506643.
5434
5435 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5436
5437         * docs/faq/gst-uninstalled:
5438         Clarify the comments to make the usage of this script and what it
5439         does easier to understand.
5440
5441 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5442
5443         * tools/gst-plot-timeline.py:
5444         Add more options to gst-plot-timeline
5445
5446 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5447
5448         * docs/design/part-synchronisation.txt:
5449         Some more info on how the stream_time in GstBaseSink is done.
5450
5451 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * tests/check/generic/sinks.c: (gst_sinks_suite):
5454           Put back the tcase_set_timeout(), apparently it's needed after
5455           all; fix it up in a way that makes things work with valgrind too.
5456
5457 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5458
5459         * gst/gstdebugutils.c:
5460           Add warning when failed to open file for writing.
5461
5462 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5465
5466         * gst/gstvalue.c: (gst_value_is_fixed):
5467           Optimisation: bail out of the loop as early as possible (#500143).
5468
5469 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5470
5471         * gst/gstcaps.c: (gst_caps_to_string):
5472         * gst/gstinfo.c: (gst_debug_construct_term_color):
5473         * gst/gstparse.c: (gst_parse_launchv):
5474         * gst/gstutils.c: (gst_util_dump_mem):
5475         * gst/gstvalue.c: (gst_value_serialize_any_list),
5476           (gst_value_transform_any_list_string):
5477           Bunch of gratuitous nano-optimisations.
5478
5479 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5480
5481         * tests/check/generic/sinks.c: (async_done_func),
5482           (async_done_eos_func):
5483           Fix leak in unit test (bus sync handler must unref the message
5484           if it returns GST_BUS_DROP). Don't fiddle with the default test
5485           timeout, this is smaller than the current preconfigured value
5486           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5487           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5488
5489 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5490
5491         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5492
5493         * configure.ac:
5494         Check for stdio_ext.h for the filesink changes.
5495
5496         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5497         (gst_file_sink_class_init), (gst_file_sink_init),
5498         (gst_file_sink_dispose), (gst_file_sink_set_property),
5499         (gst_file_sink_get_property), (gst_file_sink_open_file),
5500         (gst_file_sink_close_file):
5501         * plugins/elements/gstfilesink.h:
5502         Add two properties to control the buffering mode and size.
5503         API: GstFileSink::buffer-mode
5504         API: GstFileSink::buffer-size
5505         Fixes #500150.
5506
5507 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5508
5509         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5510         Add some more docs to explain why a FIXME was wrongly added. 
5511
5512 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5513
5514         * gst/gstobject.c:
5515           Fix typo in the gst_object_{ref,unref} documentation.
5516
5517 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         * tests/check/libs/controller.c:
5520         * tests/check/libs/typefindhelper.c:
5521         * tests/check/pipelines/parse-launch.c:
5522           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5523           going to be deprecated (see #498924).
5524
5525 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5526
5527         * gst/gsttypefind.c: (gst_type_find_register):
5528           Make gst_type_find_register work for static typefind functions,
5529           ie. allow passing plugin == NULL (prerequisite for #498924).
5530
5531         * gst/gstelementfactory.c: (gst_element_register):
5532           Small docs addition.
5533
5534 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5535
5536         * gst/gstpad.c: (gst_pad_dispose):
5537         Really unlink the peer pad instead of setting the peer pointer to NULL
5538         when we dispose the pad.
5539         This correctly calls the unlink functions and makes sure that the peer
5540         does not have a handle to invalid memory. See #504671.
5541
5542         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5543         Add testsuite for above case.
5544
5545 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5546
5547         Patch by: Peter Kjellerstedt <pkj axis com>
5548
5549         * libs/gst/check/gstcheck.h:
5550           Fix detection of the check version we're compiling against (would
5551           otherwise break if check goes v0.10.0); correctly report the
5552           name of the failed test again in case of failure, instead of
5553           just 'tf' (fixes #504499).
5554
5555 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5556
5557         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5558         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5559         (gst_base_src_loop), (gst_base_src_set_flushing),
5560         (gst_base_src_change_state):
5561         Allow sending EOS to the source to make it send out an EOS event from
5562         the streaming thread.
5563         Update docs and deprecate the old NULL/READY shutdown method.
5564
5565         * tests/check/libs/basesrc.c: (GST_START_TEST),
5566         (gst_basesrc_suite):
5567         Add unit test for controlled shutdown.
5568
5569 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5570
5571         * docs/design/part-synchronisation.txt:
5572         Small updates.
5573
5574         * gst/gstsegment.c: (gst_segment_set_seek),
5575         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5576         (gst_segment_to_running_time):
5577         The seek format can be different from the segment format when the start
5578         and stop values are not to be updated, when we only do a rate change for
5579         example.
5580
5581         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5582         (gst_segment_suite):
5583         Add a testcase for the rate-only seeks, checking that the format is
5584         correctly ignored when start and stop are not updated.
5585
5586 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5587
5588         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5589
5590         * win32/vs8/grammar.vcproj:
5591         * win32/vs8/libgstcontroller.vcproj:
5592         * win32/vs8/libgstreamer.vcproj:
5593         Fix compilation with VS8 and include some missing files.
5594
5595 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5596
5597         * gst/gsttaglist.c:
5598           Small docs addition: mention that the strings returned by
5599           gst_tag_list_get_string*() are in UTF-8 encoding.
5600
5601 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5602
5603         * Makefile.am:
5604           The check-exports stuff moved to common/win32.mak, so include that.
5605
5606 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5607
5608         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5609         (gst_base_src_perform_seek), (gst_base_src_get_range),
5610         (gst_base_src_set_playing), (gst_base_src_change_state):
5611         Make _wait_playing() not check any variables so that we can call this
5612         function from subclasses. Move the checks elsewhere similar to
5613         _wait_preroll() in basesink.
5614         Add some debugging.
5615         Only signal the LIVE cond when we are going back to PLAYING.
5616
5617 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5620           Use g_remove() and g_rename(). Check result of g_rename(), and
5621           don't leak the open file descriptor if we error out when writing.
5622
5623         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5624           Must check the return value of close() after writing out the new
5625           registry file.  Sometimes write problems such as out-of-diskspace
5626           are only reported when the file is closed and not already during
5627           the write.  This may have caused partial/broken registry files in
5628           some rare circumstances. Should fix #503675.
5629
5630 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5631
5632         * docs/gst/.cvsignore:
5633         * docs/libs/.cvsignore:
5634         * docs/plugins/.cvsignore:
5635         Ignore files generated by new common/* modifications
5636
5637 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5638
5639         * win32/common/libgstbase.def:
5640           Yes, you can also have a <TAB> if you want.
5641
5642 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * win32/common/libgstbase.def:
5645           Add new basetransform API to win export file.
5646
5647 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5648
5649         * tests/check/gst/gstbin.c:
5650           Adjust the test to the refcount change two days ago.
5651
5652 2007-12-14  David Schleef  <ds@schleef.org>
5653
5654         * docs/faq/getting.xml: Fix typo.
5655
5656 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5657
5658         * docs/libs/gstreamer-libs-sections.txt:
5659         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5660           (gst_base_transform_prepare_output_buffer),
5661           (gst_base_transform_set_gap_aware):
5662         * libs/gst/base/gstbasetransform.h:
5663           API: Add gst_base_transform_set_gap_aware() to control whether
5664           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5665           get buffers with this flag at all. Fixes #503231.
5666
5667 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5668
5669         * libs/gst/base/gstbasesink.c:
5670         * libs/gst/base/gstbasesrc.c:
5671         * libs/gst/base/gstbasetransform.c:
5672           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5673           thread. Correct log message in gstbasesrc.c.
5674
5675 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5676
5677         * gst/gstutils.c: (element_find_unconnected_pad):
5678           Fix possible compiler warning (#503417).
5679
5680 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5683           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5684
5685 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5686
5687         * tools/gst-inspect.c: (print_element_properties_info):
5688           Add support for GstFraction properties.
5689
5690 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5691
5692         * Makefile.am:
5693           Add check-exports target and run it as part of 'make check'
5694           (see #499140 and #493983).
5695
5696         * gst/gst_private.h:
5697         * gst/gstelementfactory.h:
5698         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5699         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5700           (_priv_gst_in_valgrind):
5701         * gst/gstinfo.h: (GstLogFunction):
5702         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5703           (gst_type_find_register):
5704         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5705           (gst_type_find_factory_get_type):
5706         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5707           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5708           (gst_controller_new_valist), (gst_controller_new_list),
5709           (_gst_controller_dispose), (_gst_controller_class_init):
5710         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5711         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5712           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5713           (gst_object_get_controller), (gst_object_set_controller),
5714           (gst_object_suggest_next_sync), (gst_object_sync_values),
5715           (gst_object_set_control_source), (gst_object_get_control_source),
5716           (gst_object_get_value_arrays), (gst_object_get_value_array),
5717           (gst_object_get_control_rate), (gst_object_set_control_rate):
5718         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5719         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5720           Make some functions that should be static static; rename some
5721           private symbols so that they don't get exported; add some FIXME
5722           comments so we can move accidentally exported functions into
5723           our private section in 0.11.
5724
5725         * win32/common/libgstreamer.def:
5726           Add gst_utils_get_timestamp().
5727
5728 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5729
5730         * gst/gstvalue.c:
5731         * gst/gstvalue.h:
5732           Add more missing "Since:" tags to docs.
5733
5734 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5735
5736         * gst/gstutils.c:
5737           Add mising "Since:" to docs.
5738
5739 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * gst/gstplugin.c:
5742           Include "glib-compat-private.h" to fix the build on system with
5743           glib < 2.10. Fixes #503131.
5744
5745 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * gst/gstutils.c:
5748         * gst/gstutils.h:
5749           Actually its not PURE as it gets the time from elsewhere.
5750
5751 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * docs/gst/gstreamer-sections.txt:
5754         * gst/gstclock.h:
5755         * gst/gstdebugutils.c:
5756         * gst/gstinfo.c:
5757         * gst/gstutils.c:
5758         * gst/gstutils.h:
5759         * libs/gst/base/gstbasesink.c:
5760         * tools/gst-launch.c:
5761           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5762           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5763           Thanks Tim for spotting.
5764           API: gst_util_get_timestamp
5765
5766 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5767
5768         * configure.ac:
5769           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5770
5771 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5772
5773         * gst/gststructure.c: (gst_structure_validate_name),
5774           (gst_structure_new_valist), (gst_structure_parse_value),
5775           (gst_structure_from_string):
5776           Don't crash in _from_string() if the structure name is not valid
5777           (fixes #501560).  Allow structure names to start with a number
5778           again (this apparently broke the ubuntu codec installer).
5779
5780         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5781           (GST_START_TEST):
5782           Add unit test for the crash; update unit tests for new behaviour.
5783
5784 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5785
5786         * gst/gstutils.c:
5787         Clarify gst_element_get_compatible_pad() documentation.
5788         Fixes #500919.
5789
5790 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5791
5792         * tests/check/Makefile.am:
5793           Don't forget to dist {gst,libs}/struct_hppa.h.
5794
5795 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * libs/gst/base/gstbasesink.c:
5798           Use new API to get elapsed time.
5799
5800 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * gst/gstdebugutils.c:
5803         * gst/gstinfo.c:
5804           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5805
5806         * tools/gst-launch.c:
5807           Use new API to get elapsed time.
5808
5809 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5810
5811         * docs/gst/gstreamer-sections.txt:
5812         * gst/gstclock.h:
5813         * gst/gstdebugutils.c:
5814         * gst/gstinfo.c:
5815           Rename new API + ChangeLog surgery to remove old name from last entry..
5816
5817 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5818
5819         * docs/gst/gstreamer-sections.txt:
5820         * gst/gstclock.h:
5821         * gst/gstdebugutils.c:
5822         * gst/gstinfo.c:
5823           Now hide the different clock stuff behind a macro.
5824
5825 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * configure.ac:
5828         * gst/gstdebugutils.c:
5829         * gst/gstinfo.c:
5830           Apply the posix-timer check from #361155. Conditionally use the posix
5831           timer for logging. This gives better timestamp precission, less
5832           overhead and no ntp jitter.
5833
5834 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5835
5836         * gst/gstminiobject.c: (gst_mini_object_get_type),
5837         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5838         (gst_mini_object_finalize), (gst_mini_object_copy),
5839         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5840         (gst_mini_object_replace), (param_mini_object_validate),
5841         (gst_param_spec_mini_object_get_type):
5842         Some cleanup and checking against invalid function parameters.
5843
5844 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5845
5846         * docs/gst/gstreamer-sections.txt:
5847         * gst/gstclock.h:
5848         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5849         (gst_systemclock_suite):
5850         Start merging in the easy bits of #361155, the monotonic clock patch.
5851         This one adds a few handy macros with docs and a testsuite.
5852
5853 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5854
5855         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5856         Be a bit smarter when seeking, like, don't try to do a seek when it's
5857         not needed. This avoids errors when the file is not seekable.
5858         Fixes #499771.
5859
5860 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * docs/gst/gstreamer-docs.sgml:
5863         * docs/gst/gstreamer-sections.txt:
5864         * docs/gst/gstreamer.types.in:
5865         * gst/Makefile.am:
5866         * gst/gst.h:
5867         * gst/gstpreset.c:
5868         * gst/gstpreset.h:
5869         * plugins/elements/gstqueue.c:
5870           Due to popular request remove preset interface again. :-(.
5871
5872 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5873
5874         * tools/gst-inspect.c:
5875           Print 'default value' for enums and flags too.
5876
5877 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5878
5879         * docs/random/ensonic/profiling.txt:
5880           More ideas.
5881
5882         * gst/gstbin.c:
5883           Fix typo and give better log output.
5884
5885         * gst/gstdebugutils.c:
5886         * gst/gstdebugutils.h:
5887           More ideas, make graphs a bit smaller and fix param name in macro.
5888
5889 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * gst/gstpreset.c:
5892           Try harder to use the return value from fgets().
5893
5894 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5895
5896         * gst/gstpreset.c:
5897           For theses two fgets we handle the error below.
5898
5899 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5900
5901         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5902         Only send upstream events upstream. Fixes #498746.
5903
5904 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5905
5906         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5907
5908         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5909         (gst_identity_init), (gst_identity_transform_ip),
5910         (gst_identity_set_property), (gst_identity_get_property):
5911         * plugins/elements/gstidentity.h:
5912         Add property to disable handoff signal emission. Fixes #498694.
5913         API: GstIdentity::signal-handoffs
5914
5915 2007-11-21  Julien Moutte  <julien@fluendo.com>
5916
5917         * docs/faq/gst-uninstalled: Yet another missing library for the
5918         uninstalled script (fft)
5919
5920 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5921
5922         * docs/faq/developing.xml:
5923         Add a question about how to submit new translations.
5924
5925         * docs/random/release:
5926         Update the contact email address for the Translation Project
5927
5928         * plugins/elements/gstfdsrc.c:
5929         The parent_class for fdsrc is pushsrc, not GstElement.
5930
5931 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5932
5933         * gst/gstpreset.c:
5934           Plug a leak and fix saving.
5935
5936 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5937
5938         * docs/gst/gstreamer-sections.txt:
5939         Add new gst_preset__get_property_names() function to the docs
5940         to fix the build.
5941
5942 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5943
5944         * gst/gstpreset.c:
5945         * gst/gstpreset.h:
5946           Change _get_preset_names API to return a strv with copies. Add
5947           _get_property_names to allow implementations to filter and provide
5948           good default implementation.
5949
5950 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5951
5952         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5953         script (sdp).
5954
5955 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * gst/gstpreset.c:
5958           More cleanups, docs, and TODOs from comments that now slowly come in.
5959
5960 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5961
5962         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5963         search path.
5964
5965 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5966
5967         * gst/gstpreset.c:
5968           Fix bogus warning and make the property type specific code more
5969           similar.
5970
5971 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5972
5973         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5974         it build on OS X.
5975
5976 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5977
5978         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5979         (gst_bin_add_func), (gst_bin_remove_func),
5980         (gst_bin_change_state_func), (gst_bin_continue_func):
5981         Change email, cleanups add some more debug and comments.
5982         Also set bus and clock on new elements when the pipeline was in error.
5983
5984 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5985
5986         * gst/gstbin.c:
5987         * gst/gstdebugutils.c:
5988           Fix build with --disable-gst-debug. Fixes #497859.
5989           Spotted by Sameer Naik.
5990
5991 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5992
5993         * gst/gstevent.c:
5994           Little documentation improvment.
5995
5996         * gst/gstpreset.c:
5997           More TODO cleanups. Remove c++ comments.
5998
5999         * libs/gst/controller/gstcontroller.c:
6000           Add TODO and use quark from static string.
6001
6002         * tests/check/gst/gstmessage.c:
6003         * tests/check/gst/gststructure.c:
6004           Use quark from static string.
6005
6006 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * gst/gstpreset.c:
6009           Add some comments and TODOs.
6010
6011         * gst/gstpreset.h:
6012           Add padding for future changes.
6013
6014         * plugins/elements/gstqueue.c:
6015           Implement the iface.    
6016
6017 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6018
6019         * docs/gst/gstreamer-docs.sgml:
6020         * docs/gst/gstreamer-sections.txt:
6021         * docs/gst/gstreamer.types.in:
6022         * gst/Makefile.am:
6023         * gst/gst.h:
6024         * gst/gstpreset.c:
6025         * gst/gstpreset.h:
6026           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6027
6028 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6029
6030         * configure.ac:
6031
6032         Back to CVS
6033
6034 === release 0.10.15 ===
6035
6036 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6037
6038         * configure.ac:
6039           releasing 0.10.15, "October"
6040
6041 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6042
6043         * win32/vs6/libgstreamer.dsp:
6044         Convert line endings back to DOS.
6045
6046 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6047
6048         * docs/design/draft-tagreading.txt:
6049         * docs/random/ensonic/profiling.txt:
6050         Update fast tagreading draft and performance profiling ideas.
6051
6052 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6053
6054         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6055         Don't hold the object lock when unreffing a buffer because it could
6056         cause a deadlock when the finalize function wants to grab the object
6057         lock too. Fixes #495133.
6058
6059 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6060
6061         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6062         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6063         Also accumulate time correctly when doing reverse playback. Fixes
6064         #488201,
6065         When converting to running and stream time, use default values for
6066         start/stop/time/accum when comparing different formats. Fixes #494245.
6067
6068         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6069         Do running/stream time in TIME format.
6070
6071         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6072         (gst_segment_suite):
6073         2 new unit tests for segment accumulation.
6074
6075 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6076
6077         * gst/gst.c: (init_pre):
6078         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6079           (_gst_debug_bin_to_dot_file):
6080           Move getenv() back into gst_init, so everyone can live happily
6081           ever after. Make sure the symbol isn't exported though.
6082
6083 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         Patch by: Sebastien Moutte  <sebastien moutte net>
6086
6087         * win32/common/gstenumtypes.c:
6088         * win32/common/gstenumtypes.h:
6089           Update enum types.
6090
6091         * win32/vs6/libgstreamer.dsp:
6092           Update vs6 project files (#494343).
6093
6094 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6095
6096         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6097         (gst_base_src_perform_seek), (gst_base_src_default_event),
6098         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6099         (gst_base_src_activate_pull):
6100         Unify flushing code, remove some old unlock code that is no longer used.
6101         Take the streaming lock when seeking to avoid races. Fixes #492729.
6102         Added some more comments.
6103
6104 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6105
6106         * gst/gst.c: (_gst_disable_segtrap):
6107           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6108           we can use gst_segtrap_is_enabled() there now that we have that API.
6109           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6110           to do the getenv here (and export the variable).
6111
6112         * gst/gstdebugutils.c: (debug_dump_element),
6113           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6114           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6115
6116         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6117           (gst_debug_log_default):
6118           Rename _gst_info_start_time to priv_gst_info_start_time so it
6119           doesn't get exported (was never in any header).
6120
6121         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6122           (gst_plugin_loading_mutex):
6123           Make static mutex gst_plugin_loading_mutex really static (was never
6124           in any header), and use gst_segtrap_is_enabled() instead of
6125           _gst_disable_segtrap.
6126
6127         * gst/gsttrace.c: (_gst_trace_default):
6128           Make local _gst_trace_default static (was never in any header).
6129
6130 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6133
6134         * win32/common/libgstbase.def:
6135         * win32/common/libgstcontroller.def:
6136         * win32/common/libgstdataprotocol.def:
6137         * win32/common/libgstnet.def:
6138         * win32/common/libgstreamer.def:
6139           Add more missing symbols, remove some duplicates, and sort
6140           as the 'sort' command sorts it (partially fixes #493983).
6141
6142 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6143
6144         * gst/gstelement.c: (gst_element_set_state_func):
6145         Only change the state cookie if a different state was set on the
6146         element. See #492729.
6147
6148 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6149
6150         * gst/gstvalue.c:
6151           Remove unused and uninitialised type variables that were still
6152           exported for some reason (they were never in any header files
6153           though).
6154
6155 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6156
6157         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6158         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6159         (gst_base_sink_event), (gst_base_sink_get_position_last),
6160         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6161         (gst_base_sink_change_state):
6162         Don't try to report a 0 position when we don't know, return -1 and FALSE
6163         instead. This mostly happens when we are prerolling.
6164         Make sure we can report the right position before we post the ASYNC_DONE
6165         message so that a message handler can query position without races.
6166
6167         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6168         (async_done_handoff), (async_done_func), (send_buffer),
6169         (async_done_eos_func), (gst_sinks_suite):
6170         Add two tests for the above.
6171
6172 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6173
6174         * MAINTAINERS:
6175         Update with new email address.
6176
6177         * docs/design/part-TODO.txt:
6178         Add some more info about future pad-block and negotiation changes.
6179
6180         * docs/design/part-buffering.txt:
6181         Add some ideas about buffering reporting.
6182
6183 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6184
6185         * tests/check/gst/gstobject.c:
6186         Disable silly racy test that always fails on this combination of CPU
6187         and kernel.
6188
6189 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6190
6191         Patch by: Murray Cumming  <murrayc@murrayc.com>
6192
6193         * gst/gstobject.c:
6194           Corrected the registration of the parent-set and parent-unset
6195           signals: The parameter is a GstObject, not a GObject (#493134).
6196
6197 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * gst/gst_private.h:
6200         * gst/gstbuffer.h:
6201         * gst/gstevent.h:
6202         * gst/gstformat.h:
6203         * gst/gstmessage.h:
6204         * gst/gstplugin.h:
6205         * gst/gstquery.h:
6206         * gst/gsttaglist.h:
6207         * gst/gstvalue.h:
6208           Move declaration of private _gst_foo_initialize() functions into
6209           our private header file where they should have been all along.
6210
6211 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * docs/plugins/gstreamer-plugins-sections.txt:
6214         * gst/gstdebugutils.h:
6215         * gst/gstxml.h:
6216         * plugins/elements/gstqueue.c:
6217           gtk-doc fixes; trailing-comma-in-enum fix.
6218
6219 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6220
6221         * gst/gst.c: (gst_deinit):
6222           Clean up on deinit (not the external ones though, doesn't seem to be
6223           needed for some reason).
6224
6225 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6226
6227         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6228           Remove __declspec(dllimport) for MSVC that was copied over into core
6229           from a plugin, obviously without ever having been tested (note the
6230           single underscore in _declspec in the initial commit), and that doesn't
6231           really make sense.  See #492077.
6232
6233 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6234
6235         * gst/gst.c: (init_post):
6236         * gst/gstevent.c: (_gst_event_initialize):
6237         * gst/gstquery.c: (_gst_query_initialize):
6238         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6239           g_type_class_ref() other types as well, see #349410 and #64764.
6240
6241         * gst/gstbuffer.c: (_gst_buffer_initialize):
6242         * gst/gstmessage.c: (_gst_message_initialize):
6243           Simplify existing g_type_class_ref().
6244
6245 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6246
6247         * gst/gstformat.c: (_gst_format_initialize):
6248           g_type_class_ref() our GstFormat type to make sure we avoid the
6249           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6250           bug #64764. Should fix intermittent tee unit test failures (#474823).
6251
6252 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6253
6254         * tests/check/elements/tee.c: (test_num_buffers):
6255           Simplify, simplify, simplify - or not.  Rewrite unit test
6256           not to use gst_parse_launch(); allow N sub-streams. Increasing
6257           the number of sub-streams seems to reproduce #474823 more easily.
6258
6259 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6260
6261         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6262
6263         * gst/gsttrace.c:
6264         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6265         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6266         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6267           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6268           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6269           so use _pipe() directly (#492077).
6270
6271         * win32/common/dirent.c: (_treaddir):
6272           Add a couple of casts to make it build without warnings with MSVC.
6273
6274         * win32/common/libgstreamer.def:
6275           Add some more symbols that need to be exported.
6276
6277 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6278
6279         * tests/examples/metadata/read-metadata.c: (message_loop):
6280           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6281           arriving in a second or third tag message are added to
6282           the tag list as well.
6283
6284 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6285
6286         * libs/gst/base/gstbasesrc.c:
6287           Its "Since:" and not "@Since:". And remove an superflous cast.
6288
6289 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6290
6291         * docs/libs/gstreamer-libs-sections.txt:
6292         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6293         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6294         (gst_base_sink_get_property), (gst_base_sink_render_object),
6295         (gst_base_sink_preroll_object),
6296         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6297         (gst_base_sink_change_state):
6298         * libs/gst/base/gstbasesink.h:
6299         Add a new last-buffer property that contains the last buffer used in
6300         basesink for preroll or rendering. useful for making snapshots.
6301         API: gst_base_sink_get_last_buffer()
6302         API: GstBaseSink::last-buffer
6303
6304 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6305
6306         * docs/gst/running.xml:
6307         * gst/gst.c:
6308         * gst/gstdebugutils.c:
6309         * gst/gstdebugutils.h:
6310         * tools/gst-launch.c:
6311           Improve bin graph dumping, by using the envvar to specify a path.
6312           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6313
6314 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6315
6316         * plugins/elements/gsttypefindelement.c:
6317           (gst_type_find_element_handle_event),
6318           (gst_type_find_element_activate):
6319           Post special error message if we can't determine the type of a stream
6320           because it's empty.
6321
6322 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6323
6324         * docs/gst/running.xml:
6325         * gst/gstdebugutils.c:
6326           Document new env-var. Add one log-line after dumpng a graph.
6327
6328 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6329
6330         * configure.ac:
6331           Ugly hack to put the (recently removed and non-portable, apparently)
6332           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6333           GNU ld, because without that 'make check' fails miserably on my debian
6334           stable box.  Someone with more knowledge of linker intricacies and
6335           portability issues than me fix this properly please.
6336
6337 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6338
6339         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6340         Reset last seen position after flushing so that we don't report the old
6341         position anymore.
6342
6343 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6344
6345         * gst/gstelementfactory.c: (gst_element_register):
6346         * gst/gsturi.h:
6347         Patch from Alessandro Decina adding get_type_full and
6348         get_protocols_full private vfuncs to the URIHandler interface
6349         to allow bindings to support creating URI handlers. 
6350         Partially fixes: #339279
6351         API: GstURIHandlerInterface::get_type_full
6352         API: GstURIHandlerInterface::get_protocols_full
6353
6354 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6355
6356         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6357         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6358         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6359         Make it so that pads are considered linked until a buffer is pushed
6360         and discovered otherwise. This avoids problems with decodebin2 hanging
6361         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6362         case.
6363
6364         Make sure we lock the multiqueue when updating the max-size properties.
6365         
6366         Fix a crash on Solaris in a debug statement in get_request_pad that
6367         passes a NULL string to GST_DEBUG. 
6368
6369         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6370         (run_output_order_test):
6371         Fix the test to allow the first buffer on not-linked pads to come out
6372         of sequence while multiqueue discovers that they are not-linked.
6373
6374 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6375
6376         * configure.ac:
6377         * libs/gst/check/Makefile.am:
6378         Use a custom export symbol regex for libgstcheck, as it needs
6379         to export symbols that don't match the standard GStreamer gst_*
6380         pattern, and  --export-dynamic is not portable (only works on 
6381         GNU ld)
6382
6383         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6384         (gst_check_setup_sink_pad):
6385         Make sure to pass a message parameter to the fail_* macros.
6386
6387         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6388         Fix some compiler warnings.
6389
6390 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6391
6392         * tests/check/gst/gststructure.c: (test_to_string):
6393           Disable test that checks that white spaces are not allowed
6394           in structure names or field names, since we need to
6395           support that for now for backwards compatibility reasons.
6396
6397 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6398
6399         * docs/gst/gstreamer-sections.txt:
6400         * gst/gsttaglist.c:
6401         * gst/gsttaglist.h:
6402           API: add GST_TAG_ARTIST_SORTNAME
6403           API: add GST_TAG_ALBUM_SORTNAME
6404           API: add GST_TAG_TITLE_SORTNAME
6405           Add tag variants for sorting (#414539).
6406
6407 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6408
6409         * gst/gststructure.c:
6410           Also allow white space for names so we don't break
6411           backwards compatibility.
6412
6413 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6414
6415         * docs/design/part-TODO.txt:
6416         * docs/design/part-segments.txt:
6417         * docs/design/part-streams.txt:
6418         Small updates.
6419
6420 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6421
6422         * docs/gst/gstreamer-sections.txt:
6423          Fixed documentation from my previous commit (added new API add
6424          gst_value_set_structure(), add gst_value_get_structure() and
6425          GST_VALUE_HOLDS_STRUCTURE).
6426
6427 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6428
6429         * gst/gstdebugutils.c:
6430           Reflow code to fix uninitialized variable warning.
6431
6432 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6433
6434         * gst/gstcaps.c: (gst_caps_to_string),
6435         (gst_caps_from_string_inplace):
6436         * gst/gststructure.c: (gst_structure_get_abbrs),
6437         (gst_structure_to_string), (gst_structure_from_string):
6438         * gst/gstvalue.c: (gst_value_set_structure),
6439         (gst_value_get_structure), (gst_value_serialize_structure),
6440         (gst_value_deserialize_structure), (_gst_value_initialize):
6441         * gst/gstvalue.h:
6442         * tests/check/gst/gststructure.c: (GST_START_TEST),
6443         (gst_structure_suite):
6444         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6445          Added GstStructure to gst_value_table and its related functions.
6446          Changed gst_structure_to_string to print ';' in the end.
6447          Changed gst_caps_to_string to not print ';' beteween its
6448          fields (structures) anymore and remove the lastes ';' from latest
6449          structure. Now it is possible to have nested structures.
6450          In addition, backward compatibilty is assured by accepting '\0' as
6451          end delimiter. Fixes: #487969.
6452          API: add gst_value_set_structure()
6453          API: add gst_value_get_structure()
6454          API: add GST_VALUE_HOLDS_STRUCTURE
6455
6456 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6457
6458         * gst/gstbus.c:
6459           When no GSource callback has been set up, tell developer
6460           to use a function that actually exists.
6461
6462 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6463
6464         * docs/gst/gstreamer-sections.txt:
6465         * gst/Makefile.am:
6466         * gst/gst.c:
6467         * gst/gst.h:
6468         * gst/gstdebugutils.c:
6469         * gst/gstdebugutils.h:
6470         * gst/gstinfo.c:
6471         * gst/gstinfo.h:
6472         * tools/gst-launch.c:
6473           Allow dumping pipelines as dot graphs. Fixes #456573.
6474
6475 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6476
6477         * gst/gststructure.c:
6478           Allow '+' as well, it can be part of media or mime types
6479           such as image/svg+xml.
6480
6481 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * docs/gst/gstreamer-sections.txt:
6484         * gst/gstbus.c:
6485         * gst/gstbus.h:
6486           API: add gst_bus_pop_filtered
6487           API: add gst_bus_timed_pop_filtered
6488           Two new functions for waiting for specific message types on the
6489           bus for a specified amount of time without iterating any main
6490           loops or main contexts.
6491
6492         * tests/check/gst/gstbus.c:
6493           Some tests for the new functions.
6494
6495 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6496
6497         * docs/libs/gstreamer-libs-sections.txt:
6498           Make gtk-doc ignore stuff it should ignore.
6499
6500 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * libs/gst/check/gstcheck.c:
6503         * libs/gst/check/gstcheck.h:
6504           Allow runtime selection of unit tests to run via the GST_CHECKS
6505           environment variable (test case function names, comma-separated).
6506
6507 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6508
6509         * gst/gststructure.c:
6510         * tests/check/gst/gststructure.c:
6511           Revert serialisation change and constrain structure-names after
6512           consensus on irc. Update api documentation to reflect the change.
6513
6514 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6515
6516         * gst/gststructure.c:
6517           Improve serialization and fix tests.
6518
6519         * tests/check/gst/gststructure.c:
6520           Add another test that covers why I actually did the previous structure
6521           change.
6522
6523 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6524
6525         * tools/gst-inspect.c: (print_element_info):
6526         Don't crash when inspecting an element.
6527
6528 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6529
6530         * tests/check/gst/gststructure.c:
6531           Add unit test for escaping of structure name when serialising
6532           and deserialising to/from strings.
6533
6534 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6535
6536         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6537         (gst_single_queue_new):
6538         * plugins/elements/gstqueue.c: (gst_queue_init),
6539         (gst_queue_push_one):
6540         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6541         upstream is tricked into thinking it can suggest a format downstream
6542         while downstream does not support that format. The real problem is that
6543         core calls acceptcaps when pushing a buffer with new caps, for which we
6544         do a little workaround by setting the caps on the srcpad ourselves
6545         before pushing the buffer (until this is figured out). Fixes #486758.
6546
6547 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6548
6549         * gst/gststructure.c:
6550         * gst/gstvalue.c:
6551           Add some more comments and debug output. Quote structure name to fix
6552           deserialisation of some strings.
6553
6554 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6555
6556         * gst/gstbuffer.h:
6557           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6558           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6559
6560 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6561
6562         * tools/gst-inspect.c:
6563           Save approx. 400 1 byte allocs when printing. Use API to acces element
6564           details.
6565
6566         * tools/gst-run.c:
6567           Avoid a strdup.
6568
6569         * tools/gst-xmlinspect.c:
6570           Use API to acces element details.
6571
6572 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6573
6574         * gst/gstinfo.c:
6575           Fix some spelling errors.
6576
6577 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6578
6579         * gst/gstbin.c: (bin_handle_async_done):
6580         Correctly set the next state if all of our async children commited their
6581         state. This makes sure we can actually cancel the state change in
6582         progress. Fixes a regression in Rhythmbox when seeking.
6583
6584 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6585
6586         * gst/gstbin.c:
6587           Don't shadow local variable.
6588
6589         * gst/gstinfo.c:
6590           Don't shadow global function name.
6591
6592 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6593
6594         * gst/gstelementfactory.c:
6595         * gst/gstpluginfeature.c:
6596         * gst/gstpluginfeature.h:
6597         * gst/gstregistrybinary.c:
6598         * gst/gstregistryxml.c:
6599         * gst/gsttypefind.c:
6600           Use already-interned string for the private GstPluginFeature
6601           plugin_name field.
6602
6603 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6604
6605         * docs/libs/gstreamer-libs-sections.txt:
6606           Add new API to docs; fixes the build.
6607
6608 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6609         
6610         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6611
6612         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6613         (gst_base_sink_event):
6614         * libs/gst/base/gstbasesink.h:
6615         Add function to wait for EOS, subclasses can use this to correctly wait
6616         for devices to drain before performing the EOS logic. Fixes #485343.
6617         API: gst_base_sink_wait_eos()
6618
6619 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6620
6621         * gst/gstplugin.h:
6622           Cast description string constants in GST_PLUGIN_DEFINE macros
6623           to a (gchar*) to make C++ code using these macros compile
6624           without warning with g++-4.2 (see #462737).  Even if slightly
6625           ugly, this seems preferable to putting the description strings
6626           into the GLib quark table or making the structure member a
6627           const gchar * and doing casts in core code that allocs and
6628           frees these strings, or requiring a cast in the C++ code.
6629
6630 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6631
6632         * gst/gstinfo.h:
6633           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6634           to print the entire class/function signature into the log
6635           file for C++ code.  This only affects C++ code, for C code
6636           everything remains the same.
6637
6638 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6639
6640         * gst/gstbin.c: (remove_from_queue):
6641         Work around a problem with pipelines containing (semi)loops until a
6642         proper, more complicated solution is ready. See #475455.
6643
6644 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * gst/gstplugin.c:
6647         * gst/gstplugin.h:
6648         * gst/gstregistrybinary.c:
6649         * gst/gstregistryxml.c:
6650           Put more strings into the GLib quark table. No need to keep
6651           a hundred-something copies of identical version strings,
6652           license strings, package name strings and package origin
6653           strings around. 
6654
6655 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6656
6657         * docs/manual/advanced-dataaccess.xml:
6658           Don't imply that it's okay to unconditionally change
6659           buffer data or buffer metadata in a pad probe callback,
6660           and a bunch of other comments. Fixes #430031.
6661
6662 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6663
6664         * win32/common/gstenumtypes.c:
6665         * win32/common/gstenumtypes.h:
6666         * win32/common/gstversion.h:
6667           Update generated files.
6668
6669 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6670
6671         * docs/manual/advanced-autoplugging.xml:
6672           Prefix section with broken code with a warning (see #342432).
6673
6674 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6675
6676         * docs/manual/appendix-integration.xml:
6677         * docs/manual/basics-init.xml:
6678           Call g_thread_init() before g_option_context_new() to
6679           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6680
6681 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6682
6683         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6684         (gst_base_sink_queue_object_unlocked),
6685         (gst_base_sink_queue_object), (gst_base_sink_event),
6686         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6687         When we received EOS and are waiting for when to post the EOS message,
6688         our state is prerolled and we should not return ASYNC.
6689         Reorganize some code paths to implement this behavior.
6690
6691         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6692         (gst_sinks_suite):
6693         Add unit test to verify above EOS fix.
6694
6695 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6696
6697         * plugins/elements/gsttypefindelement.c:
6698         (gst_type_find_element_have_type), (gst_type_find_element_init),
6699         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6700         Move detecting the input caps of the sinkpad to the setcaps function.
6701         This allows us to update the output caps when we receive new input caps
6702         instead of always using the first detected caps.
6703
6704 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6705
6706         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6707         (gst_base_sink_get_position):
6708         Don't try to preroll non-async elements after a flush.
6709         Subtract latency form clock times when reporting position.
6710
6711 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6712
6713         * gst/gstpad.c: (gst_pad_pause_task):
6714         * gst/gstutils.c:
6715         Small comment and documentation update.
6716
6717 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6718
6719         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6720         (gst_base_src_set_live), (gst_base_src_is_live),
6721         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6722         (gst_base_src_default_event), (gst_base_src_wait),
6723         (gst_base_src_do_sync), (gst_base_src_get_range),
6724         (gst_base_src_pad_get_range), (gst_base_src_loop),
6725         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6726         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6727         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6728         (gst_base_src_change_state):
6729         Rework the locking of basesrc in a similar fashion to basesink. We
6730         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6731         us to handle live sources and semi live ones much better.
6732         Simplify flushing.
6733         Fix unlocking when seeking, shutting down and pausing in live sources.
6734
6735 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6736
6737         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6738         Fix compilation again.
6739
6740 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6741
6742         * gst/gstelement.c:
6743           Use meaningful categories for the logs to clean the default one.
6744
6745 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6746
6747         * tests/check/pipelines/cleanup.c:
6748           Print message name and not just number.
6749
6750 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6751
6752         * docs/design/draft-tagreading.txt:
6753           Add some more thoughts.
6754
6755 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6756
6757         * tests/check/pipelines/simple-launch-lines.c:
6758           Print message name and not just number.
6759
6760 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6761
6762         * libs/gst/base/gsttypefindhelper.c:
6763           Speedup typefinding. This is work in progress (see #459862).
6764
6765 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * gst/gstplugin.c:
6768           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6769           Spotted by Josep Torra Valles <josep@fluendo.com>.
6770
6771 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6772
6773         * gst/gstclock.h:
6774           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6775           field has moved to GstObject.
6776
6777 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6778
6779         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6780         (gst_base_src_get_range), (gst_base_src_change_state):
6781         Call unlock for live sources so that they can't get stuck in _create and
6782         produce a buffer before they are set back to PLAYING.
6783
6784 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6785
6786         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6787         (gst_queue_locked_dequeue):
6788         Comment the segment-related code... in the PROPER function.
6789         See #482147 and my commit from yesterday.
6790
6791 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6792
6793         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6794         Also initialize the counter that calculates the first timestamp on a
6795         buffer correctly for non-live sources.
6796
6797 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6798
6799         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6800         Disable code that's breaking the current-time-level reporting.
6801         See #482147
6802
6803 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6804
6805         * docs/gst/gstreamer-sections.txt:
6806         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6807         as they shouldn't show up. Fixes the docs build.
6808
6809 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6810         
6811         * gst/gstinfo.h:
6812         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6813         Define M_PI which is used in files which are including gstinfo.h. 
6814         VS6 includes doesn't define it.
6815         * win32/common/libgstbase.def:
6816         * win32/common/libgstcontroller.def:
6817         * win32/common/libgstreamer.def:
6818         Add new exported functions and variables.
6819         * win32/vs6/libgstcontroller.dsp:
6820         * win32/vs6/libgstreamer.dsp:
6821         Update the list of files to build.
6822         
6823 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6824
6825         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6826
6827         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6828         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6829         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6830         Improve debugging. Fixes #480858.
6831
6832 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6833
6834         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6835
6836         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6837         First patch of code cleanups, use the macros and right arguments in the
6838         macros to signal and lock the queue. See #480858.
6839
6840 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6841
6842         * gst/gstbus.c: (poll_func):
6843         Improve debugging when dealing with _poll().
6844
6845 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6846
6847         * gst/gstregistryxml.c:
6848           Fix memory leak I introduced a few days ago.
6849
6850 2007-09-26  Michael Smith <msmith@fluendo.com>
6851
6852         * gst/gstbuffer.c: (gst_buffer_finalize):
6853           Make it once again possible to free GstBuffers in the default
6854           build.
6855           The poisoning scribbles on parts of the miniobject we need in
6856           order to free it.
6857           Fixes #480341
6858
6859 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6860
6861         * docs/gst/gstreamer-sections.txt:
6862         * gst/gsttaglist.c:
6863         * gst/gsttaglist.h:
6864         API: add GST_TAG_COMPOSER, fixes #459809.
6865
6866 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6867
6868         * gst/gstplugin.c:
6869         * gst/gstplugin.h:
6870         Add the 3-clause BSD license and the MIT/X11 license to the license
6871         list. Fixes #479784.
6872
6873 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6874
6875         * docs/faq/getting.xml:
6876           Add Q+A about different GStreamer versions (#364056).
6877
6878 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6879
6880         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6881         (gst_base_sink_event), (gst_base_sink_change_state):
6882         Return correct gboolean from query function.
6883
6884 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6885
6886         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6887         (gst_base_sink_event), (gst_base_sink_query),
6888         (gst_base_sink_change_state):
6889         Simplify latency query.
6890         When not synchronizing, we can report latency without querying the peer
6891         element.
6892
6893 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6894
6895         * gst/gstobject.h:
6896         * gst/gstvalue.c:
6897         Fix small typos in the docs.
6898
6899 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6900
6901         * docs/design/draft-latency.txt:
6902         * docs/design/draft-push-pull.txt:
6903         * docs/design/draft-tagreading.txt:
6904         * docs/design/part-MT-refcounting.txt:
6905         * docs/design/part-activation.txt:
6906         * docs/design/part-block.txt:
6907         * docs/design/part-element-source.txt:
6908         * docs/design/part-events.txt:
6909         * docs/design/part-gstbin.txt:
6910         * docs/design/part-gstelement.txt:
6911         * docs/design/part-gstobject.txt:
6912         * docs/design/part-gstpipeline.txt:
6913         * docs/design/part-messages.txt:
6914         * docs/design/part-preroll.txt:
6915         * docs/design/part-push-pull.txt:
6916         * docs/design/part-qos.txt:
6917         * docs/design/part-query.txt:
6918         * docs/design/part-scheduling.txt:
6919         * docs/design/part-seeking.txt:
6920         * docs/design/part-segments.txt:
6921         * docs/design/part-states.txt:
6922         Documentation updates and typo fixes.
6923
6924 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6925
6926         * plugins/elements/gstfakesink.c:
6927           Add some debug text to error message to indicate that
6928           we errored out on request.
6929
6930         * tools/gst-launch.c:
6931           When the state change to PLAYING fails, check for an
6932           error message on the bus and print it.
6933
6934 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6935
6936         translated by: Jorge González González <aloriel@gmail.com>
6937
6938         * po/LINGUAS:
6939         * po/es.po:
6940           Added Spanish translation.
6941
6942 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6943
6944         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6945         Fix printf arguments.
6946
6947 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6948
6949         * tests/check/generic/states.c:
6950           Improved state change unit test.
6951
6952 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * gst/gstbin.h:
6955           Move priv to the right place.
6956
6957         * gst/gstsystemclock.c:
6958           Add FIXME: and improve log.
6959
6960         * tests/check/Makefile.am:
6961         * tests/examples/manual/Makefile.am:
6962           Work with all types of registries.
6963
6964 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6965
6966         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6967         Don't unref the event after pushing it. Fixes #478401.
6968
6969 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6970
6971         * .cvsignore:
6972         * tests/examples/manual/.cvsignore:
6973           Ignore registries in any format.
6974
6975 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6976
6977         * gst/glib-compat-private.h:
6978           Add compatibility macro for g_intern_string() for
6979           GLib-2.8 (any reason we can't just bump the
6980           requirement to at least 2.10?)
6981
6982         * gst/gstpadtemplate.h:
6983         * gst/gstelementfactory.c:
6984         * gst/gstregistryxml.c:
6985         * gst/gstregistrybinary.c:
6986           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6987           up the internal code accordingly.  This shouldn't be a problem, since
6988           there is no reason external code could ever assume the string in such
6989           a structure is dynamically allocated unless it did that itself;  the
6990           use of g_strdup() is private to element factories.  The new code also
6991           saves some memory by putting pad template name strings into the GLib
6992           quark table instead of allocating them dynamically.
6993           Declaring this field constant fixes warnings with g++-4.2 when using
6994           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6995
6996 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6997
6998         * gst/gstelementfactory.c:
6999           Release static caps. Fixes #475723.
7000
7001 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7002
7003         * gst/gstinfo.c:
7004         * gst/gstinfo.h:
7005           Make some internal API take const gchar * instead of just
7006           gchar * to avoid compiler warnings with g++-4.2.2 when
7007           passing string constants (partially fixes #478092).
7008
7009 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7010
7011         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7012         A latency query fails when one of the sinks fail.
7013
7014         * gst/gstelement.c: (gst_element_set_base_time):
7015         Improve debugging.
7016
7017 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7018
7019         * gst/gstbin.c: (gst_bin_continue_func):
7020         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7021         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7022         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7023
7024         Fix minor compilation warnings shown with Forte.
7025
7026 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7027
7028         * plugins/elements/gstqueue.c: (apply_buffer),
7029         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7030         Measure queue level based on the diff between head and tail timestamps
7031         even when pushing the first buffer.
7032
7033 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7034
7035         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7036         (gst_base_sink_event), (gst_base_sink_change_state):
7037         Sinks that don't preroll can always be queried for the latency.
7038         Don't post ASYNC start when we are not async.
7039
7040 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7041
7042         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7043         (gst_queue_handle_sink_event), (gst_queue_chain),
7044         (gst_queue_push_one), (gst_queue_handle_src_query),
7045         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7046         * plugins/elements/gstqueue.h:
7047         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7048         push more buffers but allow pushing of EOS and NEWSEGMENT.
7049         Add some more debug info here and there. Fixes #476514.
7050
7051 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7052
7053         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7054         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7055         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7056         (gst_base_sink_set_flushing), (gst_base_sink_query),
7057         (gst_base_sink_change_state):
7058         Latency query is allowed after we are prerolled. Introduce a new flag
7059         for this and stop abusing other variables.
7060
7061 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7062
7063         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7064         Push OOB events downstream when we get them in send_event. This allows
7065         the application to insert events in the pipeline.
7066         Add some more comments.
7067
7068 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7069
7070         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7071         (do_bin_latency), (gst_bin_change_state_func):
7072         * gst/gstpipeline.c: (gst_pipeline_change_state):
7073         Move latency query from GstPipeline to GstBin so that we can also
7074         use it when async-handling is enabled on bins.
7075
7076 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7077
7078         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7079         (gst_base_src_do_sync), (gst_base_src_change_state):
7080         Update docs.
7081         Clean up the timestamping and syncing code for pseudo live sources.
7082
7083 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         Patch by: Steve Fink  <sphink gmail com>
7086
7087         * docs/manual/appendix-checklist.xml:
7088           Mention less -R switch in the section about debug output (#474055).
7089
7090 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7091
7092         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7093         Queue can latency to the pipeline up to the configured max size in time.
7094         Report this fact in the latency query.
7095
7096 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7097
7098         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7099
7100         * libs/gst/controller/gstinterpolation.c:
7101         * libs/gst/controller/gstlfocontrolsource.c:
7102         Use gst_guint64_to_gdouble() when converting from a uint64 or
7103         GstClockTime to double to fix the build on win32. Fixes #474371.
7104
7105 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7106
7107         * gst/gstbuffer.c: (gst_buffer_finalize):
7108         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7109         When finalizing a buffer the complete struct is filled with 0xff,
7110         thus making a use of the buffer after the final unref impossible.
7111
7112 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7113
7114         * tests/check/libs/controller.c: (GST_START_TEST):
7115         Use fail_unless_equals_int(a, b) instead of
7116         fail_unless_equals (a == b) to get better output on failures.
7117
7118 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7119
7120         * tests/check/gst/gsturi.c:
7121           Also check for the other file URI variant on win32.
7122
7123 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7124
7125         * gst/gsturi.c: (gst_uri_get_location):
7126           If there's no hostname, we want to return 'c:/foo/bar.txt'
7127           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7128
7129         * tests/check/gst/gsturi.c:
7130           Unit test for the above and a few more things.
7131
7132 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7133
7134         * docs/design/part-live-source.txt:
7135         Add docs on how live sources should timestamp.
7136
7137         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7138         Add some more debug info.
7139         For subclasses that are live and like to sync, add aditional startup
7140         latency to sync time and timestamps so that we timstamp according to the
7141         design doc.
7142
7143 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7144
7145         * gst/gstbuffer.c:
7146           Also do a g_type_class_ref() for the subbuffer type in
7147           the init function.
7148
7149 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7150
7151         * docs/gst/gstreamer-sections.txt:
7152         * gst/gstpad.c: (gst_pad_peer_query):
7153         * gst/gstpad.h:
7154         Add function to perform a query on the peer of a pad.
7155         API: gst_pad_peer_query()
7156
7157 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7158
7159         * tests/check/gst/gstsystemclock.c:
7160           Cleanup the test a little (use gst-logging and not g_message). Improve
7161           test to check if a wait reached the target.
7162
7163 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         * docs/libs/gstreamer-libs-sections.txt:
7166           Add new API to docs and fix the build.
7167
7168 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7169
7170         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7171         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7172         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7173         (gst_base_src_get_property), (gst_base_src_do_sync):
7174         * libs/gst/base/gstbasesrc.h:
7175         Add property to make the basesrc timestamp buffers based on the current
7176         running time.
7177         API: GstBaseSrc::do-timestamp
7178         API: gst_base_src_set_do_timestamp()
7179         API: gst_base_src_get_do_timestamp()
7180
7181 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7182
7183         * docs/random/release:
7184           Really make sure translations are up-to-date before
7185           a release (#465010).
7186
7187 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7188
7189         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7190         Always destroy the timer, also in error cases.
7191
7192 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7193
7194         * docs/manual/highlevel-xml.xml:
7195         Fix XML example code. Fixes #472714.
7196
7197 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7198
7199         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7200         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7201         (gst_base_sink_query):
7202         Protect eos and have_preroll with the OBJECT lock so we don't need to
7203         take the PREROLL lock when querying the latency. Fixes #473846.
7204
7205 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7206
7207         * gst/gstelement.c:
7208           Give some log-messages a category.
7209
7210 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7211
7212         * gst/gststructure.c:
7213         (gst_structure_fixate_field_nearest_fraction):
7214         Fix fraction list fixation code. Take the fraction with the smallest
7215         difference with the target instead of the first one in the list.
7216
7217         * tests/check/gst/gststructure.c: (GST_START_TEST),
7218         (gst_structure_suite):
7219         Added test to verify correct fraction list fixation behaviour.
7220
7221 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * win32/common/libgstreamer.def:
7224           Export gst_bus_add_signal_watch too.
7225
7226 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7227
7228         * docs/libs/gstreamer-libs-sections.txt:
7229         Add new methods to docs.
7230
7231         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7232         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7233         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7234         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7235         * libs/gst/base/gstbasesink.h:
7236         Add ts-offset property to fine-tune the synchronisation.
7237         API: GstBaseSink::ts-offset property
7238         API: gst_base_sink_set_ts_offset()
7239         API: gst_base_sink_get_ts_offset()
7240
7241 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7242
7243         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7244         (gst_base_sink_init), (gst_base_sink_set_sync),
7245         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7246         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7247         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7248         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7249         (gst_base_sink_get_property), (gst_base_sink_change_state):
7250         * libs/gst/base/gstbasesink.h:
7251         Add async property to instruct the sink never to inform the parent about
7252         ASYNC state changes, update docs.
7253         Check argument with g_return_* for the public functions.
7254         API: GstBaseSink::async property
7255         API: gst_base_sink_set_async_enabled()
7256         API: gst_base_sink_is_async_enabled()
7257
7258 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7259
7260         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7261         Improve debugging.
7262
7263         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7264         (gst_base_src_default_query), (gst_base_src_wait),
7265         (gst_base_src_do_sync), (gst_base_src_change_state):
7266         Rearrange some code so that we can add support for measuring the 
7267         startup latency.
7268
7269 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7270
7271         * docs/random/ensonic/dynlink.txt:
7272           More thoughs on this.
7273
7274         * plugins/elements/gstcapsfilter.c:
7275           Add bugzilla ticket number to FIXME comment.
7276
7277 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7278
7279         * docs/design/part-TODO.txt:
7280         * docs/design/part-block.txt:
7281         Update some docs.
7282
7283 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7284
7285         * gst/Makefile.am:
7286           Revert patch which uses $(gst_headers) instead of $^ because it
7287           breaks make dist.
7288
7289 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7290
7291         * tests/check/gst/gstbin.c: (GST_START_TEST):
7292           Fix leaks in the new unit test.
7293
7294 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7295
7296         * gst/gst.c:
7297           Don't use GST_INFO before the debug system is actually initialised
7298           (shouldn't do any harm, but won't print anything either, so we can
7299           just as well remove it).
7300
7301         * gst/gstinfo.h:
7302           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7303           compilers that don't support variadic macros (such as MSVC), should
7304           check for debug_level <= __gst_debug_min as well, since that's the
7305           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7306           inline helper functions. Should improve performance a bit, but also
7307           makes sure uses of GST_INFO et.al are ignored if the debugging
7308           system isn't initialised yet (instead of printing an assertion
7309           failure).
7310
7311 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7312
7313         patch by: David Nečas <yeti@physics.muni.cz>
7314
7315         * gst/Makefile.am:
7316           Replace some non portable makefile constructs.
7317
7318 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7319
7320         * common/gtk-doc-plugins.mak:
7321           Grrrrr. Don't remove the types file on make clean.
7322
7323 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7324
7325         * tools/gst-launch.1.in:
7326         Add colorspace to example pipeline. Fixes #458274.
7327
7328 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7329
7330         * docs/random/release:
7331           The release manager should run 'make download-po' before making a
7332           release to make sure translations are up-to-date.
7333
7334         * po/LINGUAS:
7335         * po/be.po:
7336         * po/pl.po:
7337         * po/rw.po:
7338           Add some new translations.
7339
7340 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7341
7342         * tools/gst-launch.c: (event_loop), (main):
7343         Don´t try to do any state management when a live pipeline posts
7344         buffering messages.
7345         Also make the buffering string translatable.
7346
7347 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7348
7349         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7350         (bin_handle_async_start), (gst_bin_handle_message_func):
7351         Improve debugging.
7352         When adding elements, insert messages into the bus of the newly added
7353         element and make sure the element is the source of the message. This
7354         allows the parent bin to intercept the message and do the
7355         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7356         messages to the app (which is not allowed).
7357         Update some docs.
7358
7359         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7360         Fix testsuite so that is does not work around messages that should not
7361         have been posted in the first place.
7362
7363 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7364
7365         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7366         (update_degree), (gst_bin_sort_iterator_next):
7367         Fix annoying bug in the sorted iterator where a sink that is not really
7368         a sink (when it has downstream links) screwed up the iterator.
7369
7370         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7371         Unit test to verify the fix.
7372
7373 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7374
7375         * gst/gstmessage.h:
7376         Add some more docs for the messages.
7377
7378         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7379         (gst_base_sink_query):
7380         Add some more debugging.
7381
7382         * tools/gst-launch.c: (event_loop):
7383         When interrupting, don't try to set pipeline to PAUSED twice.
7384
7385 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7386
7387         
7388         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7389         (bin_handle_async_start), (gst_bin_handle_message_func):
7390         Move ASYNC_START message posting to where it belongs, similar to
7391         async_done. 
7392         Don't post ASYNC_START when we are in error. 
7393         Post ASYNC_START when we added an async element to a bin.
7394
7395 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7396
7397         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7398         generation from vargs. Fixes #466595.
7399
7400 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7401
7402         * gst/gstbin.c: (gst_bin_element_set_state):
7403         Always change the state of a NO_PREROLL element even if it has ASYNC
7404         elements inside (in case of a bin).
7405
7406         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7407         Unit test for this case.
7408
7409 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7410
7411         * libs/gst/check/gstbufferstraw.c:
7412         * libs/gst/check/gstcheck.h:
7413         * libs/gst/controller/gstcontroller.c:
7414         * libs/gst/controller/gstcontrolsource.h:
7415         * libs/gst/controller/gstlfocontrolsource.h:
7416         * plugins/elements/gstcapsfilter.h:
7417         * plugins/elements/gstfdsink.h:
7418         * plugins/elements/gstfdsrc.h:
7419           Add more missing docs.
7420
7421 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7422
7423         * gst/gststructure.c:
7424         Add Since tag to docs.
7425
7426 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7427
7428         * docs/gst/gstreamer-sections.txt:
7429         * gst/gststructure.c: (gst_structure_get_uint):
7430         * gst/gststructure.h:
7431         Add function to get uint from a structure.
7432         API: gst_structure_get_uint()
7433
7434 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7435
7436         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7437         (gst_caps_intersect):
7438         Fix proper check for simple caps.
7439
7440 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7441
7442         * docs/gst/Makefile.am:
7443         * docs/libs/Makefile.am:
7444           Remove cruft and do some cleanups.
7445
7446         * docs/gst/gstreamer-docs.sgml:
7447         * docs/libs/gstreamer-libs-docs.sgml:
7448           Prepare for comming gtkdoc features (rebase against online docs).
7449
7450 2007-08-10  Michael Smith <msmith@fluendo.com>
7451
7452         * docs/gst/gstreamer-sections.txt:
7453           Add gst_registry_add_path to docs.
7454
7455 2007-08-10  Michael Smith <msmith@fluendo.com>
7456
7457         * gst/gstregistry.h:
7458           Add gst_registry_add_path, which was missing from this header.
7459
7460 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7461
7462         * libs/gst/controller/gstlfocontrolsource.c:
7463           Printf format fix.
7464
7465 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7466
7467         * libs/gst/base/gstbasesink.c:
7468           Don't send an async_start message during downwards state change if 
7469           target state is less than READY
7470
7471 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7472
7473         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7474
7475         * po/LINGUAS:
7476         * po/hu.po:
7477           Added Hungarian translation.
7478
7479 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7480
7481         * po/fi.po:
7482         * po/it.po:
7483         * po/nl.po:
7484         * po/sv.po:
7485         * po/uk.po:
7486           Updated translations.
7487
7488 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7489
7490         * libs/gst/controller/Makefile.am:
7491         Dist gstlfocontrolsourceprivate.h
7492
7493 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * docs/libs/gstreamer-libs.types:
7496         Don't register the enum type gst_lfo_waveform_get_type() in the
7497         .types file - only GObject derived types belong.
7498
7499 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7500
7501         Patch by: <arenevier at fdn dot fr>
7502
7503         * gst/gstbuffer.h:
7504         Remove comma from last element in enum to avoid compile errors when
7505         using -pendantic. Fixes #464366.
7506
7507 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7508
7509         * docs/design/part-TODO.txt:
7510         Add some more TODO items
7511
7512         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7513         Improve debugging.
7514
7515         * gst/gstcaps.c: (gst_caps_intersect):
7516         Optimize trivial intersection case between identical caps pointers.
7517
7518         * gst/gstelement.c: (gst_element_continue_state),
7519         (gst_element_set_state_func):
7520         * gst/gstpad.c:
7521         Fix spelling and grammar mistakes.
7522
7523 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7524
7525         * po/POTFILES.in:
7526         * po/POTFILES.skip:
7527           Update POTFILES. Fixes #461599.
7528
7529 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7530
7531         * gst/gst.c:
7532         Fix confusing typo in debug output.
7533
7534 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7535
7536         reviewed by: Stefan Kost <ensonic@users.sf.net>
7537
7538         * libs/gst/controller/Makefile.am:
7539         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7540         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7541         (gst_lfo_control_source_new),
7542         (gst_lfo_control_source_set_waveform),
7543         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7544         (gst_lfo_control_source_finalize),
7545         (gst_lfo_control_source_dispose),
7546         (gst_lfo_control_source_set_property),
7547         (gst_lfo_control_source_get_property),
7548         (gst_lfo_control_source_class_init):
7549         * libs/gst/controller/gstlfocontrolsource.h:
7550         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7551         API: Add GstLFOControlSource, a control source that gives values
7552         for specific timestamps based on several periodic waveforms.
7553         Fixes #459717.
7554
7555         * tests/check/libs/controller.c: (GST_START_TEST),
7556         (gst_controller_suite):
7557         * docs/libs/gstreamer-libs-docs.sgml:
7558         * docs/libs/gstreamer-libs-sections.txt:
7559         * docs/libs/gstreamer-libs.types:
7560         Add documentation and unit tests for GstLFOControlSource.
7561
7562 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7563
7564         * configure.ac:
7565         Back to CVS
7566
7567 === release 0.10.14 ===
7568
7569 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7570
7571         * configure.ac:
7572           releasing 0.10.14, "Breathing Vacuum"
7573
7574 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7575
7576         * gst/gstelement.c: (gst_element_class_set_details_simple):
7577         * gst/gstelement.h:
7578           Make strings passed to gst_element_class_set_details_simple()
7579           constant, as they should be (#462752).
7580
7581 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7582
7583         * gst/gstbin.c: (gst_bin_change_state_func),
7584         (bin_handle_async_done), (gst_bin_handle_message_func):
7585         Don't forget about the fact that some element went ASYNC even after a
7586         resync. This makes us post the ASYNC_DONE message correctly.
7587         Fixes #462558.
7588
7589 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7590
7591         * gst/gstregistry.c: (gst_registry_add_feature):
7592         When replacing an existing feature in the registry, make sure to
7593         continue holding a reference until we've replaced the name string
7594         within our feature hash table. Make sure to use g_hash_table_replace
7595         instead of g_hash_table_insert to ensure the new name string is used
7596         as a key instead of the old one that we're about to free.
7597         Fixes: #462085
7598
7599 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7600
7601         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7602         (gst_plugin_feature_set_name):
7603         Revert patch from #459466 until after the release and we can work
7604         out exactly what the problem is (if any).
7605
7606 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7607
7608         * docs/gst/gstreamer-sections.txt:
7609         * gst/gsttaglist.c:
7610         * gst/gsttaglist.h:
7611           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7612
7613 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7614
7615         * docs/libs/Makefile.am:
7616         Include our build-prefix libs and includes before the generic ones to
7617         avoid linking against the installed libs when we want the build-tree
7618         ones.
7619
7620 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7621
7622         Patch by: Steve Fink  <sphink gmail com>
7623
7624         * docs/pwg/building-testapp.xml:
7625           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7626           if people try to build or install the example from the plugin
7627           template against a GStreamer from package using the configure
7628           defaults.
7629
7630 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7631
7632         Patch by: Steve Fink  <sphink gmail com>
7633
7634         * tools/gst-inspect.1.in:
7635           Document --print-all and --print-plugin-auto-install-info command
7636           line options in man page.
7637
7638 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7639
7640         * docs/gst/gstreamer-sections.txt:
7641         Add docs for new api function.
7642
7643 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7644
7645         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7646         * gst/gstelementfactory.h:
7647         API: gst_element_factory_has_interface()
7648         Added method to check if an element factory implements a named
7649         interface.
7650
7651 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7652
7653         * configure.ac:
7654         * docs/gst/gstreamer.types.in:
7655           Another conditional doc check.
7656
7657         * gst/gstmessage.c:
7658         * gst/gstparamspecs.h:
7659         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7660         * gst/gstvalue.c:
7661         * gst/gstxml.h:
7662           API-doc fixes.
7663
7664 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7665
7666         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7667         (gst_registry_binary_load_feature),
7668         (gst_registry_binary_load_plugin),
7669         (gst_registry_binary_read_cache):
7670           Print error just once and with additional info.
7671
7672 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7673
7674         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7675         (helper_find_suggest), (helper_find_get_length),
7676         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7677         (gst_type_find_helper_for_buffer):
7678           Cleanup the typefindhelper code and add private doc comments.
7679
7680 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7681
7682         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7683         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7684         Fix capsfilter for cases where the caps set on capsfilter will provide
7685         additional information.
7686         Fixes #449197
7687
7688 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7689
7690         * gst/gsttypefindfactory.c:
7691           Fix docs that recommened wrong function to use.
7692
7693 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7694
7695         * tools/gst-inspect.c: (print_plugin_features):
7696           Also give media-type for typefinders in element output.
7697
7698 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7699
7700         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7701         (gst_registry_remove_features_for_plugin_unlocked),
7702         (gst_registry_add_feature), (gst_registry_remove_feature),
7703         (gst_registry_lookup_feature_locked):
7704         * gst/gstregistry.h:
7705           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7706           Fixes #459501.
7707
7708 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7709
7710         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7711         (gst_plugin_feature_set_name):
7712           Avoid double memory usage for pluginfeature names. Fixes #459466.
7713
7714 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7715
7716         * gst/gstpad.h:
7717           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7718           driving the pipeline may need to explicitly check for NOT_LINKED as
7719           well, since IS_FATAL doesn't cover that.
7720
7721 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7722
7723         * docs/pwg/advanced-types.xml:
7724           Fix typo and duplicate entry in video formats list.
7725
7726 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7727
7728         * libs/gst/controller/gstinterpolation.c:
7729         Also round to the nearest int when using cubic interpolation.
7730
7731 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7732
7733         * libs/gst/controller/gstinterpolation.c:
7734         When linearly interpolating integer types, round to the nearest int
7735         by adding 0.5. Don't do it for float/double types.
7736         Fixes the failing controller test on my machine, which is somehow
7737         rounding differently than on the buildbots.
7738
7739 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7740
7741         * tools/gst-plot-timeline.py:
7742           Better log parsing (categories can have -). Adjust text vs. lines, so
7743           that they span the same y-range.        
7744
7745 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7746
7747         * docs/random/ensonic/audiobaseclasses.txt:
7748         * docs/random/ensonic/dynlink.txt:
7749         * docs/random/ensonic/profiling.txt:
7750           Save my thoughts.
7751
7752         * docs/random/moving-plugins:
7753           Add note to use g_assert type macros.
7754
7755 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7756
7757         * configure.ac:
7758         * libs/gst/check/Makefile.am:
7759           Add libm check as we use in for plugins.
7760
7761 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7762
7763         * gst/gstbin.c: (gst_bin_continue_func):
7764         Check that the state_cookie hasn't changed since the continue_func
7765         was scheduled. Avoids problems where the state changes back to
7766         something it shouldn't be because it was changed in the meantime.
7767
7768 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7769
7770         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7771         (gst_registry_binary_save_string),
7772         (gst_registry_binary_save_pad_template),
7773         (gst_registry_binary_save_feature),
7774         (gst_registry_binary_save_plugin),
7775         (gst_registry_binary_load_feature),
7776         (gst_registry_binary_load_plugin),
7777         (gst_registry_binary_read_cache):
7778           Fix memory leak. Be less verbose in the log.
7779
7780 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7781
7782         * tests/check/elements/.cvsignore:
7783         Add file to cvsignore as commanded.
7784
7785 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7786
7787         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7788         (mq_dummypad_event), (run_output_order_test):
7789         Use a GStaticMutex to protect all cases where libcheck
7790         fail_if/fail_unless macros might be called from multiple threads
7791         simultaneously to avoid errors like:
7792           "check_pack.c:107: :-1081725400:Bad message type arg"
7793
7794 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7795
7796         * tests/check/pipelines/stress.c: (GST_START_TEST):
7797         Make sure we set the pipeline back to the NULL state before
7798         dropping our final reference.
7799
7800 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7801
7802         * tests/check/elements/tee.c: (GST_START_TEST):
7803         Make the tee stress-test a little less stressful so it doesn't just
7804         time out on slow-machines, and remove a small race when it's starting 
7805         up by adding a get_state() call.
7806
7807 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7808
7809         * gst/gst.c:
7810           Avoid reading registry twice on startup. Fixes #457322.
7811
7812 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7813
7814         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7815         * pkgconfig/gstreamer-check.pc.in:
7816         Substitute the CFLAGS for libcheck into our .pc file too so that
7817         dependent modules will pick it up properly if libcheck is installed
7818         into some other prefix.
7819
7820 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7821
7822         * configure.ac:
7823         Revert the pkg-config check for libcheck, since it pulls in the
7824         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7825         a proper solution, either from the check project, or something else.
7826
7827 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7828
7829         * configure.ac:
7830           Use pkg-config to locate check.
7831
7832 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7833
7834         * gst/gsttaglist.c:
7835           Fix doc syntax.
7836
7837         * gst/gstutils.c:
7838         * gst/gstutils.h:
7839           Add deprecation guards.
7840
7841         * libs/gst/base/gstcollectpads.h:
7842           Don't document object (this is implicitly private).
7843
7844 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7845
7846         * gst/gststructure.c: (gst_structure_parse_value):
7847           When deserialising foo=bar without a type cast, check if it's a
7848           boolean before falling back to a string type, otherwise things like
7849           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7850           because the filtercaps end up having a signed=(string)true field,
7851           which causes problems later when intersection caps.
7852
7853         * tests/check/gst/gststructure.c: (GST_START_TEST):
7854           Add a unit test for this.
7855
7856 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7857
7858         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7859
7860         * libs/gst/controller/Makefile.am:
7861         * libs/gst/controller/gstcontroller.c:
7862         (gst_controlled_property_add_interpolation_control_source),
7863         (gst_controlled_property_new), (gst_controlled_property_free),
7864         (gst_controller_find_controlled_property),
7865         (gst_controller_new_valist), (gst_controller_new_list),
7866         (gst_controller_new), (gst_controller_remove_properties_valist),
7867         (gst_controller_remove_properties_list),
7868         (gst_controller_remove_properties),
7869         (gst_controller_set_property_disabled),
7870         (gst_controller_set_disabled), (gst_controller_set_control_source),
7871         (gst_controller_get_control_source), (gst_controller_get),
7872         (gst_controller_sync_values), (gst_controller_get_value_array),
7873         (_gst_controller_dispose), (gst_controller_get_type),
7874         (gst_controlled_property_set_interpolation_mode),
7875         (gst_controller_set), (gst_controller_set_from_list),
7876         (gst_controller_unset), (gst_controller_unset_all),
7877         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7878         * libs/gst/controller/gstcontroller.h:
7879         * libs/gst/controller/gstcontrollerprivate.h:
7880         * libs/gst/controller/gstcontrolsource.c:
7881         (gst_control_source_class_init), (gst_control_source_init),
7882         (gst_control_source_get_value),
7883         (gst_control_source_get_value_array), (gst_control_source_bind):
7884         * libs/gst/controller/gstcontrolsource.h:
7885         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7886         (gst_object_get_control_source):
7887         * libs/gst/controller/gstinterpolation.c:
7888         (gst_interpolation_control_source_find_control_point_node),
7889         (gst_interpolation_control_source_get_first_value),
7890         (_interpolate_none_get), (interpolate_none_get),
7891         (interpolate_none_get_boolean_value_array),
7892         (interpolate_none_get_enum_value_array),
7893         (interpolate_none_get_string_value_array),
7894         (_interpolate_trigger_get), (interpolate_trigger_get),
7895         (interpolate_trigger_get_boolean_value_array),
7896         (interpolate_trigger_get_enum_value_array),
7897         (interpolate_trigger_get_string_value_array):
7898         * libs/gst/controller/gstinterpolationcontrolsource.c:
7899         (gst_control_point_free), (gst_interpolation_control_source_reset),
7900         (gst_interpolation_control_source_new),
7901         (gst_interpolation_control_source_set_interpolation_mode),
7902         (gst_interpolation_control_source_bind),
7903         (gst_control_point_compare), (gst_control_point_find),
7904         (gst_interpolation_control_source_set_internal),
7905         (gst_interpolation_control_source_set),
7906         (gst_interpolation_control_source_set_from_list),
7907         (gst_interpolation_control_source_unset),
7908         (gst_interpolation_control_source_unset_all),
7909         (gst_interpolation_control_source_get_all),
7910         (gst_interpolation_control_source_get_count),
7911         (gst_interpolation_control_source_init),
7912         (gst_interpolation_control_source_finalize),
7913         (gst_interpolation_control_source_dispose),
7914         (gst_interpolation_control_source_class_init):
7915         * libs/gst/controller/gstinterpolationcontrolsource.h:
7916         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7917         API: Refactor GstController into the core controller which can take
7918         a GstControlSource for providing actual values for timestamps.
7919         Implement a interpolation control source and use this for backward
7920         compatibility, deprecate a bunch of functions that are now handled
7921         by GstControlSource or GstInterpolationControlSource.
7922         Make it possible to disable the controller completely or only for
7923         specific properties. Fixes #450711.
7924         * docs/libs/gstreamer-libs-docs.sgml:
7925         * docs/libs/gstreamer-libs-sections.txt:
7926         * docs/libs/gstreamer-libs.types:
7927         Add new functions and classes to the docs.
7928         * tests/check/libs/controller.c: (GST_START_TEST),
7929         (gst_controller_suite):
7930         * tests/examples/controller/audio-example.c: (main):
7931         Port unit test and example to the new API and add some new
7932         unit tests.
7933
7934 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7935
7936         Patch by: Mark Nauwelaerts <manauw at skynet be>
7937
7938         * plugins/elements/gstmultiqueue.c:
7939         (gst_multi_queue_get_internal_links), (apply_buffer),
7940         (single_queue_overrun_cb), (gst_single_queue_new):
7941         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7942         the pipeline layout can be tracked correctly. Fixes #453732.
7943
7944 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7945
7946         * docs/gst/Makefile.am:
7947         * docs/libs/Makefile.am:
7948         * docs/plugins/Makefile.am:
7949           Simplify --extra-dir as gtkdoc scans recursively.
7950
7951 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7952
7953         * tools/gst-launch.c: (main):
7954         When we got an error, there is no point in waiting for preroll when
7955         shutting down.
7956
7957 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7958
7959         * plugins/elements/gsttee.c: (gst_tee_base_init),
7960         (gst_tee_request_new_pad), (gst_tee_release_pad),
7961         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7962         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7963         (gst_tee_chain):
7964         Be a lot smarter when deciding what srcpad to use for proxying
7965         the buffer_alloc. Also handle pad added/removed when doing so.
7966         Fixes #357959.
7967         Keep track of what pads we already pushed on in case we have pads
7968         added/removed while pushing. Fixes #374639 
7969
7970         * tests/check/Makefile.am:
7971         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7972         (tee_suite):
7973         Added unit test for pad resync.
7974
7975 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7976
7977         * po/nl.po:
7978         * po/sv.po:
7979           Updated translations.
7980
7981 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7982
7983         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7984
7985         * po/LINGUAS:
7986         * po/fi.po:
7987           Added new Finnish translation.
7988
7989 2007-06-28  Wim Taymans  <wim@fluendo.com>
7990
7991         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7992         (single_queue_overrun_cb):
7993         When figuring out when a queue is filled, use our internal time estimate
7994         based on segments, just like check_full does.
7995
7996 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * gst/gstminiobject.c: (gst_mini_object_get_type):
7999           Remove 3 do-nothing methods.
8000
8001 2007-06-27  Wim Taymans  <wim@fluendo.com>
8002
8003         Patch by: Tim Angus <tim at ngus dot net>
8004
8005         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8006         (gst_capsfilter_set_property):
8007         Take a reference instead of a copy when setting "caps".
8008         Fix documentation to clarify this behaviour. Fixes #449414.
8009
8010 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8011
8012         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8013         * gst/gstplugin.c: (gst_plugin_init):
8014         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8015         * gst/gstquery.c: (gst_query_get_type):
8016         * gst/gstregistry.c: (gst_registry_init):
8017         * gst/gsturi.c: (gst_uri_handler_base_init):
8018           Remove empty instance_init() functions to save relocs and lessen the
8019           noise. Remove some of the function prototypes that are doubled by
8020           G_DEFINE_TYPE.
8021           
8022 2007-06-27  Wim Taymans  <wim@fluendo.com>
8023
8024         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8025
8026         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8027         Add peer and direction in the XML serialisation of ghostpads.
8028         Fixes #449226.
8029
8030 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * configure.ac:
8033           Preserve useful information, thanks Tim.
8034
8035 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8036
8037         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8038         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8039         (gst_single_queue_push_one), (gst_multi_queue_loop),
8040         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8041         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8042         (compute_high_id), (gst_single_queue_new):
8043         * plugins/elements/gstmultiqueue.h:
8044         Take the multiqueue lock when updating the fill level so we don't get
8045         confused. 
8046
8047         After applying a buffer or event on the src pad segment, make sure to
8048         call gst_data_queue_limits_changed() to get the data queue to unblock
8049         and check the filled state again.
8050         
8051         Rework the not-linked pad handling so the logic is that not-linked 
8052         pads can push as fast as they like, but only so they never get 
8053         ahead of any linked pads.
8054
8055         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8056         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8057         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8058
8059         Add a test to check that not-linked pads always stay behind
8060         linked pads.
8061
8062         Fixes: #430682
8063
8064 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8065
8066         * docs/random/release:
8067           Some updates to the release procedure.
8068
8069 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8070
8071         * gst/gstelementfactory.c: (__gst_element_details_clear):
8072           Microoptimization that saves stunning 80 bytes.
8073
8074 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8075
8076         * docs/plugins/gstreamer-plugins.args:
8077         * docs/plugins/inspect/plugin-coreelements.xml:
8078         * docs/plugins/inspect/plugin-coreindexers.xml:
8079           Update docs with caps info.
8080
8081 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8082
8083         * po/it.po:
8084           Updated Italian translation.
8085
8086 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8087
8088         * ChangeLog:
8089         * po/vi.po:
8090           Update Vietnamese translations.
8091
8092 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8093
8094         * libs/gst/base/gstbasesink.c:
8095           Remove unused signal enum.
8096
8097 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8098
8099         * docs/gst/gstreamer-sections.txt:
8100         * gst/gstelement.c:
8101         * gst/gstutils.c: (gst_type_register_static_full):
8102         Beef up and include the docs for gst_type_register_static_full and
8103         gst_element_class_set_details_simple and add the API keyword
8104         in the ChangeLog.
8105
8106 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8107
8108         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8109         (update_time_level), (gst_single_queue_push_one),
8110         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8111         (single_queue_overrun_cb), (single_queue_underrun_cb),
8112         (single_queue_check_full):
8113         Fix setting max-* properties after adding queues.
8114         Use IS_FILLED for checking visible items.
8115         Signal overrun if multiple queues overrun.
8116         Add extra debug output.
8117         Patch by: Wim Taymans <wim@fluendo.com>
8118
8119 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8120
8121         * gst/gstelement.c: (gst_element_class_set_details_simple):
8122         * gst/gstelement.h:
8123         * gst/gstutils.c: (gst_type_register_static_full):
8124         * gst/gstutils.h:
8125         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8126         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8127         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8128         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8129         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8130         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8131         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8132         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8133         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8134         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8135         (apply_buffer), (gst_queue_chain):
8136         * plugins/elements/gsttee.c: (gst_tee_base_init):
8137         * plugins/elements/gsttypefindelement.c:
8138         (gst_type_find_element_base_init),
8139         (gst_type_find_element_class_init):
8140           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8141           API: add gst_type_register_static_full
8142           API: add gst_element_class_set_details_simple
8143
8144 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8145
8146         * docs/pwg/advanced-types.xml:
8147           Fix typo in iana.org URI.
8148
8149 2007-06-19  Andy Wingo  <wingo@pobox.com>
8150
8151         * tests/check/pipelines/simple-launch-lines.c
8152         (test_state_change_returns): Enable pull-mode tests now that
8153         basesink has been fixed.
8154
8155         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8156         Changed from gst_base_sink_is_prerolled, reversing the sense of
8157         the return value. Returns FALSE also if the sink is in pull mode,
8158         in which case it needs no preroll.
8159         (gst_base_sink_query, gst_base_sink_change_state): Update for
8160         needs_preroll change.
8161         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8162         chaining up, in which we return SUCCESS directly if we activated
8163         in pull mode instead of ASYNC. Involves countering an async_start
8164         message sent before chaining up; not sure if this is correct, in
8165         an ideal world we only send async-start when activating in push
8166         mode.
8167
8168         * tests/check/pipelines/simple-launch-lines.c
8169         (test_state_change_returns): New test, partially disabled until
8170         basesink is fixed.
8171
8172 2007-06-19  Wim Taymans  <wim@fluendo.com>
8173
8174         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8175         (gst_multi_queue_sink_event):
8176         Fix event leak.
8177
8178 2007-06-19  Wim Taymans  <wim@fluendo.com>
8179
8180         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8181         (gst_bin_change_state_func), (bin_push_state_continue),
8182         (bin_handle_async_start), (bin_handle_async_done),
8183         (gst_bin_handle_message_func):
8184         Move the common code for posting state-change messages into
8185         one function.
8186         Broadcast the state signal after we posted the messages.
8187         Mark the bin as busy when it's doing a state-change.
8188         Make sure async-start/done messages don't interfere with the bin's
8189         state when it's busy.
8190         After the state change, let the bin check which elements completed the
8191         state change while it was busy so that it can update its state.
8192
8193 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8194
8195         * docs/random/release:
8196         Add a note about updating the doap file to the release checklist
8197
8198 2007-06-18  Wim Taymans  <wim@fluendo.com>
8199
8200         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8201         (gst_single_queue_push_one), (gst_multi_queue_chain),
8202         (gst_multi_queue_sink_event):
8203         Make sure we don't reference the buffer/event after we have given away
8204         ownership in the queue.
8205
8206 2007-06-18  Wim Taymans  <wim@fluendo.com>
8207
8208         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8209         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8210         Update queue state _after_ adding the item in the queue because else we
8211         could end up being full without the element added yet.
8212
8213 2007-06-18  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8216         (gst_bin_remove_func), (gst_bin_get_state_func),
8217         (gst_bin_element_set_state), (gst_bin_continue_func),
8218         (bin_push_state_continue), (bin_handle_async_start),
8219         (bin_handle_async_done), (gst_bin_handle_message_func):
8220         * gst/gstbin.h:
8221         Immediatly commit the toplevel bin state when receiving an async-done
8222         message. This enables us to avoid spawning a thread to commit the state
8223         in some common cases and it also avoids some races.
8224         Avoid spawning a state thread when adding/removing async elements to a
8225         toplevel bin. Instead we immediatly update the bin state.
8226         Get rid of iterating all the children when getting the state in the bin
8227         because it is now always up-to-date.
8228         Fix bug where locked elements would always return _SUCCESS even it they
8229         returned NO_PREROLL before being locked.
8230         Fix the order of the state_change, async-start/done messages that was
8231         sometimes incorrect.
8232         Mark the state_dirty field as deprecated, we don't need it anymore as we
8233         are always up-to-date.
8234
8235         * gst/gstelement.c: (gst_element_get_state_func),
8236         (gst_element_continue_state):
8237         Small debug inprovements.
8238         Return the previous element state return when nothing is pending instead
8239         of blindly returning SUCCESS.
8240
8241         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8242         (gst_sinks_suite):
8243         Add a whole bunch of new testcases.
8244
8245 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8246
8247         * po/uk.po:
8248         * po/vi.po:
8249           Update translations.
8250
8251 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8252
8253         * gst/gstpad.c:
8254         Fix typo in the docs.
8255
8256 2007-06-15  Wim Taymans  <wim@fluendo.com>
8257
8258         * docs/libs/gstreamer-libs-sections.txt:
8259         Add docs for new methods.
8260
8261 2007-06-15  Wim Taymans  <wim@fluendo.com>
8262
8263         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8264         (gst_multi_queue_item_new):
8265         Don't use GSlice because we don't depend on >= 2.10 yet.
8266
8267 2007-06-15  Wim Taymans  <wim@fluendo.com>
8268
8269         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8270         (update_time_level), (apply_segment), (apply_buffer),
8271         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8272         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8273         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8274         (single_queue_underrun_cb), (single_queue_check_full):
8275         Remove debug printf.
8276
8277 2007-06-15  Wim Taymans  <wim@fluendo.com>
8278
8279         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8280         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8281         (gst_data_queue_set_flushing), (gst_data_queue_push),
8282         (gst_data_queue_pop), (gst_data_queue_drop_head),
8283         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8284         * libs/gst/base/gstdataqueue.h:
8285         Various cleanups.
8286         Added methods to get the current levels and to inform the queue that the
8287         'full' limits changed.
8288
8289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8290         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8291         (gst_single_queue_flush), (update_time_level), (apply_segment),
8292         (apply_buffer), (gst_single_queue_push_one),
8293         (gst_multi_queue_item_steal_object),
8294         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8295         (gst_multi_queue_loop), (gst_multi_queue_chain),
8296         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8297         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8298         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8299         (single_queue_underrun_cb), (single_queue_check_full),
8300         (gst_single_queue_new):
8301         Keep track of time in the queue by measuring the difference between
8302         running_time on input and output. This gives more accurate results and
8303         can compensate for segments correctly.
8304         Make a queue by default only 5 buffers deep. We will now increase the
8305         buffer size depending on the filledness of the other queues.
8306         Factor out commong flush code.
8307         Make sure we don't add additional refcounts to buffers when we can avoid
8308         it.
8309         Propagate GstFlowReturn differently.
8310         Use GSlice for intermediate GstMultiQueueItems.
8311         Keep track of EOS.
8312         Resize queues on over and underruns based on filled level of other
8313         queues.
8314         When checking if the queue is filled, prefer to measure in time if we
8315         can and fall back to bytes when no time is known.
8316
8317         * plugins/elements/gstqueue.c:
8318         Fix return value.
8319
8320 2007-06-15  Wim Taymans  <wim@fluendo.com>
8321
8322         * libs/gst/base/gstbasetransform.c:
8323         (gst_base_transform_sink_event):
8324         Work around the brokenness of the event vmethod in basetransform. Prefer
8325         to return TRUE when the subclass returned FALSE (meaning don't forward
8326         the event). 
8327
8328         * libs/gst/base/gstbasetransform.h:
8329         Clarify the docs.
8330
8331 2007-06-15  Wim Taymans  <wim@fluendo.com>
8332
8333         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8334         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8335         (gst_base_src_default_query), (gst_base_src_get_range),
8336         (gst_base_src_start):
8337         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8338         Improve debugging.
8339
8340 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8341
8342         * docs/pwg/advanced-types.xml:
8343           Added more formats to caps table.
8344
8345 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8346
8347         * tools/gst-launch.c: (main):
8348           Remove crufy code. GOption does not need this workaround.
8349
8350 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8351
8352         * libs/gst/controller/gstcontroller.c:
8353         (gst_controlled_property_set_interpolation_mode):
8354           Fix wrong getter for enums in controller.
8355
8356 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8357
8358         * libs/gst/check/gstcheck.c: (gst_check_init):
8359           Intercept criticals and warnings in the Gst-Phonon log domain, so
8360           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8361           well.
8362         
8363 2007-06-14  Edward Hervey  <edward@fluendo.com>
8364
8365         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8366         Since this file doesn't include "gst.h" it will not go through the
8367         macros that disable GST_LOG if debugging was disabled.
8368
8369 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8370
8371         * libs/gst/check/Makefile.am:
8372         * libs/gst/check/gstcheck.h:
8373         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8374         * pkgconfig/gstreamer-check.pc.in:
8375           Ugly 'fix' for the controller unit test on the p5 bot: in
8376           fail_unless_equals_float() check whether the values are 'almost
8377           equal' by allowing a small absolute error, which should be good
8378           enough for our use cases (normal numbers and values close to 0).
8379           Proper fixage left to floating point arithmetic aficionados.
8380
8381 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8382
8383         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8384         (gst_base_sink_render_object), (gst_base_sink_get_position):
8385           Add two breaks thats where missing.
8386
8387 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * docs/libs/gstreamer-libs-sections.txt:
8390         * libs/gst/check/gstcheck.h:
8391           API: add fail_unless_equals_float() and assert_equals_float().
8392           Add documentation for some of the macros.
8393
8394         * tests/check/libs/controller.c: (GST_START_TEST):
8395           Use newly-added asserts.
8396
8397 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8398
8399         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8400           Show the caps change in the log to help spotting the case of not
8401           exactly matching caps.
8402
8403 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8404
8405         * docs/pwg/building-boiler.xml:
8406           Fix typos, spotted by Thijs Vermeir (#447190).
8407
8408 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8409
8410         * docs/plugins/tmpl/.cvsignore:
8411         Ignore file to keep the buildbots happy
8412
8413 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8414
8415         * docs/plugins/Makefile.am:
8416         * docs/plugins/gstreamer-plugins-docs.sgml:
8417         * docs/plugins/gstreamer-plugins-sections.txt:
8418         Pull fdsink into the docs too.
8419
8420 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8421
8422         * libs/gst/controller/gstinterpolation.c:
8423         Actually use the new functions with min/max checks for the trigger and
8424         none interpolation modes for get() and get_value_array() instead of
8425         just the latter.
8426
8427 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8428
8429         * libs/gst/controller/gstcontroller.c:
8430         (gst_controlled_property_free):
8431         Unset the minimum and maximum GValues when freeing the corresponding
8432         GstControllerProperty struct.
8433
8434 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8435
8436         * libs/gst/controller/gstcontroller.c:
8437         (gst_controlled_property_new):
8438         * libs/gst/controller/gstcontrollerprivate.h:
8439         * libs/gst/controller/gstinterpolation.c:
8440         (gst_controlled_property_find_control_point_node),
8441         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8442         (interpolate_none_get_string_value_array),
8443         (interpolate_trigger_get),
8444         (interpolate_trigger_get_enum_value_array),
8445         (interpolate_trigger_get_string_value_array):
8446         Protect against values larger or smaller than the minimum or maximum
8447         allowed value for the property when using values that can be compared.
8448
8449         Optimize trigger interpolator a bit by taking the last requested value
8450         into account instead of always looping through the complete list.
8451
8452         Fix coding style a bit, everywhere else we use "return foo" instead
8453         of "return (foo)".
8454         
8455         * tests/check/libs/controller.c: (GST_START_TEST),
8456         (gst_controller_suite):
8457         Add unit test for the protection against too large or too small
8458         values.
8459
8460 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8461
8462         * docs/random/slomo/controller.txt:
8463         Add some thoughts about the future of the controller.
8464
8465 2007-06-08  Wim Taymans  <wim@fluendo.com>
8466
8467         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8468         Don't overflow in retimestamping code.
8469
8470 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8471
8472         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8473         Use gst_util_guint64_to_gdouble for conversions.
8474         * win32/common/libgstreamer.def:
8475         Add new exported functions.
8476
8477 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8478
8479         * gst/gstutils.c:
8480           Small docs addition.
8481
8482 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8483
8484         * README:
8485           Remove that test line again.
8486
8487 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8488
8489         * README:
8490           Test commit mail sending.
8491
8492 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8493
8494         * configure.ac:
8495           Fix typo and test commit mail sending.
8496
8497 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8498
8499         * tests/examples/controller/audio-example.c:
8500           Improve comment and test commit mail sending.
8501
8502 2007-06-07  Wim Taymans  <wim@fluendo.com>
8503
8504         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8505         (gst_bin_remove_func), (gst_bin_element_set_state),
8506         (bin_handle_async_start), (bin_handle_async_done),
8507         (gst_bin_handle_message_func):
8508         Add helper function to find messages.
8509         Generate the async-done messages together with the state change
8510         messages.
8511         Small cleanups in handling toplevel bins.
8512
8513 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8514
8515         * libs/gst/base/gstdataqueue.c:
8516         * libs/gst/base/gstdataqueue.h:
8517         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8518         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8519         (gst_multi_queue_sink_event):
8520         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8521           Fix multiqueue leaking buffers and events when downstream or the
8522           queue are flushing. Make refcounting assumptions explicit and
8523           document them (shouldn't break existing code that uses it other than
8524           maybe leak miniobjects, but that already happens anyway). Add unit
8525           test for the most common flushing case. Fixes #423700.
8526           
8527 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8528
8529         * libs/gst/controller/gstcontroller.c:
8530         Clarify docs: The get_all, get_value_array(s) functions
8531         don't modify the GObject properties.
8532
8533 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8534
8535         * libs/gst/controller/gstcontroller.c:
8536         (gst_controlled_property_set_interpolation_mode),
8537         (gst_controlled_property_prepend_default),
8538         (gst_controlled_property_new), (gst_controller_set_unlocked),
8539         (gst_controller_set), (gst_controller_set_from_list),
8540         (gst_controller_unset), (gst_controller_unset_all):
8541         * libs/gst/controller/gstcontrollerprivate.h:
8542         * libs/gst/controller/gstinterpolation.c:
8543         Factor out the 'set' logic into gst_controller_set_unlocked for the
8544         gst_controller_set and gst_controller_set_from_list functions.
8545
8546         To make life of the interpolators easier always add a control point
8547         at timestamp zero with the default value.
8548
8549         In the linear interpolator make things more obvious by better variable
8550         naming (slope).
8551
8552         Implement cubic interpolation mode (by using a natural cubic spline)
8553         and map the quadratic interpolation mode to this too (as quadratic
8554         doesn't make much sense, see discussion on the list).
8555
8556         * tests/check/libs/controller.c: (GST_START_TEST),
8557         (gst_controller_suite):
8558         Add unit test for the cubic interpolation mode and check everywhere
8559         if the interpolation mode could be set as expected.
8560
8561 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8562
8563         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8564           Don't use GLib-2.10 functions, we still depend on
8565           GLib-how-old-is-it-again-2.8.
8566
8567 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8568
8569         * docs/gst/gstreamer-sections.txt:
8570         * gst/Makefile.am:
8571         * gst/gst.c:
8572         * gst/gst.h:
8573         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8574         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8575         (_gst_param_fraction_values_cmp),
8576         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8577         * gst/gstparamspecs.h:
8578         * gst/gstvalue.c:
8579         * tests/check/Makefile.am:
8580         * tests/check/gst/.cvsignore:
8581         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8582         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8583         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8584         (GST_START_TEST), (gst_param_spec_suite):
8585           API: add GstParamSpecFraction, so elements can have fraction
8586           properties without lots of painful string parsing (#444648).
8587
8588 2007-06-05  Wim Taymans  <wim@fluendo.com>
8589
8590         * gst/gstobject.c: (gst_object_class_init):
8591         Fix signal signature.
8592
8593         * gst/gstsegment.c:
8594         Add small clarification in the api docs.
8595
8596         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8597         States are protected with object lock.
8598
8599 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8600
8601         * AUTHORS:
8602         I should probably be listed as an author by now.
8603
8604         * docs/random/release:
8605         Update the release doc
8606
8607 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8608
8609         * gst/gstvalue.c:
8610           Make docs for gst_value_compare() mention return enums that
8611           actually exist.
8612
8613 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8614
8615         * configure.ac:
8616           Back to CVS
8617
8618 === release 0.10.13 ===
8619
8620 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8621
8622         * configure.ac:
8623           releasing 0.10.13, "With or without you"
8624
8625 2007-05-25  Wim Taymans  <wim@fluendo.com>
8626
8627         * gst/gstbin.c: (bin_handle_async_done):
8628         Make sure that the child bin stops after completing the async state
8629         change so that the parent can continue the state change to PLAYING.
8630         Fixes #441159.
8631
8632 2007-05-25  Wim Taymans  <wim@fluendo.com>
8633
8634         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8635         (unref_data), (gst_collect_pads_remove_pad),
8636         (gst_collect_pads_check_pads):
8637         Use additional refcounting to avoid crashes when dynamically adding and
8638         removing pads. Fixes #420206.
8639
8640 2007-05-24  Wim Taymans  <wim@fluendo.com>
8641
8642         * tools/gst-launch.c: (event_loop):
8643         When buffering goes from a two digit to a single digit number, make sure
8644         to remove the old second digit by writing a blank over it.
8645
8646 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8647
8648         * libs/gst/base/gstdataqueue.c:
8649           Eliminate tabs and trailing comma in enum list; fix some typos.
8650
8651 2007-05-24  Wim Taymans  <wim@fluendo.com>
8652
8653         * tests/check/gst/gstbin.c: (GST_START_TEST):
8654         Allow refcount of 3 and 4 because some state thread might still be busy
8655         with it.
8656
8657 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8658
8659         * plugins/elements/Makefile.am:
8660         * plugins/elements/gstmultiqueue.h:
8661         * plugins/elements/gstqueue.h:
8662           These are not installed headers, no need for padding.
8663
8664 2007-05-24  Wim Taymans  <wim@fluendo.com>
8665
8666         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8667         (gst_bin_continue_func):
8668         Enable latency for next release.
8669         Restore STATE_LOCK around recalc_state that was left out during the
8670         rewrite and could result in racy behaviour when _get_state and
8671         recalc_state are run concurrently. See #440463.
8672
8673 2007-05-23  Wim Taymans  <wim@fluendo.com>
8674
8675         * tests/check/gst/gstsystemclock.c: (store_callback),
8676         (GST_START_TEST):
8677         Improve test_async_order to also work when both timers are already
8678         expired when we get scheduled to check it.
8679
8680 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8681
8682         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8683         (gst_bin_set_property), (gst_bin_get_property),
8684         (gst_bin_remove_func), (gst_bin_handle_message_func):
8685         * gst/gstbin.h:
8686           'private' is a c++ keyword, let's not use that in header files,
8687           otherwise c++ compilers will throw a tantrum.
8688
8689 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8690
8691         * plugins/elements/gstelements.c:
8692         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8693         (gst_file_sink_get_current_offset):
8694         * plugins/indexers/gstindexers.c: (plugin_init):
8695           Use #ifdef for HAVE_XYZ for consistency.
8696
8697         * tests/check/Makefile.am:
8698         * tests/check/elements/.cvsignore:
8699         * tests/check/elements/filesink.c: (setup_filesink),
8700         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8701           Add some unit tests for filesink.
8702
8703 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         Patch by: Mark Nauwelaerts <manauw at skynet be>
8706
8707         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8708         (gst_file_sink_query), (gst_file_sink_do_seek),
8709         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8710         * plugins/elements/gstfilesink.h:
8711           Fix position reporting; rename data_written member to current_pos to
8712           reflect its real meaning (fixes #412648).
8713
8714 2007-05-22  Edward Hervey  <edward@fluendo.com>
8715
8716         * docs/gst/gstreamer-sections.txt:
8717         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8718         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8719         (gst_bin_remove_func), (gst_bin_handle_message_func):
8720         * gst/gstbin.h:
8721         Add a property for bins that handle the state change of their childs.
8722         Fixes #435880
8723
8724 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8725
8726         * libs/gst/controller/gstinterpolation.c:
8727         Use an array of the correct type when using _get_value_array with
8728         linear interpolation.
8729
8730 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8731
8732         * gst/gstelement.c (gst_element_requires_clock,
8733           gst_element_provides_clock, gst_element_request_pad,
8734           gst_element_class_set_details, gst_element_class_set_details_simple,
8735           gst_element_default_send_event, gst_element_abort_state,
8736           gst_element_continue_state, gst_element_set_state,
8737           gst_element_set_state_func, iterator_activate_fold_with_resync):
8738         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8739           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8740           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8741           gst_pad_get_range, gst_pad_pull_range):
8742         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8743           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8744           GstPadActivateModeFunction, GstPadChainFunction,
8745           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8746           GstPadFixateCapsFunction, GstPadTemplate):
8747         * gst/gstpipeline.c (gst_pipeline_change_state,
8748           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8749           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8750           gst_pipeline_get_delay):
8751           Whitespace and docs fixes.
8752
8753 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8754
8755         * libs/gst/controller/gstinterpolation.c:
8756         (interpolate_trigger_get_enum_value_array),
8757         (interpolate_trigger_get_string_value_array):
8758         Add support for retrieving value arrays when using the trigger
8759         interpolation mode. 
8760
8761 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8762
8763         * libs/gst/controller/gstcontroller.c:
8764         (gst_controller_get_value_array):
8765         * libs/gst/controller/gstcontroller.h:
8766         Clarify the docs of gst_controller_get_value_array(): The array where
8767         the values should be written to must be allocated as there seems to be
8768         no way to get the size of a random GType. This doesn't change any
8769         behaviour. Also fix some typos all over the place and remove an unused,
8770         commented function that is not necessary as g_object_set() could be
8771         used instead.
8772         * tests/check/libs/controller.c: (GST_START_TEST),
8773         (gst_controller_suite):
8774         Add unit test for gst_controller_get_value_array().
8775
8776 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8777
8778         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8779
8780         Disable part of the gst_buffer_try_new_and_alloc test, because
8781         it can happily succeed on 64-bit systems where there's more address
8782         space available.
8783
8784 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8785
8786         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8787         Add unit test for the improved caps checking from bug #421543.
8788
8789 2007-05-21  Wim Taymans  <wim@fluendo.com>
8790
8791         * docs/design/part-synchronisation.txt:
8792         Small addition.
8793
8794         * gst/gstbin.c: (gst_bin_query):
8795         * plugins/elements/gstqueue.c: (apply_segment):
8796         Improve debugging.
8797
8798         * gst/gstmessage.h:
8799         Improve docs.
8800
8801 2007-05-21  Wim Taymans  <wim@fluendo.com>
8802
8803         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8804         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8805         (gst_pad_configure_src):
8806         Added simple version of improved caps checking. It was previously
8807         assumed that a setcaps function would check the validity of the caps but
8808         people prefer us to check caps against the template automatically. 
8809         Fixes #421543.
8810
8811 2007-05-21  Wim Taymans  <wim@fluendo.com>
8812
8813         * libs/gst/base/gstbasetransform.h:
8814         Fix macro for locking/unlocking the transform lock.
8815
8816 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8817
8818         * docs/plugins/tmpl/.cvsignore:
8819           Ignore more.
8820
8821 2007-05-18  Edward Hervey  <edward@fluendo.com>
8822
8823         * plugins/elements/gstqueue.c: (gst_queue_loop):
8824         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8825         for the subtle art of warning a potentially blocking thread that it
8826         should check the source pad return value, and relay the information
8827         upstream.
8828
8829 2007-05-18  Edward Hervey  <edward@fluendo.com>
8830
8831         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8832         Release the queue lock !
8833
8834 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8835
8836         * docs/libs/gstreamer-libs-sections.txt:
8837         Add the two new controller functions to the appropiate places.
8838
8839 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8840
8841         reviewed by: Stefan Kost <ensonic@users.sf.net>
8842
8843         * libs/gst/controller/gstcontroller.c:
8844         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8845         (_gst_controller_get_property), (_gst_controller_set_property),
8846         (_gst_controller_init), (_gst_controller_class_init):
8847         * libs/gst/controller/gstcontroller.h:
8848         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8849         (gst_object_get_control_rate), (gst_object_set_control_rate):
8850         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8851         Add API that provides sync suggestion timestamps for elements that
8852         call gst_object_sync_values() from which those elements can subdivide
8853         their processing loop to get the best results for the controlled
8854         properties. For now it just suggests last_sync + control_rate as
8855         new timestamp but this will be improved in the future.
8856
8857         While doing that change the control-rate property to a GstClockTime
8858         from guint and change it's meaning from samples to nanoseconds as
8859         the GstController doesn't know anything about sampling rate. Strictly
8860         speaking this breaks ABI but as the control-rate property didn't do
8861         anything in the past and as such couldn't be used this should be no
8862         problem.        
8863
8864 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8865
8866         reviewed by: Stefan Kost <ensonic@users.sf.net>
8867
8868         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8869         (gst_controller_unset_all):
8870         * libs/gst/controller/gstcontrollerprivate.h:
8871         * libs/gst/controller/gstinterpolation.c:
8872         (gst_controlled_property_find_control_point_node):
8873         Save last synced value from the list to continue searching from there
8874         in future syncs. This speeds everything up a bit.
8875         
8876 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8877
8878         reviewed by: Stefan Kost <ensonic@users.sf.net>
8879
8880         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8881         (gst_control_point_find), (gst_controlled_property_new),
8882         (gst_control_point_free), (gst_controlled_property_free),
8883         (gst_controller_set), (gst_controller_set_from_list),
8884         (gst_controller_unset), (gst_controller_unset_all),
8885         (gst_controller_sync_values):
8886         * libs/gst/controller/gstcontroller.h:
8887         * libs/gst/controller/gstcontrollerprivate.h:
8888         * libs/gst/controller/gstinterpolation.c:
8889         (gst_controlled_property_find_control_point_node),
8890         (interpolate_none_get), (interpolate_trigger_get):
8891         Add a new private GstControlPoint struct which "inherits" from
8892         GstTimedValue to allow different interpolators to store internal
8893         values next to each control point. From the outside everything is
8894         still a GstControlPoint so we don't loose binary compatibility.
8895         Also fixup all the GValue handling to not leak GValues or list nodes.
8896         * tests/check/libs/controller.c: (GST_START_TEST):
8897         Free the list nodes and GValues in the controller_misc test.
8898
8899 2007-05-17  Edward Hervey  <edward@fluendo.com>
8900
8901         * gst/gstsegment.c:
8902         Small doc fix.
8903
8904 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8905
8906         * gst/gstplugin.c: (gst_plugin_load_file):
8907           If we fail to load a plugin because of unresolved symbols or missing
8908           libraries and spew a warning to stderr, we may just as well mention
8909           which plugin it was that failed to load.
8910
8911 2007-05-13  David Schleef  <ds@schleef.org>
8912
8913         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8914           handles the case when ENABLE_GTK_DOC is false, and installs
8915           the prebuilt documentation.  So gtk-doc subdirs are 
8916           unconditionally enabled.  Fixes: #349099.
8917
8918 2007-05-13  David Schleef  <ds@schleef.org>
8919
8920         * gst/gstutils.h: Reword some documentation.
8921
8922 2007-05-12  David Schleef  <ds@schleef.org>
8923
8924         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8925           do anything with the passed "module" parameter, so remove it.
8926           Allows removal of additional vestigal code.
8927
8928 2007-05-12  David Schleef  <ds@schleef.org>
8929
8930         * gst/gstplugin.c:
8931           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8932           Switch to using g_stat() because it's more portable.
8933
8934 2007-05-12  David Schleef  <ds@schleef.org>
8935
8936         * gst/gst.c:
8937           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8938           parsing for embedded systems.
8939         * gst/gstelementfactory.c:
8940           Allow gst_element_register() to be called with plugin==NULL.
8941           Did nobody notice that static elements were broken?
8942
8943 2007-05-12  Wim Taymans  <wim@fluendo.com>
8944
8945         * tools/gst-launch.c: (event_loop):
8946         Give more interesting info when buffering starts and stops.
8947         Fix case where buffering starts but we fail to update the buffering flag
8948         because the target state is not PLAYING.
8949
8950 2007-05-12  Wim Taymans  <wim@fluendo.com>
8951
8952         * plugins/elements/gstqueue.c: (gst_queue_init),
8953         (gst_queue_finalize), (update_time_level), (apply_segment),
8954         (apply_buffer), (gst_queue_locked_flush),
8955         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8956         (gst_queue_handle_sink_event), (gst_queue_chain),
8957         (gst_queue_push_one), (gst_queue_loop):
8958         * plugins/elements/gstqueue.h:
8959         Refactor an cleanup queue a bit.
8960         Do better time level calculations that also work when the srcpad is not
8961         yet running.
8962         Remove some unneeded debug lines.
8963
8964         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8965         Added testcase for time level measurement.
8966         Try to make some stuff more racefree.
8967
8968 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         * gst/gsturi.c: (gst_element_make_from_uri):
8971           Don't leak plugin feature.
8972
8973         * tests/check/Makefile.am:
8974         * tests/check/gst/.cvsignore:
8975         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8976           Add brain-dead unit test.
8977
8978 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8979
8980         Patch by: Jeroen Wouters <woutersj at gmail com>
8981
8982         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8983           Treat protocol strings in a case-insensitive way (#437563).
8984
8985 2007-05-11  Michael Smith <msmith@fluendo.com>
8986
8987         * gst/gstplugin.c: (gst_plugin_load_file):
8988         * gst/gstregistry.c: (gst_registry_scan_path_level):
8989           Don't print a g_warning for any failure to load a shared object.
8990           Instead, push this down into gstplugin.c, and warn _only_ if we
8991           failed to open the module (i.e. failure to link).
8992           Avoids warnings on normal, working, non-plugin .so files.
8993
8994 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8995
8996         * gst/gstplugin.c (gst_plugin_load_file):
8997         * gst/gstregistry.c (GST_CAT_DEFAULT,
8998           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8999           Print a g_warning if there was an error when loading a plugins during
9000           registry scan. The shuld help beginners starting with gst-plugin
9001           template.
9002
9003 2007-05-10  Wim Taymans  <wim@fluendo.com>
9004
9005         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9006         (update_time_level), (gst_queue_locked_flush),
9007         (gst_queue_handle_sink_event), (gst_queue_chain),
9008         (gst_queue_push_one), (gst_queue_loop):
9009         * plugins/elements/gstqueue.h:
9010         Be smarter when calculating the current amount of data in the queue by
9011         measuring the difference between start and end timestamps (in running
9012         time) inside the queue. Fixes #432876.
9013         API: GstQueue::pushing to notify elements that we are pushing data again
9014         since the running signal is rather broken for this purpose.
9015
9016 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9017
9018         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9019           gst_queue_base_init, gst_queue_init):
9020           use GST_BOILERPLATE
9021
9022 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9023
9024         * win32/common/libgstreamer.def:
9025         Add new exported functions.
9026         * win32/vs6/grammar.dsp:
9027         Use grammar pre-generated files.
9028
9029 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9030
9031         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9032
9033         * gst/Makefile.am:
9034         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9035         * gst/gstparse.h:
9036         * gst/gstutils.c: (gst_parse_bin_from_description):
9037         * gst/gstutils.h:
9038           Maintain API and ABI when --disable-parse is used. Now that
9039           we have an appropriate error code, we can just return NULL and the
9040           appropriate error when gst_parse_launch() is used despite it having
9041           been disabled (#342564).
9042
9043         * tests/check/Makefile.am:
9044         * tests/check/pipelines/.cvsignore:
9045         * tests/check/pipelines/parse-disabled.c:
9046           Make sure these functions exist and return NULL plus a GError when
9047           --disable-parse is used.
9048
9049 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9050
9051         * tests/benchmarks/complexity.c: (main):
9052         * tests/benchmarks/mass-elements.c: (main):
9053           Set a good example and don't leak messages.
9054
9055 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9056
9057         * docs/gst/Makefile.am:
9058         * docs/libs/Makefile.am:
9059           Correct fixxrefs options.
9060
9061         * docs/plugins/Makefile.am:
9062         * docs/plugins/gstreamer-plugins-docs.sgml:
9063         * docs/plugins/gstreamer-plugins-sections.txt:
9064         * plugins/elements/Makefile.am:
9065         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9066         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9067           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9068           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9069           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9070           _GstCapsFilterClass, trans_class):
9071         * plugins/elements/gstelements.c (name, rank, type, _elements):
9072         * plugins/elements/gstidentity.c
9073           (gst_identity_check_imperfect_timestamp,
9074           gst_identity_check_imperfect_offset):
9075           Document capsfilter and add doc-blurb to identity.
9076
9077 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9078
9079         * libs/gst/controller/gstcontroller.c:
9080         (gst_controlled_property_set_interpolation_mode):
9081         * libs/gst/controller/gstinterpolation.c:
9082           Don't crash if someone tries to set an interpolation mode that
9083           is invalid or that isn't supported yet. Fixes #422295.
9084
9085         * tests/check/libs/controller.c: (GST_START_TEST),
9086         (gst_controller_suite):
9087           Add a test case for the above.
9088
9089 2007-05-03  Edward Hervey  <edward@fluendo.com>
9090
9091         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9092         Properly set the last_stop position on GstSegment. This will only happen
9093         if there is a buffer to push out.
9094
9095 2007-05-03  Wim Taymans  <wim@fluendo.com>
9096
9097         * libs/gst/base/gstbasetransform.c:
9098         (gst_base_transform_buffer_alloc):
9099         always_in_place does not mean that the sink and source caps are the
9100         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9101
9102 2007-05-03  Wim Taymans  <wim@fluendo.com>
9103
9104         * docs/libs/gstreamer-libs-sections.txt:
9105         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9106         (gst_base_src_default_query), (gst_base_src_get_range):
9107         * libs/gst/base/gstbasesrc.h:
9108         API: gst_base_src_query_latency(). Added method so that subclasses can
9109         easily get the latency values of the base source class.
9110
9111 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9112
9113         * tools/gst-inspect.c (print_implementation_info):
9114         Remove 0.8 cruft.
9115
9116 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9117
9118         * tools/Makefile.am:
9119         * tools/gst-launch.1.in:
9120           Don't create a customised man page based on the host architecture,
9121           describe the default registry path generically. That way the man
9122           page is the same for all architectures and packagers have one
9123           multilib issue less to deal with. Fixes #434926.
9124
9125 2007-05-02  Wim Taymans  <wim@fluendo.com>
9126
9127         * gst/gstpad.c:
9128         Fix documentation as spotted by rg on IRC. 
9129
9130 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9131
9132         * gst/gstutils.c:
9133           Improve docs for gst_element_{link,unlink}.
9134
9135 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9136
9137         * docs/design/part-events.txt:
9138         * docs/design/part-overview.txt:
9139         * gst/gstevent.c:
9140         * gst/gsturi.c:
9141         * gst/gsturi.h:
9142         * libs/gst/base/gstbasesink.c:
9143           Typo fixes; minor docs addition.
9144
9145 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9146
9147         * docs/gst/gstreamer-sections.txt:
9148         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9149         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9150         * gst/gsturi.h:
9151         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9152         or src that supports a given URI protocol exists.
9153
9154 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9155
9156         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9157         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9158         Set the location to NULL if "file://" is set as URI. Otherwise
9159         some random previous URI would still be set if "file://" is
9160         set on an already used filesink/filesrc.
9161
9162 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9163
9164         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9165         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9166         Special case the "file://" URI as as this is used by some
9167         applications to test with gst_element_make_from_uri if there's
9168         an element that supports the URI protocol.
9169         Also move the g_path_is_absolute() check for the location part
9170         of the URI to also check this for "file://localhost/bla" URIs.
9171
9172 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9173
9174         * docs/gst/gstreamer-sections.txt:
9175         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9176         * gst/gstbuffer.h:
9177         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9178         (gst_buffer_suite):
9179           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9180
9181 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9182
9183         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9184         (gst_registry_binary_load_pad_template),
9185         (gst_registry_binary_load_plugin),
9186         (gst_registry_binary_read_cache):
9187         * gst/gstregistrybinary.h:
9188           Implement no-mmap alternative for registry reading. Do code cleanups.
9189           Add more comments about avoiding strdups for all text data. Comments
9190           welcome.
9191
9192 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9193
9194         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9195           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9196           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9197           Comment structs and reformat to fix the build (that stuff should go
9198           into a priv. header).
9199
9200 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9201
9202         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9203         (gst_registry_binary_load_feature):
9204         * gst/gstregistrybinary.h:
9205           Refactor so that we can implement multiple features. Add support for
9206           TypeFindFactory features.
9207
9208 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9209
9210         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9211
9212         * configure.ac:
9213           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9214
9215 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9216
9217         * gst/gstbin.c: (gst_bin_element_set_state),
9218         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9219         (bin_handle_async_done), (gst_bin_handle_message_func):
9220           Fix build with --gst-disable-gst-debug
9221
9222 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9223
9224         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9225           Make sure streaming has finished before calling the ::stop() vfunc,
9226           since that vfunc might clear state which is being used in the
9227           streaming thread. This fixes a race that caused crashes in
9228           audioresample when shutting down a pipeline (#420106).
9229
9230 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9231
9232         * docs/gst/gstreamer-sections.txt:
9233           That was one byte missing.
9234
9235 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * configure.ac:
9238         * docs/gst/gstreamer-sections.txt:
9239         * gst/Makefile.am:
9240         * gst/gstconfig.h.in:
9241         * gst/gstobject.c: (gst_object_class_init),
9242         (gst_signal_object_class_init):
9243         * gst/gstobject.h:
9244           2nd attempt to have a xml-less build as a joined effort of #413123
9245           and #421480.
9246
9247 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9248
9249         * docs/design/draft-tagreading.txt:
9250           Added open issues/thoughts to draft.
9251
9252 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9253
9254         * gst/parse/grammar.tab.pre.c:
9255         * gst/parse/grammar.tab.pre.h:
9256         * gst/parse/lex._gst_parse_yy.pre.c:
9257         Update the prebuild parser sources.
9258
9259 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9260
9261         * gst/parse/Makefile.am:
9262         And now fix the building of the flex sources. Now everything should
9263         work as expected.
9264
9265 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9266
9267         * gst/parse/Makefile.am:
9268         Now hopefully fix the build failures by setting proper rule
9269         dependencies and moving instead of copying.
9270
9271 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9272
9273         * tests/benchmarks/complexity.gnuplot:
9274         * tests/benchmarks/complexity.scm:
9275         * tests/benchmarks/mass-elements.gnuplot:
9276         * tests/benchmarks/mass-elements.scm:
9277           Total licensification.
9278
9279 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9280
9281         * gst/parse/Makefile.am:
9282           Fix the build by correcting the rule that gave wrong files to flex.
9283
9284 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9285
9286         * tests/benchmarks/complexity.c:
9287         * tests/benchmarks/mass-elements.c:
9288           Change licence to LGPL as granted by Benjamin and Andy.
9289
9290 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9291
9292         * gst/parse/Makefile.am:
9293         Add correct grammar.tab.h dependency if compiling without new enough
9294         flex. Fixes #431150.
9295
9296 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9297
9298         * gst/parse/Makefile.am:
9299         Fix typo and use outdated sources if the flex/bison sources are newer
9300         than the pregenerated ones but flex is too old. Print a warning in
9301         that case. This should fix the build on the build bot.
9302
9303 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9304
9305         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9306         * gst/parse/Makefile.am:
9307         * gst/parse/grammar.y:
9308         * gst/parse/parse.l:
9309         Make the parser reentrant and recursively callable. This requires flex
9310         >= 2.5.31, for older versions pregenerated sources are used as we
9311         can't bump the build dependency. Finally fixes #349180.
9312
9313         * gst/gstparse.c: (gst_parse_launch):
9314         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9315         now anyway.
9316
9317         * docs/gst/Makefile.am:
9318         * docs/gst/Makefile.am:
9319         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9320         (__gst_parse_strfree), (__gst_parse_link_new),
9321         (__gst_parse_link_free), (__gst_parse_chain_new),
9322         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9323         (gst_parse_element_set), (gst_parse_free_link),
9324         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9325         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9326         (_gst_parse_launch):
9327         * gst/parse/grammar.tab.pre.h:
9328         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9329         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9330         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9331         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9332         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9333         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9334         (_gst_parse_yypop_buffer_state),
9335         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9336         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9337         (yy_fatal_error), (_gst_parse_yyget_extra),
9338         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9339         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9340         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9341         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9342         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9343         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9344         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9345         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9346         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9347         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9348         (_gst_parse_yyfree):
9349         If the installed flex version is too old use pre-generated parser
9350         sources. These pre-generated parser sources are always updated when
9351         the actual flex/bison sources change but require everybody who wants
9352         to change something in the parser to have flex >= 2.5.31 installed.
9353
9354 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9355
9356         * common/m4/gst-gettext.m4:
9357         * gst/gst-i18n-lib.h:
9358           Make --disable-nls to work
9359
9360 2007-04-17  Wim Taymans  <wim@fluendo.com>
9361
9362         * gst/gstconfig.h.in:
9363         Revert previous change that broke the build.
9364
9365 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9366
9367         * configure.ac:
9368         * gst/Makefile.am:
9369         * gst/gstconfig.h.in:
9370           Drop libxml2 dependency when building with 
9371           --enable-binary-registry --disable-loadsave
9372
9373 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9374
9375         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9376         (gst_registry_binary_read_cache):
9377         * gst/gstregistrybinary.h:
9378           Remove unnecessary <sys/mman.h> include which broke the win32 build
9379           with MingW; move includes from header file to .c file, even if the
9380           header file isn't installed; use g_strerror() where UTF-8 strings
9381           are expected, such as in GST_DEBUG messages.
9382
9383 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9384
9385         * docs/libs/gstreamer-libs-sections.txt:
9386         Remove bogus addition for API I didn't end up keeping.
9387
9388         * libs/gst/base/gstbasesrc.h:
9389         Mention Since: 0.10.13 in the documentation.
9390
9391         Add the API keyword to the previous ChangeLog entry.
9392
9393 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9394
9395         * docs/libs/gstreamer-libs-sections.txt:
9396         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9397         (gst_base_src_default_prepare_seek_segment),
9398         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9399         * libs/gst/base/gstbasesrc.h:
9400         Allow basesrc derived classes to execute seeks in other formats
9401         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9402         to prepare the GstSegment in any format that their perform_seek method
9403         will be able to understand. The default implementation provides the
9404         old behaviour of attempting to convert the seek offsets to the 
9405         configured native format.
9406
9407         API: basesrc::prepare_seek_segment vmethod.
9408
9409 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9410
9411         * gst/gstelement.c: (gst_element_get_state_func):
9412         Don't output the same debug statement twice.
9413
9414         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9415         (gst_adapter_peek), (gst_adapter_take_buffer):
9416         Optimise the case where we have buffers at the head of the queue that
9417         can be joined quickly (because they're contiguous sub-buffers) by
9418         merging them together rather than copying data out into new memory.
9419
9420         * gst/parse/grammar.y:
9421         * tests/check/pipelines/parse-launch.c:
9422         Fix a leak in an error path for parse_launch, and add a check 
9423         for it to the testsuite.
9424
9425 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9426
9427         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9428           Don't deadlock when releasing a pad - gst_pad_set_active may try
9429           and take the multiqueue lock too.
9430
9431 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9432
9433         * gst/gsterror.c: (_gst_core_errors_init):
9434         * gst/gsterror.h:
9435           API: add GST_CORE_ERROR_DISABLED (#392804).
9436
9437 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9438
9439         * docs/faq/gst-uninstalled:
9440           don't get empty paths on the PATH variables
9441         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9442           Don't format for the uncommon terminal width of 84 characters.
9443
9444 2007-04-06  Wim Taymans  <wim@fluendo.com>
9445
9446         * gst/gstpipeline.c: (reset_stream_time),
9447         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9448         Only try to select a different pipeline clock when we went back to
9449         PAUSED and not when we merely got flushed.
9450
9451 2007-04-05  Michael Smith  <msmith@fluendo.com>
9452
9453         * tools/gst-launch.1.in:
9454           fractions are better supported in gstreamer than ractions, so
9455           suggest using those.
9456
9457 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9458
9459         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9460
9461         * po/LINGUAS:
9462         * po/da.po:
9463           Added Danish translation.
9464
9465 2007-04-05  Wim Taymans  <wim@fluendo.com>
9466
9467         * libs/gst/base/gstbasesink.c:
9468         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9469         Fix leak caused when refusing newsegment after EOS.
9470
9471         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9472         (gst_fake_sink_init), (gst_fake_sink_set_property),
9473         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9474         (gst_fake_sink_render), (gst_fake_sink_change_state):
9475         * plugins/elements/gstfakesink.h:
9476         Add num-buffers property to make the element generate EOS after a
9477         configurable amount of buffers.
9478         API: fakesink::num-buffers property.
9479
9480         * tests/check/elements/fakesink.c: (GST_START_TEST),
9481         (fakesink_suite):
9482         Fix GstBus leak in test.
9483         Test for fakesink num-buffers.
9484
9485 2007-04-05  Wim Taymans  <wim@fluendo.com>
9486
9487         * libs/gst/base/gstbasesink.c:
9488         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9489         (gst_base_sink_change_state):
9490         Don't accept anything after an EOS, return UNEXPECTED instead.
9491
9492         * tests/check/elements/fakesink.c: (GST_START_TEST),
9493         (fakesink_suite):
9494         Unit test for new EOS behaviour.
9495
9496 2007-04-05  Wim Taymans  <wim@fluendo.com>
9497
9498         * gst/gstelement.c: (gst_element_get_request_pad):
9499         Make padtemplates also work when they don't contain %s or %d.
9500
9501 2007-04-05  Wim Taymans  <wim@fluendo.com>
9502
9503         * docs/gst/gstreamer-sections.txt:
9504         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9505         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9506         * gst/gstclock.h:
9507         Improve _adjust_unlocked() so that it overflows less.
9508         Add gst_clock_unadjust_unlocked to convert from external time to
9509         internal time based on calibration.
9510         Add some more debug.
9511         API: GstClock::gst_clock_unadjust_unlocked()
9512
9513 2007-04-03  Wim Taymans  <wim@fluendo.com>
9514
9515         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9516
9517         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9518         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9519         when releasing sink pad. Fixes #425400.
9520
9521 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9522
9523         * docs/random/ensonic/dynlink.txt:
9524           More work on proposal for new core api.
9525
9526         * docs/libs/gstreamer-libs-sections.txt:
9527         * libs/gst/base/gstbasetransform.h:
9528           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9529           
9530         * libs/gst/controller/gstcontroller.c:
9531         (on_object_controlled_property_changed),
9532         (gst_controller_sync_values),
9533         (gst_controller_set_interpolation_mode):
9534         * libs/gst/controller/gstcontroller.h:
9535           Less verbose logging add docs for unimplemented parts and correctly
9536           return when using unavailable parts.
9537
9538 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9539
9540         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9541         Move all the debug to the CLOCK category, and associate it with
9542         the clock object.
9543
9544 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9545
9546         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9547         Make take_buffer a bit quicker by removing redundant checks
9548         caused by calling gst_adapter_take.
9549
9550 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9551
9552         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9553           Don't leak GCond.
9554
9555         * tests/check/Makefile.am:
9556         * tests/check/elements/.cvsignore:
9557         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9558         (GST_START_TEST), (multiqueue_suite):
9559           Add some dead simple unit tests for the 'multiqueue' element
9560           (some bits don't work yet and are disabled for now).
9561
9562 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * gst/gstelement.c: (gst_element_get_request_pad),
9565         (gst_element_class_get_request_pad_template):
9566           Make gst_element_get_request_pad() create request pads only for
9567           request pad templates and not for, say, sometimes pad templates.
9568
9569 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9570
9571         * docs/design/draft-klass.txt:
9572           Add example that needs more thinking.
9573         
9574         * docs/design/draft-missing-plugins.txt:
9575           More thoughts about wrapper plugins.
9576         
9577         * docs/random/ensonic/embedded.txt:
9578         * docs/random/ensonic/profiling.txt:
9579           More design work.
9580
9581 2007-03-25  Wim Taymans  <wim@fluendo.com>
9582
9583         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9584         (gst_base_src_loop):
9585         Only push the segment events in the PLAYING state for live sources.
9586
9587 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9588
9589         * gst/gstpipeline.c: (gst_pipeline_change_state):
9590         Modify the clock distribution path in PAUSED->PLAYING so that we 
9591         never attempt to choose a new clock unless we're actually leaving
9592         the PAUSED state for the first time. This prevents choosing a
9593         different clock when the state_change gets called for a 2nd time due
9594         to some element doing an async state change.
9595
9596 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9597
9598         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9599         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9600         (gst_pad_chain_unchecked), (gst_pad_push):
9601         Revert last commit. This needs some more thoughts.
9602
9603 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9604
9605         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9606         (gst_pad_chain_unchecked), (gst_pad_push):
9607         Check in set_caps if the caps are compatible with the pad and remove
9608         two functions that are redundant now. Fixes #421543.
9609
9610 2007-03-22  Wim Taymans  <wim@fluendo.com>
9611
9612         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9613         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9614         Unref some more to make valgrind happy.
9615
9616 2007-03-22  Wim Taymans  <wim@fluendo.com>
9617
9618         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9619         (gst_system_clock_id_wait_jitter),
9620         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9621         Fix anoying regression that survived a few releases. When adding an
9622         async entry while blocking on a sync entry, the sync entry will unblock
9623         but still be busy, so it should continue to wait instead of returning
9624         _BUSY to the app.
9625         Add some comments here and there.
9626
9627         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9628         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9629         Add testcase for this.
9630
9631 2007-03-22  Wim Taymans  <wim@fluendo.com>
9632
9633         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9634         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9635         WRONG_STATE and can silently pause the task. All other cases should
9636         error out.
9637
9638 2007-03-22  Wim Taymans  <wim@fluendo.com>
9639
9640         Patch by: Ville Syrjala <syrjala at sci dot fi>
9641
9642         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9643         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9644         Improve debugging.
9645
9646 2007-03-21  Michael Smith  <msmith@fluendo.com>
9647
9648         * docs/pwg/advanced-types.xml:
9649           Fix some errors in the typefinding docs pointed out on irc.
9650
9651 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9652
9653         * libs/gst/base/gstbasesrc.c:
9654         Clarify FIXME comment in the face of having added unlock_stop()
9655
9656 2007-03-21  Wim Taymans  <wim@fluendo.com>
9657
9658         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9659         Prepare for release where we warn against possible app breakage in the
9660         case of live pipelines along with an env var to enable/disable live
9661         preroll mode (GST_COMPAT=[no-]live-preroll).
9662
9663 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9664
9665         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9666         So we should use correct constants for checking for None offset.
9667
9668 2007-03-20  Wim Taymans  <wim@fluendo.com>
9669
9670         * docs/design/part-block.txt:
9671         Mention the fact that the newly switched element should be set to at
9672         least PAUSED.
9673
9674 2007-03-20  Wim Taymans  <wim@fluendo.com>
9675
9676         * gst/gst.c:
9677         Fix compilation with registry disabled as spotted by Saur.
9678
9679 2007-03-20  Wim Taymans  <wim@fluendo.com>
9680
9681         Patch by: Olivier Crete <tester at tester dot ca>
9682
9683         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9684         Look at the pending state too when syncing the element state to the
9685         parent. Fixes #420133.
9686
9687 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9688
9689         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9690         (gst_base_sink_change_state):
9691         * libs/gst/base/gstbasesink.h:
9692         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9693         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9694         (gst_base_src_deactivate):
9695         * libs/gst/base/gstbasesrc.h:
9696         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9697         for sub-classes to correctly clear any state they set trying to
9698         unlock, such as clearing out unlock commands from a command fd.
9699         API: basesrc::unlock_stop
9700         API: basesink::unlock_stop
9701
9702         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9703         (gst_fd_sink_render), (gst_fd_sink_unlock),
9704         (gst_fd_sink_unlock_stop):
9705         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9706         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9707         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9708
9709         Implement unlock_stop in fdsrc and fdsink.
9710         Implement seeking in fdsrc when a seekable fd is passed, as in
9711         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9712
9713 2007-03-19  Wim Taymans  <wim@fluendo.com>
9714
9715         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9716
9717         * gst/gstelement.c: (gst_element_class_init):
9718         Fix pad-added and pad-removed signal signatures so that the pad type is
9719         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9720
9721 2007-03-19  Wim Taymans  <wim@fluendo.com>
9722
9723         * docs/gst/gstreamer-sections.txt:
9724         Add new element field and method.
9725
9726         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9727         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9728         (gst_bin_recalc_state), (gst_bin_get_state_func),
9729         (gst_bin_element_set_state), (gst_bin_change_state_func),
9730         (gst_bin_continue_func), (bin_bus_handler),
9731         (bin_push_state_continue), (bin_handle_async_start),
9732         (bin_handle_async_done), (gst_bin_handle_message_func):
9733         Make async state changes a bit smarter by using new ASYNC_START and
9734         ASYNC_DONE messages. This reduces the number of times we run the state
9735         recalculation thread.
9736         Don't change state of element with a pending ASYNC_START message.
9737         Deprecate STATE_DIRTY messages.
9738         
9739         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9740         (gst_element_get_state_func), (gst_element_continue_state),
9741         (gst_element_lost_state), (gst_element_set_state_func),
9742         (gst_element_change_state):
9743         * gst/gstelement.h:
9744         Keep the state that was last set by the app in a new element field.
9745         Don't allow state changes when handling an element event.
9746         Post ASYNC_START and ASYNC_DONE messages.
9747         Change lost_state so that we go to PAUSED and wait for the parent to set
9748         us to PLAYING again (so latency calculation can be performed)
9749         Export gst_element_change_state() method so that subclasses can use it.
9750         API: gst_element_change_state()
9751         API: GST_STATE_TARGET
9752
9753         * gst/gstpipeline.c: (gst_pipeline_class_init),
9754         (reset_stream_time), (gst_pipeline_change_state),
9755         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9756         Using the new ASYNC_START message we can reset the base_time when
9757         needed. This can then be used to implement base_time redistribution in
9758         flushing seeks so that we can remove the explicit seek handling.
9759         Perform latency query and configuration when going to PLAYING.
9760
9761         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9762         (gst_base_sink_query), (gst_base_sink_change_state):
9763         Post new ASYNC_START/ASYNC_DONE messages.
9764
9765         * tests/check/generic/sinks.c: (GST_START_TEST):
9766         Fix test because the bin will not set the async element to PLAYING right
9767         away.
9768
9769         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9770         Make the message check a little stronger.
9771         Handle ASYNC messages.
9772
9773         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9774         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9775         Expect ASYNC_DONE messages.
9776
9777 2007-03-19  Wim Taymans  <wim@fluendo.com>
9778
9779         * docs/gst/gstreamer-sections.txt:
9780         * gst/gstmessage.c: (gst_message_new_async_start),
9781         (gst_message_new_async_done), (gst_message_parse_info),
9782         (gst_message_parse_async_start):
9783         * gst/gstmessage.h:
9784         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9785         support.
9786
9787 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9788
9789         * tools/gst-inspect.c:
9790         (print_plugin_automatic_install_info_codecs):
9791           Now that we don't check for the 'Codec' keyword any longer in the
9792           klass, we shouldn't spew a warning if the klass isn't a decoder or
9793           encoder (since it might be a Source/Network, for example).
9794
9795 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9796
9797         * tools/gst-inspect.c:
9798         (print_plugin_automatic_install_info_codecs):
9799           Don't require decoder/demuxer/depayloader elements or
9800           encoder/muxer/paylader elements to have 'Codec' as part of their
9801           factory class string when introspecting a plugin's capabilities.
9802           draft-klass.txt mentions that it might be removed in future, and
9803           flump3dec doesn't have it as part of its class string, so chances
9804           are others might also not have it.
9805
9806 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9807
9808         * po/af.po:
9809         * po/az.po:
9810         * po/bg.po:
9811         * po/ca.po:
9812         * po/cs.po:
9813         * po/de.po:
9814         * po/en_GB.po:
9815         * po/fr.po:
9816         * po/it.po:
9817         * po/nb.po:
9818         * po/nl.po:
9819         * po/ru.po:
9820         * po/sq.po:
9821         * po/sr.po:
9822         * po/sv.po:
9823         * po/tr.po:
9824         * po/uk.po:
9825         * po/vi.po:
9826         * po/zh_CN.po:
9827         * po/zh_TW.po:
9828           Update translations from translation project
9829
9830 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9831
9832         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9833         (gst_child_proxy_set_property):
9834           Invert precondition check to be alike the ones in the mimiced gobject
9835           api.
9836
9837 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9838
9839         * docs/design/draft-tagreading.txt:
9840         * docs/random/ensonic/audiobaseclasses.txt:
9841           Do some Architect work.
9842
9843         * gst/gstobject.c: (gst_object_set_name):
9844           Add a WARNING.
9845
9846         * gst/gstpad.c:
9847           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9848
9849 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9850
9851         * gst/gstsystemclock.c: (gst_system_clock_init),
9852         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9853         Defer starting the async system clock thread until the first async
9854         wait is scheduled. Fixes #414986.
9855
9856 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9857
9858         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9859         (gst_single_queue_free):
9860           Fix small leak (free GstSingleQueue structure too, not only contents).
9861
9862 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9863
9864         * gst/gstbin.c:(gst_bin_add):
9865         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9866         * win32/common/libgstbase.def:
9867         * win32/common/libgstreamer.def:
9868         Add new exported functions.
9869
9870 2007-03-09  Wim Taymans  <wim@fluendo.com>
9871
9872         * docs/plugins/gstreamer-plugins-sections.txt:
9873         Fix GstTee docs.
9874
9875 2007-03-09  Wim Taymans  <wim@fluendo.com>
9876
9877         * docs/gst/gstreamer-sections.txt:
9878         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9879         * gst/gstbuffer.h:
9880         Add metadata copy functions. Fixes #393099.
9881         API: gst_buffer_copy_metadata()
9882
9883         * gst/gstutils.c: (gst_buffer_stamp):
9884         * libs/gst/base/gstbasetransform.c:
9885         (gst_base_transform_prepare_output_buffer):
9886         Use new metadata copy functions.
9887
9888 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9889
9890         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9891         (gst_identity_init), (gst_identity_check_perfect),
9892         (gst_identity_check_imperfect_timestamp),
9893         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9894         (gst_identity_set_property), (gst_identity_get_property):
9895         * plugins/elements/gstidentity.h:
9896         Separate out check-imperfect-timestamp and check-imperfect-offset.
9897         Put back check-perfect as it was to keep compatibility.
9898
9899 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9900
9901         * gst/gstelement.c: (gst_element_dispose):
9902         There's no need to warn if VOID_PENDING is not NONE here, as
9903         long as the state is NULL it's ok, and that's checked immediately
9904         above.
9905
9906 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9907
9908         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9909         Fix check for perfect stream to ignore buffers with -1 
9910         offsets/offset ends when checking data contiguity.
9911
9912 2007-03-08  Wim Taymans  <wim@fluendo.com>
9913
9914         * tools/gst-launch.c: (event_loop):
9915         Print INFO messages.
9916
9917 2007-03-08  Wim Taymans  <wim@fluendo.com>
9918
9919         * libs/gst/base/gstbasetransform.c:
9920         (gst_base_transform_sink_eventfunc),
9921         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9922         (gst_base_transform_activate):
9923         * libs/gst/base/gstbasetransform.h:
9924         Add support for dropping buffers with custom GstFlowReturn.
9925         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9926         buffers or dropped buffers.
9927
9928         * docs/libs/gstreamer-libs-sections.txt:
9929         docs for new custom return code.
9930
9931         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9932         Use drop support in base class to implement drop-probability.
9933
9934 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9935
9936         * gst/gst.c: (load_plugin_func):
9937         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9938         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9939         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9940           Remove newlines at end of debug log strings.
9941
9942 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9943
9944         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9945         Only post bus message at max, once per buffer received.
9946
9947 2007-03-07  Wim Taymans  <wim@fluendo.com>
9948
9949         * docs/design/Makefile.am:
9950         * docs/design/part-synchronisation.txt:
9951         Add doc about synchronisation
9952
9953         * docs/design/draft-latency.txt:
9954         * docs/design/part-TODO.txt:
9955         * docs/design/part-clocks.txt:
9956         * docs/design/part-events.txt:
9957         * docs/design/part-gstbus.txt:
9958         * docs/design/part-gstpipeline.txt:
9959         * docs/design/part-live-source.txt:
9960         * docs/design/part-messages.txt:
9961         * docs/design/part-overview.txt:
9962         * docs/design/part-streams.txt:
9963         * docs/design/part-trickmodes.txt:
9964         Documentation updates.
9965
9966 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9967
9968         * gstreamer.doap:
9969         Update the doap file.
9970
9971 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9972
9973         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9974         Rename non-perfect to imperfect for Mike and for the sanctity of the
9975         language.
9976         Also make sure bus message gets emitted for data-incontiguities.
9977
9978 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9979
9980         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9981         (gst_identity_start):
9982         * plugins/elements/gstidentity.h:
9983         Emit bus message if check-perfect is true and we encounter a
9984         non-perfect stream between 2 consecutive buffers.
9985         Fixes #415394.
9986
9987 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9988
9989         * configure.ac:
9990         Back to CVS
9991
9992 === release 0.10.12 ===
9993
9994 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9995
9996         * configure.ac:
9997           releasing 0.10.12, "Inevitable Demise"
9998
9999 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10000
10001         * configure.ac:
10002          Version 0.10.11.2 (0.10.12 pre-release)
10003          Bump libtool versioning.
10004
10005 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10006
10007         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10008           Log flow-names and not numbers.
10009
10010 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10011
10012         * configure.ac:
10013           Convert to new AG_GST style.
10014
10015 2007-02-28  Wim Taymans  <wim@fluendo.com>
10016
10017         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10018         Don't unref query twice.
10019
10020 2007-02-28  Wim Taymans  <wim@fluendo.com>
10021
10022         * gst/gstvalue.c: (gst_value_transform_object_string),
10023         (_gst_value_initialize):
10024         Implement GstObject -> string transform so we print object names
10025         when serializing GValues containing GstObjects.
10026
10027 2007-02-28  Wim Taymans  <wim@fluendo.com>
10028
10029         * docs/gst/gstreamer-sections.txt:
10030         Add new stuff to docs.
10031
10032 2007-02-28  Wim Taymans  <wim@fluendo.com>
10033
10034         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10035         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10036         (gst_base_sink_change_state):
10037         Improve latency query code.
10038         Don't leak latency events.
10039
10040         * tests/check/gst/gstbin.c: (GST_START_TEST):
10041         Improve debugging.
10042
10043 2007-02-28  Wim Taymans  <wim@fluendo.com>
10044
10045         * gst/gstelement.c: (gst_element_message_full),
10046         (gst_element_get_state_func):
10047         * gst/gstelement.h:
10048         Improve docs a little. Added Since: for new macro.
10049
10050         * gst/gstobject.c: (gst_object_sink):
10051         * gst/gstpipeline.c: (gst_pipeline_change_state),
10052         (gst_pipeline_set_new_stream_time):
10053         * gst/gstpipeline.h:
10054         Improve debugging and docs.
10055
10056         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10057         Improve debugging.
10058
10059 2007-02-28  Wim Taymans  <wim@fluendo.com>
10060
10061         * gst/gstelement.c: (gst_element_message_full),
10062         (gst_element_set_locked_state), (gst_element_get_state_func),
10063         (gst_element_change_state):
10064         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10065         Documentation updates.
10066         Small code cleanups.
10067
10068         * gst/gstmessage.c: (gst_message_new_info),
10069         (gst_message_parse_info):
10070         * gst/gstmessage.h:
10071         API: gst_message_new_info()
10072         API: gst_message_parse_info()
10073         Add INFO message create and parse code.
10074
10075 2007-02-28  Wim Taymans  <wim@fluendo.com>
10076
10077         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10078         (bin_query_latency_done):
10079         Also report the live parameter of a latency query.
10080
10081 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10082
10083         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10084           Copy the current generic/states example from -base and adapt so
10085           we can use the exact same code everywhere.
10086           Check a STATES_IGNORE_ELEMENTS env var which can be used
10087           to ignore certain element factories for this test, which is
10088           what is being done in -base
10089         * tests/check/Makefile.am:
10090           Mention this environment variable.
10091
10092 2007-02-27  Wim Taymans  <wim@fluendo.com>
10093
10094         * docs/gst/gstreamer-sections.txt:
10095         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10096         (gst_bus_timed_pop), (gst_bus_pop):
10097         * gst/gstbus.h:
10098         API: gst_bus_timed_pop()
10099         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10100         message to arrive on the bus.
10101
10102         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10103         (gst_bus_suite):
10104         Two unit tests for new _timed_pop() function.
10105
10106 2007-02-23  Wim Taymans  <wim@fluendo.com>
10107
10108         * gst/gstpipeline.c: (gst_pipeline_change_state),
10109         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10110         Don't ref a NULL clock in _provide_clock_func().
10111         Don't allow an INVALID delay.
10112         Don't try to calculate base_time with an invalid start_time.
10113         Also distribute and notify a NULL clock when it was selected.
10114
10115         * tools/gst-launch.c: (event_loop):
10116         Don't crash when a NULL clock was selected in the pipeline.
10117
10118 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10119
10120         * docs/design/Makefile.am:
10121         * docs/design/draft-missing-plugins.txt:
10122         * docs/random/draft-missing-plugins.txt:
10123           Some small updates: update plugin system identifier prefix
10124           ('gstreamer.net' to 'gstreamer'), mention our new install
10125           API in libgstbaseutils rather than libgimme-codec, add
10126           reference to the online docs.
10127
10128 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10129
10130         * win32/common/config.h:
10131           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10132           use moap cl ci to only check in what is mentioned in the ChangeLog.
10133
10134 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10135
10136         * docs/gst/gstreamer-sections.txt:
10137         * gst/gstelement.h:
10138           Fix up documentation to link to the correct GstGError section.
10139           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10140
10141 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10142
10143         * tools/gst-launch.c: (event_loop):
10144           Make sure that we actually show the important message part of a
10145           warning message.
10146           No need to check if the gerror is not NULL to free; first of all
10147           g_free accepts NULL; and second the default error handler would
10148           segfault if gerror was NULL.
10149
10150 2007-02-21  Wim Taymans  <wim@fluendo.com>
10151
10152         * docs/gst/gstreamer-sections.txt:
10153         Removed docs as well.
10154
10155 2007-02-21  Wim Taymans  <wim@fluendo.com>
10156
10157         * gst/gstmessage.c: (gst_message_parse_duration):
10158         * gst/gstmessage.h:
10159         Remove new messages for release.
10160
10161 2007-02-20  Wim Taymans  <wim@fluendo.com>
10162
10163         * docs/design/part-gstghostpad.txt:
10164         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10165         (gst_ghost_pad_new_full):
10166         Make the ghostpad a parent of the internal pad again for better backward
10167         compatibility. Don't write code that relies on this however.
10168
10169         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10170         (gst_pad_link_check_hierarchy):
10171         Require that parents should be GstElements in the hierarchy check.
10172
10173 2007-02-20  Wim Taymans  <wim@fluendo.com>
10174
10175         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10176         (gst_bin_change_state_func), (bin_query_min_max_init),
10177         (bin_query_latency_fold), (bin_query_latency_done),
10178         (gst_bin_query):
10179         Improve debug info.
10180         Implement latency query.
10181
10182 2007-02-20  Wim Taymans  <wim@fluendo.com>
10183
10184         * docs/design/part-gstghostpad.txt:
10185         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10186         (gst_ghost_pad_internal_do_activate_push),
10187         (gst_ghost_pad_internal_do_activate_pull),
10188         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10189         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10190         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10191         Do not set the internal pad as a parent anymore so we can avoid
10192         hierarchy linking errors when the ghostpad has no parent yet. This also
10193         fixes failed activation because of unlinked internal pads, which in
10194         turn fixes the impossible case where you have to activate a pad before
10195         you can add it to a running element.
10196         Also fix the docs.
10197
10198         * gst/gstpad.c: (pre_activate), (post_activate),
10199         (gst_pad_set_active), (gst_pad_activate_pull),
10200         (gst_pad_activate_push), (gst_pad_check_pull_range):
10201         Add some more debug info.
10202         Mark activation mode in pre_activate so that we don't try to activate in
10203         endless loops. Fixes #385084.
10204
10205 2007-02-19  Wim Taymans  <wim@fluendo.com>
10206
10207         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10208         (gst_base_transform_check_get_range):
10209         Implement a checkgetrange function instead of relying on the default
10210         core behaviour that assumes we can operate in pull mode if we have a
10211         getrange function. First step at fixing #385084.
10212
10213 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10214
10215         * gst/gstchildproxy.h:
10216         * libs/gst/base/gstbasesink.h:
10217         * libs/gst/base/gstbasesrc.h:
10218         * libs/gst/base/gstbasetransform.h:
10219         More docs coverage and some ChangeLog surgery (add missing names)
10220
10221 2007-02-15  Wim Taymans  <wim@fluendo.com>
10222
10223         * docs/design/part-TODO.txt:
10224         * docs/design/part-activation.txt:
10225         * docs/design/part-block.txt:
10226         * docs/design/part-buffering.txt:
10227         * docs/design/part-clocks.txt:
10228         * docs/design/part-element-source.txt:
10229         * docs/design/part-events.txt:
10230         * docs/design/part-gstbin.txt:
10231         * docs/design/part-gstbus.txt:
10232         * docs/design/part-gstpipeline.txt:
10233         * docs/design/part-live-source.txt:
10234         * docs/design/part-messages.txt:
10235         * docs/design/part-overview.txt:
10236         * docs/design/part-qos.txt:
10237         * docs/design/part-query.txt:
10238         * docs/design/part-states.txt:
10239         * docs/design/part-trickmodes.txt:
10240         Some doc updates. Start renaming from stream_time to running_time where
10241         it was used wrongly.
10242
10243 2007-02-15  Wim Taymans  <wim@fluendo.com>
10244
10245         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10246         Answer LATENCY query.
10247
10248 2007-02-15  Wim Taymans  <wim@fluendo.com>
10249
10250         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10251         (GST_START_TEST):
10252         Improve debugging.
10253
10254 2007-02-15  Wim Taymans  <wim@fluendo.com>
10255
10256         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10257         (gst_pad_dispatcher):
10258         Improve debugging of default pad dispatcher and query functions.
10259
10260 2007-02-15  Wim Taymans  <wim@fluendo.com>
10261
10262         * docs/gst/gstreamer-sections.txt:
10263         Remove old unused method.
10264
10265 2007-02-13  Wim Taymans  <wim@fluendo.com>
10266
10267         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10268         Fix check
10269
10270 2007-02-13  Wim Taymans  <wim@fluendo.com>
10271
10272         * docs/design/part-seeking.txt:
10273         Some small update.
10274
10275         * gst/gstsegment.c: (gst_segment_set_seek):
10276         Revert old bogus change that should make seeking work again.
10277
10278 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10279
10280         * docs/random/ensonic/dynlink.txt:
10281         * docs/random/ensonic/interfaces.txt:
10282         * docs/random/ensonic/receipies.txt:
10283           Possible dynamic reconnection api, plus some type fixes the other two
10284           docs.
10285
10286 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10287
10288         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10289         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10290         Also check for an absolute path following file:// in the filesrc
10291         element. Remove redundant check and call g_path_is_absolute() on the
10292         unescaped location.
10293
10294 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10295
10296         * docs/design/draft-klass.txt:
10297           Add existing category analysis.
10298           
10299         * gst/gstcaps.c:
10300           Fix doc example, framerate is a fraction.
10301
10302 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10303
10304         * configure.ac:
10305         * docs/gst/Makefile.am:
10306         * docs/gst/gstreamer-sections.txt:
10307         * docs/libs/Makefile.am:
10308           Erm, forgot a bunch of --extra-dir.
10309
10310 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10311
10312         * configure.ac:
10313         * docs/gst/Makefile.am:
10314         * docs/libs/Makefile.am:
10315         * docs/plugins/Makefile.am:
10316           Add crossreferences to glib/gobject docs.
10317
10318 2007-02-12  Wim Taymans  <wim@fluendo.com>
10319
10320         * docs/design/draft-latency.txt:
10321         Small update.
10322
10323         * docs/libs/gstreamer-libs-sections.txt:
10324         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10325         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10326         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10327         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10328         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10329         (gst_base_sink_get_position), (gst_base_sink_query),
10330         (gst_base_sink_change_state):
10331         * libs/gst/base/gstbasesink.h:
10332         API: gst_base_sink_query_latency() to let subclasses query the upstream
10333         latency.
10334         API: gst_base_sink_get_latency() to let subclasses query the configured
10335         latency in the sink.
10336         Implement query and set latency.
10337         Update some docs.
10338         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10339         don't continue preroll when we are flushing. Fixes #405284.
10340
10341         * tests/check/pipelines/stress.c: (change_state_timeout),
10342         (quit_timeout), (GST_START_TEST), (stress_suite):
10343         Test for #405284.
10344
10345 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10346
10347         Patch by: René Stadler <mail at renestadler de>
10348
10349         * docs/gst/gstreamer-sections.txt:
10350         * gst/gsttaglist.c: (_gst_tag_initialize):
10351         * gst/gsttaglist.h:
10352           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10353
10354 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10355
10356         * docs/libs/Makefile.am:
10357           Fix path to core docs.
10358
10359         * gst/gstbin.c: (gst_bin_get_by_interface),
10360         (gst_bin_iterate_all_by_interface):
10361           Refix docs by also renaming 'interface' to 'iface' in implementation.
10362
10363         * docs/gst/gstreamer-sections.txt:
10364         * gst/gstcaps.c:
10365         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10366         * gst/gstchildproxy.h:
10367         * gst/gstelementfactory.c:
10368         * gst/gstpadtemplate.h:
10369         * libs/gst/controller/gstcontroller.c:
10370         (gst_controlled_property_new):
10371           Document more.
10372
10373 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10374
10375         * gst/gstbin.h:(gst_bin_get_by_interface),
10376         (gst_bin_iterate_all_by_interface):
10377         Replace interface parameter name by iface as interface is 
10378         a reserved keyword in Visual Studio for C++ projects so it removes
10379         a build error for application developpers using VS.
10380         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10381         Fix a bug on Windows in uri format check. Now the prefix checked
10382         is file:// and next we check if the path after file:// is absolute.
10383         * win32/common/libgstbase.def:
10384         * win32/common/libgstdataprotocol.def:
10385         * win32/common/libgstgstreamer.def:
10386         Add new exported functions.
10387
10388 2007-02-09  Andy Wingo  <wingo@pobox.com>
10389
10390         * tests/check/pipelines/simple-launch-lines.c
10391         (simple_launch_lines_suite, test_tee): Disable tee test until I
10392         have time to fix it :-(
10393
10394         * tests/check/Makefile.am (noinst_HEADERS): 
10395         * tests/check/libs/libsabi.c: 
10396         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10397         * tests/check/gst/gstabi.c: 
10398         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10399
10400         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10401         tests for push and pull tee behavior.
10402
10403         * plugins/elements/gsttee.h: 
10404         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10405         mark as deprecated as well as unimplemented. It was a crack idea.
10406         Add support for tee operating in pull mode, off by default.
10407
10408         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10409         normal-case logs down to LOG, raise errors to WARNING.
10410         (gst_registry_xml_read_cache): Don't log before calling a function
10411         that logs.
10412
10413         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10414         exit (registry finalize).
10415         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10416         DEBUG log when we emit signals that people don't even have the
10417         chance to connect to.
10418         (gst_registry_scan_path_level): Less logging in the normal case.
10419
10420 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10421
10422         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10423
10424         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10425         Correctly generate EOS for non-seekable files. We don't have a total
10426         length for them and would get an unexpected end of file if we only
10427         special-cased for regular files. (Fixes: #404569)
10428
10429 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10430
10431         * tests/check/elements/filesrc.c: (GST_START_TEST),
10432         (filesrc_suite):
10433         Add unit test for the GstURIHandler interface in filesrc. This also
10434         tests the newly added file://localhost/foo/bar support.
10435
10436 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10437
10438         * gst/gstelementfactory.h:
10439           The klass string is not a hierarchy. Add reference to the design doc
10440           for more information and common types.
10441
10442 2007-02-02  Wim Taymans  <wim@fluendo.com>
10443
10444         * gst/gstquery.c: (gst_query_new_latency):
10445         Remove old structure field.
10446
10447 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10448
10449         * tools/gst-launch.1.in:
10450           Give example for network streaming (#351998)
10451
10452 2007-02-02  Wim Taymans  <wim@fluendo.com>
10453
10454         * docs/gst/gstreamer-sections.txt:
10455         Add docs for new methods.
10456
10457         * gst/gstevent.c: (gst_event_new_latency),
10458         (gst_event_parse_latency):
10459         * gst/gstevent.h:
10460         Add new LATENCY event to configure latency in a pipeline.
10461         API: gst_event_new_latency
10462         API: gst_event_parse_latency
10463
10464         * gst/gstmessage.c: (gst_message_new_buffering),
10465         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10466         (gst_message_new_latency), (gst_message_parse_buffering),
10467         (gst_message_parse_lost_preroll):
10468         * gst/gstmessage.h:
10469         Added messages used in draft-latency.
10470         API: gst_message_new_lost_preroll
10471         API: gst_message_parse_lost_preroll
10472         API: gst_message_new_prerolled
10473         API: gst_message_new_latency
10474
10475         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10476         (gst_query_parse_latency):
10477         * gst/gstquery.h:
10478         Implemented new latency query as in design doc.
10479         API: gst_query_new_latency
10480         API: gst_query_set_latency
10481         API: gst_query_parse_latency
10482
10483 2007-02-02  Wim Taymans  <wim@fluendo.com>
10484
10485         * docs/design/draft-latency.txt:
10486         Slight redesign to allow for dynamic latency adjustments.
10487
10488         * docs/design/part-negotiation.txt:
10489         Fix some typos.
10490
10491 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10492
10493         reviewed by: Wim Taymans <wim@fluendo.com>
10494
10495         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10496         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10497         Allow file://localhost/foo/bar URLs and correctly fail for every other
10498         hostname that one sets. This was gnomevfssrc is linked for those if
10499         installed as it can handle it (#403172)
10500
10501 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10502
10503         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10504
10505         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10506         (unref_data), (gst_collect_pads_add_pad_full):
10507         * libs/gst/base/gstcollectpads.h:
10508         Don't put the previously added destroy notify in the GstCollectData
10509         struct as all it's padding is already used and we don't want to break
10510         ABI. Instead put in the pad's GObject data for now. This should be
10511         cleaned up for 0.11 (#402393).
10512
10513 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10514
10515         reviewed by: Wim Taymans <wim@fluendo.com>
10516
10517         * docs/libs/gstreamer-libs-sections.txt:
10518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10519         (unref_data), (gst_collect_pads_add_pad),
10520         (gst_collect_pads_add_pad_full):
10521         * libs/gst/base/gstcollectpads.h:
10522         API: Add function to specify a destroy notification for custom
10523         GstCollectData when adding new pads in GstCollectPads (#402393).
10524
10525 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10526
10527         * po/sv.po:
10528           Update Swedish translation (#378255).
10529
10530 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10531
10532         * docs/design/draft-klass.txt:
10533           Fix the previous change, this is a list of categories and not a hierarchy.
10534
10535 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10536
10537         * docs/design/draft-klass.txt:
10538           Add info about how to get a list of used classes.
10539
10540 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10541
10542         * plugins/elements/gsttypefindelement.c:
10543         (gst_type_find_element_chain_do_typefinding),
10544         (gst_type_find_element_change_state):
10545           Don't leak found caps in chain function (no idea why that never
10546           showed up as a leak anywhere).
10547
10548 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10549
10550         * gst/gstplugin.h:
10551           Fix and expand GstPluginDesc API docs.
10552
10553 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10554
10555         * gst/gstcaps.c:
10556         * gst/gstelementfactory.c:
10557         * gst/gstpadtemplate.h:
10558           api doc fixes
10559
10560         * libs/gst/controller/gstcontroller.c:
10561         (gst_controlled_property_new):
10562         * tests/examples/controller/audio-example.c:
10563           comment fixes
10564
10565 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10566
10567         * configure.ac:
10568           comment about refining the xml deps
10569
10570         * docs/manuals.mak:
10571           comments about moving away from jade for docs
10572         
10573         * gst/gst.c:
10574           recommit the ifdefs to use the binary registry
10575         
10576         * gst/gstbin.c: (gst_bin_change_state_func):
10577           this break is obsolete
10578
10579         * gst/gstelementfactory.h:
10580           better GST_ELEMENT_DETAILS docs, add comment about translation
10581
10582         * gst/gstinfo.h:
10583           remove eol slash
10584
10585         * gst/gstobject.c: (gst_signal_object_get_type):
10586           add G_UNLIKELY as usual
10587
10588         * gst/gstpad.c: (gst_pad_event_default):
10589           add fall trhu comment
10590
10591         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10592         (gst_registry_binary_initialize_magic),
10593         (gst_registry_binary_save_string),
10594         (gst_registry_binary_save_pad_template),
10595         (gst_registry_binary_save_feature),
10596         (gst_registry_binary_save_plugin),
10597         (gst_registry_binary_write_cache),
10598         (gst_registry_binary_check_magic),
10599         (gst_registry_binary_load_pad_template),
10600         (gst_registry_binary_load_feature),
10601         (gst_registry_binary_load_plugin),
10602         (gst_registry_binary_read_cache):
10603           comment typo and formatting
10604
10605         * gst/gstutils.c: (gst_element_state_get_name),
10606         (gst_element_state_change_return_get_name):
10607           remove obsolete breaks
10608
10609         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10610           add FIXME 0.11 and remove cpp comment
10611
10612 2007-01-29  Edward Hervey  <edward@fluendo.com>
10613
10614         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10615         Fix print statement in an even more portable way.
10616
10617 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10618
10619         * docs/gst/gstreamer-sections.txt:
10620         * gst/gstutils.h:
10621           API: add GST_ROUND_DOWN_* macros (#401781).
10622
10623 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10624
10625         * docs/gst/gstreamer.types.in:
10626         * gst/gstregistry.c: (gst_registry_class_init):
10627           Document registry signals and make gtk-doc pick them up (#401381).
10628
10629 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10630
10631         * docs/pwg/building-testapp.xml:
10632           Add some audioconverts and audioresample to the pipeline, and some
10633           more comments and error handling.
10634
10635 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * docs/manual/manual.xml:
10638         * docs/pwg/pwg.xml:
10639           Fix typo (#400987).
10640
10641 2007-01-26  Wim Taymans  <wim@fluendo.com>
10642
10643         * gst/gstcaps.c: (gst_static_caps_get):
10644         Init caps flags too.
10645
10646 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10647
10648         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10649
10650         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10651         If not using mmap'ed files try to seek to the end instead of the
10652         start to determine whether we can seek at all. This fixes the case
10653         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10654         seeks for everything afterwards fail. Fixes #400656
10655
10656 2007-01-25  Wim Taymans  <wim@fluendo.com>
10657
10658         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10659         Add some refcount debugging.
10660         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10661         in multiple streaming threads.
10662
10663 2007-01-25  Wim Taymans  <wim@fluendo.com>
10664
10665         Patch by: David Schleef <ds at schleef dot org>
10666
10667         * docs/libs/gstreamer-libs-sections.txt:
10668         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10669         * libs/gst/base/gstadapter.h:
10670         API: gst_adapter_copy() that can reduce the amount of memcpy when
10671         getting data from the adapter. Fixes #388201.
10672
10673 2007-01-25  Edward Hervey  <edward@fluendo.com>
10674
10675         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10676         In print statements, "%x" is for guint. Fixes build on macosx.
10677
10678 2007-01-24  Edward Hervey  <edward@fluendo.com>
10679
10680         * plugins/elements/gstmultiqueue.c:
10681         (gst_multi_queue_loop):
10682         Small fix.
10683         (single_queue_overrun_cb), (single_queue_underrun_cb),
10684         (single_queue_check_full), (gst_single_queue_new):
10685         Implement single queue growth system.
10686         This uses the extra-size properties, and will grow single queues by
10687         that much if one goes full whereas there are others empty. This is
10688         called extra-mode in the code.
10689         When a single queue's levels go back below the initial max-size
10690         limits, it is no longer in extra-mode. This is to ensure we don't
10691         consume too much memory.
10692         Fixes #399875
10693
10694 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10695
10696         * gst/gst.c: (gst_init_get_option_group):
10697           Make warning about late g_thread_init() calls a bit more explicit,
10698           so that it's more obvious to application developers what they need
10699           to do if a user files a bug against their application.
10700
10701 2007-01-22  Edward Hervey  <edward@fluendo.com>
10702
10703         * plugins/elements/gstmultiqueue.c:
10704         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10705         Remove previous hack of unsetting the flushing flag for the source pad
10706         instead of activating it. Instead, fix the source pad activate function
10707         so that it no longer depends on having a parent set or not.
10708
10709 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10712
10713         * docs/manual/basics-bus.xml:
10714           Fix example code, gst_element_unref() doesn't exist any longer.
10715
10716 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10717
10718         Patch by: Mark Nauwelaerts <manauw at skynet be>
10719
10720         * gst/gstpad.c:
10721           Fix two docs typoes (#399094).
10722
10723 2007-01-19  Edward Hervey  <edward@fluendo.com>
10724
10725         * docs/faq/gst-uninstalled:
10726         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10727         depending on libgstbaseutils can work in uninstalled environment.
10728
10729 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10730
10731         * gst/gsttaglist.h:
10732         * gst/gsttagsetter.c:
10733         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10734         statement for new tag.
10735
10736 2007-01-17  Edward Hervey  <edward@fluendo.com>
10737
10738         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10739         When dynamically creating single queues, activate sinkpad before adding
10740         it.
10741         We should be doing the same thing for the source pad, but we can't
10742         since it would call a method which needs the parent to be set in order
10743         to work propertly. Instead of activating the source pad, we just unset
10744         the flushing flag, which is the minimal requirement for adding a pad
10745         to an element in a state greater than READY.
10746
10747 2007-01-17  Edward Hervey  <edward@fluendo.com>
10748
10749         * docs/faq/gst-uninstalled:
10750         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10751         Mac OS X.
10752
10753 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10754
10755         * tests/check/gst/gstabi.c:
10756         * tests/check/gst/struct_hppa.h:
10757         * tests/check/libs/libsabi.c:
10758         * tests/check/libs/struct_hppa.h:
10759           Add ABI structs for HPPA (see #393796).
10760
10761 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10764           Actually write ABI structs to the file specified in the GST_ABI
10765           environment variable, as the message we print claims we would.
10766
10767 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10768
10769         * tests/check/gst/gsttask.c:
10770           Fix header comment.
10771
10772 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10773
10774         * gst/gsttaglist.c: (_gst_tag_initialize):
10775           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10776           previous two entries.
10777
10778 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10779
10780         * docs/gst/gstreamer-sections.txt:
10781         * gst/gsttaglist.c: (_gst_tag_initialize):
10782         * gst/gsttaglist.h:
10783           Add tag support for beat-per-minute.
10784
10785 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10786
10787         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10788         (gst_registry_binary_initialize_magic),
10789         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10790         (gst_registry_binary_save_pad_template),
10791         (gst_registry_binary_save_feature),
10792         (gst_registry_binary_save_plugin),
10793         (gst_registry_binary_write_cache),
10794         (gst_registry_binary_check_magic),
10795         (gst_registry_binary_load_pad_template),
10796         (gst_registry_binary_load_feature),
10797         (gst_registry_binary_load_plugin),
10798         (gst_registry_binary_read_cache):
10799         * gst/gstregistrybinary.h:
10800           Use glib types, cleanup comments, impement interfaces and uri-types.
10801
10802 2007-01-13  Andy Wingo  <wingo@pobox.com>
10803
10804         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10805         getrange() to return buffers with other caps, while we fix
10806         demuxers and typefind, or otherwise change part-negotiation.txt.
10807
10808 2007-01-12  Andy Wingo  <wingo@pobox.com>
10809
10810         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10811         Factor start/stop into this private function instead of partially
10812         in activate functions and partially in the change_state function.
10813         Fixes setup before the element has changed from READY->PAUSED, as
10814         is the case in pull-mode pipelines.
10815         (gst_base_transform_sink_activate_push)
10816         (gst_base_transform_src_activate_pull): Refactor to use
10817         gst_base_transform_activate().
10818         (gst_base_transform_change_state): Removed, not needed any more.
10819
10820         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10821         Truncate before fixating.
10822         
10823         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10824         Don't set_caps() if the result of fixating is ANY, as it's not
10825         supported, and not necessary in the case of a link with no
10826         template caps on either side. Fixes tests/check/libs/basesrc in
10827         some pull-mode tests.
10828
10829         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10830         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10831         (gst_base_transform_src_activate_pull): 
10832         Track the activation mode.
10833         (gst_base_transform_setcaps): In pull mode, when activating the
10834         src pad, after activating the sink pad, activate the sink pad's
10835         peer, as discussed in part-negotiation.txt.
10836
10837         * libs/gst/base/gstbasesrc.h: 
10838         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10839         vmethod, as in basesink.
10840
10841         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10842
10843         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10844         mode, first proxy the setcaps to the peer pad.
10845         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10846         new fixate vmethod.
10847         (gst_base_sink_default_activate_pull): Rename from
10848         gst_base_sink_activate_pull.
10849         (gst_base_sink_negotiate_pull): New function, performs negotiation
10850         in pull mode before calling ::activate_pull().
10851         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10852         vmethod instead of the default implementation. I have no idea how
10853         this worked before. Negotiate before calling activate_pull.
10854
10855         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10856         sink pads in pull mode. In addition to being correct, fixes
10857         filesrc ! decodebin ! identity ! fakesink.
10858         (gst_pad_get_range, gst_pad_pull_range): Don't call
10859         gst_pad_set_caps() if the caps changes; instead error out with
10860         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10861
10862 2007-01-12  Andy Wingo  <wingo@pobox.com>
10863
10864         * docs/design/part-negotiation.txt: Update with more policy.
10865
10866 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * libs/gst/check/gstbufferstraw.h:
10869         * libs/gst/check/gstcheck.h:
10870           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10871           belongs.
10872
10873 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10874
10875         * tests/check/Makefile.am:
10876         * tests/check/gst/.cvsignore:
10877         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10878         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10879         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10880         (GST_START_TEST), (gst_tag_setter_suite):
10881           Add minimal unit test for beforementioned GstTagSetter bug.
10882
10883 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10884
10885         Patch by: René Stadler <mail at renestadler dot de>
10886
10887         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10888           gst_tag_list_merge() returns a new list, so it's not the best idea
10889           to ingore its return value. Effectively meant that tags could only
10890           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10891           Also add function guard to require a non-NULL taglist as input (has
10892           always been so due to gst_tag_list_copy(), just making it explicit).
10893
10894 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10895
10896         * docs/random/draft-missing-plugins.txt:
10897           Some additions: mention new API that is supposed to be used at the
10898           various stages; short blob about new gst-inspect introspection
10899           option; mention potential future problem with plugins that have
10900           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10901
10902 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10903
10904         * tools/gst-inspect.c:
10905         (print_plugin_automatic_install_info_codecs),
10906         (print_plugin_automatic_install_info_protocols),
10907         (print_plugin_automatic_install_info), (main):
10908         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10909         introspect plugin files and get machine-parsable output that corresponds
10910         to the last bit of the missing-plugin installer string (small gotcha:
10911         doesn't take into account ranks).
10912
10913 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10914
10915         * configure.ac:
10916         * docs/gst/gstreamer-sections.txt:
10917         * gst/Makefile.am:
10918         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10919         (gst_registry_lookup_locked):
10920         * gst/gstregistry.h:
10921         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10922         (gst_registry_binary_initialize_magic),
10923         (gst_registry_binary_save_string),
10924         (gst_registry_binary_save_pad_template),
10925         (gst_registry_binary_save_feature),
10926         (gst_registry_binary_save_plugin),
10927         (gst_registry_binary_write_cache),
10928         (gst_registry_binary_check_magic),
10929         (gst_registry_binary_load_pad_template),
10930         (gst_registry_binary_load_feature),
10931         (gst_registry_binary_load_plugin),
10932         (gst_registry_binary_read_cache):
10933         * gst/gstregistrybinary.h:
10934         * gst/gstregistryxml.c: (load_feature),
10935         (gst_registry_xml_read_cache):
10936           commit binary registry (disabled by default, see #359653)
10937
10938 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10939
10940         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10941           Fix 'make check' too.
10942
10943 2007-01-10  Andy Wingo  <wingo@pobox.com>
10944
10945         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10946         notes.
10947         
10948         * docs/design/part-negotiation.txt: Update with, um, one way that
10949         pull-mode negotiation might work?
10950
10951         * gst/gstpad.h: 
10952         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10953         that the pad must be a src pad; makes sense to call it the other
10954         way in pull mode, and the logic is symmetric anyway.
10955
10956 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10957
10958         * plugins/elements/gstfilesink.c:
10959           Include <stdio.h> for fseeko().
10960
10961 2007-01-10  Wim Taymans  <wim@fluendo.com>
10962
10963         * gst/gstevent.c:
10964         * gst/gstevent.h:
10965         Reserve LATENCY event.
10966
10967 2007-01-09  Wim Taymans  <wim@fluendo.com>
10968
10969         * docs/design/draft-latency.txt:
10970         Updates.
10971
10972 2007-01-09  Wim Taymans  <wim@fluendo.com>
10973
10974         * docs/design/draft-latency.txt:
10975         Updates.
10976
10977         * gst/gstelement.h:
10978         * gst/gststructure.c:
10979         * gst/gsttrace.c:
10980         Small typo fixes.
10981
10982 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * tests/check/.cvsignore:
10985           Ignore test-registry.xml as well.
10986
10987 2007-01-09  Wim Taymans  <wim@fluendo.com>
10988
10989         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10990         unref data at the end when we are done with the pad.
10991
10992 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * docs/gst/gstreamer-sections.txt:
10995         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10996         (init_post), (gst_deinit), (gst_update_registry):
10997         * gst/gst.h:
10998           API: add gst_update_registry() (#391296).
10999
11000         * tests/check/Makefile.am:
11001         * tests/check/gst/gstregistry.c:
11002         * tests/check/gst/.cvsignore:
11003           Simple unit test for the above.
11004
11005 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11006
11007         * gst/gstregistry.c: (gst_registry_scan_path_level):
11008           Plugin extension on HP-UX is .sl, add that to the list of approved
11009           plugin extensions (see #393796).
11010
11011         * tests/check/gst/gstpad.c: (GST_START_TEST):
11012           ulong => gulong. Fixes compilation with HP-UX compiler.
11013
11014         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11015           Fix compilation if valgrind headers are not available.
11016
11017 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11018
11019         * win32/common/libgstreamer.def: 
11020           Add new exported function.
11021         * win32/vs6/libgstbase.dsp: 
11022           Add gstdataqueue.c to the build.
11023         * win32/vs6/libgstcoreelements.dsp:
11024           Add gstmultiqueue.c to the build.
11025         
11026 2007-01-06  Andy Wingo  <wingo@pobox.com>
11027
11028         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11029         activate_pull(), providing for a way to specialize the process of
11030         spawning a thread to pull on the sink pad. There is a default
11031         implementation.
11032
11033         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11034         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11035         (gst_base_sink_init): Renamed pad activation functions (inserting
11036         "_pad" in their names). Refactor to use the new activate_pull
11037         vmethod, as appropriate.
11038         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11039         default activate_pull function to start a task pulling from the
11040         sink pad, as before.
11041
11042         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11043         on the pads if necessary, as in push()/chain(). Update docs.
11044         Shouldn't affect existing pull() usage as it is currently only
11045         being used on buffers without caps.
11046
11047 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11050         (init_pre):
11051           Call g_thread_init() first thing in gst_init() / gst_check_init().
11052           When initialisation is done via gst_init_get_option_group() and
11053           GOption parsing, issue a warning if the GLib thread system has not
11054           been initialised yet by the time gst_init_get_option_group() is
11055           called, as it's quite likely other GLib functions such as
11056           g_option_context_new() have been called already then, and
11057           g_thread_init() must be called before any other GLib function. The
11058           application in question must be fixed in that case, since memory
11059           corruption might happen otherwise.
11060           We issue the warning because even if the GLib folks decide to work
11061           around the problem on their end in future, this is still an issue
11062           with all GLib versions >= 2.10.0, so we should warn until we depend
11063           on a GLib version we know to be safe.
11064           Update documentation as well.
11065           Closes bug #391278.
11066
11067 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11068
11069         * tools/gst-inspect.c: (main):
11070         * tools/gst-launch.c: (main):
11071         * tools/gst-typefind.c: (main):
11072         * tools/gst-xmlinspect.c: (main):
11073           Call g_thread_init() really really early, before any other GLib
11074           function (see #342564 and recent discussion on gtk-devel-list).
11075
11076 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11077
11078         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11079
11080         * gst/gst_private.h:
11081         * gst/gstconfig.h.in:
11082         * gst/gstinfo.h:
11083           On win32, all the __declspec stuff for symbol exporting is
11084           apparently only needed with MSVC, but doesn't work with MingW.
11085           Fixes compilation with MingW and #391909.
11086
11087 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11088
11089         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11090           Change some GST_ERROR_OBJECT that aren't really errors to
11091           GST_WARNING_OBJECT in order to reduce terminal spam.
11092
11093 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11094
11095         * tests/check/Makefile.am:
11096           disable test again, as there seem to be still race problems
11097
11098 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11099
11100         * tests/check/Makefile.am:
11101         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11102         (GST_START_TEST), (queue_suite):
11103           enable queue test again, add tests for the leaky behaviour
11104
11105 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11106
11107         * configure.ac:
11108         * tests/examples/Makefile.am:
11109           Compile adapter test/example only if the required headers are
11110           available (fixes #391915).
11111
11112 2007-01-01  David Schleef  <ds@schleef.org>
11113
11114         * gst/gstplugin.c:
11115           Restore the previous signal handler for SIGSEGV instead of
11116           setting to default, since we may have stolen it away from
11117           someone.  (i.e., Mono)
11118
11119 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11120
11121         * docs/random/draft-missing-plugins.txt:
11122           Some small additions and clarifications.
11123
11124 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11127           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11128           since that can lead to random memory corruptions and crashes
11129           (may or may not be related to #383244, #386711, and #386711).
11130
11131 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11132
11133         * tests/check/.cvsignore:
11134         * tests/check/Makefile.am:
11135           sync .cvsignome and CLEANFILES
11136
11137 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11138
11139         * tests/check/Makefile.am:
11140           fix distcheck
11141
11142 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11143
11144         * docs/design/part-states.txt:
11145           two tiny additional comments
11146         
11147         * gst/gststructure.c:
11148           doc fixing
11149
11150         * tests/check/Makefile.am:
11151         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11152         (GST_START_TEST):
11153           disable test for now, unless it gets fixed
11154
11155 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11156
11157         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11158         (GST_START_TEST):
11159           fix race in underrun test
11160
11161 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11162
11163         * tests/check/elements/.cvsignore:
11164           ignore more
11165
11166         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11167         (GST_START_TEST):
11168           try to narrow test failure
11169
11170 2006-12-21  David Schleef  <ds@schleef.org>
11171
11172         * plugins/elements/gstfakesrc.c:
11173           Use g_random_int_range(), since it produces better random
11174           numbers in a range than almost-correct floating point code.
11175
11176 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11177
11178         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11179         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11180         (gst_check_teardown_sink_pad):
11181           do not automatically (de)activate pads
11182
11183         * tests/check/Makefile.am:
11184         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11185         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11186           add new, yet simple tests for queue
11187
11188         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11189         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11190         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11191         (GST_START_TEST):
11192         * tests/check/elements/identity.c: (cleanup_identity):
11193           consistent pad (de)activation
11194
11195 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11196
11197         Patch by: Sebastian Dröge  <slomo ubuntu com>
11198
11199         * libs/gst/base/gstcollectpads.c:
11200           Fix two doc typos (#387866).
11201
11202 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11203
11204         * docs/manual/advanced-dparams.xml:
11205           Fix typo (g_object_control_properties() doesn't exist).
11206
11207 2006-12-19  Edward Hervey  <edward@fluendo.com>
11208
11209         * gst/gstsegment.c: (gst_segment_set_seek):
11210         Fine tune the cases where the segment start/stop values are really
11211         updated.
11212         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11213         Add tests for the return values of gst_segment_set_seek().
11214
11215 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11216
11217         * gst/gst.c:
11218           Docs typo fix.
11219
11220         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11221         (gst_queue_init):
11222           Fix incorrect documentation and flesh it out a bit more.
11223           Set default values for the max properties on the GParamSpec as well,
11224           so it shows up correctly in gst-inspect.
11225
11226 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11227
11228         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11229           Correct docs of queue, add more detail and crosslink it more.
11230
11231 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11232
11233         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11234           Print additional debug info when the stream isn't perfectly
11235           timestamped; don't try to use invalid durations.
11236
11237 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11238
11239         * docs/design/Makefile.am:
11240           Dist new design docs.
11241
11242 2006-12-16  Wim Taymans  <wim@fluendo.com>
11243
11244         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11245
11246         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11247         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11248         (gst_collect_pads_stop), (gst_collect_pads_event),
11249         (gst_collect_pads_chain):
11250         * libs/gst/base/gstcollectpads.h:
11251         Add refcounting to the collectpads data so we can track when it's safe
11252         to free the data. Fixes #383382.
11253
11254 2006-12-15  Wim Taymans  <wim@fluendo.com>
11255
11256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11257         (gst_collect_pads_remove_pad):
11258         Automatically activate/deactivate pads when they are added to a
11259         started/stoped collectpads.
11260
11261 2006-12-15  Wim Taymans  <wim@fluendo.com>
11262
11263         * gst/gstelement.c: (gst_element_add_pad):
11264         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11265         * gst/gstpad.c: (gst_pad_init):
11266         Set pads to FLUSHING when they are created. Check, warn and fix when a
11267         demuxer adds an inactive pad to itself when running. Fixes #339326.
11268
11269 2006-12-15  Wim Taymans  <wim@fluendo.com>
11270
11271         * gst/gstelement.c: (gst_element_class_init),
11272         (gst_element_default_send_event), (gst_element_send_event),
11273         (gst_element_default_query), (gst_element_query):
11274         Expose default element send_event and query handling as vmethods that
11275         subclasses can chain up to.
11276
11277 2006-12-15  Wim Taymans  <wim@fluendo.com>
11278
11279         * gst/gstelement.c: (gst_element_set_state_func):
11280         Small documentation fixes.
11281
11282 2006-12-15  Wim Taymans  <wim@fluendo.com>
11283
11284         * docs/design/draft-latency.txt:
11285         Checked in draft for handling latency in pipelines.
11286
11287 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11288
11289         * Makefile.am:
11290         * gstreamer.doap:
11291         * gstreamer.spec.in:
11292           adding .doap file
11293
11294 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11295
11296         * gst/gst.c: (init_pre), (init_post):
11297           init_pre() and init_post() might be called via our GOptionGroup or
11298           from gst_init(), and we should skip both of them if we've already
11299           been initialised, otherwise we will init some things twice or add
11300           two default log functions.
11301
11302 2006-12-13  Edward Hervey  <edward@fluendo.com>
11303
11304         * docs/manual/basics-bus.xml:
11305         No, gst_main_loop does not exist. Its g_main_loop.
11306         Discovered by somebody who abused the copy-paste technique of coding :)
11307
11308 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11309
11310         * gst/gstghostpad.c:
11311           Log ghostpad debug stuff to the GST_PADS category as well rather
11312           than just to the default category.
11313
11314 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11315
11316         * configure.ac:
11317         * gst/gst.c: (init_pre):
11318           Add some basic system details such as OS and architecture
11319           to the debug output if possible, courtesy of uname().
11320
11321 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11322
11323         * docs/gst/running.xml:
11324           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11325           environment variables.
11326
11327 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11328
11329         * tests/check/gst/gstbin.c: (GST_START_TEST):
11330         It is acceptable to have a refcount of 2 or 3 at this point in the
11331         test, because the pipeline might be just posting its state_change
11332         message. The next line then waits for that message to appear using
11333         bus_poll, so that should be fine too.
11334
11335 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11336
11337         * gst/gst.c: (ensure_current_registry_forking):
11338         Ignore EINTR when reading from the child registry pipe.
11339         Explicitly ignore the return value from close, since it makes no
11340         difference.
11341
11342         * gst/gstminiobject.c: (gst_mini_object_ref),
11343         (gst_mini_object_unref):
11344         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11345
11346         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11347         When removing cached plugins, remove their features too, so they're
11348         not visible after they've disappeared.
11349
11350         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11351         In the unlikely case that we are linking pads with no parents, don't
11352         crash trying to get the non-existent parent bin.
11353
11354         * gst/parse/grammar.y:
11355         Output debug in the PIPELINE category
11356
11357 2005-03-08  Wim Taymans  <wim@fluendo.com>
11358
11359         Patch by: René Stadler <mail at renestadler dot de>
11360
11361         * gst/gstclock.c: (gst_clock_new_periodic_id):
11362         Reject invalid clock times for interval of periodic ids.
11363         Fixes ##383506.
11364
11365 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11366
11367         * gst/gstelementfactory.c: (gst_element_factory_create):
11368         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11369         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11370         * tools/gst-inspect.c: (print_element_info):
11371         Fix refcounting of gst_plugin_feature_load to match the docs. 
11372         Fixes: #380129
11373
11374 2006-12-07  Wim Taymans  <wim@fluendo.com>
11375
11376         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11377         (gst_base_sink_get_position):
11378         Improve debugging of events.
11379
11380 2006-12-07  Wim Taymans  <wim@fluendo.com>
11381
11382         Patch by: René Stadler <mail at renestadler dot de>
11383
11384         * gst/gstclock.c: (gst_clock_id_wait):
11385         Make period ids add the interval to the origial requested time instead
11386         of the possibly updated time which can be wrong when there are multiple
11387         waiters for the same id. Fixes #382592.
11388
11389         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11390         (gst_system_clock_id_wait_jitter_unlocked),
11391         (gst_system_clock_id_wait_jitter):
11392         Fix restart in the async notify thread when an async entry is added to
11393         the front of the list. Fixes #381492. 
11394
11395         * tests/check/gst/gstsystemclock.c: (store_callback),
11396         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11397         Added test for multiple async waits.
11398         Added test for async wait order.
11399
11400 2006-12-07  Wim Taymans  <wim@fluendo.com>
11401
11402         * gst/gstbin.c: (gst_bin_query):
11403         Add some more docs about the POSITION query.
11404
11405 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11406
11407         * configure.ac:
11408         Bump version nano - back to CVS.
11409
11410 === release 0.10.11 ===
11411
11412 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11413
11414         * configure.ac:
11415           releasing 0.10.11, "Love never runs on time"
11416
11417 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11418
11419         * win32/common/libgstbase.def:
11420         * win32/common/libgstreamer.def:
11421         * win32/vs8/libgstbase.vcproj:
11422         * win32/vs8/libgstcoreelements.vcproj:
11423         * win32/vs8/libgstreamer.vcproj:
11424         Fix compilation on win32 under VS8
11425         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11426         Partially fixes #381175
11427
11428 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11429
11430         * gst/gstvalue.c: (gst_value_compare_fraction):
11431         If someone is foolish enough to compare 2 fractions with denominator =
11432         0, return UNORDERED rather than aborting.
11433
11434 2006-11-28  Edward Hervey  <edward@fluendo.com>
11435
11436         * libs/gst/base/Makefile.am:
11437         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11438         (gst_data_queue_base_init), (gst_data_queue_class_init),
11439         (gst_data_queue_init), (gst_data_queue_new),
11440         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11441         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11442         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11443         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11444         (gst_data_queue_set_flushing), (gst_data_queue_push),
11445         (gst_data_queue_pop), (gst_data_queue_drop_head),
11446         (gst_data_queue_set_property), (gst_data_queue_get_property):
11447         * libs/gst/base/gstdataqueue.h:
11448         New GstDataQueue object for threadsafe queueing. Most useful for
11449         elements that need some queueing functionnality.
11450         * docs/libs/gstreamer-libs-docs.sgml:
11451         * docs/libs/gstreamer-libs-sections.txt:
11452         Insert documentation for GstDataQueue
11453         * plugins/elements/Makefile.am:
11454         * plugins/elements/gstelements.c:
11455         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11456         (gst_multi_queue_class_init), (gst_multi_queue_init),
11457         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11458         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11459         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11460         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11461         (gst_multi_queue_loop), (gst_multi_queue_chain),
11462         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11463         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11464         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11465         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11466         (wake_up_next_non_linked), (compute_next_non_linked),
11467         (single_queue_overrun_cb), (single_queue_underrun_cb),
11468         (single_queue_check_full), (gst_single_queue_new):
11469         * plugins/elements/gstmultiqueue.h:
11470         New multiqueue element, using GstDataQueue. Used for queuing multiple
11471         streams.
11472         Closes #344639 and #347785
11473
11474 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11475
11476         * docs/pwg/advanced-types.xml:
11477           add more missing type details
11478
11479         * tools/gst-run.c: (main):
11480           remove unused variable
11481
11482 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11483
11484         * docs/libs/Makefile.am:
11485         * docs/libs/gstreamer-libs.types:
11486           add types of base classes to enable gobject specific stuff in the docs
11487
11488         * docs/random/ensonic/embedded.txt:
11489           more ideas about isolating platform specific things
11490
11491 2006-11-20  Wim Taymans  <wim@fluendo.com>
11492
11493         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11494
11495         * libs/gst/check/gstcheck.h:
11496         Fix compilation and running against 0.9.4. Fixes #377332.
11497
11498 2006-11-20  Wim Taymans  <wim@fluendo.com>
11499
11500         * gst/gstsegment.c: (gst_segment_set_seek),
11501         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11502         (gst_segment_to_running_time):
11503         Fix boundary checking in to_running_time() and to_stream_time().
11504         Fixes #377183.
11505
11506         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11507         stream and running time can now be calculated for the complete
11508         clipped segment.
11509
11510 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11511
11512         * gst/gstpad.c: (gst_pad_push_event):
11513           Can't access event structure after giving away ownership of
11514           the event.
11515
11516 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11517
11518         * docs/random/ensonic/embedded.txt:
11519         * docs/random/ensonic/profiling.txt:
11520         * docs/random/ensonic/receipies.txt:
11521           more thinking
11522
11523 2006-11-13  Wim Taymans  <wim@fluendo.com>
11524
11525         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11526
11527         * gst/gstpad.c:
11528         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11529
11530 2006-11-13  Wim Taymans  <wim@fluendo.com>
11531
11532         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11533
11534         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11535         Store new length in segment duration so we don't keep on calling the
11536         potentially expensize get_size() call. Fixes #370865.
11537
11538 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11539
11540         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11541
11542         * win32/common/libgstreamer.def:
11543           Add two missing symbols (#366492).
11544
11545 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11546
11547         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11548         (gst_adapter_take_buffer):
11549         Fix format string to use all its arguments.
11550         Remove useless >= check on a guint
11551
11552 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11553
11554         * tests/examples/adapter/.cvsignore:
11555         Ignore build file as commanded by the build-bot
11556
11557 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11558
11559         * tests/examples/adapter/Makefile.am:
11560         * tests/examples/adapter/adapter_test.c: (run_test_take),
11561         (run_test_take_buffer), (run_tests), (main):
11562
11563         Add new files from the previous commit
11564
11565 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11566
11567         * Makefile.am:
11568         * configure.ac:
11569         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11570         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11571         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11572         * libs/gst/base/gstadapter.h:
11573         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11574         (GST_START_TEST), (gst_adapter_suite):
11575         * tests/examples/Makefile.am:
11576         Do some optimisation work in GstAdapter to avoid copies in more cases.
11577         It could still do slightly better by merging buffers when
11578         gst_buffer_is_span_fast is true, but is already faster. 
11579
11580         Also, avoid traversing a single-linked list to append each incoming 
11581         buffer inside the adapter.
11582
11583         Add simple test app that times the adapter behaviour in different
11584         situations, and extend the unit test to check that bytes enter and
11585         exit the adapter in their original order.
11586
11587 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11588
11589         * docs/random/draft-missing-plugins.txt:
11590           Update: use element message instead of adding a new message
11591           type to the core; don't provide GStreamer API to initiate the
11592           plugin download, just provide API to compose the strings needed
11593           and let an external libgimmestuff handle the rest.
11594
11595 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11596
11597         * tools/gst-inspect.c: (print_element_properties_info):
11598         Print a string instead of 'unknown type' for GValueArray properties
11599
11600 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11601
11602         * docs/random/draft-missing-plugins.txt:
11603         More small fixes.
11604
11605 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11606
11607         * tests/examples/typefind/typefind.c: (type_found), (main):
11608           Make typefind element example work again (#371894); add a
11609           license header.
11610
11611 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * docs/random/draft-missing-plugins.txt:
11614           Commit initial draft about how to deal with missing plugins,
11615           needs work (API too).
11616
11617 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11618
11619         * docs/pwg/advanced-types.xml:
11620           documents the new caps elements (see #363118)
11621
11622 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11623
11624         * gst/gstplugin.c: (gst_plugin_load_file):
11625         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11626         (gst_file_src_map_region), (gst_file_src_start):
11627         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11628         (gst_file_index_commit):
11629           Use g_strerror() instead of strerror() - we want UTF-8.
11630
11631 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11632
11633         Patch by: Peter Kjellerstedt <pkj at axis com>
11634
11635         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11636           Another printf fix (#371493).
11637
11638 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11639
11640         * tests/check/gst/gsttag.c:
11641           relicence (okay with author=company)
11642
11643 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11644
11645         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11646         (gst_pad_push_event):
11647           Enhance debug and improve docs
11648         
11649         * gst/gsturi.c:
11650           Fix docs
11651
11652 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11653
11654         * docs/random/ensonic/distributed.txt:
11655         * docs/random/ensonic/profiling.txt:
11656           more ideas
11657
11658 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11659
11660         * docs/gst/gstreamer-sections.txt:
11661           add new API and fix the build
11662           
11663         * gst/gstbin.c: (gst_bin_recalc_state):
11664         * gst/gstelement.c: (gst_element_message_full),
11665         (gst_element_get_state_func), (gst_element_set_state_func):
11666           use new API and improve logging
11667         
11668         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11669         * gst/gstutils.h:
11670           API: add function to get StateChangereturn names to improve logs 
11671
11672 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11673
11674         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11675           I'm considering shooting the next person to put strerror stuff
11676           in the translateable part of the message.
11677
11678 2006-11-03  Wim Taymans  <wim@fluendo.com>
11679
11680         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11681         Get the type and printf conversion specifiers right.
11682
11683 2006-11-03  Wim Taymans  <wim@fluendo.com>
11684
11685         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11686
11687         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11688         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11689         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11690         Some small cleanups. Improve debugging.
11691         * gst/gstpad.h:
11692         Signal all waiting threads with a broadcast instead of just one.
11693         Fixes #369942.
11694
11695 2006-11-03  Wim Taymans  <wim@fluendo.com>
11696
11697         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11698         (gst_fd_src_create):
11699         Add some debugging. 
11700         Only update fd when it's different from the old.
11701
11702 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11703
11704         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11705           Printf fixes for PPC/OSX, take two (#369366).
11706
11707 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11708
11709         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11710
11711         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11712         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11713         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11714           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11715           don't cast to long long for portability reasons, but use
11716           GLib's types instead.
11717
11718 2006-10-30  Michael Smith  <msmith@fluendo.com>
11719
11720         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11721           Get the arguments to lseek() the right way around.
11722           Fixes 367677.
11723
11724 2006-10-30  Wim Taymans  <wim@fluendo.com>
11725
11726         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11727
11728         * gst/gstinfo.h:
11729         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11730
11731 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11732
11733         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11734
11735         * docs/design/part-MT-refcounting.txt:
11736         * docs/random/wtay/capsnego2-docs:
11737         * gst/gstclock.c:
11738         * gst/gstxml.c:
11739           Typo fixes (#366212).
11740
11741 2006-10-28  Wim Taymans  <wim@fluendo.com>
11742
11743         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11744
11745         * gst/gst.c:
11746         * win32/common/libgstbase.def:
11747         * win32/common/libgstreamer.def:
11748         * win32/vs8/libgstbase.vcproj:
11749         * win32/vs8/libgstcontroller.vcproj:
11750         Add needed entries in .def files.
11751         Use HAVE_UNISTD_H.
11752         Rearrange def files in vs8 solutions. Fixes #366286.
11753
11754 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11755
11756         * win32/common/gstconfig.h:
11757           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11758           hand-made win32 gstconfig.h. Fixes #366321.
11759
11760 2006-10-27  Wim Taymans  <wim@fluendo.com>
11761
11762         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11763         (gst_ghost_pad_new_full):
11764         Make acceptcaps return TRUE when we don't have a target, just like
11765         setcaps does.
11766
11767 2006-10-27  Wim Taymans  <wim@fluendo.com>
11768
11769         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11770         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11771
11772 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11773
11774         * gst/gststructure.c: (gst_structure_id_set_value):
11775           If someone tries to set a non-UTF8 string field on a structure,
11776           don't just print a warning, but also ignore the request and do
11777           not change/add that field to the structure.
11778
11779         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11780           Test for the above.
11781
11782 2006-10-25  David Schleef  <ds@schleef.org>
11783
11784         * gst/gstinfo.c:
11785           g_hash_table_insert() needs a cast to a non-const pointer duh.
11786
11787 2006-10-25  David Schleef  <ds@schleef.org>
11788
11789         * gst/gstinfo.c:
11790         * gst/gstinfo.h:
11791           Change name parameter of _gst_debug_register_funcptr to const
11792           to reflect the constness of its use in the function as well
11793           as to quiet a gcc warning.
11794
11795 2006-10-25  Edward Hervey  <edward@fluendo.com>
11796
11797         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11798         Don't push the buffer if it's empty.
11799         Closes #363095
11800
11801 2006-10-24  Wim Taymans  <wim@fluendo.com>
11802
11803         * gst/gstevent.h:
11804         Add small comment.
11805
11806         * libs/gst/base/gstbasetransform.c:
11807         (gst_base_transform_sink_eventfunc):
11808         Debug segment values *after* updating them as this is more
11809         interesting.
11810
11811 2006-10-23  Wim Taymans  <wim@fluendo.com>
11812
11813         * docs/design/part-events.txt:
11814         Update some docs.
11815
11816         * docs/design/part-block.txt:
11817         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11818         (gst_pad_push_event):
11819         Revert BLOCKING patch, it tries to be smart without really having a
11820         clear idea what or how. So, now we discard all FLUSHING events again on
11821         a blocking pad. Should fix gnonlin again.
11822
11823 2006-10-23  Wim Taymans  <wim@fluendo.com>
11824
11825         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11826
11827         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11828         (gst_base_src_start), (gst_base_src_activate_push):
11829         Make sure size is always initialized. Fixes #364388.
11830
11831 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11832
11833         * docs/random/ensonic/distributed.txt:
11834           add some ideas about doing distributed processing
11835
11836         * docs/random/ensonic/profiling.txt:
11837           get_rusage look promising
11838
11839 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11840
11841         * docs/manual/basics-helloworld.xml:
11842           Add a cast in example to fix compile warning
11843
11844 2006-10-18  Wim Taymans  <wim@fluendo.com>
11845
11846         * gst/gstsegment.c: (gst_segment_set_last_stop),
11847         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11848         Relax arg checking again, -1 is allowed.
11849
11850 2006-10-18  Wim Taymans  <wim@fluendo.com>
11851
11852         * gst/gstsegment.c: (gst_segment_set_last_stop),
11853         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11854         _set_last_stop() must be with a value != -1
11855         A _TYPE_SET to -1 means seek to 0.
11856         Calc last_stop correctly for negative rates.
11857         Make sure we work with positive durations when updating a segment.
11858
11859 2006-10-18  Wim Taymans  <wim@fluendo.com>
11860
11861         * docs/design/part-live-source.txt:
11862         * gst/gstclock.h:
11863         Small docs fixes.
11864
11865 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * gst/gstbuffer.h:
11868           Add an explicit cast to GstBuffer** to keep old code that added an
11869           explicit cast to GstMiniObject** for gst_mini_object_replace()
11870           compiling without warning.
11871
11872 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11873
11874         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11875           check for validity of dates
11876
11877 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * docs/gst/gstreamer-sections.txt:
11880           Forgot this one, makes gtk-doc shut up.
11881
11882 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         Patch by: Peter Kjellerstedt <pkj at axis com>
11885
11886         * gst/gstobject.h:
11887           Don't define xmlNodePtr to gpointer if the core was built with
11888           --disable-loadsave and --disable-registry, this will break
11889           applications that want to use libxml2 but are buildling against a
11890           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11891           instead so we don't have to mess with the libxml2 namespace
11892           (#361675).
11893
11894 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11895
11896         * gst/gstbuffer.h:
11897           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11898           type-punned pointer warnings.
11899
11900 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11901
11902         * gst/gstelement.h:
11903           Add casts to the correct return type to state <=> state transition
11904           macros.
11905
11906 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11907
11908         * docs/design/part-live-source.txt:
11909           describe howto handle latency
11910         
11911         * docs/random/ensonic/profiling.txt:
11912           more ideas
11913
11914         * tools/gst-plot-timeline.py:
11915           fix log parsing for solaris, remove unused function
11916
11917 2006-10-16  Wim Taymans  <wim@fluendo.com>
11918
11919         * docs/design/part-trickmodes.txt:
11920         * gst/gstevent.c:
11921         Update some docs regarding reverse playback.
11922
11923 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11924
11925         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11926
11927         * win32/vs8/grammar.vcproj:
11928           Error out with a warning if glib-genmarshal.exe is not in path,
11929           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11930
11931 2006-10-13  Wim Taymans  <wim@fluendo.com>
11932
11933         * gst/gstsegment.c: (gst_segment_set_seek):
11934         When seeking to stop -1, set last_stop (current position) to the
11935         duration of the segment.
11936
11937 2006-10-13  Wim Taymans  <wim@fluendo.com>
11938
11939         * gst/gstelement.h:
11940         Clarify _NO_PREROLL a bit more.
11941
11942         * gst/gstevent.c:
11943         Fix docs.
11944
11945         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11946         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11947         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11948         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11949         due to wrong locking order. Fixes #361769.
11950         Remove some redundant/misplaced checks in pad_block.
11951
11952         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11953         For negative rates, count backwards from the duration.
11954
11955 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11956
11957         * gst/gsterror.c: (_gst_library_errors_init):
11958           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11959           up with something better).
11960
11961 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11962
11963         * win32/vs6/libgstreamer.dsp:
11964         * win32/vs7/libgstreamer.vcproj:
11965         * win32/vs8/libgstreamer.vcproj:
11966           Don't reference glib-compat.c which is currently not used and not
11967           disted; add gstquark.c which was recently added. Fixes #361730.
11968
11969 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         * win32/common/libgstbase.def:
11972         * win32/common/libgstcontroller.def:
11973         * win32/common/libgstreamer.def:
11974           Add gst_caps_merge() and a bunch of other recently-added functions.
11975           Fixes #361732.
11976
11977 2006-10-11  Wim Taymans  <wim@fluendo.com>
11978
11979         * docs/plugins/gstreamer-plugins.args:
11980         * docs/plugins/inspect/plugin-coreelements.xml:
11981         * docs/plugins/inspect/plugin-coreindexers.xml:
11982         Update element args.
11983
11984         * gst/gstsystemclock.c:
11985         Small comment update.
11986
11987         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11988         (gst_tee_request_new_pad), (gst_tee_release_pad),
11989         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11990         (gst_tee_sink_activate_pull):
11991         * plugins/elements/gsttee.h:
11992         Some tee loving:
11993         Add default property defines.
11994         Implement release pad function.
11995         Give properties better blubs etc.
11996         Activate pads before adding them to a running tee.
11997         Do simple buffer_alloc on the first requested pad.
11998         Post error when activation fails.
11999
12000 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12001
12002         * gst/gst.c: (ensure_current_registry_forking):
12003           Check return value of write() to make compiler happy.
12004
12005 2006-10-11  Wim Taymans  <wim@fluendo.com>
12006
12007         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12008
12009         * plugins/elements/gstqueue.c: (gst_queue_chain):
12010         Recheck queue filledness after signalling the overrun when we're about
12011         to leak downstream because we released the lock when emitting the signal
12012         and the queue could be empty again. Fixes #352345.
12013
12014 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12015
12016         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12017           Fix refcounting here too, just like we did for _new_valist() a few
12018           days ago (#357180) (thanks to René Stadler). Also remove all those
12019           'Since: 0.9' from the gtk-doc blobs.
12020
12021         * tests/check/libs/controller.c: (controller_refcount_new_list),
12022         (gst_controller_suite):
12023           Unit test for the above.
12024
12025 2006-10-10  Wim Taymans  <wim@fluendo.com>
12026
12027         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12028
12029         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12030         (gst_pad_save_thyself):
12031         Update some docs.
12032         Write pad direction in XML output. Fixes #345496.
12033
12034 2006-10-10  Wim Taymans  <wim@fluendo.com>
12035
12036         Patch by: René Stadler <mail at renestadler dot de>
12037
12038         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12039         (gst_controller_new_list), (_gst_controller_dispose),
12040         (_gst_controller_finalize), (_gst_controller_class_init):
12041         Take ref to controlled object so that it cannot disappear. 
12042         Fixes #357432.
12043
12044 2006-10-10  Wim Taymans  <wim@fluendo.com>
12045
12046         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12047         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12048         (gst_check_teardown_sink_pad):
12049         Activate/deactivate pads in setup/teardown respectively.
12050
12051 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12052
12053         Patch by: Josep Torra Valles <josep@fluendo.com>
12054
12055         * gst/Makefile.am:
12056         Cast values when making gstenumtypes.h.  This pacifies Forte
12057         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12058         in the enumeration.
12059
12060 2006-10-09  Wim Taymans  <wim@fluendo.com>
12061
12062         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12063         Rename some more @cur to @start to fix docs. 
12064
12065         * gst/gstsegment.c: (gst_segment_set_seek):
12066         Fix typo.
12067         time and start must always stay in sync as defined in design doc.
12068
12069         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12070         Rename param to fix docs.
12071
12072         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12073         Check that start and time are in sync.
12074
12075         * tests/check/pipelines/parse-launch.c:
12076         (gst_parse_test_element_change_state):
12077         Activate pad before adding to the element.
12078
12079 2006-10-09  Wim Taymans  <wim@fluendo.com>
12080
12081         * docs/design/part-qos.txt:
12082         Fix typo.
12083
12084         * gst/gstevent.c:
12085         * gst/gstevent.h:
12086         Update seek event docs regarding negative rates.
12087         Rename @cur to @start. 
12088
12089         * gst/gstsegment.c: (gst_segment_set_seek):
12090         * gst/gstsegment.h:
12091         Update set_seek docs regarding negative rates.
12092         Correctly update last_stop to @stop when dealing with negative
12093         rates.
12094         Rename @cur to @start. 
12095
12096         * tests/check/gst/gstpad.c: (GST_START_TEST):
12097         Activate pads before trying to use them.
12098
12099         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12100         (gst_segment_suite):
12101         Add simple check for segments and negative rates.
12102
12103 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12106         * gst/gsttaglist.h:
12107         * docs/gst/gstreamer-sections.txt:
12108           API: add gst_tag_list_is_empty() (#360467).
12109
12110         * tests/check/gst/gsttag.c: (GST_START_TEST):
12111           And a test case.
12112
12113 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12114
12115         * gst/gstmessage.h:
12116         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12117         a value that doesn't fit on enumeration.
12118
12119 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12120
12121         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12122         Remove local debugging system and use Gstreamer's instead.
12123
12124 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12125
12126         Patch by: Josep Torra Valles <josep@fluendo.com>
12127
12128         * common/m4/gst-error.m4:
12129         Disable warning of statement not reached on Forte.
12130         * gst/gstmessage.h:
12131         Fix warning on Forte (value doesn't fit on enumeration).
12132         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12133         Fix warning on Forte (value doesn't fit on enumeration).
12134         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12135         DEBUG macro says it takes minimum of 2 args and so Forte
12136         complains about the use with just 1 arg.
12137         * plugins/elements/gstfdsink.c:
12138         * plugins/elements/gstfdsrc.c:
12139         * plugins/elements/gstfilesink.c:
12140         * plugins/elements/gstfilesrc.c:
12141         Use correct return type for the uri handler implementations.
12142
12143         All these fix warnings in Forte.  Fixes bug #360860.
12144
12145 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12146
12147         * gst/gstelement.h:
12148           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12149           format string, so don't use G_GNUC_PRINTF for those versions.
12150
12151 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12152
12153         * gst/gsttaglist.c: (gst_is_tag_list):
12154         * gst/gsttaglist.h:
12155           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12156
12157         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12158           Small test for the above.
12159
12160 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12161
12162         * gst/gsttaglist.h:
12163           Less tabs, more spaces.
12164
12165 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12166
12167         * gst/gstinfo.h:
12168           Those two function declarations do actually belong there, revert
12169           commit from yesterday that turned them intro macros.
12170
12171 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12172
12173         Patch by: Josep Torra Valles <josep@fluendo.com>
12174
12175         * gst/gst.c: (gst_init_get_option_group):
12176         Fix empty declaration and type mismatch.
12177         * gst/gstbin.c: (gst_bin_change_state_func):
12178         Fix type mismatch.
12179         * gst/gstelement.c: (gst_element_continue_state),
12180         (gst_element_set_state_func), (gst_element_change_state),
12181         (gst_element_change_state_func):
12182         Fix type mismatches.
12183         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12184         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12185         Cast as appropriate.
12186         * gst/gstobject.c: (gst_class_signal_connect):
12187         Cast as appropriate.  The function pointer parameter really
12188         has the wrong type but would break API if we change it.
12189         * gst/gstquery.c:
12190         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12191         order of including string.h.
12192         * gst/gstutils.c: (gst_element_state_get_name):
12193         Remove unreachable line.
12194         * gst/gstxml.c: (gst_xml_parse_doc):
12195         Fix type mismatch.
12196         All these caught by Forte.
12197
12198 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12199
12200         Patch by: Josep Torra Valles <josep@fluendo.com>
12201
12202         * common/m4/gst-error.m4:
12203         Fixed bug #360151.
12204         We need to disable warnings on Forte for empty declarations
12205         due to gst-indent adding ;s to lines that just use macros
12206         where the macro actually doesn't need a ; at end to end
12207         statement.
12208
12209 2006-10-06  Wim Taymans  <wim@fluendo.com>
12210
12211         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12212         (gst_file_sink_close_file), (gst_file_sink_event),
12213         (gst_file_sink_render):
12214         Add some FIXME for the NEWSEGMENT handling.
12215
12216 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12217
12218         * gst/parse/grammar.y:
12219         Remove static function gst_parse_element_lock as all it does
12220         is return.  Looks like cruft from 0.8.
12221
12222 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12223
12224         Patch by: Josep Torra Valles <josep@fluendo.com>
12225
12226         * common/m4/gst-error.m4:
12227         * configure.ac:
12228         * libs/gst/net/Makefile.am:
12229         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12230         libresolv.
12231
12232 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12233
12234         * gst/gstpad.c: (pre_activate):
12235         * gst/gstregistry.c: (gst_registry_scan_path_level):
12236         * gst/gstregistryxml.c: (load_plugin):
12237         * libs/gst/controller/gstcontroller.c:
12238         (gst_controlled_property_set_interpolation_mode):
12239         * libs/gst/dataprotocol/dataprotocol.c:
12240         (gst_dp_packet_from_event_1_0):
12241         * libs/gst/net/gstnetclientclock.c:
12242         (gst_net_client_clock_observe_times):
12243         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12244           Printf fixes.
12245
12246 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         * configure.ac:
12249         * docs/gst/gstreamer-sections.txt:
12250         * gst/gstconfig.h.in:
12251         * gst/gstelement.h:
12252         * gst/gstinfo.h:
12253           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12254           whether we can use G_GNUC_PRINTF in other header files and at
12255           least check the printf format/arguments of debug messages and
12256           GST_ELEMENT_ERROR messages when the printf extension is not
12257           being used.
12258           Replace more tabs with spaces in gstinfo.h and remove two spurious
12259           function declarations in GST_DISABLE_DEBUG part with macros.
12260
12261 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12262
12263         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12264           More docs for the sync-message signal (mention that it is not
12265           emitted by default); log message structures of messages posted on
12266           the bus as well.
12267
12268 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12269
12270         * gst/gst.c: (ensure_current_registry_forking):
12271         Use a pipe pair to receive status results from the forked child, and
12272         ignore the result from waitpid. Fixes #355499
12273
12274 2006-10-02  Wim Taymans  <wim@fluendo.com>
12275
12276         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12277         (gst_ghost_pad_suite):
12278         Fix leak in check.
12279
12280 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12281
12282         * gst/gstpad.c:
12283           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12284
12285 2006-10-02  Edward Hervey  <edward@fluendo.com>
12286
12287         * docs/design/part-block.txt:
12288         Further explain the use of flushing on blocked pads.
12289         * docs/gst/gstreamer-sections.txt:
12290         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12291         (gst_pad_push_event):
12292         * gst/gstpad.h:
12293         Added new GstPadFlag : GST_PAD_BLOCKING.
12294         Adds the notion of pads really blocking, which enables to properly
12295         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12296         Fixes #358999
12297         API: gst_pad_is_blocking()
12298         API: GST_PAD_IS_BLOCKING() macro
12299         API: GST_PAD_BLOCKING GstPadFlag
12300         
12301 2006-10-02  Wim Taymans  <wim@fluendo.com>
12302
12303         Patch by: mrcgran <mrc.gran at gmail dot com>
12304
12305         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12306         Filter the proxied caps against the padtemplate if we have one.
12307
12308         * gst/gstquery.c: (gst_query_new_segment):
12309         Add include for gstinfo.h so that compilation with
12310         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12311
12312 2006-10-02  Wim Taymans  <wim@fluendo.com>
12313
12314         Patch by: Alessandro Decina  <alessandro at nnva org>
12315
12316         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12317         (gst_file_sink_set_location), (gst_file_sink_open_file),
12318         (gst_file_sink_close_file), (gst_file_sink_event),
12319         (gst_file_sink_render):
12320         Set file to NULL when closing filesink so that we can set a new filename
12321         in READY. Fixes #358613.
12322
12323 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12324
12325         Patch by: Alessandro Decina  <alessandro at nnva org>
12326
12327         * gst/gstevent.c: (_gst_event_copy):
12328           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12329           with event structures by setting the parent refcount address of the
12330           copied structure to the address of the refcount member of the newly
12331           copied event rather than the address of the refcount member of the
12332           original event. Fixes #358737.
12333
12334         * tests/check/gst/gstevent.c: (GST_START_TEST):
12335           Unit test for the above.
12336
12337 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12338
12339         * docs/design/Makefile.am:
12340           Dist some more files.
12341
12342 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12343
12344         * tests/check/libs/controller.c: (GST_START_TEST),
12345         (gst_controller_suite):
12346           Add test for the previous fix; add some more tests
12347           for correct refcounting behaviour; fix a few leaks
12348           in test cases; call gst_controller_init() at start
12349           of all tests.
12350
12351 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12352
12353         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12354         (gst_controller_set_from_list):
12355           Don't g_return_val_if_fail() on timed values with invalid timestamps
12356           inside a critical section without unlocking the mutex. Spotted by
12357           René Stadler. (#357617)
12358           Also, fix up refcounting properly: when returning an existing
12359           controller, we should increase the reference only once and not
12360           once per property and when trying to control a property again
12361           we should also increase the refcount.
12362
12363 2006-09-29  Wim Taymans  <wim@fluendo.com>
12364
12365         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12366         * libs/gst/net/gstnettimeprovider.c:
12367         (gst_net_time_provider_thread):
12368         Stop reading commands when EOF as well.
12369
12370         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12371         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12372         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12373         Unify description of the dump property.
12374
12375 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12376
12377         * tests/examples/manual/.cvsignore:
12378         OK, so it's actually cvsignore that needs changing. Stop laughing.
12379
12380 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12381
12382         * tests/examples/manual/Makefile.am:
12383         Gah, declare vars *before* using them
12384
12385 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12386
12387         * gst/gst.c: (init_pre), (scan_and_update_registry),
12388         (ensure_current_registry_nonforking),
12389         (ensure_current_registry_forking), (ensure_current_registry),
12390         (init_post), (gst_debug_help), (gst_deinit):
12391         * gst/gst_private.h:
12392         * gst/gstregistry.c: (gst_registry_finalize),
12393         (gst_registry_remove_features_for_plugin_unlocked),
12394         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12395         (gst_registry_scan_path),
12396         (_priv_gst_registry_remove_cache_plugins),
12397         (_priv_gst_registry_cleanup):
12398         * gst/gstregistry.h:
12399         Re-commit the registry changes, along with an extra fix:
12400           When a cached plugin is encountered at a different file path,
12401           update the stored path in the registry cache so that the parent
12402           process knows where it actually is now when it re-reads the registry
12403           cache. Fixes the thing that broke distcheck with the previous commit.
12404
12405         * tests/check/Makefile.am:
12406         Clean up files named 'core' too when running make clean.
12407
12408         * tests/examples/manual/Makefile.am:
12409         Set up a registry path for running these tests, and clean it properly
12410         for distcheck.
12411
12412 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12413
12414         * configure.ac:
12415         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12416         want gmodule-no-export-2.0.pc instead so that we don't drag in
12417         --export-dynamic on every project that links to GStreamer.
12418
12419         Also, make our export regex only match the start of symbols, rather 
12420         than any symbol that contains '_gst' somewhere.
12421
12422         * libs/gst/check/Makefile.am:
12423         The libgstcheck we build does however need export-dynamic, as it
12424         produces some symbols that don't match our _gst... style regex.
12425         Fixes: #318031
12426
12427 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12428
12429         * gst/gst.c: (init_pre), (scan_and_update_registry),
12430         (ensure_current_registry_nonforking),
12431         (ensure_current_registry_forking), (ensure_current_registry),
12432         (init_post), (gst_debug_help), (gst_deinit):
12433         * gst/gst_private.h:
12434         * gst/gstregistry.c: (gst_registry_finalize),
12435         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12436         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12437         (_gst_registry_cleanup):
12438         * gst/gstregistry.h:
12439           Revert previous change until I figure out why it breaks distcheck.
12440
12441 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12442
12443         * gst/gst.c: (init_pre), (scan_and_update_registry),
12444         (ensure_current_registry_nonforking),
12445         (ensure_current_registry_forking), (ensure_current_registry),
12446         (init_post), (gst_debug_help), (gst_deinit):
12447
12448           Make init_pre and init_post take the full complement of GOptionFunc
12449           args so they can return useful GErrors. Make the registry updating
12450           functions do so.
12451
12452           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12453           ensure that the registry we're about to write out doesn't contain
12454           stale information about old-deleted plugin files.
12455
12456           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12457           that deletion of plugin files is considered a registry change.
12458
12459         * gst/gst_private.h:
12460         * gst/gstregistry.c: (gst_registry_finalize),
12461         (gst_registry_remove_features_for_plugin_unlocked),
12462         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12463         (gst_registry_scan_path),
12464         (_priv_gst_registry_remove_cache_plugins),
12465         (_priv_gst_registry_cleanup):
12466         * gst/gstregistry.h:
12467         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12468         by adding _priv prefix, so that they won't appear in the global
12469         symbol table. They still do atm though because of #318031. Move the
12470         prototypes to gst_private.h
12471
12472         When removing a plugin, remove all features for that plugin too. 
12473         Fixes #340878.
12474
12475 2006-09-27  Wim Taymans  <wim@fluendo.com>
12476
12477         * docs/random/moving-plugins:
12478         Make it clear that the "compiled-in descriptions" really mean
12479         the element details.
12480
12481         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12482         (gst_base_sink_wait_preroll):
12483         Update docs.
12484
12485         * docs/libs/gstreamer-libs-sections.txt:
12486         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12487         (gst_base_src_get_range), (gst_base_src_activate_push):
12488         * libs/gst/base/gstbasesrc.h:
12489         Added function to block while waiting for PLAYING, this function
12490         is used by live sources that block on the clock.
12491         API: gst_base_src_wait_playing()
12492
12493 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12494
12495         Patch by: Peter Kjellerstedt <pkj at axis com>
12496
12497         * Makefile.am:
12498           gst-element-check.m4 is generated and should therefore be
12499           copied from the build dir rather than the source dir (#357593).
12500           'make distcheck' hasn't noticed this because we were disting
12501           the file as well, so stop doing that.
12502
12503 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12504
12505         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12506           Add some tests for gst_caps_intersect().
12507
12508         * tools/gst-launch.c: (event_loop):
12509           Print all buffering percentages we get, even the 100% one.
12510
12511 2006-09-26  Wim Taymans  <wim@fluendo.com>
12512
12513         * tools/gst-inspect.c: (print_element_properties_info),
12514         (print_signal_info):
12515         Fix printing of flags to match the look of enums.
12516
12517 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12518
12519         * gst/gstelementfactory.c:
12520           Fix typo in docs blurb.
12521
12522 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12523
12524         * gst/gsturi.c: (search_by_entry):
12525           Don't assert/crash here if a uri handler doesn't return any
12526           supported protocols. The list of protocols could be generated
12527           dynamically at runtime or at plugin registration, and an error
12528           in the underlying library shouldn't be fatal (#353301).
12529
12530 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12531
12532         * gst/gstinfo.c:
12533           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12534           (spotted by Peter Kjellerstedt).
12535
12536 2006-09-23  Wim Taymans  <wim@fluendo.com>
12537
12538         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12539
12540         * libs/gst/base/gstbasesrc.c:
12541         (gst_base_src_default_check_get_range), (gst_base_src_start),
12542         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12543         (gst_base_src_change_state):
12544         Match _start/_stop calls in the activate functions. Remove redundant
12545         _stop call from the state change function. Fixes #356910.
12546         Turn failure DEBUG into ERROR. 
12547
12548 2006-09-22  Wim Taymans  <wim@fluendo.com>
12549
12550         * docs/design/part-buffering.txt:
12551         * gst/gstmessage.c: (gst_message_new_buffering),
12552         (gst_message_parse_buffering):
12553         Update docs about buffering.
12554
12555         * docs/design/part-trickmodes.txt:
12556         Fix typo.
12557
12558 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12559
12560         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12561         (gst_controller_new_list):
12562           Ref instances when returning them again (fixes #357180)
12563
12564 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12565
12566         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12567           Don't forget to release proxy lock when there's an error.
12568
12569 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12570
12571         * gst/gstcaps.h:
12572           Add extra initialisers for Caps things, to fix some plugin warnings
12573           when using -Wextra
12574
12575 2006-09-18  Wim Taymans  <wim@fluendo.com>
12576
12577         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12578           Also set template on the internal pad so that a getcaps from the 
12579           target pad returns the template caps.
12580
12581 2006-09-18  Wim Taymans  <wim@fluendo.com>
12582
12583         * gst/gstelement.c: (gst_element_post_message),
12584         (gst_element_dispose):
12585         Use _DEBUG_OBJECT some more.
12586
12587         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12588         Avoid typechecks.
12589
12590         * tools/gst-launch.c: (main):
12591         If the toplevel element is not a GstPipeline, it must be put in a
12592         pipeline so that a bus and clock is selected.
12593
12594 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12595
12596         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12597           JITTER, RATE, and LATENCY query should be handled by the
12598           default case and not by the CONVERT query code.
12599
12600 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12601
12602         * gst/gstformat.c: (gst_format_register):
12603           Fix locking order (must take lock before using n_values).
12604
12605         * gst/gstvalue.c: (gst_value_serialize_enum),
12606         (gst_value_deserialize_enum_iter_cmp),
12607         (gst_value_deserialize_enum):
12608           Fix serialisation/deserialisation of custom registered GstFormats.
12609
12610         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12611           Unit test for custom format serialisation/deserialisation.
12612
12613 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12614
12615         * docs/pwg/building-boiler.xml:
12616         * plugins/elements/gstcapsfilter.c:
12617         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12618         section.
12619
12620 2006-09-16  Edward Hervey  <edward@fluendo.com>
12621
12622         * libs/gst/base/gstbasetransform.c:
12623         (gst_base_transform_buffer_alloc):
12624         Check if requested caps are the same as the sinks caps IF
12625         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12626         is FALSE.
12627         This fixes the renegotiation issues stated in #352827.
12628
12629 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12630
12631         * configure.ac:
12632         * docs/manual/advanced-autoplugging.xml:
12633         * tests/examples/Makefile.am:
12634         * tests/examples/manual/.cvsignore:
12635         * tests/examples/manual/Makefile.am:
12636         * tests/examples/manual/extract.pl:
12637           Extract the manual examples again like we used to do.
12638           Fix one of them.
12639
12640 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12641
12642         * win32/common/config.h:
12643           update for version
12644
12645 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12646
12647         * gst/gsterror.c:
12648           Documents how to receive errors.
12649
12650 2006-09-15  Wim Taymans  <wim@fluendo.com>
12651
12652         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12653         (event_loop), (main):
12654         Added some comments here and there.
12655         Post an application message when an interrupt is caught instead of doing
12656         an uncontrolled state change.
12657         Clean up the event loop.
12658         Handle buffering messages, pause/resume the pipeline.
12659         Make shutdown because of an interrupt more reliable.
12660
12661 2006-09-15  Wim Taymans  <wim@fluendo.com>
12662
12663         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12664         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12665         (gst_base_sink_preroll_object):
12666         Make sure that our internal state is correct when we commit our state
12667         asynchronously. This solves a race where a state change to PLAYING
12668         could cause the sink to remain blocked in preroll in some situations.
12669
12670 2006-09-15  Wim Taymans  <wim@fluendo.com>
12671
12672         * tools/gst-inspect.c: (print_element_properties_info),
12673         (print_signal_info):
12674         List flags as hex so it's easier to deal with.
12675
12676 2006-09-15  Wim Taymans  <wim@fluendo.com>
12677
12678         * docs/libs/gstreamer-libs-sections.txt:
12679         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12680         (gst_base_sink_do_sync):
12681         * libs/gst/base/gstbasesink.h:
12682         Expose logic to wait for preroll so that subclasses such as audiosink
12683         can also use this method.
12684         API: gst_base_sink_wait_preroll()
12685
12686 2006-09-15  Wim Taymans  <wim@fluendo.com>
12687
12688         * gst/gstobject.c: (gst_object_set_parent):
12689         * gst/gstpipeline.c: (do_pipeline_seek):
12690         Small cleanups in docs and code.
12691
12692         * gst/gstsegment.c: (gst_segment_clip):
12693         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12694         if stop == start and start is in the segment, no clipping should be
12695         done. Also add a test for this.
12696
12697 2006-09-15  Wim Taymans  <wim@fluendo.com>
12698
12699         * docs/design/part-buffering.txt:
12700         * docs/gst/gstreamer-sections.txt:
12701         * gst/gstmessage.c: (gst_message_new_buffering),
12702         (gst_message_parse_buffering):
12703         * gst/gstmessage.h:
12704         Added methods to create and parse BUFFERING messages.
12705         Added preliminary docs about buffering.
12706         API: gst_message_new_buffering
12707         API: gst_message_parse_buffering
12708
12709 2006-09-06  Wim Taymans  <wim@fluendo.com>
12710
12711         * gst/gstbin.c:
12712         Update documentation.
12713
12714         * gst/gstelement.c: (gst_element_class_init),
12715         (gst_element_release_request_pad), (gst_element_set_clock),
12716         (gst_element_get_index), (gst_element_add_pad),
12717         (gst_element_remove_pad), (gst_element_get_random_pad),
12718         (gst_element_send_event), (gst_element_get_query_types),
12719         (gst_element_query), (gst_element_post_message),
12720         (gst_element_message_full), (gst_element_continue_state),
12721         (gst_element_lost_state), (gst_element_save_thyself),
12722         (gst_element_restore_thyself):
12723         Documentation updates.
12724         Rename last bit of the new-pad -> pad-added signal rename.
12725         Fix the case where an element query would only work if the source
12726         pad was linked.
12727         Avoid some useless type checking in message handling.
12728
12729         * gst/gstevent.c:
12730         * gst/gstevent.h:
12731         * gst/gstutils.c:
12732         Documentation updates.
12733
12734 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12735
12736         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12737           add an INFO line for when we actually update the fd
12738
12739 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12740
12741         * configure.ac:
12742           back to TRUNK
12743
12744 === release 0.10.10 ===
12745
12746 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12747
12748         * configure.ac:
12749           releasing 0.10.10, "Pais"
12750
12751 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12752
12753         * docs/manual/advanced-position.xml:
12754           Fix typo in sample code.
12755
12756 2006-09-05  Wim Taymans  <wim@fluendo.com>
12757
12758         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12759         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12760         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12761         * libs/gst/net/gstnetclientclock.h:
12762         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12763         * libs/gst/net/gstnettimepacket.h:
12764         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12765         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12766         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12767         * libs/gst/net/gstnettimeprovider.h:
12768         Make stuff compile on windows. Fixes #345295.
12769
12770 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * gst/gst.c: (ensure_current_registry_forking):
12773           Print better details when child was terminated by signal.
12774
12775 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12776
12777         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12778           Print a warning rather than g_assert() if a plugin feature
12779           is a URI handler but returns no protocols (#353976).
12780
12781 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12782
12783         * docs/random/moving-plugins:
12784         Fix two typos.         
12785
12786 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12787
12788         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12789           Fix locking order, handle NULL function values properly.
12790
12791         * gst/gstinfo.h:
12792           Fix docs.
12793
12794         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12795           Initialise variable before using it and fix debug statement to
12796           print the address of the function rather than the address of the
12797           variable on the stack holding the address of the function.
12798
12799 2006-09-01  Wim Taymans  <wim@fluendo.com>
12800
12801         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12802         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12803         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12804         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12805         (gst_ghost_pad_parent_unset),
12806         (gst_ghost_pad_internal_do_activate_push),
12807         (gst_ghost_pad_internal_do_activate_pull),
12808         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12809         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12810         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12811         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12812         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12813         (gst_ghost_pad_new_no_target_from_template),
12814         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12815         More cleanups.
12816         Avoid needless typechecking in macros.
12817         Since the internal pad is always present and never changes, there is
12818         no need to locking or ref when retrieving it.
12819         Improve debugging a bit.
12820         Handle link errors when setting the target. Fixes #341029.
12821
12822 2006-09-01  Wim Taymans  <wim@fluendo.com>
12823
12824         * docs/libs/gstreamer-libs-sections.txt:
12825         * docs/plugins/gstreamer-plugins-sections.txt:
12826         Fix docs some more.
12827
12828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12829         (gst_collect_pads_event):
12830         * libs/gst/base/gstcollectpads.h:
12831         Documentation updates.
12832         Free queued buffer when removing a pad.
12833
12834 2006-08-31  Michael Smith  <msmith@fluendo.com>
12835
12836         * gst/gstutils.c: (gst_element_link_pads),
12837         (gst_element_link_pads_filtered):
12838           Ensure that we set a capsfilter to NULL if we failed to link it
12839           when doing filtered linking, to avoid criticals.
12840
12841           No need to check for unreffing srcpad, which is explicly NULLed
12842           above (a trivial code cleanup).
12843
12844 2006-08-31  Wim Taymans  <wim@fluendo.com>
12845
12846         * docs/design/part-gstghostpad.txt:
12847         Update ascii art in documentation.
12848
12849         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12850         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12851         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12852         (gst_ghost_pad_internal_do_activate_push),
12853         (gst_ghost_pad_internal_do_activate_pull),
12854         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12855         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12856         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12857         (gst_ghost_pad_set_target):
12858         Small cleanups and leak fixes.
12859         Remove some checks now that the internal pad is never NULL.
12860         Fix the case where linking pads without a target would create nasty
12861         criticals. Fixes #341029.
12862         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12863         value of _set_target().
12864
12865         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12866         (gst_ghost_pad_suite):
12867         Some more tests for creating and linking untargeted ghostpads.
12868
12869 2006-08-31  Edward Hervey  <edward@fluendo.com>
12870
12871         * docs/gst/gstreamer-sections.txt:
12872         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12873         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12874         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12875         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12876         (gst_ghost_pad_new_from_template),
12877         (gst_ghost_pad_new_no_target_from_template):
12878         * gst/gstghostpad.h:
12879         Refactored *_new() functions.
12880         Templates are now used as a g_object_new() parameter.
12881         Use template in _do_getcaps() if we don't have a target.
12882         Small documentation cleanups.
12883         Added two new constructors:
12884         gst_ghost_pad_new_from_template()
12885         gst_ghost_pad_new_no_target_from_template()
12886         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12887         (gst_ghost_pad_suite):
12888         Added tests for new ghostpad instanciation functions.
12889
12890         API additions: gst_ghost_pad_new_from_template,
12891         gst_ghost_pad_new_no_target_from_template
12892
12893 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12894
12895         * docs/random/ensonic/profiling.txt:
12896           Ideas about qos profiling.
12897
12898 2006-08-29  Wim Taymans  <wim@fluendo.com>
12899
12900         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12901         Code cleanups.
12902         Fix memleak.
12903
12904 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12905
12906         * gst/gstxml.c:
12907           Improve and detypofy docs.
12908
12909         * tests/check/Makefile.am:
12910         * tests/check/gst/.cvsignore:
12911         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12912           Add a basic test suite for GstXML.
12913
12914 2006-08-29  Wim Taymans  <wim@fluendo.com>
12915
12916         * gst/gstelement.c: (activate_pads), (clear_caps),
12917         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12918         Clear the pad caps when the element shut down all of the pads and
12919         is not streaming data that could modify the caps. 
12920         Fixes #352958.
12921
12922 2006-08-28  Michael Smith  <msmith@fluendo.com>
12923
12924         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12925           Revert previous change; I misunderstood single-segment mode.
12926
12927 2006-08-28  Michael Smith  <msmith@fluendo.com>
12928
12929         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12930           Unset DISCONT on buffers when using single-segment mode.
12931
12932 2006-08-28  Wim Taymans  <wim@fluendo.com>
12933
12934         * gst/gstcaps.c: (gst_caps_merge_structure):
12935         * gst/gstcaps.h:
12936         Fix docs and indentation again.
12937
12938         * tests/check/gst/gstquery.c: (GST_START_TEST):
12939         Fix leak in tests and add some more tests.
12940
12941 2006-08-28  Edward Hervey  <edward@fluendo.com>
12942
12943         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12944         Inform GstSegment of the last stop position in order for the current
12945         segment to have a proper duration if it doesn't have a specific stop
12946         position from which a duration could be calculated.
12947         This bug was noticeable when a non-flushing, non-update new segment was
12948         followed by another segment (all buffers from the new segment were being
12949         dropped).
12950
12951 2006-08-28  Wim Taymans  <wim@fluendo.com>
12952
12953         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12954         Small comment update.
12955
12956         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12957         (gst_identity_transform_ip):
12958         Drop-probability is broken, mention this in the code with a 
12959         FIXME and also in the property description.
12960         Make silent also be silent about the drop messages.
12961
12962 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12963
12964         * docs/manual/appendix-win32.xml:
12965           Remove mention of popt, we don't depend on that any
12966           longer (#353136). Add some comments pointing out that
12967           this section is slightly outdated.
12968
12969 2006-08-28  Wim Taymans  <wim@fluendo.com>
12970
12971         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12972
12973         * gst/gstquery.c: (gst_query_new_segment):
12974         * tests/check/gst/gstquery.c: (GST_START_TEST):
12975         Initialize variables when creating a new segment query.
12976         Fixes #353121.
12977
12978 2006-08-28  Wim Taymans  <wim@fluendo.com>
12979
12980         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12981
12982         * gst/gstelement.c: (gst_element_get_bus):
12983         * tests/check/gst/gstelement.c: (GST_START_TEST):
12984         Check for NULL before _reffing the bus. Fixes #353122.
12985
12986 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12987
12988         * docs/manual/basics-bus.xml:
12989           Docs update: fix wrong callback return value explanation; add
12990           some lines about the implicit relationship between main loop
12991           and main context; remove duplicate main loop variable declaration.
12992
12993 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12994
12995         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12996           Don't leak caps in unit test; add a few more simple
12997           checks. 
12998
12999 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13000
13001         * docs/gst/gstreamer-sections.txt:
13002         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13003         (gst_caps_structure_is_subset), (gst_caps_merge),
13004         (gst_caps_merge_structure):
13005         * gst/gstcaps.h:
13006         * libs/gst/base/gstbasetransform.c:
13007         (gst_base_transform_transform_caps):
13008         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13009           implement caps merging (fixes #352580)
13010
13011 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13012
13013         * tools/Makefile.am:
13014         * tools/gst-plot-timeline.py:
13015           add debug-log plotting developer tool (#340674)
13016
13017 2006-08-23  Wim Taymans  <wim@fluendo.com>
13018
13019         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13020         (gst_pad_stop_task):
13021         Improve debugging for task functions.
13022
13023         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13024         (gst_task_start), (gst_task_pause), (gst_task_join):
13025         Make sure that the task function started and finished after a 
13026         join(). 
13027         Don't try to push the task function on the threadpool multiple
13028         times.
13029         Improve the g_warning message with some useful suggestions
13030         about how to fix the problem. 
13031
13032 2006-08-23  Wim Taymans  <wim@fluendo.com>
13033
13034         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13035         Handle RESYNC correctly in _proxy_getcaps.
13036
13037 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13038
13039         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13040         (gst_xml_parse_memory), (gst_xml_get_element):
13041           Chain up to parent class in dispose function and also
13042           unref the elements in the toplevel_elements GList.
13043           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13044           Always return a reference in gst_xml_get_element() rather
13045           than only sometimes.
13046
13047         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13048           Don't leak GstXml object.
13049
13050 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13051
13052         * docs/gst/gstreamer-sections.txt:
13053         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13054         (gst_caps_merge):
13055         * gst/gstcaps.h:
13056         * libs/gst/base/gstbasetransform.c:
13057         (gst_base_transform_transform_caps):
13058           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13059           in a better way
13060
13061 2006-08-21  Edward Hervey  <edward@fluendo.com>
13062
13063         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13064         Implement GObject::dispose virtual method in GstXML so we can free the
13065         top_elements GList.
13066
13067 2006-08-21  Wim Taymans  <wim@fluendo.com>
13068
13069         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13070         (gst_buffer_create_sub):
13071         Copy duration/offset_end/caps when creating a subbuffer of the
13072         complete parent.
13073         Make the subbuffer read-only when we make the metadata writable for
13074         now. Fixes #351768.
13075
13076         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13077         Added check for metadata copy when creating subbuffers.
13078
13079 2006-08-21  Edward Hervey  <edward@fluendo.com>
13080
13081         * libs/gst/base/gstbasetransform.c:
13082         (gst_base_transform_buffer_alloc):
13083         Only call downstream buffer_alloc if transform element is passthrough
13084         or always_in_place. Closes #350449.
13085
13086 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13087
13088         * ChangeLog:
13089           ChangeLog surgery to add comments to previous changes
13090
13091 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13092
13093         * gst/gst.c:
13094           Add comments
13095
13096         * gst/gstpad.c: (gst_pad_set_active):
13097           Be more verbose in the log
13098
13099         * libs/gst/base/gstbasetransform.c:
13100         (gst_base_transform_transform_caps):
13101           Simplify caps to get rid of duplicates, fixes #345444
13102
13103 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13104
13105         * gst/gstvalue.c:
13106         * gst/gstvalue.h:
13107           Use these optimizations only internally.
13108
13109 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13110
13111         * gst/gstvalue.c: (gst_value_compare_list),
13112         (gst_value_compare_fraction_range),
13113         (gst_value_intersect_fraction_fraction_range),
13114         (gst_value_intersect_fraction_range_fraction_range),
13115         (gst_value_subtract_fraction_fraction_range),
13116         (gst_value_subtract_fraction_range_fraction_range),
13117         (gst_value_get_compare_func), (gst_value_compare),
13118         (gst_value_compare_with_func):
13119         * gst/gstvalue.h:
13120           Saves the expensive lookup of the compare function in many cases
13121          (#345444)
13122
13123 2006-08-18  Edward Hervey  <edward@fluendo.com>
13124
13125         * tests/check/gst/gstinfo.c: (gst_info_suite):
13126         Disable test that require gstdebug if it wasn't built in core.
13127
13128 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13129
13130         * docs/random/ensonic/logging.txt:
13131           update ideas
13132           
13133         * gst/gstinfo.c: (gst_debug_log_default):
13134           reorder fields, save some columns, add optional color codes for log
13135           levels
13136
13137 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * docs/random/ensonic/logging.txt:
13140           add ideas about making the logs a bit more useful
13141
13142 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * docs/pwg/advanced-events.xml:
13145         * docs/pwg/titlepage.xml:
13146           Update for 0.10 API (#340627). Add myself
13147           to authors list.
13148
13149 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * docs/libs/gstreamer-libs-docs.sgml:
13152         * docs/libs/gstreamer-libs-sections.txt:
13153         * libs/gst/check/gstbufferstraw.c:
13154           Make gstcheck stuff show up in docs (still needs to
13155           be documented properly though).
13156
13157 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13158
13159         * docs/gst/gstreamer-sections.txt:
13160         * gst/Makefile.am:
13161         * gst/gst.c: (init_post):
13162         * gst/gst_private.h:
13163         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13164         * gst/gstquark.h:
13165         * gst/gstquery.c: (gst_query_new_position),
13166         (gst_query_set_position), (gst_query_parse_position),
13167         (gst_query_new_duration), (gst_query_set_duration),
13168         (gst_query_parse_duration), (gst_query_new_convert),
13169         (gst_query_set_convert), (gst_query_parse_convert),
13170         (gst_query_new_segment), (gst_query_set_segment),
13171         (gst_query_parse_segment), (gst_query_new_seeking),
13172         (gst_query_set_seeking), (gst_query_parse_seeking):
13173         Add internal helpers for pre-registering quarks from static strings
13174         and using the quark values directly instead of looking them up when
13175         creating and parsing queries. Can be used for event construction too.
13176         Closes #350432.
13177
13178 2006-08-16  Wim Taymans  <wim@fluendo.com>
13179
13180         * gst/gstbin.c:
13181         Fix bogus docs.
13182
13183 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13184
13185         * gst/gstutils.c: (gst_util_set_value_from_string):
13186           Fix memleak (#351502).
13187
13188         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13189           Add unit test for most of gst_util_set_value_from_string()
13190           (not that one would want to encourage use of this function).
13191
13192 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13193
13194         * libs/gst/check/gstcheck.h:
13195           Use const gchar * variables in fail_unless_equals_string
13196           macro to avoid compiler warnings (and don't use tabs for
13197           indenting).
13198
13199 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13200
13201         * tools/gst-launch.c: (print_tag):
13202           More space on the left for the tag names, to cater
13203           for the 'extended comment' tag (not touching the
13204           string for the first line since it's translated).
13205
13206 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13207
13208         * libs/gst/check/gstcheck.h:
13209           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13210           print something when they fail.
13211
13212 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13213
13214         * docs/gst/gstreamer-sections.txt:
13215         * gst/gsttaglist.c: (_gst_tag_initialize):
13216         * gst/gsttaglist.h:
13217           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13218           Also change merge function for GST_TAG_COMMENT to
13219           use_first.
13220
13221 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13222
13223         * gst/gstinfo.c: (gst_debug_print_object):
13224           Make GST_PTR_FORMAT print messages as well.
13225
13226         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13227         (GST_START_TEST), (gst_info_suite):
13228           More tests.
13229
13230 2006-08-14  Edward Hervey  <edward@fluendo.com>
13231
13232         * gst/gstelementfactory.c: (gst_element_register):
13233         If the GstElementClass doesn't have a GstElementDetails with all fields
13234         filled up correctly (longname, description AND author), then error out
13235         nicely instead of crashing.
13236
13237 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13238
13239         * gst/gststructure.c:
13240           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13241
13242         * gst/gstvalue.h:
13243           Expand on the difference between arrays and lists as we use them.
13244           
13245 2006-08-14  Wim Taymans  <wim@fluendo.com>
13246
13247         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13248         If the parent state change function failed, don't assume we can safely
13249         stop the source, this will be done when the pads are deactivated.
13250
13251 2006-08-14  Wim Taymans  <wim@fluendo.com>
13252
13253         * gst/gstbuffer.c:
13254         * gst/gsttask.c: (gst_task_join):
13255         Small doc updates.
13256
13257         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13258         (gst_pad_stop_task):
13259         When pad (de)activation failed for some reason, restore the old
13260         activation mode and set the pad to flushing instead of assuming the
13261         pad is deactivated.
13262         If the _task_join() failed, reinstall the task on the pad so that it can
13263         be stopped later and return an error.
13264
13265 2006-08-11  Andy Wingo  <wingo@pobox.com>
13266
13267         * configure.ac:
13268         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13269         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13270         is only for users of API that don't want to see deprecated
13271         functions in the headers; people that want to compile out
13272         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13273         CFLAGS. Fixes the build of multifdsink, or will soon..
13274
13275 2006-08-11  Wim Taymans  <wim@fluendo.com>
13276
13277         * docs/gst/gstreamer-sections.txt:
13278         Add GstClockClass vmethod docs.
13279
13280         * gst/gstcaps.h:
13281         Mark #endif with comment for associated #if
13282
13283         * gst/gstclock.c: (gst_clock_id_wait):
13284         * gst/gstclock.h:
13285         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13286         most clock implementations.
13287         Document vmethods.
13288         Flesh out docs about resolution methods.
13289         API: GstClockClass::wait_jitter
13290
13291         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13292         (gst_system_clock_async_thread),
13293         (gst_system_clock_id_wait_jitter_unlocked),
13294         (gst_system_clock_id_wait_jitter):
13295         Use base class wait_jitter variant for improved performance
13296         due to less clock polling.
13297
13298 2006-08-11  Edward Hervey  <edward@fluendo.com>
13299
13300         * gst/gst.c: (gst_init_check), (init_post):
13301         Set gst as being initialized before scanning/updating the registry,
13302         since there might be my python plugin loader that calls gst_init() and
13303         we don't want to loop back in.
13304         Closes #350879
13305
13306 2006-08-11  Wim Taymans  <wim@fluendo.com>
13307
13308         * docs/design/part-qos.txt:
13309         Bring docs in line with the code. Mostly the sign of the jitter was
13310         wrong in the docs. Fixes #349943.
13311
13312         * gst/gstclock.c:
13313         Fix the docs for the jitter.
13314
13315         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13316         (gst_event_parse_tag), (gst_event_new_buffer_size),
13317         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13318         (gst_event_new_seek), (gst_event_parse_seek),
13319         (gst_event_new_navigation):
13320         Make sure the GstStructure has no parent when creating custom
13321         events.
13322         Add some more argument checking so that we avoid 0.0 rates.
13323         Flesh out the docs for the QoS event some more.
13324
13325 2006-08-11  Wim Taymans  <wim@fluendo.com>
13326
13327         * docs/gst/gstreamer-sections.txt:
13328         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13329         (ensure_current_registry_forking), (ensure_current_registry),
13330         (parse_one_option), (parse_goption_arg), (gst_deinit),
13331         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13332         * gst/gst.h:
13333         Doc updates.
13334         Added API and command line option to disable registry forking in
13335         addition to the environment variable.
13336         Constify some static arrays.
13337         Added some more debug.
13338         Don't deinit twice.
13339         API: gst_registry_fork_is_enabled()
13340         API: gst_registry_fork_set_enabled()
13341         API: --gst-disable-registry-fork command line option
13342         Fixes #348918.
13343
13344 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13345
13346         * gst/gst.c: (gst_init):
13347           Fix typo in error message.
13348
13349 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13350
13351         * libs/gst/controller/gstcontroller.h:
13352           fix ABI size-correction
13353
13354         * tests/check/libs/gdp.c: (gst_dp_suite):
13355           make tests that use deprecated API conditional
13356
13357 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13358
13359         * docs/libs/gstreamer-libs-sections.txt:
13360         * libs/gst/controller/gstcontroller.c:
13361         (_gst_controller_get_property), (_gst_controller_set_property),
13362         (_gst_controller_init), (_gst_controller_class_init):
13363         * libs/gst/controller/gstcontroller.h:
13364         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13365         (gst_object_set_control_rate):
13366           API: add gst_object_{s,g}et_control_rate(), add private data section,
13367           fix docs
13368
13369         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13370         * libs/gst/dataprotocol/dataprotocol.h:
13371           add deprecation guards to make gtk-doc happy and allow disabling cruft
13372
13373 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13374
13375         * tests/check/Makefile.am:
13376         * tests/check/gst/.cvsignore:
13377           Let's enable the new unit test as well.
13378
13379 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13380
13381         * configure.ac:
13382         * docs/gst/gstreamer-sections.txt:
13383         * gst/gstconfig.h.in:
13384         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13385         (_gst_info_printf_extension_ptr),
13386         (_gst_info_printf_extension_segment):
13387           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13388           register that lets us easily dump GstSegments into debug
13389           logs (#350419).
13390
13391         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13392         (info_segment_format_printf_extension), (gst_info_suite):
13393           Add simple unit test that logs a bunch of different segments (not
13394           valgrinded at the moment because of leaks in
13395           gst_debug_add_log_function).
13396
13397 2006-08-09  Edward Hervey  <edward@fluendo.com>
13398
13399         * libs/gst/base/gstbasetransform.c:
13400         (gst_base_transform_buffer_alloc):
13401         Even if we can't figure out the proper format to request downstream,
13402         call buffer_alloc() downstream with the input parameters without setting
13403         the caps on the srcpad. This will force negotiation in the chain
13404         function.
13405         Closes #350449
13406
13407 2006-08-08  Edward Hervey  <edward@fluendo.com>
13408
13409         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13410         Unlinking from a pad without a target is now a perfectly valid case
13411         which should NOT raise an assertion.
13412         This case would happen if a linked ghostpad its target set to NULL after
13413         it was previously linked.
13414
13415 2006-08-08  Edward Hervey  <edward@fluendo.com>
13416
13417         * tests/check/libs/gdp.c:
13418         Also comment out the test (see below).
13419
13420 2006-08-08  Edward Hervey  <edward@fluendo.com>
13421
13422         * tests/check/libs/gdp.c: (gst_dp_suite):
13423         Use the architecture information from config.h and not gcc macros
13424         in order to properly disable a test that fails on PPC64.
13425
13426 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13427
13428         * gst/gstelement.c: (gst_element_remove_pad):
13429           Don't crash printing the warning if the pad has no parent.
13430
13431 2006-08-02  Wim Taymans  <wim@fluendo.com>
13432
13433         * libs/gst/dataprotocol/dataprotocol.c:
13434         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13435         (gst_dp_crc), (gst_dp_header_payload_length),
13436         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13437         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13438         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13439         (gst_dp_event_from_packet), (gst_dp_validate_header),
13440         (gst_dp_validate_payload):
13441         Make debug category static
13442         Constify the crc table.
13443         Do some more arg checking in public functions.
13444         Fix some docs and do some small cleanups.
13445
13446         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13447         Add some more checks to see if GDP deals with bogus input.
13448
13449 2006-07-31  Wim Taymans  <wim@fluendo.com>
13450
13451         * gst/gstvalue.c: (gst_value_compare_list):
13452         Fix GstValueList comparison code. Fixes #347293.
13453
13454         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13455         Check to test GstValueList comparison.
13456
13457 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13458
13459         * gst/gstelementfactory.c: (gst_element_factory_create):
13460         Remove unnecessary ref/unref pair
13461
13462         * gst/parse/grammar.y:
13463         Make sure to free the parse buffer on all code paths.
13464         Move a g_free up to the error handler where it's easier to see.
13465
13466         * tests/check/gst/gstevent.c: (test_event):
13467         Extending timeout for downstream travelling events to 10 seconds to
13468         hopefully avoid intermittent failure on the buildbots.
13469
13470         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13471         Don't manually set the state of the src element - it will happen as a
13472         natural consequence of the pipeline changing state, and that way it
13473         will do it in the right order too.
13474
13475 2006-07-31  Wim Taymans  <wim@fluendo.com>
13476
13477         * libs/gst/base/gstbasetransform.c:
13478         (gst_base_transform_buffer_alloc):
13479         Use OBJECT_LOCK and refcounting to get the pad caps in the
13480         buffer_alloc function because the caps could change while we are
13481         busy with them. Fixes #349105
13482
13483 2006-07-31  Wim Taymans  <wim@fluendo.com>
13484
13485         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13486         Protect _PAD_CAPS with OBJECT_LOCK.
13487
13488 2006-07-31  Wim Taymans  <wim@fluendo.com>
13489
13490         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13491         (gst_pad_get_property), (gst_pad_activate_pull),
13492         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13493         (gst_pad_set_activate_function),
13494         (gst_pad_set_activatepull_function),
13495         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13496         (gst_pad_set_getrange_function),
13497         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13498         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13499         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13500         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13501         (gst_pad_set_acceptcaps_function),
13502         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13503         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13504         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13505         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13506         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13507         (gst_pad_configure_sink), (gst_pad_configure_src),
13508         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13509         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13510         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13511         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13512         (gst_pad_send_event):
13513         Use _DEBUG_OBJECT when it makes sense.
13514         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13515         Small cleanups and code reflows.
13516         Avoid caps refcounting in _accept_caps.
13517         Refactor alloc_buffer so that the code performed on the peer is in a
13518         separate function. Also if the pad does not implement a buffer alloc
13519         function, we should still check if the pad is flushing before falling
13520         back to the default allocator.
13521
13522 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13523
13524         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13525         Make all uses of identity and fakesink have silent=true to avoid
13526         serialising every passing data structure, which is breaking tests
13527         on FC4 for some unknown reason.
13528
13529 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13530
13531         * gst/parse/Makefile.am:
13532         * gst/parse/grammar.y:
13533         * gst/parse/parse.l:
13534           Reverted previous patch as it required to bump the flex dependency to
13535           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13536
13537 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13538
13539         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13540
13541         * gst/parse/Makefile.am:
13542         * gst/parse/grammar.y:
13543         * gst/parse/parse.l:
13544           push & pop the state of the lexer for reentrant use case
13545           Fixes #349180
13546
13547 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13548
13549         * libs/gst/base/gstbasesrc.h:
13550           Note in the docs that the ::newsegment vfunc is not actually used by
13551           GstBaseSrc.
13552
13553 2006-07-28  Wim Taymans  <wim@fluendo.com>
13554
13555         * libs/gst/base/gstcollectpads.c:
13556         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13557         (gst_collect_pads_clear), (gst_collect_pads_flush),
13558         (gst_collect_pads_event), (gst_collect_pads_chain):
13559         When flushing a pad, also clear the queued buffer so that we don't
13560         accidentally use it when we shouldn't.
13561         Fix leaks by inreffing incomming buffer.
13562         Flush out queued buffers in case of errors.
13563         Fixes #347452.
13564
13565 2006-07-28  Wim Taymans  <wim@fluendo.com>
13566
13567         * docs/random/phonon-gst:
13568         Random notes about a Phonon backend.
13569
13570 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13571
13572         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13573         Extra debug output
13574         * tests/check/libs/gdp.c: (gst_dp_suite):
13575         Take a whack at fixing the ppc compile using a different define to
13576         disable the broken test.
13577
13578         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13579         Remove excess g_print()
13580
13581 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13582
13583         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13584         Oops, meant to uncomment this line too to dampen the noise a bit.
13585
13586 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13587
13588         * gst/parse/grammar.y:
13589         * gst/parse/parse.l:
13590         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13591         (GST_START_TEST), (parse_suite):
13592         Fix some of the leaks exposed by extending the parse-launch testsuite,
13593         and move the 3 I can't figure out into a separate test that won't run
13594         the pipelines unless the appropriate line is uncommented.
13595
13596 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13597
13598         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13599           Requesting 0 bytes before the end of the file should result in
13600           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13601           unit test.
13602
13603 2006-07-27  Wim Taymans  <wim@fluendo.com>
13604
13605         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13606         Fix useless assert, a uint is always positive.
13607
13608         * gst/gststructure.c: (gst_structure_nth_field_name),
13609         (gst_structure_foreach), (gst_structure_map_in_place):
13610         Check input arguments for public functions to avoid obvious crashes.
13611
13612         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13613         * plugins/elements/gstfakesink.h:
13614         Do less useless typechecking.
13615
13616 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13617
13618         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13619           Do not use mmap() by default since there are a number of error
13620           conditions that we would like to handle in a non-fatal way that
13621           will result in a SIGBUS if we use mmap(). Examples: external
13622           devices (USB harddrive, portable music player) being unplugged
13623           while in use; file on mounted CD/DVD that can't be read because
13624           the medium is partly damaged. Fixes #348455 and #348475.
13625
13626 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13627
13628         * gst/gstquery.h:
13629         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13630         rates are a gdouble
13631
13632 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13633
13634         * gst/gstregistry.c:
13635           Move big documentation comment into class section header, so that it
13636           appears in the API docs.
13637
13638 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13639
13640         * docs/gst/gstreamer-sections.txt:
13641         Oops. Commit the docs additions too for new API.
13642         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13643
13644 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13645
13646         * gst/gststructure.c: (gst_structure_id_set),
13647         (gst_structure_id_set_valist):
13648         * gst/gststructure.h:
13649         Add API for setting values into structures without performing
13650         a quark lookup, if the appropriate quark is already known.
13651
13652         API: gst_structure_id_set
13653         API: gst_structure_id_set_valist
13654
13655         * gst/parse/grammar.y:
13656         * gst/parse/parse.l:
13657         Remove some dead code shown by the coverage information.
13658         Don't throw a critical g_warning when encountering a syntax error,
13659         just warn and let the normal error path handle it.
13660
13661         * plugins/elements/gstelements.c:
13662         Bump the rank of filesink up to PRIMARY so that it is preferred over
13663         gnomevfssink for file:// sink uri's
13664
13665         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13666         (GST_START_TEST), (run_delayed_test),
13667         (gst_parse_test_element_base_init),
13668         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13669         (gst_parse_test_element_change_state),
13670         (gst_register_parse_element), (parse_suite):
13671         Beef up the tests for parse syntax to check that more error cases
13672         fail as they are supposed to. Increases the test coverage a bit.
13673
13674 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13675
13676         * docs/manual/basics-elements.xml:
13677           Fix gst_element_link() example.
13678
13679         * gst/gstutils.c:
13680           Mention in API docs that one should usually gst_bin_add()
13681           elements to a bin or pipeline before doing the linking.
13682           
13683 2006-07-26  Wim Taymans  <wim@fluendo.com>
13684
13685         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13686         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13687         Avoid function call for known types by keeping the buffer and
13688         subbuffer GType global.
13689
13690         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13691         Random silly optimisations in read() path.
13692
13693 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13694
13695         * tools/gst-launch.c: (main):
13696           If the top-level of the parse is a normal bin, it doesn't do the
13697           right logic to run as a top-level element, so place it inside a
13698           pipeline.
13699
13700 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13701
13702         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13703           Remove superfluous g_object_notify() calls, GObject does
13704           that for us automatically.
13705
13706 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13707
13708         * gst/gstinfo.h:
13709           on Win32, use dllspec to export the debug category symbols
13710
13711 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13712
13713         * gst/gsttaglist.c: (_gst_tag_initialize):
13714           Allow more than one GST_TAG_IMAGE per taglist.
13715
13716 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13717
13718         * gst/gstminiobject.c:
13719           update docs
13720         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13721         (gst_fd_src_create):
13722           log recurring events at LOG level
13723           add more debug for when the fd gets set
13724
13725 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13726
13727         * gst/gstparse.c: (gst_parse_launch):
13728           Also remove reentrance checks if flex is MT safe (#348179)
13729          Fix my empty ChangeLog entry below
13730
13731 2006-07-21  Andy Wingo  <wingo@pobox.com>
13732
13733         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13734
13735         * libs/gst/check/Makefile.am
13736         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13737         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13738         * libs/gst/check/gstbufferstraw.h:
13739         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13740         functions, thus proving I am still a GStreamer haxor. OK I wrote
13741         them a long time ago, but anyways.
13742
13743 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13744
13745         * configure.ac:
13746         * gst/gstparse.c: (gst_parse_launch):
13747           Check for flex version and omit mutex if we have a MT save flex
13748           (fixes #348179)
13749
13750 2006-07-21  Wim Taymans  <wim@fluendo.com>
13751
13752         * gst/gstparse.c: (gst_parse_launch):
13753         Protect recursive calls to _parse with a recursive mutex
13754         and busy flag.
13755
13756 2006-07-21  Wim Taymans  <wim@fluendo.com>
13757
13758         * tests/check/gst/gstpad.c: (GST_START_TEST):
13759         Fix leak in test.
13760
13761 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13762
13763         * gst/gstparse.c: (gst_parse_launch):
13764           Do not hang on recursive usage of gst_parse_launch()
13765
13766 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13767
13768         * gst/gsttaglist.c:
13769           Add some more docs, comments and FIXME 0.11s here and there
13770           and also fix some typos.
13771
13772 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13773
13774         * gst/gstsegment.h:
13775           Convert tabs to spaces for better readability. 
13776
13777 2006-07-20  Edward Hervey  <edward@fluendo.com>
13778
13779         * tests/check/libs/gdp.c: (gst_dp_suite):
13780         the test_buffer test fails at line 140 on ppc64 at the following
13781         check:
13782         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13783                 GST_BUFFER_FLAG_IN_CAPS),
13784                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13785         See bug #348114 for more details.
13786
13787 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13788
13789         * docs/pwg/advanced-scheduling.xml:
13790         * gst/gstpad.c:
13791           Fix typos (#348000).
13792
13793 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13794
13795         * docs/pwg/intro-basics.xml:
13796           Fix wrong links (#347927).
13797
13798 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13799
13800         * gst/gstregistry.h:
13801         * gst/gstregistryxml.c: (load_feature),
13802         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13803         * win32/common/config.h:
13804           make --disable-index work (#342564)
13805
13806 2006-07-18  Wim Taymans  <wim@fluendo.com>
13807
13808         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13809
13810         * gst/Makefile.am:
13811         * gst/gsttrace.h:
13812         The attached patch adds two missing defines to gsttrace.h when tracing
13813         is disabled.  It also corrects one existing define.
13814         Fixes #347756.
13815
13816 2006-07-17  Wim Taymans  <wim@fluendo.com>
13817
13818         * docs/gst/gstreamer-sections.txt:
13819         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13820         * gst/gst.h:
13821         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13822         Add two functions to check and change the SIGSEGV behaviour
13823         when loading plugins.
13824         Don't mess with the SIGSEGV handler when we were told not to.
13825         Fixes #347794.
13826         API: gst_segtrap_is_enabled
13827         API: gst_segtrap_set_enabled
13828
13829 2006-07-14  Wim Taymans  <wim@fluendo.com>
13830
13831         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13832         * tests/check/elements/filesrc.c: (GST_START_TEST):
13833         Revert fix for regression in #347408 after release.
13834
13835 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13836
13837         Patch by: Antoine Tremblay <hexa00 at gmail com>
13838
13839         * gst/gstutils.c: (gst_element_unlink):
13840           Free iterator when done (#347311).
13841
13842         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13843           And add a test case for this.
13844
13845 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13846
13847         * configure.ac:
13848         Bump nano back to CVS
13849
13850 === release 0.10.9 ===
13851
13852 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13853
13854         * configure.ac:
13855           releasing 0.10.9, "On the road again"
13856
13857 2006-07-13  Wim Taymans  <wim@fluendo.com>
13858
13859         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13860         * tests/check/elements/filesrc.c: (GST_START_TEST):
13861         Revert pull-0 fix for release. Disable check. Fixes #347408.
13862
13863 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13864
13865         * libs/gst/dataprotocol/dataprotocol.c:
13866         (gst_dp_event_from_packet_1_0):
13867           Fixes #347337: failure to deserialize event packets with
13868           empty payload (only event type)
13869
13870 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13871
13872         * gst/Makefile.am:
13873           do not install a .c file in the header directory
13874
13875 2006-07-13  Edward Hervey  <edward@fluendo.com>
13876
13877         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13878         GhostPad no longer implicitely use the padtemplates of the targets.
13879         Fixes #347384
13880
13881 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13882
13883         * gst/gstvalue.c: (gst_value_compare_list),
13884         (gst_value_compare_array), (_gst_value_initialize):
13885         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13886         Make GstValueArray comparison be order dependent as designed.
13887         Add checks for value lists and value array comparisons.
13888         Fixes #347221
13889
13890 2006-07-11  Edward Hervey  <edward@fluendo.com>
13891
13892         * gst/gstbin.c: (activate_pads),
13893         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13894         (gst_bin_change_state_func):
13895         (de)activate src pads before calling state_change on the childs.
13896         This is to avoid the case where a src ghostpad is blocked (holding the
13897         stream lock), which would block the deactivation of the ghostpad's
13898         target pad.
13899         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13900         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13901         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13902         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13903         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13904         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13905         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13906         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13907         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13908         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13909         (gst_ghost_pad_class_init),
13910         (gst_ghost_pad_internal_do_activate_push),
13911         (gst_ghost_pad_internal_do_activate_pull),
13912         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13913         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13914         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13915         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13916         GhostPads now create their internal GstProxyPad at creation (and not
13917         when they're linked, as it was being done previously).
13918         The internal and target pads are linked straight away.
13919         The data will also travel through the other pad in order to make
13920         pad blocking and probes non-hackish (the probe/block now really happens
13921         on the GhostPad and not on the target).
13922         * gst/gstpad.c: (gst_pad_set_blocked_async),
13923         (gst_pad_link_prepare), (gst_pad_push_event):
13924         Remove previous ghostpad cruft.
13925         * gst/gstutils.c: (gst_pad_add_data_probe),
13926         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13927         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13928         (gst_pad_remove_buffer_probe):
13929         Remove previous ghost pad cruft.
13930         Added more detailed debug statements.
13931         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13932         Fix the testsuite for refcounting changes.
13933         The comments about who has references were correct, but the refcount
13934         being checked wasn't the same (!?!).
13935
13936         Fixes #341029
13937
13938 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13939
13940         * docs/gst/gstreamer-sections.txt:
13941         * gst/gstconfig.h.in:
13942         More docs for configuration options, add docs to gtk-doc.
13943
13944 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13945
13946         * gst/Makefile.am:
13947         * gst/gstconfig.h.in:
13948         * win32/common/config.h:
13949         Fix build when disabling tracing (fixes #344016). Also start to document
13950         the defines that disable the sub-systems.
13951
13952 2006-07-10  Edward Hervey  <edward@fluendo.com>
13953
13954         * gst/gst.c: (ensure_current_registry_forking):
13955         let's make valgrind happy...
13956
13957 2006-07-09  Wim Taymans  <wim@fluendo.com>
13958
13959         * gst/gstelement.c: (activate_pads),
13960         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13961         Better pad activation code: Reset the collect value too on resync.
13962         Add some comments.
13963
13964 2006-07-09  Wim Taymans  <wim@fluendo.com>
13965
13966         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13967         (gst_pad_activate_push):
13968         Use some more macros where it makes sense.
13969         Allow pad mode switching instead of asserting. When a pad
13970         is activated in one mode and we activate it in another, 
13971         deactivate it first before activating it in a different mode.
13972         Fixes #329198.
13973
13974 2006-07-08  Andy Wingo  <wingo@pobox.com>
13975
13976         * tools/gst-launch.c (main): Handle err == NULL.
13977
13978         * gst/gst.c (init_post, ensure_current_registry)
13979         (ensure_current_registry_forking)
13980         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13981         factoring out the registry scanning into separate functions. Don't
13982         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13983         Better environment var name/interface suggestions accepted.
13984
13985 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13986
13987         * gst/gstobject.c: (gst_object_set_name_default),
13988         (gst_object_set_name):
13989           Random micro-optimisation: don't use a hash table
13990           with strings as keys and the usual strdup/strcmp
13991           involved, but rather just use the GQuark of the
13992           type name as key, since it needs to be looked up
13993           anyway to get the type name string.
13994
13995         * tests/check/gst/gstobject.c: (GST_START_TEST):
13996           Fix various leaks.
13997
13998 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13999
14000         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14001         (gst_bin_iterate_all_by_interface):
14002           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14003           GTypes are gulongs and thus the top 4 bytes might be cut
14004           off on some platforms when doing GPOINTER_TO_INT, leading
14005           to invalid GTypes and bad things happening (see RH bug #179654).
14006           Also add a check to make sure the type passed in is really
14007           an interface type.
14008
14009 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14010
14011         * .cvsignore:
14012           Ignore more.
14013
14014 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14015
14016         * Makefile.am:
14017         * configure.ac:
14018         * gst-element-check.m4:
14019         * gst-element-check.m4.in:
14020           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14021           instead of the unversioned gst-inspect (#324176, #168659).
14022
14023 2006-07-06  Wim Taymans  <wim@fluendo.com>
14024
14025         * gst/gstmessage.h:
14026         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14027         warnings.
14028
14029 2006-07-06  Wim Taymans  <wim@fluendo.com>
14030
14031         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14032         (gst_base_src_wait), (gst_base_src_update_length),
14033         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14034         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14035         (gst_base_src_loop), (gst_base_src_start),
14036         (gst_base_src_activate_pull):
14037         Update docs.
14038         blocksize == 0 now means the default blocksize when working in push
14039         based mode.
14040         Remove some pointless asserts in _wait function.
14041         Fix offset/length calculations and EOS handling. We can now pull 0
14042         bytes as well, which is allowed.
14043         use _check_get_range() to decide if we can operate in _pull based
14044         mode.
14045         Fix refcounting leak when check_get_range function was not 
14046         implemented.
14047         API GstBaseSrc::blocksize range can be 0 too now (default)
14048
14049         * tests/check/elements/filesrc.c: (GST_START_TEST),
14050         (filesrc_suite):
14051         Added check to test _get_range() behaviour.
14052
14053 2006-07-06  Wim Taymans  <wim@fluendo.com>
14054
14055         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14056         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14057         (gst_pad_pull_range):
14058         * gst/gstpad.h:
14059         Lots of comments and docs added to the pad functions.
14060         Flesh out the expected behaviour of the get_range() functions.
14061
14062 2006-07-06  Wim Taymans  <wim@fluendo.com>
14063
14064         * gst/gstbus.h:
14065         * gst/gstclock.h:
14066         * gst/gstevent.h:
14067         * gst/gstiterator.h:
14068         * gst/gstpad.h:
14069         * gst/gstplugin.h:
14070         * gst/gsttask.h:
14071         Remove comma at end of enumerator list. 
14072
14073 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14074
14075         * win32/common/libgstbase.def:
14076         * win32/common/libgstdataprotocol.def:
14077         * win32/common/libsgtreamer.def:
14078         Add new exported functions.
14079
14080 2006-07-05  Wim Taymans  <wim@fluendo.com>
14081
14082         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14083         Add some more docs here and there.
14084
14085 2006-07-05  Wim Taymans  <wim@fluendo.com>
14086
14087         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14088         (gst_base_sink_loop), (gst_base_sink_get_position):
14089         When operating in pull mode update the offset so that we
14090         read sequentially.
14091
14092 2006-07-05  Wim Taymans  <wim@fluendo.com>
14093
14094         * gst/gstregistryxml.c: (read_string):
14095         Avoid strdup. (will happen in libxml, but hey!)
14096
14097         * gst/gsturi.c:
14098         Add some more docs.
14099
14100 2006-07-05  Wim Taymans  <wim@fluendo.com>
14101
14102         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14103         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14104         (gst_buffer_suite):
14105         No point in checking if the size of the subbuffer > 0, the
14106         code handles it correclty as demonstrated by unit test.
14107         Also add a unit test for the zero sized _new_and_alloc and
14108         _copy. Fixes #346663.
14109
14110 2006-07-05  Wim Taymans  <wim@fluendo.com>
14111
14112         * libs/gst/base/gstbasetransform.c:
14113         (gst_base_transform_prepare_output_buffer),
14114         (gst_base_transform_buffer_alloc),
14115         (gst_base_transform_handle_buffer):
14116         Make sure the buffer we pass to transform_ip has a refcount of
14117         1 and thus is writable. Fixes #343196
14118
14119 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14120
14121         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14122         (gst_file_src_init), (gst_file_src_set_property),
14123         (gst_file_src_get_property), (gst_file_src_map_region):
14124         * plugins/elements/gstfilesrc.h:
14125         Add "sequential" property, off by default, to use madvise and hint
14126         to the kernel that sequential access is desired.
14127         Touch all retrieved pages by default to ensure they are pulled
14128         into memory. (Closes #345720)
14129
14130 2006-07-03  Wim Taymans  <wim@fluendo.com>
14131
14132         * docs/design/part-block.txt:
14133         * docs/design/part-dynamic.txt:
14134         Small docs updates.
14135
14136 2006-07-03  Wim Taymans  <wim@fluendo.com>
14137
14138         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14139         (gst_caps_unref), (gst_static_caps_get),
14140         (gst_caps_append_structure):
14141         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14142         Use GSlice when the glib we build against is >= 2.10
14143
14144 2006-07-03  Wim Taymans  <wim@fluendo.com>
14145
14146         * gst/gstelement.c: (gst_element_pads_activate):
14147         Small cleanup in pad activation code.
14148
14149 2006-07-03  Wim Taymans  <wim@fluendo.com>
14150
14151         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14152
14153         * gst/gst-i18n-app.h:
14154         * gst/gst-i18n-lib.h:
14155         * tools/gst-inspect.c: (print_signal_info):
14156         The attached patch will make the inclusion of gettext.h unconditional in
14157         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14158         libintl.h in tools/gst-inspect.c.
14159         This allows use of --disable-nls again and fixes #344642.
14160
14161 2006-07-03  Edward Hervey  <edward@fluendo.com>
14162
14163         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14164         Implement pad blocking on events according to part-block.txt.
14165         More comments on behaviour.
14166         * tests/check/gst/gstevent.c: (test_event):
14167         Send event to peer pad of blocked pad (else it will block).
14168
14169 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14170
14171         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14172         (gst_check_run_suite):
14173           if we get the wrong message, give us the types as string
14174         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14175           Fix a translatable
14176         * tests/check/elements/filesrc.c: (GST_START_TEST):
14177           add a test for trying to open a non-existing file
14178
14179 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14180
14181         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14182           add a test for adding self
14183
14184 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14185
14186         * libs/gst/check/gstcheck.h:
14187           add some assert_ as alias for fail_unless_*
14188         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14189           increase test coverage
14190
14191 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * Makefile.am:
14194           include lcov.mak for lcov coverage generation
14195         * tools/Makefile.am:
14196           add to CLEANFILES
14197
14198 2006-07-02  Edward Hervey  <edward@fluendo.com>
14199
14200         * tests/check/elements/.cvsignore:
14201         moaping
14202
14203 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14204
14205         * configure.ac:
14206           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14207         * tests/check/Makefile.am:
14208           clean up gcov files
14209
14210 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14211
14212         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14213           remove gst_caps_simplify; it was not declared and not used
14214           and deprecated in 0.8
14215
14216 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * docs/faq/gst-uninstalled:
14219           don't put empty paths on PYTHONPATH
14220         * docs/gst/gstreamer-sections.txt:
14221           remove some symbols that are not there
14222
14223 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14224
14225         * gst/gstcaps.c: (gst_caps_compare_structures):
14226           whitespace fixes
14227         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14228         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14229           add more tests
14230
14231 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14232
14233         * libs/gst/dataprotocol/Makefile.am:
14234           build dataprotocol test by linking to the lib, instead of
14235           compiling the source, so we get coverage
14236         * tests/check/Makefile.am:
14237         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14238         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14239           add a test for filesrc
14240
14241 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14242
14243         * tests/check/gst/gststructure.c: (GST_START_TEST),
14244         (gst_structure_suite):
14245           Push coverage from 59.04% to 70.00%
14246
14247 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14248
14249         * tests/check/Makefile.am:
14250           gst-inspect every element; this makes sure that we also get
14251           coverage on element's get/set functions
14252
14253 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14254
14255         * configure.ac:
14256           set CFLAGS and friends to -O0 if gcov is being used
14257           add GCOV LIBS
14258         * gst/Makefile.am:
14259         * libs/gst/base/Makefile.am:
14260         * libs/gst/check/Makefile.am:
14261         * libs/gst/controller/Makefile.am:
14262         * libs/gst/dataprotocol/Makefile.am:
14263         * libs/gst/net/Makefile.am:
14264         * plugins/elements/Makefile.am:
14265         * plugins/indexers/Makefile.am:
14266           add makefile rules to generate gcov data and clean up
14267         * tests/check/Makefile.am:
14268           add a coverage target that generates an html overview
14269           of coverage data
14270
14271 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14272
14273         * tests/check/elements/fakesink.c:
14274         * tests/check/elements/fakesrc.c:
14275         * tests/check/elements/fdsrc.c:
14276         * tests/check/elements/identity.c:
14277         * tests/check/generic/sinks.c: (gst_sinks_suite):
14278         * tests/check/generic/states.c:
14279         * tests/check/gst/gst.c:
14280         * tests/check/gst/gstabi.c:
14281         * tests/check/gst/gstbin.c:
14282         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14283         * tests/check/gst/gstbus.c: (gst_bus_suite):
14284         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14285         * tests/check/gst/gstelement.c:
14286         * tests/check/gst/gstevent.c: (gst_event_suite):
14287         * tests/check/gst/gstghostpad.c:
14288         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14289         * tests/check/gst/gstmessage.c: (gst_message_suite):
14290         * tests/check/gst/gstminiobject.c:
14291         * tests/check/gst/gstobject.c:
14292         * tests/check/gst/gstpad.c:
14293         * tests/check/gst/gstpipeline.c:
14294         * tests/check/gst/gstplugin.c:
14295         * tests/check/gst/gstquery.c: (gst_query_suite):
14296         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14297         * tests/check/gst/gststructure.c:
14298         * tests/check/gst/gstsystemclock.c:
14299         * tests/check/gst/gsttag.c:
14300         * tests/check/gst/gsttask.c: (gst_task_suite):
14301         * tests/check/gst/gstutils.c:
14302         * tests/check/gst/gstvalue.c:
14303         * tests/check/libs/adapter.c:
14304         * tests/check/libs/basesrc.c:
14305         * tests/check/libs/collectpads.c:
14306         * tests/check/libs/controller.c:
14307         * tests/check/libs/gdp.c: (gst_dp_suite):
14308         * tests/check/libs/gstnetclientclock.c:
14309         * tests/check/libs/gstnettimeprovider.c:
14310         * tests/check/libs/libsabi.c: (libsabi_suite):
14311         * tests/check/libs/typefindhelper.c:
14312         * tests/check/pipelines/cleanup.c:
14313         * tests/check/pipelines/parse-launch.c:
14314         * tests/check/pipelines/simple-launch-lines.c:
14315         * tests/check/pipelines/stress.c: (stress_suite):
14316           use the new macro
14317
14318 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14319
14320         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14321         * libs/gst/check/gstcheck.h:
14322           create a macro and function so that the simple unit test
14323           case can be just one macro to create main()
14324
14325 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14326
14327         * gst/gstbin.c: (gst_bin_restore_thyself):
14328         * gst/gstxml.c: (gst_xml_make_element):
14329           Fix deserialisation from XML. Set parent manually
14330           instead of using gst_bin_add(), since gst_bin_add()
14331           will unlink all pads of the element being added.
14332           Fixes #341667.
14333
14334 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14335
14336         Patch by: Peter Kjellerstedt <pkj at axis com>
14337
14338         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14339           Fix missing g_strdup() and double free when using the
14340           --gst-plugin-load command line option (#346097).
14341
14342 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14343
14344         * gst/gstinfo.c:
14345           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14346
14347         * libs/gst/net/gstnetclientclock.c:
14348         * libs/gst/net/gstnettimeprovider.c:
14349           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14350
14351 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14352
14353         * docs/manual/advanced-dataaccess.xml:
14354           Fix buffer probe example compilation in
14355           ADM (#345708).
14356         
14357 2006-06-22  Edward Hervey  <edward@fluendo.com>
14358
14359         * gst/gstelement.c: (gst_element_pads_activate):
14360         We need to deactivate src pads first and then sink pads.
14361         The reason is the src pads might be blocking while holding the streaming
14362         lock, so we need to deactivate them first so that deactivating the sink
14363         pads doesn't block (since it will require the streaming lock).
14364
14365 2006-06-22  Wim Taymans  <wim@fluendo.com>
14366
14367         * libs/gst/base/gstbasetransform.c:
14368         (gst_base_transform_buffer_alloc):
14369         Forgot to remove two unneeded unrefs.
14370         Simplify a check _is_equal allready checks the obvious case.
14371
14372 2006-06-22  Wim Taymans  <wim@fluendo.com>
14373
14374         * docs/design/part-block.txt:
14375         Some docs about what pad_block should do.
14376
14377 2006-06-22  Wim Taymans  <wim@fluendo.com>
14378
14379         * gst/gstcaps.c: (gst_caps_replace):
14380         Fix crasher when passed NULL. Doc clarification.
14381         Optimize for the trivial case.
14382
14383         * gst/gstpipeline.c: (gst_pipeline_change_state):
14384         Small cleanups.
14385
14386         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14387         Small documentation cleanup.
14388
14389         * libs/gst/base/gstbasetransform.c:
14390         (gst_base_transform_buffer_alloc):
14391         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14392         is what we need and it avoids a whole lot of redundant 
14393         refcount operations.
14394
14395 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14396
14397         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14398
14399         * docs/manual/advanced-dataaccess.xml:
14400           Fix 'Embedding static elements' section to use
14401           GST_PLUGIN_DEFINE_STATIC (#345607).
14402
14403 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14404
14405         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14406           Attempt to 'fix' spuriously failing test case: it seems like the
14407           timeout of half a second is simply too small when the system is under
14408           load otherwise, and the timeout doesn't really seem to serve any
14409           particular purpose here. Give the pipeline a few seconds to preroll
14410           first, and then give it another half a second to go from PAUSED to
14411           PLAYING and marshal the message into the main thread.
14412
14413 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14414
14415         * tools/gst-feedback-m.m:
14416           Don't only use unversioned tools, try versioned tools as well
14417           (#345086).
14418
14419 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14420
14421         * gst/gstbus.c: (gst_bus_class_init):
14422           Fix some typos, make docs more explicit.
14423
14424 2006-06-20  Wim Taymans  <wim@fluendo.com>
14425
14426         * tests/check/gst/gstghostpad.c: (block_callback),
14427         (GST_START_TEST), (gst_ghost_pad_suite):
14428         Added some more ghostpad tests, mainly blocking
14429         and probes.
14430
14431 2006-06-16  Wim Taymans  <wim@fluendo.com>
14432
14433         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14434         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14435         (gst_file_sink_event), (gst_file_sink_render):
14436         * plugins/elements/gstfilesink.h:
14437         Check if we can seek in the file instead of assuming
14438         we always can. Post an error when we are asked to seek in a
14439         non-seekable file (like a fifo). Fixes #343312.
14440         Some cleanups.
14441
14442 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14443
14444         * tools/gst-launch.1.in:
14445           Un-garble (fourcc) bit in filtered caps section.
14446
14447 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14448
14449         * docs/manual/advanced-autoplugging.xml:
14450         * docs/manual/basics-helloworld.xml:
14451         * docs/manual/highlevel-components.xml:
14452           Don't leak bus reference in sample code.
14453
14454 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14455
14456         * autogen.sh:
14457           Add default for new --enable-plugin-docs switch.
14458
14459         * configure.ac:
14460           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14461           Fixes #344039.
14462
14463         * docs/Makefile.am:
14464           Use new ENABLE_PLUGIN_DOCS conditional.
14465
14466 2006-06-14  Wim Taymans  <wim@fluendo.com>
14467
14468         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14469         Make it clear with a FIXME and a real define what the #if 0
14470         previously disabled.
14471
14472 2006-06-14  Wim Taymans  <wim@fluendo.com>
14473
14474         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14475         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14476         * libs/gst/base/gstbasetransform.c:
14477         (gst_base_transform_sink_eventfunc):
14478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14479         Don't randomly and silently reset a segment when the format 
14480         changes as this is a bug somewhere upstream. Fixes #330379.
14481
14482 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14483
14484         Patch by: Wouter Paesen  <wouter at kangaroot net>
14485
14486         * libs/gst/controller/gstcontroller.c:
14487         (gst_controlled_property_new):
14488           Fix controlling of float properties (#344849).
14489
14490         * tests/check/libs/controller.c:
14491         (gst_test_mono_source_get_property),
14492         (gst_test_mono_source_set_property),
14493         (gst_test_mono_source_class_init), (GST_START_TEST):
14494           While we're at it, add some float stuff to unit test.
14495
14496 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14497
14498         * docs/README:
14499         * docs/images/gdp-header.svg:
14500           add a gdp image
14501         * docs/libs/Makefile.am:
14502         * docs/libs/gdp-header.png:
14503         * libs/gst/dataprotocol/dataprotocol.c:
14504           add it to the API docs
14505         * docs/manual/intro-motivation.xml:
14506           fix typo
14507
14508 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14509
14510         * gst/gst.c: (scan_and_update_registry), (init_post):
14511           If the fork()'ed child process can't write the updated registry cache
14512           file to disk for some reason, make it exit with a failure exit code,
14513           so that the parent can then re-scan the plugins itself and update the
14514           registry structures in memory and work with that (rather than failing
14515           when creating elements because seemingly no plugins are available).
14516           Refactor registry scanning code into separate function for this and
14517           also separate fork() and non-fork() code paths. Fixes #344748.
14518
14519 2006-06-13  Wim Taymans  <wim@fluendo.com>
14520
14521         * docs/manual/advanced-dataaccess.xml:
14522         Fix wrong PluginDesc. Fixes #344755.
14523
14524 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14525
14526         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14527           Fix silly bug that prevented us from creating
14528           ~/.gstreamer-0.10 and writing the registry in one
14529           go (the first call to g_mkstemp() would overwrite the
14530           placeholder in the template string, so the second call
14531           to g_mkstemp() after creating the missing directory
14532           would then error out with 'invalid argument').
14533
14534 2006-06-13  Edward Hervey  <edward@fluendo.com>
14535
14536         * gst/gst.c: (init_post):
14537         Free string.
14538
14539 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14540
14541         * gst/glib-compat-private.h:
14542         * gst/glib-compat.c:
14543         * gst/glib-compat.h:
14544         * gst/gstvalue.c: (gst_value_serialize_flags):
14545           remove GLib 2.6 compatibility code
14546
14547 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14548
14549         * gst/parse/Makefile.am:
14550           Fix build with 'make -j N' even more (#340016).
14551
14552 2006-06-12  Wim Taymans  <wim@fluendo.com>
14553
14554         * docs/gst/gstreamer-sections.txt:
14555         Fix docs.
14556
14557 2006-06-12  Wim Taymans  <wim@fluendo.com>
14558
14559         * gst/gstsegment.c: (gst_segment_set_duration),
14560         (gst_segment_set_last_stop), (gst_segment_set_seek),
14561         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14562         (gst_segment_to_running_time), (gst_segment_clip):
14563         Use G_UNLIKELY to help the compiler a bit.
14564
14565 2006-06-12  Wim Taymans  <wim@fluendo.com>
14566
14567         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14568
14569         * gst/gstevent.c: (gst_event_get_type):
14570         * gst/gstmessage.c:
14571         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14572         (gst_pad_push):
14573         constify quark registration strings. Fixes #344115
14574         Avoid unneeded type checking is _pad_push() by internally
14575         calling gst_pad_chain_unchecked().
14576
14577 2006-06-12  Wim Taymans  <wim@fluendo.com>
14578
14579         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14580         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14581         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14582         (gst_buffer_is_span_fast), (gst_buffer_span):
14583         Init _type for consistency.
14584         Use _FLAGS macro to avoid type check.
14585         Avoid unneeded type checks in subbufer code.
14586
14587 2006-06-12  Wim Taymans  <wim@fluendo.com>
14588
14589         * gst/gst.c: (gst_debug_help):
14590         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14591         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14592         (gst_plugin_feature_list_free):
14593         * gst/gstregistry.c: (gst_registry_add_plugin),
14594         (gst_registry_add_feature), (gst_registry_plugin_filter),
14595         (gst_registry_feature_filter), (gst_registry_find_plugin),
14596         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14597         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14598         * gst/gstregistryxml.c: (load_feature),
14599         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14600         * gst/gstminiobject.c: (gst_mini_object_unref),
14601         (gst_mini_object_replace), (gst_value_mini_object_free),
14602         (gst_value_mini_object_copy):
14603         Use _CAST macros to avoid unneeded type checking.
14604         Added some more G_UNLIKELY.
14605
14606 2006-06-12  Wim Taymans  <wim@fluendo.com>
14607
14608         * gst/gstbuffer.h:
14609         Avoid unneeded type checking.
14610         API: GST_BUFFER_IS_DISCONT
14611
14612         * gst/gstminiobject.h:
14613         Avoid type check in flag accessor.
14614
14615         * gst/gstelementfactory.h:
14616         * gst/gstplugin.h:
14617         * gst/gstpluginfeature.h:
14618         Add _CAST macros.
14619         API: GST_ELEMENT_FACTORY_CAST
14620         API: GST_PLUGIN_CAST
14621         API: GST_PLUGIN_FEATURE_CAST
14622
14623 2006-06-12  Wim Taymans  <wim@fluendo.com>
14624
14625         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14626         (gst_object_unref):
14627         Add G_UNLIKELY in type registration.
14628         Avoid type check in _ref/_unref since that is also
14629         done in glib.
14630
14631 2006-06-12  Wim Taymans  <wim@fluendo.com>
14632
14633         * gst/gsterror.c: (gst_g_error_get_type):
14634         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14635         (gst_static_pad_template_get_type):
14636         * gst/gsttaglist.c: (gst_tag_list_get_type):
14637         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14638         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14639         * gst/gsturi.c: (gst_uri_handler_get_type):
14640         * gst/gstvalue.c: (gst_date_get_type):
14641         * gst/gstxml.c: (gst_xml_get_type):
14642         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14643         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14644         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14645         Add G_UNLIKELY in type registration.
14646
14647 2006-06-12  Wim Taymans  <wim@fluendo.com>
14648
14649         * tools/gst-inspect.c: (print_signal_info):
14650         Properly print enum values.
14651
14652 2006-06-12  Wim Taymans  <wim@fluendo.com>
14653
14654         * gst/gstinfo.c: (gst_debug_set_active),
14655         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14656         * gst/gstinfo.h:
14657         Add some G_[UN]LIKELY.
14658         Maintain __gst_debug_min to avoid formatting the arguments of
14659         debug messages that will be dropped anyway to avoid a lot of 
14660         overhead from the debugging system.
14661
14662 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14663
14664         * po/POTFILES.in:
14665         * po/POTFILES.skip:
14666           add missing files containing translatable strings, tell intltool about
14667           one exception
14668
14669 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14670
14671         * tests/check/libs/.cvsignore:
14672         add test-binary to ignore list
14673
14674 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14675
14676         * docs/libs/gstreamer-libs-docs.sgml:
14677         reorder (put dp into a chapter) and indent
14678
14679 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14680
14681         * configure.ac:
14682           back to HEAD
14683
14684 === release 0.10.8 ===
14685
14686 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14687
14688         * configure.ac:
14689           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14690
14691 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14692
14693         * gst/gst.c: (init_post):
14694           move pid declaration to declaration block
14695
14696 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * gst/gst.c: (init_post):
14699           use _exit() instead of exit() in our forked child; this ensures
14700           that none of the registered exit handlers from whatever is using
14701           GStreamer get executed.  This fixes gnome-mixer-applet failing
14702           to load, because ORBit would shut down.
14703           Spotted by: Edward Hervey  <edward@fluendo.com>
14704           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14705           Fixes #344474
14706
14707 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14708
14709         * configure.ac:
14710           back to TRUNK
14711
14712 === release 0.10.7 ===
14713
14714 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14715
14716         * configure.ac:
14717           releasing 0.10.7, "Soepeke, ik zie ou"
14718
14719 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14720
14721         * configure.ac:
14722         * po/af.po:
14723         * po/az.po:
14724         * po/bg.po:
14725         * po/ca.po:
14726         * po/cs.po:
14727         * po/de.po:
14728         * po/en_GB.po:
14729         * po/fr.po:
14730         * po/it.po:
14731         * po/nb.po:
14732         * po/nl.po:
14733         * po/ru.po:
14734         * po/sq.po:
14735         * po/sr.po:
14736         * po/sv.po:
14737         * po/tr.po:
14738         * po/uk.po:
14739         * po/vi.po:
14740         * po/zh_CN.po:
14741         * po/zh_TW.po:
14742         * win32/common/config.h:
14743           0.10.6.2 prerelease
14744
14745 2006-06-07  Wim Taymans  <wim@fluendo.com>
14746
14747         * gst/gstindex.c: (gst_index_gtype_resolver):
14748         * tools/gst-xmlinspect.c: (print_plugin_info):
14749         Fix leak spotted by coverity checker. Fixes #343827
14750         Fix another other leak found by paolo borelli.
14751
14752 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14753
14754         * libs/gst/dataprotocol/dataprotocol.c:
14755         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14756         (gst_dp_version_get_type), (gst_dp_init),
14757         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14758         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14759         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14760         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14761         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14762         (gst_dp_packetizer_free):
14763         * libs/gst/dataprotocol/dataprotocol.h:
14764           API: add a GstDPPacketizer object, and create/free functions
14765           API: add GstDPVersion enum
14766           Add 1.0 event function that uses the string serialization
14767           Serialize more useful buffer flags
14768           Fixes #343988
14769
14770 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14771
14772         * tests/check/Makefile.am:
14773         * tests/check/gst/gstabi.c:
14774         * tests/check/gst/struct_ppc64.h:
14775         * tests/check/libs/libsabi.c:
14776         * tests/check/libs/struct_ppc64.h:
14777           add ppc64 structure sizes
14778
14779 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * tests/check/Makefile.am:
14782         * tests/check/gst/gstabi.c:
14783         * tests/check/gst/struct_x86_64.h:
14784         * tests/check/libs/libsabi.c:
14785         * tests/check/libs/struct_x86_64.h:
14786           generate and add structure size lists for x86_64
14787
14788 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14789
14790         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14791         * libs/gst/check/gstcheck.h:
14792           factor out the method from tests that checks size of structures,
14793           and add code to generate the header containing these sizes
14794         * tests/check/gst/gstabi.c: (GST_START_TEST):
14795         * tests/check/gst/struct_i386.h:
14796         * tests/check/libs/libsabi.c: (GST_START_TEST):
14797         * tests/check/libs/struct_i386.h:
14798           use it
14799
14800 2006-06-06  Michael Smith  <msmith@fluendo.com>
14801
14802         * gst/gstsegment.h:
14803           Don't use c++-style comments, fixes #343929
14804
14805 2006-06-05  Edward Hervey  <edward@fluendo.com>
14806
14807         * gst/gst.c:
14808         plugin_paths is not used if we build without registry support.
14809
14810         * gst/gstsegment.c: (gst_segment_copy): 
14811         _copy() was always returning NULL...
14812
14813 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14814
14815         * libs/gst/dataprotocol/dataprotocol.c:
14816         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14817         (gst_dp_packet_from_event):
14818           factor out CRC code
14819
14820 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14821
14822         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14823           make sure we unset caps
14824
14825 2006-06-02  Michael Smith  <msmith@fluendo.com>
14826
14827         * libs/gst/check/gstcheck.c: (gst_check_init),
14828         (gst_check_chain_func):
14829         * libs/gst/check/gstcheck.h:
14830           Add a cond/mutex to the check support lib, signal this whenever we
14831           add to the buffers list. This will allow tests to not busy-wait on
14832           the buffer-list.
14833
14834 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14835
14836         * libs/gst/dataprotocol/dataprotocol.c:
14837         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14838         (gst_dp_packet_from_event):
14839           factor out some common header init code
14840
14841 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14842
14843         * docs/libs/gstreamer-libs-sections.txt:
14844         * docs/libs/tmpl/gstdataprotocol.sgml:
14845         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14846         * libs/gst/dataprotocol/dataprotocol.h:
14847           API: make gst_dp_crc() public
14848
14849 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14850
14851         * plugins/indexers/gstindexers.c: (plugin_init):
14852         conditionally register fileindexer (fixes #343598)
14853
14854 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14855
14856         * gst/gsttagsetter.h:
14857         Can't cast ifaces to a class
14858
14859         * libs/gst/net/gstnetclientclock.h:
14860         * libs/gst/net/gstnettimeprovider.h:
14861         * plugins/elements/gstfakesink.h:
14862         * plugins/elements/gstfakesrc.h:
14863         * plugins/elements/gstfdsink.h:
14864         * plugins/elements/gstfdsrc.h:
14865         * plugins/elements/gstfilesink.h:
14866         * plugins/elements/gstfilesrc.h:
14867         * plugins/elements/gstidentity.h:
14868         * plugins/elements/gstqueue.h:
14869         * plugins/elements/gsttee.h:
14870         * plugins/indexers/gstfileindex.c:
14871         * plugins/indexers/gstmemindex.c:
14872         * tests/old/examples/plugins/example.h:
14873         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14874
14875 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14876
14877         * libs/gst/dataprotocol/dataprotocol.c:
14878         (gst_dp_header_from_buffer):
14879           make sure we zero the whole ABI-compatible area
14880
14881 2006-06-01  Wim Taymans  <wim@fluendo.com>
14882
14883         Patch by: Alessandro Decina <alessandro at nnva dot org>
14884
14885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14886         Make sure the EOS flag is cleared from pads after a flush
14887         or stop. Fixes #343538.
14888
14889         * tests/check/libs/collectpads.c: (GST_START_TEST),
14890         (gst_collect_pads_suite):
14891         Added test for collectpads reusage after EOS.
14892
14893 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14894
14895         * gst/gst.c:
14896          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14897         * win32/common/libgstbase.def:
14898          export gst_collect_pads_set_flushing
14899         * win32/common/libgstreamer.def:
14900          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14901          gst_value_fraction_multiply
14902         * win32/vs6/gst_inspect.dsp:
14903          add a link to intl.lib
14904
14905 2006-05-30  Wim Taymans  <wim@fluendo.com>
14906
14907         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14908         (gst_collect_pads_chain):
14909         Handle the case where a pad is removed from the collection
14910         that could cause the other pads to become collectable.
14911
14912 2006-05-30  Wim Taymans  <wim@fluendo.com>
14913
14914         * gst/gstelement.c:
14915         Clarify the use of _release_request_pad() and
14916         _get_request_pad() a bit better.
14917
14918         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14919         (gst_adapter_take_buffer):
14920         Fix some doc and comment typos.
14921
14922 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14923
14924         * docs/gst/gstreamer-sections.txt:
14925         * docs/libs/gstreamer-libs-sections.txt:
14926           add declared symbols
14927
14928 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14929
14930         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14931         Add debug that can be enabled using a #define at the top of the file,
14932         for dumping stats about how late/early we were when waking up from
14933         waiting on the clock.
14934
14935 2006-05-30  Wim Taymans  <wim@fluendo.com>
14936
14937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14938         When rebuilding the pad list, don't leak the previous list.
14939
14940 2006-05-30  Wim Taymans  <wim@fluendo.com>
14941
14942         Patch by: Lutz Mueller <lutz at topfrose dot de>
14943
14944         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14945         (gst_base_src_get_query_types), (gst_base_src_update_length):
14946         Publish supported query types.
14947         Update last_stop field in get_range mode so the position
14948         query works. Fixes #342321.
14949
14950 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14951
14952         * docs/gst/gstreamer-sections.txt:
14953         * gst/gsttaglist.c: (_gst_tag_initialize):
14954         * gst/gsttaglist.h:
14955           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14956
14957 2006-05-30  Wim Taymans  <wim@fluendo.com>
14958
14959         Patch by: Alessandro Decina <alessandro at nnva dot org>
14960
14961         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14962         Unlock mutex when removing an unknown pad.
14963         Fixes #343334.
14964
14965         * tests/check/Makefile.am:
14966         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14967         (push_event), (setup), (teardown), (GST_START_TEST),
14968         (gst_collect_pads_suite), (main):
14969         Added collecpads check, disabled for now as check crashes for
14970         some reason.
14971
14972 2006-05-29  Wim Taymans  <wim@fluendo.com>
14973
14974         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14975         Don't leak pads lists.
14976
14977 2006-05-29  Wim Taymans  <wim@fluendo.com>
14978
14979         * docs/libs/gstreamer-libs-sections.txt:
14980         * libs/gst/base/gstcollectpads.c:
14981         (gst_collect_pads_set_flushing_unlocked),
14982         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14983         (gst_collect_pads_stop):
14984         * libs/gst/base/gstcollectpads.h:
14985         API: gst_collect_pads_set_flushing()
14986         Added api to set the pads to flushing, useful for seeking
14987         code in elements using collectpads.
14988         Clear segment when receiving a flush.
14989
14990 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14991
14992         * gst/gst.c: (add_path_func), (init_post):
14993           Don't scan registry paths passed via --gst-plugin-path immediately
14994           (will crash, because absolutely nothing is set up and no types are
14995           registered etc.); do this later in init_post(). Fixes #343057.
14996
14997 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14998
14999         * gst/gst.c: (init_post):
15000           if we have fork, fork while reading/rebuilding the registry
15001           so the parent doesn't take the hit of having all plugins loaded
15002           in memory.  Fixes #342777.
15003         * configure.ac:
15004           Check if we have fork()
15005         * win32/common/config.h.in:
15006           no fork() on win32
15007
15008 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15009
15010         * plugins/elements/gstelements.c:
15011         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15012         (gst_file_src_init), (gst_file_src_set_property),
15013         (gst_file_src_get_property), (gst_file_src_start):
15014         * plugins/elements/gstfilesrc.h:
15015           API: GstFileSrc::use-mmap
15016
15017         Add a use-mmap property to enable easier testing of all code paths.
15018         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15019         in the absence of gnomevfssrc. (Closes #340501)
15020
15021 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15022
15023         * tools/gst-inspect.c:
15024         Add missing include, removes warning of ngettext not being defined on
15025         some arches.
15026
15027 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15028
15029         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15030         Handle NULL input and output pointers silently as a failed conversion,
15031         rather than g_warnings.
15032
15033 2006-05-25  Wim Taymans  <wim@fluendo.com>
15034
15035         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15036         Initialize variable before using. Fixes #342820.
15037
15038 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15039
15040         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15041           Fix off-by-one bug that would only allow peeks of N-1 bytes
15042           from the start even if the buffer to typefind on contains
15043           in fact N bytes of data (makes vorbis typefinding from a
15044           vorbis identification header buffer work).
15045
15046         * tests/check/Makefile.am:
15047         * tests/check/libs/.cvsignore:
15048         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15049         (gst_typefindhelper_suite), (main), (foobar_typefind),
15050         (plugin_init):
15051           Add very basic unit test for gst_type_find_helper_for_buffer()
15052           that checks for the problem fixed above.
15053
15054 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15055
15056         * tools/gst-inspect.c: (print_interfaces),
15057         (print_element_properties_info), (print_element_list), (main):
15058           add more translatable strings
15059
15060 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15061
15062         Patch by: Julien Moutte  <julien at moutte net>
15063
15064         * docs/gst/gstreamer-sections.txt:
15065           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15066           
15067         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15068         (gst_fake_sink_preroll):
15069         * plugins/elements/gstfakesink.h:
15070           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15071
15072 2006-05-23  Wim Taymans  <wim@fluendo.com>
15073
15074         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15075         * gst/gstpad.h:
15076         Added _CUSTOM error and success GstFlowReturn that can be
15077         used be elements internally. 
15078         Added macro to check for SUCCESS flowreturns.
15079         API: GST_FLOW_CUSTOM_SUCCESS
15080         API: GST_FLOW_CUSTOM_ERROR
15081         API: GST_FLOW_IS_SUCCESS
15082
15083         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15084         Added check for GstFlowReturn sanity.
15085
15086 2006-05-23  Wim Taymans  <wim@fluendo.com>
15087
15088         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15089
15090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15091         (gst_collect_pads_event):
15092         clear/reset segment info in FLUSH_STOP.
15093         Fixes #336929.
15094
15095 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15096
15097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15098         (gst_collect_pads_check_collected):
15099         Flush queued buffer on _stop(), fixes playing again (#342454)
15100
15101 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15102
15103         * tests/check/gst/gststructure.c: (GST_START_TEST),
15104         (gst_structure_suite):
15105           add a test for a complete structure
15106
15107 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15108
15109         * docs/faq/developing.xml:
15110         * docs/faq/faq.xml:
15111         * docs/faq/troubleshooting.xml:
15112         * docs/faq/using.xml:
15113           Some minor FAQ updates that won't change the fact that
15114           our FAQ is badly structured, full of information hardly
15115           anyone new to GStreamer needs to know and lacking lots
15116           of information people constantly ask for.
15117           
15118 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15119
15120         * gst/gstpad.c: (gst_pad_set_caps):
15121           Short-circuit gst_pad_set_caps if setting the existing
15122           caps pointer again, and avoid printing debug and 
15123           reffing/unreffing the caps.
15124
15125         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15126           There's actually no need to set the caps before pushing -
15127           the acceptcaps method will handle it anyway.
15128
15129 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15130
15131         * docs/gst/gstreamer-sections.txt:
15132         * win32/common/libgstreamer.def:
15133         * gst/gstutils.c: (gst_element_seek_simple):
15134         * gst/gstutils.h:
15135           API: add gst_element_seek_simple() (#342238).
15136
15137 2006-05-18  Edward Hervey  <edward@fluendo.com>
15138
15139         * gst/gsttypefind.c: (gst_type_find_get_type):
15140         * gst/gsttypefind.h:
15141         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15142         registered for GstTypeFind pointers. This allows wrapping the structure
15143         in bindings (i.e. gst-python).
15144
15145 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15146
15147         * gst/gsttagsetter.c:
15148           Docs additions and fixes (see #339918).
15149
15150 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15151
15152         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15153         The caps intersection algorithm can produce multiple copies of the
15154         caps. Until that is fixed, we need to simplify the result to be
15155         sure whether the allowed caps are fixed or not.
15156
15157         * plugins/elements/gstqueue.c: (gst_queue_init),
15158         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15159         (gst_queue_push_one):
15160         Proxied buffer alloc should not set the caps on the source pad.
15161         When pushing buffers, we always accept the caps change that triggers.
15162         This prevents negotiation errors caused by caps changing mid-stream 
15163         and then being refused on our source pad (because upstream is now
15164         refusing those caps).
15165
15166 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15167
15168         * tests/examples/helloworld/helloworld.c: (main):
15169           Must plug audioconvert and audioresample between decoder
15170           and audio sink.
15171
15172 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15173
15174         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15175         (load_feature), (load_plugin):
15176         Allow empty strings for some of the plugin fields so we don't 
15177         drop valid plugin entries that were written out correctly
15178         (Fixes #341479)
15179
15180 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15181         
15182         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15183           Use g_remove and g_rename instead of remove and rename that don't 
15184           handle utf8 characters. rename was failing for users who had specific
15185           characters in their name then the registry was built at each 
15186           gstreamer init.
15187         * win32/vs6/gst_inspect.dsp:
15188         * win32/vs6/gst_launch.dsp:
15189         * win32/vs6/libgstbase.dsp:
15190         * win32/vs6/libgstcoreelements.dsp:
15191         * win32/vs6/libgstreamer.dsp:
15192           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15193           build of libgstreamer and clean unused libraries in projects link 
15194           settings.
15195
15196 2006-05-17  Edward Hervey  <edward@fluendo.com>
15197
15198         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15199         The queue is not responsible for pushing an EOS when receiving a fatal
15200         flow error. It's up to the real element driving the pipeline to do that.
15201
15202 2006-05-16  Edward Hervey  <edward@fluendo.com>
15203
15204         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15205         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15206         buffer returned a fatal error. It should just send an EOS and stop
15207         its task.
15208         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15209         when pushing buffers on the queue and will be able to handle the event.
15210
15211 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15212
15213         * docs/manual/basics-bins.xml:
15214         * docs/manual/basics-init.xml:
15215           Fix typos and minor errors in sample code (#341856).
15216
15217 2006-05-16  Wim Taymans  <wim@fluendo.com>
15218
15219         * docs/design/part-qos.txt:
15220         Fix indexes in formulas to make more sense.
15221
15222 2006-05-15  Wim Taymans  <wim@fluendo.com>
15223
15224         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15225         Don't report POSITION based on clock time if sync is
15226         disabled in a sink.
15227
15228 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15229
15230         * gst/gstobject.h:
15231           Add cast to make compiler happy - refcount variable was a gint
15232           in GstObject but is a guint in GObject and g_atomic_int_get()
15233           wants a gint *.
15234
15235 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15236
15237         * gst/parse/Makefile.am:
15238           chain commands using &&, which also makes parallel make work
15239
15240 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * docs/gst/gstreamer-sections.txt:
15243         * gst/gstevent.c:
15244         * gst/gstevent.h:
15245         * gst/gstmessage.h:
15246           Minor docs fixes.
15247
15248 === release 0.10.6 ===
15249
15250 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15251
15252         * configure.ac:
15253           releasing 0.10.6, "Take the cannoli"
15254
15255 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15256
15257         * tools/gst-launch.c: (print_tag):
15258           Fix use of uninitialized variable in the hypothetical
15259           case that some broken plugin creates a GST_TAG_IMAGE
15260           tag containing a NULL buffer (#341667).
15261
15262 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15263
15264         * tools/gst-launch.c: (print_tag):
15265           Print something more intelligible for image tags when
15266           using the -t switch (#341556).
15267
15268 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15269
15270         * Makefile.am:
15271           updates for win32
15272         * configure.ac:
15273           define GST_MAJORMINOR so we have it available in win32/common/config.h
15274           Possibly remove it from our Makefile.am files later
15275         * win32/common/config.h:
15276         * win32/common/config.h.in:
15277           added GST_MAJORMINOR
15278         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15279         * win32/common/gstversion.h:
15280           updated
15281
15282 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15283
15284         * win32/MANIFEST:
15285           Update win32 files listing.
15286         * win32/common/gstversion.h:
15287           Add GST_MAJORMINOR definition.
15288         * win32/common/libgstreamer.def:
15289           Add new exported functions.
15290           
15291 2006-05-12  Michael Smith  <msmith@fluendo.com>
15292
15293         * gst/gstplugin.c: (gst_plugin_load_file):
15294           If an so file has no plugin entry point, unload the module.
15295
15296 2006-05-11  Wim Taymans  <wim@fluendo.com>
15297
15298         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15299         (gst_queue_set_property):
15300         Don't forget to signal the _chain or _loop function 
15301         when the queue size or thresholds change since that might
15302         cause them to make progres again.
15303
15304 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15305
15306         * gst/gstclock.c: (gst_clock_class_init):
15307         * gst/gstindex.c: (gst_index_class_init):
15308         * gst/gstobject.c: (gst_object_class_init):
15309         * gst/gstpad.c: (gst_pad_class_init):
15310         * gst/gstpipeline.c: (gst_pipeline_class_init):
15311         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15312         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15313         * libs/gst/base/gstbasetransform.c:
15314         (gst_base_transform_class_init):
15315         * libs/gst/net/gstnetclientclock.c:
15316         (gst_net_client_clock_class_init):
15317         * libs/gst/net/gstnettimeprovider.c:
15318         (gst_net_time_provider_class_init):
15319         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15320         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15321         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15322         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15323         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15324         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15325         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15326         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15327         * plugins/elements/gsttee.c: (gst_tee_class_init):
15328         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15329         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15330           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15331
15332 2006-05-11  Wim Taymans  <wim@fluendo.com>
15333
15334         * gst/gstbuffer.c: (_gst_buffer_initialize):
15335         Register subbufer along with the buffer type so that
15336         it does not accidentally gets registered from N
15337         different streaming threads in a non threadsafe way.
15338
15339 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15340
15341         * gst/gstbuffer.h:
15342         * gst/gstevent.h:
15343         * gst/gstmessage.h:
15344           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15345           gst_event_ref() and gst_message_ref() functions again
15346           (ugly hack, please do fix if there's a better way besides
15347           overrides.txt, which doesn't seem to work).
15348
15349 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15350
15351         * libs/gst/check/gstcheck.h:
15352           add an assert for setting state to avoid lots of repetitive code
15353           in the future
15354
15355 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * gst/gstvalue.c: (gst_value_serialize_flags):
15358           fix a leak if no flags are set
15359         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15360           fix leak in tests
15361
15362 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15363
15364         * docs/manual/basics-pads.xml:
15365           Expand a bit on caps and filtered links and update
15366           examples that were still using the no longer existing
15367           gst_pad_link_filtered() (#338206).
15368
15369 2006-05-10  Wim Taymans  <wim@fluendo.com>
15370
15371         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15372         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15373         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15374         (gst_collect_pads_stop):
15375         * libs/gst/base/gstcollectpads.h:
15376         No need to call _stop in _finalize.
15377         Iterate the main pad list in _finalize.
15378         Added some more debug.
15379         Free lists and data in the right order.
15380         Also free data whem doing _remove_pad when stopped for
15381         backward compatibility protect ::started with PAD_LOCK as
15382         well.
15383
15384 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15385
15386         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15387         (gst_structure_parse_value):
15388           add some comments
15389           rename a method so that it actually says what it does better
15390
15391 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15392
15393         * gst/gstevent.c: (_gst_event_initialize):
15394         * gst/gstformat.c: (_gst_format_initialize):
15395           make sure some essential types used by events are registered
15396           as part of gst_init()
15397         * gst/gstvalue.c: (gst_value_serialize_flags):
15398           if no flags are set, serialize them to a value that represents NONE
15399           so that deserializing them works
15400         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15401           add tests for serialization and deserialization of flags
15402
15403 2006-05-10  Wim Taymans  <wim@fluendo.com>
15404
15405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15406         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15407         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15408         (gst_collect_pads_event), (gst_collect_pads_chain):
15409         Update docs.
15410         Better debug info.
15411         Catch and return errors from the collect function
15412         Refuse data on eos pads.
15413
15414 2006-05-10  Edward Hervey  <edward@fluendo.com>
15415
15416         * gst/gstinterface.h:
15417         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15418         GInterface type checking.
15419         They were previously using non-defined macros.
15420
15421 2006-05-09  Wim Taymans  <wim@fluendo.com>
15422
15423         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15424         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15425         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15426         (gst_collect_pads_start), (gst_collect_pads_stop),
15427         (gst_collect_pads_peek), (gst_collect_pads_pop),
15428         (gst_collect_pads_available), (gst_collect_pads_read),
15429         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15430         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15431         (gst_collect_pads_chain):
15432         * libs/gst/base/gstcollectpads.h:
15433         Clean up the mess that is collectpads, add comments and
15434         FIXMEs where needed.
15435         Maintain a separate pad list so we can add pads while
15436         collecting the other ones. For this we need a new separate 
15437         lock (see comics).
15438         Fix memory leak in finalize.
15439         Refactor some weird code to set/unset pad flushing flags, mark
15440         with comments.
15441         Don't crash in _available, _read, _flush when we're EOS.
15442
15443         * tests/check/libs/.cvsignore:
15444         Ignore adapter check binary.
15445
15446 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15447
15448         * gst/gstindex.c: (gst_index_resolver_get_type):
15449         * plugins/elements/gstfakesink.c:
15450         (gst_fake_sink_state_error_get_type):
15451         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15452         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15453         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15454           Const-ify GEnumValue arrays.
15455
15456 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15457
15458         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15459           Add test case for flags + gst_buffer_make_metadata_writable().
15460
15461 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15462
15463         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15464           gst_buffer_make_metadata_writable() should maintain the
15465           buffer flags (those that make sense at least) (see #340859).
15466
15467 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15468
15469         * tools/gst-inspect.c:
15470         * tools/gst-launch.c:
15471         * tools/gst-typefind.c:
15472         * tools/gst-xmlinspect.c:
15473         * tools/tools.h:
15474           Fix up includes: need to include stdlib.h in tools.h for exit().
15475
15476 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15477
15478         * gst/gsttaglist.c: (_gst_tag_initialize):
15479         * gst/gsttaglist.h:
15480           API: add GST_TAG_IMAGE tag (#340721).
15481
15482 2006-05-08  Wim Taymans  <wim@fluendo.com>
15483
15484         * gst/gstquery.c:
15485         Added some docs for the segment query.
15486
15487 2006-05-08  Wim Taymans  <wim@fluendo.com>
15488
15489         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15490         (gst_base_src_loop), (gst_base_src_change_state):
15491         Always push non-flushing serialized events in the streaming 
15492         thread.
15493
15494 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15495
15496         * gst/gsterror.c: (_gst_stream_errors_init):
15497           Add a missing error string.
15498
15499 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15500
15501         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15502         Add applied_rate to the debug
15503
15504         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15505         Copy applied_rate into the outgoing NEWSEGMENT event
15506
15507 2006-05-08  Wim Taymans  <wim@fluendo.com>
15508
15509         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15510
15511         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15512         (gst_base_sink_change_state):
15513         call ::unlock before taking the PREROLL_LOCK so we can safely
15514         handle elements that lock in ::render.
15515         Fixes #340174.
15516
15517 2006-05-08  Edward Hervey  <edward@fluendo.com>
15518
15519         * autogen.sh: (CONFIGURE_DEF_OPT): 
15520         Darwin's libtoolize is in fact called glibtoolize.
15521         Adding glibtoolize to the list of accepted names for libtoolize.
15522
15523 2006-05-08  Wim Taymans  <wim@fluendo.com>
15524
15525         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15526         Unify error handling, don't post an error message
15527         when a push() returns EOS but perform our normal EOS
15528         handling code. Fixes #340772.
15529
15530 2006-05-08  Wim Taymans  <wim@fluendo.com>
15531
15532         * docs/design/part-overview.txt:
15533         Make upsteam/downstream concepts more clear.
15534         Give an example of serialized/non-serialized events.
15535
15536         * docs/design/part-events.txt:
15537         * docs/design/part-streams.txt:
15538         Mention applied_rate.
15539
15540         * docs/design/part-trickmodes.txt:
15541         Mention applied rate, flesh out some more use cases.
15542
15543         * gst/gstevent.c: (gst_event_new_new_segment),
15544         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15545         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15546         (gst_event_parse_tag), (gst_event_new_buffer_size),
15547         (gst_event_parse_buffer_size), (gst_event_new_qos),
15548         (gst_event_parse_qos), (gst_event_parse_seek),
15549         (gst_event_new_navigation):
15550         * gst/gstevent.h:
15551         Add applied_rate field to NEWSEGMENT event.
15552         API: gst_event_new_new_segment_full()
15553         API: gst_event_parse_new_segment_full()
15554
15555         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15556         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15557         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15558         * gst/gstsegment.h:
15559         Add applied_rate to GstSegment structure.
15560         Make calculation of stream_time and running_time more correct
15561         wrt rate/applied_rate.
15562         Add some more docs.
15563         API: GstSegment::applied_rate field
15564         API: gst_segment_set_newsegment_full();
15565
15566         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15567         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15568         * libs/gst/base/gstbasetransform.c:
15569         (gst_base_transform_sink_eventfunc),
15570         (gst_base_transform_handle_buffer):
15571         Parse and use applied_rate in the GstSegment field.
15572
15573         * tests/check/gst/gstevent.c: (GST_START_TEST):
15574         Add check for applied_rate field.
15575
15576         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15577         (gstsegments_suite):
15578         Add more checks for various GstSegment operations.
15579
15580 2006-05-08  Wim Taymans  <wim@fluendo.com>
15581
15582         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15583         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15584         (gst_base_sink_get_position), (gst_base_sink_change_state):
15585         Store the sync time of the buffer end position separatly in a
15586         new variable eos_rtime so we can properly sync the EOS event.
15587         Fixes #340697.
15588         Fix the docs for gst_base_sink_set_qos_enabled().
15589         Don't set segment start to invalid value when we receive a 
15590         non TIME newsegment.
15591         get closer to handling position reporting for negative rates 
15592         correctly.
15593
15594 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15595
15596         * gst/gstcaps.c:
15597         Docs about how to print caps for debug purposes.
15598
15599         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15600         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15601
15602 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15603
15604         * gst/gstelement.c:
15605           use full enum names and preprend a '%' in docs strings to make recent 
15606           gtk-doc turn that into a link
15607
15608 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15609
15610         * docs/manual/basics-bins.xml:
15611         * docs/manual/basics-bus.xml:
15612         * docs/manual/basics-pads.xml:
15613           Some typo fixes, some additions, some clarifications. 
15614
15615 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15616
15617         * tools/gst-inspect.c: (main):
15618         * tools/gst-launch.c: (main):
15619         * tools/gst-run.c: (main):
15620         * tools/gst-typefind.c: (main):
15621         * tools/gst-xmlinspect.c: (main):
15622           Use the string passed to g_option_context_new() for
15623           what it's intended for - the program name is already
15624           printed elsewhere.
15625
15626 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15627
15628         * tools/Makefile.am:
15629         * tools/gst-inspect.c: (main):
15630         * tools/gst-launch.c: (main):
15631         * tools/gst-xmlinspect.c: (main):
15632         * tools/tools.h:
15633           Add back --version command line option (#340460).
15634
15635         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15636           Add --version option and use GOption for argument parsing; refactor a
15637           bit; accept directories as arguments and recurse into them; lastly,
15638           print a decent error message when things go wrong.
15639
15640 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15641
15642         * docs/manual/basics-bins.xml:
15643         Don't mention GstThread (#340611)
15644         * docs/manual/basics-elements.xml:
15645         Update link to GObject tutorial (#340607)
15646         
15647 2006-05-05  Wim Taymans  <wim@fluendo.com>
15648
15649         * gst/gstbuffer.h:
15650         * gst/gstminiobject.c:
15651         Add note about refcounting and miniobject/buffer writeability
15652         to docs. Fixes #340604
15653
15654         * gst/gstelementfactory.h:
15655         Added some explanation about @klass.
15656
15657 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15658
15659         * docs/manual/intro-motivation.xml:
15660         * docs/manual/manual.xml:
15661         Avoid CORBA & Bonobo references (#340598)
15662
15663 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15664
15665         * docs/manual/basics-bus.xml:
15666         * docs/manual/basics-pads.xml:
15667         Fix up some inaccuracies and omissions (#340609)
15668         
15669 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15670
15671         * gst/gstghostpad.c:
15672           Small typo in docs (#340625)
15673
15674 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15675
15676         * gst/parse/Makefile.am:
15677           Make 'make -j' proof (see #340698).
15678
15679 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15680
15681         * configure.ac:
15682           Require GLib-2.8 here as well.
15683
15684 2006-05-05  Wim Taymans  <wim@fluendo.com>
15685
15686         * gst/glib-compat.c:
15687         * gst/gst.c: (init_pre):
15688         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15689         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15690         (gst_object_dispatch_properties_changed):
15691         * gst/gstobject.h:
15692         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15693         * gst/gststructure.c: (gst_structure_set_valist):
15694         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15695         Remove pre glib2.8 compatibility, fixes #340508
15696
15697 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15698
15699         * gst/gsttaglist.h:
15700           Mention type of tags in doc blurbs.
15701
15702 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15703
15704         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15705         (gst_pad_configure_src), (gst_pad_push):
15706         Restore acceptcaps checking behaviour now that good plugins have
15707         been released.
15708
15709 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15710
15711         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15712
15713         * gst/gst.c:
15714         * gst/gstbus.c:
15715         * gst/gstclock.c:
15716         * gst/gstevent.c:
15717         * gst/gstformat.c:
15718         * gst/gstmessage.c:
15719         * gst/gstparse.c:
15720         * gst/gstquery.c:
15721         * gst/gstutils.c:
15722         * gst/parse/Makefile.am:
15723         * libs/gst/base/gstadapter.c:
15724         * libs/gst/base/gstbasesrc.c:
15725         * libs/gst/base/gstpushsrc.c:
15726         * libs/gst/base/gsttypefindhelper.c:
15727         * plugins/elements/gstfakesrc.c:
15728         * plugins/elements/gstidentity.c:
15729           Make sure gstprivate.h and/or config.h are
15730           always included first, otherwise some of our
15731           defines (like _FILE_OFFSET_BITS) might be
15732           redefined in the system headers. Fixes build
15733           on opensolaris (#340016).
15734
15735 2006-05-04  Wim Taymans  <wim@fluendo.com>
15736
15737         * docs/libs/gstreamer-libs-sections.txt:
15738         API: addition: gst_adapter_take_buffer()
15739         
15740         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15741         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15742         (gst_adapter_available_fast):
15743         * libs/gst/base/gstadapter.h:
15744         Prepare for optimizing the hell out of this hugely inefficient
15745         piece of code. 
15746         Added gst_adapter_take_buffer() so we can at least start thinking
15747         about subbuffering and merging.
15748         Added some comments.
15749
15750         * tests/check/Makefile.am:
15751         * tests/check/libs/adapter.c: (GST_START_TEST),
15752         (gst_adapter_suite), (main):
15753         Added GstAdapter check.
15754
15755 2006-05-04  Wim Taymans  <wim@fluendo.com>
15756
15757         * docs/design/part-overview.txt:
15758         Fix some typos, add blurb about buffer flags.
15759
15760 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15761
15762         * docs/libs/gstreamer-libs-sections.txt:
15763           make sure GstBaseTransformClass shows up in the docs
15764         * libs/gst/base/gstbasetransform.c:
15765         * libs/gst/base/gstbasetransform.h:
15766           move docs so gtk-doc picks it up now
15767
15768 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15769
15770         * docs/libs/gstreamer-libs-sections.txt:
15771           add missing symbols to docs
15772
15773 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15774
15775         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15776           back out the newsegment handling change, see #340060 for ongoing
15777           discussion
15778
15779 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15780
15781         * tools/gst-run.c: (get_candidates), (main):
15782           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15783           work); fix typo in error message. Fixes #340079.
15784
15785 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15786
15787         * common/Makefile.am:
15788         * docs/Makefile.am:
15789         * docs/faq/Makefile.am:
15790         * docs/gst/Makefile.am:
15791         * docs/libs/Makefile.am:
15792         * docs/manual/Makefile.am:
15793         * docs/plugins/Makefile.am:
15794         * docs/pwg/Makefile.am:
15795         * docs/slides/Makefile.am:
15796         * docs/upload.mak:
15797         * common/upload.mak:
15798           move upload.mak to common
15799
15800 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15801
15802         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15803           add more asserts on refcounts
15804           do more cleanup at end of tests
15805           fix test leaks showing in FC5
15806
15807 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15808
15809         * plugins/elements/gsttypefindelement.c:
15810         (gst_type_find_element_handle_event):
15811         reverted wrong change and reflowed code to avoid others falling into
15812         this trap
15813
15814 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15815
15816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15817           fix changelog entry about last collectpads change,
15818           add notes about proper fix
15819
15820 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15821
15822         * gst/gst.c:
15823         * gst/gstregistry.c: (gst_registry_scan_path_level),
15824         (gst_registry_scan_path):
15825         * gst/gstregistry.h:
15826           only write out registry if it has changed, fixes #338339
15827
15828 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15829
15830         * gst/gstbin.c:
15831         * gst/gstpipeline.c:
15832         * plugins/elements/gstcapsfilter.c:
15833         * plugins/elements/gstfakesink.c:
15834         * plugins/elements/gstfakesrc.c:
15835         * plugins/elements/gstfdsink.c:
15836         * plugins/elements/gstfdsrc.c:
15837         * plugins/elements/gstfilesink.c:
15838         * plugins/elements/gstfilesrc.c:
15839         * plugins/elements/gstidentity.c:
15840         * plugins/elements/gstqueue.c:
15841         * plugins/elements/gsttee.c:
15842         * plugins/elements/gsttypefindelement.c:
15843         (gst_type_find_element_handle_event):
15844           make GstElementDetails const
15845
15846 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15847
15848         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15849         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15850         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15851           more detailed debug and formatting cleanup,
15852           forward newsegments to src-pad (so that e.g. adder not eats them)
15853
15854 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15855
15856         * gst/gstutils.c: (gst_element_link_pads):
15857           cleanup double code
15858
15859 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15860
15861         * libs/gst/controller/gstcontroller.c:
15862         (gst_controller_sync_values):
15863           some little tuning
15864         * tests/check/libs/controller.c: (GST_START_TEST),
15865         (gst_controller_suite):
15866           a new test for live value handling
15867
15868 2006-04-28  Wim Taymans  <wim@fluendo.com>
15869
15870         * gst/gstutils.c: (push_and_ref):
15871         Added some more docs.
15872         Fix refcount issue whith gst_element_found_tags() helper 
15873         function. Fixes #338335
15874
15875         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15876         Added testsuite for gst_element_found_tags().
15877
15878 2006-04-28  Michael Smith  <msmith@fluendo.com>
15879
15880         * gst/gstvalue.c: (gst_value_serialize_flags):
15881           Avoid NULL dereference when trying to serialize flags containing
15882           invalid values.
15883
15884 2006-04-28  Michael Smith  <msmith@fluendo.com>
15885
15886         * plugins/elements/gsttypefindelement.c:
15887         (gst_type_find_element_handle_event):
15888           If we get EOS before any data is accumulated, don't use
15889           uninitialised local variables.
15890
15891 2006-04-28  Michael Smith  <msmith@fluendo.com>
15892
15893         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15894         (gst_dp_event_from_packet):
15895           Fixes in reading/writing events over GDP (not currently used?) - 
15896           dereferencing NULL events for unknown/invalid event types, memory
15897           leak, and change g_warning to GST_WARNING.
15898
15899 2006-04-28  Wim Taymans  <wim@fluendo.com>
15900
15901         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15902         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15903         (gst_base_sink_get_position), (gst_base_sink_change_state):
15904         When frame dropping is enabled, we should not ignore frames
15905         without a duration.
15906         Update some documentation.
15907
15908 2006-04-28  Wim Taymans  <wim@fluendo.com>
15909
15910         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15911         (gst_base_src_send_event), (gst_base_src_change_state):
15912         Documentation updates.
15913
15914 2006-04-28  Wim Taymans  <wim@fluendo.com>
15915
15916         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15917         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15918         handle EAGAIN, EINTR and short writes correctly. Also clean
15919         up some error cases, avoid a deadlock on bad file descriptors and
15920         use GST_DEBUG_OBJECT.
15921         Fixes #339843
15922
15923 2006-04-28  Wim Taymans  <wim@fluendo.com>
15924
15925         * gst/gstvalue.c: (gst_value_serialize_buffer),
15926         (gst_value_deserialize_buffer):
15927         Don't try to serialize a GValue with a NULL buffer. 
15928         Fixes #339821.
15929
15930         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15931         Added check for serialisation of NULL buffers.
15932
15933 2006-04-28  Wim Taymans  <wim@fluendo.com>
15934
15935         * gst/gstminiobject.c: (gst_value_take_mini_object):
15936         Taking a NULL miniobject is valid, fix the case where
15937         we try to unref the NULL miniobject.
15938
15939 2006-04-28  Wim Taymans  <wim@fluendo.com>
15940
15941         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15942
15943         * gst/gstbin.c: (gst_bin_handle_message_func):
15944         Update docs.
15945         Don't leak bin refcount when a state recalc is
15946         in progress and we delay another one #339808.
15947
15948 2006-04-28  Wim Taymans  <wim@fluendo.com>
15949
15950         * docs/design/part-TODO.txt:
15951         Mention QoS as an ongoing work item.
15952
15953         * docs/design/part-buffering.txt:
15954         New doc about buffering that needs to be fleshed out
15955         at some point.
15956
15957         * docs/design/part-qos.txt:
15958         More QoS policy for decoders/demuxers/transforms
15959
15960         * docs/design/part-trickmodes.txt:
15961         Small update.
15962
15963 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15964
15965         * configure.ac:
15966           back to HEAD
15967
15968 === release 0.10.5 ===
15969
15970 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15971
15972         * configure.ac:
15973           releasing 0.10.5, "Fogo"
15974
15975 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15976
15977         patch by: Wim Taymans
15978
15979         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15980         (gst_pad_configure_src), (gst_pad_push):
15981         * gst/gstpipeline.c: (gst_pipeline_init):
15982           Fix internal data flow errors.  Fixes #338711.
15983
15984 2006-04-12  Wim Taymans  <wim@fluendo.com>
15985
15986         * tests/check/gst/gstelement.c: (GST_START_TEST):
15987         Don't leak the factory.
15988
15989 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15990
15991         * configure.ac:
15992         * win32/common/config.h:
15993           prerelease
15994
15995 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15996
15997         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15998         (gst_controller_unset_all):
15999           Free allocated GstTimedValues when freeing list nodes.
16000           Should fix leaks 'make check-valgrind' complains about.
16001
16002         * win32/common/libgstcontroller.def:
16003           Add gst_controller_unset_all.
16004
16005 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16006
16007         * docs/libs/gstreamer-libs-sections.txt:
16008         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16009         (gst_controller_unset_all):
16010         * libs/gst/controller/gstcontroller.h:
16011         API: Added new method gst_controller_unset_all()
16012         fixed gst_controller_unset()
16013         * tests/check/libs/controller.c: (GST_START_TEST),
16014         (gst_controller_suite):
16015         Added two testcases for new and fixed method
16016
16017 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16018
16019         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16020           MSG_DONTWAIT is not defined on Cygwin, so work
16021           around that (fixes #317048).
16022           
16023 2006-04-11  Wim Taymans  <wim@fluendo.com>
16024
16025         * gst/gstelementfactory.c: (gst_element_register),
16026         (gst_element_factory_create), (gst_element_factory_make):
16027         Some cleanups.
16028         Fixed a FIXME.
16029         Updated docs (Fixes #131079)
16030
16031         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16032         Small cleanups.
16033
16034         * tests/check/gst/gstelement.c: (GST_START_TEST),
16035         (gst_element_suite):
16036         Added testcase for elementfactory class field.
16037
16038 2006-04-10  Wim Taymans  <wim@fluendo.com>
16039
16040         * gst/gstsegment.c:
16041         Added some more docs.
16042
16043         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16044         (gst_base_sink_reset_qos):
16045         Calculate more accurate rate values.
16046
16047 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16048
16049         * gst/gst_private.h:
16050           add a new #ifdef to use __declspec(dllimport) only for
16051           other modules and not for gstreamer core
16052         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16053           use gst_guint64_to_gdouble for conversion
16054         * win32/common/libgstreamer.def:
16055           add new exported functions
16056         * win32/vs6/gst_inspect.dsp:
16057         * win32/vs6/gst_launch.dsp:
16058         * win32/vs6/libgstbase.dsp:
16059         * win32/vs6/libgstcontroller.dsp:
16060         * win32/vs6/libgstcoreelements.dsp:
16061         * win32/vs6/libgstdataprotocol.dsp:
16062         * win32/vs6/libgstnet.dsp:
16063           update project files
16064
16065 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16066
16067         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16068         * gst/gstclock.c: (gst_clock_class_init):
16069         * gst/gstelement.c: (gst_element_class_init):
16070         * gst/gstindex.c: (gst_index_class_init):
16071         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16072         * gst/gstobject.c: (gst_object_class_init),
16073         (gst_signal_object_class_init):
16074         * gst/gstpad.c: (gst_pad_class_init):
16075         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16076         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16077         * gst/gstregistry.c: (gst_registry_class_init):
16078         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16079         * gst/gsttask.c: (gst_task_class_init):
16080         * gst/gstxml.c: (gst_xml_class_init):
16081         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16082         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16083         (gst_base_src_loop):
16084         * libs/gst/controller/gstcontroller.c:/
16085         (_gst_controller_class_init):
16086         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16087         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16088         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16089         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16090         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16091         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16092
16093 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16094
16095         * gst/gstpad.c: (gst_pad_link):
16096           Must set peer pads before calling the link function, otherwise
16097           a task started from a link function might get a flow-not-linked
16098           result when trying to push because the other thread where the
16099           linking happens hasn't had a chance to set the peers yet. This
16100           might happen for example when a queue gets linked to a downstream
16101           element, as queue starts a streaming task when its source pad
16102           gets linked. Happens in real life when playing back flac/musepack
16103           files in playbin (#332390).
16104           
16105 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16106
16107         * gst/gstindex.h:
16108         * gst/gstxml.h:
16109         * libs/gst/base/gstadapter.h:
16110         * libs/gst/base/gstbasesink.h:
16111         * libs/gst/base/gstbasesrc.h:
16112         * libs/gst/base/gstbasetransform.h:
16113         * libs/gst/base/gstcollectpads.h:
16114         * libs/gst/base/gstpushsrc.h:
16115         Fix broken GObject macros
16116
16117 2006-04-07  Wim Taymans  <wim@fluendo.com>
16118
16119         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16120         Initialize start and stop times, thanks valgrind.
16121
16122 2006-04-07  Wim Taymans  <wim@fluendo.com>
16123
16124         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16125         Be a bit nicer to badly behaving upstream elements that expect
16126         us to deal with non TIME segments and timestamps (such as fakesrc
16127         in the testsuite).
16128
16129 2006-04-07  Wim Taymans  <wim@fluendo.com>
16130
16131         * gst/gstbus.c:
16132         Small documentation clarification about the signal watch.
16133
16134         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16135         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16136         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16137         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16138         (gst_base_sink_get_position_last),
16139         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16140         Convert and store timestamps in stream time and running time, the
16141         raw timestamps are not useful, also document this better.
16142         Use different window sizes for good and bad QoS observations so
16143         we react to badness a little quicker.
16144         Keep track of the amount of rendered and dropped buffers.
16145         Send QoS timestamps in running time.
16146
16147         * libs/gst/base/gstbasetransform.c:
16148         (gst_base_transform_sink_eventfunc),
16149         (gst_base_transform_handle_buffer):
16150         Compare QoS timestamps against running time.
16151
16152 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16153
16154         * gst/gstpad.c:
16155           Typo fixes in docs.
16156
16157 2006-04-06  Michael Smith  <msmith@fluendo.com>
16158
16159         * gst/gstpad.c: (gst_pad_set_property):
16160           Use g_value_get_object() instead of g_value_dup_gst_object(),
16161           to avoid double-reffing the pad template (which we then sink,
16162           so this worked previously if (and only if) the pad template
16163           was floating.
16164
16165         * gst/gstpadtemplate.c: (gst_pad_template_init),
16166         (gst_pad_template_pad_created):
16167           Never return floating references to pad templates, create
16168           them as initially-sunken.
16169
16170           Document an extra function (and make this stop sinking our
16171           pad template, since that is now guaranteed to do nothing,
16172           since we created it sunken).
16173
16174         * gst/gstghostpad.c:
16175           Fix docs typo.
16176
16177 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16178
16179         * gst/gstinfo.c: (__gst_in_valgrind):
16180           Add some newlines.
16181
16182         * plugins/elements/gsttypefindelement.c:
16183         (gst_type_find_element_chain):
16184           Don't leak buffer caps.
16185
16186 2006-04-06  Michael Smith  <msmith@fluendo.com>
16187
16188         * gst/parse/grammar.y:
16189           Fix a leak in parse-launch for any source-or-sink named element 
16190           references used.
16191
16192         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16193           Unref the pipeline if it exists after we've failed parsing.
16194
16195 2006-04-05  Michael Smith  <msmith@fluendo.com>
16196
16197         * gst/gstpipeline.c: (gst_pipeline_init):
16198           When we create a pipeline bus, initially create it in flushing mode.
16199           Fixes leaks in at least one test, and makes a new pipeline work the
16200           same as one that has gone to READY and then back to NULL.
16201
16202         * gst/gstelement.c:
16203           Typo fix in docs.
16204
16205 2006-04-05  Michael Smith  <msmith@fluendo.com>
16206
16207         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16208           Unref a pad we reffed.
16209         * tests/check/gst/gstutils.c: (GST_START_TEST):
16210           Unref bins
16211
16212 2006-04-05  Michael Smith  <msmith@fluendo.com>
16213
16214         * gst/gstquery.c: (gst_query_set_formats),
16215         (gst_query_set_formatsv):
16216           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16217
16218 2006-04-05  Michael Smith  <msmith@fluendo.com>
16219
16220         * tests/check/generic/sinks.c: (GST_START_TEST):
16221           Fix a variety of memleaks in sinks check, which are only sometimes 
16222           shown by running the tests under valgrind (weird?).
16223
16224 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16225
16226         * docs/version.entities.in:
16227           Fix the substituted entity name after thomas' changes on the
16228           weekend.
16229
16230 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16231
16232         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16233         VALGRIND_PRINTF
16234         
16235 2006-04-05  Andy Wingo  <wingo@pobox.com>
16236
16237         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16238
16239         * libs/gst/base/gstbasetransform.c
16240         (gst_base_transform_sink_eventfunc): When resetting our segment on
16241         FLUSH_STOP, also update the flag saying we haven't seen a
16242         newsegment.
16243
16244 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16245
16246         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16247
16248         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16249         (gst_plugin_check_license):
16250           minor clean-ups: G_DEFINE_TYPE already takes care of the
16251           parent_class stuff, no need to do it twice. Mark array of
16252           license strings as constant. (#337103)
16253           
16254 2006-04-04  Michael Smith  <msmith@fluendo.com>
16255
16256         * tools/gst-inspect.c: (print_element_list):
16257           Free the right plugin list; fixes a memory leak.
16258
16259 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16260
16261         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16262
16263         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16264           Don't error out on empty buffers (#336945).
16265           
16266 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16267
16268         * docs/libs/gstreamer-libs-sections.txt:
16269         * gst/gsttaglist.c:
16270         * libs/gst/base/gstbasesink.c:
16271         * libs/gst/base/gstbasesink.h:
16272         * libs/gst/base/gstbasesrc.c:
16273         * libs/gst/base/gstbasesrc.h:
16274           Documentation updates. Make BaseSink and BaseSrc docs contain the
16275           class structure so that people can actually see the prototypes for
16276           virtual functions they're supposed to be overriding.
16277
16278 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16279
16280         * plugins/elements/gsttypefindelement.c:
16281         (gst_type_find_element_chain):
16282           More debug info; when skipping typefinding, send cached
16283           events in all cases.
16284
16285 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16286
16287         * configure.ac:
16288           use new AS_VERSION and AS_NANO macros
16289         * gst/gst-i18n-lib.h:
16290         * gst/gst.c:
16291         * gst/gsterror.c:
16292         * gst/gstversion.h.in:
16293         * win32/common/config.h:
16294         * win32/common/config.h.in:
16295           update accordingly
16296
16297 2006-03-31  Michael Smith  <msmith@fluendo.com>
16298
16299         * plugins/elements/gsttypefindelement.c:
16300         (gst_type_find_element_chain):
16301           Do not typefind content if the buffers already have caps.
16302           Neccesary for icydemux (#333657), and the right thing to do anyway.
16303
16304 2006-03-30  Wim Taymans  <wim@fluendo.com>
16305
16306         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16307         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16308         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16309         (gst_base_sink_record_qos_observation),
16310         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16311         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16312         (gst_base_sink_change_state):
16313         More QoS measurements as described in the design doc.
16314         Get rid of ringbuffer with observations, running average is
16315         more simple and equally good.
16316         Calculates valid proportion now.
16317         Added beginning of flood measurement.
16318
16319 2006-03-29  Wim Taymans  <wim@fluendo.com>
16320
16321         * docs/design/part-qos.txt:
16322         * gst/gstclock.c:
16323         Small documentation updates and additions.
16324
16325 2006-03-29  Wim Taymans  <wim@fluendo.com>
16326
16327         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16328         (gst_base_src_send_event), (gst_base_src_loop),
16329         (gst_base_src_change_state):
16330         Perform the EOS logic when we reach the segment stop position.
16331         Fix compilation on gcc4.1
16332
16333 2006-03-29  Wim Taymans  <wim@fluendo.com>
16334
16335         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16336
16337         * plugins/elements/gstqueue.c: (gst_queue_init),
16338         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16339         (gst_queue_set_property):
16340         * plugins/elements/gstqueue.h:
16341         In queue, when EOS is received, if minimum threshold > max_size -
16342         current_level, there is chance that queue blocks forever in conditional
16343         item del wait. This is because the queue is not emptied completely due
16344         to minimum threshold.  Here is another approach. Instead of setting
16345         cur_levels to max in EOS, just zero all minimum threshold levels. This
16346         should make sure that queue gives out all data. When going to READY
16347         (stop) state, just reset the original minimum threshold levels.
16348         Fixes #336336.
16349
16350 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16351
16352         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16353         (gst_type_find_element_handle_event),
16354         (gst_type_find_element_send_cached_events),
16355         (gst_type_find_element_change_state):
16356         * plugins/elements/gsttypefindelement.h:
16357           When typefinding is done in push mode, we should cache
16358           events we receive during typefinding instead of just
16359           dropping them (e.g. newsegment, custom events from
16360           dvdreadsrc etc.) and then send them out once we've
16361           determined the type of the stream (and decodebin
16362           has had a chance to plug in a decoder/demuxer).
16363           
16364 2006-03-27  Wim Taymans  <wim@fluendo.com>
16365
16366         * docs/design/part-qos.txt:
16367         First QoS ideas.
16368
16369 2006-03-27  Wim Taymans  <wim@fluendo.com>
16370
16371         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16372
16373         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16374         (gst_base_src_send_event), (gst_base_src_change_state):
16375         Handle element seek correctly when we are streaming.
16376         Fixes #326998.
16377
16378 2006-03-24  Michael Smith  <msmith@fluendo.com>
16379
16380         * docs/faq/gst-uninstalled:
16381           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16382           allow you to correctly run intalled applications built against old 
16383           core, using plugins that require updated core (e.g. running
16384           installed totem against a full uninstalled gstreamer stack)
16385
16386 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16387
16388         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16389         more debug details
16390
16391 2006-03-24  Wim Taymans  <wim@fluendo.com>
16392
16393         * docs/gst/gstreamer-sections.txt:
16394         Rearrange the order of the methods so that related methods
16395         are grouped together in sections.
16396
16397 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16398
16399         * gst/gstelement.c:
16400           Little clarification in the docs
16401
16402 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16403
16404         * docs/README:
16405         formatting fix
16406         * plugins/elements/gstidentity.c:
16407         * plugins/elements/gstqueue.c:
16408         * plugins/elements/gsttee.c:
16409         * plugins/elements/gsttypefindelement.c:
16410         GST_ELEMENT_DETAILS formatting
16411
16412 2006-03-24  Wim Taymans  <wim@fluendo.com>
16413
16414         * libs/gst/base/gstbasesink.h:
16415         Only add fields, not insert or we break ABI.
16416
16417 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16418
16419         * win32/common/libgstbase.def:
16420         * win32/common/libgstreamer.def:
16421           Update, add recently added functions.
16422
16423 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16424
16425         * docs/gst/gstreamer-sections.txt:
16426         * gst/gstutils.c: (gst_pad_query_peer_position),
16427         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16428         * gst/gstutils.h:
16429           API: add some new utility functions:
16430            - gst_pad_query_peer_position()
16431            - gst_pad_query_peer_duration()
16432            - gst_pad_query_peer_convert()
16433           
16434 2006-03-23  Wim Taymans  <wim@fluendo.com>
16435
16436         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16437         (gst_base_sink_init), (gst_base_sink_finalize),
16438         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16439         (gst_base_sink_set_property), (gst_base_sink_get_property),
16440         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16441         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16442         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16443         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16444         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16445         (gst_base_sink_preroll_object), (gst_base_sink_event),
16446         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16447         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16448         (gst_base_sink_query), (gst_base_sink_change_state):
16449         Decouple max-lateness and the fact that QoS messages are generated
16450         with a new property (qos).
16451         added API: GstBaseSink::async_play()
16452         Add vmethod so subclasses can be notified of ASYNC playing
16453         state changes.
16454         Collect timestamp start and stop to report better current
16455         position in EOS/PLAYING/PAUSED/READY/NULL.
16456         Refactor QoS/frame dropping and other measurements.
16457         API: GstBaseSrc::qos
16458         Fixes #326311
16459
16460         * libs/gst/base/gstbasesink.h:
16461         Added Private struct.
16462         API: gst_base_sink_set_qos_enabled()
16463         API: gst_base_sink_is_qos_enabled()
16464
16465 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16466
16467         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16468           If compiling against GLib-2.8 or newer, try to read the
16469           registry file using GMappedFile first before falling back
16470           to fopen() + fread() (#332151).
16471
16472 2006-03-22  Wim Taymans  <wim@fluendo.com>
16473
16474         * gst/gstinfo.c: (gst_debug_set_active),
16475         (gst_debug_category_set_threshold):
16476         Disable debugging unless explicitly activated.
16477         Fixes #335480.
16478
16479 2006-03-22  Wim Taymans  <wim@fluendo.com>
16480
16481         * gst/gstelement.c: (gst_element_set_locked_state),
16482         (gst_element_dispose):
16483         Cleanup the error case.
16484
16485         * gst/gstobject.c: (gst_object_dispose):
16486         print a critical when some object was disposed with
16487         a parent, also revive the object since it might
16488         crash the parent.
16489
16490 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16491
16492         * tools/gst-launch.1.in:
16493           Fix another typo.
16494
16495 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16496
16497         * configure.ac:
16498         * tests/check/Makefile.am:
16499           disable some tests when we don't have a registry
16500         * tests/check/gst/gstutils.c: (gst_utils_suite):
16501           don't build the part that needs parsing
16502
16503 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16504
16505         * gst/Makefile.am
16506         * tests/examples/Makefile.am:
16507           fix --disable-parse build
16508
16509 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16510
16511         * tools/gst-feedback.1.in:
16512           Fix typo: s/feeback/feedback/ (#133494).
16513
16514 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16515
16516         * tools/Makefile.am:
16517         * tools/gst-launch.1.in:
16518           Add FILES section and correct entry about GST_REGISTRY_PATH
16519           environment variable (#133495; #133494).
16520
16521 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16522
16523         * tools/Makefile.am:
16524         * tools/gst-md5sum.1.in:
16525         * tools/gst-md5sum.c:
16526           Remove gst-md5sum and man page (the md5sink element
16527           required was removed ages ago)
16528
16529 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16530
16531         * gst/gststructure.c: (gst_structure_id_set_value):
16532           Make sure that string fields in structures/taglists
16533           contain valid UTF-8 - we don't want to pass rubbish to
16534           applications because of a buggy plugin (cp. #334167).
16535
16536 2006-03-21  Edward Hervey  <edward@fluendo.com>
16537
16538         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16539         (gst_bin_handle_message_func):
16540         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16541         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16542         (gst_element_set_bus_func):
16543         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16544         * gst/gstminiobject.c: (gst_value_set_mini_object),
16545         (gst_value_take_mini_object):
16546         * gst/gstpad.c: (gst_pad_set_pad_template):
16547         * gst/gstpipeline.c: (gst_pipeline_dispose),
16548         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16550         (gst_collect_pads_chain):
16551         * libs/gst/net/gstnettimeprovider.c:
16552         (gst_net_time_provider_set_property):
16553         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16554         It's in fact all issues with gst_*object_replace().
16555
16556 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16557
16558         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16559         
16560         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16561         * pkgconfig/gstreamer-check.pc.in:
16562           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16563
16564 2006-03-21  Edward Hervey  <edward@fluendo.com>
16565
16566         * gst/gstbuffer.h:
16567         * gst/gstevent.h:
16568         * gst/gstmessage.h:
16569         gst_[buffer|event|message]_ref() macros are replaced by a static
16570         inline functions because gcc-4.1 will about if the return value
16571         isn't used.
16572         * tests/check/gst/gstevent.c: (event_probe):
16573         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16574
16575 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16576
16577         * gst/gstutils.h:
16578         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16579         the type' case. (Closes: #335195 for now). In the future, when we
16580         depend on GLib 2.10, we could also intern the type name using
16581         g_intern_static_string()
16582
16583 2006-03-20  Wim Taymans  <wim@fluendo.com>
16584
16585         * gst/gstbin.c: (gst_bin_handle_message_func),
16586         (bin_query_max_init), (bin_query_position_fold),
16587         (bin_query_position_done), (gst_bin_query):
16588         Position query should also take max of all streams.
16589
16590 2006-03-20  Wim Taymans  <wim@fluendo.com>
16591
16592         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16593         (gst_fake_src_finalize):
16594         Fix leaks in fakesrc.
16595
16596         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16597         Fix leaks in the testcase.
16598
16599 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16600
16601         * gst/gst_private.h:
16602           add win32 specific import decoration(__declspec(dllimport)) 
16603           for all extern GstDebugCategory * variables
16604         * win32/common/libgstbase.def:
16605         * win32/common/libgstcontroller.def:
16606         * win32/common/libgstreamer.def:
16607           Add some exports, remove empty lines
16608         * win32/common/libgstdataprotocol.def:
16609         * win32/common/libgstdataprotocol.dsp:
16610         * win32/common/libgstnet.def:
16611         * win32/common/libgstnet.dsp:
16612           new project files and exportation files added
16613         
16614 2006-03-19  Wim Taymans  <wim@fluendo.com>
16615
16616         * tests/check/libs/basesrc.c: (eos_event_counter):
16617         Use proper return value for probe.
16618
16619 2006-03-17  Wim Taymans  <wim@fluendo.com>
16620
16621         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16622         (gst_pad_push):
16623         Don't leak buffers, caps and pads on negotiation errors.
16624
16625 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16626
16627         * docs/faq/cvs.xml:
16628         * docs/faq/dependencies.xml:
16629         * docs/faq/developing.xml:
16630         * docs/faq/faq.xml:
16631         * docs/faq/general.xml:
16632         * docs/faq/getting.xml:
16633         * docs/faq/legal.xml:
16634         * docs/faq/troubleshooting.xml:
16635         * docs/faq/using.xml:
16636         Faq review and update.
16637
16638 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16639
16640         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16641         (gst_pad_push):
16642         Don't pound the cpu to pieces by checking get_caps when accept_caps
16643         is called with the same caps as the pad already has.
16644         Use GST_DEBUG_OBJECT when outputting caps change information.
16645
16646 2006-03-15  Wim Taymans  <wim@fluendo.com>
16647
16648         * gst/gstclock.c: (gst_clock_class_init):
16649         Fix docs.
16650
16651 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16652
16653         * gst/gstbuffer.h:
16654         Documentation fix.
16655
16656         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16657         (gst_pad_accept_caps), (gst_pad_configure_sink),
16658         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16659         Make the default acceptcaps behaviour be to check the requested 
16660         caps against the gst_pad_get_caps output. 
16661
16662         Ensure that gst_pad_accept_caps is used to check caps when a pad
16663         doesn't have a setcaps function, so that pads automatically refuse 
16664         caps that they don't allow in their pad template. (Fixes #332986)
16665
16666         When a buffer with attached caps is pushed, ensure that the source 
16667         pad receives those caps even if the element didn't call
16668         gst_pad_set_caps first.
16669
16670 2006-03-15  Wim Taymans  <wim@fluendo.com>
16671
16672         * libs/gst/base/gstadapter.c:
16673         Add some docs.
16674
16675 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16676
16677         * win32/common/libgstbase.def:
16678         * win32/common/libgstcontroller.def:
16679         * win32/common/libgstreamer.def:
16680           Add a whole bunch of missing functions (#334434).
16681
16682 2006-03-14  Wim Taymans  <wim@fluendo.com>
16683
16684         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16685         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16686         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16687         Better debug info when we receive a segment event.
16688         Reorganize a bit so we can pass the get_times() results around.
16689         Use the segment format when calculating the running time.
16690         Don't do QoS is sync is disabled or we have no clock or the
16691         element does not want us to sync to the clock.
16692         Don't drop buffers if QoS is disabled for now.
16693
16694 2006-03-14  Wim Taymans  <wim@fluendo.com>
16695
16696         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16697         Marked the stats property as unimplemented so people don't get
16698         wild ideas.
16699         Add debug message when regression goes wrong.
16700         Added some more docs.
16701
16702 2006-03-14  Wim Taymans  <wim@fluendo.com>
16703
16704         * gst/gstsegment.c: (gst_segment_to_stream_time):
16705         Return correct return type in case of errors.
16706
16707 2006-03-14  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16710           Don't segfault on invalid formats.
16711
16712 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16713
16714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16715           Can't use gst_segment_to_running_time() when the segment
16716           is not in GST_TIME_FORMAT (like with filesink, for example).
16717           Stops flac encoding pipelines from spewing critical warnings
16718           at EOS (#331248).
16719           
16720 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16721
16722         * gst/gstpipeline.c: (gst_pipeline_class_init):
16723           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16724
16725         * plugins/elements/gsttypefindelement.c:
16726         (gst_type_find_element_handle_event):
16727           Don't try to typefind empty streams.
16728
16729 2006-03-14  Wim Taymans  <wim@fluendo.com>
16730
16731         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16732         (gst_base_sink_do_qos):
16733         Separate QoS calculation.
16734         Only drop buffers when lateness is bigger than the 
16735         duration of the buffer.
16736
16737 2006-03-13  Wim Taymans  <wim@fluendo.com>
16738
16739         * gst/gstpipeline.c: (gst_pipeline_set_property),
16740         (gst_pipeline_get_property), (do_pipeline_seek),
16741         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16742         (gst_pipeline_get_delay):
16743         Don't deadlock when reading properties.
16744
16745 2006-03-13  Wim Taymans  <wim@fluendo.com>
16746
16747         * libs/gst/base/gstbasetransform.c:
16748         (gst_base_transform_class_init), (gst_base_transform_init),
16749         (gst_base_transform_sink_event),
16750         (gst_base_transform_sink_eventfunc),
16751         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16752         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16753         (gst_base_transform_set_property),
16754         (gst_base_transform_get_property),
16755         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16756         (gst_base_transform_set_qos_enabled),
16757         (gst_base_transform_is_qos_enabled):
16758         * libs/gst/base/gstbasetransform.h:
16759         Make basetransform virtual method for src events too.
16760         Handle QOS in basetransform.
16761         API: gst_base_transform_update_qos()
16762         API: gst_base_transform_set_qos_enabled()
16763         API: gst_base_transform_is_qos_enabled()
16764
16765 2006-03-13  Wim Taymans  <wim@fluendo.com>
16766
16767         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16768         (gst_base_sink_do_sync):
16769         Small cleanups.
16770         Use QOS debug category.
16771
16772 2006-03-13  Wim Taymans  <wim@fluendo.com>
16773
16774         * plugins/elements/gstqueue.c:
16775         Very small doc update.
16776
16777 2006-03-13  Wim Taymans  <wim@fluendo.com>
16778
16779         * gst/gst_private.h:
16780         * gst/gstinfo.c: (_gst_debug_init):
16781         Added QOS debug category
16782
16783 2006-03-13  Wim Taymans  <wim@fluendo.com>
16784
16785         * docs/gst/gstreamer-sections.txt:
16786         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16787         * gst/gstbin.h:
16788         * gst/gstbus.c: (gst_bus_class_init):
16789         * gst/gstbus.h:
16790         * gst/gstclock.c:
16791         * gst/gstelement.c: (gst_element_set_locked_state):
16792         * gst/gstsegment.c:
16793         Documentation updates.
16794
16795         * gst/gstpipeline.c: (gst_pipeline_get_type),
16796         (gst_pipeline_class_init), (gst_pipeline_init),
16797         (gst_pipeline_dispose), (gst_pipeline_set_property),
16798         (gst_pipeline_get_property), (do_pipeline_seek),
16799         (gst_pipeline_send_event), (gst_pipeline_change_state),
16800         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16801         (gst_pipeline_get_delay):
16802         * gst/gstpipeline.h:
16803         Added methods for setting the delay.
16804         API: gst_pipeline_set_delay()
16805         API: gst_pipeline_get_delay()
16806         Add pipeline debug category
16807         Various cleanups.
16808         Updated docs.
16809         Don't reset stream time when seek failed.
16810
16811 2006-03-13  Wim Taymans  <wim@fluendo.com>
16812
16813         * docs/design/draft-klass.txt:
16814         * docs/design/part-clocks.txt:
16815         * docs/design/part-events.txt:
16816         * docs/design/part-gstbin.txt:
16817         * docs/design/part-gstpipeline.txt:
16818         * docs/design/part-messages.txt:
16819         * docs/design/part-negotiation.txt:
16820         * docs/design/part-overview.txt:
16821         * docs/design/part-preroll.txt:
16822         * docs/design/part-seeking.txt:
16823         * docs/design/part-states.txt:
16824         * docs/design/part-streams.txt:
16825         Documentation updates.
16826
16827 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16828
16829         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16830         us to leak strings...
16831
16832 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16833
16834         * libs/gst/net/gstnettimeprovider.c:
16835           fix docs
16836         * win32/common/config.h:
16837           update
16838
16839 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16840
16841         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16842
16843         * configure.ac:
16844           Don't check for libgnomeui (leftover from old examples
16845           that aren't built or disted any longer) (#334303).
16846           
16847 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16848
16849         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16850         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16851           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16852           there's no space left on the device.
16853
16854 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16855
16856         * gst/gstclock.h:
16857           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16858           to cast the input to GstClockTime before comparing with
16859           another GstClockTime value.
16860
16861 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16862
16863         * configure.ac:
16864           back to trunk
16865
16866 === release 0.10.4 ===
16867
16868 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16869
16870         * configure.ac:
16871           releasing 0.10.4, "Light"
16872
16873 2006-03-10  Michael Smith  <msmith@fluendo.com>
16874
16875         * libs/gst/dataprotocol/dataprotocol.c:
16876           Fix docs for dataprocotol to not get the return types completely
16877           wrong for a few functions.
16878
16879 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16880
16881         * docs/gst/gstreamer-sections.txt:
16882         * gst/gstpipeline.c: (gst_pipeline_class_init),
16883         (gst_pipeline_init), (gst_pipeline_set_property),
16884         (gst_pipeline_get_property), (gst_pipeline_change_state),
16885         (gst_pipeline_set_auto_flush_bus),
16886         (gst_pipeline_get_auto_flush_bus):
16887         * gst/gstpipeline.h:
16888           Add new API: gst_pipeline_set_auto_flush_bus() and
16889           gst_pipeline_get_auto_flush_bus() to disable automatic
16890           flushing of the pipeline's GstBus when going from READY
16891           to NULL state (#332045).
16892
16893 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16894
16895         * docs/gst/gstreamer-sections.txt:
16896         * gst/gsturi.c: (gst_uri_has_protocol):
16897         * gst/gsturi.h:
16898            Add new API: gst_uri_has_protocol() (#333779).
16899
16900 2006-03-09  Wim Taymans  <wim@fluendo.com>
16901
16902         * gst/gstclock.c: (gst_clock_entry_new),
16903         (gst_clock_id_compare_func), (gst_clock_id_wait),
16904         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16905         (gst_clock_init), (gst_clock_get_internal_time),
16906         (gst_clock_set_master), (do_linear_regression),
16907         (gst_clock_add_observation), (gst_clock_set_property):
16908         * gst/gstclock.h:
16909         Review docs.
16910         Small cleanups.
16911         Fix a possible segfault when the window-size is made smaller.
16912         Calculate jitter before performing the clock wait. Ideally
16913         the clock implementation should calculate jitter but we need
16914         API breakage for that.
16915
16916         * gst/gstsystemclock.c: (gst_system_clock_init):
16917         Docs review.
16918         
16919         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16920         Remove leftover else
16921
16922         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16923         (gst_systemclock_suite):
16924         Added check to test GST_CLOCK_DIFF.
16925
16926 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16927
16928         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16929         (gst_type_find_helper_get_range):
16930           If we are provided with the size, we should implement
16931           GstTypeFind::get_length, so that typefind functions who
16932           want to can actually peek at the middle of a file.
16933
16934 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16935
16936         * docs/manual/advanced-dataaccess.xml:
16937           Add some very very basic error checking.
16938
16939         * docs/pwg/appendix-checklist.xml:
16940           Some updates to the list of things to check when writing an element.
16941
16942 2006-03-08  Wim Taymans  <wim@fluendo.com>
16943
16944         * docs/design/part-element-transform.txt:
16945         Added some docs about the design of tranform elements.
16946
16947         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16948         (gst_base_src_loop), (gst_base_src_change_state):
16949         Mark buffers with the DISCONT flag.
16950
16951 2006-03-08  Michael Smith  <msmith@fluendo.com>
16952
16953         * gst/gstregistry.h:
16954         * gst/gstregistryxml.c: (gst_registry_save),
16955         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16956         (gst_registry_xml_save_pad_template),
16957         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16958         (gst_registry_xml_write_cache):
16959           Rewrite registry-saving to avoid race conditions and check for
16960           failed writes.
16961
16962 2006-03-08  Wim Taymans  <wim@fluendo.com>
16963
16964         * libs/gst/base/gstbasetransform.c:
16965         (gst_base_transform_transform_caps),
16966         (gst_base_transform_transform_size),
16967         (gst_base_transform_prepare_output_buffer),
16968         (gst_base_transform_get_unit_size),
16969         (gst_base_transform_buffer_alloc),
16970         (gst_base_transform_handle_buffer),
16971         (gst_base_transform_change_state):
16972         Cleanups, separate normal flow from errors, add sensible
16973         DEBUG lines.
16974         Don't try to renegotiate when allocating an output buffer.
16975         Also copy DISCONT buffer flag when copying a buffer.
16976         Reset the transform after we finish streaming, not during.
16977
16978 2006-03-08  Wim Taymans  <wim@fluendo.com>
16979
16980         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16981         Use last buffer timestamp in qos message.
16982
16983 2006-03-07  Wim Taymans  <wim@fluendo.com>
16984
16985         Patch by: Christophe Fergeau
16986
16987         * docs/pwg/advanced-tagging.xml:
16988         * docs/pwg/building-pads.xml:
16989           fixes #333416
16990
16991 2006-03-07  Wim Taymans  <wim@fluendo.com>
16992
16993         * docs/libs/gstreamer-libs-sections.txt:
16994         Added basesink new methods.
16995
16996         * gst/gstevent.c:
16997         * gst/gstevent.h:
16998         Docs updates. Flesh out the QoS docs.
16999
17000         * libs/gst/base/gstadapter.c:
17001         Small doc clarification about ownership and flushing.
17002
17003         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17004         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17005         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17006         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17007         * libs/gst/base/gstbasesink.h:
17008         API additions: 
17009         Added new methods to allow subclass to control max-lateness 
17010         and sync.
17011         Generate very basic QoS events based on last sync observation.
17012         Updated docs, fix typo, added some QoS blurb.
17013
17014         * libs/gst/base/gstbasesrc.c:
17015         Remove obsolete _get_state() calls from docs.
17016
17017 2006-03-07  Wim Taymans  <wim@fluendo.com>
17018
17019         * docs/libs/gstreamer-libs-sections.txt:
17020         * libs/gst/base/gstbasetransform.h:
17021         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17022         Fix docs for GstBaseSrc.
17023
17024 2006-03-07  Wim Taymans  <wim@fluendo.com>
17025
17026         * docs/gst/gstreamer-sections.txt:
17027         * gst/gstbuffer.h:
17028         * gst/gstvalue.c:
17029         * libs/gst/base/gstbasetransform.h:
17030         Small documentation fixes.
17031
17032 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17033
17034         * gst/gstvalue.c:
17035           Document thread-unsafety of gst_value_register_foo_func()
17036           when used at the same time as gst_value_foo() (#322628).
17037
17038 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17039
17040         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17041         (gst_push_src_check_get_range):
17042           Push sources don't support pull mode by default.
17043
17044 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17045
17046         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17047         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17048         (gst_base_src_default_check_get_range):
17049         * libs/gst/base/gstbasesrc.h:
17050           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17051           provide default implementation, and rename
17052           gst_base_src_check_get_range() to
17053           gst_base_src_pad_check_get_range() for clarity.
17054
17055 2006-03-06  Wim Taymans  <wim@fluendo.com>
17056
17057         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17058         Make property overridable.
17059
17060 2006-03-06  Wim Taymans  <wim@fluendo.com>
17061
17062         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17063         (gst_base_sink_init), (gst_base_sink_set_property),
17064         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17065         * libs/gst/base/gstbasesink.h:
17066         API addition: Make max-lateness a property.
17067
17068 2006-03-06  Wim Taymans  <wim@fluendo.com>
17069
17070         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17071         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17072         Don't ever draw a frame that is >10ms late.
17073
17074 2006-03-06  Michael Smith  <msmith@fluendo.com>
17075
17076         * gst/gstmessage.c: (_gst_message_copy):
17077           When copying a message, set the parent_refcount of the enclosed
17078           structure to point at the copy, not the original message.
17079
17080 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17081
17082         Patch by: Christophe Fergeau
17083
17084         * gst/gstutils.h:
17085           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17086           usable in c++ code (#333417)
17087
17088 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17089
17090         * gst/gstclock.h:
17091           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17092
17093 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * libs/gst/base/gstbasetransform.c:
17096         (gst_base_transform_transform_caps):
17097           Make sure caps are writable before passing them to
17098           gst_caps_append().
17099
17100 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17101
17102         * gst/gsterror.h:
17103           Fix some minor docs errors.
17104
17105 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17106
17107           Patch by: Ross Burton <ross at burtonini dot com>
17108
17109         * gst/gsterror.c: (_gst_resource_errors_init):
17110         * gst/gsterror.h:
17111           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17112
17113 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17114
17115         * gst/gst.c:
17116         Add a check and output a g_warning when GStreamer is built
17117         against GLib 2.6 but running against 2.8 or higher, and vice 
17118         versa. (Closes: #323542)
17119
17120 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17121
17122         * gst/parse/parse.l:
17123           Commit patch for parse_launch syntax from #331255. Removes 
17124           support for quoted strings and mimetypes when writing filtered 
17125           caps. See the bug report for more details - I'm pretty sure this
17126           obscure feature is not in use by _anyone_ anywhere.
17127
17128           With this simple change, the size of the gstreamer.so here 
17129           drops from 2193KB to 1565KB.
17130
17131 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17132
17133         * plugins/elements/gsttypefindelement.h:
17134         * plugins/elements/gsttypefindelement.c:
17135         (gst_type_find_element_src_event), (start_typefinding),
17136         (stop_typefinding), (gst_type_find_element_handle_event),
17137         (gst_type_find_element_chain),
17138         (gst_type_find_element_chain_do_typefinding):
17139           Use gst_type_find_helper_for_buffer() for chain-based
17140           typefinding.
17141
17142 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17143
17144         * plugins/elements/gsttypefindelement.c:
17145         (gst_type_find_element_class_init),
17146         (gst_type_find_element_set_property),
17147         (gst_type_find_element_get_property):
17148           Deprecate "maximum" property (not only was it only taken into
17149           account for typefinding in push-mode anyway, it also was never
17150           actually possible to set it in the first place because the
17151           property was registered with the numeric property ID for the
17152           "minimum" property). Register "maximum" property correctly,
17153           for the sake of future copy'n'pasters. Remove some cruft
17154           from property get/set functions.
17155
17156 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * plugins/elements/gsttypefindelement.c:
17159         (gst_type_find_element_activate):
17160           Use gst_type_find_helper_get_range() here, so we
17161           can honour the "minimum" property and also emit
17162           the signal with the correct probability of the found caps.
17163
17164 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17165
17166         * docs/libs/gstreamer-libs-sections.txt:
17167         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17168         (helper_find_suggest), (gst_type_find_helper_get_range),
17169         (gst_type_find_helper):
17170         * libs/gst/base/gsttypefindhelper.h:
17171           New API: gst_type_find_helper_get_range() (#333042).
17172
17173 2006-03-02  Michael Smith  <msmith@fluendo.com>
17174
17175         * gst/gstregistryxml.c: (load_feature):
17176           Asserting on a failure to read part of the registry is Not Cool.
17177           Just log a warning and return NULL (which is already handled)
17178
17179 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17180
17181         * win32/common/libgstbase.def:
17182           added export of gst_type_find_helper_for_buffer
17183         * win32/common/libgstbase.def:
17184           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17185           gst_ghost_pad_get_target
17186
17187 2006-02-28  Wim Taymans  <wim@fluendo.com>
17188
17189         * docs/design/draft-klass.txt:
17190         We use Filter now.
17191         Added Connector to mark elements that are only used to
17192         allow pipeline connections.
17193         Moved Debug to extra feature since most of them are 
17194         functionally something else.
17195
17196 2006-02-28  Wim Taymans  <wim@fluendo.com>
17197
17198         * docs/design/draft-klass.txt:
17199         Some updates and clarifications.
17200
17201 2006-02-28  Wim Taymans  <wim@fluendo.com>
17202
17203         * docs/design/draft-klass.txt:
17204         Proposal for klass field values.
17205
17206         * docs/design/part-streams.txt:
17207         Start of a doc describing stream anatomy.
17208
17209 2006-02-28  Wim Taymans  <wim@fluendo.com>
17210
17211         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17212         Help the compiler a bit with type registration.
17213         Use existing forward cod path instead of duplicating it when 
17214         handling a message.
17215         
17216         * gst/gstbus.c: (gst_bus_get_type):
17217         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17218         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17219         * gst/gstclock.c: (gst_clock_get_type):
17220         * gst/gstelement.c: (gst_element_get_type),
17221         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17222         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17223         * gst/gstminiobject.c: (gst_mini_object_get_type):
17224         * gst/gstpad.c: (gst_pad_get_type):
17225         * gst/gstsegment.c: (gst_segment_get_type):
17226         * gst/gststructure.c: (gst_structure_get_type):
17227         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17228         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17229         * gst/gstvalue.c:
17230         Help compiler with type registration.
17231
17232         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17233         Small doc update.
17234
17235 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17236
17237         * plugins/elements/gsttypefindelement.c:
17238         (gst_type_find_element_handle_event):
17239           When we get an EOS event and have not found a type yet
17240           (most likely because we had not yet accumulated
17241           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17242           type given the data we have so far. Fixes typefinding
17243           for very short streams again, most notably quicktime
17244           redirections as used on Apple's trailer site (#331701).
17245
17246 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17247
17248         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17249         (gst_type_find_helper):
17250           Try typefinding factories with the highest rank first.
17251
17252 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17253
17254         * docs/libs/gstreamer-libs-docs.sgml:
17255         * docs/libs/gstreamer-libs-sections.txt:
17256         * libs/gst/base/gsttypefindhelper.c:
17257           Add section for typefind helper and add documentation
17258           for the old and the new function.
17259
17260 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17261
17262         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17263         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17264         (gst_type_find_helper_for_buffer):
17265         * libs/gst/base/gsttypefindhelper.h:
17266           New API: gst_type_find_helper_for_buffer() (#332723).
17267           
17268 2006-02-27  Michael Smith  <msmith@fluendo.com>
17269
17270         Patch by: Loïc Minier
17271
17272         * configure.ac:
17273         * docs/Makefile.am:
17274         * docs/slides/Makefile.am:
17275           prevent CVS directories getting disted.
17276
17277 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17278
17279         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17280           Use the REFCOUNTING category for caps refcounting.
17281           
17282 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17283
17284         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17285           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17286
17287 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17288
17289         * plugins/elements/gsttypefindelement.c:
17290         (gst_type_find_element_activate):
17291           Use gst_pad_check_pull_range() before _activate_pull()
17292           to avoid unnecessary open/close (see #331690).
17293
17294 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17295
17296         * gst/gstutils.c:
17297           Docs enhancement: make it crystal clear what the
17298           gst_pad_add_*_probe() callbacks should look like.
17299
17300 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17301
17302         * libs/gst/base/gstbasesrc.c:
17303           Document how applications can stop recording from
17304           live sources (see #330996).
17305
17306 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17307
17308         * tests/check/Makefile.am:
17309         * tests/check/libs/basesrc.c: (eos_event_counter),
17310         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17311         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17312         (gst_basesrc_suite), (main):
17313           ... and add some tests for the base source EOS stuff.
17314
17315 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17316
17317         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17318           Test case originally showed the problem fixed below,
17319           but was then amended. Add checks back at the place
17320           where they used to be.
17321
17322 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17323
17324         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17325         (gst_base_src_init), (gst_base_src_loop),
17326         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17327         (gst_base_src_change_state):
17328         * libs/gst/base/gstbasesrc.h:
17329           Don't unconditionally send EOS when going from PAUSED to
17330           READY state, esp. make sure we don't send two EOS events
17331           in some cases (e.g. one when reaching EOS and one when
17332           going from PAUSED to READY). Also, we don't want to send
17333           EOS events when operating in pull mode. However, we do
17334           want to send an EOS event when shutting down a live
17335           source explicitly, for example (fixes #330996).
17336           
17337 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17338
17339         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17340           Update src->read_position after a seek when not using mmap.
17341           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17342
17343 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17344
17345         * gst/Makefile.am:
17346         * gst/gstparse.h:
17347         * gst/gstutils.c:
17348         * gst/gstutils.h:
17349         Make things work with --disable-parse as they do with 
17350         --disable-load-save - the symbols involved disappear, but the
17351         header is still installed and GST_DISABLE_PARSE is included via
17352         gstconfig.h
17353
17354 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17355
17356         * libs/gst/base/gstbasetransform.c:
17357         (gst_base_transform_change_state): Fix a stupid bug. I was 
17358         sure I compiled that.
17359
17360 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17361
17362         * gst/gstpad.c: (gst_pad_set_blocked_async):
17363         * gst/gstutils.c: (gst_pad_add_data_probe),
17364         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17365         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17366         (gst_pad_remove_buffer_probe): Make those function act on the
17367         ghostpad target when it's a ghostpad. (Closes #331727)
17368
17369 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17370
17371         * libs/gst/base/gstbasetransform.c:
17372         (gst_base_transform_change_state): Make basetransform reusable.
17373         (Closes #331898)
17374
17375 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17376
17377         * docs/random/release:
17378         Move the current documentation of how to do a release to the top
17379         of the file.
17380
17381         * gst/gstbin.c: (gst_bin_class_init),
17382         (gst_bin_handle_message_func):
17383         Allow multiple state-recalculation threads. (Closes #328873)
17384
17385 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17386
17387         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17388         * gst/gstpad.c: (gst_pad_set_event_function),
17389         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17390         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17391         2 strings. You can't use the STR_NULL macro on that.
17392
17393 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17394
17395         * gst/gstpad.c: (gst_pad_set_event_function),
17396         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17397         (gst_pad_set_getcaps_function)
17398         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17399           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17400           So now, we can use --gst-debug-level=5 on Windows
17401         * win32/common/libgstcontroller.def:
17402           Added export of gst_controller_init
17403         * win32/vs6/libgstcontroller.dsp:
17404           Fixed Release post build configuration
17405
17406 2006-02-17  Wim Taymans  <wim@fluendo.com>
17407
17408         * tests/check/gst/gstquery.c: (GST_START_TEST):
17409         Added another check.
17410
17411 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17412
17413         * plugins/elements/gsttypefindelement.c: (find_peek):
17414           We can do peeks at non-zero offsets, as long as they
17415           fall within the buffer we have.
17416
17417 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17418
17419         * tests/check/Makefile.am:
17420         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17421         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17422         (parse_suite), (main):
17423           Add testsuite for parse launch syntax
17424
17425 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17426
17427         * plugins/elements/gsttypefindelement.c:
17428         (gst_type_find_element_chain):
17429           When typefinding is unsuccessful in the chain function, don't
17430           error out immediately. Only error out with NO_CAPS_FOUND if
17431           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17432           otherwise simply wait for more data so we can try typefinding
17433           again with more data later. Also, don't attempt to typefind
17434           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17435           this should improve typefinding from network sources where the
17436           size of the first buffer can be somewhat random.
17437
17438 2006-02-14  Wim Taymans  <wim@fluendo.com>
17439
17440         * docs/gst/gstreamer-sections.txt:
17441         * gst/gstpadtemplate.c:
17442         * gst/gstpadtemplate.h:
17443         Fix padtemplate docs, fixes #328805.
17444
17445 2006-02-14  Wim Taymans  <wim@fluendo.com>
17446
17447         * tools/gst-launch.c: (main):
17448         NO_PREROLL is not an ERROR so don't send confusing messages
17449         to the user.
17450
17451 2006-02-14  Wim Taymans  <wim@fluendo.com>
17452
17453         Patch by: Torsten Schoenfeld
17454
17455         * gst/gstregistry.c: (gst_registry_get_default),
17456         (_gst_registry_cleanup):
17457         Protect default registry with lock and ref/sink it.
17458         Fixes #324818
17459
17460 2006-02-14  Wim Taymans  <wim@fluendo.com>
17461
17462         * gst/gstbuffer.c:
17463         * gst/gstquery.c: (gst_query_list_add_format),
17464         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17465         (gst_query_parse_formats_nth):
17466         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17467         Docs fixes.
17468
17469 2006-02-14  Wim Taymans  <wim@fluendo.com>
17470
17471         * docs/gst/gstreamer-sections.txt:
17472         Reworked query docs.
17473
17474         * gst/gstquery.c: (gst_query_new_formats),
17475         (gst_query_list_add_format), (gst_query_set_formats),
17476         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17477         (gst_query_parse_formats_nth):
17478         * gst/gstquery.h:
17479         Flesh out formats query, added some new methods.
17480         Fix part of #324398.
17481
17482         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17483         Added query creation tests.
17484
17485 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17486
17487         * gst/gstpad.c: (fixate_value):
17488         Add a default fixation for fraction lists.
17489
17490 2006-02-13  Wim Taymans  <wim@fluendo.com>
17491
17492         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17493         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17494         (gst_task_join):
17495         * gst/gsttask.h:
17496         Detect and warn for obvious deadlocks. fixes #320340
17497         Fix error case where lock was not released.
17498
17499         * tests/check/Makefile.am:
17500         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17501         (task_func), (gst_element_suite), (main):
17502         Add task check.
17503
17504 2006-02-13  Wim Taymans  <wim@fluendo.com>
17505
17506         * docs/gst/gstreamer-sections.txt:
17507         * gst/gstbus.c:
17508         Add new functions to docs.
17509
17510 2006-02-13  Wim Taymans  <wim@fluendo.com>
17511
17512         * docs/design/part-TODO.txt:
17513         Updated TODO list, basesrc supports seeking to non-bytes
17514         formats.
17515
17516         * docs/design/part-element-sink.txt:
17517         Update docs.
17518
17519         * gst/gstbin.c: (bin_replace_message),
17520         (gst_bin_handle_message_func):
17521         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17522         * gst/gstevent.c: (gst_event_finalize):
17523         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17524         (gst_pad_send_event):
17525         Use shiny new _TYPE_NAME macros.
17526
17527         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17528         Move debug statement up.
17529
17530         * gst/gstelement.c: (gst_element_set_locked_state):
17531         Add some debugging.
17532
17533 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17534
17535         * docs/gst/gstreamer-sections.txt:
17536         * gst/gstmessage.h:
17537         * gst/gstquery.h:
17538           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17539           macros (#330906). Also, document the already existing
17540           GST_QUERY_TYPE macro.
17541
17542 2006-02-13  Wim Taymans  <wim@fluendo.com>
17543
17544         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17545         (event_probe), (GST_START_TEST):
17546         Only events up to the pipeline EOS are counted, there are
17547         some more when going to NULL currently which we don't care
17548         about for now.
17549
17550 2006-02-13  Wim Taymans  <wim@fluendo.com>
17551
17552         * gst/gstpad.c: (gst_pad_send_event):
17553         Correctly check flushing and emit probes. fixes #330125
17554
17555 2006-02-10  Andy Wingo  <wingo@pobox.com>
17556
17557         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17558         structure.
17559         (gst_bus_init): Cache the location of the private data in the
17560         instance structure.
17561         (gst_bus_enable_sync_message_emission) 
17562         (gst_bus_disable_sync_message_emission): Implement new public
17563         functions.
17564         (gst_bus_post): Emit the sync-message signal if the user asked for
17565         it. Fixes #330684.
17566
17567         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17568         location of the bus-private structure.
17569         (gst_bus_enable_sync_message_emission)
17570         (gst_bus_disable_sync_message_emission): API addition
17571
17572 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17573
17574         Patch by: Vincent Torri
17575
17576         * docs/pwg/building-boiler.xml:
17577         PWG patch from #326800
17578
17579 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17580
17581         * configure.ac:
17582         * docs/Makefile.am:
17583         * docs/design/Makefile.am:
17584           Dist design docs.
17585
17586 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17587
17588         * configure.ac:
17589           back to CVS
17590
17591 === release 0.10.3 ===
17592
17593 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17594
17595         * configure.ac:
17596           releasing 0.10.3, "Like a virgin"
17597
17598 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17599
17600         * configure.ac:
17601           2nd prerelease of 0.10.3
17602           Bump libtool versioning.
17603
17604 2006-02-07  Andy Wingo  <wingo@pobox.com>
17605
17606         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17607         update last_stop if we're in TIME format and the timestamp is
17608         valid.
17609
17610         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17611         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17612         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17613         If we get a new newsegment with a different format, adapt
17614         accordingly.
17615
17616         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17617         of 0. Not a problem, really.
17618
17619         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17620         warn if sync=true.
17621
17622 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17623
17624         * configure.ac:
17625           Prelease of 0.10.3
17626
17627 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17628
17629         * win32/vs7:
17630           project files updated to the default vs7 configuration
17631         * win32/common/libgstbase.def:
17632         * win32/common/libgstreamer.def:
17633           added new symbols,
17634           removed empty lines,
17635           sorted all exported symbols alphabetically
17636         * win32/common/dirent.c:
17637         * win32/common/dirent.h:
17638         * win32/common/gchar.h:
17639           use windows line end.
17640           
17641 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17642
17643         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17644           Send EOS event when stopping.
17645
17646 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17647
17648         * docs/README:
17649           Tell folks what to do if the plugin-foobar.xml file
17650           hasn't been generated for a newly-added plugin.
17651
17652 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17653
17654         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17655         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17656         (gst_collect_pads_start), (gst_collect_pads_stop),
17657         (gst_collect_pads_event): Collectpads now holds a reference
17658         to the GstPad that was added. Indeed we don't want to look
17659         at pads that might just go away with no warning...
17660
17661 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17662
17663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17664         (gst_collect_pads_start), (gst_collect_pads_stop),
17665         (gst_collect_pads_event), (gst_collect_pads_chain):
17666         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17667         Mark Nauwelaerts's patch on bug #328491.
17668
17669 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17670
17671         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17672         (gst_utils_suite):
17673           Add some simple tests for gst_parse_bin_from_description() and
17674           gst_bin_find_unconnected_pad() (#329069).
17675
17676 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17677
17678         * tools/gst-launch.c: (event_loop), (main):
17679           Catch errors during preroll (#320084).
17680
17681 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17682
17683         * plugins/elements/gsttypefindelement.c:
17684         (gst_type_find_element_activate):
17685           Post TYPE_NOT_FOUND error message when typefinding
17686           is unsuccessful in the activate function as well.
17687
17688 2006-02-02  Wim Taymans  <wim@fluendo.com>
17689
17690         * docs/design/part-element-sink.txt:
17691         Updated doc.
17692
17693 2006-02-02  Wim Taymans  <wim@fluendo.com>
17694
17695         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17696         (gst_base_sink_render_object),
17697         (gst_base_sink_queue_object_unlocked):
17698         Only keep track of prerollable items when we are 
17699         prerolling.
17700         Before rendering after preroll, always check if we
17701         have queued items.
17702         Added some more debugging.
17703
17704 2006-02-02  Wim Taymans  <wim@fluendo.com>
17705
17706         * gst/gstelement.c: (gst_element_continue_state),
17707         (gst_element_set_state_func), (gst_element_change_state):
17708         Fixed #326576, been running this for quite some time with
17709         no regressions at all.
17710
17711 2006-02-02  Wim Taymans  <wim@fluendo.com>
17712
17713         * common/gst.supp:
17714         Added more suppressions
17715
17716 2006-02-02  Wim Taymans  <wim@fluendo.com>
17717
17718         * docs/design/part-element-sink.txt:
17719         Updated document.
17720
17721         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17722         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17723         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17724         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17725         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17726         (gst_base_sink_preroll_object),
17727         (gst_base_sink_queue_object_unlocked),
17728         (gst_base_sink_queue_object), (gst_base_sink_event),
17729         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17730         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17731         (gst_base_sink_get_position), (gst_base_sink_change_state):
17732         * libs/gst/base/gstbasesink.h:
17733         Totally refactored matching the design doc.
17734         Use two segments, one to clip incomming buffers and another to
17735         perform sync.
17736         Handle queueing correctly, bypass the queue when playing.
17737         Make EOS cancelable.
17738         Handle errors correctly when operating in pull based mode.
17739
17740         * tests/check/elements/fakesink.c: (GST_START_TEST),
17741         (fakesink_suite):
17742         Added new check for sinks.
17743
17744 2006-02-02  Wim Taymans  <wim@fluendo.com>
17745
17746         * gst/gstsegment.c: (gst_segment_clip):
17747         No reason to refuse to clip when start == -1
17748
17749 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17750
17751         * docs/README:
17752         * docs/manual/intro-basics.xml:
17753         * docs/manual/intro-preface.xml:
17754         * docs/manual/manual.xml:
17755         * docs/pwg/advanced-dparams.xml:
17756         * docs/pwg/intro-basics.xml:
17757         * docs/pwg/intro-preface.xml:
17758         * docs/pwg/pwg.xml:
17759           describe dparams (controller) for plugins
17760           unify docs a little more
17761
17762 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17763
17764         * docs/gst/gstreamer-sections.txt:
17765         * gst/gstutils.c: (element_find_unconnected_pad),
17766         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17767         * gst/gstutils.h:
17768           Add new API: gst_parse_bin_from_description() and
17769           gst_bin_find_unconnected_pad() (#329069).
17770
17771 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17772
17773         * docs/manual/README:
17774           uncover a nasty detail of the docs build
17775
17776 2006-01-31  Wim Taymans  <wim@fluendo.com>
17777
17778         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17779         Don't cache duration messages if we're not going to use or
17780         free them.
17781
17782 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17783
17784         * docs/manual/advanced-dparams.xml:
17785         * docs/pwg/advanced-dparams.xml:
17786           more dparam docs
17787         * gst/gstindex.c:
17788           fix docs
17789         * libs/gst/controller/lib.c: (gst_controller_init):
17790           init just once
17791
17792 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17793
17794         * gst/gstelement.c: (gst_element_message_full):
17795           also show file/line/func if no additional debug was given
17796
17797 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17798         
17799         * win32/vs7/grammar.vcproj:
17800           activate copy of autogenerated files for Release mode
17801
17802 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17803         
17804         * win32/common/libgstreamer.def:
17805           export gst_value_compare
17806
17807 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17808
17809         * plugins/elements/Makefile.am:
17810         * plugins/elements/gstelements.c:
17811         * plugins/elements/gstfdsink.c: (_do_init),
17812         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17813         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17814         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17815         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17816         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17817         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17818         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17819         * plugins/elements/gstfdsink.h:
17820         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17821
17822 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17823
17824         * docs/manual/advanced-dparams.xml:
17825           describe controller
17826         * docs/manual/advanced-position.xml:
17827         * docs/manual/basics-init.xml:
17828         * docs/manual/manual.xml:
17829         * docs/manual/titlepage.xml:
17830         * docs/pwg/pwg.xml:
17831         * docs/pwg/titlepage.xml:
17832           cleanup xml (more to come)
17833         * libs/gst/controller/gstcontroller.c:
17834           fix typo
17835
17836 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17837         
17838         * win32/vs6/grammar.dsp:
17839           add autogen of gstmarshal.c,h for Release mode
17840                 
17841 2006-01-30  Wim Taymans  <wim@fluendo.com>
17842
17843         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17844         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17845         (gst_base_sink_handle_object), (gst_base_sink_event),
17846         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17847         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17848         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17849         (gst_base_sink_deactivate), (gst_base_sink_activate),
17850         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17851         (gst_base_sink_query), (gst_base_sink_change_state):
17852         Basesink cleanups, remove some old code.
17853         Handle the case where a subclass can preroll in the render
17854         method (mostly audiosinks).
17855         Handle more events.
17856         Remove some locks around variables that are now protected
17857         with the PREROLL_LOCK (clock_id, flushing, ..).
17858         Optimize position query some more, do correct locking.
17859         Remove old code to push queue in state change, this is not
17860         needed anymore since preroll blocks on all prerollable items 
17861         now.
17862         Almost implemented as described in design doc.
17863
17864 2006-01-30  Wim Taymans  <wim@fluendo.com>
17865
17866         * tests/check/gst/gstbin.c: (GST_START_TEST):
17867         Wait for refcount to settle down before checking.
17868
17869 2006-01-30  Wim Taymans  <wim@fluendo.com>
17870
17871         * docs/design/part-element-sink.txt:
17872         Pseudo code overview of desired sink behaviour regarding
17873         preroll.
17874
17875 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17876         * win32/vs6/grammar.dsp:
17877           fix some bugs in Release mode for autogenerated files
17878                 
17879 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17880         * win32/common/libgstbase.def:
17881         * win32/common/libgstreamer.def:
17882           export some new symbols: gst_base_src_set_format,
17883           gst_iterator_next, gst_structure_set_valist
17884
17885 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17886
17887         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17888         Set pad functions unconditionally. Fixes #329105.
17889
17890 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17891         * win32/vs8:
17892           add vs8 project files created by Sergey Scobich
17893
17894 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17895
17896         * gst/gstutils.c: (gst_element_unlink_pads):
17897         Don't leak pad references.
17898
17899         * tests/check/elements/fakesink.c: (GST_START_TEST):
17900         * tests/check/generic/sinks.c: (GST_START_TEST):
17901         * tests/check/generic/states.c: (GST_START_TEST):
17902         * tests/check/gst/gstbin.c: (GST_START_TEST):
17903         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17904         * tests/check/gst/gstelement.c: (GST_START_TEST):
17905         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17906         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17907         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17908         Fix a bunch of leaks. Make generic/sinks.c
17909         use a bit less cpu by slowing the buffer rate
17910         between fakesrc and fakesink.
17911         
17912 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17913         * gst/gstcaps.c:
17914         * gst/gstelement.c: (gst_element_send_event):
17915         * gst/gstevent.c:
17916         * gst/gstinfo.c:
17917         * gst/gstiterator.c:
17918         * gst/gstiterator.h:
17919         * gst/gstpad.c: (gst_pad_send_event):
17920         * gst/gststructure.c:
17921         * gst/gsturi.c:
17922         * gst/gstutils.c:
17923         * gst/gstvalue.c:
17924         * libs/gst/base/gstadapter.c:
17925           doc fixes, to link to function, just write gst_cool_function(), don't
17926           prefix with '#'
17927
17928 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17929
17930         * plugins/elements/gsttee.c: (gst_tee_do_push),
17931         (gst_tee_handle_buffer):
17932         Always prefer an actual return value from a src
17933         pad in place of NOT_LINKED. This means we return
17934         WRONG_STATE when all src pads are WRONG_STATE
17935         instead of NOT_LINKED.
17936
17937         Lock when replacing the last message to prevent
17938         racing with the get_property method.
17939
17940         Add debug output
17941
17942 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17943
17944         * tests/check/Makefile.am:
17945         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17946         (main):
17947         Add a very simple check that should have caught the memleak I fixed
17948         last night (if not for the slice allocator hiding it)
17949
17950 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17951
17952         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17953         (gst_bin_remove_func), (gst_bin_handle_message_func),
17954         (bin_query_duration_fold), (bin_query_generic_fold):
17955         Clean up references to the clock provider when disposed or when
17956         handling a clock-lost message from it.
17957
17958         Unref sinks when performing a query via gst_iterator_fold, as the
17959         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17960
17961         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17962         (gst_clock_set_master):
17963         Drop our reference to the master clock, if any, when we are disposed.
17964
17965         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17966         Chain up in dispose. 
17967
17968 2006-01-26  Wim Taymans  <wim@fluendo.com>
17969
17970         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17971         Add some debugging.
17972
17973 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17974
17975         * plugins/elements/gsttee.c: (gst_tee_do_push),
17976         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17977         handles pad being NOT_LINKED or in WRONG_STATE.
17978
17979 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17980
17981         * win32/MANIFEST:
17982           more updating
17983
17984 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17985
17986         * win32/MANIFEST:
17987           remove obsolete entry
17988
17989 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17990
17991         * docs/gst/gstreamer-sections.txt:
17992         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17993         (gst_bin_iterate_sources), (gst_bin_send_event):
17994         * gst/gstbin.h:
17995         * gst/gstelement.c: (gst_element_send_event):
17996         * gst/gstevent.c:
17997         * gst/gstpad.c: (gst_pad_send_event):
17998           added code for downstream events, reviewed docs in gstevent.c
17999
18000 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18001
18002         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18003         We only query position using the clock in the playing state.
18004         Query peer in the other cases.
18005         * win32/common/config.h: Updates.
18006
18007 2006-01-24  Wim Taymans  <wim@fluendo.com>
18008
18009         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18010         A clock entry that is scheduled for the exact time of the
18011         clock is still in time.
18012
18013         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18014         (gst_base_sink_do_sync):
18015         Add some more debug info.
18016
18017 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18018
18019         * win32/vs7:
18020           Add new vs7 project files and solution.
18021
18022 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18023
18024         * win32/vs7:
18025           all files removed as they were out-dated.
18026
18027 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18028
18029         * docs/random/release:
18030           update notes
18031         * gst/gstbin.c: (gst_bin_init):
18032         * gst/gstbus.c: (gst_bus_new):
18033         * gst/gstbus.h:
18034         * gst/gstpipeline.c: (gst_pipeline_init):
18035           use gst_bus_new(), improve logging, fix docs
18036         * win32/common/config.h:
18037           update for cvs build
18038
18039 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18040
18041         * autogen.sh:
18042           up required version of automake to 1.7
18043
18044 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18045
18046         * win32/common/libgstreamer.def:
18047           export gst_buffer_is_metadata_writable
18048
18049 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18050
18051         * docs/gst/gstreamer-sections.txt:
18052         * gst/gstevent.h:
18053           Add gst_event_replace() (#327001)
18054
18055 2006-01-20  Wim Taymans  <wim@fluendo.com>
18056
18057         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18058         Make it actually compile too..
18059
18060 2006-01-20  Wim Taymans  <wim@fluendo.com>
18061
18062         * gst/gstcaps.c:
18063         Clarify behaviour of _is_equal() when passing NULL parameters.
18064
18065         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18066         (gst_pad_set_caps):
18067         Cleanups. Don't unref NULL caps.
18068         When setting the same caps, protect caps of the pad with
18069         proper lock.
18070         Use full functionality of _is_equal() when comparing caps.
18071
18072 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18073
18074         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18075         Don't loop infinitely if there are no buffers to present. Partially
18076         fixes #327197, but collectpads is just broken for reusing elements
18077         to do multiple encodes atm.
18078
18079 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18080
18081         * tools/gst-inspect.c: (print_element_features):
18082         * tools/gst-xmlinspect.c: (main):
18083         URL_HANDLER is not a plugin feature we can search for in
18084         the registry.
18085
18086 2006-01-19  Edward Hervey  <edward@fluendo.com>
18087
18088         * gst/gstelement.c: (gst_element_pads_activate): 
18089         When activating, do src pads first, then sink pads.
18090         When de-activating, do sink pads first, then src pads.
18091
18092 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18093
18094         * docs/gst/gstreamer-sections.txt:
18095         Add gst_index_add_associationv to the docs
18096
18097 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18098
18099         * gst/gstevent.c:
18100           Fix docs typo
18101
18102         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18103         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18104           Do some refactoring. Doesn't actually change functionality,
18105           but makes landing the DRAIN event easier later.
18106
18107 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18108
18109         * docs/pwg/advanced-scheduling.xml:
18110           Update from 0.9.x to 0.10 API and make example a bit
18111           clearer.
18112
18113 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18114
18115         * docs/gst/gstreamer-sections.txt:
18116         Add gst_buffer_(is|make)_metadata_writable methods.
18117
18118 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18119
18120         * docs/design/part-sparsestreams.txt:
18121         Update sparse streams doc, hopefully for greater clarity
18122
18123 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18124
18125         * docs/design/part-events.txt:
18126         Remove mention of FILLER events.
18127         Add DRAIN event.
18128
18129         * docs/design/part-sparsestreams.txt:
18130         Write some things about using NEWSEGMENT to keep sparse streams
18131         flowing.
18132
18133 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18134
18135         * gst/gstbin.c: (gst_bin_dispose):
18136           Guard gst_object_unref call against a NULL object (dispose
18137           can theoretically be called multiple times).
18138           
18139 2006-01-18  Wim Taymans  <wim@fluendo.com>
18140
18141         * gst/gstbin.c: (gst_bin_element_set_state):
18142         * gst/gstclock.c: (gst_clock_id_wait):
18143         Added some more debug info.
18144
18145         * libs/gst/base/gstadapter.c:
18146         Added more docs.
18147
18148         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18149         (gst_base_sink_do_sync), (gst_base_sink_chain):
18150         Added some comments.
18151
18152 2006-01-18  Wim Taymans  <wim@fluendo.com>
18153
18154         * tests/check/Makefile.am:
18155         * tests/check/elements/fakesink.c: (chain_async_buffer),
18156         (chain_async), (chain_async_return), (GST_START_TEST),
18157         (fakesink_suite), (main):
18158         Added fakesink test that checks prerolling and clipping
18159         behaviour.
18160
18161         * tests/check/gst/gstutils.c: (GST_START_TEST):
18162         Make check run faster so that buildbots don't timeout.
18163
18164 2006-01-18  Wim Taymans  <wim@fluendo.com>
18165
18166         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18167         (gst_base_sink_do_sync):
18168         Some cleanups.
18169         When the sink finishes blocking on the preroll buffer, it can
18170         immediatly render it instead of rendering when the next buffer
18171         arrives.
18172
18173 2006-01-18  Wim Taymans  <wim@fluendo.com>
18174
18175         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18176         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18177         (gst_base_sink_chain):
18178         Small cleanups.
18179         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18180         Don't store _last_stop if the buffer is dropped.
18181
18182 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18183
18184         * plugins/elements/gsttypefindelement.c:
18185         (gst_type_find_element_class_init):
18186           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18187           object method handler that sets the caps on the pad and we want
18188           that to happen before we emit the signal (fixes e.g. feeding a
18189           plain text file to decodebin).
18190
18191 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18192
18193         * gst/gstplugin.c: Add MPL and Proprietary as license options
18194
18195 2006-01-18  Andy Wingo  <wingo@pobox.com>
18196
18197         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18198         symbol was exported before, it appears this was just an oversight.
18199         Fixes #168703.
18200         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18201
18202         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18203         prototype to gint. OK since this prototype was not in the header.
18204
18205 2006-01-17  Andy Wingo  <wingo@pobox.com>
18206
18207         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18208         registry while we remove plugins.
18209
18210         * tools/gst-inspect.c (print_element_info): Don't unref the
18211         factory arg, that should be the responsibility of whatever code
18212         received the ref. Fixes a double-free when called from
18213         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18214         (main): Unref the factory if we have one.
18215         (print_element_list): No change -- relies on the
18216         plugin_feature_list_free to free the list of features.
18217
18218 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18219
18220         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18221         (gst_buffer_make_metadata_writable):
18222         * gst/gstbuffer.h:
18223         * libs/gst/base/gstbasetransform.c:
18224         (gst_base_transform_prepare_output_buf):
18225         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18226         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18227           Replace gst_buffer_(make|is)_metadata_writable patch now
18228           that the release is out.
18229
18230 2006-01-17  Andy Wingo  <wingo@pobox.com>
18231
18232         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18233         in the present tense without reference to versions.
18234
18235         * gst/gstregistry.c (gst_registry_add_plugin)
18236         (gst_registry_remove_plugin, gst_registry_remove_feature)
18237         (gst_registry_find_feature, gst_registry_get_feature_list)
18238         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18239         (gst_registry_lookup, gst_registry_scan_path)
18240         (_gst_registry_remove_cache_plugins)
18241         (gst_registry_get_feature_list_by_plugin): Add argument
18242         validation.
18243
18244 === release 0.10.2 ===
18245
18246 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18247
18248         * configure.ac:
18249           releasing 0.10.2, "If man is five"
18250
18251 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18252
18253         * gst/gstbuffer.c:
18254         * gst/gstbuffer.h:
18255         * libs/gst/base/gstbasetransform.c:
18256         (gst_base_transform_prepare_output_buf):
18257         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18258         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18259           Back out patch until after the release.
18260
18261 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18262
18263         * gst/gstminiobject.c:
18264           Spelling fix in docs.
18265         * ChangeLog - remove conflict indicator
18266
18267 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18268
18269         Reviewed By: Andy Wingo
18270
18271         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18272         (gst_buffer_make_metadata_writable):
18273         * gst/gstbuffer.h:
18274           Add gst_buffer_(is|make)_metadata_writable as analogues of
18275           gst_buffer_(is|make)_writable.
18276
18277         * libs/gst/base/gstbasetransform.c:
18278         (gst_base_transform_prepare_output_buf):
18279         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18280           Use name gst_buffer_(is|make)_metadata_writable functions.
18281
18282         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18283           Test gst_buffer_(is|make)_metadata_writable
18284         
18285           (Closes: #324162)
18286
18287 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18288
18289         * docs/manual/Makefile.am:
18290           don't do parallel make
18291         * configure.ac:
18292           AC_SUBST HOST_CPU
18293         * win32/common/config.h.in:
18294           add generations for HOST_CPU and GST_MAJORMINOR
18295         * win32/common/config.h:
18296           commit generated result
18297
18298 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18299
18300         * docs/manual/appendix-integration.xml:
18301           Update GNOME integration section to use gst_init_get_option_group()
18302           instead of the old popt stuff (#322911). Also, GNOME applications
18303           should  now use gconf*sink and gconf*src instead of the old gconf
18304           helper lib we had.
18305
18306 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18307
18308
18309         * docs/gst/gstreamer-docs.sgml:
18310         * docs/gst/gstreamer-sections.txt:
18311         * docs/libs/gstreamer-libs-sections.txt:
18312           add new API entries to the docs
18313         * libs/gst/controller/Makefile.am:
18314         * libs/gst/controller/gstcontroller.c:
18315         * libs/gst/controller/gstcontroller.h:
18316         * libs/gst/controller/gstcontrollerprivate.h:
18317         * libs/gst/controller/gsthelper.c:
18318         * libs/gst/controller/gstinterpolation.c:
18319           move private structs to private header
18320         * po/README:
18321           gstreamer-0.7 -> gstreamer-0.10
18322         * tests/check/libs/struct_i386.h:
18323           remove private structs
18324
18325 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18326
18327         * plugins/indexers/Makefile.am:
18328           Fixes as part of #317048
18329
18330 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18331
18332         * plugins/indexers/Makefile.am:
18333           fix #316086 - compilation when mmap is missing
18334
18335 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18336
18337         * libs/gst/base/gstbasesink.c:
18338           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18339           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18340         * win32/common/config.h:
18341           added some defines GST_MAJORMINOR and HOST_CPU
18342         * win32/common/libgstbase.def:
18343         * win32/common/libgstreamer.def:
18344           added some exported functions.
18345
18346 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18347
18348         * libs/gst/controller/gstcontroller.c:
18349         (gst_controlled_property_set_interpolation_mode),
18350         (gst_controlled_property_new):
18351         * libs/gst/controller/gstcontroller.h:
18352         * libs/gst/controller/gstinterpolation.c:
18353         (interpolate_none_get_string_value_array):
18354           make G_TYPE_STRING controlable
18355
18356 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18357
18358         * tools/README:
18359         * tools/gst-feedback.1.in:
18360         * tools/gst-inspect.1.in:
18361         * tools/gst-launch.1.in:
18362         * tools/gst-md5sum.1.in:
18363         * tools/gst-typefind.1.in:
18364         * tools/gst-xmlinspect.1.in:
18365         * tools/gst-xmllaunch.1.in:
18366           cleanup man-pages, remove reference to gst-register, document env-vars
18367
18368 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18369
18370         * gst/gstbuffer.c: (gst_buffer_span):
18371           gst_buffer_span should copy the timestamp of the first buffer
18372           if they were both originally overlapping subbuffers of the 
18373           same parent, using the same logic as the 'slow copy' case.
18374
18375 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18376
18377         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18378           Need to awaken ALL the pads when we pop a buffer, otherwise
18379           collectpads only works when there is 2 input streams.
18380
18381 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18382
18383         * docs/random/ensonic/media-device-daemon.txt:
18384           more ideas (dbus)
18385         * gst/gstbuffer.c:
18386           fix doc example, add clarification
18387         * tools/gst-launch.1.in:
18388           add initial info about GST_PLUGIN_PATH, needs more work
18389
18390 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18391
18392         * docs/manual/basics-bins.xml:
18393         * docs/manual/basics-elements.xml:
18394         * docs/manual/intro-basics.xml:
18395           Some more minor docs additions and updates.
18396
18397 2006-01-11  Wim Taymans  <wim@fluendo.com>
18398
18399         * docs/manual/basics-bins.xml:
18400         * docs/manual/basics-elements.xml:
18401         Some small fixes as pointed out by Ser-ver on IRC.
18402
18403 2006-01-10  Edward Hervey  <edward@fluendo.com>
18404
18405         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18406         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18407         the single-segment mode.
18408
18409 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18410
18411         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18412
18413         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18414         (gst_base_src_perform_seek), (gst_base_src_send_event),
18415         (gst_base_src_set_property), (gst_base_src_get_property),
18416         (gst_base_src_loop), (gst_base_src_start),
18417         (gst_base_src_activate_push):
18418         * libs/gst/base/gstbasesrc.h:
18419           Name (private) union; makes Sun's Forte compiler happy (#324900).
18420
18421 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18422
18423         * README:
18424           gst-register is gone.
18425
18426 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18427
18428         * gst/gstvalue.c: (_gst_value_initialize):
18429           make the G_TYPE_DATE instantiation work if debug is disabled
18430
18431 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18432
18433         * gst/gstmessage.c: (gst_message_parse_tag),
18434         (gst_message_parse_error), (gst_message_parse_warning):
18435           Don't crash when return location for error/warning debug
18436           string is NULL; add fact that return locations can be
18437           NULL to docs where appropriate.
18438
18439 2006-01-05  Wim Taymans  <wim@fluendo.com>
18440
18441         * gst/gstplugin.c: (gst_plugin_load_file):
18442         Replace strdup by g_strdup.
18443
18444 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18445
18446         * docs/pwg/advanced-types.xml:
18447           fix doc borkage
18448
18449 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         submitted by: Abel Cheung
18452
18453         * po/LINGUAS:
18454         * po/zh_TW.po:
18455           Added Chinese (traditional) translation
18456
18457 2006-01-04  Wim Taymans  <wim@fluendo.com>
18458
18459         * docs/manual/basics-pads.xml:
18460         * docs/plugins/Makefile.am:
18461         * docs/plugins/gstreamer-plugins-docs.sgml:
18462         * docs/plugins/gstreamer-plugins-sections.txt:
18463         * docs/pwg/advanced-clock.xml:
18464         * docs/pwg/advanced-scheduling.xml:
18465         * docs/pwg/advanced-types.xml:
18466         * plugins/elements/gstfdsink.c:
18467         * plugins/elements/gstfdsrc.c:
18468         * plugins/elements/gstfdsrc.h:
18469         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18470         * plugins/elements/gstidentity.h:
18471         * plugins/elements/gstqueue.h:
18472         * plugins/elements/gsttee.c:
18473         * plugins/elements/gsttee.h:
18474         * plugins/elements/gsttypefindelement.c:
18475         (gst_type_find_element_class_init):
18476         * plugins/elements/gsttypefindelement.h:
18477         Small updates to various docs.
18478         Added core plugins to docs.
18479
18480 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18481
18482         * common/gst.supp:
18483           add a suppression for liboil's uninitialized variable
18484
18485 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18486
18487         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18488
18489         * gst/gstutils.h:
18490           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18491           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18492           compiler switch is being used (#325429).
18493
18494 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18495
18496         * gst/gstbin.c: (gst_bin_query):
18497           Disable duration query caching in bins until it gets
18498           fixed (see #324807).
18499
18500 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * tools/gst-inspect.c: (print_element_properties_info):
18503           Handle properties of POINTER and BOXED type.
18504
18505 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18506
18507         * gst/gst.c: (init_post):
18508           Init tags stuff and some other things before loading
18509           any static plugins (there may be other static plugins
18510           than just the GStreamer ones, and they may want to
18511           register their own tags or formats or whatever, and
18512           preferably without segfaulting).
18513
18514         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18515           Print at least a warning in the debug logs if we drop a
18516           query just because we don't know how to adjust the value
18517           in the particular format.
18518
18519 2005-12-24  David Schleef  <ds@schleef.org>
18520
18521         * tools/gstreamer-completion:
18522           Replacement for gst-complete written in sh and sed.  Only
18523           completes names of features, but that's 90% of what I want
18524           it for.  Properties are not available in registry.xml.  (Maybe
18525           they should be...)
18526
18527 === release 0.10.1 ===
18528
18529 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18530
18531         * configure.ac:
18532           releasing 0.10.1, "Nollaig chridheil"
18533
18534 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18535
18536         * docs/faq/cvs.xml:
18537           Add missing quote, should be make ERROR_CFLAGS="".
18538
18539 2005-12-20  Wim Taymans  <wim@fluendo.com>
18540
18541         * docs/design/part-trickmodes.txt:
18542         More documentation on trickmodes.
18543
18544 2005-12-20  Edward Hervey  <edward@fluendo.com>
18545
18546         * gst/gstcaps.c: (gst_static_caps_get_type):
18547         * gst/gstcaps.h:
18548           API addition: GST_TYPE_STATIC_CAPS
18549         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18550         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18551         * gst/gstpadtemplate.h:
18552           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18553         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18554         bindings.
18555
18556 2005-12-18  Wim Taymans  <wim@fluendo.com>
18557
18558         * libs/gst/base/gstadapter.c:
18559         * libs/gst/base/gstadapter.h:
18560         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18561         (gst_base_sink_get_position):
18562         * libs/gst/base/gstbasesink.h:
18563         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18564         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18565         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18566         (gst_base_src_send_event), (gst_base_src_update_length),
18567         (gst_base_src_get_range), (gst_base_src_loop),
18568         (gst_base_src_start):
18569         * libs/gst/base/gstbasesrc.h:
18570         * libs/gst/base/gstbasetransform.h:
18571         * libs/gst/base/gstcollectpads.h:
18572         * libs/gst/base/gstpushsrc.c:
18573         * libs/gst/base/gstpushsrc.h:
18574         * libs/gst/dataprotocol/dataprotocol.c:
18575         * libs/gst/dataprotocol/dataprotocol.h:
18576         * libs/gst/net/gstnetclientclock.h:
18577         * libs/gst/net/gstnettimeprovider.h:
18578         Documentation updates.
18579
18580 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * docs/manual/basics-helloworld.xml:
18583           Remove superfluous closing bracket in helloworld example.
18584
18585 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18586
18587         * tools/gst-launch.1.in:
18588           Update gst-launch man page; add a section with useful
18589           environment variables. Fixes #323882.
18590
18591 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18592
18593         * gst/gst.c:
18594         * gst/gst_private.h:
18595           change some char* into char[]
18596
18597 2005-12-16  Wim Taymans  <wim@fluendo.com>
18598
18599         * gst/gstregistryxml.c: (load_feature):
18600         Cleanups.
18601         Don't use g_object_unref on GstObjects so that we avoid
18602         leaks on unsafe glibs.
18603
18604 2005-12-16  Wim Taymans  <wim@fluendo.com>
18605
18606         * gst/gstbin.c: (gst_bin_recalc_state):
18607         Small doc updates.
18608
18609 2005-12-16  Wim Taymans  <wim@fluendo.com>
18610
18611         * common/check.mak:
18612         Added make forever target for check.
18613
18614 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18615
18616         * gst/gst.c: (init_post):
18617           make the registry cache file HOST_CPU-dependent
18618
18619 2005-12-16  Andy Wingo  <wingo@pobox.com>
18620
18621         * plugins/elements/gstbufferstore.c
18622         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18623         return value.
18624
18625         * tests/check/gst/gstobject.c
18626         (test_fake_object_name_threaded_unique): Pay attention to
18627         g_list_sort return value.
18628
18629 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18630
18631         * tools/gst-feedback-m.m:
18632           Update for 0.9/0.10 (fixes #323870).
18633
18634 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18635
18636         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18637           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18638           
18639         * tests/check/gst/gstminiobject.c: (my_foo_init),
18640         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18641         (test_value_collection), (gst_mini_object_suite):
18642           Add test to ensure refcounts end up as expected when passing
18643           GstMiniObjects through g_object_get() and g_object_set().
18644
18645 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18646
18647         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18648         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18649         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18650         of collectpads. This version removes a lot of races without
18651         touching API/ABI. Yay !
18652
18653 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18654
18655         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18656           Don't allow activation of a srcpad in pull_range if it has no
18657           getrange function.
18658           Change some debug statements to be a little clearer
18659
18660         * plugins/elements/gsttypefindelement.c:
18661         (gst_type_find_handle_src_query):
18662           Check that we have a peer before executing queries thereupon.
18663
18664         * tests/examples/metadata/read-metadata.c: (message_loop):
18665           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18666           immediately return us any available message with 0 timeout.
18667
18668 2005-12-12  Michael Smith  <msmith@fluendo.com>
18669
18670         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18671           Don't unref factories after calling them.
18672         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18673         * plugins/elements/gsttypefindelement.c:
18674         (gst_type_find_element_chain):
18675           Free lists of factories after using them. Fixing typefinding memory
18676           leaks.
18677
18678 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18679
18680         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18681         (gst_plugin_feature_load):
18682           more meaningful debug output
18683         * configure.ac:
18684         * tests/Makefile.am:
18685         * tests/old/examples/Makefile.am:
18686           make make distcheck happy again
18687
18688 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18689
18690         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18691           Catch the special case where we are operating chain-based,
18692           but the downstream peer pad has no chain function. Emit a
18693           custom error message in this case instead of letting the
18694           core generate one implying that this is some sort of core
18695           bug. It's not, it just means that whatever got plugged
18696           into the pipeline downstream when we announced the type
18697           can only operate pull-based, while our source can only
18698           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18699           Error string has not been marked for translation yet, as
18700           it probably needs some more work first.
18701
18702         (gst_type_find_element_get_best_possibility):
18703           Add helper function to find the best of all available
18704           found possibilities that qualify given the min. threshold.
18705
18706         (gst_type_find_element_handle_event):
18707           Fix the case where we get an EOS while still in TYPEFIND
18708           mode (we want to chose the best of all possible types,
18709           not just the first type that happens to be in our unsorted
18710           list of possible types).
18711
18712         (gst_type_find_element_chain):
18713           Make sure we return GST_FLOW_ERROR when we errored out
18714           in stop_typefinding(); also, don't just find the best of
18715           all found type entries and then use the last examined
18716           type entry, but actually use the best entry.
18717
18718 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18719
18720         * tests/examples/typefind/typefind.c: (type_found):
18721         * tests/examples/xml/runxml.c: (xml_loaded):
18722           More gcc4 fixes and a mem leak fix.
18723
18724 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18725
18726         * tests/examples/xml/createxml.c: (object_saved):
18727           gcc 4 fixes
18728
18729 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18730
18731         * tests/Makefile.am:
18732           enable the examples even more
18733
18734 2005-12-12  Andy Wingo  <wingo@pobox.com>
18735
18736         * libs/gst/net/gstnettimeprovider.c
18737         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18738         (gst_net_time_provider_set_property)
18739         (gst_net_time_provider_get_property):
18740         API addition: Export "active" as a GObject property.
18741         (gst_net_time_provider_thread): Only respond to time queries if
18742         the time provider is active.
18743
18744         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18745         NetTimeProvider, preserving binary compat.
18746
18747 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18748
18749         * tests/examples/controller/audio-example.c: (main):
18750         * tests/examples/launch/Makefile.am:
18751           convert comments again
18752
18753 2005-12-12  Wim Taymans  <wim@fluendo.com>
18754
18755         * libs/gst/base/gstpushsrc.c:
18756         Fix typo.
18757
18758 2005-12-12  Wim Taymans  <wim@fluendo.com>
18759
18760         * docs/libs/gstreamer-libs-sections.txt:
18761         Added new symbol to docs.
18762
18763         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18764         (gst_base_src_init), (gst_base_src_set_format),
18765         (gst_base_src_default_query), (gst_base_src_query),
18766         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18767         (gst_base_src_perform_seek), (gst_base_src_send_event),
18768         (gst_base_src_default_event), (gst_base_src_event_handler),
18769         (gst_base_src_set_property), (gst_base_src_get_property),
18770         (gst_base_src_wait), (gst_base_src_do_sync),
18771         (gst_base_src_update_length), (gst_base_src_get_range),
18772         (gst_base_src_check_get_range), (gst_base_src_loop),
18773         (gst_base_src_default_negotiate), (gst_base_src_start),
18774         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18775         (gst_base_src_change_state):
18776         * libs/gst/base/gstbasesrc.h:
18777         Implement seeking to other formats than _BYTES.
18778         Implement more seeking methods correctly.
18779         Doc updates.
18780         Added query vmethod.
18781         Added do_seek vmethod to make life easier for subclasses
18782         when seeking.
18783         API addition: gst_base_src_set_format()
18784
18785 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18786
18787         * tests/examples/Makefile.am:
18788           added that too
18789
18790 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18791
18792         * configure.ac:
18793         * docs/random/ensonic/media-device-daemon.txt:
18794         * tests/examples/controller/.cvsignore:
18795         * tests/examples/controller/Makefile.am:
18796         * tests/examples/controller/audio-example.c: (main):
18797         * tests/examples/helloworld/.cvsignore:
18798         * tests/examples/helloworld/Makefile.am:
18799         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18800         * tests/examples/launch/.cvsignore:
18801         * tests/examples/launch/Makefile.am:
18802         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18803         * tests/examples/metadata/.cvsignore:
18804         * tests/examples/metadata/Makefile.am:
18805         * tests/examples/metadata/read-metadata.c: (message_loop),
18806         (make_pipeline), (print_tag), (main):
18807         * tests/examples/queue/.cvsignore:
18808         * tests/examples/queue/Makefile.am:
18809         * tests/examples/queue/queue.c: (event_loop), (main):
18810         * tests/examples/typefind/.cvsignore:
18811         * tests/examples/typefind/Makefile.am:
18812         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18813         (main):
18814         * tests/examples/xml/.cvsignore:
18815         * tests/examples/xml/Makefile.am:
18816         * tests/examples/xml/createxml.c: (object_saved), (main):
18817         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18818         * tests/old/examples/Makefile.am:
18819         * tests/old/examples/TODO:
18820         * tests/old/examples/controller/.cvsignore:
18821         * tests/old/examples/controller/Makefile.am:
18822         * tests/old/examples/controller/audio-example.c:
18823         * tests/old/examples/helloworld/.cvsignore:
18824         * tests/old/examples/helloworld/Makefile.am:
18825         * tests/old/examples/helloworld/helloworld.c:
18826         * tests/old/examples/launch/.cvsignore:
18827         * tests/old/examples/launch/Makefile.am:
18828         * tests/old/examples/launch/mp3parselaunch.c:
18829         * tests/old/examples/launch/mp3play:
18830         * tests/old/examples/manual/Makefile.am:
18831         * tests/old/examples/metadata/Makefile.am:
18832         * tests/old/examples/metadata/read-metadata.c:
18833         * tests/old/examples/queue/.cvsignore:
18834         * tests/old/examples/queue/Makefile.am:
18835         * tests/old/examples/queue/queue.c:
18836         * tests/old/examples/typefind/.cvsignore:
18837         * tests/old/examples/typefind/Makefile.am:
18838         * tests/old/examples/typefind/typefind.c:
18839         * tests/old/examples/xml/.cvsignore:
18840         * tests/old/examples/xml/Makefile.am:
18841         * tests/old/examples/xml/createxml.c:
18842         * tests/old/examples/xml/runxml.c:
18843           applied some simple fixing to some examples
18844           re-enabled the working examples
18845
18846 2005-12-12  Wim Taymans  <wim@fluendo.com>
18847
18848         * gst/gstsegment.c: (gst_segment_init),
18849         (gst_segment_set_last_stop), (gst_segment_set_seek),
18850         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18851         (gst_segment_to_running_time):
18852         Added more documentation.
18853         Make sure the last_pos value is updated properly.
18854         Make sure to_stream_time and to_running_time don't
18855         operate on wrong values.
18856
18857         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18858         Update check.
18859
18860 2005-12-12  Michael Smith  <msmith@fluendo.com>
18861
18862         * plugins/elements/gsttypefindelement.c: (free_entry),
18863         (gst_type_find_element_chain):
18864           Now that we're not leaking factories, make sure we keep references
18865           to them while we need them.
18866
18867 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18868
18869         * tests/check/gst/struct_i386.h:
18870           ifdef out the XML structs
18871
18872 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18873
18874         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18875           floor is not needed, F is always positive; this obviates the
18876           need for adding -lm when building without libxml
18877
18878 2005-12-12  Wim Taymans  <wim@fluendo.com>
18879
18880         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18881         Take current playback rate into account when reporting
18882         the position.
18883
18884 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18885
18886         * docs/manual/mime-world.fig:
18887           Let's try this again, this time with a file that is
18888           actually in XFig format.
18889
18890 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18891
18892         * docs/manual/mime-world.fig:
18893           Add audioconvert element to diagram so that it
18894           matches the text and the code (fixes #319526).
18895
18896 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18897
18898         * docs/pwg/building-chainfn.xml:
18899         * docs/pwg/building-pads.xml:
18900         * docs/pwg/building-state.xml:
18901         * docs/pwg/other-source.xml:
18902           Update state change stuff for 0.10 (fixes #322969).
18903
18904 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18905
18906         * docs/manual/advanced-dataaccess.xml:
18907         * docs/manual/appendix-checklist.xml:
18908         * docs/manual/appendix-programs.xml:
18909         * docs/manual/basics-pads.xml:
18910         * docs/manual/highlevel-components.xml:
18911         * docs/manual/manual.xml:
18912           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18913           add converters in front of pipelines; remove curly
18914           brackets for threads stuff, they no longer exist; use
18915           GST_TYPE_FRACTION for framerates; update some pieces of
18916           code to 0.10, but there's plenty more to do.
18917
18918         * docs/manual/appendix-porting.xml:
18919           Expand on asynchroneous state changes; s/0.9/0.10/;
18920           mention disappearance of gst_init_get_popt_table()
18921           (fixes #322916).
18922
18923 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18924
18925         * docs/faq/using.xml:
18926           Spider no longer exists, and neither does gst-launch-ext.
18927           Update examples to use decodebin and playbin and put
18928           converters in front of sinks (fixes #323726).
18929
18930 2005-12-09  Michael Smith  <msmith@fluendo.com>
18931
18932         * plugins/elements/gsttypefindelement.c: (find_peek),
18933         (gst_type_find_element_chain):
18934           Fix leaking element factories in typefinding.
18935           Fix problem where we forgot about a probable type on non-seekable
18936           files, and thus later mis-typefound it.
18937
18938 2005-12-09  Michael Smith  <msmith@fluendo.com>
18939
18940         * common/m4/gst-makecontext.m4:
18941         * common/m4/gst-mcsc.m4:
18942         * configure.ac:
18943         * win32/common/config.h:
18944         * win32/common/config.h.in:
18945           Remove makecontext stuff; not used in 0.10 and causes problems on
18946           HPUX according to bug #322441
18947
18948 2005-12-07  Wim Taymans  <wim@fluendo.com>
18949
18950         * tests/check/Makefile.am:
18951         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18952         (main):
18953         * tests/check/libs/struct_i386.h:
18954         Added ABI check for libs
18955
18956 2005-12-07  Wim Taymans  <wim@fluendo.com>
18957
18958         * tests/check/Makefile.am:
18959         And add the struct_i386.h to dist.
18960
18961 2005-12-07  Wim Taymans  <wim@fluendo.com>
18962
18963         * tests/check/Makefile.am:
18964         * tests/check/gst/.cvsignore:
18965         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18966         (main):
18967         * tests/check/gst/struct_i386.h:
18968         Added check for ABI compatibility.
18969
18970 2005-12-07  Wim Taymans  <wim@fluendo.com>
18971
18972         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18973         (gst_fake_src_get_times), (gst_fake_src_create):
18974         Fix broken sync option, fixes #323259
18975
18976 2005-12-07  Wim Taymans  <wim@fluendo.com>
18977
18978         * gst/gstbuffer.c:
18979         Small docs update.
18980
18981         * gst/gstcaps.c: (gst_caps_is_equal):
18982         Don't assert on NULL <--> X. Fixes #323260
18983
18984         * gst/gstminiobject.c: (gst_mini_object_replace):
18985         If we're doing atomic operations, we might just as well use
18986         the proper way to get an atomic pointer.
18987
18988         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18989         Clean up debugging.
18990
18991 2005-12-07  Michael Smith  <msmith@fluendo.com>
18992
18993         * gst/parse/grammar.y:
18994           Remove handling of { } for threads.
18995
18996 2005-12-06  David Schleef  <ds@schleef.org>
18997
18998         * libs/gst/base/gstbasetransform.c: speling fix.
18999
19000 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19001
19002         * docs/libs/tmpl/gstdataprotocol.sgml:
19003         * docs/random/omega/testing/gstobject.c:
19004         * gst/gst.c:
19005         * gst/gstclock.c:
19006         * gst/gstelement.c:
19007         * gst/gstelementfactory.c:
19008         * gst/gsterror.c:
19009         * gst/gstevent.c:
19010         * gst/gstghostpad.c:
19011         * gst/gstinfo.c:
19012         * gst/gstpadtemplate.c:
19013         * gst/gstregistryxml.c:
19014         * gst/gsttaglist.c:
19015         * gst/gsttagsetter.c:
19016         * gst/gsttypefind.c:
19017         * gst/gstvalue.c:
19018         * libs/gst/base/gstbasesrc.c:
19019         * libs/gst/net/gstnetclientclock.c:
19020         * libs/gst/net/gstnettimeprovider.c:
19021         * plugins/elements/gstfakesrc.c:
19022         * plugins/elements/gstfdsrc.c:
19023         * plugins/elements/gstfilesrc.c:
19024         * plugins/elements/gstidentity.c:
19025         * plugins/elements/gstqueue.c:
19026         * plugins/elements/gsttypefindelement.c:
19027         * plugins/indexers/gstfileindex.c:
19028         * plugins/indexers/gstmemindex.c:
19029         * tests/check/gst/gsttag.c:
19030         * tests/old/examples/cutter/cutter.c:
19031         * tests/old/examples/mixer/mixer.c:
19032         * tests/old/examples/xml/runxml.c: (main):
19033         * tests/old/testsuite/caps/normalisation.c:
19034         * tests/old/testsuite/debug/global.c:
19035         * tests/old/testsuite/parse/parse1.c:
19036         * tools/gst-xmlinspect.c:
19037         * win32/common/dirent.c:
19038           expand tabs
19039
19040 === release 0.10.0 ===
19041
19042 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19043
19044         * configure.ac:
19045           releasing 0.10.0, "Maroilles"
19046
19047 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         submitted by: Funda Wang <fundawang@linux.net.cn>
19050
19051         * po/LINGUAS:
19052         * po/zh_CN.po:
19053           added Chinese (Traditional) translation
19054
19055 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19056
19057         * docs/gst/gstreamer-sections.txt:
19058         * docs/libs/tmpl/gstdataprotocol.sgml:
19059         * docs/random/thomasvs/TODO:
19060         * gst/gstutils.c:
19061         * gst/gstutils.h:
19062           fix docs
19063
19064 2005-12-05  Andy Wingo  <wingo@pobox.com>
19065
19066         patch by: Wim Taymans <wim@fluendo.com>
19067
19068         * libs/gst/base/gstbasetransform.c
19069         (gst_base_transform_prepare_output_buf)
19070         (gst_base_transform_buffer_alloc):
19071         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19072         alloc_buffer_and_set_caps.
19073
19074         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19075         set_caps on the source pad.
19076         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19077         alloc_buffer used to do. Fixes #322874.
19078
19079         * docs/gst/gstreamer-sections.txt: 
19080         * docs/design/part-negotiation.txt: 
19081         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19082         changes.
19083
19084 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19085
19086         patch by: Sebastien Moutte
19087
19088         * win32/MANIFEST:
19089         * win32/common/config.h.in:
19090         * win32/vs6/libgstcontroller.dsp:
19091           win32 build fixes
19092
19093 2005-12-05  Wim Taymans  <wim@fluendo.com>
19094
19095         * gst/gstcaps.c: (gst_caps_is_equal):
19096         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19097         (gst_fake_src_create):
19098         Back out previous code changes, leave doc updates, file bugs 
19099         instead. 
19100
19101 2005-12-05  Wim Taymans  <wim@fluendo.com>
19102
19103         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19104         (gst_fake_src_get_times), (gst_fake_src_create):
19105         * plugins/elements/gstfakesrc.h:
19106         Fix broken sync code.
19107
19108 2005-12-05  Wim Taymans  <wim@fluendo.com>
19109
19110         * gst/gstcaps.c: (gst_caps_is_equal):
19111         Comparing NULL against !NULL yields different caps, not a
19112         failure.
19113
19114 2005-12-05  Wim Taymans  <wim@fluendo.com>
19115
19116         * gst/gstpipeline.c:
19117         Fix small typo in docs.
19118
19119 2005-12-05  Andy Wingo  <wingo@pobox.com>
19120
19121         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19122
19123         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19124         registries/plugins with a MAJORMINOR one.
19125         (plugin_desc): Rename library from gstcoreleements to
19126         staticelements. Fixes #323222.
19127
19128 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19129
19130         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19131           Change debug category to 'collectpads' from 'collect_pads'
19132           (fixes #323250).
19133
19134 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19135
19136         patch by: Sebastien Moutte
19137
19138         * libs/gst/controller/gstinterpolation.c:
19139           use convert function for uint64/double
19140         * win32/vs6/libgstcontroller.dsp:
19141           link to GLib
19142
19143 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19144
19145         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19146         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19147         * gst/gstutils.h:
19148         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19149           add tests that seem to show that the guint64/gdouble conversions
19150           are correct.
19151
19152 2005-12-02  Wim Taymans  <wim@fluendo.com>
19153
19154         * gst/gstregistry.c: (gst_registry_add_path):
19155         * gst/gstregistry.h:
19156         * gst/gstregistryxml.c:
19157         Fix docs again.
19158
19159 2005-12-02  Wim Taymans  <wim@fluendo.com>
19160
19161         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19162         (gst_util_uint64_scale_int):
19163         Small cleanup.
19164
19165         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19166         Add debug log line.
19167
19168         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19169         Add FIXME.
19170
19171 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19172
19173         * win32/MANIFEST:
19174         * win32/common/config.h:
19175         * win32/vs6/gstreamer.dsw:
19176         * win32/vs6/libgstcoreelements.dsp:
19177         * win32/vs6/libgstelements.dsp:
19178           renamed core elements plugin
19179
19180 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19183         (get_candidates):
19184           do piece-wise major/minor comparison so 0.9 < 0.10
19185           also allow .exe extensions for tools
19186
19187 2005-12-02  Michael Smith  <msmith@fluendo.com>
19188
19189         * gst/gst.c:
19190           Escape a % to make gtkdoc happier; bug 322958.
19191
19192 === release 0.9.7 ===
19193
19194 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19195
19196         * configure.ac:
19197           releasing 0.9.7, "My Dog Has No Nose"
19198
19199 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19200
19201         * common/gst-xmlinspect.py:
19202         * configure.ac:
19203         * docs/libs/tmpl/gstdataprotocol.sgml:
19204         * docs/random/release:
19205         * po/af.po:
19206         * po/az.po:
19207         * po/bg.po:
19208         * po/ca.po:
19209         * po/cs.po:
19210         * po/de.po:
19211         * po/en_GB.po:
19212         * po/fr.po:
19213         * po/it.po:
19214         * po/nb.po:
19215         * po/nl.po:
19216         * po/ru.po:
19217         * po/sq.po:
19218         * po/sr.po:
19219         * po/sv.po:
19220         * po/tr.po:
19221         * po/uk.po:
19222         * po/vi.po:
19223         * win32/common/config.h:
19224         * win32/common/config.h.in:
19225         * win32/vs6/gst_inspect.dsp:
19226         * win32/vs6/gst_launch.dsp:
19227         * win32/vs6/libgstbase.dsp:
19228         * win32/vs6/libgstelements.dsp:
19229         * win32/vs6/libgstreamer.dsp:
19230         * win32/vs7/GStreamer.vcproj:
19231         * win32/vs7/gst-inspect.vcproj:
19232         * win32/vs7/gst-launch.vcproj:
19233         * win32/vs7/libgstbase.vcproj:
19234           bump GST_MAJORMINOR to 0.10
19235           reset libtool version
19236
19237 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19238
19239         * po/LINGUAS:
19240         * po/bg.po:
19241           Added Bulgarian translation by (Alexander Shopov)
19242
19243 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19244
19245         * tests/check/gst/gstplugin.c:
19246           fix test
19247
19248 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19249
19250         * common/gst-xmlinspect.py:
19251         * common/gtk-doc-plugins.mak:
19252         * configure.ac:
19253         * docs/Makefile.am:
19254         * docs/gst/Makefile.am:
19255         * docs/gst/gstreamer-docs.sgml:
19256         * docs/gst/gstreamer-sections.txt:
19257         * docs/gst/gstreamer.types:
19258         * docs/gst/gstreamer.types.in:
19259         * docs/plugins/Makefile.am:
19260         * docs/plugins/gstreamer-plugins-docs.sgml:
19261         * docs/plugins/gstreamer-plugins-sections.txt:
19262         * docs/plugins/gstreamer-plugins.types:
19263         * docs/plugins/inspect.stamp:
19264         * docs/plugins/inspect/plugin-coreelements.xml:
19265         * docs/plugins/inspect/plugin-coreindexers.xml:
19266         * docs/plugins/scanobj-build.stamp:
19267         * gstreamer.spec.in:
19268         * plugins/elements/Makefile.am:
19269         * plugins/elements/gstelements.c:
19270         * plugins/elements/gstfakesink.c:
19271         * plugins/elements/gstfakesrc.c:
19272         * plugins/elements/gstfilesink.c:
19273         * plugins/elements/gstfilesrc.c:
19274         * plugins/elements/gstqueue.c:
19275         * plugins/indexers/Makefile.am:
19276         * plugins/indexers/gstindexers.c:
19277           document core plugins in a separate document just like all the
19278           others
19279           rename these plugins to something starting with core
19280
19281 2005-12-01  Andy Wingo  <wingo@pobox.com>
19282
19283         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19284         padding here before, but it missed the commit.
19285
19286 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19287
19288         * libs/gst/controller/gstinterpolation.c:
19289           whitespace prices have crashed, we should feel free to use some now
19290           use gst_guint64_to_gdouble
19291
19292 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19293
19294         * libs/gst/controller/gstcontroller.c:
19295         * libs/gst/controller/gsthelper.c:
19296         * libs/gst/controller/gstinterpolation.c:
19297         * libs/gst/controller/lib.c:
19298           wrap config.h include
19299
19300 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19301
19302         * docs/gst/gstreamer-sections.txt:
19303           update docs
19304
19305 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19306
19307         * plugins/elements/gstelements.c:
19308         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19309         (gst_fd_sink__class_init), (gst_fd_sink__init),
19310         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19311         (gst_fd_sink__get_property):
19312         * plugins/elements/gstfdsink.h:
19313         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19314         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19315         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19316         (gst_fd_src_unlock), (gst_fd_src_set_property),
19317         (gst_fd_src_get_property), (gst_fd_src_create),
19318         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19319         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19320         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19321         (gst_fd_src_uri_handler_init):
19322         * plugins/elements/gstfdsrc.h:
19323         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19324           more anal cleanup
19325
19326 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19327
19328         * docs/gst/Makefile.am:
19329         * docs/gst/gstreamer.types.in:
19330         * gst/Makefile.am:
19331           fix the docs build
19332
19333 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19334
19335         * configure.ac:
19336         * gst/Makefile.am:
19337         * gst/gst.c:
19338         * gst/gstplugin.h:
19339         * gst/gstregistry.h:
19340         * tests/benchmarks/complexity.c:
19341         * tests/benchmarks/mass-elements.c:
19342         * tests/check/Makefile.am:
19343         * tools/Makefile.am:
19344         * tools/gst-inspect.c:
19345         * tools/gst-xmlinspect.c:
19346           various fixes to make
19347           --disable-nls --disable-registry --disable-loadsave
19348           --disable-parse --disable-gst-debug
19349           work and get the core .so down to 360444 bytes after stripping
19350
19351 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19352
19353         * Makefile.am:
19354         * configure.ac:
19355           descend into tests
19356         * docs/random/thomasvs/TODO:
19357         * tests/Makefile.am:
19358         * tests/README:
19359           add a README
19360
19361 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19362
19363         * win32/GStreamer.vcproj:
19364         * win32/MANIFEST:
19365         * win32/Makefile:
19366         * win32/Makefile.inspect:
19367         * win32/Makefile.launch:
19368         * win32/Makefile.register:
19369         * win32/README.txt:
19370         * win32/gst-inspect.vcproj:
19371         * win32/gst-launch.vcproj:
19372         * win32/gst-register.vcproj:
19373         * win32/gstelements.vcproj:
19374         * win32/gstgetbits.def:
19375         * win32/gstgetbits.vcproj:
19376         * win32/gstreamer-dbg.def:
19377         * win32/gstreamer.def:
19378         * win32/libgstbase.def:
19379         * win32/libgstbase.vcproj:
19380         * win32/link_oldruntime.c:
19381         * win32/mman.c:
19382         * win32/mman.h:
19383         * win32/mman.inl:
19384         * win32/msvc71.sln:
19385           move even more stuff, win32/ is nice and clean now
19386
19387 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19388
19389         * libs/gst/control/.cvsignore:
19390         * win32/MANIFEST:
19391         * win32/config.h:
19392         * win32/dirent.c:
19393         * win32/dirent.h:
19394         * win32/gstbytestream.def:
19395         * win32/gstbytestream.vcproj:
19396         * win32/gstconfig.h:
19397         * win32/gstenumtypes.c:
19398         * win32/gstenumtypes.h:
19399         * win32/gstoptimalscheduler.vcproj:
19400         * win32/gstversion.h:
19401         * win32/gtchar.h:
19402         * win32/testsuite/bins.vcproj:
19403         * win32/testsuite/bytestream.vcproj:
19404         * win32/testsuite/caps.vcproj:
19405         * win32/testsuite/cleanup.vcproj:
19406         * win32/testsuite/clock.vcproj:
19407         * win32/testsuite/debug.vcproj:
19408         * win32/testsuite/dlopen.vcproj:
19409         * win32/testsuite/dynparams.vcproj:
19410         * win32/testsuite/elements.vcproj:
19411         * win32/testsuite/ghostpads.vcproj:
19412         * win32/testsuite/indexers.vcproj:
19413         * win32/testsuite/negotiation.vcproj:
19414         * win32/testsuite/parse.vcproj:
19415         * win32/testsuite/plugin.vcproj:
19416         * win32/testsuite/refcounting.vcproj:
19417         * win32/testsuite/schedulers.vcproj:
19418         * win32/testsuite/states.vcproj:
19419         * win32/testsuite/tags.vcproj:
19420         * win32/testsuite/threads.vcproj:
19421           remove old win32 stuff that isn't maintained and should be
19422           reorganized
19423
19424 2005-11-30  Andy Wingo  <wingo@pobox.com>
19425
19426         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19427         loading the gst.interfaces python module bork.
19428
19429         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19430         available since GLib 2.2. Fixes #318031.
19431
19432 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19433
19434         * Makefile.am:
19435         * check/.cvsignore:
19436         * check/Makefile.am:
19437         * check/elements/.cvsignore:
19438         * check/elements/fakesrc.c:
19439         * check/elements/fdsrc.c:
19440         * check/elements/identity.c:
19441         * check/generic/.cvsignore:
19442         * check/generic/states.c:
19443         * check/gst-libs/.cvsignore:
19444         * check/gst-libs/controller.c:
19445         * check/gst-libs/gdp.c:
19446         * check/gst/.cvsignore:
19447         * check/gst/capslist.h:
19448         * check/gst/gst.c:
19449         * check/gst/gstbin.c:
19450         * check/gst/gstbuffer.c:
19451         * check/gst/gstbus.c:
19452         * check/gst/gstcaps.c:
19453         * check/gst/gstelement.c:
19454         * check/gst/gstevent.c:
19455         * check/gst/gstghostpad.c:
19456         * check/gst/gstiterator.c:
19457         * check/gst/gstmessage.c:
19458         * check/gst/gstminiobject.c:
19459         * check/gst/gstobject.c:
19460         * check/gst/gstpad.c:
19461         * check/gst/gstpipeline.c:
19462         * check/gst/gstplugin.c:
19463         * check/gst/gstsegment.c:
19464         * check/gst/gststructure.c:
19465         * check/gst/gstsystemclock.c:
19466         * check/gst/gsttag.c:
19467         * check/gst/gstutils.c:
19468         * check/gst/gstvalue.c:
19469         * check/net/.cvsignore:
19470         * check/net/gstnetclientclock.c:
19471         * check/net/gstnettimeprovider.c:
19472         * check/pipelines/.cvsignore:
19473         * check/pipelines/cleanup.c:
19474         * check/pipelines/simple_launch_lines.c:
19475         * check/pipelines/stress.c:
19476         * check/states/.cvsignore:
19477         * check/states/sinks.c:
19478         * configure.ac:
19479         * examples/Makefile.am:
19480         * examples/appreader/.cvsignore:
19481         * examples/appreader/Makefile.am:
19482         * examples/appreader/appreader.c:
19483         * examples/controller/.cvsignore:
19484         * examples/controller/Makefile.am:
19485         * examples/controller/audio-example.c:
19486         * examples/cutter/.cvsignore:
19487         * examples/cutter/Makefile.am:
19488         * examples/cutter/cutter.c:
19489         * examples/cutter/cutter.h:
19490         * examples/events/Makefile.am:
19491         * examples/events/seek.c:
19492         * examples/helloworld/.cvsignore:
19493         * examples/helloworld/Makefile.am:
19494         * examples/helloworld/helloworld.c:
19495         * examples/helloworld2/.cvsignore:
19496         * examples/helloworld2/Makefile.am:
19497         * examples/helloworld2/helloworld2.c:
19498         * examples/launch/.cvsignore:
19499         * examples/launch/Makefile.am:
19500         * examples/launch/mp3parselaunch.c:
19501         * examples/launch/mp3play:
19502         * examples/manual/.cvsignore:
19503         * examples/manual/Makefile.am:
19504         * examples/manual/extract.pl:
19505         * examples/metadata/Makefile.am:
19506         * examples/metadata/read-metadata.c:
19507         * examples/mixer/.cvsignore:
19508         * examples/mixer/Makefile.am:
19509         * examples/mixer/mixer.c:
19510         * examples/mixer/mixer.h:
19511         * examples/pingpong/.cvsignore:
19512         * examples/pingpong/Makefile.am:
19513         * examples/pingpong/pingpong.c:
19514         * examples/plugins/.cvsignore:
19515         * examples/plugins/Makefile.am:
19516         * examples/plugins/example.c:
19517         * examples/plugins/example.h:
19518         * examples/pwg/.cvsignore:
19519         * examples/pwg/Makefile.am:
19520         * examples/pwg/extract.pl:
19521         * examples/queue/.cvsignore:
19522         * examples/queue/Makefile.am:
19523         * examples/queue/queue.c:
19524         * examples/queue2/.cvsignore:
19525         * examples/queue2/Makefile.am:
19526         * examples/queue2/queue2.c:
19527         * examples/queue3/.cvsignore:
19528         * examples/queue3/Makefile.am:
19529         * examples/queue3/queue3.c:
19530         * examples/queue4/.cvsignore:
19531         * examples/queue4/Makefile.am:
19532         * examples/queue4/queue4.c:
19533         * examples/retag/.cvsignore:
19534         * examples/retag/Makefile.am:
19535         * examples/retag/retag.c:
19536         * examples/retag/transcode.c:
19537         * examples/thread/.cvsignore:
19538         * examples/thread/Makefile.am:
19539         * examples/thread/thread.c:
19540         * examples/typefind/.cvsignore:
19541         * examples/typefind/Makefile.am:
19542         * examples/typefind/typefind.c:
19543         * examples/xml/.cvsignore:
19544         * examples/xml/Makefile.am:
19545         * examples/xml/createxml.c:
19546         * examples/xml/runxml.c:
19547         * tests/Makefile.am:
19548         * tests/check/Makefile.am:
19549         * testsuite/.cvsignore:
19550         * testsuite/Makefile.am:
19551         * testsuite/Rules:
19552         * testsuite/caps/.cvsignore:
19553         * testsuite/caps/Makefile.am:
19554         * testsuite/caps/app_fixate.c:
19555         * testsuite/caps/audioscale.c:
19556         * testsuite/caps/caps.c:
19557         * testsuite/caps/caps.h:
19558         * testsuite/caps/caps_strings:
19559         * testsuite/caps/compatibility.c:
19560         * testsuite/caps/deserialize.c:
19561         * testsuite/caps/enumcaps.c:
19562         * testsuite/caps/eratosthenes.c:
19563         * testsuite/caps/filtercaps.c:
19564         * testsuite/caps/fixed.c:
19565         * testsuite/caps/fraction-convert.c:
19566         * testsuite/caps/fraction-multiply-and-zero.c:
19567         * testsuite/caps/intersect2.c:
19568         * testsuite/caps/intersection.c:
19569         * testsuite/caps/normalisation.c:
19570         * testsuite/caps/random.c:
19571         * testsuite/caps/renegotiate.c:
19572         * testsuite/caps/sets.c:
19573         * testsuite/caps/simplify.c:
19574         * testsuite/caps/string-conversions.c:
19575         * testsuite/caps/structure.c:
19576         * testsuite/caps/subtract.c:
19577         * testsuite/caps/union.c:
19578         * testsuite/debug/.cvsignore:
19579         * testsuite/debug/Makefile.am:
19580         * testsuite/debug/category.c:
19581         * testsuite/debug/commandline.c:
19582         * testsuite/debug/global.c:
19583         * testsuite/debug/output.c:
19584         * testsuite/debug/printf_extension.c:
19585         * testsuite/dlopen/.cvsignore:
19586         * testsuite/dlopen/Makefile.am:
19587         * testsuite/dlopen/dlopen_gst.c:
19588         * testsuite/dlopen/loadgst.c:
19589         * testsuite/elements/.cvsignore:
19590         * testsuite/elements/Makefile.am:
19591         * testsuite/elements/gst-inspect-check.in:
19592         * testsuite/elements/struct_i386.h:
19593         * testsuite/elements/struct_size.c:
19594         * testsuite/indexers/.cvsignore:
19595         * testsuite/indexers/Makefile.am:
19596         * testsuite/indexers/cache1.c:
19597         * testsuite/indexers/indexdump.c:
19598         * testsuite/parse/.cvsignore:
19599         * testsuite/parse/Makefile.am:
19600         * testsuite/parse/parse1.c:
19601         * testsuite/parse/parse2.c:
19602         * testsuite/plugin/.cvsignore:
19603         * testsuite/plugin/Makefile.am:
19604         * testsuite/plugin/README:
19605         * testsuite/plugin/dynamic.c:
19606         * testsuite/plugin/linked.c:
19607         * testsuite/plugin/loading.c:
19608         * testsuite/plugin/registry.c:
19609         * testsuite/plugin/static.c:
19610         * testsuite/plugin/static2.c:
19611         * testsuite/plugin/testplugin.c:
19612         * testsuite/plugin/testplugin2.c:
19613         * testsuite/plugin/testplugin2_s.c:
19614         * testsuite/plugin/testplugin_s.c:
19615         * testsuite/refcounting/.cvsignore:
19616         * testsuite/refcounting/Makefile.am:
19617         * testsuite/refcounting/bin.c:
19618         * testsuite/refcounting/element.c:
19619         * testsuite/refcounting/element_pad.c:
19620         * testsuite/refcounting/mainloop.c:
19621         * testsuite/refcounting/mem.c:
19622         * testsuite/refcounting/mem.h:
19623         * testsuite/refcounting/object.c:
19624         * testsuite/refcounting/pad.c:
19625         * testsuite/refcounting/sched.c:
19626         * testsuite/refcounting/thread.c:
19627         * testsuite/states/.cvsignore:
19628         * testsuite/states/Makefile.am:
19629         * testsuite/states/bin.c:
19630         * testsuite/states/locked.c:
19631         * testsuite/states/parent.c:
19632         * testsuite/threads/.cvsignore:
19633         * testsuite/threads/159566.c:
19634         * testsuite/threads/159852.c:
19635         * testsuite/threads/Makefile.am:
19636         * testsuite/threads/queue.c:
19637         * testsuite/threads/signals.c:
19638         * testsuite/threads/staticrec.c:
19639         * testsuite/threads/thread.c:
19640         * testsuite/threads/threadb.c:
19641         * testsuite/threads/threadc.c:
19642         * testsuite/threads/threadd.c:
19643         * testsuite/threads/threade.c:
19644         * testsuite/threads/threadf.c:
19645         * testsuite/threads/threadg.c:
19646         * testsuite/threads/threadh.c:
19647         * testsuite/threads/threadi.c:
19648           move all of these under tests
19649
19650 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19651
19652         * configure.ac:
19653         * tests/Makefile.am:
19654           fix distcheck
19655
19656 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * docs/gst/gstreamer-sections.txt:
19659         * tests/sched/.cvsignore:
19660         * tests/sched/Makefile.am:
19661         * tests/sched/cases/(fs-fs).xml:
19662         * tests/sched/cases/(fs-i-fs).xml:
19663         * tests/sched/cases/(fs-i-i-fs).xml:
19664         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19665         * tests/sched/dynamic-pipeline.c:
19666         * tests/sched/interrupt1.c:
19667         * tests/sched/interrupt2.c:
19668         * tests/sched/interrupt3.c:
19669         * tests/sched/runtestcases:
19670         * tests/sched/runxml.c:
19671         * tests/sched/sched-stress.c:
19672         * tests/sched/sort.c:
19673         * tests/sched/testcases:
19674         * tests/sched/testcases1.tc:
19675         * tests/seeking/.cvsignore:
19676         * tests/seeking/Makefile.am:
19677         * tests/seeking/seeking1.c:
19678         * tests/threadstate/.cvsignore:
19679         * tests/threadstate/Makefile.am:
19680         * tests/threadstate/test1.c:
19681         * tests/threadstate/test2.c:
19682         * tests/threadstate/threadstate1.c:
19683         * tests/threadstate/threadstate2.c:
19684         * tests/threadstate/threadstate3.c:
19685         * tests/threadstate/threadstate4.c:
19686         * tests/threadstate/threadstate5.c:
19687           remove obsolete tests
19688         * configure.ac:
19689         * tests/bench-complexity.scm:
19690         * tests/bench-mass_elements.scm:
19691         * tests/complexity.c:
19692         * tests/complexity.gnuplot:
19693         * tests/instantiate/.cvsignore:
19694         * tests/instantiate/Makefile.am:
19695         * tests/instantiate/caps.c:
19696         * tests/mass_elements.c:
19697         * tests/network-clock-utils.scm:
19698         * tests/network-clock.scm:
19699         * tests/plot-data:
19700         First pass at cleaning up tests/ dir before moving the rest
19701         Combined with CVS surgery
19702
19703 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19704
19705         * po/POTFILES.in:
19706           queue has moved, update
19707
19708 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19709
19710         * docs/gst/gstreamer-sections.txt:
19711           remove double entries from the docs
19712         * gst/gst_private.h:
19713         * gst/gstinfo.c: (_gst_debug_init):
19714           remove the THREAD debug category
19715         * gst/Makefile.am:
19716         * gst/gstqueue.c:
19717         * gst/gstqueue.h:
19718         * docs/gst/gstreamer.types:
19719         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19720         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19721           completely move queue and fix up debugging categories
19722
19723 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19724
19725         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19726           make initialization portable, using LL is not
19727
19728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19729
19730         * win32/common/gstconfig.h:
19731           add large padding
19732
19733 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19734
19735         * win32/common/libgstreamer.def:
19736           rename symbols; sort base section
19737
19738 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19739
19740         * gst/gstclock.c: (do_linear_regression):
19741           remove crack non-portable handrolled DEBUG macro
19742
19743 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * docs/random/release:
19746           update notes
19747         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19748         (gst_object_flags_get_type), (register_gst_bin_flags),
19749         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19750         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19751         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19752         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19753         (gst_caps_flags_get_type), (register_gst_clock_return),
19754         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19755         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19756         (gst_clock_flags_get_type), (register_gst_state),
19757         (gst_state_get_type), (register_gst_state_change_return),
19758         (gst_state_change_return_get_type), (register_gst_state_change),
19759         (gst_state_change_get_type), (register_gst_element_flags),
19760         (gst_element_flags_get_type), (register_gst_core_error),
19761         (gst_core_error_get_type), (register_gst_library_error),
19762         (gst_library_error_get_type), (register_gst_resource_error),
19763         (gst_resource_error_get_type), (register_gst_stream_error),
19764         (gst_stream_error_get_type), (register_gst_event_type_flags),
19765         (gst_event_type_flags_get_type), (register_gst_event_type),
19766         (gst_event_type_get_type), (register_gst_seek_type),
19767         (gst_seek_type_get_type), (register_gst_seek_flags),
19768         (gst_seek_flags_get_type), (register_gst_format),
19769         (gst_format_get_type), (register_gst_index_certainty),
19770         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19771         (gst_index_entry_type_get_type),
19772         (register_gst_index_lookup_method),
19773         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19774         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19775         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19776         (gst_index_flags_get_type), (register_gst_debug_level),
19777         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19778         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19779         (gst_iterator_result_get_type), (register_gst_iterator_item),
19780         (gst_iterator_item_get_type), (register_gst_message_type),
19781         (gst_message_type_get_type), (register_gst_mini_object_flags),
19782         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19783         (gst_pad_link_return_get_type), (register_gst_flow_return),
19784         (gst_flow_return_get_type), (register_gst_activate_mode),
19785         (gst_activate_mode_get_type), (register_gst_pad_direction),
19786         (gst_pad_direction_get_type), (register_gst_pad_flags),
19787         (gst_pad_flags_get_type), (register_gst_pad_presence),
19788         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19789         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19790         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19791         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19792         (gst_plugin_flags_get_type), (register_gst_rank),
19793         (gst_rank_get_type), (register_gst_query_type),
19794         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19795         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19796         (gst_tag_flag_get_type), (register_gst_task_state),
19797         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19798         (gst_alloc_trace_flags_get_type),
19799         (register_gst_type_find_probability),
19800         (gst_type_find_probability_get_type), (register_gst_uri_type),
19801         (gst_uri_type_get_type), (register_gst_parse_error),
19802         (gst_parse_error_get_type):
19803         * win32/common/gstenumtypes.h:
19804         * win32/common/gstversion.h:
19805           update visual studio generated files
19806
19807 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19808
19809         * win32/vs6/libgstbase.dsp:
19810         * win32/vs6/libgstelements.dsp:
19811           update project files for new locations
19812
19813 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19814
19815         * Makefile.am:
19816           remove some files
19817         * README:
19818           reinstate and update
19819         * DEVEL:
19820         * REQUIREMENTS:
19821           removed
19822         * LICENSE:
19823         * docs/random/LICENSE:
19824           moved to random
19825
19826 2005-11-30  Edward Hervey  <edward@fluendo.com>
19827
19828         * gst/gsttypefind.c: (gst_type_find_register):
19829         * gst/gsttypefind.h:
19830         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19831         (gst_type_find_factory_dispose):
19832         * gst/gsttypefindfactory.h:
19833         Fix memory leak in GstTypeFindFactory.
19834
19835 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19836
19837         * gst/gst.c:
19838         * plugins/elements/Makefile.am:
19839         * plugins/elements/gstelements.c:
19840         * plugins/elements/gstqueue.c:
19841           move queue from core to the elements plugin
19842
19843 2005-11-29  Andy Wingo  <wingo@pobox.com>
19844
19845         * libs/gst/base/gstbasetransform.h: 
19846         * libs/gst/base/gstbasesrc.h: 
19847         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19848
19849         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19850         of pointers by which to pad very extensible base classes (like the
19851         ones in libs/gst/base).
19852
19853 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19854
19855         * docs/gst/gstreamer-docs.sgml:
19856         * docs/gst/gstreamer-sections.txt:
19857         * docs/libs/gstreamer-libs-docs.sgml:
19858         * docs/libs/gstreamer-libs-sections.txt:
19859           moving documentation from core to lib
19860
19861 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19862
19863         * check/Makefile.am:
19864         * configure.ac:
19865         * docs/gst/Makefile.am:
19866         * gst/Makefile.am:
19867         * gst/base/.cvsignore:
19868         * gst/base/Makefile.am:
19869         * gst/base/README:
19870         * gst/base/gstadapter.c:
19871         * gst/base/gstadapter.h:
19872         * gst/base/gstbasesink.c:
19873         * gst/base/gstbasesink.h:
19874         * gst/base/gstbasesrc.c:
19875         * gst/base/gstbasesrc.h:
19876         * gst/base/gstbasetransform.c:
19877         * gst/base/gstbasetransform.h:
19878         * gst/base/gstcollectpads.c:
19879         * gst/base/gstcollectpads.h:
19880         * gst/base/gstpushsrc.c:
19881         * gst/base/gstpushsrc.h:
19882         * gst/base/gsttypefindhelper.c:
19883         * gst/base/gsttypefindhelper.h:
19884         * gst/check/Makefile.am:
19885         * gst/check/gstcheck.c:
19886         * gst/check/gstcheck.h:
19887         * gst/net/Makefile.am:
19888         * gst/net/gstnet.h:
19889         * gst/net/gstnetclientclock.c:
19890         * gst/net/gstnetclientclock.h:
19891         * gst/net/gstnettimepacket.c:
19892         * gst/net/gstnettimepacket.h:
19893         * gst/net/gstnettimeprovider.c:
19894         * gst/net/gstnettimeprovider.h:
19895         * libs/gst/Makefile.am:
19896         * libs/gst/base/Makefile.am:
19897         * libs/gst/base/gstbasetransform.c:
19898         * libs/gst/check/Makefile.am:
19899         * plugins/elements/Makefile.am:
19900         * po/POTFILES.in:
19901           CVS surgery + support to move base, check, and net out of gst
19902           and into libs/gst
19903
19904 2005-11-29  Andy Wingo  <wingo@pobox.com>
19905
19906         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19907
19908         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19909         padding.
19910
19911         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19912
19913         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19914
19915         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19916
19917         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19918         padding; reduces object size by about 30%. We don't expect
19919         anything else to go into gstobject.
19920
19921         * gst/gstminiobject.h (struct _GstMiniObject)
19922         (struct _GstMiniObjectClass): Only one pointer of padding; the
19923         payload is only a pointer and two ints anyway. For the class there
19924         are only two methods as well.
19925         
19926         * gst/gstelement.h (struct _GstElementClass): Removed
19927         the state_changed signal callback, it is not used.
19928
19929 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19930
19931         * docs/gst/gstreamer.types:
19932           fix includes, though they are a little dinky
19933
19934 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19935
19936         * check/Makefile.am:
19937           look in the right place for elements, a lot more chance of
19938           success
19939         * gst/Makefile.am:
19940           remove indexers and elements subdirs
19941         * plugins/Makefile.am:
19942           make indexers conditional
19943
19944 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19945
19946         * Makefile.am:
19947         * configure.ac:
19948         * plugins/elements/Makefile.am:
19949         * plugins/elements/gstcapsfilter.c:
19950         * plugins/elements/gstfilesink.c:
19951         * plugins/elements/gstfilesrc.c:
19952         * plugins/elements/gstidentity.c:
19953         * plugins/indexers/Makefile.am:
19954           do CVS surgery and related build fixery to move elements
19955           and indexers in a new gstreamer/plugins directory, out of the
19956           gst/ directory
19957
19958 2005-11-29  Andy Wingo  <wingo@pobox.com>
19959
19960         * check/Makefile.am:
19961         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19962         * pkgconfig/gstreamer-net.pc.in:
19963         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19964         #322257.
19965
19966 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19967
19968         * tools/Makefile.am:
19969         * tools/gst-complete.1.in:
19970         * tools/gst-complete.c:
19971         * tools/gst-compprep.1.in:
19972         * tools/gst-compprep.c:
19973           removing -compprep and -complete
19974
19975 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19976
19977         * gst/gstevent.c: (gst_event_new_new_segment),
19978         (gst_event_parse_new_segment):
19979         * gst/gstevent.h:
19980           fix #320529 - clean up new_segment API and structure.
19981           Let's hope everyone was using the methods, and not the structure.
19982
19983 2005-11-29  Edward Hervey  <edward@fluendo.com>
19984
19985         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19986         (gst_base_sink_event), (gst_base_sink_do_sync),
19987         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19988         Properly handle non GST_FORMAT_TIME segment
19989         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19990         Properly handle non GST_FORMAT_TIME segment
19991         * gst/gstsegment.c:
19992         This function is valid if the accumulator is 0 and the format
19993         is different from the requested format.
19994         
19995 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19996
19997         * docs/gst/gstreamer-sections.txt:
19998         Add gst_query_new_seeking and gst_query_parse_seeking to the
19999         docs.
20000
20001 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20002
20003         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20004           Treat a pad alloc with new caps the same as if we were not
20005           negotiated, in order to allow a changing upstream output
20006           to produce a new format of data.
20007
20008 2005-11-29  Edward Hervey  <edward@fluendo.com>
20009
20010         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20011         (gst_base_transform_event), (gst_base_transform_eventfunc):
20012         The event virtual method is now properly implemented, with a default
20013         handler
20014         Sub classes should call the parent_class event method. They should
20015         return FALSE if they had a problem handling the given event, or don't
20016         want GstBaseTransform to send that even downstream
20017         * gst/elements/gstidentity.c: (gst_identity_class_init),
20018         (gst_identity_init), (gst_identity_event),
20019         (gst_identity_transform_ip), (gst_identity_set_property),
20020         (gst_identity_get_property):
20021         * gst/elements/gstidentity.h:
20022         Added the single-segment boolean property.
20023         If set to TRUE, it will output a single segment of data, starting from
20024         0, will eat up all incoming newsegment, and modify the timestamp of the
20025         buffers accordingly
20026
20027 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20028
20029         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20030           Don't ref NULL target pad (#322751). Improve docs.
20031
20032 2005-11-29  Michael Smith  <msmith@fluendo.com>
20033
20034         * gst/gstregistryxml.c: (load_plugin):
20035           Don't crash if we failed to load a feature from a plugin. 
20036
20037 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20038
20039         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20040         (GST_START_TEST):
20041           use more check API and less GLib API
20042
20043 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20044
20045         * Makefile.am:
20046           don't run checks if we don't have check
20047         * common/check.mak:
20048           remove the registry when running make torture
20049         * docs/gst/gstreamer-sections.txt:
20050           remove second multiply
20051         * gst/gstqueue.c: (gst_queue_loop):
20052           fix a compile warning when disabling debug
20053
20054 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20055
20056         * gst/gstinfo.h:
20057         Hey! Let's print the pad name if the pointer != NULL instead
20058         of when it == NULL :-)
20059
20060 2005-11-28  Wim Taymans  <wim@fluendo.com>
20061
20062         * check/gst/gstutils.c: (GST_START_TEST):
20063         Updated check, add some scaling accuracy checking code.
20064
20065         * gst/gstutils.c: (gst_util_div128_64),
20066         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20067         (gst_util_uint64_scale_int):
20068         Fix 6 times faster division code. Optimize for common 
20069         1/1 and less common X/1 cases.
20070
20071 2005-11-28  Wim Taymans  <wim@fluendo.com>
20072
20073         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20074         More checks.
20075
20076         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20077         (do_linear_regression), (gst_clock_add_observation):
20078         Cleanups.
20079         Release lock when the clock cannot be slaved.
20080         Catch the case where the regression returned an invalid denominator.
20081
20082         * gst/gstutils.c: (gst_util_div128_64_iterate),
20083         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20084         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20085         Add protentially more performant non-iterative 128/64 divide function
20086         that unfortunatly does not work yet.
20087         Shortcut the trivial 0/X = 0 case.
20088         Remove the warnings on overflow.
20089
20090 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20091
20092         * gst/gstplugin.c: (gst_plugin_register_func):
20093           everything causing a plugin not to load should be at least a WARNING
20094
20095 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20096
20097         * docs/random/ensonic/dparams.txt:
20098           some TODOs for the next dev cycle
20099         * libs/gst/controller/gstcontroller.c:
20100         (gst_controlled_property_set_interpolation_mode),
20101         (gst_controlled_property_new):
20102         * libs/gst/controller/gstcontroller.h:
20103           use base type to assign acccessor functions
20104
20105 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20106
20107         * check/Makefile.am:
20108         Oops, that should have been top_srcdir
20109
20110 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20111
20112         * check/Makefile.am:
20113         * check/elements/fdsrc.c: (GST_START_TEST):
20114         Use a cmdline define to specify the location of a file to use for
20115         testing, to avoid breaking distcheck.
20116
20117 2005-11-28  Andy Wingo  <wingo@pobox.com>
20118
20119         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20120
20121 2005-11-28  Edward Hervey  <edward@fluendo.com>
20122
20123         * tools/gst-launch.c: (main):
20124         Clarify the output strings, makes it easier to translate.
20125         Fixes #322626
20126
20127 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20128
20129         * gst/Makefile.am:
20130           don't try and build net if we don't even have <sys/socket.h>
20131
20132 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20133
20134         * check/Makefile.am:
20135         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20136         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20137           Add tests for fdsrc seekability
20138
20139         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20140         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20141         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20142         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20143         * gst/elements/gstfdsrc.h:
20144           fdsrc should not be a 'live' source.
20145           Implement seeking on seekable fd's.
20146
20147         * gst/gstquery.c: (gst_query_new_seeking),
20148         (gst_query_parse_seeking):
20149         * gst/gstquery.h:
20150           Implement SEEKING query functions: 
20151             *_new_seeking and *_parse_seeking
20152
20153 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20154
20155         * gst/gstelement.c: (gst_element_dispose):
20156           don't loop forever
20157
20158         * gst/gstiterator.c:
20159         * gst/gststructure.c:
20160           doc fixes
20161
20162         * libs/gst/controller/gstcontroller.c:
20163         (gst_controlled_property_set_interpolation_mode):
20164         * libs/gst/controller/gstcontroller.h:
20165         * libs/gst/controller/gstinterpolation.c:
20166         (interpolate_none_get_enum_value_array):
20167           support controlling enums
20168
20169 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20170
20171         * gst/gstvalue.c:
20172           Improve documentation for gst_value_union().
20173
20174         * gst/gstvalue.h:
20175           Change return value for union, intersect and subtract functions
20176           from gint to gboolean.
20177
20178 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20179
20180         * gst/gstvalue.c: (gst_value_serialize_any_list),
20181         (gst_value_transform_any_list_string),
20182         (gst_value_deserialize_list), (gst_value_deserialize_array),
20183         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20184         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20185         (gst_value_set_fraction_range_full),
20186         (gst_value_deserialize_fraction_range),
20187         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20188         (gst_value_deserialize_boolean),
20189         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20190         (gst_value_serialize_float), (gst_value_deserialize_float),
20191         (gst_string_wrap), (gst_value_deserialize_string),
20192         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20193         (gst_value_union_int_range_int_range),
20194         (gst_value_intersect_int_range_int_range),
20195         (gst_value_intersect_double_range_double_range),
20196         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20197         (gst_value_subtract_int_range_int_range),
20198         (gst_value_subtract_double_double_range),
20199         (gst_value_subtract_double_range_double_range),
20200         (gst_value_deserialize_fraction):
20201         * gst/gstvalue.h:
20202           Use gint, gdouble and gchar in our API instead of int, double and
20203           char (and make usage in gstvalue.c more consistent).
20204
20205 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20206
20207         * check/Makefile.am:
20208         * libs/gst/controller/Makefile.am:
20209         * libs/gst/dataprotocol/Makefile.am:
20210           fix up Makefile.am and remove GST_ENABLE_NEW
20211
20212 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20213
20214         * configure.ac:
20215         * gst/Makefile.am:
20216         * gst/base/Makefile.am:
20217         * gst/check/Makefile.am:
20218         * gst/elements/Makefile.am:
20219         * gst/net/Makefile.am:
20220           update LDFLAGS use some more
20221
20222 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20223
20224         * common/m4/gst-doc.m4:
20225           Fixes #312589
20226
20227 2005-11-26  Edward Hervey  <edward@fluendo.com>
20228
20229         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20230         This shouldn't issue a g_warning since it returns NULL if it
20231         couldn't find the plugin, and all functions using this behave
20232         properly on a NULL return. Switching to a GST_WARNING.
20233
20234 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20235
20236         * gst/gstbin.c: (gst_bin_handle_message_func):
20237         Don't leak clock messages.
20238
20239 2005-11-25  Wim Taymans  <wim@fluendo.com>
20240
20241         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20242         (gst_util_uint64_scale_int):
20243         Optimisations, remove unneeded vars.
20244
20245 2005-11-25  Wim Taymans  <wim@fluendo.com>
20246
20247         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20248         Added more checks for the high precision uint64 cases.
20249
20250         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20251         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20252         Implement high precision (guint64 * guint64) / guint64.
20253
20254 2005-11-24  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/base/gstbasesrc.c: (gst_base_src_query):
20257         Fix wrong percentage query.
20258
20259         * gst/gstutils.c: (gst_util_uint64_scale),
20260         (gst_util_uint64_scale_int):
20261         Add some more common cases that can be handled 
20262         efficiently to _scale.
20263
20264 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20265
20266         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20267         (gst_mini_object_suite):
20268           don't use check calls from threads; check probably isn't
20269           threadsafe and using a lock to make it threadsafe would
20270           defeat the purpose of this check
20271         * gst/check/gstcheck.c:
20272         * gst/check/gstcheck.h:
20273           use GST_DEBUG some more
20274
20275 2005-11-24  Wim Taymans  <wim@fluendo.com>
20276
20277         * gst/gstutils.c: (gst_util_uint64_scale),
20278         (gst_util_uint64_scale_int):
20279         Chain trivial case to _scale_int.
20280
20281 2005-11-24  Wim Taymans  <wim@fluendo.com>
20282
20283         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20284         Added test for scaling.
20285
20286         * gst/gstclock.h:
20287         Small doc fix.
20288
20289         * gst/gstutils.c: (gst_util_uint64_scale_int):
20290         Implemented high precision scaling code.
20291
20292 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20293
20294         * gst/gstinfo.h:
20295           do not crash on pad==NULL
20296
20297 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20298
20299         Patch by: Stefan Kost
20300
20301         * common/gtk-doc.mak:
20302         * docs/gst/Makefile.am:
20303         * docs/libs/Makefile.am:
20304           Fix distcheck issues for the libraries docs build
20305           Closes #319599.
20306
20307 2005-11-24  Michael Smith <msmith@fluendo.com>
20308
20309         * docs/manual/basics-helloworld.xml:
20310           Fix bug #315027: memory leak in example code in docs.
20311
20312 2005-11-24  Michael Smith <msmith@fluendo.com>
20313
20314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20315           Unlock the PREROLL_LOCK in a failure case.
20316
20317 2005-11-24  Wim Taymans  <wim@fluendo.com>
20318
20319         * docs/gst/gstreamer-sections.txt:
20320         * gst/base/gstadapter.h:
20321         * gst/base/gstbasesink.h:
20322         * gst/base/gstbasesrc.h:
20323         * gst/base/gstbasetransform.h:
20324         * gst/base/gstpushsrc.h:
20325         * gst/elements/gstfakesink.h:
20326         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20327         * gst/elements/gstfakesrc.h:
20328         * gst/elements/gstfilesink.h:
20329         * gst/elements/gstfilesrc.h:
20330         * gst/gst.c:
20331         * gst/gstbin.c:
20332         * gst/gstbuffer.c: (_gst_buffer_copy):
20333         * gst/gstbus.h:
20334         * gst/gstcaps.c:
20335         * gst/gstchildproxy.c:
20336         * gst/gstclock.c:
20337         * gst/gstelement.c:
20338         * gst/gstelementfactory.c:
20339         * gst/gstelementfactory.h:
20340         * gst/gstevent.c:
20341         * gst/gstghostpad.h:
20342         * gst/gstindex.h:
20343         * gst/gstinterface.h:
20344         * gst/gstminiobject.c:
20345         * gst/gstminiobject.h:
20346         * gst/gstpad.c:
20347         * gst/gstpad.h:
20348         * gst/gstpadtemplate.h:
20349         * gst/gstpipeline.h:
20350         * gst/gstpluginfeature.h:
20351         * gst/gstquery.h:
20352         * gst/gstqueue.h:
20353         * gst/gsttaglist.c:
20354         * gst/gsttaglist.h:
20355         * gst/gsttagsetter.c:
20356         * gst/gsttagsetter.h:
20357         * gst/gsttrace.c:
20358         * gst/gsttrace.h:
20359         * gst/gsttypefind.h:
20360         * gst/gsturi.h:
20361         * gst/gstvalue.c:
20362         * gst/net/gstnetclientclock.c:
20363         * gst/net/gstnetclientclock.h:
20364         * gst/net/gstnettimepacket.c:
20365         * gst/net/gstnettimeprovider.c:
20366         * gst/net/gstnettimeprovider.h:
20367         Doc fixes.
20368
20369 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20370
20371         * configure.ac: back to HEAD
20372
20373 === release 0.9.6 ===
20374
20375 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20376
20377         * configure.ac:
20378           releasing 0.9.6, "Always On Time"
20379
20380 2005-11-23  Wim Taymans  <wim@fluendo.com>
20381
20382         * docs/gst/gstreamer-sections.txt:
20383         * gst/glib-compat.c:
20384         * gst/gsttagsetter.c:
20385         * gst/gstvalue.c:
20386         * gst/net/gstnetclientclock.c:
20387         * gst/net/gstnettimepacket.h:
20388         Doc updates.
20389
20390 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20391
20392         * docs/faq/using.xml:
20393         * docs/libs/tmpl/gstcontrol.sgml:
20394         * docs/manual/advanced-dparams.xml:
20395         * docs/manual/appendix-checklist.xml:
20396         * docs/manual/basics-elements.xml:
20397         * docs/pwg/other-source.xml:
20398         * docs/random/moving-plugins:
20399         * gst/gstpad.c:
20400         * tools/gst-launch.1.in:
20401           remove mentions of sinesrc
20402
20403 2005-11-23  Michael Smith <msmith@fluendo.com>
20404
20405         * docs/gst/gstreamer-sections.txt:
20406           Update for new API and API changes.
20407         * gst/gstobject.h:
20408           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20409         * gst/gstvalue.c:
20410           Documentation typo fix.
20411         * gst/net/gstnettimepacket.c:
20412           Documentation fixes for arguments.
20413
20414 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20415
20416         * gst/gststructure.c: (gst_structure_get_fraction),
20417         (gst_structure_parse_value),
20418         (gst_structure_fixate_field_nearest_fraction):
20419         * gst/gststructure.h:
20420         * gst/gstutils.c: (gst_util_uint64_scale_int):
20421         * gst/gstutils.h:
20422         * scripts/update-funcnames:
20423         API Changes. 
20424         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20425         Make gst_structure_fixate_field_nearest_fraction take a numerator
20426         and denominator argument instead of a GValue
20427         add gst_structure_get_fraction helper function.
20428
20429 2005-11-23  Wim Taymans  <wim@fluendo.com>
20430
20431         * docs/design/part-TODO.txt:
20432         Update TODO.
20433
20434         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20435         * gst/net/gstnetclientclock.h:
20436         Use parent fields for timeout and window_size.
20437
20438 2005-11-23  Andy Wingo  <wingo@pobox.com>
20439
20440         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20441         rate_num/rate_denom change.
20442
20443         * gst/net/gstnetclientclock.c
20444         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20445         OBJECT_LOCK. Don't call add_observation with the lock.
20446
20447         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20448         fraction.
20449         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20450         rate fraction.
20451         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20452         deal with rate as a fraction whose numerator and denominator are
20453         GstClockTime values.
20454         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20455         master; the other fields are protected by the SLAVE_LOCK.
20456         (do_linear_regression): Note that this must be called with the
20457         SLAVE_LOCK.
20458         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20459         OBJECT_LOCK. Call set_calibration instead of touching the
20460         variables directly.
20461         (gst_clock_set_property, gst_clock_get_property): Protect
20462         master/slave parameters with the SLAVE_LOCK.
20463
20464         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20465         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20466         note that all of the instance variables that add_observation and
20467         the set_master functions use are protected by that lock and not
20468         the OBJECT_LOCK.
20469         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20470
20471         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20472         the caller to take the object lock.
20473
20474 2005-11-23  Wim Taymans  <wim@fluendo.com>
20475
20476         * gst/gsterror.c: (_gst_core_errors_init):
20477         * gst/gsterror.h:
20478         Add error for clock stuff.
20479
20480         * gst/gstpipeline.c: (gst_pipeline_change_state),
20481         (gst_pipeline_set_clock):
20482         Post clock error when clock cannot be used in a pipeline.
20483
20484 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20485
20486         * docs/gst/gstreamer-sections.txt:
20487           make two symbols from gstinfo private for the docs
20488         * gst/base/gstcollectpads.h:
20489         * gst/gstutils.c:
20490           fix doc typos, update docs
20491
20492 2005-11-22  Wim Taymans  <wim@fluendo.com>
20493
20494         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20495         (gst_base_sink_wait), (gst_base_sink_do_sync),
20496         (gst_base_sink_handle_event):
20497         * gst/base/gstbasesink.h:
20498         No need to store the clock, the parent element class already
20499         has it.
20500
20501         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20502         Updates for clock_set returning a gboolean
20503
20504         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20505         (gst_clock_id_wait_async), (gst_clock_class_init),
20506         (gst_clock_init), (gst_clock_finalize),
20507         (gst_clock_get_internal_time), (gst_clock_get_time),
20508         (gst_clock_slave_callback), (gst_clock_set_master),
20509         (gst_clock_get_master), (do_linear_regression),
20510         (gst_clock_add_observation), (gst_clock_set_property),
20511         (gst_clock_get_property):
20512         * gst/gstclock.h:
20513         Implement master/slave. When setting a clock as a slave, a
20514         periodic timeout is scheduled to sample master and slave times.
20515         Then the slave clock is recalibrated to match offset and rate
20516         of the master clock.
20517         Update logging a bit.
20518         Add flag so that a clock can state that is cannot be slaved to
20519         another clock.
20520
20521         * gst/gstelement.c: (gst_element_set_clock):
20522         * gst/gstelement.h:
20523         The set clock returns a gboolean for when an element cannot
20524         deal with the selected clock in the pipeline. 
20525
20526         * gst/gstpipeline.c: (gst_pipeline_change_state),
20527         (gst_pipeline_set_clock):
20528         * gst/gstpipeline.h:
20529         Handle the case where the selected clock cannot be set on
20530         the pipeline.
20531
20532         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20533         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20534         (gst_net_client_clock_set_property),
20535         (gst_net_client_clock_get_property),
20536         (gst_net_client_clock_observe_times):
20537         * gst/net/gstnetclientclock.h:
20538         Use regression code in GstClock parent, remove duplicated
20539         functionality.
20540
20541 2005-11-22  Michael Smith <msmith@fluendo.com>
20542
20543         * gst/gstutils.c: (gst_util_clock_time_scale):
20544         * gst/gstutils.h:
20545         * docs/gst/gstreamer-sections.txt:
20546           Rename method to have extra underscore.
20547
20548 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20549
20550         * gst/elements/Makefile.am:
20551         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20552         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20553         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20554         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20555         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20556         * gst/elements/gstfakesrc.h:
20557         * gst/gstqueue.c: (queue_leaky_get_type):
20558           correctly fix GEnumValues so that nick is the short lowercase
20559           dashed tag
20560         * tools/gst-inspect.c: (print_element_properties_info):
20561           also show the nick, since it's useful to use from parse_launch
20562           syntax
20563           Fixes #322139
20564
20565 2005-11-22  Michael Smith <msmith@fluendo.com>
20566
20567         * gst/gstutils.c: (gst_util_clocktime_scale):
20568         * gst/gstutils.h:
20569         * docs/gst/gstreamer-sections.txt:
20570           Add util method for scaling a clocktime by a fraction. Useful 
20571           implementation is left as an exercise for the reader.
20572
20573 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20574
20575         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20576         If needed, allocate storage in the destination value during
20577         collection.
20578
20579 2005-11-22  Edward Hervey  <edward@fluendo.com>
20580
20581         * docs/gst/gstreamer-sections.txt:
20582         * gst/Makefile.am:
20583         * gst/gst.h:
20584         * gst/gsturitype.c:
20585         * gst/gsturitype.h:
20586         * gst/gstutils.c: (gst_util_set_object_arg):
20587         * tools/gst-compprep.c: (main):
20588         * tools/gst-inspect.c: (print_element_properties_info):
20589         Removed GstURI, closes bug #321061
20590
20591 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20592
20593         * check/gst/gststructure.c: (GST_START_TEST):
20594         * gst/gststructure.c: (gst_structure_parse_value):
20595           Oops, broke automatic string type parsing.
20596           Add a test to catch it in future.
20597
20598 2005-11-22  Andy Wingo  <wingo@pobox.com>
20599
20600         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20601         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20602         Actually rename the function implementations. Grr.
20603
20604 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20605
20606         * check/gst/capslist.h:
20607           Comment test cases
20608         * check/gst/gststructure.c: (GST_START_TEST),
20609         (gst_structure_suite):
20610           Test automatic value type detection in gst_structure_from_string.
20611         * gst/gststructure.c: (gst_structure_parse_value):
20612           Add fraction as a type we try and guess automatically in
20613           caps/structure strings.
20614
20615 2005-11-22  Andy Wingo  <wingo@pobox.com>
20616
20617         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20618
20619         * gst/gsttagsetter.h:
20620         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20621         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20622         (gst_tag_setter_add_tag_valist)
20623         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20624         _add_values, _add_valist, and _add_valist_values. Since this is an
20625         interface the function suffixes should be more explicit so
20626         language binding don't end up with element.add_valist ->
20627         gst_tag_setter_add_valist, for example. Fixes #322069.
20628
20629 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20630
20631         * check/gst/gstcaps.c: (GST_START_TEST):
20632           Extend caps string tests to check that a caps to string
20633           conversion is reversible and produces the same caps.
20634
20635         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20636           Output "fraction" as the generic type fraction range, so caps
20637           serialisation and deserialisation works.
20638         * check/gst/capslist.h:
20639         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20640           Support 'MIN' and 'MAX' for deserialising fractions.
20641
20642 2005-11-22  Andy Wingo  <wingo@pobox.com>
20643
20644         * gst/gstevent.h (gst_event_new_new_segment)
20645         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20646         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20647         Renamed from *_newsegment, *_buffersize, *_notarget.
20648
20649         * scripts/update-funcnames: New script, performs the changes
20650         listed above.
20651
20652 2005-11-22  Wim Taymans  <wim@fluendo.com>
20653
20654         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20655         Make sure the GstFlowReturn is returned.
20656
20657         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20658         (gst_bus_add_signal_watch):
20659         * gst/gstbus.h:
20660         add gst_bus_add_signal_watch_full.
20661
20662         * gst/gstplugin.c: (gst_plugin_load_file):
20663         Small style cleanup.
20664
20665 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20666
20667         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20668           Block the fakesrc srcpad when we send an event, to avoid
20669           contention on the stream_lock causing random test failures.
20670
20671 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20672
20673         * check/gst/gstvalue.c: (GST_START_TEST):
20674         * gst/gstvalue.c: (gst_value_fraction_subtract):
20675           Fix subtraction.
20676
20677 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20678
20679         * gst/gst.h:
20680           include "gstchildproxy.h"
20681         * gst/gstchildproxy.h:
20682         * libs/gst/controller/gstcontroller.h:
20683           use G_GNUC_NULL_TERMINATED
20684
20685 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20686
20687         * check/gst/capslist.h:
20688         * check/gst/gstcaps.c: (GST_START_TEST):
20689         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20690         * gst/gststructure.c: (gst_structure_parse_range),
20691         (gst_structure_fixate_field_nearest_fraction):
20692         * gst/gststructure.h:
20693         * gst/gstvalue.c: (gst_value_init_fraction_range),
20694         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20695         (gst_value_collect_fraction_range),
20696         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20697         (gst_value_set_fraction_range_full),
20698         (gst_value_get_fraction_range_min),
20699         (gst_value_get_fraction_range_max),
20700         (gst_value_serialize_fraction_range),
20701         (gst_value_transform_fraction_range_string),
20702         (gst_value_compare_fraction_range),
20703         (gst_value_deserialize_fraction_range),
20704         (gst_value_intersect_fraction_fraction_range),
20705         (gst_value_intersect_fraction_range_fraction_range),
20706         (gst_value_subtract_fraction_fraction_range),
20707         (gst_value_subtract_fraction_range_fraction),
20708         (gst_value_subtract_fraction_range_fraction_range),
20709         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20710         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20711         (gst_value_transform_string_fraction), (_gst_value_initialize):
20712         * gst/gstvalue.h:
20713           Implement fraction ranges and extend GstFraction to support
20714           arithmetic subtraction, as well as deserialization from integer
20715           strings such as "100"
20716           Add a testsuite as for int and double range set operations
20717
20718 2005-11-21  Andy Wingo  <wingo@pobox.com>
20719
20720         * gst/gsttaglist.h: 
20721         * gst/gstcaps.h: 
20722         * gst/gststructure.h: Add glib-compat.h.
20723
20724 2005-11-21  Wim Taymans  <wim@fluendo.com>
20725
20726         * gst/gstbin.c: (gst_bin_change_state_func):
20727         Fix for #321595
20728
20729 2005-11-21  Wim Taymans  <wim@fluendo.com>
20730
20731         * gst/gstsegment.h:
20732         And add a nice define too.
20733
20734 2005-11-21  Wim Taymans  <wim@fluendo.com>
20735
20736         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20737         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20738         (gst_segment_set_duration), (gst_segment_set_last_stop),
20739         (gst_segment_set_seek), (gst_segment_set_newsegment),
20740         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20741         (gst_segment_clip):
20742         * gst/gstsegment.h:
20743         Make binding friendly.
20744
20745 2005-11-21  Andy Wingo  <wingo@pobox.com>
20746
20747         * gst/gsttagsetter.h: 
20748         * gst/gsttaglist.h: 
20749         * gst/gststructure.h: 
20750         * gst/gstcaps.h: 
20751         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20752         #319940.
20753
20754         * gst/gsterror.c (_gst_core_errors_init):
20755         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20756         category.
20757
20758         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20759         (noinst_HEADERS): noinst the -private.
20760
20761 2005-11-21  Michael Smith <msmith@fluendo.com>
20762
20763         * gst/gstplugin.h:
20764         * gst/gstregistry.h:
20765           Remove unimplemented declarations for which we can see no sensible
20766           use.
20767
20768 2005-11-21  Andy Wingo  <wingo@pobox.com>
20769
20770         * gst/gst.h: Include glib-compat.h.
20771
20772         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20773
20774         * gst/glib-compat.c: Include the public and the private header.
20775
20776         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20777
20778         * gst/gstvalue.c: 
20779         * gst/gstpad.c: 
20780         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20781
20782         * check/gst/gstevent.c (create_custom_events): Check that
20783         FLUSH_STOP is serialized.
20784
20785         * check/elements/identity.c (event_func): 
20786         * check/elements/fakesrc.c (event_func): No stream lock, the core
20787         takes it.
20788
20789         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20790         stream lock taking, yay.
20791
20792         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20793         ensure that core takes the stream lock.
20794
20795         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20796         lock name change.
20797
20798         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20799         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20800         it already. For the flush start we do take it though so we get the
20801         right preroll state change messages.
20802
20803         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20804         the stream lock here, the core does it for us.
20805
20806         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20807         GST_STREAM_GET_LOCK.
20808         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20809         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20810         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20811         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20812         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20813         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20814
20815         * gst/gstpad.c: Update for stream lock name change.
20816
20817         * gst/base/gstbasesink.c: Update for preroll lock name change.
20818
20819 2005-11-21  Wim Taymans  <wim@fluendo.com>
20820
20821         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20822         (gst_clock_get_master):
20823         * gst/gstclock.h:
20824         * gst/gstsystemclock.c: (gst_system_clock_init):
20825         Convert Clock flags to object flags.
20826         Added methods to manage master/slave clocks.
20827
20828 2005-11-21  Wim Taymans  <wim@fluendo.com>
20829
20830         * check/gst/gstsegment.c: (GST_START_TEST):
20831         * docs/design/part-TODO.txt:
20832         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20833         (gst_base_sink_event), (gst_base_sink_do_sync),
20834         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20835         (gst_base_sink_query), (gst_base_sink_change_state):
20836         * gst/base/gstbasesink.h:
20837         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20838         (gst_base_src_default_newsegment),
20839         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20840         (gst_base_src_get_range), (gst_base_src_loop),
20841         (gst_base_src_change_state):
20842         * gst/base/gstbasesrc.h:
20843         * gst/base/gstbasetransform.c:
20844         (gst_base_transform_prepare_output_buf),
20845         (gst_base_transform_event), (gst_base_transform_change_state):
20846         * gst/base/gstbasetransform.h:
20847         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20848         (gst_collect_pads_event):
20849         * gst/base/gstcollectpads.h:
20850         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20851         (gst_fake_src_create):
20852         * gst/elements/gstfakesrc.h:
20853         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20854         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20855         (gst_segment_set_last_stop), (gst_segment_set_seek),
20856         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20857         (gst_segment_to_running_time), (gst_segment_clip):
20858         * gst/gstsegment.h:
20859         More segment updates, replace code in plugins with segment
20860         helper functions.
20861
20862 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20863
20864         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20865         Don't ignore sscanf results
20866
20867 2005-11-21  Andy Wingo  <wingo@pobox.com>
20868
20869         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20870
20871         * *.h:
20872         * *.c: Ran scripts/update-macros. Oh yes.
20873
20874         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20875         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20876         GST_GET_LOCK, etc.
20877
20878         * scripts/update-macros: New script. Run it on your files to
20879         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20880         well.
20881
20882 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20883
20884         * docs/gst/Makefile.am:
20885         * docs/gst/gstreamer-docs.sgml:
20886         * docs/gst/gstreamer-sections.txt:
20887         * docs/gst/gstreamer.types:
20888         * gst/gstinfo.h:
20889           more docs fixes, add new api to the docs
20890
20891 2005-11-21  Andy Wingo  <wingo@pobox.com>
20892
20893         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20894         state_broadcast call.
20895
20896         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20897
20898 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20899
20900         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20901         function calls for arrays.
20902
20903 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20904
20905         * docs/random/ensonic/media-device-daemon.txt:
20906           wild idea, can this be done?
20907         * docs/gst/gstreamer-sections.txt:
20908         * gst/gsterror.h:
20909         * gst/gstfilter.c:
20910         * gst/gstfilter.h:
20911         * gst/gstplugin.h:
20912         * gst/gstpluginfeature.c:
20913         * gst/gsttrace.c:
20914         * gst/gstvalue.c:
20915         * gst/gstvalue.h:
20916           doc fixes and additions
20917
20918 2005-11-21  Andy Wingo  <wingo@pobox.com>
20919
20920         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20921         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20922         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20923         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20924         private to the basesrc implementation.
20925
20926         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20927         behalf of event function if necessary. It should no longer be
20928         necessary to take the stream lock in pad's event functions. Fixes
20929         #320299.
20930
20931 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20932         * docs/gst/gstreamer-sections.txt:
20933         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20934         (gst_structure_fixate_field_nearest_double),
20935         (gst_structure_fixate_field_boolean):
20936         * gst/gststructure.h:
20937         * win32/common/libgstreamer.def:
20938         * win32/gstreamer.def:
20939
20940         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20941         (#322027)
20942
20943 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20944
20945         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20946         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20947         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20948         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20949         (gst_fdsrc_uri_handler_init):
20950         * gst/elements/gstfdsrc.h:
20951           Port fd:// URI handler from 0.8 to fdsrc
20952
20953 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20954
20955         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20956         (gst_value_serialize_fourcc):
20957         * gst/gstvalue.h:
20958           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20959           consistent with our other format defines (#320324).
20960
20961 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20962
20963         * gst/gstvalue.c: (gst_value_is_fixed):
20964           Revert previous commit. Value lists are by definition
20965           not fixed, as they are a list of possible values.
20966
20967 2005-11-21  Andy Wingo  <wingo@pobox.com>
20968
20969         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20970         during the stable series if we need it. Fixes #319178.
20971
20972         * gst/gstevent.c (gst_event_new_filler): Removed.
20973
20974         * check/gst/gstevent.c: Update comment about filler events.
20975
20976 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20977
20978         * gst/gstvalue.c: (gst_value_is_fixed):
20979           Should handle both value arrays and value lists.
20980
20981 2005-11-21  Andy Wingo  <wingo@pobox.com>
20982
20983         patch by: Alessandro Dessina <alessandro nnva org>
20984
20985         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20986         functions to access arrays. Fixes #321962.
20987
20988 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20989
20990         * docs/gst/gstreamer.types:
20991           gst_collectpads_get_type => gst_collect_pads_get_type.
20992           
20993         * gst/base/gstbasetransform.c:
20994           Remove unused SIGNAL_HANDOFF enum.
20995
20996 2005-11-21  Andy Wingo  <wingo@pobox.com>
20997
20998         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20999         the event type (upstream, downstream, serialized). Renamed
21000         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21001         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21002         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21003
21004         * gst/gstevent.c: Update for new CUSTOM event names.
21005
21006         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21007
21008         * gst/gstevent.h:
21009         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21010         bug #319392.
21011
21012 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21013
21014         * docs/gst/gstreamer-sections.txt:
21015         * win32/common/libgstbase.def:
21016         * win32/libgstbase.def:
21017         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21018         (gst_collect_pads_class_init), (gst_collect_pads_init),
21019         (gst_collect_pads_finalize), (gst_collect_pads_new),
21020         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21021         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21022         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21023         (gst_collect_pads_start), (gst_collect_pads_stop),
21024         (gst_collect_pads_peek), (gst_collect_pads_pop),
21025         (gst_collect_pads_available), (gst_collect_pads_read),
21026         (gst_collect_pads_flush), (gst_collect_pads_event),
21027         (gst_collect_pads_chain):
21028         * gst/base/gstcollectpads.h:
21029           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21030           unimplemented functions as unimplemented. Add padding to
21031           GstCollectData. (#320766, #320423)
21032
21033 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21034
21035         * gst/gstmessage.c:
21036           Improve docs for DURATION message (usage of duration parameter)
21037           (#320113)
21038
21039 2005-11-20  Wim Taymans  <wim@fluendo.com>
21040
21041         * check/Makefile.am:
21042         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21043         (main):
21044         * gst/Makefile.am:
21045         * gst/gst.h:
21046         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21047         (gst_segment_set_seek), (gst_segment_set_newsegment),
21048         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21049         (gst_segment_clip):
21050         * gst/gstsegment.h:
21051         Added segment helper structure and methods. Not fully implemented
21052         yet.
21053         Added segment check.
21054
21055 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21056
21057         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21058           Add a deserialisation test for fractions
21059         * examples/metadata/read-metadata.c: (message_loop),
21060         (make_pipeline), (main):
21061           Fix up metadata reading sample.
21062         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21063           Debug format fix
21064         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21065           Don't try and fixate empty caps
21066         * gst/gst_private.h:
21067           Wrap in G_BEGIN_DECLS/G_END_DECLS
21068         * gst/gstvalue.c: (gst_value_collect_fraction),
21069         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21070         (gst_value_transform_string_fraction),
21071         (gst_value_compare_fraction):
21072           Add some extra guards to ensure that we don't end up 
21073           with an invalid denominator of 0 in a gstfraction and
21074           that fractions always get reduced.
21075
21076 2005-11-20  Wim Taymans  <wim@fluendo.com>
21077
21078         * docs/gst/gstreamer-sections.txt:
21079         * gst/gstbuffer.h:
21080         * gst/gstelement.c:
21081         * gst/gstformat.c:
21082         * gst/gstformat.h:
21083         * gst/gstindex.h:
21084         * gst/gstquery.c:
21085         * gst/gstquery.h:
21086         * gst/gstvalue.c:
21087         Doc fixes.
21088
21089 2005-11-20  Wim Taymans  <wim@fluendo.com>
21090
21091         * docs/design/part-TODO.txt:
21092         * gst/gstcaps.h:
21093         Make a proper enum of the flag.
21094
21095 2005-11-19  Wim Taymans  <wim@fluendo.com>
21096
21097         * docs/design/part-TODO.txt:
21098         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21099         (gst_format_to_quark), (gst_format_register):
21100         * gst/gstformat.h:
21101         * gst/gstquery.c: (_gst_query_initialize),
21102         (gst_query_type_get_name), (gst_query_type_to_quark),
21103         (gst_query_type_register):
21104         * gst/gstquery.h:
21105         Add type to quark and type to string conversions.
21106
21107 2005-11-19  Andy Wingo  <wingo@pobox.com>
21108
21109         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21110         #320097.
21111
21112 2005-11-19  Wim Taymans  <wim@fluendo.com>
21113
21114         * docs/design/part-TODO.txt:
21115         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21116         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21117         (gst_bin_handle_message_func):
21118         * gst/gstbin.h:
21119         Make message handling overridable.
21120
21121 2005-11-19  Andy Wingo  <wingo@pobox.com>
21122
21123         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21124
21125         * gst/gstclock.h:
21126         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21127         be a GstClockTime.
21128         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21129         is a GstClockTime. Fixes #321710.
21130
21131         * gst/gstclock.h (GstClock): Remove offset property. Add
21132         internal_calibration and external_calibration. Fix padding. Pad
21133         also by GstClockTime so we don't run into problems.
21134
21135         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21136         (gst_clock_get_rate_offset): Remove.
21137         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21138
21139         * gst/gstutils.h:
21140         * gst/gstutils.c (g_static_rec_cond_wait)
21141         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21142
21143         * gst/gstbin.c: Remove terrible continue_state prototype.
21144
21145         * gst/gstelement.h (gst_element_continue_state): Make public.
21146
21147         * gst/gstelement.h:
21148         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21149         by continue_state. Fixes #319389.
21150
21151         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21152         Really fixes #168438. However I don't see anywhere where the
21153         filter function is called... stupid GStreamer...
21154         
21155         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21156         don't have a dispose function, so it won't get called when the
21157         object is unreffed, but oh well!
21158
21159         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21160         allows a destroy function to be set so user_data can be freed.
21161         Fixes #168438.
21162         (gst_index_set_filter): Call gst_index_set_filter_full.
21163
21164         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21165
21166         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21167         string should produce an error, given the lack of a way to
21168         represent NULL strings. Fixes #165650.
21169         
21170         * gst/gstvalue.h: 
21171         * gst/gstvalue.c (gst_value_array_append_value) 
21172         (gst_value_array_prepend_value, gst_value_array_get_size) 
21173         (gst_value_array_get_value): New API, copied from
21174         gst_value_list_*, only operates on arrays.
21175         (gst_value_list_append_value, gst_value_list_prepend_value) 
21176         (gst_value_list_concat, gst_value_list_get_size) 
21177         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21178
21179         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21180         init_list, because it works on both.
21181         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21182         (gst_value_copy_list_or_array): Renamed from copy_list.
21183         (gst_value_free_list_or_array): Renamed from free_list.
21184         (gst_value_collect_list_or_array): Renamed from collect_list.
21185         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21186         (gst_value_list_or_array_peek_pointer): Renamed from
21187         list_peek_pointer.
21188         (_gst_value_array_value_table, _gst_value_list_value_table):
21189         Update value table functions.
21190         (gst_value_compare_list_or_array): Renamed from compare_list.
21191
21192         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21193         some constness.
21194
21195         * gst/gsttaglist.c:
21196         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21197         GstTagList*. Fixes #143472.
21198
21199         * gst/gststructure.h: Clarify what the foreach/map functions can
21200         or can't do to their arguments.
21201
21202 2005-11-18  Wim Taymans  <wim@fluendo.com>
21203
21204         * gst/gstclock.c: (gst_clock_set_calibration),
21205         (gst_clock_get_calibration):
21206         Doc and API fixes.
21207         Calibration can be set with internal time equal to current
21208         internal time too.
21209
21210 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21211
21212         * gst/gsterror.c:
21213         * gst/gsterror.h:
21214           document
21215
21216 2005-11-18  Andy Wingo  <wingo@pobox.com>
21217
21218         * configure.ac: 
21219         * pkgconfig/gstreamer-net.pc.in:
21220         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21221         * pkgconfig/Makefile.am: Add net pkgconfig files.
21222
21223 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21224
21225         * gst/gstcaps.c:
21226         * gst/gstghostpad.c:
21227         * gst/gsttrace.c:
21228         * gst/gstvalue.c:
21229         * gst/gstvalue.h:
21230           docs fixes
21231
21232 2005-11-18  Andy Wingo  <wingo@pobox.com>
21233
21234         * gst/net/gstnetclientclock.c: Turn off debugging.
21235
21236         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21237         times connverge somewhat. Can't make a real test.
21238
21239         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21240         integer arithmetic. Return the minimum of the domain, which can be
21241         set as "internal" for gst_clock_set_calibration.
21242         (gst_net_client_clock_observe_times): Call _set_calibration.
21243         (gst_net_client_clock_new): Call _set_calibration instead of
21244         rate_offset.
21245
21246         * check/net/gstnetclientclock.c (test_functioning): Use the right
21247         adjustment api.
21248
21249         * gst/gstclock.h:
21250         * gst/gstclock.c (gst_clock_get_calibration) 
21251         (gst_clock_set_calibration): New functions, obsolete the ones I
21252         added yesterday. Doh. Precision issues mean we have to extrapolate
21253         from a point in the more recent past than 1970.
21254         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21255         obsolete.
21256         (gst_clock_adjust_unlocked): Use the right calibration data.
21257
21258 2005-11-18  Edward Hervey  <edward@fluendo.com>
21259
21260         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21261         Also reset the ->current_* values in READY->PAUSED
21262
21263 2005-11-18  Andy Wingo  <wingo@pobox.com>
21264
21265         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21266         Whoops, check the right fd. Also add some debugging.
21267         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21268         (do_linear_regression): Add a crapload of debugging. Subtract off
21269         the minimum values from the input series to discard unneeded bits.
21270         Use only int arithmetic. There is still double arithmetic when
21271         calculating the intercept that needs fixing. Return boolean to
21272         indicate success; FALSE would mean the domain or range is too
21273         great. Still needs fixes.
21274
21275 2005-11-18  Wim Taymans  <wim@fluendo.com>
21276
21277         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21278         For the current position in stream time, we need to subtract
21279         accumulated time.
21280         
21281         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21282         Release lock before calling the callback function of async
21283         entries.
21284
21285 2005-11-18  Andy Wingo  <wingo@pobox.com>
21286
21287         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21288         Port goes all the way to MAXUINT16.
21289
21290         * gst/net/gstnettimeprovider.c: Make the port range the same as
21291         for the kernel: 0 assigns, otherwise ports are less than
21292         MAXUINT16.
21293
21294         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21295         port change.
21296
21297         * check/net/gstnetclientclock.c (test_functioning): Add the start
21298         of another test. 
21299
21300 2005-11-18  Wim Taymans  <wim@fluendo.com>
21301
21302         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21303         (gst_bin_remove_func), (bin_bus_handler):
21304         * gst/gstbin.h:
21305         Removing a clock provider from a bin, triggers a clock lost message
21306         so that a new clock will be selected.
21307         Adding a clock to a bin triggers a clock provider message.
21308         Make sure we reselect a clock when we received a clock lost message.
21309         Keep a reference to the element that provided the clock.
21310
21311 2005-11-18  Andy Wingo  <wingo@pobox.com>
21312
21313         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21314         the clock initially so it produces values around the base time.
21315         (gst_net_client_clock_class_init): Typo fix.
21316         (gst_net_client_clock_thread): Add note on when the socket gets
21317         closed.
21318
21319 2005-11-17  Wim Taymans  <wim@fluendo.com>
21320
21321         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21322         Free remote and local time arrays.
21323
21324 2005-11-17  Wim Taymans  <wim@fluendo.com>
21325
21326         * gst/net/gstnetclientclock.c: (do_linear_regression),
21327         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21328         Fix compilation, uninitialized vars and a forgotten continue.
21329
21330 2005-11-17  Andy Wingo  <wingo@pobox.com>
21331
21332         * check/Makefile.am (check_PROGRAMS): 
21333         * check/net/gstnetclientclock.c: Add a most minimal test for the
21334         net client clock. More to come later.
21335
21336         * gst/net/gstnet.h: 
21337         * gst/net/Makefile.am: Add netclientclock.
21338
21339         * gst/net/gstnetclientclock.h:
21340         * gst/net/gstnetclientclock.c: New files, implement an untested
21341         GstClock that takes its time from a network time provider.
21342         Implements the algorithm in network-clock.scm.
21343
21344         * tests/network-clock.scm (*window-size*): Rename from
21345         *queue-length*.
21346         * tests/network-clock.scm (network-time): 
21347         * tests/network-clock-utils.scm (q-push): Update callers.
21348
21349 2005-11-17  Wim Taymans  <wim@fluendo.com>
21350
21351         * gst/gstbin.c: (gst_bin_provide_clock_func),
21352         (gst_bin_sort_iterator_new):
21353         And unref the child too..
21354
21355 2005-11-17  Wim Taymans  <wim@fluendo.com>
21356
21357         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21358         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21359         Refactor the sort iterator so it can be used while holding the
21360         LOCK too.
21361         Make clock selection select a clock closest to the source.
21362
21363 2005-11-17  Michael Smith <msmith@fluendo.com>
21364
21365         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21366         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21367         * gst/gstclock.h:
21368           Anonymous structs are a gcc (and some other compilers) extension, so
21369           don't use them. Since this is only for ABI-compatibility, and our
21370           API/ABI freeze is over in a few days, this whole thing will only
21371           last a few days, so don't bother trying to think up a meaningful
21372           name for the struct.
21373
21374 2005-11-17  Andy Wingo  <wingo@pobox.com>
21375
21376         * gst/gstclock.h (GstClock): Add rate and offset properties,
21377         preserving ABI stability. Add rate/offset accessors. Will file bug
21378         for the freeze break.
21379
21380         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21381         and offset, trying to keep precision and avoiding
21382         underflow/overflow.
21383         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21384         functions. Make gst_clock_set_time_adjust obsolete.
21385         (gst_clock_set_time_adjust): Note that this function is obsolete.
21386         Will file bug soon.
21387
21388         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21389         greppable by using GST_PADDING-1+1.
21390
21391 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21392
21393         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21394
21395         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21396           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21397
21398         * gst/gstpadtemplate.h:
21399         * gst/gstpluginfeature.h:
21400           Don't use c++ style comments in headers (#321638).
21401
21402 2005-11-16  Andy Wingo  <wingo@pobox.com>
21403
21404         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21405         buffer.
21406
21407         * check/net/gstnettimeprovider.c: Check to see that the time
21408         provider actually provides times. Works, yo!
21409
21410 2005-11-16  Wim Taymans  <wim@fluendo.com>
21411
21412         * check/Makefile.am:
21413         Enable more tests.
21414
21415         * check/elements/fakesrc.c: (GST_START_TEST):
21416         Set element to NULL before disposing it.
21417
21418 2005-11-16  Andy Wingo  <wingo@pobox.com>
21419
21420         * gst/net/Makefile.am:
21421         * gst/net/gstnet.h:
21422         * gst/net/gstnettimeprovider.c: 
21423         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21424         provider, include it from gstnet.h, and add it to the build.
21425
21426         * gst/net/gstnettimepacket.h: 
21427         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21428         sending and receiving.
21429
21430 2005-11-16  Wim Taymans  <wim@fluendo.com>
21431
21432         * check/Makefile.am:
21433         Enable valgrind check.
21434
21435         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21436         (gst_fake_src_alloc_buffer):
21437         Fix memleak.
21438
21439 2005-11-16  Wim Taymans  <wim@fluendo.com>
21440
21441         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21442         Call parent finalize too.
21443
21444 2005-11-16  Wim Taymans  <wim@fluendo.com>
21445
21446         * check/Makefile.am:
21447         Enable valgrind check that should work fine now.
21448
21449         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21450         * gst/gstqueue.c: (gst_queue_init):
21451         Fix memleaks in pad allocation.
21452
21453 2005-11-16  Andy Wingo  <wingo@pobox.com>
21454
21455         * gst/net/Makefile.am:
21456         * gst/net/gstnet.h: New part of core to hold network elements and
21457         objects. Put in core because it exposes API that applications want
21458         to use. The library is named libgstnet-tempname right now because
21459         of the existing libgstnet in gst-plugins-base. Solution is
21460         probably to rename the one in plugins-base; will file a bug for
21461         the freeze break.
21462
21463         * gst/net/gstnettimeprovider.c: 
21464         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21465         get_time call over the network.
21466
21467         * configure.ac: 
21468         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21469
21470         * check/Makefile.am:
21471         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21472         get additions shortly.
21473
21474 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21475
21476         * gst/gstpad.c: (gst_pad_new_from_static_template):
21477         * gst/gstpad.h:
21478           add gst_pad_new_from_static_template functions
21479         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21480         (gst_check_setup_sink_pad):
21481         * gst/elements/gsttee.c: (gst_tee_init):
21482           and use them
21483
21484 2005-11-16  Wim Taymans  <wim@fluendo.com>
21485
21486         * gst/gstpad.c: (gst_pad_pause_task):
21487         Removed warning, it's not really an error either.
21488
21489 2005-11-16  Wim Taymans  <wim@fluendo.com>
21490
21491         * gst/base/gstbasetransform.c:
21492         (gst_base_transform_prepare_output_buf),
21493         (gst_base_transform_event):
21494         Check if the caps are NULL, this can happen if the element
21495         is shutting down and the pad caps are set to NULL.
21496
21497 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21498
21499         * gst/elements/gsttee.c: (gst_tee_init):
21500           fix pad template leak in tee
21501
21502 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21503
21504         * gst/glib-compat.c: (g_value_dup_gst_object):
21505         * gst/glib-compat.h:
21506         * gst/gstpad.c: (gst_pad_set_property):
21507           use gst_object_ref when setting the pad template; this will
21508           trigger the pad template leaks on GLib 2.6 and the slaves
21509
21510 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21511
21512         * gst/glib-compat.c: (gst_flags_get_first_value):
21513         * gst/glib-compat.h:
21514         * gst/gstregistryxml.c:
21515           remove functions copied from GLib 2.6
21516
21517 2005-11-16  Michael Smith <msmith@fluendo.com>
21518
21519         * gst/Makefile.am:
21520           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21521           do, but only breaks with newer valgrind versions. We're not a
21522           valgrind tool, we have no link-time dependencies on libcoregrind.
21523
21524 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21525
21526         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21527           some debug changes
21528         * gst/gstmessage.h:
21529           typo fixes
21530
21531 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21532
21533         * gst/base/gstbasesrc.c: (gst_base_src_init):
21534         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21535         * gst/gstqueue.c: (gst_queue_init):
21536         * gst/gstregistryxml.c: (load_feature):
21537           Revert all these unrefs, they don't even pass make check !
21538
21539 2005-11-15  Johan Dahlin  <johan@gnome.org>
21540
21541         * gst/base/gstbasesrc.c: (gst_base_src_init):
21542         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21543         * gst/gstqueue.c: (gst_queue_init): 
21544         Free pad templates, fixes a couple of leaks.
21545
21546 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21547
21548         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21549
21550         * gst/gstpad.c: (gst_pad_get_property):
21551           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21552           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21553           (#321452)
21554
21555 2005-11-15  Wim Taymans  <wim@fluendo.com>
21556
21557         * gst/gstevent.c:
21558         Small doc update.
21559
21560 2005-11-15  Andy Wingo  <wingo@pobox.com>
21561
21562         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21563
21564         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21565         using GST_CLOCK_TIME_NONE to disable base time management.
21566         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21567         time if it was NONE before.
21568         (gst_pipeline_change_state): Only munge the base time if
21569         stream_time != GST_CLOCK_TIME_NONE.
21570
21571         * check/gst/gstpipeline.c (test_base_time): Punt around the
21572         problem of the probe not being called, because that's not the
21573         issue I'm looking at. Add a check that setting stream_time to NONE
21574         disables base time management.
21575         
21576 2005-11-15  Wim Taymans  <wim@fluendo.com>
21577
21578         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21579         segment_stop == -1 at startup.
21580
21581         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21582         (gst_base_transform_change_state):
21583         Init segment values at start.
21584
21585 2005-11-15  Wim Taymans  <wim@fluendo.com>
21586
21587         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21588         0 segment values are 0 in any format.
21589
21590         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21591         * gst/base/gstbasetransform.h:
21592         Parse newsegment correctly in basetransform
21593
21594         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21595         Sync to clock using updated segment values.
21596
21597 2005-11-15  Andy Wingo  <wingo@pobox.com>
21598
21599         * check/gst/gstpipeline.c (test_base_time): Add check that the
21600         base time and stream time are reset correctly.
21601
21602 2005-11-15  Wim Taymans  <wim@fluendo.com>
21603
21604         * docs/design/part-TODO.txt:
21605         Some more TODO items.
21606
21607 2005-11-15  Andy Wingo  <wingo@pobox.com>
21608
21609         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21610         error if the user selected "no clock" as the clocking method.
21611
21612         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21613         timestamps with live capture.
21614
21615         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21616         is 0 but we are a live source, timestamp the buffers using the
21617         element's clock.
21618
21619 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21620
21621         * docs/gst/gstreamer-sections.txt:
21622         * gst/gsterror.c:
21623         * gst/gstghostpad.c:
21624         * gst/gstobject.h:
21625         * gst/gstxml.c:
21626           more section docs
21627
21628 2005-11-14  Wim Taymans  <wim@fluendo.com>
21629
21630         * common/gst.supp:
21631           add suppressions from Wim's Debian machine
21632
21633 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21634
21635         * common/gst.supp:
21636           add suppressions from Andy's AMD64 Ubuntu machine
21637
21638 2005-11-14  Andy Wingo  <wingo@pobox.com>
21639
21640         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21641         STATE_LOCK not necessary. Fixes #311489.
21642
21643         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21644         #305291.
21645
21646         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21647         this function is not implemented.
21648
21649 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21650
21651         * gst/base/gstbasetransform.c:
21652         (gst_base_transform_prepare_output_buf):
21653         Ref the source pad caps while we need them.
21654         Fixes (#321386)
21655
21656 2005-11-11  Wim Taymans  <wim@fluendo.com>
21657
21658         * docs/gst/gstreamer-sections.txt:
21659         Added some docs for GstCollectData.
21660
21661         * gst/base/gstadapter.c:
21662         Some small code example fix.
21663
21664         * gst/base/gstcollectpads.c:
21665         * gst/base/gstcollectpads.h:
21666         Document some more.
21667
21668 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21669
21670         * configure.ac: back to HEAD
21671
21672 === release 0.9.5 ===
21673
21674 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21675
21676         * configure.ac:
21677           releasing 0.9.5, "Bike Lunch Day"
21678
21679 2005-11-11  Wim Taymans  <wim@fluendo.com>
21680
21681         * gst/gstbuffer.c: (_gst_buffer_copy):
21682         Copy more flags.
21683
21684         * gst/gstcaps.c: (gst_caps_is_equal):
21685         Fix some docs.
21686         Make _is_equal fast in the trivial cases.
21687
21688         * gst/gstminiobject.c:
21689         * gst/gstminiobject.h:
21690         More docs. Spifify .h file.
21691
21692         * gst/gstutils.c:
21693         Small doc update.
21694
21695 2005-11-11  Wim Taymans  <wim@fluendo.com>
21696
21697         * gst/base/gstbasetransform.c:
21698         (gst_base_transform_prepare_output_buf),
21699         (gst_base_transform_handle_buffer):
21700         Small cleanups.
21701         If we're processing a buffer and need to allocate an output
21702         buffer, we cannot accept a format change. If we did get a 
21703         format change, we have to alloc a buffer ourselves of the 
21704         right size.
21705
21706 2005-11-11  Wim Taymans  <wim@fluendo.com>
21707
21708         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21709         While checking the flag for reentrancy in the gstcaps function
21710         is nice to detect recursive invocations, it also makes it 
21711         impossible to call getcaps from multiple threads, which must be
21712         possible. So, checking for recursive calls has to go.
21713
21714 2005-11-11  Michael Smith <msmith@fluendo.com>
21715
21716         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21717           Don't sync on buffers that fall partially outside our current
21718           segment. Prevents an assertion failure/abort playing some files.
21719
21720 2005-11-10  Andy Wingo  <wingo@pobox.com>
21721
21722         * check/gst/gstbin.c (test_message_state_changed_children): Style
21723         fix..
21724
21725         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21726         gst_bus_poll with the signal watch. Ensures that poll and a signal
21727         watch see the same messages.
21728
21729         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21730         a poll and a watch at the same time get the same messages.
21731
21732 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21733
21734         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21735         * gst/gstcaps.c: (gst_caps_intersect):
21736           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21737           and it's not needed.
21738
21739 2005-11-10  Wim Taymans  <wim@fluendo.com>
21740
21741         * docs/design/part-TODO.txt:
21742         Updated todo.
21743
21744 2005-11-10  Wim Taymans  <wim@fluendo.com>
21745
21746         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21747         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21748         (gst_base_src_do_sync), (gst_base_src_get_range):
21749         Implement clock sync in base class.
21750
21751 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21752
21753         patch by: Tim-Philipp Müller <tim at centricular dot net>
21754
21755         * gst/gststructure.c: (gst_structure_parse_field),
21756         (gst_structure_from_string):
21757           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21758           so that gst_parse_launch() can deal with spaces in filtered link
21759           caps (fixes #164479)
21760         * check/gst/capslist.h:
21761         * check/gst/gststructure.c: (GST_START_TEST):
21762           add unit tests for this change
21763
21764 2005-11-10  Wim Taymans  <wim@fluendo.com>
21765
21766         * docs/gst/gstreamer-sections.txt:
21767         * gst/gstelement.c:
21768         * gst/gstelement.h:
21769         Fix docs, move some STATE macros to private.
21770
21771 2005-11-10  Wim Taymans  <wim@fluendo.com>
21772
21773         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21774         Added check for bug #317341
21775
21776         * gst/gstbuffer.c:
21777         * gst/gstbuffer.h:
21778         Some more spiffifying.
21779
21780         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21781         Call peer linkfunction if we are a source pad. Totally fixes
21782         #317341
21783
21784         * gst/gstpad.c:
21785         Update docs, source pads should call the peer linkfunction
21786         so they can atomically perform the pad link.
21787
21788 2005-11-09  Wim Taymans  <wim@fluendo.com>
21789
21790         * gst/gstbuffer.c:
21791         * gst/gstbuffer.h:
21792         Uber-spiffy-spiffify some more.
21793
21794 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21795
21796         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21797         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21798         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21799         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21800         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21801         * gst/gstpad.c: (gst_pad_init):
21802           Use GST_DEBUG_FUNCPTR() more extensively.
21803
21804 2005-11-09  Wim Taymans  <wim@fluendo.com>
21805
21806         * gst/gstobject.c: (gst_object_class_init):
21807         * gst/gstobject.h:
21808         Documentation fixes.
21809
21810 2005-11-09  Edward Hervey  <edward@fluendo.com>
21811
21812         * gst/gsttypefindfactory.c:
21813         Fix docs.
21814         
21815 2005-11-09  Edward Hervey  <edward@fluendo.com>
21816
21817         * gst/base/gsttypefindhelper.c:
21818         * gst/gsttypefind.c:
21819         * gst/gsttypefind.h:
21820         Fix docs.
21821
21822 2005-11-09  Wim Taymans  <wim@fluendo.com>
21823
21824         * gst/gstiterator.c:
21825         Fix revision data.
21826
21827         * gst/gsttask.c:
21828         * gst/gsttask.h:
21829         Fix docs.
21830
21831 2005-11-09  Wim Taymans  <wim@fluendo.com>
21832
21833         * gst/gstevent.h:
21834         * gst/gsturi.h:
21835         Fix docs.
21836
21837 2005-11-09  Wim Taymans  <wim@fluendo.com>
21838
21839         * docs/gst/gstreamer-sections.txt:
21840         Moved the message async delivery private lock and cond
21841         to the private section.
21842
21843         * gst/gstmessage.c:
21844         * gst/gstmessage.h:
21845         Fixed docs.
21846
21847 2005-11-09  Edward Hervey  <edward@fluendo.com>
21848
21849         * docs/gst/gstreamer-sections.txt:
21850         * gst/gsturi.c:
21851         * gst/gsturi.h:
21852         Document GstURIHandler
21853
21854 2005-11-09  Wim Taymans  <wim@fluendo.com>
21855
21856         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21857         (gst_iterator_find_custom):
21858         * gst/gstiterator.h:
21859         Fix iterator docs.
21860
21861 2005-11-09  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/gstbin.h:
21864         Document another field.
21865
21866         * gst/gststructure.c:
21867         * gst/gststructure.h:
21868         Document.
21869
21870 2005-11-09  Wim Taymans  <wim@fluendo.com>
21871
21872         * gst/gstbin.h:
21873         Documented structs.
21874
21875 2005-11-09  Wim Taymans  <wim@fluendo.com>
21876
21877         * docs/gst/gstreamer-sections.txt:
21878         Added some new macros.
21879
21880         * gst/gstclock.c:
21881         * gst/gstclock.h:
21882         * gst/gstobject.h:
21883         Docs updates.
21884
21885 2005-11-09  Wim Taymans  <wim@fluendo.com>
21886
21887         * docs/design/part-TODO.txt:
21888         Some more items for the TODO
21889
21890         * gst/gstcaps.c:
21891         * gst/gstcaps.h:
21892         Document GstCaps.
21893
21894 2005-11-09  Andy Wingo  <wingo@pobox.com>
21895
21896         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21897         to work on something else now tho...
21898
21899         * gst/base/gstadapter.c: More adapter docs.
21900
21901         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21902         (gst_file_sink_stop): New functions, replace the state change
21903         handler.
21904         (gst_file_sink_class_init): Hook up the start and stop functions.
21905         (gst_file_sink_base_init): Don't set the state change handler any
21906         more. It was a bit ugly too, being set from here...
21907         (gst_file_sink_get_property, gst_file_sink_set_property):
21908         Cleanups...
21909         (gst_file_sink_set_location): More robust check that doesn't call
21910         GST_STATE. Ugggggg.
21911
21912 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21913
21914         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21915           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21916
21917 2005-11-08  Wim Taymans  <wim@fluendo.com>
21918
21919         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21920         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21921         (gst_base_sink_chain), (gst_base_sink_change_state):
21922         * gst/base/gstbasesink.h:
21923         * gst/base/gstbasesrc.h:
21924         * gst/gstelement.h:
21925         * gst/gstevent.h:
21926         Avoid excessive typechecking in macros.
21927
21928         * gst/gstminiobject.c: (gst_mini_object_get_type),
21929         (gst_mini_object_init), (gst_mini_object_new),
21930         (gst_mini_object_free):
21931         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21932         (gst_object_finalize):
21933         Remove cruft code, optimize alloc_trace.
21934
21935 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21936
21937         * docs/faq/gst-uninstalled:
21938           fix up PS1 for systems that try to reset it
21939
21940 2005-11-07  Wim Taymans  <wim@fluendo.com>
21941
21942         * gst/base/gstbasesrc.c: (gst_base_src_init),
21943         (gst_base_src_get_range):
21944         Set the segment_end to -1 initially. Fixed typefind.
21945
21946 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21947
21948         * gst/base/gstadapter.c:
21949           Debug category should be 'adapter', not 'GstAdapter'.
21950           
21951         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21952         (gst_collectpads_class_init), (gst_collectpads_init),
21953         (gst_collectpads_peek), (gst_collectpads_pop),
21954         (gst_collectpads_event), (gst_collectpads_chain):
21955           Add debug category and some debugging output. Use boilerplate
21956           macros. Remove some extraneous words from docs.
21957
21958 2005-11-05  Andy Wingo  <wingo@pobox.com>
21959
21960         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21961         macro.
21962
21963 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21964
21965         * docs/gst/gstreamer-sections.txt:
21966         * gst/gstcaps.h:
21967         * gst/gstinfo.c:
21968         * gst/gstminiobject.h:
21969         * gst/gstobject.h:
21970         * gst/gstutils.h:
21971           more docs added
21972
21973 2005-11-04  Wim Taymans  <wim@fluendo.com>
21974
21975         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21976         Small update to stop at the configured segment_end
21977         position.
21978
21979 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21980
21981         * gst/gstregistry.c:
21982         * gst/gstregistry.h:
21983           added missing docs
21984
21985 2005-11-04  Edward Hervey  <edward@fluendo.com>
21986
21987         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21988         Check if we are doing a segment seek and have arrived at the
21989         end of that segment.
21990
21991 2005-11-04  Wim Taymans  <wim@fluendo.com>
21992
21993         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21994         Don't leak a mutex unlock in case of an error.
21995
21996         * gst/gstbus.h:
21997         Doc fixes.
21998
21999 2005-11-04  Wim Taymans  <wim@fluendo.com>
22000
22001         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22002         (gst_bus_post):
22003         Get the context to wake up only once.
22004
22005 2005-11-03  Wim Taymans  <wim@fluendo.com>
22006
22007         * check/states/sinks.c: (GST_START_TEST):
22008         Uncomment fixed check.
22009
22010         * docs/design/part-TODO.txt:
22011         Updated TODO.
22012
22013         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22014         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22015         (gst_base_sink_get_position):
22016         If we are going to PLAYING, post the right pending state
22017         when we post the intermediate paused message.
22018
22019         * gst/gstelement.c: (gst_element_continue_state),
22020         (gst_element_set_state_func), (gst_element_change_state):
22021         Don't post state changes that were between the same state
22022         and were not ASYNC.
22023
22024 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22025
22026         * docs/gst/gstreamer-sections.txt:
22027         * gst/gstcaps.h:
22028         * gst/gstinfo.c:
22029         * gst/gstminiobject.h:
22030         * gst/gstobject.h:
22031         * gst/gstutils.h:
22032           more docs and doc style fixes
22033
22034 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22035
22036         * docs/gst/gstreamer-sections.txt:
22037         * gst/gstelement.c:
22038         * gst/gstminiobject.c:
22039         doc fixes
22040
22041 2005-11-03  Andy Wingo  <wingo@pobox.com>
22042
22043         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22044         state-changed messages actually have the right order and the right
22045         values.
22046
22047 2005-11-03  Wim Taymans  <wim@fluendo.com>
22048
22049         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22050         Added some more checks. Specifically the case where NO_PREROLL
22051         elements are in the pipeline.
22052
22053         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22054         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22055         (gst_base_sink_get_position):
22056         Post READY->PAUSED state change messages too.
22057         Fix bug where VOID was posted as pending state...
22058
22059         * gst/gstbin.c: (gst_bin_recalc_state):
22060         use _element_continue_state() to continue the state change.
22061
22062         * gst/gstelement.c: (gst_element_continue_state),
22063         (gst_element_commit_state), (gst_element_set_state_func),
22064         (gst_element_change_state), (gst_element_change_state_func):
22065         Lots of state change cleanups, assign the STATE_RETURN in
22066         a new continue_state() function that also propagates the
22067         last return value from a state change to the app.
22068         Update some debug statements with proper category.
22069
22070 2005-11-03  Wim Taymans  <wim@fluendo.com>
22071
22072         * docs/design/part-events.txt:
22073         * docs/design/part-gstpipeline.txt:
22074         * docs/design/part-messages.txt:
22075         * docs/design/part-overview.txt:
22076         * docs/design/part-seeking.txt:
22077         * docs/design/part-states.txt:
22078         * docs/design/part-trickmodes.txt:
22079         * docs/manual/advanced-position.xml:
22080         Small docs updates.
22081
22082         * gst/gstobject.h:
22083         People think !! is ugly, this looks better.
22084
22085         * gst/gstpad.c: (gst_pad_set_blocked_async):
22086         Remove !! since it's fixed elsewhere now.
22087
22088 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22089
22090         * gst/gstminiobject.h:
22091         * gst/gstobject.h:
22092           Add !! to _FLAG_IS_SET macros to make the result boolean.
22093
22094 2005-11-03  Edward Hervey  <edward@fluendo.com>
22095
22096         * gst/gstpad.c: (gst_pad_set_blocked_async):
22097         comparing a flag and a gboolean rarely returns coherent results...
22098         Added two characters (!!) to make that work correctly.
22099         
22100 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22101
22102         * gst/gstbus.c: (gst_bus_class_init):
22103           Fix some typos.
22104           
22105         * gst/gstqueue.c: (gst_queue_loop):
22106           Don't assume a miniobject that isn't a buffer is an
22107           event (it could be that there is a refcounting
22108           problem somewhere and the pointer is stale and
22109           refers to an already destroyed miniobject).
22110
22111 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22112
22113         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22114
22115 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22116
22117         * docs/manual/advanced-position.xml:
22118           Update seek example and explanations to current 0.9 API.
22119
22120         * gst/elements/gsttypefindelement.c:
22121         (gst_type_find_element_activate):
22122           Remove FIXME comment now that the found caps
22123           are unreffed.
22124
22125 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22126
22127         * gst/gstregistryxml.c: (load_feature):
22128           Add another GST_STR_NULL instance
22129
22130 2005-11-02  Edward Hervey  <edward@fluendo.com>
22131
22132         * gst/gstpad.c: (handle_pad_block):
22133         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22134         
22135 2005-11-02  Wim Taymans  <wim@fluendo.com>
22136
22137         * gst/gstbin.c:
22138         Fix typo in docs.
22139
22140         * gst/gstelement.c: (gst_element_commit_state):
22141         Remove unused value.
22142
22143         * gst/gstiterator.c:
22144         Mention that the returned element is reffed in the docs.
22145
22146 2005-11-02  Wim Taymans  <wim@fluendo.com>
22147
22148         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22149         (gst_pad_push), (gst_pad_push_event):
22150         Unlock blocked pads when they are flushed.
22151
22152 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22153
22154         * docs/README:
22155         * docs/gst/gstreamer-sections.txt:
22156         * gst/gstbin.c:
22157           doc updates
22158         * gst/gstregistry.c: (gst_registry_scan_path_level):
22159           fix for a nasty little missed situation where an installed plug-in
22160           which was in the cache did not get overridden by an uninstalled one
22161           which was earlier in the plugin path because the newly created plugin
22162           for the uninstalled one (not in the registry) didn't get its
22163           ->registered set to TRUE
22164
22165 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22166
22167         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22168         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22169         (gst_collectpads_is_active), (gst_collectpads_collect),
22170         (gst_collectpads_collect_range), (gst_collectpads_start),
22171         (gst_collectpads_stop), (gst_collectpads_peek),
22172         (gst_collectpads_pop), (gst_collectpads_available),
22173         (gst_collectpads_read), (gst_collectpads_flush):
22174           Guard public API with assertions.
22175         
22176         * gst/gstpad.c:
22177           Fix docs for gst_pad_set_link_function().
22178
22179 2005-11-02  Johan Dahlin  <johan@gnome.org>
22180
22181         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22182         Unref found_caps after we used it.
22183
22184 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22185
22186         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22187           Don't try to ref NULL.
22188
22189 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22190
22191         * win32/common/config.h.in:
22192           provide a GST_FUNCTION that just gives a string for now
22193
22194 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22195
22196         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22197         (gst_object_flags_get_type), (register_gst_bin_flags),
22198         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22199         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22200         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22201         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22202         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22203         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22204         (gst_clock_flags_get_type), (register_gst_state),
22205         (gst_state_get_type), (register_gst_state_change_return),
22206         (gst_state_change_return_get_type), (register_gst_state_change),
22207         (gst_state_change_get_type), (register_gst_element_flags),
22208         (gst_element_flags_get_type), (register_gst_core_error),
22209         (gst_core_error_get_type), (register_gst_library_error),
22210         (gst_library_error_get_type), (register_gst_resource_error),
22211         (gst_resource_error_get_type), (register_gst_stream_error),
22212         (gst_stream_error_get_type), (register_gst_event_type),
22213         (gst_event_type_get_type), (register_gst_seek_type),
22214         (gst_seek_type_get_type), (register_gst_seek_flags),
22215         (gst_seek_flags_get_type), (register_gst_format),
22216         (gst_format_get_type), (register_gst_index_certainty),
22217         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22218         (gst_index_entry_type_get_type),
22219         (register_gst_index_lookup_method),
22220         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22221         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22222         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22223         (gst_index_flags_get_type), (register_gst_debug_level),
22224         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22225         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22226         (gst_iterator_result_get_type), (register_gst_iterator_item),
22227         (gst_iterator_item_get_type), (register_gst_message_type),
22228         (gst_message_type_get_type), (register_gst_mini_object_flags),
22229         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22230         (gst_pad_link_return_get_type), (register_gst_flow_return),
22231         (gst_flow_return_get_type), (register_gst_activate_mode),
22232         (gst_activate_mode_get_type), (register_gst_pad_direction),
22233         (gst_pad_direction_get_type), (register_gst_pad_flags),
22234         (gst_pad_flags_get_type), (register_gst_pad_presence),
22235         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22236         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22237         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22238         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22239         (gst_plugin_flags_get_type), (register_gst_rank),
22240         (gst_rank_get_type), (register_gst_query_type),
22241         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22242         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22243         (gst_tag_flag_get_type), (register_gst_task_state),
22244         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22245         (gst_alloc_trace_flags_get_type),
22246         (register_gst_type_find_probability),
22247         (gst_type_find_probability_get_type), (register_gst_uri_type),
22248         (gst_uri_type_get_type), (register_gst_parse_error),
22249         (gst_parse_error_get_type):
22250         * win32/common/gstversion.h:
22251           update win32 copies
22252
22253 2005-11-01  Luca Ognibene  <luogni@tin.it>
22254
22255         * gst/gst.c:
22256           fix docs. popt is dead, long live GOption.
22257
22258 2005-10-31  Wim Taymans  <wim@fluendo.com>
22259
22260         * gst/gstbuffer.h:
22261         Small doc fix.
22262
22263 2005-10-31  Andy Wingo  <wingo@pobox.com>
22264
22265         * Boo!
22266
22267         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22268
22269         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22270         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22271         the possibility of deadlocks here if code calling notify() or
22272         set() has a lock that can be taken in another notify handler (ABBA
22273         with class lock and e.g. python GIL state lock).
22274
22275 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22276
22277         * gst/gstbus.c: Doc updates.
22278
22279 2005-10-28  Wim Taymans  <wim@fluendo.com>
22280
22281         * docs/design/part-TODO.txt:
22282         * gst/gstiterator.c:
22283         * gst/gstsystemclock.c:
22284         * gst/gstsystemclock.h:
22285         Doc updates.
22286
22287 2005-10-28  Edward Hervey  <edward@fluendo.com>
22288
22289         * docs/gst/gstreamer-docs.sgml:
22290         * docs/gst/gstreamer-sections.txt:
22291         the GstURIType documentation page is private, it only defines GstURIType
22292         which should be defined in the GstURIHandler page
22293         
22294 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22295
22296         * gst/gstbin.c: (gst_bin_class_init):
22297         * gst/gstbin.h:
22298         * gst/gstutils.c:
22299         Documentation updates.
22300
22301 2005-10-28  Wim Taymans  <wim@fluendo.com>
22302
22303         * docs/gst/gstreamer-sections.txt:
22304         * gst/gstclock.c:
22305         * gst/gstclock.h:
22306         Documented the clocks.
22307
22308 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22309
22310         * docs/gst/gstreamer-sections.txt:
22311           move some macros to private sections
22312         * gst/gstminiobject.c:
22313         * gst/gstminiobject.h:
22314           add descriptions provided by ds and some more
22315         * gst/gstpad.h:
22316           mark macro as to be removed
22317
22318 2005-10-28  Wim Taymans  <wim@fluendo.com>
22319
22320         * docs/design/part-TODO.txt:
22321         Add an item to TODO.
22322
22323         * gst/gstiterator.c: (gst_iterator_fold),
22324         (gst_iterator_find_custom):
22325         * gst/gstiterator.h:
22326         Add iterator docs.
22327
22328 2005-10-28  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22331         (gst_base_transform_init):
22332         Don't leak class.
22333
22334         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22335         An EOS event marks the queue as completely filled.
22336
22337 2005-10-27  Wim Taymans  <wim@fluendo.com>
22338
22339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22340         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22341         Some more debugging.
22342
22343         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22344         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22345         (gst_base_transform_event), (gst_base_transform_getrange),
22346         (gst_base_transform_chain):
22347         * gst/base/gstbasetransform.h:
22348         Fix debugging,
22349         Protect transform and concurrent buffer alloc with a new lock.
22350         Try not to break ABI/API.
22351
22352 2005-10-27  Wim Taymans  <wim@fluendo.com>
22353
22354         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22355         (gst_base_src_init), (gst_base_src_query),
22356         (gst_base_src_default_newsegment),
22357         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22358         (gst_base_src_send_event), (gst_base_src_event_handler),
22359         (gst_base_src_pad_get_range), (gst_base_src_loop),
22360         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22361         (gst_base_src_start), (gst_base_src_deactivate),
22362         (gst_base_src_activate_push), (gst_base_src_change_state):
22363         Move some stuff around and cleanup things.
22364
22365 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22366
22367         * gst/base/gstbasesrc.c: (gst_base_src_query):
22368           Add missing break statements.
22369
22370 2005-10-27  Wim Taymans  <wim@fluendo.com>
22371
22372         * check/gst/gstbin.c: (GST_START_TEST):
22373         An extra refcount is taken in basesrc.
22374
22375         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22376         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22377         (gst_base_src_loop):
22378         Small cleanups, check for flushing after being unlocked from the 
22379         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22380         Don't send out EOS when going to READY.
22381
22382 2005-10-27  Wim Taymans  <wim@fluendo.com>
22383
22384         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22385         (gst_base_sink_get_position):
22386         Some more debug.
22387
22388         * gst/gstbin.c: (message_check), (bin_replace_message),
22389         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22390         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22391         (bin_query_duration_init), (bin_query_duration_fold),
22392         (bin_query_duration_done), (bin_query_generic_fold),
22393         (gst_bin_query):
22394         * tools/gst-launch.c: (main):
22395         Remove old option.
22396
22397 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22398
22399         * examples/controller/audio-example.c: (main):
22400         * examples/queue/queue.c: (event_loop):
22401         * gst/base/gstbasetransform.h:
22402         * gst/gstelement.c: (gst_element_send_event):
22403         * gst/gstevent.h:
22404         * gst/gstpad.c: (gst_pad_send_event):
22405           fixing examples
22406           fixing docs typos
22407           changing log priority in error situations
22408
22409 2005-10-25  Wim Taymans  <wim@fluendo.com>
22410
22411         * gst/gstbin.c: (message_check), (bin_replace_message),
22412         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22413         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22414         (bin_query_duration_init), (bin_query_duration_fold),
22415         (bin_query_duration_done), (bin_query_generic_fold),
22416         (gst_bin_query):
22417         Some doc and debug updates.
22418         Cache previously requested query DURATION for speed. invalidate
22419         cached duration if element posts a DURATION message.
22420
22421 2005-10-25  Wim Taymans  <wim@fluendo.com>
22422
22423         * docs/design/part-TODO.txt:
22424         Update TODO.
22425
22426         * gst/gstbin.c: (message_check), (bin_replace_message),
22427         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22428         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22429         (bin_query_duration_init), (bin_query_duration_fold),
22430         (bin_query_duration_done), (bin_query_generic_fold),
22431         (gst_bin_query):
22432         Handle SEGMENT_START/DONE messages correctly.
22433         More evolved query algorithm that handles duration queries
22434         correctly.
22435
22436         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22437         (gst_element_get_state_func), (gst_element_abort_state),
22438         (gst_element_commit_state), (gst_element_lost_state):
22439         Some more debugging.
22440
22441         * gst/gstmessage.h:
22442         Added doc.
22443
22444 2005-10-25  Wim Taymans  <wim@fluendo.com>
22445
22446         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22447         Don't use invalid stream_time.
22448
22449         * gst/gstevent.c: (gst_event_new_newsegment):
22450         stream_time in newsegment cannot be undefined.
22451
22452 2005-10-24  Wim Taymans  <wim@fluendo.com>
22453
22454         * gst/gstbus.c:
22455         Doc fix.
22456
22457         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22458         (gst_queue_loop):
22459         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22460
22461 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22462
22463         * docs/libs/tmpl/gstdparam.sgml:
22464         * docs/libs/tmpl/gstdplinint.sgml:
22465         * docs/libs/tmpl/gstdpman.sgml:
22466         * docs/libs/tmpl/gstdpsmooth.sgml:
22467         * docs/libs/tmpl/gstunitconvert.sgml:
22468           these are obsolete
22469
22470 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22471
22472         * configure.ac:
22473           back to HEAD
22474
22475 === release 0.9.4 ===
22476
22477 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22478
22479         * configure.ac:
22480           releasing 0.9.4, "Tyrannosaurus Rex"
22481
22482 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22483
22484         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22485         (gst_file_sink_get_current_offset):
22486           Use fseeko() and ftello() if available. When falling back on
22487           lseek() to get the current offset, fflush() first to make sure
22488           everything is up-to-date and we get the right offset.
22489
22490 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22491
22492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22493         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22494         * gst/gsterror.c: (_gst_stream_errors_init):
22495         * gst/gsterror.h:
22496         * gst/gstqueue.c: (gst_queue_loop):
22497         * po/POTFILES.in:
22498           remove prematurely added error category and clean up the instances
22499
22500 2005-10-21  Wim Taymans  <wim@fluendo.com>
22501
22502         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22503         (gst_base_sink_get_position), (gst_base_sink_query),
22504         (gst_base_sink_change_state):
22505         Simply set the right flag when going to playing, that's all
22506         we need to do instead of calling a function inside the object
22507         lock (that could take the lock as well and deadlock)
22508
22509 2005-10-21  Wim Taymans  <wim@fluendo.com>
22510
22511         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22512         (gst_base_src_loop):
22513         Don't warn, the peer element knows what to do best when
22514         the seek failed, it might try something else.
22515
22516 2005-10-21  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/base/gstbasesrc.c: (gst_base_src_init),
22519         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22520         Fix seeking.
22521
22522 2005-10-21  Wim Taymans  <wim@fluendo.com>
22523
22524         * docs/design/part-segments.txt:
22525         More docs.
22526
22527         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22528         Correctly set caps, even on the subbufer.
22529
22530 2005-10-21  Wim Taymans  <wim@fluendo.com>
22531
22532         * docs/gst/gstreamer-docs.sgml:
22533         * docs/gst/gstreamer-sections.txt:
22534         * gst/gstelement.h:
22535         * gst/gstevent.c:
22536         * gst/gstevent.h:
22537         * gst/gstmessage.h:
22538         * gst/gstpad.h:
22539         * gst/gstparse.h:
22540         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22541         * gst/gsttask.h:
22542         * gst/gstutils.c:
22543         * gst/gstutils.h:
22544         And 2% more doc coverage.
22545
22546 2005-10-21  Andy Wingo  <wingo@pobox.com>
22547
22548         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22549         position reporting.
22550
22551 2005-10-20  Wim Taymans  <wim@fluendo.com>
22552
22553         * gst/gsterror.c: (gst_error_get_message):
22554         * gst/gstparse.h:
22555         * gst/gstquery.h:
22556         * gst/gststructure.c:
22557         * gst/gsttrace.c:
22558         * gst/gstutils.c:
22559         More docs.
22560
22561 2005-10-20  Wim Taymans  <wim@fluendo.com>
22562
22563         * gst/gstbuffer.h:
22564         * gst/gstpad.c:
22565         * gst/gstparse.c:
22566         Another 1% more coverage.
22567
22568 2005-10-20  Wim Taymans  <wim@fluendo.com>
22569
22570         * docs/gst/gstreamer-sections.txt:
22571         * gst/gstelement.c: (gst_element_get_state_func),
22572         (gst_element_abort_state), (gst_element_commit_state),
22573         (gst_element_lost_state):
22574         * gst/gstevent.h:
22575         * gst/gstquery.c: (gst_query_set_position),
22576         (gst_query_parse_position), (gst_query_set_duration),
22577         (gst_query_parse_duration), (gst_query_new_convert):
22578         * gst/gstutils.c:
22579         Yay! 1% more docs coverage.
22580
22581 2005-10-20  Wim Taymans  <wim@fluendo.com>
22582
22583         * gst/gstpad.h:
22584         * gst/gstquery.c: (gst_query_set_position),
22585         (gst_query_parse_position), (gst_query_set_duration),
22586         (gst_query_parse_duration), (gst_query_new_convert):
22587         * gst/gstquery.h:
22588         * gst/gstutils.c: (gst_element_query_convert):
22589         * gst/gstutils.h:
22590         Docs and consistency fixes.
22591
22592 2005-10-20  Wim Taymans  <wim@fluendo.com>
22593
22594         * gst/gsttask.c:
22595         * gst/gsttask.h:
22596         More docs.
22597
22598 2005-10-20  Wim Taymans  <wim@fluendo.com>
22599
22600         * gst/gstbin.c: (message_check), (bin_replace_message),
22601         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22602         (update_degree), (gst_bin_sort_iterator_next),
22603         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22604         Reworked the message handling a bit, cache the messages instead of
22605         only the senders. alows us to do more in the future.
22606
22607 2005-10-20  Wim Taymans  <wim@fluendo.com>
22608
22609         * docs/design/part-TODO.txt:
22610         Update TODO
22611
22612         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22613         (gst_base_sink_query):
22614         Don't use clock time to report position when in EOS.
22615
22616 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22617
22618         * tools/gst-inspect.c: (print_interfaces),
22619         (print_element_properties_info), (print_element_info):
22620           Fix interface output with gst-inspect -a; don't print
22621           newlines after double/float properties.
22622
22623 2005-10-20  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22626         (gst_base_sink_query):
22627         Speed up current position calculation.
22628
22629         * gst/base/gstbasesrc.c: (gst_base_src_query),
22630         (gst_base_src_default_newsegment):
22631         Correctly set stream position in newsegment.
22632
22633         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22634         (update_degree), (gst_bin_sort_iterator_next),
22635         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22636         * gst/gstmessage.c: (gst_message_new_custom):
22637         Clean up debugging info
22638
22639         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22640         (gst_queue_loop), (gst_queue_handle_src_query):
22641         Pause task faster.
22642
22643 2005-10-19  Wim Taymans  <wim@fluendo.com>
22644
22645         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22646         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22647         Fix query handling again.
22648
22649 2005-10-19  Wim Taymans  <wim@fluendo.com>
22650
22651         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22652         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22653         * gst/base/gstbasesrc.c: (gst_base_src_query):
22654         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22655         * gst/elements/gsttypefindelement.c:
22656         (gst_type_find_handle_src_query), (find_element_get_length),
22657         (gst_type_find_element_activate):
22658         API change fix.
22659
22660         * gst/gstquery.c: (gst_query_new_position),
22661         (gst_query_set_position), (gst_query_parse_position),
22662         (gst_query_new_duration), (gst_query_set_duration),
22663         (gst_query_parse_duration), (gst_query_set_segment),
22664         (gst_query_parse_segment):
22665         * gst/gstquery.h:
22666         Bundling query position/duration is not a good idea since duration
22667         does not change much and we don't want to recalculate it for every
22668         position query, so they are separated again..
22669         Base value in segment query is not needed.
22670
22671         * gst/gstqueue.c: (gst_queue_handle_src_query):
22672         * gst/gstutils.c: (gst_element_query_position),
22673         (gst_element_query_duration), (gst_pad_query_position),
22674         (gst_pad_query_duration):
22675         * gst/gstutils.h:
22676         Updates for query API change.
22677         Added some docs here and there.
22678
22679 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22680
22681         * check/gst/gstbin.c: (GST_START_TEST):
22682         * check/gst/gstghostpad.c: (GST_START_TEST):
22683         * check/pipelines/cleanup.c: (GST_START_TEST):
22684           wait on thread to die so we can check refcount correctly
22685
22686 2005-10-18  Wim Taymans  <wim@fluendo.com>
22687
22688         * check/pipelines/stress.c: (GST_START_TEST):
22689         Make check a little more time consuming.
22690
22691 2005-10-18  Wim Taymans  <wim@fluendo.com>
22692
22693         * check/Makefile.am:
22694         * check/pipelines/stress.c: (GST_START_TEST),
22695         (simple_launch_lines_suite), (main):
22696         Small state change torture test.
22697
22698         * docs/design/part-states.txt:
22699         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22700         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22701         (gst_base_sink_change_state):
22702         Never take state lock from streaming thread, clean up ugly
22703         hacks. Unfortunatly core does not yet support nice ways to
22704         async commit state.
22705         
22706         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22707         (bin_bus_handler):
22708         Start state recalc if a STATE_DIRTY message is posted, but only
22709         on the toplevel bin.
22710
22711         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22712         (gst_element_get_state_func), (gst_element_abort_state),
22713         (gst_element_commit_state), (gst_element_lost_state),
22714         (gst_element_set_state_func), (gst_element_change_state):
22715         * gst/gstelement.h:
22716         State variables are now protected with the LOCK, the state
22717         lock is only used to serialize _set_state().
22718
22719 2005-10-18  Wim Taymans  <wim@fluendo.com>
22720
22721         * check/gst/gstbin.c: (GST_START_TEST):
22722         * check/gst/gstmessage.c: (GST_START_TEST):
22723         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22724         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22725         (bin_bus_handler):
22726         * gst/gstelement.c: (gst_element_abort_state),
22727         (gst_element_commit_state), (gst_element_lost_state):
22728         * gst/gstmessage.c: (gst_message_new_state_changed),
22729         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22730         (gst_message_new_segment_done), (gst_message_new_duration),
22731         (gst_message_parse_state_changed),
22732         (gst_message_parse_segment_start),
22733         (gst_message_parse_segment_done), (gst_message_parse_duration):
22734         * gst/gstmessage.h:
22735         * tools/gst-launch.c: (event_loop):
22736         Seriously, this is better than a previous commit as we only need
22737         to notify the fact that an element changed state in a streaming
22738         thread, marking the state of the parents dirty, hence the 
22739         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22740         message.
22741
22742 2005-10-18  Wim Taymans  <wim@fluendo.com>
22743
22744         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22745         (gst_bin_recalc_func):
22746         * gst/gstelement.c: (gst_element_set_clock),
22747         (gst_element_abort_state), (gst_element_lost_state):
22748         Cleanups, prepare for state change fixes.
22749
22750 2005-10-18  Wim Taymans  <wim@fluendo.com>
22751
22752         * gst/gstbin.h:
22753         * gst/gstelement.c: (gst_element_class_init),
22754         (gst_element_set_state), (gst_element_set_state_func):
22755         * gst/gstelement.h:
22756         Pending ABI changes.
22757         GThreadPool in GstBinClass to monitor async state changes.
22758         state_cookie in GstElement to detect concurrent gst/set state.
22759         set_state is now virtual too in case a very complicated element
22760         has to be constructed.
22761
22762 2005-10-18  Wim Taymans  <wim@fluendo.com>
22763
22764         * check/gst/gstbin.c: (GST_START_TEST):
22765         * check/gst/gstmessage.c: (GST_START_TEST):
22766         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22767         * gst/gstbin.c: (bin_bus_handler):
22768         * gst/gstelement.c: (gst_element_commit_state),
22769         (gst_element_lost_state):
22770         * gst/gstmessage.c: (gst_message_new_state_changed),
22771         (gst_message_new_segment_start), (gst_message_new_segment_done),
22772         (gst_message_new_duration), (gst_message_parse_state_changed),
22773         (gst_message_parse_segment_start),
22774         (gst_message_parse_segment_done), (gst_message_parse_duration):
22775         * gst/gstmessage.h:
22776         * tools/gst-launch.c: (event_loop):
22777         Make messages future proof.
22778         state-change gets a flag if it was a message comming from the
22779         streaming thread.
22780         segment-start/stop can also be specified in other formats.
22781         A message to notify an app that a pipeline changed playback 
22782         duration.
22783         Also fix a GstMessage leak in -launch
22784
22785 2005-10-18  Andy Wingo  <wingo@pobox.com>
22786
22787         * gst/gstelement.c (gst_element_dispose): More helpful message.
22788
22789 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22790
22791         reviewed by: <delete if not using a buddy>
22792
22793         * common/gtk-doc.mak:
22794
22795 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22796
22797         * gst/gstregistry.c: (gst_registry_scan_path_level):
22798           unref a plug-in we get that was already initialized
22799
22800 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22801
22802         * docs/gst/gstreamer-sections.txt:
22803         * docs/libs/gstreamer-libs-sections.txt:
22804         * gst/gstelement.h:
22805           add new api entries
22806           hide internal macro
22807
22808 2005-10-17  Andy Wingo  <wingo@pobox.com>
22809
22810         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22811         cleanup.
22812
22813         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22814
22815         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22816
22817         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22818         (gst_element_get_state_func): Better debug message.
22819         (gst_element_commit_state): s/INFO/DEBUG/.
22820         (gst_element_lost_state, gst_element_change_state): 
22821
22822         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22823         (gst_message_new_custom): s/INFO/LOG/.
22824
22825 2005-10-17  Michael Smith <msmith@fluendo.com>
22826
22827         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22828           Check if end time is valid using end time, not start time.
22829
22830 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22831
22832         * check/gst-libs/controller.c: (GST_START_TEST),
22833         (gst_controller_suite):
22834         * libs/gst/controller/gstcontroller.c:
22835         (gst_controlled_property_set_interpolation_mode):
22836         * libs/gst/controller/gstcontroller.h:
22837         * libs/gst/controller/gstinterpolation.c:
22838         * testsuite/controller/.cvsignore:
22839         * testsuite/controller/Makefile.am:
22840         * testsuite/controller/interpolator.c:
22841           merge controller testsuites
22842           fix broken tests
22843           remove mem-chunk from docs
22844
22845 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22846
22847         * gst/gstmemchunk.c:
22848         * gst/gstmemchunk.h:
22849         * gst/gsttrashstack.c:
22850         * gst/gsttrashstack.h:
22851           out.  get out.  you're fired.  to the Attic !
22852
22853 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22854
22855         * gst/gstcaps.c: (gst_caps_intersect):
22856           fix signedness issues in a (hopefully) correct way
22857         * gst/gstelement.c: (gst_element_pads_activate):
22858           some debugging
22859         * gst/gstobject.c: (gst_object_set_parent):
22860           some debugging
22861
22862 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22863
22864         * gst/gstvalue.h: Fix prototypes.
22865
22866 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22867
22868         * docs/gst/gstreamer-sections.txt:
22869         * gst/gst.c: (gst_version_string):
22870         * gst/gst.h:
22871         * gst/gstversion.h.in:
22872         * win32/common/libgstreamer.def:
22873           add gst_version_string ()
22874
22875 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22876
22877         * configure.ac:
22878           clean up further
22879         * gst/gst.c: (init_post):
22880         * win32/common/config.h.in:
22881           it's PLUGINDIR now
22882         * gst/gstcaps.c: (gst_caps_intersect):
22883           use gint64, the range could be bigger than a guint
22884
22885 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22886
22887         * gst/gstclock.h:
22888           document potential problem in 2038
22889
22890 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * gst/gstcaps.c: (gst_caps_intersect):
22893           Fix guint j diving under 0
22894
22895 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22896
22897         * configure.ac:
22898         * win32/common/config.h:
22899         * win32/common/config.h.in:
22900           check for process.h, declares getpid() on Windows
22901         * gst/gstinfo.c:
22902           include process.h if we have it
22903         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22904         * gst/gstmemchunk.h:
22905           fix signedness issues
22906         * win32/common/libgstreamer.def:
22907           fix get_type's
22908
22909 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22910
22911         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22912         fix. Because of unsigned ints, caps intersection was going nuts and
22913         trying to access structures with G_MAXUINT index. That fixes
22914         videotestsrc ! ffmpegcolorspace ! fakesink
22915         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22916         consistency.
22917
22918 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22919
22920         * configure.ac:
22921           use the gettext macro
22922         * gst/elements/gstelements.c:
22923         * gst/gst.c:
22924         * gst/indexers/gstindexers.c:
22925           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22926         * win32/common/config.h:
22927           updated config.h
22928         * win32/common/config.h.in:
22929           add the template to generate config.h
22930         * win32/common/gstenumtypes.c:
22931         * win32/common/gstversion.h:
22932           updated copies
22933
22934 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22935
22936         * gst/gst.c: (gst_version):
22937         * gst/gstversion.h.in:
22938           add the nano
22939
22940 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22941
22942         * gst/gstevent.h:
22943           Oops, add missing closing bracket.
22944
22945 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22946
22947         * configure.ac:
22948           use common m4's for argument checking
22949
22950 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22951
22952         * docs/gst/gstreamer-sections.txt:
22953         * gst/gstevent.h:
22954           Add GST_EVENT_TYPE_NAME() macro.
22955
22956 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * gst/gstinfo.c:
22959         * gst/gstpluginfeature.c:
22960         * gst/gsttask.c:
22961           privatize more symbols
22962
22963 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22964
22965         * configure.ac:
22966           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22967           everything that uses GStreamer API should have the includes
22968
22969 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22970
22971         * docs/gst/gstreamer-sections.txt:
22972         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22973         * gst/gstvalue.h:
22974           give each value a _get_type, removes the DATA exports
22975
22976 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22977
22978         * gst/gst.c:
22979         * gst/gst.h:
22980           remove _gst_registry_auto_load, not used anymore
22981         * gst/gstbin.c: (gst_bin_get_type):
22982         * gst/gstbin.h:
22983         * gst/gstelement.c: (gst_element_get_type):
22984         * gst/gstelement.h:
22985         * gst/gstobject.c: (gst_object_get_type):
22986         * gst/gstobject.h:
22987         * gst/gstpad.c: (gst_pad_get_type):
22988         * gst/gstpad.h:
22989           make _get_type functions similar, fixes data export from library
22990
22991 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22992
22993         * configure.ac:
22994           correctly make conditionals
22995         * gst/elements/Makefile.am:
22996         * gst/elements/gstelements.c:
22997           fix typo causing fdsrc not to build
22998
22999 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23000
23001         * testsuite/Makefile.am:
23002         * testsuite/bytestream/.cvsignore:
23003         * testsuite/bytestream/Makefile.am:
23004         * testsuite/bytestream/filepadsink.c:
23005         * testsuite/bytestream/gstbstest.c:
23006         * testsuite/bytestream/test1.c:
23007         * testsuite/bytestream/testfile1:
23008         * testsuite/caps/normalisation.c:
23009         * testsuite/caps/random.c: (main):
23010         * testsuite/cleanup/.cvsignore:
23011         * testsuite/cleanup/Makefile.am:
23012         * testsuite/cleanup/cleanup1.c:
23013         * testsuite/cleanup/cleanup2.c:
23014         * testsuite/cleanup/cleanup3.c:
23015         * testsuite/cleanup/cleanup4.c:
23016         * testsuite/cleanup/cleanup5.c:
23017         * testsuite/controller/interpolator.c:
23018         * testsuite/debug/printf_extension.c: (main):
23019         * testsuite/elements/tee.c:
23020         * testsuite/negotiation/.cvsignore:
23021         * testsuite/negotiation/Makefile.am:
23022         * testsuite/negotiation/pad_link.c:
23023         * testsuite/pad/Makefile.am:
23024         * testsuite/pad/chainnopull.c:
23025         * testsuite/pad/getnopush.c:
23026         * testsuite/pad/link.c:
23027         * testsuite/refcounting/sched.c: (create_pipeline):
23028         * testsuite/registry/Makefile.am:
23029         * testsuite/registry/gst-print-formats.c:
23030         * testsuite/schedulers/.cvsignore:
23031         * testsuite/schedulers/142183-2.c:
23032         * testsuite/schedulers/142183.c:
23033         * testsuite/schedulers/143777-2.c:
23034         * testsuite/schedulers/143777.c:
23035         * testsuite/schedulers/147713.c:
23036         * testsuite/schedulers/147819.c:
23037         * testsuite/schedulers/147894-2.c:
23038         * testsuite/schedulers/147894.c:
23039         * testsuite/schedulers/Makefile.am:
23040         * testsuite/schedulers/group_link.c:
23041         * testsuite/schedulers/queue_link.c:
23042         * testsuite/schedulers/relink.c:
23043         * testsuite/schedulers/unlink.c:
23044         * testsuite/schedulers/unref.c:
23045         * testsuite/schedulers/useless_iteration.c:
23046         * testsuite/states/bin.c:
23047           clean out/remove some stuff from the testsuite directories
23048
23049 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23050
23051         * configure.ac:
23052           check for some headers
23053         * gst/elements/Makefile.am:
23054         * gst/elements/gstelements.c:
23055           don't compile fdsrc without sys/socket.h
23056         * gst/indexers/Makefile.am:
23057         * gst/indexers/gstindexers.c: (plugin_init):
23058           don't compile fileindex without mmap
23059
23060 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23061
23062         * configure.ac:
23063           reorganize
23064           clean up
23065           document more
23066           remove cruft
23067         * check/Makefile.am:
23068         * docs/gst/Makefile.am:
23069         * examples/helloworld/Makefile.am:
23070         * gst/Makefile.am:
23071         * gst/base/Makefile.am:
23072         * gst/check/Makefile.am:
23073         * gst/elements/Makefile.am:
23074         * gst/indexers/Makefile.am:
23075         * gst/parse/Makefile.am:
23076         * libs/gst/controller/Makefile.am:
23077         * libs/gst/dataprotocol/Makefile.am:
23078         * examples/helloworld/helloworld.c: (event_loop):
23079           compile fixes, though it's not being compiled currently
23080
23081 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23082
23083         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23084           Add some simple tests for the new taglist date API.
23085
23086 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23087
23088         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23089         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23090           Beautify 'last-message' output: print 'none' for buffer timestamps
23091           and durations if none is set; improve alignment with next messages.
23092
23093 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23094
23095         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23096         * gst/gstpluginfeature.h:
23097         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23098         * gst/gstregistry.h:
23099         * docs/gst/gstreamer-sections.txt:
23100           Add new API to check plugin feature version requirements.
23101
23102         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23103           Some basic tests for the above.         
23104
23105 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23106
23107         * gst/gststructure.c: (gst_structure_to_string):
23108           guard against NULL printf - happens when for example
23109           a message structure with GstClock gets serialized
23110
23111 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23112
23113         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23114           Fix presumable copy'n'pasto.
23115
23116 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23117
23118         * gst/elements/gstfakesrc.h:
23119         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23120         * gst/elements/gsttypefindelement.c:
23121           fix some signedness
23122         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23123           I wonder if this could actually write +2GB files before
23124
23125 2005-10-13  Andy Wingo  <wingo@pobox.com>
23126
23127         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23128         Fix Timmeke Waymans bug.
23129         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23130         string of the proper length to gst_caps_from_string. There's a
23131         potential for, before this fix, that this could cause someone
23132         connecting over the network to cause a segfault if the payload is
23133         not NUL-terminated.
23134
23135 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23136
23137         * docs/design/draft-push-pull.txt:
23138         * docs/design/part-overview.txt:
23139         * docs/random/TODO-pre-0.9:
23140         * docs/random/old/ChangeLog.gstreamer:
23141         * gst/base/gstpushsrc.c:
23142         * gst/gstclock.c:
23143           fixed typos
23144
23145 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23146
23147         * gst/glib-compat.c: (gst_flags_get_first_value):
23148         * gst/glib-compat.h:
23149         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23150         (gst_value_compare_double), (gst_value_serialize_flags):
23151           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23152           infinite loop
23153
23154 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23155
23156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23157         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23158           fix up debugging
23159         * tools/gst-launch.c: (event_loop):
23160           print out clock nicely
23161
23162 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23163
23164         * docs/gst/gstreamer-sections.txt:
23165         * gst/gsttaglist.h:
23166         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23167         (gst_tag_list_get_date_index):
23168           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23169           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23170
23171 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23172
23173         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23174         (gst_collectpads_chain):
23175         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23176         in CollectData.
23177
23178 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23179
23180         * docs/gst/gstreamer-sections.txt:
23181         * gst/gst.c:
23182         * gst/gsterror.h:
23183         * tools/gst-inspect.c: (main):
23184         * tools/gst-launch.c: (main):
23185         * tools/gst-run.c: (main):
23186         * tools/gst-xmlinspect.c: (main):
23187           fix GOption context leaks
23188           doc fixes
23189
23190 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23191
23192         * gst/gstbus.c:
23193           use HAVE_UNISTD_H
23194         * win32/common/config.h:
23195           update config
23196         * win32/vs6/grammar.dsp:
23197         * win32/vs6/libgstelements.dsp:
23198         * win32/vs6/libgstreamer.dsp:
23199           update vs6 files
23200
23201 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23202
23203         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23204         * gst/base/gstbasesrc.c: (gst_base_src_query):
23205           fix more guint64<->gdouble conversions
23206
23207 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23208
23209         * Makefile.am:
23210           add win32-update target
23211         * win32/common/gstconfig.h:
23212         * win32/common/gstenumtypes.c:
23213         * win32/common/gstenumtypes.h:
23214         * win32/common/gstversion.h:
23215           add files that visual studio can't generate
23216
23217 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23218
23219         * Makefile.am:
23220           add a win32-update target
23221         * configure.ac:
23222
23223 2005-10-12  Wim Taymans  <wim@fluendo.com>
23224
23225         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23226         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23227         * gst/gstelement.c: (gst_element_commit_state),
23228         (gst_element_set_state):
23229         Protect flags with proper lock.
23230         unref provided cached clock in dispose.
23231
23232 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23233
23234         * gst/gst.c:
23235         * gst/gstminiobject.h:
23236         * gst/gstpad.h:
23237         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23238           removed unused flags from miniobject
23239           doc fixes
23240
23241 2005-10-12  Wim Taymans  <wim@fluendo.com>
23242
23243         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23244         (gst_file_sink_event), (gst_file_sink_render):
23245         Flush before seeking.
23246
23247 2005-10-12  Andy Wingo  <wingo@pobox.com>
23248
23249         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23250         always been the case.
23251
23252 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23253
23254         * check/gst/gstbin.c: (GST_START_TEST):
23255         * docs/gst/gstreamer-sections.txt:
23256         * gst/base/gstbasesink.c: (gst_base_sink_init):
23257         * gst/base/gstbasesrc.c: (gst_base_src_init),
23258         (gst_base_src_get_range), (gst_base_src_check_get_range),
23259         (gst_base_src_start), (gst_base_src_stop):
23260         * gst/base/gstbasesrc.h:
23261         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23262         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23263         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23264         (bin_bus_handler):
23265         * gst/gstbin.h:
23266         * gst/gstbuffer.h:
23267         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23268         * gst/gstbus.h:
23269         * gst/gstelement.c: (gst_element_is_locked_state),
23270         (gst_element_set_locked_state), (gst_element_commit_state),
23271         (gst_element_set_state):
23272         * gst/gstelement.h:
23273         * gst/gstindex.c: (gst_index_init):
23274         * gst/gstindex.h:
23275         * gst/gstminiobject.h:
23276         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23277         (gst_object_set_parent):
23278         * gst/gstobject.h:
23279         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23280         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23281         * gst/gstpad.h:
23282         * gst/gstpadtemplate.h:
23283         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23284         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23285         * gst/gstpipeline.h:
23286         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23287         (gst_file_index_commit):
23288         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23289         * testsuite/pad/link.c: (gst_test_src_init),
23290         (gst_test_filter_init), (gst_test_sink_init):
23291         * testsuite/states/locked.c: (main):
23292           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23293           moved bitshift from macro to enum definition
23294
23295 2005-10-12  Wim Taymans  <wim@fluendo.com>
23296
23297         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23298         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23299         (gst_file_sink_render):
23300         Some more debugging info.
23301
23302 2005-10-12  Wim Taymans  <wim@fluendo.com>
23303
23304         * docs/design/part-states.txt:
23305         * tools/gst-launch.c: (main):
23306         Some doc updates.
23307         Revert non-intentional change.
23308
23309 2005-10-12  Wim Taymans  <wim@fluendo.com>
23310
23311         * check/gst/gstbin.c: (GST_START_TEST):
23312         * check/gst/gstelement.c: (GST_START_TEST):
23313         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23314         * check/gst/gstghostpad.c: (GST_START_TEST):
23315         * check/gst/gstpipeline.c: (GST_START_TEST):
23316         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23317         * check/states/sinks.c: (GST_START_TEST):
23318         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23319         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23320         (gst_bin_remove_func), (gst_bin_get_state_func),
23321         (gst_bin_recalc_state), (gst_bin_change_state_func),
23322         (bin_bus_handler):
23323         * gst/gstelement.c: (gst_element_get_state_func),
23324         (gst_element_get_state), (gst_element_abort_state),
23325         (gst_element_commit_state), (gst_element_set_state),
23326         (gst_element_change_state), (gst_element_change_state_func):
23327         * gst/gstelement.h:
23328         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23329         (gst_pipeline_provide_clock_func):
23330         * gst/gstutils.c: (gst_element_link_pads_filtered):
23331         * tools/gst-launch.c: (main):
23332         * tools/gst-typefind.c: (main):
23333         Use GstClockTime in _get_state() instead of GTimeVal.
23334         Remove old code in gstutils.c
23335
23336 2005-10-12  Andy Wingo  <wingo@pobox.com>
23337
23338         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23339         removed.
23340
23341         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23342         there is no task. Shouldn't affect any code, as nothing in our
23343         plugins checks this return value.
23344         (gst_pad_stop_task): Also take the stream lock if the pad has no
23345         task. Docs updated.
23346
23347 2005-10-12  Wim Taymans  <wim@fluendo.com>
23348
23349         * gst/gstpad.c: (pre_activate), (post_activate),
23350         (gst_pad_activate_pull), (gst_pad_activate_push):
23351         Cleanup activation code. Reset old state if
23352         activation failed.
23353
23354 2005-10-12  Wim Taymans  <wim@fluendo.com>
23355
23356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23357         (gst_base_sink_change_state):
23358         No need to prerol after receiving EOS.
23359
23360         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23361         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23362         * gst/elements/gstidentity.c: (gst_identity_event):
23363         Print events more verbosely.
23364
23365 2005-10-12  Wim Taymans  <wim@fluendo.com>
23366
23367         * check/Makefile.am:
23368         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23369         * check/states/sinks2.c:
23370         Moved sinks2 testcode in sinks check.
23371
23372         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23373         (gst_bin_remove_func), (gst_bin_recalc_state),
23374         (gst_bin_change_state_func), (bin_bus_handler):
23375         Fix potential race condition when _get_state() iterated over an
23376         ASYNC element right before it posted a state completion.
23377
23378         * gst/gstclock.h:
23379         Do proper cast here.
23380
23381         * gst/gstevent.c: (gst_event_new_newsegment),
23382         (gst_event_parse_newsegment):
23383         A playback rate of 0.0 is not allowed.
23384
23385 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23386
23387         * win32/common/config.h:
23388         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23389         (_trewinddir), (_ttelldir), (_tseekdir):
23390         * win32/common/dirent.h:
23391         * win32/common/gtchar.h:
23392         * win32/common/libgstbase.def:
23393         * win32/common/libgstreamer.def:
23394         * win32/vs6/grammar.dsp:
23395         * win32/vs6/gst_inspect.dsp:
23396         * win32/vs6/gst_launch.dsp:
23397         * win32/vs6/gstreamer.dsw:
23398         * win32/vs6/libgstbase.dsp:
23399         * win32/vs6/libgstelements.dsp:
23400         * win32/vs6/libgstreamer.dsp:
23401           Visual Studio 6 project files, and a new common directory.
23402           Phear.
23403
23404 2005-10-11  Wim Taymans  <wim@fluendo.com>
23405
23406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23407         (gst_base_sink_do_sync), (gst_base_sink_query),
23408         (gst_base_sink_change_state):
23409         * gst/base/gstbasesink.h:
23410         Correctly parse newsegment info.
23411
23412 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23413
23414         * gst/gst.c: (init_post):
23415           split plugin paths correctly
23416
23417 2005-10-11  Wim Taymans  <wim@fluendo.com>
23418
23419         * check/gst/gstevent.c: (GST_START_TEST):
23420         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23421         (gst_base_sink_change_state):
23422         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23423         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23424         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23425         * gst/gstevent.c: (gst_event_new_newsegment),
23426         (gst_event_parse_newsegment):
23427         * gst/gstevent.h:
23428         Added extra flag to newsegment for future API freeze.
23429         Updated check and base elements.
23430
23431 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23432
23433         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23434         (gst_collectpads_add_pad), (gst_collectpads_pop),
23435         (gst_collectpads_event), (gst_collectpads_chain):
23436         * gst/base/gstcollectpads.h: Handle EOS correctly.
23437
23438 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23439
23440         * tools/gst-launch.c: (main):
23441           more null protecting
23442
23443 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23444
23445         * gst/gst-i18n-lib.h:
23446           check for ENABLE_NLS, not GETTEXT_PACKAGE
23447         * gst/gstregistry.c: (gst_registry_add_plugin),
23448         (gst_registry_scan_path_level),
23449         (_gst_registry_remove_cache_plugins):
23450           protect possibly NULL strings
23451         * gst/parse/types.h:
23452           config.h already included before
23453         * tools/gst-inspect.c: (main):
23454           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23455           check for ENABLE_NLS, not GETTEXT_PACKAGE
23456         * tools/gst-launch.c: (main):
23457           check for ENABLE_NLS, not GETTEXT_PACKAGE
23458
23459 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23460
23461         * configure.ac:
23462           if we don't have glib, fail before testing 2.8
23463         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23464           fix a leak, should fix plugins-base testsuite
23465
23466 2005-10-11  Andy Wingo  <wingo@pobox.com>
23467
23468         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23469         take the mode we're going to as an arg. Go head and set the mode
23470         and flushing flags now, so that if the activate function starts a
23471         thread all the flags will be in the right state.
23472         (post_activate): Renamed also. Just handle making sure streaming
23473         finishes for the deactivation case, and setting the deactivated
23474         mode.
23475         (gst_pad_set_active): Complain loudly if deactivation fails.
23476         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23477         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23478         remove the terrible hack.
23479
23480 2005-10-11  Wim Taymans  <wim@fluendo.com>
23481
23482         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23483         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23484         (gst_bin_recalc_state), (gst_bin_change_state_func),
23485         (gst_bin_dispose), (bin_bus_handler):
23486         * gst/gstbin.h:
23487         Prepare to make current EOS message queue more generic.
23488         Fix some typos.
23489
23490         * gst/gstevent.c: (gst_event_new_newsegment),
23491         (gst_event_parse_newsegment):
23492         * gst/gstevent.h:
23493         Rename base to stream_time.
23494
23495         * gst/gstmessage.h:
23496         Fix typo in docs.
23497
23498 2005-10-11  Wim Taymans  <wim@fluendo.com>
23499
23500         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23501         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23502         (gst_bin_change_state_func), (bin_bus_handler):
23503         * gst/gstbin.h:
23504         Work on proper clock selection.
23505
23506 2005-10-11  Edward Hervey  <edward@fluendo.com>
23507
23508         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23509         * libs/gst/controller/gstcontroller.h:
23510         Added GList* version of _remove_properties() in order to be able to wrap
23511         it in bindings.
23512
23513 2005-10-11  Wim Taymans  <wim@fluendo.com>
23514
23515         * docs/design/part-states.txt:
23516         Some more docs.
23517
23518         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23519         (gst_bin_change_state_func), (bin_bus_handler):
23520         Doc updates. Don't distribute the same clock over and over again.
23521
23522         * gst/gstclock.c:
23523         * gst/gstclock.h:
23524         Doc updates.
23525
23526         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23527         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23528         (gst_pad_send_event):
23529         * gst/gstpad.h:
23530         Make probe emission threadsafe again.
23531         Register quarks and move _get_name() from utils.
23532         Doc updates.
23533
23534         * gst/gstpipeline.c: (gst_pipeline_class_init),
23535         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23536         Only redistribute the clock of it changed.
23537
23538         * gst/gstsystemclock.h:
23539         Doc updates. 
23540
23541         * gst/gstutils.c:
23542         * gst/gstutils.h:
23543         Moved the _flow_get_name() to GstPad.
23544
23545 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23546
23547         * check/gst-libs/gdp.c: (GST_START_TEST):
23548         * check/gst/gstcaps.c: (GST_START_TEST):
23549         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23550         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23551         (gst_dp_packet_from_caps):
23552           fix more valgrind warnings before turning up the heat
23553
23554 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23555
23556         * gst/parse/grammar.y:
23557           some cleanup before the hacking
23558
23559 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23560
23561         * gst/base/gstbasesrc.c: (gst_base_src_query):
23562           use conversions
23563         * gst/gstutils.c: (gst_guint64_to_gdouble),
23564         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23565         * gst/gstutils.h:
23566           externalize, basesrc uses it
23567           obviously the implementation needs testing
23568
23569 2005-10-10  Wim Taymans  <wim@fluendo.com>
23570
23571         * tests/sched/Makefile.am:
23572         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23573         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23574
23575 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23576
23577         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23578           apparently converting from guint64 to double is not implemented
23579           on MSVC
23580
23581 2005-10-10  Wim Taymans  <wim@fluendo.com>
23582
23583         * check/Makefile.am:
23584         * check/generic/states.c: (GST_START_TEST):
23585         * check/gst/gstbin.c: (GST_START_TEST):
23586         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23587         * check/states/sinks.c: (GST_START_TEST):
23588         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23589         (main):
23590         Check fixes, use API as stated in design docs, remove hacks.
23591
23592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23593         (gst_base_sink_change_state):
23594         Catch stopping our task while we're shutting down.
23595
23596         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23597         (gst_bin_remove_func), (gst_bin_get_state_func),
23598         (gst_bin_recalc_state), (gst_bin_change_state_func),
23599         (bin_bus_handler):
23600         * gst/gstbin.h:
23601         * gst/gstelement.c: (gst_element_init),
23602         (gst_element_get_state_func), (gst_element_abort_state),
23603         (gst_element_commit_state), (gst_element_lost_state),
23604         (gst_element_set_state), (gst_element_change_state),
23605         (gst_element_change_state_func):
23606         * gst/gstelement.h:
23607         New state change algorithm (see #318116)
23608
23609         * gst/gstpipeline.c: (gst_pipeline_class_init),
23610         (gst_pipeline_init), (gst_pipeline_set_property),
23611         (gst_pipeline_get_property), (do_pipeline_seek),
23612         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23613         * gst/gstpipeline.h:
23614         Remove crude state change hacks.
23615
23616         * gst/gstutils.h:
23617         Remove crude hacks.
23618
23619         * tools/gst-launch.c: (main):
23620         Fixes for state change. Needs some more work to fully use the
23621         new stuff.
23622
23623 2005-10-10  Andy Wingo  <wingo@pobox.com>
23624
23625         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23626
23627         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23628         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23629         issue.
23630
23631 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23632
23633         * gst/gstiterator.c: (gst_iterator_new):
23634           Fix my previous commit: GTypes passed to gst_iterator_new()
23635           can be fundamental types.
23636
23637 2005-10-10  Wim Taymans  <wim@fluendo.com>
23638
23639         * gst/gstelement.c: (gst_element_iterate_pad_list),
23640         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23641         (gst_element_iterate_sink_pads):
23642         Use src/sink pads lists for the respective iterators instead
23643         of filtering.
23644
23645 2005-10-10  Andy Wingo  <wingo@pobox.com>
23646
23647         Merged in popt removal + GOption addition patch from Ronald, bug
23648         #169772.
23649
23650         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23651         GstElement macros around, remove popt-related symbols, add goption
23652         stuff.
23653
23654         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23655         
23656         * docs/gst/Makefile.am:
23657         * docs/libs/Makefile.am: No POPT_CFLAGS.
23658         
23659         * examples/manual/Makefile.am:
23660         * docs/manual/basics-init.xml: Doc updates with an example.
23661         
23662         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23663         (gst_init), (parse_one_option), (parse_goption_arg):
23664         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23665         bit of hand merging and debugging to get the GOption stuff working
23666         tho.
23667         
23668         * tests/Makefile.am:
23669         * tools/Makefile.am:
23670         * tools/gst-inspect.c: (main):
23671         * tools/gst-launch.c: (main):
23672         * tools/gst-run.c: (main):
23673         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23674
23675 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23676
23677         * gst/gstiterator.c: (gst_iterator_new):
23678           Add assertions to make sure passed GType is likely to really
23679           be a GType (as the compiler won't catch it if the size and
23680           GType arguments get mixed up, see #318447).
23681
23682 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23683
23684         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23685
23686         * gst/gstbin.c: (gst_bin_iterate_sorted):
23687           Pass GType and size arguments to gst_iterator_new() in the right
23688           order (maybe we should make _new() take the GType as first argument
23689           just like _new_list()?) (#318447).
23690           
23691
23692 2005-10-10  Wim Taymans  <wim@fluendo.com>
23693
23694         * gst/gstelement.c: (gst_element_finalize):
23695         And free the GStaticRecMutex too
23696
23697 2005-10-10  Andy Wingo  <wingo@pobox.com>
23698
23699         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23700         Allocate and free the mutex properly.
23701
23702         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23703         New macros.
23704         (GstElement): The state_lock is now recursive. Rebuild your
23705         plugins, suckers. Old macros adapted.
23706
23707         * docs/gst/gstreamer-sections.txt: Doc updates.
23708
23709         * gst/gstutils.h:
23710         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23711         (g_static_rec_cond_wait): Ported from state changes patch, while
23712         we wait on bug #317802 to be solved in a well-distributed GLib.
23713
23714         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23715         gst_element_change_state, variable name changes.
23716         (gst_element_change_state): Split out of gst_element_set_state in
23717         preparation for the state change merge. Doesn't pay attention to
23718         the 'transition' argument.
23719         (gst_element_set_state): Updates, hopefully purely cosmetic.
23720         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23721         state change patch.
23722         (gst_element_get_state_func): Renamed from get_state, cosmetic
23723         changes.
23724
23725 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23726
23727         * gst/elements/gstelements.c:
23728         * win32/GStreamer.vcproj:
23729         * win32/config.h:
23730         * win32/dirent.c: (_tseekdir):
23731         * win32/gst-inspect.vcproj:
23732         * win32/gst-launch.vcproj:
23733         * win32/gstconfig.h:
23734         * win32/gstelements.vcproj:
23735         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23736         * win32/gstreamer.def:
23737         * win32/msvc71.sln:
23738           updates for the win32 build (patch from Sebastien Moutte)
23739
23740 2005-10-10  Andy Wingo  <wingo@pobox.com>
23741
23742         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23743         gst_bin_get_state, cleaned up (but no logic changes).
23744         (bin_element_is_sink): Comment updates.
23745         (sink_iterator_filter): Remove needless cast.
23746         (gst_bin_iterate_sinks): Doc update.
23747         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23748         cleaned up (but no logic changes).
23749
23750         * check/states/sinks.c (test_src_sink): Cleanups from the state
23751         change patch.
23752         (test_livesrc_sink): Sync on the state.
23753
23754         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23755         the state change patch.
23756
23757         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23758         change patch.
23759
23760         * check/gst/gstbin.c: Merge in some style fixes and additional
23761         checks from Wim's state change patch.
23762
23763 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23764
23765         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23766         (gst_type_find_helper):
23767           Check whether we have the requested data already in our list of
23768           cached buffers before pulling a new buffer; also make the buffer
23769           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23770
23771 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23772
23773         * gst/gstcaps.c:
23774         * gst/gstevent.c:
23775           doc updates
23776         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23777           don't use long long, it's not portable.  Replacing with
23778           gint64 seems to work; let's hope no skeletons fall out of the closet.
23779
23780 2005-10-10  Andy Wingo  <wingo@pobox.com>
23781
23782         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23783
23784 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23785
23786         * docs/gst/gstreamer-sections.txt:
23787         * gst/gstevent.c:
23788         * gst/gstevent.h:
23789         * gst/gstinfo.c:
23790         * gst/gstinfo.h:
23791         * gst/gstmessage.c: (gst_message_parse_state_changed):
23792         * gst/gstpad.c:
23793         * gst/gstpad.h:
23794           more docs, fix compilation
23795
23796 2005-10-09  Philippe Khalaf <burger@speedy.org>
23797         * gst/gstmessage.c:
23798           Fixed a few forgotten variables on previous commit
23799
23800 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23801
23802         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23803           Fix evil typefind crasher: getrange() might return a short
23804           buffer at the end of a file, but gst_type_find_peek() must
23805           either return the full data as requested or NULL, but
23806           never a short buffer.
23807
23808 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23809
23810         * gst/gstmessage.c: (gst_message_new_state_changed),
23811         (gst_message_parse_state_changed):
23812         * gst/gstmessage.h:
23813           don't use "new", it's a C++ keyword
23814
23815 2005-10-08  Wim Taymans  <wim@fluendo.com>
23816
23817         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23818         * gst/gstelement.c: (gst_element_post_message):
23819         * gst/gstpipeline.c: (gst_pipeline_change_state):
23820         Small docs and debug updates.
23821
23822 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23823
23824         * docs/gst/gstreamer-sections.txt:
23825         * gst/gstelementfactory.c:
23826         * gst/gstevent.c:
23827         * gst/gsttaglist.c:
23828           more docs
23829
23830 2005-10-08  Wim Taymans  <wim@fluendo.com>
23831
23832         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23833         (gst_bin_dispose), (bin_bus_handler):
23834         Fix typos, add comments.
23835         Clear EOS list when going to PAUSED from any direction and do it
23836         in a threadsafe way.
23837         Get base time in a threadsafe way too.
23838         Fix confusing debug in the change_state function.
23839         Various other small cleanups.
23840         
23841         * gst/gstelement.c: (gst_element_post_message):
23842         Fix very verbose bus posting code.
23843
23844         * gst/gstpipeline.c: (gst_pipeline_class_init),
23845         (gst_pipeline_set_property), (gst_pipeline_get_property),
23846         (gst_pipeline_change_state):
23847         Small ARG_ -> PROP_ cleanup
23848
23849 2005-10-08  Wim Taymans  <wim@fluendo.com>
23850
23851         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23852         Do a less CPU demanding EOS check because we can.
23853
23854 2005-10-08  Wim Taymans  <wim@fluendo.com>
23855
23856         * libs/gst/dataprotocol/dataprotocol.c:
23857         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23858         (gst_dp_packet_from_event):
23859         * libs/gst/dataprotocol/dataprotocol.h:
23860         * libs/gst/dataprotocol/dp-private.h:
23861         It's about time we bump the version number.
23862         Since event types don't fit in the guint8 anymore describing
23863         the payload type, make payload type 16 bits wide.
23864
23865 2005-10-08  Wim Taymans  <wim@fluendo.com>
23866
23867         * docs/design/part-TODO.txt:
23868         * docs/design/part-clocks.txt:
23869         * docs/design/part-events.txt:
23870         * docs/design/part-gstbin.txt:
23871         * docs/design/part-gstelement.txt:
23872         * docs/design/part-gstpipeline.txt:
23873         * docs/design/part-live-source.txt:
23874         * docs/design/part-messages.txt:
23875         * docs/design/part-overview.txt:
23876         * docs/design/part-states.txt:
23877         Many doc updates.
23878
23879 2005-10-08  Wim Taymans  <wim@fluendo.com>
23880
23881         * gst/gstevent.c:
23882         * gst/gstevent.h:
23883         Fix event quark registration.
23884         Add some space between events so we can insert them in the
23885         right groups.
23886
23887 2005-10-08  Wim Taymans  <wim@fluendo.com>
23888
23889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23890         (gst_base_sink_handle_buffer):
23891         Better log message.
23892
23893         * gst/gstbus.h:
23894         * gst/gstelement.h:
23895         More docs.
23896
23897         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23898         (gst_queue_set_property), (gst_queue_get_property):
23899         * gst/gstqueue.h:
23900         Remove old unused properties.
23901
23902 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23903         * docs/gst/gstreamer-sections.txt:
23904         * gst/gstmessage.c:
23905         * gst/gstmessage.h:
23906         * gst/gstminiobject.c:
23907         * gst/gstminiobject.h:
23908         * gst/gstobject.h:
23909         * gst/gstpad.h:
23910         * gst/gstutils.h:
23911           lots of new docs and doc fixes
23912
23913 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23914
23915         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23916         * gst/gstplugin.h:
23917         * gst/gstregistry.c: (gst_registry_lookup_locked),
23918         (gst_registry_scan_path_level):
23919         * gst/gstregistryxml.c: (load_plugin):
23920           Only ever load one plugin for a given plugin basename.
23921           This ensures correct overriding of GST_PLUGIN_PATH over
23922           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23923           system installed plugins.
23924
23925 2005-10-08  Wim Taymans  <wim@fluendo.com>
23926
23927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23928         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23929         Prepare for doing QOS.
23930
23931 2005-10-08  Wim Taymans  <wim@fluendo.com>
23932
23933         * check/gst/gstbin.c: (GST_START_TEST):
23934         * check/pipelines/cleanup.c: (GST_START_TEST):
23935         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23936         Allow new clock message too.
23937
23938 2005-10-08  Wim Taymans  <wim@fluendo.com>
23939
23940         * gst/gstmessage.c: (gst_message_new_error),
23941         (gst_message_new_warning), (gst_message_new_tag),
23942         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23943         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23944         (gst_message_new_segment_start), (gst_message_new_segment_done),
23945         (gst_message_parse_state_changed),
23946         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23947         (gst_message_parse_new_clock):
23948         * gst/gstmessage.h:
23949         Also carry the clock in question.
23950
23951 2005-10-08  Wim Taymans  <wim@fluendo.com>
23952
23953         * gst/gstmessage.c: (gst_message_new_custom),
23954         (gst_message_new_eos), (gst_message_new_error),
23955         (gst_message_new_warning), (gst_message_new_tag),
23956         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23957         (gst_message_new_new_clock), (gst_message_new_segment_start),
23958         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23959         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23960         * gst/gstmessage.h:
23961         Clean up.
23962         Added clock related messages.
23963
23964         * gst/gstpipeline.c: (gst_pipeline_change_state):
23965         Post message when the clock changed.
23966
23967         * tools/gst-launch.c: (event_loop):
23968         Print new clock.
23969
23970 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23971
23972         * tools/gst-inspect.c: (print_element_properties_info):
23973           Can't pass NULL strings to g_print() on windows.
23974
23975 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23976
23977         * docs/Makefile.am:
23978         * docs/gst/Makefile.am:
23979         * docs/gst/gstreamer-docs.sgml:
23980         * docs/gst/running.xml:
23981         * docs/version.entities.in:
23982           add a chapter on running GStreamer.
23983           document GST_DEBUG and GST_PLUGIN* env vars
23984
23985 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * Makefile.am:
23988           remove include dir
23989         * configure.ac:
23990           remove PLUGINS_BUILDDIR stuff
23991         * gst/gst.c: (init_post):
23992           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23993         * idiottest.mak:
23994           remove, it was condescending and not needed
23995
23996 2005-10-08  Wim Taymans  <wim@fluendo.com>
23997
23998         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23999         (gst_base_sink_handle_object), (gst_base_sink_event),
24000         (gst_base_sink_wait), (gst_base_sink_handle_event),
24001         (gst_base_sink_change_state):
24002         * gst/base/gstbasesink.h:
24003         Repost EOS message while going to PLAYING if still EOS.
24004         Make sure that when receiving a FLUSH_START we don't attempt
24005         to sync on the clock anymore.
24006
24007 2005-10-08  Wim Taymans  <wim@fluendo.com>
24008
24009         * tools/gst-launch.c: (event_loop):
24010         Better message printout.
24011
24012 2005-10-08  Wim Taymans  <wim@fluendo.com>
24013
24014         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24015         (gst_bin_child_proxy_get_children_count):
24016         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24017         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24018         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24019         (gst_child_proxy_set_valist):
24020         * gst/parse/grammar.y:
24021         Make ChildProxy threadsafe and fix mem leaks.
24022
24023 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24024
24025         * gst/gst.c: (init_post):
24026           debug the GST_PLUGIN_ env vars
24027
24028 2005-10-08  Wim Taymans  <wim@fluendo.com>
24029
24030         * check/gst/gstbin.c: (GST_START_TEST):
24031         * check/gst/gstmessage.c: (GST_START_TEST):
24032         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24033         * gst/gstelement.c: (gst_element_commit_state),
24034         (gst_element_lost_state):
24035         * gst/gstmessage.c: (gst_message_new_state_changed),
24036         (gst_message_parse_state_changed):
24037         * gst/gstmessage.h:
24038         * tools/gst-launch.c: (event_loop):
24039         Added extra field to STATE_CHANGE message with the pending
24040         state, which will be different from the new state soon.
24041
24042 2005-10-08  Wim Taymans  <wim@fluendo.com>
24043
24044         * gst/gstbus.c: (gst_bus_pop):
24045         * gst/gstclock.c:
24046         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24047         Small cleanups and doc updates.
24048
24049 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24050
24051         * gst/gst.c: (init_pre):
24052         * gst/gstbin.c: (gst_bin_add_func):
24053           log distributing clocks and base time
24054         * gst/gstregistry.c: (gst_registry_add_plugin),
24055         (gst_registry_scan_path_level), (gst_registry_scan_path):
24056           clean up the debugging output a little
24057         * gst/gstutils.c: (gst_element_state_get_name):
24058           warn about a memleak (I've actually seen this be used, though
24059           it was probably a bug)
24060
24061 2005-10-07  Wim Taymans  <wim@fluendo.com>
24062
24063         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24064         (gst_base_src_init), (gst_base_src_default_newsegment),
24065         (gst_base_src_newsegment), (gst_base_src_do_seek),
24066         (gst_base_src_loop), (gst_base_src_start):
24067         * gst/base/gstbasesrc.h:
24068         Make the newsegment event customizable by subclasses.
24069
24070 2005-10-07  Wim Taymans  <wim@fluendo.com>
24071
24072         * gst/gstevent.c: (gst_event_new_buffersize),
24073         (gst_event_parse_buffersize):
24074         * gst/gstevent.h:
24075         New event for future idea.
24076
24077 2005-10-07  Andy Wingo  <wingo@pobox.com>
24078
24079         * gst/gstelement.c (gst_element_post_message): Doc update.
24080
24081         * docs/gst/gstreamer-sections.txt: Update.
24082
24083         * gst/gstmessage.c (gst_message_new_application): Made into a
24084         function like honest API calls.
24085         (gst_message_new_element): New message type.
24086
24087         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24088
24089         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24090         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24091         times.
24092
24093         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24094         NO_PREROLL from gst_element_change_state to fall through.
24095
24096 2005-10-07  Wim Taymans  <wim@fluendo.com>
24097
24098         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24099         (gst_ghost_pad_do_activate_push):
24100         Activating a ghostpad with no internal pad in push mode
24101         is ok.
24102
24103 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24104
24105         * gst/gstobject.h:
24106           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24107           Fixes compilation on Windows.
24108
24109 2005-10-07  Michael Smith <msmith@fluendo.com>
24110
24111         * tools/gst-inspect.c:
24112           Print out feature and plugin count at the end when printing out
24113           all features.
24114
24115 2005-10-04  Michael Smith <msmith@fluendo.com>
24116
24117         * gst/gsterror.c: (_gst_stream_errors_init):
24118           Add another error string used in a few existing plugins.
24119
24120         * gst/gstplugin.c:
24121         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24122         * tools/gst-inspect.c: (print_element_info):
24123           When a feature disappears from a plugin (and the feature exists in
24124           the cached registry file), things went horribly wrong. This isn't a
24125           complete fix, we should actually be removing the 'missing' features
24126           from the features list when we load the actual plugin. That's not
24127           yet implemented. 
24128
24129 2005-10-04  Johan Dahlin  <johan@gnome.org>
24130
24131         * check/gst/gstiterator.c: (GST_START_TEST):
24132         * gst/gstbin.c: (gst_bin_iterate_elements),
24133         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24134         * gst/gstelement.c: (gst_element_iterate_pads):
24135         * gst/gstformat.c: (gst_format_iterate_definitions):
24136         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24137         (gst_iterator_new_list), (gst_iterator_filter):
24138         * gst/gstiterator.h:
24139         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24140         Add a GType to GstIterator, update callsites and tests.
24141
24142 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24143
24144         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24145           give events a chance to be handled by event probes when the pad
24146           is not linked
24147
24148 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24149
24150         * gst/gstevent.c: (gst_event_type_get_name),
24151         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24152         * gst/gstevent.h:
24153           add string representations for event types
24154
24155 2005-10-06  Wim Taymans  <wim@fluendo.com>
24156
24157         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24158         Don't use NULL pointers.
24159
24160 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24161
24162         * gst/gst_private.h:
24163         * gst/gstbus.c:
24164         * gst/gstelement.c:
24165         * gst/gstinfo.c:
24166         * gst/gstpluginfeature.c:
24167           widen the debug category in output to fit the biggest one we have
24168           add a bus category and use it
24169           play with the colors
24170           fix up some categories
24171
24172 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24173
24174         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24175           add push activation of sink ghost pads.
24176           Andye, please verify
24177
24178 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24179
24180         * gst/gstutils.c: (gst_element_link_pads):
24181           fix a bug in the case where neither element has a pad
24182         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24183           add a test for that case
24184
24185 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24186
24187         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24188           emit have-data before checking for peers.  This allows
24189           for probe handlers to connect elements.  This helps autopluggers.
24190         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24191         (gst_pad_suite):
24192           add six checks, linked/unlinked with no/true/false probe
24193
24194 2005-10-04  Wim Taymans  <wim@fluendo.com>
24195
24196         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24197         (gst_fake_sink_event), (gst_fake_sink_preroll),
24198         (gst_fake_sink_render), (gst_fake_sink_change_state):
24199         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24200         (gst_fake_src_get_property), (gst_fake_src_create),
24201         (gst_fake_src_stop):
24202         * gst/elements/gstidentity.c: (gst_identity_stop):
24203         Protect last_message with lock.
24204
24205 2005-10-04  Edward Hervey  <edward@fluendo.com>
24206
24207         * gst/gstformat.h: 
24208         Added precision in the comments for GST_FORMAT_DEFAULT
24209
24210 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24211
24212         * tools/gst-launch.c: (main):
24213           Don't try to run erroneous pipelines.
24214
24215 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24216
24217         * gst/gstbus.c: We don't need this header.
24218
24219 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24220
24221         * configure.ac:
24222           back to development
24223
24224 === release 0.9.3 ===
24225
24226 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24227
24228         * README:
24229         * configure.ac:
24230           Releasing 0.9.3, "Unregistered"
24231
24232 2005-10-03  Andy Wingo  <wingo@pobox.com>
24233
24234         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24235         whereby calling a pad's activatepush() function can start a thread
24236         that starts to push or pull before the pad gets the FLUSHING flag
24237         unset. Hack around it by holding the stream lock until the flag is
24238         set. Need to replace this with a proper solution. Together with
24239         the ghost pad fixes, this fixes mp3 playing/tagreading.
24240
24241         * docs/design/part-gstghostpad.txt: Add a note about activation of
24242         proxy pads outside of ghost pads.
24243
24244         * gst/gstghostpad.c: Implement the ghost pad activation design.
24245
24246 2005-10-02  Andy Wingo  <wingo@pobox.com>
24247
24248         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24249         It is volatile, after all.
24250
24251         * docs/design/part-gstghostpad.txt: Flesh out activation with
24252         ghost pads.
24253
24254         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24255         GST_DEBUG_FUNCPTR.
24256
24257 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24258
24259         * configure.ac:
24260           Fix (unused) AM_CONDITIONAL tests.
24261
24262 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24263
24264         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24265
24266         * gst/gstutils.c: (gst_pad_query_convert):
24267           Add assertion that makes sure src_val is >=0, just like
24268           gst_query_new_convert() has. (#315895)
24269
24270 2005-09-30  Edward Hervey  <edward@fluendo.com>
24271
24272         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24273         Let's not iterate pads we're not interested in, it avoids getting 
24274         sky-high refcounts on sinkpad.
24275
24276 2005-09-30  Wim Taymans  <wim@fluendo.com>
24277
24278         * gst/gstelement.c: (gst_element_set_state),
24279         (gst_element_change_state):
24280         Small tweak, element in ASYNC remains ASYNC.
24281
24282 2005-09-30  Wim Taymans  <wim@fluendo.com>
24283
24284         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24285         Only error is an error.
24286
24287         * gst/gstbin.c: (gst_bin_change_state):
24288         Better debugging.
24289
24290         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24291         Also call pad_block in pad alloc.
24292
24293         * gst/gstutils.c: (gst_flow_get_name):
24294         Better debugging.
24295
24296 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24297
24298         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24299         (gst_base_src_get_range):
24300           Fix documentation typos. Add some more debug info.
24301
24302 2005-09-29  David Schleef  <ds@schleef.org>
24303
24304         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24305           more end-user friendly.
24306         * tools/gst-inspect.c: (main): Check if command-line argument is
24307           a file and attempt to load that file as a plugin.
24308
24309 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24310
24311         * check/gst/gstbin.c:
24312         * check/states/sinks.c:
24313           fix tests for the new warning
24314         * check/gst/gstpipeline.c:
24315           add a test for pipeline and bus interaction
24316         * gst/gstelement.c:
24317           elements should be NULL if they get disposed; add a warning if not
24318
24319 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24320
24321         * gst/gstobject.c:
24322           for 2.6 refcounting, make debug log more correct by printing
24323           the actual refcounts at the time of swap (Wim)
24324
24325 2005-09-29  Andy Wingo  <wingo@pobox.com>
24326
24327         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24328         removes signal watches previously added via
24329         gst_bus_add_signal_watch.
24330         (gst_bus_add_signal_watch): Don't return the source id, just store
24331         it on the bus if there wasn't an id already.
24332
24333         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24334         add_signal_watch and remove_signal_watch.
24335
24336 2005-09-29  Edward Hervey  <edward@fluendo.com>
24337
24338         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24339         Better if we actually iterate the list :)
24340
24341 2005-09-29  Wim Taymans  <wim@fluendo.com>
24342
24343         * check/gst/gstbin.c: (GST_START_TEST):
24344         Change for new bus API.
24345
24346         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24347         (send_messages), (GST_START_TEST), (gstbus_suite):
24348         Change for new bus signal API.
24349
24350         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24351         (gst_bus_source_prepare), (gst_bus_source_check),
24352         (gst_bus_create_watch), (gst_bus_add_watch_full),
24353         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24354         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24355         * gst/gstbus.h:
24356         Remove support for multiple GSources operating on different
24357         message types as it is too complex and unneeded when using
24358         signals.
24359         Added support for receiving signals from the bus.
24360
24361 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24362
24363         * docs/libs/tmpl/gstdataprotocol.sgml:
24364         * docs/manual/advanced-dataaccess.xml:
24365         * gst/elements/gstcapsfilter.c:
24366         * gst/gstutils.c:
24367           rename filter-caps to caps property
24368
24369 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24370
24371         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24372           More robust fraction string parsing.
24373
24374         * docs/pwg/appendix-porting.xml:
24375           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24376
24377 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24378
24379         * gst/gstcaps.c: (gst_caps_do_simplify):
24380           Thou shalt not free a structure and then continue using it
24381           in the next loop iteration.
24382
24383         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24384         (gst_caps_suite):
24385           Add test case for caps simplification.
24386
24387 2005-09-29  Wim Taymans  <wim@fluendo.com>
24388
24389         * check/gst/gstbin.c: (GST_START_TEST):
24390         Oops.
24391
24392 2005-09-29  Wim Taymans  <wim@fluendo.com>
24393
24394         * check/gst/gstbin.c: (GST_START_TEST):
24395         Add bus to bin.
24396
24397         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24398         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24399         (find_element), (gst_bin_sort_iterator_next),
24400         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24401         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24402         (gst_bin_change_state), (gst_bin_dispose):
24403         A bin does not have a bus, it gets the bus from the parent.
24404
24405         * gst/gstelement.c: (gst_element_requires_clock),
24406         (gst_element_provides_clock), (gst_element_is_indexable),
24407         (gst_element_is_locked_state), (gst_element_change_state),
24408         (gst_element_set_bus_func):
24409         Small cleanups.
24410
24411         * gst/gstpipeline.c: (gst_pipeline_class_init),
24412         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24413         The pipeline provides a bus.
24414
24415 2005-09-28  Johan Dahlin  <johan@gnome.org>
24416
24417         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24418         gst_structure_get_enum instead of gst_structure_get_int
24419
24420         * gst/gststructure.c (gst_structure_get_enum): Impl.
24421
24422         * gst/gststructure.h (gst_structure_get_enum): Add
24423
24424         * docs/gst/gstreamer-sections.txt: Ditto
24425
24426         * gst/gstmessage.c (gst_message_new_state_changed): Use
24427         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24428         which does introspection.
24429         Reviewed by Christian Schaller
24430
24431 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24432
24433         * gst/gstinfo.c: (gst_debug_log_default):
24434           don't do dummy g_strdup()s
24435         * libs/gst/controller/gstcontroller.c:
24436         (on_object_controlled_property_changed),
24437         (gst_controlled_property_new), (gst_controller_new_valist),
24438         (gst_controller_new_list),
24439         (gst_controller_remove_properties_valist), (gst_controller_set),
24440         (gst_controller_get), (gst_controller_sync_values),
24441         (gst_controller_get_value_array), (_gst_controller_class_init),
24442         (gst_controller_get_type):
24443         * libs/gst/controller/gstcontroller.h:
24444         * libs/gst/controller/gstinterpolation.c:
24445         (gst_controlled_property_find_timed_value_node):
24446           convert // to /**/ comments
24447
24448 2005-09-28  Wim Taymans  <wim@fluendo.com>
24449
24450         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24451         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24452         (gst_bus_sync_signal_handler):
24453         * gst/gstbus.h:
24454         Added async-message and sync-message signals to the bus.
24455         Added helper BusFunc to emit signals for all posted messages.
24456
24457         * gst/gstmessage.c: (gst_message_type_get_name),
24458         (gst_message_type_to_quark), (gst_message_get_type):
24459         * gst/gstmessage.h:
24460         Register quarks for message names.
24461
24462 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24463
24464         * docs/libs/gstreamer-libs-sections.txt:
24465         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24466         (gst_controller_new_list):
24467         * libs/gst/controller/gstcontroller.h:
24468           added another constructor for language bindings
24469
24470 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24471
24472         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24473           add another check
24474         * gst/gstbus.c:
24475           add some doc
24476         * gst/gstinfo.c: (_gst_debug_init):
24477           slightly more readable color for refcount debugging
24478
24479 2005-09-28  Wim Taymans  <wim@fluendo.com>
24480
24481         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24482         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24483         (find_element), (gst_bin_sort_iterator_next),
24484         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24485         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24486         (gst_bin_change_state), (gst_bin_dispose):
24487         Small doc fixes. get_clock -> provide_clock.
24488
24489         * gst/gstelement.c: (gst_element_class_init),
24490         (gst_element_provides_clock), (gst_element_provide_clock),
24491         (gst_element_get_clock), (gst_element_commit_state),
24492         (gst_element_lost_state):
24493         * gst/gstelement.h:
24494         Make get/set_clock() symetric. Add provide_clock vmethod since
24495         that is actually what this function does.
24496
24497         * gst/gstpipeline.c: (gst_pipeline_class_init),
24498         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24499         (gst_pipeline_get_clock):
24500         get_clock -> provide_clock.
24501
24502 2005-09-28  Andy Wingo  <wingo@pobox.com>
24503
24504         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24505         lieu of real docs...
24506
24507         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24508
24509 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24510
24511         * gst/elements/gstcapsfilter.c:
24512         * gst/elements/gstfakesink.c:
24513         * gst/elements/gstfakesrc.c:
24514         * gst/elements/gstfdsink.c:
24515         * gst/elements/gstfdsrc.c:
24516         * gst/elements/gstfilesink.c:
24517         * gst/elements/gstfilesrc.c:
24518         * gst/elements/gstidentity.c:
24519         * gst/elements/gsttee.c:
24520         * gst/elements/gsttypefindelement.c:
24521           Make element details static.
24522
24523 2005-09-28  Wim Taymans  <wim@fluendo.com>
24524
24525         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24526         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24527         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24528         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24529         (gst_bin_change_state), (gst_bin_dispose):
24530         Some documentation updates.
24531         Clean up dispose handlers.
24532
24533         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24534         * gst/gstpad.c: (gst_pad_dispose):
24535         Clean up dispose handler.
24536
24537         * gst/gstpipeline.c: (gst_pipeline_change_state):
24538         Removed spurious UNLOCK.
24539
24540 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24541
24542         * docs/gst/gstreamer-sections.txt:
24543         * gst/base/gstbasesrc.h:
24544         * gst/gstelement.h:
24545         * gst/gstevent.h:
24546         * gst/gstobject.h:
24547         * gst/gstpad.h:
24548         * gst/gstpipeline.c:
24549         * gst/gstpipeline.h:
24550         * gst/gstutils.h:
24551         * gst/gstxml.h:
24552           added two new functions to the docs
24553                 documents all undocumented GstXXXFlags
24554                 completed some incomplete docs 
24555
24556 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24557
24558         * gst/gstbin.c: (gst_bin_dispose):
24559         * gst/gstelement.c: (gst_element_dispose):
24560           remove now useless and leaky resurrection code in dispose
24561         * gst/base/gstbasesrc.c: (gst_base_src_init):
24562         * gst/gstelementfactory.c: (gst_element_factory_create):
24563         * gst/gstobject.c: (gst_object_set_parent):
24564           add some debugging
24565
24566 2005-09-27  Wim Taymans  <wim@fluendo.com>
24567
24568         * docs/design/part-TODO.txt:
24569         Update TODO.
24570
24571         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24572         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24573         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24574         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24575         (gst_bin_change_state):
24576         * gst/gstelement.h:
24577         Remove element variable, we keep element info in the iterator now.
24578
24579 2005-09-27  Andy Wingo  <wingo@pobox.com>
24580
24581         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24582         values.
24583
24584 2005-09-27  Wim Taymans  <wim@fluendo.com>
24585
24586         * check/gst/gstbin.c: (GST_START_TEST):
24587         Enable check that works now.
24588
24589         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24590         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24591         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24592         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24593         (gst_bin_change_state):
24594         * gst/gstbin.h:
24595         Redid the state change algorithm using a topological sort algo.
24596         Handles all cases correctly.
24597         Exposed iterator for state change order.
24598
24599         * gst/gstelement.h:
24600         Temp storage for state changes. Need to get rid of this soon.
24601
24602 2005-09-27  Wim Taymans  <wim@fluendo.com>
24603
24604         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24605         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24606         (link_fold_func), (gst_pad_proxy_setcaps):
24607         Leak fixes, the fold functions need to unref the passed object and
24608         _get_parent_*() returns ref to parent.
24609
24610 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24611
24612         * check/gst/gstbuffer.c: (test_make_writable):
24613           Plug leak in test case and fix 'make check-valgrind'
24614
24615 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24616
24617         * gst/gstbuffer.c: (gst_subbuffer_init):
24618           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24619           works correctly in all circumstances (we could have just copied
24620           the parent buffer's readonly flag, but conceptually it seems
24621           cleaner to mark all subbuffers as read-only). (based on patch
24622           by Alessandro Decina, #314710).
24623         
24624         * check/gst/gstbuffer.c: (create_read_only_buffer),
24625         (test_make_writable), (test_subbuffer_make_writable),
24626         (gst_test_suite):
24627           Add some tests for gst_buffer_make_writable().
24628
24629 2005-09-27  Wim Taymans  <wim@fluendo.com>
24630
24631         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24632         use gst_object_has_ancestor().
24633
24634         * gst/gstobject.c: (gst_object_has_ancestor):
24635         * gst/gstobject.h:
24636         gst_object_has_ancestor() copied from gstbin.c as it is a
24637         useful function.
24638
24639         * tests/instantiate/create.c: (create_all_elements):
24640         * tests/lat.c: (handoff_src), (handoff_sink):
24641         * tests/sched/runxml.c: (main):
24642         * tests/seeking/seeking1.c: (main):
24643         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24644         (main):
24645         Fix compilation of some tests.
24646
24647 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24648
24649         * gst/gsterror.h:
24650           Remove comment. GST_TYPE_G_ERROR is here to stay,
24651           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24652           (#316961, #300610).
24653
24654 2005-09-26  Wim Taymans  <wim@fluendo.com>
24655
24656         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24657         Added check that shows error in state change order.
24658
24659 2005-09-26  Wim Taymans  <wim@fluendo.com>
24660
24661         * gst/gstbin.c: (gst_bin_change_state):
24662         Make state change function use 3 queues again, we were
24663         adding elements in the wrong order.
24664
24665         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24666         Some debug info,
24667
24668         * gst/gstpad.c: (gst_pad_dispose):
24669         Added some debug info first.
24670
24671 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24672
24673         * docs/design/draft-push-pull.txt:
24674         * docs/design/part-events.txt:
24675         * docs/design/part-overview.txt:
24676         * docs/design/part-scheduling.txt:
24677           Replace all _pull_region() with _pull_range()
24678           
24679 2005-09-26  Andy Wingo  <wingo@pobox.com>
24680
24681         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24682
24683         * check/gst-libs/controller.c: Update for controller api change.
24684
24685         * configure.ac: 
24686         * tests/Makefile.am:
24687         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24688         over by GLib bug 118439.
24689         
24690         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24691         routines to a function.
24692
24693         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24694
24695         * libs/gst/controller/gsthelper.c:
24696         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24697         (gst_object_sync_values): Renamed from sink_values. Ugh.
24698
24699         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24700
24701         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24702         Renamed from controller_key, as it is exported.
24703
24704         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24705
24706 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24707
24708         * gst/Makefile.am:
24709         * gst/gst.h:
24710         * gst/gstpad.h:
24711         * gst/gstpadtemplate.h:
24712         * gst/gstquery.c:
24713         * gst/gstquery.h:
24714         * gst/gstqueryutils.c:
24715         * gst/gstqueryutils.h:
24716           remove queryutils headers after moving the two used functions
24717           to gstquery.  also fixes build problem for gstsiddec
24718
24719 2005-09-26  Michael Smith <msmith@fluendo.com>
24720
24721         * tools/gst-launch.1.in:
24722         Correct documentation in manpage of debug syntax
24723
24724 2005-09-26  Wim Taymans  <wim@fluendo.com>
24725
24726         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24727         (gst_base_src_is_seekable), (gst_base_src_change_state):
24728         Some more debugging info.
24729
24730 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24731
24732         * docs/gst/gstreamer-sections.txt:
24733         * gst/base/gstbasetransform.h:
24734         * gst/gstindex.h:
24735           added more docs
24736
24737 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24738
24739         * docs/gst/.cvsignore:
24740         * docs/gst/tmpl/.cvsignore:
24741         * docs/gst/tmpl/gstpipeline.sgml:
24742         * docs/gst/tmpl/gstplugin.sgml:
24743         * gst/gstpipeline.c:
24744         * gst/gstplugin.c:
24745         * gst/gstplugin.h:
24746           inlined the last two docs files
24747           removed the tmpl directory from cvs (no more conflicts here!)
24748
24749 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24750
24751         * docs/gst/gstreamer-sections.txt:
24752         * docs/gst/tmpl/.cvsignore:
24753         * docs/gst/tmpl/gstpad.sgml:
24754         * docs/gst/tmpl/gstpadtemplate.sgml:
24755         * gst/Makefile.am:
24756         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24757         (gst_pad_finalize), (gst_pad_set_pad_template):
24758         * gst/gstpad.h:
24759         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24760         (gst_pad_template_class_init), (gst_pad_template_init),
24761         (gst_pad_template_dispose), (name_is_valid),
24762         (gst_static_pad_template_get), (gst_pad_template_new),
24763         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24764         (gst_pad_template_pad_created):
24765         * gst/gstpadtemplate.h:
24766           inlined two more docs
24767           factored gstpadtemplate out of gstpad
24768
24769 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24770
24771         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24772         (test_children_state_change_order_semi_sink):
24773           Fix test case: we can't rely on a fixed state change order when
24774           going from READY => PAUSED because the sink might commit its 
24775           new state first when the first buffer created by the source 
24776           reaches the sink before the source has finished its change state.
24777           (Test case still fails at times, see #316856, comment 5 onwards)
24778
24779 2005-09-24  Wim Taymans  <wim@fluendo.com>
24780
24781         * docs/design/part-events.txt:
24782         * docs/design/part-gstbus.txt:
24783         * docs/design/part-gstpipeline.txt:
24784         * docs/design/part-messages.txt:
24785         * docs/design/part-overview.txt:
24786         * docs/design/part-segments.txt:
24787         * gst/gstbin.c:
24788         * gst/gstbuffer.c:
24789         * gst/gstclock.c:
24790         * gst/gstelement.c:
24791         * gst/gstevent.c:
24792         * gst/gstfilter.c:
24793         * gst/gstiterator.c:
24794         Various documentation updates.
24795
24796 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24797
24798         * gst/gstclock.h:
24799           Well, that's embarassing.  Luckily we weren't using
24800           GST_CLOCK_DIFF anywhere.
24801
24802 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24803
24804         * common/gtk-doc.mak:
24805           don't fail on building XML, FC4 slave shows a bunch of doc
24806           missing bits that I don't get
24807         * gst/gstpad.c:
24808         * gst/gstpipeline.c:
24809         * gst/gststructure.c:
24810           some doc updates
24811
24812 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24813
24814         * docs/design/part-gstbin.txt:
24815         * docs/design/part-gstbus.txt:
24816         * gst/gstbus.c:
24817           Add blurb about how the bus goes into flushing mode and
24818           drops all messages when its bin goes from READY into NULL 
24819           state.
24820
24821 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24822
24823         * docs/gst/gstreamer-sections.txt:
24824         * gst/gststructure.c: (gst_structure_get_clock_time):
24825         * gst/gststructure.h:
24826           add a method to get a GstClockTime out of a structure
24827
24828 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24829
24830         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24831         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24832           Added test to check state change order in bins (can still be made
24833           to fail here under heavy disk load; bails out with 'Push on pad
24834           fakesink:sink0, but it was not activated in push mode').
24835
24836         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24837           Fix state change order when there is only a semi sink (#316856)
24838
24839         * gst/gstbus.c: (gst_bus_class_init):
24840           Use _class_peek_parent(), not _class_ref(); fix docs to say
24841           'default main context' instead of 'mainloop' where that is
24842           what's meant.
24843
24844         * gst/gstelement.c: (gst_element_commit_state),
24845         (gst_element_set_state):
24846           Fix typos in debug messages
24847
24848 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24849
24850         * docs/README:
24851         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24852         * gst/gstpluginfeature.c:
24853         * gst/gstutils.c:
24854           various doc updates
24855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24856           change an assert into an error until it gets fixed properly
24857
24858 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24859
24860         * docs/gst/gstreamer-sections.txt:
24861         * docs/gst/tmpl/.cvsignore:
24862         * docs/gst/tmpl/gstelement.sgml:
24863         * docs/gst/tmpl/gstinfo.sgml:
24864         * docs/gst/tmpl/gstobject.sgml:
24865         * gst/gstelement.c:
24866         * gst/gstelement.h:
24867         * gst/gstinfo.c:
24868         * gst/gstinfo.h:
24869         * gst/gstobject.c: (gst_object_class_init):
24870         * gst/gstobject.h:
24871           inlined 3 more biiiig doc files and added some missing docs on the fly
24872
24873 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24874
24875         * check/gst/.cvsignore:
24876         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24877         * gst/gstregistryxml.c: (load_plugin),
24878         (gst_registry_xml_save_plugin):
24879           put back source in registry.  add checks for find_plugin.
24880         * testsuite/states/bin.c: (assert_state), (empty_bin),
24881         (test_adding_one_element), (main):
24882         * testsuite/states/locked.c: (main):
24883           some compile/run fixes
24884
24885 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24886
24887         * check/gst/gstvalue.c: (GST_START_TEST):
24888           fix leaks in the test itself
24889
24890 2005-09-22  Wim Taymans  <wim@fluendo.com>
24891
24892         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24893         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24894         (gst_base_sink_query):
24895         Prepare for more accurate position reporting and query
24896         handling.
24897
24898         * gst/gstelement.c: (gst_element_send_event),
24899         (gst_element_set_state):
24900         Add some comment.
24901
24902 2005-09-22  Wim Taymans  <wim@fluendo.com>
24903
24904         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24905         (gst_query_parse_segment):
24906         * gst/gstquery.h:
24907         More documentation.
24908         Add segment query for future use.
24909
24910 2005-09-22  Wim Taymans  <wim@fluendo.com>
24911
24912         * gst/gstbin.c: (gst_bin_add_func):
24913         Some more debug info.
24914
24915         * gst/gstelement.c: (gst_element_send_event):
24916         Simplify send_event
24917
24918         * gst/gstelement.h:
24919         Don't know how flags got broken.
24920
24921         * gst/gstquery.h:
24922         Added new query.
24923
24924 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24925
24926         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24927           Add simplistic test suite for GST_TYPE_DATE serialisation and
24928           deserialisation.
24929
24930 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24931
24932         * docs/gst/gstreamer-sections.txt:
24933         * gst/gststructure.c: (gst_structure_set_valist),
24934         (gst_structure_get_date):
24935         * gst/gststructure.h:
24936         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24937         (gst_date_copy), (gst_value_compare_date),
24938         (gst_value_serialize_date), (gst_value_deserialize_date),
24939         (gst_value_transform_date_string),
24940         (gst_value_transform_string_date), (_gst_value_initialize):
24941         * gst/gstvalue.h:
24942           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24943           bunch of utility functions along with a hack that checks that
24944           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24945           is required. Part of the grand scheme in #170777.
24946
24947 2005-09-22  Andy Wingo  <wingo@pobox.com>
24948
24949         * gst/gstconfig.h.in: Psych out gtk-doc.
24950
24951         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24952
24953         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24954
24955         * tools/gst-inspect.c (print_element_list): Plug some
24956         inconsequential leaks.
24957
24958         * gst/gstregistry.c (gst_registry_get_default): Doc.
24959
24960         * check/gst/gstplugin.c: 
24961         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24962         * gst/gstelementfactory.c (gst_element_factory_create): 
24963         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24964         refcount changes.
24965
24966         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24967         (gst_plugin_feature_load): Doc, don't eat refs.
24968
24969         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24970         (gst_plugin_list_free): Doc.
24971         (gst_plugin_load_file): Doc updates.
24972
24973         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24974         accessors returning refcounted objects, return a ref.
24975
24976         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24977         accessor for caps. IDEMPOTENCE. Oh yes.
24978
24979 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24980
24981         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24982
24983         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24984         (_gst_debug_register_funcptr):
24985           Add mutex to serialise access to the hash table with
24986           the function pointer => function name string mapping;
24987           make that hash table static scope (#316809).
24988
24989         * gst/registries/.cvsignore:
24990           Remove left-over file.
24991
24992 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24993
24994         * docs/pwg/appendix-porting.xml:
24995           And something about newsegment events and caps-on-buffers to
24996           the porting guide (feel free to improve).
24997
24998 2005-09-21  Andy Wingo  <wingo@pobox.com>
24999
25000         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25001         data and event probes on the same pad.
25002         (test_buffer_probe_once): Test that removing probes from within
25003         the probe functions works.
25004
25005 2005-09-21  Andy Wingo  <wingo@pobox.com>
25006
25007         * check/gst/gstutils.c: New file.
25008         (test_buffer_probe_n_times): A simple buffer probe test. More to
25009         come, foolios.
25010
25011         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25012         have-data::buffer, not have-data.
25013         (gst_pad_add_event_probe): Likewise for have-data::event.
25014         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25015         peer' isn't quite right yet though.
25016         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25017         (gst_pad_remove_data_probe): Change to take the guint handler_id
25018         as their arg, not the function+data, which is more glib-like.
25019
25020         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25021         the signal emission to indicate if the data is a buffer or an
25022         event.
25023         (gst_pad_get_type): Initialize buffer and event quarks.
25024         (gst_pad_class_init): have-data is now a detailed signal, yes it
25025         is.
25026
25027 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25028
25029         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25030         * gst/gstutils.c: (gst_util_set_value_from_string),
25031         (gst_util_set_object_arg):
25032           Don't put functional code in g_return_if_fail() or
25033           g_return_val_if_fail() statements, otherwise things will 
25034           break when G_DISABLE_CHECKS is defined during compilation.
25035
25036 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25037
25038         * docs/gst/tmpl/.cvsignore:
25039         * docs/gst/tmpl/gstvalue.sgml:
25040         * gst/gstvalue.c:
25041         * gst/gstvalue.h:
25042           inlied another one and added  some obvious docs
25043
25044 2005-09-21  Wim Taymans  <wim@fluendo.com>
25045
25046         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25047         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25048         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25049         (gst_fdsrc_get_property), (gst_fdsrc_create):
25050         * gst/elements/gstfdsrc.h:
25051         Properly implement fdsrc. Removed signal and timeout,
25052         better implemented somewhere else.
25053
25054 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25055
25056         * docs/gst/tmpl/.cvsignore:
25057         * docs/gst/tmpl/gstimplementsinterface.sgml:
25058         * gst/gstinterface.c:
25059           inlined more docs
25060
25061 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25062
25063         * docs/gst/gstreamer-sections.txt:
25064         * docs/gst/tmpl/.cvsignore:
25065         * docs/gst/tmpl/gstenumtypes.sgml:
25066           remove obsolete doc file
25067
25068 2005-09-21  David Schleef  <ds@schleef.org>
25069
25070         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25071         little beer, fix a little leak.
25072
25073 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25074
25075         * docs/gst/gstreamer-docs.sgml:
25076         * docs/gst/gstreamer-sections.txt:
25077         * docs/gst/tmpl/.cvsignore:
25078         * gst/Makefile.am:
25079         * gst/gst.h:
25080         * gst/gstbin.c:
25081         * gst/gstelement.h:
25082         * gst/gstindex.c: (gst_index_class_init):
25083         * gst/gstindex.h:
25084         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25085         (gst_index_factory_class_init), (gst_index_factory_init),
25086         (gst_index_factory_finalize), (gst_index_factory_new),
25087         (gst_index_factory_destroy), (gst_index_factory_find),
25088         (gst_index_factory_create), (gst_index_factory_make):
25089         * gst/gstindexfactory.h:
25090         * gst/gstpluginfeature.c:
25091         * gst/gstpluginfeature.h:
25092         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25093           more docs inlined, splitted gstindex.{c,h}
25094
25095 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25096
25097         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25098           fix a leak
25099
25100 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25101
25102         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25103           Set sync to FALSE by default.
25104
25105 2005-09-20  Wim Taymans  <wim@fluendo.com>
25106
25107         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25108         (gst_base_sink_init):
25109         Make sync property settable from subclass.
25110
25111         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25112         (gst_fake_sink_change_state):
25113         Set sync to FALSE by default.
25114
25115 2005-09-20  Wim Taymans  <wim@fluendo.com>
25116
25117         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25118         * tools/gst-launch.c: (main):
25119         The timeout handler should have lower priority than the source
25120         so we don't timeout before popping a message with 0 timeout.
25121         Dump error messages after failed state change.
25122
25123 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25124
25125         * tools/gst-inspect.c: (print_element_properties_info):
25126           Fix two typos.
25127
25128 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25129
25130         * check/gst/gstevent.c:
25131         * gst/elements/gstfakesink.c:
25132         * gst/elements/gstfakesink.h:
25133           remove the sync property from fakesink.
25134           has the side effect of setting sync TRUE
25135           for fakesink, which is a change.  Anyone who knows how
25136           to fix this nicely in a GObject-y way, feel free.
25137
25138 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25139
25140         * docs/gst/gstreamer-docs.sgml:
25141           remove probe refsection
25142
25143 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25144
25145         * check/Makefile.am:
25146           disable valgrinding the controller test again
25147         * docs/gst/gstreamer-sections.txt:
25148           update for api-changes
25149
25150 2005-09-20  Wim Taymans  <wim@fluendo.com>
25151
25152         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25153         (gst_base_sink_set_property), (gst_base_sink_get_property),
25154         (gst_base_sink_do_sync):
25155         * gst/base/gstbasesink.h:
25156         Added sync property to basesink to disable clock sync.
25157
25158 2005-09-20  Andy Wingo  <wingo@pobox.com>
25159
25160         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25161         eating the caller's refcount.
25162
25163         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25164         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25165         refcount.
25166
25167         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25168         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25169         of GLib 2.8 public, so we can know which refcount to check in
25170         tests.
25171
25172         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25173         (gst_object_init): Only set the gst refcount if we're going ahead
25174         with the refcount hack.
25175
25176 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25177
25178         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25179         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25180           more leaks plumbed, added more debug-logging
25181         * gst/gstmacros.h:
25182           whitespace fix
25183
25184 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25185
25186         * gst/gstmessage.c:
25187           remove include of gstmemchunk.h
25188
25189 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25190
25191         * gst/gstclock.c: (_gst_clock_id_free):
25192           Commit from the Political Party For More Atomic CVS Commits,
25193           so that people don't waste too much of their day fishing
25194           out obvious leaks out of massive commits.
25195           Oh, and fix a pretty damn obvious leak in the memchunk
25196           removal code.
25197
25198 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25199
25200         * check/Makefile.am:
25201         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25202           plug mem-leak, re-add to valgrindable tests
25203
25204 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25205
25206         * gst/gstplugin.h:
25207           unbreak the build for those who have chronic arthritis
25208           and typing "make check" is just too taxing on the hands
25209
25210 2005-09-20  Andy Wingo  <wingo@pobox.com>
25211
25212         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25213         really want it out, you should fix plugins at the same time.
25214
25215 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25216
25217         * configure.ac:
25218         * docs/gst/gstreamer-sections.txt:
25219         * gst/gstobject.c:
25220           added missing symbols to api docs
25221           disable ref-count hack if we have glib >= 2.8
25222
25223 2005-09-19  David Schleef  <ds@schleef.org>
25224
25225         * docs/gst/Makefile.am: Ignore a few more internal headers
25226         * docs/gst/gstreamer-docs.sgml: Remove old sections
25227         * docs/gst/gstreamer-sections.txt: Remove old sections
25228         * docs/gst/tmpl/gstobject.sgml: update
25229         * docs/gst/tmpl/gstplugin.sgml: update
25230         * docs/gst/tmpl/gstpluginfeature.sgml: update
25231         * docs/random/ds/0.9-suggested-changes: update.
25232         * gst/Makefile.am: remove memchunk and trashstack, since they're
25233           not used.
25234         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25235         * gst/gst.h: don't include some headers
25236         * gst/gstchildproxy.c: add gstmarshal.h
25237         * gst/gstclock.c: Don't use memchunks
25238         * gst/gstminiobject.c: Add some docs
25239         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25240         * gst/gstobject.h: same
25241         * gst/gstplugin.c: include gstmacros.h
25242         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25243         * gst/gstquery.c: don't use memchunks
25244         * gst/gstregistry.c: rename gst_registry_deinit()
25245         * gst/gstregistry.h: same
25246
25247 2005-09-19  David Schleef  <ds@schleef.org>
25248
25249         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25250         * docs/libs/gstreamer-libs-sections.txt:
25251         * docs/libs/tmpl/gstgetbits.sgml:
25252         * docs/libs/tmpl/gstputbits.sgml:
25253
25254 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25255
25256         * win32/gstenumtypes.c:
25257         * win32/gstenumtypes.h:
25258           Update.
25259
25260 2005-09-19  Wim Taymans  <wim@fluendo.com>
25261
25262         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25263         Automatically PAUSE and RESUME a pipeline when a flushing seek
25264         is performed.
25265
25266 2005-09-19  Andy Wingo  <wingo@pobox.com>
25267
25268         * gst/gstregistry.h: Spacing fixen.
25269
25270 2005-09-19  Wim Taymans  <wim@fluendo.com>
25271
25272         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25273         Handle state change failure more correctly.
25274
25275 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25276
25277         * check/Makefile.am:
25278         * check/pipelines/cleanup.c: (run_pipeline):
25279         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25280         (GST_START_TEST):
25281           enable cleanup again after fixing the leak
25282         * docs/README:
25283           some more info on docs
25284
25285 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25286
25287         * check/Makefile.am:
25288           re-enable tests now that leaks are plugged
25289         * check/gst/gst.c:
25290         * check/gst/gstbin.c:
25291         * check/gst/gstpipeline.c:
25292           add some more tests while fixing leaks
25293         * common/check.mak:
25294           make sure binaries are uptodate when valgrinding/gdbing
25295         * gst/gst.c:
25296         * gst/gstelementfactory.c:
25297           remove a ref too many, and add a FIXME for when we get
25298           round to disposing of classes
25299         * gst/gstplugin.c:
25300           fix the refcounting when loading a plugin from a file and
25301           the code pretends that the pointer is the same even though
25302           of course it can change
25303         * gst/gstpluginfeature.c:
25304           unref plugins marked cached (a bit confusing as a name)
25305           as the docs state should be done
25306           various doc additions to explain refcounting
25307         * gst/gstregistry.c:
25308         * gst/gstregistryxml.c:
25309           debugging
25310
25311 2005-09-19  Wim Taymans  <wim@fluendo.com>
25312
25313         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25314         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25315         (send_messages), (GST_START_TEST), (gstbus_suite):
25316         * check/gst/gstpipeline.c: (GST_START_TEST):
25317         * check/pipelines/cleanup.c: (run_pipeline):
25318         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25319         (GST_START_TEST):
25320         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25321         (gst_bus_source_check), (gst_bus_source_dispatch),
25322         (gst_bus_create_watch), (gst_bus_add_watch_full),
25323         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25324         * gst/gstbus.h:
25325         * tools/gst-launch.c: (event_loop):
25326         * tools/gst-md5sum.c: (event_loop):
25327         GstBusHandler -> GstBusFunc, return value has the same meaning as
25328         any other GSource (FALSE == remove source).
25329         _add_watch() and _add_watch_full() now take a MessageType mask to
25330         only handle specific types of messages.
25331         _poll() returns the GstMessage instead of the message type to avoid
25332         race conditions.
25333         _have_pending() takes a MessageType mask now too.
25334         Added testsuite for multiple bus watches.
25335         Fix testsuites and applications for new bus API.
25336
25337 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25338
25339         * check/Makefile.am:
25340           mark a bunch of the tests as to fix until we fix them
25341
25342 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25343
25344         * common/check.mak:
25345           use GST_PLUGIN settings for valgrind tests as well, so we're
25346           valgrinding the correct thing
25347         * gst/gst.c: (init_post):
25348           plug another leak
25349
25350 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25351
25352         * gst/gst.c: (init_post), (gst_deinit):
25353         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25354         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25355         * gst/gstindex.c: (gst_index_factory_class_init),
25356         (gst_index_factory_finalize):
25357         * gst/gstobject.c: (gst_object_dispose):
25358         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25359         (gst_plugin_load_file), (gst_plugin_desc_free):
25360         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25361         (gst_plugin_feature_finalize):
25362         * gst/gstregistry.c: (gst_registry_class_init),
25363         (gst_registry_init), (gst_registry_finalize),
25364         (gst_registry_get_default), (gst_registry_deinit):
25365         * gst/gstregistry.h:
25366         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25367           various cleanups and memleak plugging.  make valgrind is happy now.
25368
25369 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25370
25371         * common/check.mak:
25372           add a check-valgrind target
25373
25374 2005-09-18  David Schleef  <ds@schleef.org>
25375
25376         * tools/gst-inspect.c: Revert the GOption code.
25377
25378 2005-09-17  David Schleef  <ds@schleef.org>
25379
25380         * check/Makefile.am: Fix environment variables.
25381         * check/gst/gstplugin.c: Fix for API changes.
25382         * tools/gst-inspect.c: Fix for API changes.
25383         * tools/gst-xmlinspect.c: Fix for API changes.
25384         * gst/gstelementfactory.c:
25385         * gst/gstplugin.c:
25386         * gst/gstplugin.h:
25387         * gst/gstpluginfeature.c:
25388         * gst/gstpluginfeature.h:
25389         * gst/gstregistry.c:
25390         * gst/gstregistry.h:
25391         * gst/gstregistryxml.c:
25392         * gst/gsttypefind.c:
25393         * gst/gsttypefindfactory.c:
25394         * gst/indexers/gstfileindex.c:
25395         * gst/indexers/gstmemindex.c:
25396         * gst/schedulers/Makefile.am:
25397           Change registry to keep track of both plugins and features,
25398           removing the feature tracking from plugins themselves.
25399
25400 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25401
25402         * check/Makefile.am:
25403         * tools/gst-register.1.in:
25404           remove gst-register
25405
25406 2005-09-15  David Schleef  <ds@schleef.org>
25407
25408         * check/gst/gstplugin.c:
25409         * gst/gstelementfactory.c:
25410         * gst/gstplugin.c:
25411         * gst/gstpluginfeature.c:
25412         * gst/gstregistry.c:
25413           Getting tired of debugging.  Disabled all the unreffing of
25414           plugins and features, which fixes the segfaults, but of
25415           course leaks like crazy.  At least playbin works.
25416
25417 2005-09-15  David Schleef  <ds@schleef.org>
25418
25419         * check/gst/gstplugin.c: (register_check_elements),
25420         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25421         More testing
25422         * gst/elements/gsttypefindelement.c: Fix refcounting.
25423         * gst/gsttypefind.c:
25424         * gst/gsttypefindfactory.c:
25425         * gst/gsttypefindfactory.h:
25426
25427 2005-09-15  David Schleef  <ds@schleef.org>
25428
25429         * gst/gstindex.c: get refcounting correct.
25430         * gst/gstregistry.c: Handle the case where a feature/plugin is
25431           not found.
25432
25433 2005-09-15  David Schleef  <ds@schleef.org>
25434
25435         * check/Makefile.am:
25436         * check/gst/gstplugin.c: Add test
25437         * gst/gstplugin.c: Fix problems noticed by testsuite
25438         * gst/gstplugin.h:
25439         * gst/gstregistry.c: 
25440         * gst/gstregistry.h:
25441
25442 2005-09-15  David Schleef  <ds@schleef.org>
25443
25444         * gst/gstplugin.c: Implement semi-decent recounting and locking
25445           in plugins and plugin features.
25446         * gst/gstplugin.h:
25447         * gst/gstpluginfeature.c:
25448         * gst/gstpluginfeature.h:
25449         * gst/gstregistry.c:
25450
25451 2005-09-15  Michael Smith <msmith@fluendo.com>
25452
25453         * gst/gstregistry.c: (gst_registry_get_feature_list):
25454           Implement this. Makes oggdemux work; decodebin still broken.
25455
25456 2005-09-14  David Schleef  <ds@schleef.org>
25457
25458         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25459           #316076)
25460         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25461         * gst/check/Makefile.am:
25462         * libs/gst/controller/Makefile.am:
25463         * libs/gst/dataprotocol/Makefile.am:
25464
25465 2005-09-14  David Schleef  <ds@schleef.org>
25466
25467         * configure.ac: Remove getbits library.  Nothing uses it, and
25468           it should be in something like liboil if someone did want
25469           to use it.
25470         * libs/gst/Makefile.am:
25471         * libs/gst/getbits/Makefile.am:
25472         * libs/gst/getbits/gbtest.c:
25473         * libs/gst/getbits/getbits.c:
25474         * libs/gst/getbits/getbits.h:
25475         * libs/gst/getbits/gstgetbits_generic.c:
25476         * libs/gst/getbits/gstgetbits_i386.s:
25477         * libs/gst/getbits/gstgetbits_inl.h:
25478
25479 2005-09-14  David Schleef  <ds@schleef.org>
25480
25481         * gst/Makefile.am: Dist glib-compat.h
25482
25483 2005-09-14  David Schleef  <ds@schleef.org>
25484
25485         * configure.ac: Remove gst/registries, since it's no longer used.
25486         * gst/registries/Makefile.am:
25487         * gst/registries/gstlibxmlregistry.c:
25488         * gst/registries/gstlibxmlregistry.h:
25489         * gst/registries/gstxmlregistry.c:
25490         * gst/registries/gstxmlregistry.h:
25491         * gst/registries/registrytest.c:
25492
25493 2005-09-14  David Schleef  <ds@schleef.org>
25494
25495         * gst/glib-compat.h:
25496         * gst/gstregistryxml.c:
25497           Convergence is near.  Seriously.
25498
25499 2005-09-14  David Schleef  <ds@schleef.org>
25500
25501         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25502         * gst/glib-compat.h:
25503           Attempt #4 to appease the buildbots.
25504
25505 2005-09-14  David Schleef  <ds@schleef.org>
25506
25507         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25508           Attempt #3.
25509
25510 2005-09-14  David Schleef  <ds@schleef.org>
25511
25512         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25513         Attempt #2.
25514
25515 2005-09-14  David Schleef  <ds@schleef.org>
25516
25517         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25518           the new functions.
25519
25520 2005-09-14  David Schleef  <ds@schleef.org>
25521
25522         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25523         * gst/glib-compat.h: Add some functions that are in newer versions
25524           of glib than we care to require.
25525         * gst/gstregistryxml.c: Use them.
25526
25527 2005-09-14  David Schleef  <ds@schleef.org>
25528
25529         * po/POTFILES.in: remove gst-register.c
25530
25531 2005-09-14  David Schleef  <ds@schleef.org>
25532
25533         * docs/gst/gstreamer-docs.sgml:
25534         * docs/gst/gstreamer-sections.txt:
25535         * docs/gst/gstreamer.types:
25536         * docs/gst/tmpl/gstelement.sgml:
25537         * docs/gst/tmpl/gstplugin.sgml:
25538         * docs/gst/tmpl/gstpluginfeature.sgml:
25539           Documentation updates for registry changes.
25540
25541 2005-09-14  David Schleef  <ds@schleef.org>
25542
25543         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25544           because we don't require glib-2.8.
25545
25546 2005-09-14  David Schleef  <ds@schleef.org>
25547
25548         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25549           registries directory.
25550
25551 2005-09-14  David Schleef  <ds@schleef.org>
25552
25553         * check/Makefile.am:
25554         * check/generic/states.c:
25555         * gst/Makefile.am:
25556         * gst/gst.c:
25557         * gst/gst.h:
25558         * gst/gst_private.h:
25559         * gst/gstelementfactory.c:
25560         * gst/gstindex.c:
25561         * gst/gstinfo.c:
25562         * gst/gstplugin.c:
25563         * gst/gstplugin.h:
25564         * gst/gstpluginfeature.c:
25565         * gst/gstpluginfeature.h:
25566         * gst/gstregistry.c:
25567         * gst/gstregistry.h:
25568         * gst/gstregistrypool.c: remove
25569         * gst/gstregistrypool.h: remove
25570         * gst/gsttypefind.c:
25571         * gst/gsttypefindfactory.c:
25572         * gst/gsturi.c:
25573         * tools/Makefile.am:
25574         * tools/gst-compprep.c:
25575         * tools/gst-inspect.c:
25576         * tools/gst-register.c: remove
25577         * tools/gst-xmlinspect.c:
25578           Registry rewrite.  Changes registry from being a file created
25579           by a tool into a simple cache file created automatically by 
25580           libgstreamer.  Removed gst-register (because it's no longer
25581           needed).  Remove registry pools, because we only have one
25582           registry implementation (XML).  Fix up other subsystems as
25583           necessary.
25584
25585 2005-09-13  Michael Smith <msmith@fluendo.com>
25586
25587         * gst/gstconfig.h.in:
25588           Don't Use windows linking attributes for MinGW. Fixes #316157
25589
25590 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25591
25592         * gst/gstutils.c: (set_state_async_thread_func),
25593         (gst_element_set_state_async):
25594           Apparently people think it's better if this function doesn't
25595           try to set the state to whatever state was asked for on the first
25596           call to this function for any object.  Seriously.
25597
25598 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25599
25600         * check/gst/gstpipeline.c: (GST_START_TEST):
25601         * docs/gst/gstreamer-sections.txt:
25602         * gst/gstutils.c: (set_state_async_thread_func),
25603         (gst_element_set_state_async):
25604         * gst/gstutils.h:
25605           add a "gst_element_set_state_async" method that
25606           sets the state and starts a thread to make sure the state
25607           change completes as best as it can
25608
25609 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25610
25611         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25612           codify design+behaviour in testsuite after discussion
25613
25614 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25615
25616         * docs/gst/tmpl/gstelement.sgml:
25617         * docs/manual/appendix-quotes.xml:
25618           add a quote
25619         * gst/gstelement.c: (gst_element_set_state):
25620           add some debug
25621
25622 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25623
25624         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25625         (gst_base_transform_prepare_output_buf),
25626         (gst_base_transform_handle_buffer):
25627         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25628         (gst_capsfilter_prepare_buf):
25629           Remove the requirement for sub-classes to call the parent
25630           implementation of prepare_output_buffer with a wrapper function.
25631           
25632         * gst/gsttaglist.h:
25633         * gst/gsttagsetter.h:
25634           Fix #define wrapper
25635
25636 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25637
25638         * docs/gst/gstreamer-sections.txt:
25639           more doc cleanups
25640
25641 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25642
25643         * docs/gst/gstreamer-sections.txt:
25644         * docs/gst/tmpl/gstelement.sgml:
25645         * docs/gst/tmpl/gstplugin.sgml:
25646         * gst/gstminiobject.c:
25647         * gst/gstvalue.h:
25648           docs now stop throwing warnings
25649
25650 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25651
25652         * docs/gst/gstreamer-sections.txt:
25653         * docs/gst/gstreamer.types:
25654         * docs/gst/tmpl/gstpad.sgml:
25655         * docs/gst/tmpl/gsttypes.sgml:
25656         * gst/base/gstadapter.h:
25657         * gst/base/gstbasesink.h:
25658         * gst/base/gstbasesrc.h:
25659         * gst/gstbin.h:
25660         * gst/gstbuffer.h:
25661         * gst/gstbus.h:
25662         * gst/gstcaps.h:
25663         * gst/gstclock.h:
25664         * gst/gstelement.h:
25665         * gst/gstevent.h:
25666         * gst/gstmessage.h:
25667         * gst/gstpad.h:
25668         * gst/gststructure.c:
25669         * gst/registries/gstlibxmlregistry.h:
25670           various documentation fixes
25671
25672 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25673
25674         * docs/gst/gstreamer-sections.txt:
25675         * docs/gst/tmpl/gstvalue.sgml:
25676           rearrange gstvalue section
25677         * gst/gstutils.c: (gst_element_state_get_name):
25678           NONE -> VOID
25679         * gst/gstvalue.c: (_gst_value_initialize):
25680         * gst/gstvalue.h:
25681           doc updates
25682
25683 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25684
25685         * check/gst-libs/controller.c:
25686           Header include fix.
25687         * gst/base/gstbasetransform.c:
25688         (gst_base_transform_default_prepare_buf),
25689         (gst_base_transform_handle_buffer):
25690         * gst/base/gstbasetransform.h:
25691           Some more basetransform changes and fixes to enable sub-classes
25692           that modify buffer metadata only.
25693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25694         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25695         (gst_capsfilter_prepare_buf):
25696           If the output pad has fixed allowed caps and input buffers 
25697           don't have any, set the fixed caps on outgoing buffers.
25698
25699 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25700         * check/elements/identity.c: (GST_START_TEST):
25701           Make the error a little clearer when the test fails because
25702           identity made a copy of the buffer.
25703         * docs/gst/gstreamer-sections.txt:
25704           New symbols in gstbasetransform.h
25705         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25706         (gst_base_transform_init), (gst_base_transform_transform_size),
25707         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25708         (gst_base_transform_default_prepare_buf),
25709         (gst_base_transform_get_unit_size),
25710         (gst_base_transform_buffer_alloc),
25711         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25712         (gst_base_transform_change_state),
25713         (gst_base_transform_set_passthrough),
25714         (gst_base_transform_set_in_place),
25715         (gst_base_transform_is_in_place):
25716         * gst/base/gstbasetransform.h:
25717           Change BaseTransform to separate in_place operate from same_caps
25718           output. in_place implies that the element can perform the transform
25719           on incoming buffers in-place, even if the caps on the output are
25720           different.
25721           Sub-class elements can now implement special buffer allocation
25722           methods for outgoing buffers if they wish to.
25723           Big documentation addition.
25724         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25725         * gst/elements/gstelements.c:
25726           Changes for basetransform modifications.
25727         * gst/elements/Makefile.am:
25728         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25729           Compile fix. Extra debug output.
25730
25731 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25732
25733         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25734         (gst_pad_suite):
25735           add tests for valid pad naming
25736         * gst/check/gstcheck.c: (gst_check_log_message_func),
25737         (gst_check_log_critical_func):
25738           add ASSERT_WARNING
25739           remove printing of code, it is fragile when the code contains
25740           % and the line number is enough info
25741         * gst/check/gstcheck.h:
25742         * gst/gstpad.c: (gst_pad_template_new):
25743           fix memleaks
25744
25745 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25746
25747         * configure.ac:
25748           say what CHECK flags we use
25749         * docs/libs/gstreamer-libs.types:
25750         * libs/gst/controller/Makefile.am:
25751         * libs/gst/controller/gst-controller.c:
25752         * libs/gst/controller/gst-controller.h:
25753         * libs/gst/controller/gst-helper.c:
25754         * libs/gst/controller/gst-interpolation.c:
25755         * libs/gst/controller/gstcontroller.c:
25756         * libs/gst/controller/gsthelper.c:
25757         * libs/gst/controller/gstinterpolation.c:
25758         * tools/gst-inspect.c: (print_plugin_info):
25759           we don't use dashes in header names
25760
25761 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25762
25763         * check/Makefile.am:
25764         * check/gst/.cvsignore:
25765         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25766         (gst_pipeline_suite), (main):
25767           adding a test for pipelines and state changes
25768         * gst/gstutils.c: (get_state_func):
25769           add some debugging
25770         * gstreamer.spec.in:
25771           fix up spec file
25772
25773 2005-09-08  Michael Smith <msmith@fluendo.com>
25774
25775         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25776         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25777         (gst_file_src_is_seekable), (gst_file_src_get_size),
25778         (gst_file_src_start):
25779         * gst/elements/gstfilesrc.h:
25780           Various fixes for unseekable, unmmapable, and non-normal files, so
25781           that fallback to read() rather than mmap() works.
25782         * gst/gstevent.c: (gst_event_new_newsegment):
25783           Allow newsegment events with segment_start == segment_end, as will
25784           correctly happen if you use filesrc on a zero-size file, for
25785           example.
25786
25787 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25788
25789         * gst/gstplugin.c: (gst_plugin_load_file):
25790           Call g_module_close when we don't load the module
25791
25792         * gst/registries/gstlibxmlregistry.c:
25793         (gst_xml_registry_get_property):
25794           Port leak fix from 0.8
25795
25796 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25797
25798         * docs/gst/gstreamer-docs.sgml:
25799         * docs/gst/tmpl/.cvsignore:
25800         * docs/gst/tmpl/gsttrace.sgml:
25801         * docs/gst/tmpl/gsttrashstack.sgml:
25802         * gst/Makefile.am:
25803         * gst/gst.h:
25804         * gst/gstelement.h:
25805         * gst/gstevent.h:
25806         * gst/gstmessage.c:
25807         * gst/gstmessage.h:
25808         * gst/gsttag.c:
25809         * gst/gsttag.h:
25810         * gst/gsttaginterface.c:
25811         * gst/gsttaginterface.h:
25812         * gst/gsttaglist.c:
25813         * gst/gsttaglist.h:
25814         * gst/gsttagsetter.c:
25815         * gst/gsttagsetter.h:
25816         * gst/gsttrace.c:
25817         * gst/gsttrace.h:
25818         * gst/gsttrashstack.c:
25819           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25820           inlined docs for gsttrace, gsttrashstack
25821
25822 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25823
25824         * gst/Makefile.am:
25825         * gst/elements/gstbufferstore.h:
25826         * gst/elements/gsttypefindelement.c:
25827         * gst/elements/gsttypefindelement.h:
25828         * gst/gst.h:
25829         * gst/gsttypefind.c:
25830         * gst/gsttypefind.h:
25831         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25832         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25833         (gst_type_find_factory_dispose),
25834         (gst_type_find_factory_unload_thyself),
25835         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25836         (gst_type_find_factory_get_caps),
25837         (gst_type_find_factory_get_extensions),
25838         (gst_type_find_factory_call_function):
25839         * gst/gsttypefindfactory.h:
25840         * gst/registries/gstlibxmlregistry.c:
25841         * gst/registries/gstxmlregistry.c:
25842           splitted gsttypefind into gsttypefind, gsttypefindfactory
25843
25844 2005-09-07  Andy Wingo  <wingo@pobox.com>
25845
25846         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25847         condition whereby the pad's task function is entered before the
25848         pad_mode variable was set.
25849
25850 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25851
25852         * gst/gstpad.c: (gst_pad_alloc_buffer):
25853           Catch misbehaving pad_alloc functions that don't
25854           set up caps and do it for them.
25855
25856 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25857
25858         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25859           test for pipe!=NULL
25860         * docs/gst/tmpl/.cvsignore:
25861         * docs/gst/tmpl/gstmemchunk.sgml:
25862         * docs/gst/tmpl/gstparse.sgml:
25863         * docs/gst/tmpl/gsttaglist.sgml:
25864         * docs/gst/tmpl/gsttagsetter.sgml:
25865         * docs/gst/tmpl/gsttypefind.sgml:
25866         * docs/gst/tmpl/gsttypefindfactory.sgml:
25867         * gst/gstmemchunk.c:
25868         * gst/gstparse.c:
25869         * gst/gsttag.c:
25870         * gst/gsttaginterface.c:
25871         * gst/gsttypefind.c:
25872         * gst/gsttypefind.h:
25873           inlined more docs
25874
25875 === release 0.9.2 ===
25876
25877 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25878
25879         * NEWS:
25880         * RELEASE:
25881         * configure.ac:
25882           releasing 0.9.2, "South"
25883
25884 2005-09-05  Andy Wingo  <wingo@pobox.com>
25885
25886         * gst/registries/gstxmlregistry.h:
25887         * gst/registries/gstxmlregistry.c: Um... resurrect...
25888         
25889         * gst/registries/gstxmlregistry.h:
25890         * gst/registries/gstxmlregistry.c: and update to newer API.
25891         Incidentally they should be a bit faster now that they don't have
25892         to parse the caps.
25893         
25894 2005-09-05  Andy Wingo  <wingo@pobox.com>
25895
25896         * gst/registries/gstxmlregistry.h:
25897         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25898         replaced by the libxml registry a while back
25899
25900 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25901
25902         * docs/gst/tmpl/gstplugin.sgml:
25903         * gst/elements/gstelements.c:
25904         * gst/gst.c:
25905         * gst/gstplugin.c: (gst_plugin_register_func),
25906         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25907         (gst_plugin_get_source):
25908         * gst/gstplugin.h:
25909         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25910         (gst_xml_registry_save_plugin):
25911         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25912         (gst_xml_registry_save_plugin):
25913         * tools/gst-inspect.c: (print_plugin_info):
25914           add a "source" plugin description field, to represent the source
25915           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25916           will set it to PACKAGE, which is automake's idea of the name of
25917           the source project.
25918
25919 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25920
25921         * Makefile.am:
25922         * autogen.sh:
25923         * configure.ac:
25924         * docs/Makefile.am:
25925         * docs/faq/Makefile.am:
25926         * docs/gst/tmpl/gstelement.sgml:
25927         * docs/gst/tmpl/gsttypes.sgml:
25928         * docs/htmlinstall.mak:
25929         * docs/manual/Makefile.am:
25930         * docs/pwg/Makefile.am:
25931           reorganize doc build a little
25932           split out docbook and gtk-doc stuff
25933           have two separate --enable's and enable them through autogen
25934           but disable by default in configure (to be similar to other
25935           projects)
25936         * gstreamer.spec.in:
25937           clean up docs install
25938         * po/af.po:
25939         * po/az.po:
25940         * po/ca.po:
25941         * po/cs.po:
25942         * po/de.po:
25943         * po/en_GB.po:
25944         * po/fr.po:
25945         * po/it.po:
25946         * po/nb.po:
25947         * po/nl.po:
25948         * po/ru.po:
25949         * po/sq.po:
25950         * po/sr.po:
25951         * po/sv.po:
25952         * po/tr.po:
25953         * po/uk.po:
25954         * po/vi.po:
25955           translation updates
25956
25957 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25958
25959         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25960           Add comment.
25961           
25962         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25963         (gst_fake_sink_change_state):
25964           Make state change function thread-safe.
25965           
25966         * gst/gstpad.c: (gst_pad_alloc_buffer):
25967           Set offset on generic buffer allocated by fallback.
25968
25969 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25970
25971         * docs/gst/gstreamer-sections.txt:
25972         * docs/gst/tmpl/gstelement.sgml:
25973         * gst/gstpad.c:
25974         * libs/gst/controller/gst-controller.c:
25975         (gst_controlled_property_set_interpolation_mode),
25976         (gst_controlled_property_new),
25977         (gst_controller_find_controlled_property):
25978          run the wingo-magic script against the docs
25979
25980 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25981
25982         * docs/gst/gstreamer-docs.sgml:
25983         * docs/gst/gstreamer-sections.txt:
25984         * docs/gst/tmpl/.cvsignore:
25985         * docs/gst/tmpl/gstelementdetails.sgml:
25986         * docs/gst/tmpl/gstelementfactory.sgml:
25987         * gst/gst.c:
25988         * gst/gstbus.c:
25989         * gst/gstelementfactory.c:
25990         * gst/gstelementfactory.h:
25991           merged elementdetails docs into elementfactory docs
25992           inlined both
25993
25994 2005-09-02  Andy Wingo  <wingo@pobox.com>
25995
25996         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25997         consider this enum an enum and not a flags.
25998
25999 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26000
26001         * docs/gst/gstreamer-docs.sgml:
26002         * docs/gst/tmpl/.cvsignore:
26003         * docs/gst/tmpl/gstghostpad.sgml:
26004         * docs/gst/tmpl/gstiterator.sgml:
26005         * docs/gst/tmpl/gstmacros.sgml:
26006         * docs/gst/tmpl/gstrealpad.sgml:
26007         * docs/gst/tmpl/gstregistry.sgml:
26008         * docs/gst/tmpl/gstregistrypool.sgml:
26009         * docs/gst/tmpl/gststructure.sgml:
26010         * docs/gst/tmpl/gstsystemclock.sgml:
26011         * docs/gst/tmpl/gsttrace.sgml:
26012         * gst/gstghostpad.c:
26013         * gst/gstmacros.h:
26014         * gst/gstmemchunk.c:
26015         * gst/gstmemchunk.h:
26016         * gst/gstqueue.c:
26017         * gst/gstregistry.c:
26018         * gst/gstregistrypool.c:
26019         * gst/gststructure.c:
26020         * gst/gstsystemclock.c:
26021           more docs inlined
26022
26023 2005-09-02  Andy Wingo  <wingo@pobox.com>
26024
26025         * gst/gstelement.h (GstState): Renamed from GstElementState,
26026         changed to be a normal enum instead of flags.
26027         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26028         munged to be GST_STATE_CHANGE_*.
26029         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26030         work with the new state representation.
26031         (GstStateChange): New enumeration of possible state transitions.
26032         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26033         (GstElementClass::change_state): Pass the GstStateChange along as
26034         an argument. Helps language bindings, so they don't have to use
26035         tricky lock-needing macros like GST_STATE_CHANGE ().
26036
26037         * scripts/update-states (file): New script. Run it on a file to
26038         update it for state naming and API changes. Updates files in
26039         place.
26040
26041         * All files updated for the new API.
26042
26043 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26044
26045         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26046         * gst/gstutils.c: (gst_util_set_value_from_string),
26047         (gst_util_set_object_arg):
26048           fix a bunch of unchecked return values
26049         * tools/gst-complete.c: (main):
26050         * gstreamer.spec.in:
26051           clean up a little
26052
26053 2005-09-01  Wim Taymans  <wim@fluendo.com>
26054
26055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26056         (gst_base_sink_event), (gst_base_sink_do_sync),
26057         (gst_base_sink_handle_event):
26058         * gst/base/gstbasesink.h:
26059         Handle newsegments more correctly.
26060
26061         * gst/gstbus.c:
26062         Fix docs.
26063
26064         * gst/gstevent.c: (gst_event_new_newsegment):
26065         A newsegment cannot have a start_time of -1
26066
26067 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26068
26069         * win32/gstenumtypes.c:
26070         * win32/gstenumtypes.h:
26071           Update
26072
26073 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26074
26075         * libs/gst/controller/gst-controller.c:
26076         (gst_controlled_property_set_interpolation_mode),
26077         (gst_controlled_property_new):
26078          fixed boolean again
26079
26080 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26081
26082         * docs/faq/gst-uninstalled:
26083           add -good
26084         * gst/gstevent.c:
26085         * gst/gstevent.h:
26086           remove wrong docs
26087         * gst/gstutils.c: (gst_element_link_filtered):
26088         * gst/gstutils.h:
26089           add gst_element_link_filtered
26090
26091 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26092
26093         * docs/gst/gstreamer-docs.sgml:
26094         * docs/gst/gstreamer-sections.txt:
26095         * docs/gst/tmpl/.cvsignore:
26096         * docs/gst/tmpl/gsterror.sgml:
26097         * docs/gst/tmpl/gstfilter.sgml:
26098         * docs/gst/tmpl/gsturihandler.sgml:
26099         * docs/gst/tmpl/gsturitype.sgml:
26100         * docs/gst/tmpl/gstutils.sgml:
26101         * docs/gst/tmpl/gstxml.sgml:
26102         * gst/gsterror.c:
26103         * gst/gsterror.h:
26104         * gst/gstfilter.c:
26105         * gst/gsturi.c:
26106         * gst/gsturitype.c:
26107         * gst/gstutils.c:
26108         * gst/gstxml.c:
26109           inlined more docs, fixed double id-ref
26110
26111 2005-08-31  Wim Taymans  <wim@fluendo.com>
26112
26113         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26114         (gst_base_transform_handle_buffer):
26115         Passthrough elements don't need the caps as they don't care.
26116
26117 2005-08-31  Wim Taymans  <wim@fluendo.com>
26118
26119         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26120         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26121         Don't leak refcounts on buffers.
26122
26123 2005-08-31  Wim Taymans  <wim@fluendo.com>
26124
26125         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26126         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26127         (gst_base_transform_chain), (gst_base_transform_change_state):
26128         * gst/base/gstbasetransform.h:
26129         Handle the case where we are not negotiated more gracefully.
26130
26131 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26132
26133         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26134         (gst_file_src_map_region):
26135           Set READONLY flag on mmap'ed buffers, otherwise
26136           gst_buffer_make_writable() won't work properly (#314708).
26137
26138 2005-08-31  Wim Taymans  <wim@fluendo.com>
26139
26140         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26141         passthrough elements can even do inplace on non writable
26142         buffers (as they don't touch them).
26143
26144 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26145
26146         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26147         (gst_test_mono_source_set_property),
26148         (gst_test_mono_source_class_init), (GST_START_TEST),
26149         (gst_controller_suite):
26150           more tests (hehe I have the most)
26151         * gst/gstbus.c:
26152           describe popping messages whenusing mulltiple sources
26153         * libs/gst/controller/gst-controller.c:
26154         (gst_controlled_property_set_interpolation_mode),
26155         (gst_controlled_property_new):
26156         * libs/gst/controller/gst-controller.h:
26157         * libs/gst/controller/gst-interpolation.c:
26158           implement boolean properties
26159
26160 2005-08-31  Wim Taymans  <wim@fluendo.com>
26161
26162         * gst/gstminiobject.c: (gst_mini_object_ref):
26163         Cannot assert that the refcount has to be positive
26164         since a disposed object can be resurrected.
26165
26166 2005-08-31  Wim Taymans  <wim@fluendo.com>
26167
26168         * gst/gstpad.c: (gst_pad_init):
26169         Revert change, need to first fix badly behaving 
26170         apps.
26171
26172 2005-08-30  Wim Taymans  <wim@fluendo.com>
26173
26174         * check/elements/fakesrc.c: (setup_fakesrc):
26175         * check/elements/identity.c: (setup_identity):
26176         Activate pads before using them.
26177
26178 2005-08-30  Wim Taymans  <wim@fluendo.com>
26179
26180         * gst/base/gstadapter.c: (gst_adapter_flush):
26181         Flushing out 0 bytes is ok for this function.
26182
26183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26184         no newsegment gives a warning and sets the start/stop to 
26185         invalid.
26186
26187         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26188         (gst_base_transform_set_passthrough):
26189         Some debug info.
26190
26191         * gst/gstminiobject.c: (gst_mini_object_ref):
26192         Check refcount here too.
26193
26194         * gst/gstpad.c: (gst_pad_init):
26195         Pads are initially flushing and refusing data.
26196
26197         * gst/gstutils.c: (gst_element_link_pads_filtered):
26198         When adding a capsfilter element make sure it has the
26199         same state as the parent bin.
26200
26201 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26202
26203         * docs/gst/tmpl/.cvsignore:
26204         * docs/gst/tmpl/gstformat.sgml:
26205         * docs/gst/tmpl/gstversion.sgml:
26206         * gst/gstbus.h:
26207         * gst/gstformat.c:
26208         * gst/gstformat.h:
26209         * gst/gstversion.h.in:
26210           more docs and two more inlined
26211
26212 2005-08-30  Wim Taymans  <wim@fluendo.com>
26213
26214         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26215         Don't sync to clock.
26216
26217 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26218
26219         * docs/gst/gstreamer-sections.txt:
26220           ultral33t func10ns deserve to appear in the docs actually
26221         * docs/gst/tmpl/.cvsignore:
26222         * docs/gst/tmpl/gstcompat.sgml:
26223         * docs/gst/tmpl/gstconfig.sgml:
26224         * gst/check/gstcheck.c:
26225         * gst/gstcompat.h:
26226         * gst/gstconfig.h.in:
26227           inlined more docs
26228
26229 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26230
26231         * docs/gst/tmpl/.cvsignore:
26232         * docs/gst/tmpl/gstquery.sgml:
26233         * docs/gst/tmpl/gstutils.sgml:
26234         * gst/gstquery.c:
26235         * gst/gstquery.h:
26236           inlined and extended docs
26237
26238 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26239
26240         * check/gst-libs/controller.c: (GST_START_TEST),
26241         (gst_controller_suite):
26242           more tests
26243         * docs/gst/tmpl/gstutils.sgml:
26244         * docs/libs/gstreamer-libs-sections.txt:
26245         * docs/libs/tmpl/gstdataprotocol.sgml:
26246           include path fixes
26247         * examples/controller/audio-example.c: (main):
26248           controller example works now
26249         * gst/gstclock.h:
26250           doc fixes
26251         * tools/gst-inspect.c: (print_element_properties_info):
26252           show param spec flags
26253
26254 2005-08-29  Andy Wingo  <wingo@pobox.com>
26255
26256         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26257
26258 2005-08-28  Andy Wingo  <wingo@pobox.com>
26259
26260         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26261         as having two arguments instead of just one. Allows superclasses
26262         to access information on subclasses -- see the terrible for() loop
26263         in gtype.c:g_type_create_instance for the reason why. All callers
26264         changed.
26265
26266 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26267
26268         * docs/design/part-messages.txt:
26269           update info
26270         * docs/gst/tmpl/.cvsignore:
26271         * docs/gst/tmpl/gstcaps.sgml:
26272         * docs/gst/tmpl/gstclock.sgml:
26273         * gst/gstbus.c:
26274         * gst/gstcaps.c:
26275         * gst/gstcaps.h:
26276         * gst/gstclock.c:
26277         * gst/gstclock.h:
26278         * gst/gstmessage.c:
26279           added descriptions for bus and message
26280           inline caps and clock docs
26281
26282 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26283
26284         * gst/gstmessage.c:
26285         * gst/gstmessage.h:
26286           doc fixes
26287
26288 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26289
26290         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26291           fix div-by-zero
26292
26293 2005-08-26  Andy Wingo  <wingo@pobox.com>
26294
26295         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26296         element_set_state's return val.
26297         (test_2_elements): Add test that's been disabled for months.
26298
26299         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26300         can-activate-pull properties.
26301
26302         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26303         can-activate-pull properties. Implement is_seekable so fakesrc can
26304         operate in pull mode.
26305
26306         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26307         properties.
26308         (gst_base_sink_activate, gst_base_sink_activate_pull)
26309         (gst_base_sink_activate_push): Make activation mode choosing work.
26310         Cleanups.
26311         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26312         is right. Make pull mode work. Post an eos before pausing in pull
26313         mode.
26314         (gst_base_sink_change_state): Pay attention to the core's
26315         change_state() return val.
26316         
26317         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26318         has-getrange properties. Cleanups.
26319         
26320         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26321         has_getrange and replace with can_activate_pull and
26322         can_activate_push.
26323
26324         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26325         locking comments. Remove has_loop, has_chain and replace with
26326         can_activate_pull and can_activate_push.
26327
26328 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26329
26330         * configure.ac:
26331         * examples/Makefile.am:
26332         * examples/metadata/Makefile.am:
26333         * examples/metadata/read-metadata.c: (message_loop),
26334         (have_pad_handler), (make_pipeline), (print_tag), (main):
26335           Add metadata reading example that loops over a list of filenames,
26336           dumping any tags found.
26337
26338         * gst/gstbus.c: (gst_bus_dispose):
26339         * gst/gstelement.c: (gst_element_dispose):
26340           Release a few potentially-held references in dispose.
26341
26342 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26343
26344         * docs/gst/tmpl/gstminiobject.sgml:
26345           do *not* add tmpl/*.sgml files to CVS!
26346
26347 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26348
26349         * libs/gst/bytestream/.cvsignore:
26350         * libs/gst/bytestream/Makefile.am:
26351         * libs/gst/bytestream/adapter.c:
26352         * libs/gst/bytestream/adapter.h:
26353         * libs/gst/bytestream/bytestream.c:
26354         * libs/gst/bytestream/bytestream.h:
26355         * libs/gst/bytestream/filepad.c:
26356         * libs/gst/bytestream/filepad.h:
26357           removing obsolete files
26358
26359 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26360
26361         * docs/gst/gstreamer-docs.sgml:
26362         * docs/libs/gstreamer-libs-docs.sgml:
26363           disabed additional index entries again, as this makes docs-gen just
26364           slow and they aren't useful yet
26365         * docs/libs/gstreamer-libs-sections.txt:
26366           little -section.txt cleanup for libs
26367
26368 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26369
26370         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26371         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26372           fix up some debugging
26373         (gst_base_transform_get_unit_size),
26374         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26375         (gst_base_transform_handle_buffer):
26376         * gst/base/gstbasetransform.h:
26377           handle and store timed NEWSEGMENT events so that subclasses that
26378           calculate time by counting samples have a segment_start time they
26379           need to add to their timestamps - see audioresample
26380
26381 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26382
26383         * gst/gstbin.h:
26384           removed ';' from the end of macro defs
26385         * docs/gst/gstreamer-docs.sgml:
26386         * docs/gst/gstreamer-sections.txt:
26387         * docs/gst/tmpl/.cvsignore:
26388         * gst/gstbus.h:
26389         * gst/gstelement.c: (gst_element_class_init),
26390         (gst_element_set_state), (activate_pads),
26391         (gst_element_save_thyself):
26392         * gst/gstevent.c: (gst_event_new_newsegment):
26393         * gst/gstevent.h:
26394         * gst/gstiterator.c:
26395         * gst/gstiterator.h:
26396         * gst/gstpad.c:
26397         * gst/gstprobe.h:
26398         * gst/gstutils.c: (gst_pad_query_convert):
26399         * gst/gstutils.h:
26400           fixed parameter name mismatches between source, header and docs
26401           added some more docs, resolved the last batch of unused elements in
26402           docs (now someone needs to doc them)
26403
26404 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26405
26406         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26407         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26408           don't walk through the plugins backwards.  Where is all this
26409           reversed logic coming from ?
26410
26411 2005-08-25  Wim Taymans  <wim@fluendo.com>
26412
26413         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26414         (gst_base_transform_transform_size),
26415         (gst_base_transform_configure_caps),
26416         (gst_base_transform_get_unit_size),
26417         (gst_base_transform_buffer_alloc),
26418         (gst_base_transform_change_state):
26419         * gst/base/gstbasetransform.h:
26420         Cache caps unit_size.
26421         Make sure we cannot negotiate up and downstream at the
26422         same time.
26423
26424 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26425
26426         * gst/gst.c: (init_pre), (init_post):
26427           register the installed plugin path after the env var
26428         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26429         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26430           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26431           directories, so the tests can prefer uninstalled over installed
26432
26433 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26434
26435         * gst/base/gstbasetransform.h:
26436           comment
26437         * gst/gstpad.c:
26438           add to docs
26439
26440 2005-08-25  Wim Taymans  <wim@fluendo.com>
26441
26442         * gst/gstbin.c: (bin_bus_handler):
26443         Be a bit more conservative about the posted message.
26444         
26445         * gst/gstbus.c: (gst_bus_post):
26446         Some cleanups, warn wrong return values.
26447
26448 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26449
26450         * check/gst/gstbin.c: (GST_START_TEST):
26451         * gst/gstbin.c: (bin_bus_handler):
26452         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26453         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26454         (gst_message_new_warning), (gst_message_new_tag),
26455         (gst_message_new_state_changed), (gst_message_new_segment_start),
26456         (gst_message_new_segment_done), (gst_message_new_custom):
26457         * gst/gstmessage.h:
26458         * tools/gst-launch.c: (event_loop):
26459         * tools/gst-md5sum.c: (event_loop):
26460           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26461
26462 2005-08-25  Wim Taymans  <wim@fluendo.com>
26463
26464         * check/generic/states.c: (GST_START_TEST):
26465         Cleanup can be done at the end.
26466
26467         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26468         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26469         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26470         Oh boy.. Thanks for finding this, Thomas. 
26471
26472 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26473
26474         * docs/gst/gstreamer.types:
26475           added missing types
26476
26477 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26478
26479         * docs/gst/gstreamer-docs.sgml:
26480         * docs/gst/gstreamer-sections.txt:
26481         * docs/gst/tmpl/.cvsignore:
26482         * gst/gstbin.c:
26483         * gst/gstiterator.c:
26484         * gst/gstutils.c:
26485         * gst/registries/gstxmlregistry.h:
26486           added missing classes and symbols (123 more to go)
26487           removed removed symbols from section file
26488           fixed many doc-comments
26489
26490 2005-08-24  Wim Taymans  <wim@fluendo.com>
26491
26492         * check/generic/states.c: (GST_START_TEST):
26493         Make sure all tasks are stopped.
26494
26495         * check/gst/gstbin.c: (GST_START_TEST):
26496         Unref after usage for proper valgrinding.
26497
26498         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26499         Really wait for the task to stop before destroying the
26500         mutex.
26501
26502         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26503         (gst_queue_src_activate_push):
26504         Small cleanups. Don't stop the task when we did not start
26505         it.
26506
26507         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26508         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26509         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26510         (gst_task_join):
26511         * gst/gsttask.h:
26512         Protect the stream lock with the object lock.
26513         Disallow setting the stream lock when running.
26514         Add cleanup_all to wait for the threadpool to finish.
26515         Remove code to autoallocate a mutex if none was provided.
26516         Add _join() to wait for a task to stop.
26517         Protect the thread pool with a global lock.
26518
26519 2005-08-24  Wim Taymans  <wim@fluendo.com>
26520
26521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26522         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26523         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26524         * gst/base/gstbasesink.h:
26525         Handle newsegment events correctly.
26526         Drop buffers out of the segment range.
26527
26528 2005-08-22  Andy Wingo  <wingo@pobox.com>
26529
26530         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26531         macro, implements an interface and gstimplementsinterface for a
26532         new type.
26533
26534 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26535
26536         * check/Makefile.am:
26537         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26538           add a test that does a bunch of state changes on elements
26539           needs some fixing for valgrind
26540         * check/states/sinks.c: (gst_object_suite):
26541           whitespace
26542         * gst/gstcaps.h:
26543           add prototype for gst_caps_is_equal_fixed
26544         * gst/gstplugin.c:
26545         * gst/gstregistrypool.c:
26546           doc fixes
26547
26548 2005-08-24  Andy Wingo  <wingo@pobox.com>
26549
26550         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26551         convert a negative value. Doesn't make much sense. Mostly this is
26552         here to force callers to ensure -1 maps to -1.
26553
26554 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26555
26556         * docs/pwg/advanced-types.xml:
26557           Well done to Michael for catching my deliberate introduction
26558           of this spelling mistake. 
26559         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26560         * gst/gstelement.h:
26561           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26562           unlink pads before removing the element from the bin.
26563
26564 2005-08-24  Andy Wingo  <wingo@pobox.com>
26565
26566         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26567         the same thing as GST_DEBUG=*:4.
26568         (parse_debug_level, parse_debug_category): New helper parsers.
26569
26570 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26571
26572         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26573         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26574         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26575         (gst_base_transform_buffer_alloc),
26576         (gst_base_transform_handle_buffer):
26577           use gboolean return values and pointers to size so we can use the
26578           full GST_BUFFER_SIZE range (guint) for buffer sizes
26579           use GstPadDirection for transform_caps
26580         * gst/base/gstbasetransform.h:
26581           rename get_size to get_unit_size since that's what it is
26582         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26583           use GstPadDirection for transform_caps
26584         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26585         * gst/gstutils.h:
26586           cleanup and debugging
26587
26588 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26589
26590         * gst/gstelement.c: (gst_element_class_init),
26591         (gst_element_set_state), (activate_pads),
26592         (gst_element_save_thyself):
26593         * tools/gst-compprep.c: (main):
26594         * tools/gst-inspect.c: (print_element_properties_info):
26595         * tools/gst-xmlinspect.c: (print_element_properties):
26596           Fixed long standing mem-leak
26597
26598 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26599
26600         * check/gst/gstbin.c: (GST_START_TEST):
26601         * gst/gstbin.c: (bin_bus_handler):
26602         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26603         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26604         (gst_message_new_warning), (gst_message_new_tag),
26605         (gst_message_new_state_changed), (gst_message_new_segment_start),
26606         (gst_message_new_segment_done), (gst_message_new_custom):
26607         * gst/gstmessage.h:
26608         * tools/gst-launch.c: (event_loop):
26609         * tools/gst-md5sum.c: (event_loop):
26610           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26611           that applications can sensibly post custom messages with references
26612           to their own objects.
26613
26614 2005-08-24  Andy Wingo  <wingo@pobox.com>
26615
26616         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26617         already.
26618
26619 2005-08-24  Wim Taymans  <wim@fluendo.com>
26620
26621         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26622         (gst_base_transform_transform_caps),
26623         (gst_base_transform_transform_size),
26624         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26625         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26626         (gst_base_transform_handle_buffer):
26627         * gst/base/gstbasetransform.h:
26628         Many fixes and new features added by Thomas. Can now also do
26629         transforms with variable sizes and a custom fixate_caps function.
26630
26631 2005-08-24  Wim Taymans  <wim@fluendo.com>
26632
26633         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26634         Some debugging.
26635
26636         * gst/gstclock.h:
26637         Cast to ClockTime before formatting to time.
26638
26639         * gst/gstutils.h:
26640         Cleanups.
26641
26642 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26643
26644         * check/gst-libs/controller.c: (GST_START_TEST),
26645         (gst_controller_suite):
26646         * docs/gst/tmpl/gstcaps.sgml:
26647         * docs/gst/tmpl/gstghostpad.sgml:
26648         * docs/gst/tmpl/gstquery.sgml:
26649         * docs/gst/tmpl/gstutils.sgml:
26650         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26651         (gst_object_sink_values), (gst_object_get_value_arrays),
26652         (gst_object_get_value_array):
26653           gracefully handle helper method calls to objects that are not beeing
26654           controlled, added test case for that          
26655
26656 2005-08-23  Wim Taymans  <wim@fluendo.com>
26657
26658         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26659         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26660         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26661         (gst_event_parse_qos), (gst_event_new_seek),
26662         (gst_event_parse_seek):
26663         * gst/gstevent.h:
26664         Some more debugging output and doc cleanups.
26665
26666         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26667         Fix possible deadlock.
26668
26669 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26670
26671         * docs/gst/gstreamer-docs.sgml:
26672         * docs/gst/gstreamer-sections.txt:
26673         * docs/gst/gstreamer.types:
26674         * docs/gst/tmpl/.cvsignore:
26675         * gst/gstbin.h:
26676         * gst/gstbus.c:
26677         * gst/gstelement.c:
26678         * gst/gstevent.h:
26679           added 100 symbols from gstreamer-unused.txt to the right sections
26680           fixed more broken comments
26681           added GstBus to docs
26682
26683 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26684
26685         * docs/gst/gstreamer-sections.txt:
26686         * docs/gst/tmpl/.cvsignore:
26687         * docs/gst/tmpl/gstbin.sgml:
26688         * docs/gst/tmpl/gstbuffer.sgml:
26689         * gst/base/gstbasesrc.c:
26690         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26691         * gst/gstbuffer.c:
26692         * gst/gstbuffer.h:
26693         * tools/gst-launch.1.in:
26694           inlined more doc comments, added missing comments and fixed comments
26695           fixed typos
26696
26697 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26698
26699         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26700           some debugging
26701         * gst/gstcaps.h:
26702           whitespace fixes
26703         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26704           more debugging
26705         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26706         * gst/gststructure.h:
26707           add a fixate function for booleans; add a FIXME that these func
26708           names should probably be gst_structure_fixate_*
26709
26710 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26711
26712         * docs/gst/gstreamer-docs.sgml:
26713         * docs/gst/gstreamer-sections.txt:
26714         * gst/Makefile.am:
26715         * gst/gstbin.c: (gst_bin_get_type),
26716         (gst_bin_child_proxy_get_child_by_index),
26717         (gst_bin_child_proxy_get_children_count),
26718         (gst_bin_child_proxy_init):
26719         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26720         (gst_child_proxy_get_child_by_index),
26721         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26722         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26723         (gst_child_proxy_get), (gst_child_proxy_set_property),
26724         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26725         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26726         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26727         * gst/gstchildproxy.h:
26728         * gst/parse/grammar.y:
26729         * tools/gst-inspect.c: (print_interfaces),
26730         (print_element_properties_info), (print_element_info):
26731           ported gstchildproxy over from 0.8
26732           ported gst-inspect fixes and enhancements over from 0.8
26733
26734 2005-08-22  Wim Taymans  <wim@fluendo.com>
26735
26736         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26737         (gst_base_transform_handle_buffer):
26738         Also call the transform function if we have ANY caps.
26739
26740         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26741         Fix debug info.
26742
26743 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26744
26745         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26746           Don't pretend to handle seek events if the source is not seekable
26747
26748 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26749
26750         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26751           Remove extra parameter to debug output
26752
26753         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26754         (gst_base_src_do_seek), (gst_base_src_activate_push):
26755           Fix seek event handling.
26756
26757         * gst/gstpipeline.c: (gst_pipeline_change_state):
26758         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26759         (gst_queue_src_activate_push):
26760           Don't start the src pad task on FLUSH_STOP if the pad
26761           isn't linked.
26762           Debug changes.
26763
26764 2005-08-22  Wim Taymans  <wim@fluendo.com>
26765
26766         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26767         Added check for gst_static_caps_get() refcounting.
26768
26769 2005-08-22  Wim Taymans  <wim@fluendo.com>
26770
26771         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26772         Make _static_caps_get() refcounting sane.
26773         
26774         * gst/gstelement.c: (gst_element_set_state):
26775         Add g_return_val_if_fail() to protect against segfaults.
26776
26777 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26778
26779         * docs/gst/tmpl/gstevent.sgml:
26780         * gst/gstevent.c:
26781         * gst/gstevent.h:
26782           inlined remaining docs, added missing doc comments
26783
26784 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26785
26786         * check/gst/gstbin.c: (GST_START_TEST):
26787           since we don't know when preroll is done, use refcount range
26788           check for the sink
26789         * gst/check/gstcheck.h:
26790           add macro for checking refcount range
26791
26792 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26793
26794         * check/Makefile.am:
26795           clean up environment for when registry gets built versus
26796           when actual tests are run; valgrind seems to not report
26797           leaks if GST_PLUGIN_PATH is set to some specific values
26798         * check/gst/gstbin.c: (GST_START_TEST):
26799           add more refcounting checks; maybe this exposes a
26800           preroll lock bug ?
26801         * common/check.mak:
26802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26803         * gst/check/gstcheck.h:
26804         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26805         (gst_bin_change_state):
26806         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26807           add/fix debugging/whitespace
26808
26809 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26810
26811         * check/gst/gstevent.c: (event_probe), (test_event),
26812         (GST_START_TEST):
26813          Er, don't call gst_bin_watch_for_state_change you idiot.
26814
26815 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26816
26817         * check/Makefile.am:
26818           Use CHECK_CFLAGS and CHECK_LIBS
26819         * check/gst/gstevent.c: (event_probe), (test_event),
26820         (GST_START_TEST):
26821           Don't leak events.
26822         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26823         (gst_base_src_start), (gst_base_src_stop),
26824         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26825         (gst_base_src_change_state):
26826           Sprinkle gst_base_src_stop liberally around error paths to fix
26827           problems reusing a source after failed state changes.
26828         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26829         (helper_find_suggest), (gst_type_find_helper):
26830           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26831         * gst/gstevent.h:
26832         * docs/gst/tmpl/gstevent.sgml:
26833           Migrate part of the docs from the SGML file. Wait for ensonic to
26834           tell me how I did it wrong ;)
26835         * tools/gst-typefind.c: (main):
26836           Extra robustness to state changes between files.
26837
26838 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26839
26840         * check/Makefile.am:
26841           don't valgrind the controller test - it's leaking - Stefan, HELP
26842         * gst/check/gstcheck.c: (gst_check_message_error),
26843         (gst_check_chain_func), (gst_check_setup_element),
26844         (gst_check_teardown_element), (gst_check_setup_src_pad),
26845         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26846         (gst_check_teardown_sink_pad):
26847         * gst/check/gstcheck.h:
26848           add a bunch of methods to set up elements, and src and sink pads
26849         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26850         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26851         (GST_START_TEST):
26852           use them
26853         * gst/gstmessage.c:
26854         * gst/gsttag.h:
26855           whitespace/doc fixes
26856
26857 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26858
26859         * gst/gstelement.h:
26860           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26861           be handled by the application and not always printed as well
26862
26863 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26864
26865         * check/Makefile.am:
26866           set GST_TOOLS_DIR
26867         * gst/check/gstcheck.c: (gst_check_message_error):
26868         * gst/check/gstcheck.h:
26869           add a fail_unless_equals_int
26870           add fail_unless for error messages
26871
26872 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26873
26874         * check/Makefile.am:
26875         * check/gst.supp:
26876         * common/Makefile.am:
26877         * common/check.mak:
26878         * common/gst.supp:
26879           factor out some of the common stuff so we can use it
26880
26881 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26882
26883         * check/Makefile.am:
26884         * check/gst/gstiterator.c: (GST_START_TEST):
26885         * check/gst/gstsystemclock.c: (GST_START_TEST),
26886         (gst_systemclock_suite):
26887         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26888         * gst/gstclock.c:
26889           valgrind more tests
26890
26891 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26892
26893         * check/elements/.cvsignore:
26894         * check/elements/gstfakesrc.c:
26895           rename to name of element
26896         * check/elements/identity.c: (chain_func), (event_func),
26897         (setup_identity), (cleanup_identity), (GST_START_TEST),
26898         (identity_suite), (main):
26899           add a test for identity
26900         * check/Makefile.am:
26901         * pkgconfig/Makefile.am:
26902         * pkgconfig/gstreamer-check.pc.in:
26903         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26904         * gst/check:
26905         * gst/Makefile.am:
26906         * configure.ac:
26907           move the check stuff to a library that gets installed
26908         * check/gst-libs/controller.c: (GST_START_TEST):
26909         * check/gst-libs/gdp.c:
26910         * check/gst/gst.c: (GST_START_TEST):
26911         * check/gst/gstbin.c:
26912         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26913         * check/gst/gstbus.c:
26914         * check/gst/gstcaps.c: (GST_START_TEST):
26915         * check/gst/gstelement.c:
26916         * check/gst/gstghostpad.c:
26917         * check/gst/gstiterator.c:
26918         * check/gst/gstmessage.c:
26919         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26920         * check/gst/gstobject.c:
26921         * check/gst/gstpad.c: (GST_START_TEST):
26922         * check/gst/gststructure.c: (GST_START_TEST):
26923         * check/gst/gstsystemclock.c: (GST_START_TEST),
26924         (gst_systemclock_suite):
26925         * check/gst/gsttag.c: (gst_tag_suite):
26926         * check/gst/gstvalue.c:
26927         * check/pipelines/cleanup.c:
26928         * check/pipelines/simple_launch_lines.c:
26929         * check/states/sinks.c:
26930           change include statement
26931
26932         * docs/gst/gstreamer-sections.txt:
26933         * docs/gst/tmpl/gstpad.sgml:
26934           document more pad stuff
26935         * gst/gstminiobject.c: (gst_mini_object_ref),
26936         (gst_mini_object_unref):
26937           debug refcounting
26938
26939 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26940
26941         * docs/gst/tmpl/gst.sgml:
26942         * gst/gst.c:
26943           eliminate another tmpl file, fix spelling in the long-description
26944
26945 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26946
26947         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26948         (test_event), (timediff), (gstevents_suite):
26949           Should fix build on 64-bit arch's
26950
26951 2005-08-18  Andy Wingo  <wingo@pobox.com>
26952
26953         Make sure that when a pipeline goes to PLAYING, that data has
26954         actually hit the sink.
26955
26956         * check/states/sinks.c (test_sink): A sink that doesn't get any
26957         data shouldn't return SUCCESS for going to either PLAYING or
26958         PAUSED. Test also the return values on the way back down.
26959
26960         * gst/gstelement.c (gst_element_set_state): When changing the
26961         state of an element currently changing state asynchronously, go to
26962         lost-state after commiting the pending state. Makes future calls
26963         to get_state continue to return ASYNC.
26964
26965         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26966         ASYNC when going to PLAYING if we still don't have preroll, as can
26967         happen with live sources.
26968
26969 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26970
26971         * docs/pwg/advanced-types.xml:
26972           Hack long paragraph into 2 chunks as a workaround for buggy
26973           jadetex version in sid and breezy that loops infinitely and
26974           eats all RAM.
26975
26976 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26977
26978         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26979         (test_event), (timediff), (gstevents_suite):
26980           Provide more error margin in clock measurements to allow for 
26981           g_get_current_time inaccuracies.
26982
26983 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26984
26985         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26986         (test_event), (timediff), (gstevents_suite):
26987            Fix error message output so I might be able to tell why the
26988            test works here but fails on the build farm.
26989
26990 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26991
26992         * check/Makefile.am:
26993         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26994         (test_event), (timediff), (gstevents_suite), (main):
26995           I wrote a test!
26996
26997         * docs/design/part-seeking.txt:
26998           Spelling correction
26999
27000         * docs/gst/tmpl/gstevent.sgml:
27001         * docs/gst/tmpl/gstfakesrc.sgml:
27002           Docs updates.
27003
27004         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27005           Treat a buffer-without-newsegment the same as a receiving 
27006           a newsegment not in time format, and disable syncing to the clock
27007           with a warning.
27008
27009         * gst/gstbus.c: (gst_bus_set_sync_handler):
27010           Assert if anyone tries to replace the existing sync_handler for bus, 
27011           as only the owner should be setting it.
27012
27013         * gst/gstevent.h:
27014           Have a fixed set of custom event enums with events identified by
27015           their structure name (as in 0.8), rather than a free-for-all
27016           allowing collisions between enum values from different plugins.
27017
27018         * gst/gstpad.c: (gst_pad_class_init):
27019           Docs change.
27020           
27021         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27022           Handle out-of-band downstream events from the sending thread.
27023
27024 2005-08-17  Andy Wingo  <wingo@pobox.com>
27025
27026         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27027         play-timeout==0 to mean no timeout at all. In that case, don't
27028         bother with a get_state or a warning, just return directly, even
27029         if it's ASYNC.
27030
27031         * gst/base/gstbasetransform.c: Debug changes.
27032
27033         * gst/gstutils.h:
27034         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27035         ensure bins post state change messages. A bit of a hack but I can't
27036         think of a way to avoid it.
27037
27038         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27039
27040 2005-08-16  Andy Wingo  <wingo@pobox.com>
27041
27042         * gst/base/gstadapter.h:
27043         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27044         peek() but you own the data. Not terribly efficient atm.
27045
27046 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27047
27048         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27049         (gst_element_found_tags):
27050         * gst/gstutils.h:
27051           Add two utility functions for tag handling.
27052
27053 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27054
27055         * docs/manual/advanced-dataaccess.xml:
27056         * docs/manual/basics-helloworld.xml:
27057           Fix docs to use _bin_add() before _link(), which fixes the examples
27058           with recent core versions (reported by Madhan Raj M
27059           <raj_madan@rediffmail.com>, #313199).
27060
27061 2005-08-16  Wim Taymans  <wim@fluendo.com>
27062
27063         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27064         Added subtract checks.
27065
27066         * docs/design/part-events.txt:
27067         Some more docs about newsegment
27068
27069         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27070         Fix FIXME
27071
27072         * gst/gstcaps.c: (gst_caps_to_string):
27073         Add comments, cleanups.
27074         
27075         * gst/gstelement.c: (gst_element_save_thyself):
27076         cleanups
27077         
27078         * gst/gstvalue.c: (gst_value_collect_int_range),
27079         (gst_string_unwrap), (gst_value_union_int_int_range),
27080         (gst_value_union_int_range_int_range),
27081         (gst_value_intersect_int_int_range),
27082         (gst_value_intersect_int_range_int_range),
27083         (gst_value_intersect_double_double_range),
27084         (gst_value_intersect_double_range_double_range),
27085         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27086         (gst_value_subtract_int_range_int),
27087         (gst_value_subtract_double_range_double),
27088         (gst_value_subtract_double_range_double_range),
27089         (gst_value_subtract_from_list), (gst_value_subtract_list),
27090         (gst_value_can_compare), (gst_value_compare_fraction):
27091         Cleanups, add comments, remove unneeded asserts.
27092
27093 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27094
27095         * tools/gst-launch.c: (event_loop):
27096           don't convert NULL structures to strings
27097
27098 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27099
27100         * docs/gst/gstreamer-sections.txt:
27101           made some defines private
27102         * docs/gst/tmpl/gstconfig.sgml:
27103         * docs/gst/tmpl/gstqueue.sgml:
27104         * docs/gst/tmpl/gsttaglist.sgml:
27105         * docs/gst/tmpl/gsttypes.sgml:
27106         * docs/gst/tmpl/gstutils.sgml:
27107         * docs/pwg/appendix-porting.xml:
27108         * gst/base/gstbasesink.h:
27109         * gst/base/gstbasesrc.c:
27110         * gst/base/gstbasesrc.h:
27111         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27112         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27113         * gst/gstelement.c: (gst_element_class_init):
27114         * gst/gstpad.c: (gst_pad_class_init):
27115         * gst/gstqueue.c: (gst_queue_class_init):
27116         * gst/gstxml.c: (gst_xml_class_init):
27117           documented all undocumented signal inline
27118         * libs/gst/controller/gst-controller.h:
27119           added padding
27120
27121 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27122
27123         * docs/pwg/appendix-porting.xml:
27124           Document _set_link_function -> _set_setcaps_function.
27125
27126 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27127
27128         * check/Makefile.am:
27129           add a .check target for running the check
27130         * check/gst-libs/controller.c: (GST_START_TEST):
27131           cosmetic fixups
27132         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27133           complete checks for gstbuffer; would be nice if I could get the
27134           gcov stuff to work so I can see if I actually completed gstbuffer.c
27135         * check/gstcheck.h:
27136           add ASSERT_BUFFER_REFCOUNT
27137
27138 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27139
27140         * docs/gst/gstreamer-sections.txt:
27141         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27142         * gst/gsttag.h:
27143           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27144           spew out a warning if a tag that is already registered
27145           is re-registered, unless it is re-registered with a 
27146           different type (#308438).
27147
27148 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27149
27150         * docs/pwg/appendix-porting.xml:
27151         * docs/pwg/building-state.xml:
27152           Add some paragraphs about state changes in 0.9 to the PWG
27153           and the porting guide, in particular about the new meaning
27154           of GST_STATE_PAUSED and how to write state change functions
27155           with concurrent access by multiple threads in mind.
27156
27157 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27158
27159         * docs/gst/gstreamer-docs.sgml:
27160         * docs/libs/gstreamer-libs-docs.sgml:
27161           added deprecation and since indexes
27162         * libs/gst/controller/gst-controller.c:
27163         * libs/gst/controller/gst-helper.c:
27164           added since tags
27165
27166
27167 2005-08-11  Wim Taymans  <wim@fluendo.com>
27168
27169         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27170         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27171         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27172         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27173         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27174         (gst_ghost_pad_set_target):
27175         Actually implement (re)setting the target on a ghostpad
27176         as described in the docs.
27177
27178 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27179
27180         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27181           Check whether GST_DEBUG_NO_COLOR environment variable is
27182           set and disable coloured debug output if that is the case.
27183
27184 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27185
27186         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27187         (gst_type_find_helper):
27188           The memory returned by gst_type_find_peek() needs to
27189           stay valid until the end of a typefind function, and
27190           typefind functions may keep results from different 
27191           offsets around, so we can't just unref the buffer from
27192           the previous _peek(), but have to save all buffers 
27193           returned by _peek() until typefinding is done and only
27194           free them then.
27195
27196 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27197
27198         * docs/gst/gstreamer-sections.txt:
27199         * gst/gstutils.h:
27200           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27201
27202 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27203
27204         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27205           Fix a pretty good memleak.
27206
27207 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27208
27209         * gst/gstiterator.h:
27210           Fix wrong include and 'make distcheck'.
27211
27212 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27213
27214         * gst/gstbin.c: (bin_bus_handler):
27215           Use gst_element_post_message() instead.
27216
27217 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27218
27219         * gst/base/gstadapter.h:
27220         * gst/base/gstbasesink.h:
27221         * gst/base/gstbasesrc.h:
27222         * gst/base/gstbasetransform.h:
27223         * gst/base/gstcollectpads.h:
27224         * gst/base/gstpushsrc.h:
27225         * gst/gstiterator.h:
27226           Add padding to our base elements' class and instance structs and
27227           to GstIterator (you will need to rebuild all plugins and apps!)
27228
27229 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27230
27231         * gst/gstbin.c: (bin_bus_handler):
27232           Make default message forwarding from child->bus to bin->bus
27233           threadsafe and make it not emit warnings if the parent has no bus.
27234
27235 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27236
27237         * gst/gstelement.c: (activate_pads):
27238           On paused->ready, set pad->caps to NULL, as is the documented
27239           behaviour in this state change. Fixes playback of series of
27240           media files when visualization is enabled in Totem.
27241
27242 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27243
27244         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27245           Allow NULL as filter-caps (which means "any").
27246
27247 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27248
27249         * docs/libs/gstreamer-libs-sections.txt:
27250         * libs/gst/controller/gst-controller.c:
27251         * libs/gst/controller/gst-controller.h:
27252         * libs/gst/controller/gst-helper.c:
27253           adding more entries to the docs and fix small doc-bugs
27254
27255 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27256
27257         * docs/gst/gstreamer-docs.sgml:
27258         * docs/gst/gstreamer-sections.txt:
27259         * docs/gst/gstreamer.types:
27260         * docs/gst/tmpl/gstbasesink.sgml:
27261         * docs/gst/tmpl/gstbasesrc.sgml:
27262         * docs/gst/tmpl/gstbasetransform.sgml:
27263         * docs/gst/tmpl/gstfakesrc.sgml:
27264         * gst/base/gstcollectpads.c:
27265         * gst/base/gstcollectpads.h:
27266         * libs/gst/controller/gst-controller.c:
27267         * libs/gst/controller/gst-controller.h:
27268         * libs/gst/controller/gst-helper.c:
27269         * libs/gst/controller/gst-interpolation.c:
27270         * libs/gst/controller/lib.c:
27271           added long/short desc for controller docs
27272           added collectpads base class docs
27273           added correct includes to base-class docs
27274
27275 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27276
27277         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27278         (gst_test_mono_source_set_property),
27279         (gst_test_mono_source_class_init), (GST_START_TEST),
27280         (gst_controller_suite):
27281         * docs/gst/gstreamer-docs.sgml:
27282         * docs/gst/gstreamer-sections.txt:
27283         * docs/gst/gstreamer.types:
27284         * docs/libs/gstreamer-libs-docs.sgml:
27285         * docs/libs/gstreamer-libs-sections.txt:
27286         * gst/base/gstadapter.c:
27287         * libs/gst/controller/gst-controller.c:
27288         (gst_controlled_property_new), (gst_controlled_property_free),
27289         (gst_controller_new_valist),
27290         (gst_controller_remove_properties_valist),
27291         (gst_controller_sink_values), (_gst_controller_finalize):
27292         * libs/gst/controller/gst-controller.h:
27293         * libs/gst/controller/gst-helper.c:
27294         (gst_object_control_properties), (gst_object_uncontrol_properties),
27295         (gst_object_get_controller), (gst_object_set_controller),
27296         (gst_object_sink_values), (gst_object_get_value_arrays),
27297         (gst_object_get_value_array):
27298           more tests (and fixes) for the controller
27299           more docs for the controller
27300           integrated companies docs for the adapter 
27301
27302 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27303
27304         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27305         (GST_START_TEST), (fakesrc_suite):
27306           add tests for sizetype
27307
27308 2005-08-04  Andy Wingo  <wingo@pobox.com>
27309
27310         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27311         fixes buffer_alloc proxying among other things.
27312
27313         * gst/base/gstbasetransform.c:
27314         * gst/base/gstbasetransform.h:
27315         Revert patch to gstbasetransform from 7-28 removing
27316         delay_configure.
27317
27318         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27319         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27320         Semantics changed, should return not the size of the output buffer
27321         but the byte size of a buffer with a given caps.
27322
27323         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27324         debug object.
27325         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27326         out) are not the pad caps until setcaps finishes.
27327         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27328         not-in-place case as well. Deal with changing from in-place to
27329         not-in-place within calling pad_alloc_buffer. Still a bit
27330         concerned about the overhead here...
27331
27332 2005-08-03  Andy Wingo  <wingo@pobox.com>
27333
27334         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27335         fixating is an error.
27336
27337 2005-08-04  Edward Hervey  <edward@fluendo.com>
27338
27339         * gst/base/gstadapter.h: 
27340         Added gst_adapter_get_type() to the header
27341
27342 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27343
27344         * check/Makefile.am:
27345         * check/gst-libs/controller.c:
27346         * libs/gst/controller/gst-controller.c:
27347         (gst_controller_new_valist):
27348           added check test suite for the controller
27349         * gst/base/gstpushsrc.c:
27350           fixed a doc typo
27351
27352 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27353
27354         * docs/gst/Makefile.am:
27355         * docs/gst/gstreamer-docs.sgml:
27356         * docs/gst/gstreamer-sections.txt:
27357         * docs/gst/gstreamer.types:
27358         * docs/gst/tmpl/gstfakesrc.sgml:
27359         * gst/base/README:
27360         * gst/base/gstbasesink.c:
27361         * gst/base/gstbasesink.h:
27362         * gst/base/gstbasesrc.c:
27363         * gst/base/gstbasesrc.h:
27364         * gst/base/gstbasetransform.c:
27365         * gst/base/gstpushsrc.c:
27366         * gst/base/gstpushsrc.h:
27367           add short/long description docs to base classes
27368           add pushsrc to the docs
27369           remove consolidated doc fragments
27370
27371 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27372
27373         * configure.ac:
27374         * docs/libs/Makefile.am:
27375         * docs/libs/gstreamer-libs-docs.sgml:
27376         * docs/libs/gstreamer-libs-sections.txt:
27377         * docs/libs/gstreamer-libs.types:
27378         * examples/Makefile.am:
27379         * examples/controller/.cvsignore:
27380         * examples/controller/Makefile.am:
27381         * examples/controller/audio-example.c: (main):
27382         * libs/gst/Makefile.am:
27383         * libs/gst/controller/.cvsignore:
27384         * libs/gst/controller/Makefile.am:
27385         * libs/gst/controller/gst-controller.c:
27386         (on_object_controlled_property_changed), (gst_timed_value_compare),
27387         (gst_timed_value_find),
27388         (gst_controlled_property_set_interpolation_mode),
27389         (gst_controlled_property_new), (gst_controlled_property_free),
27390         (gst_controller_find_controlled_property),
27391         (gst_controller_new_valist), (gst_controller_new),
27392         (gst_controller_remove_properties_valist),
27393         (gst_controller_remove_properties), (gst_controller_set),
27394         (gst_controller_set_from_list), (gst_controller_unset),
27395         (gst_controller_get), (gst_controller_get_all),
27396         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27397         (gst_controller_get_value_array),
27398         (gst_controller_set_interpolation_mode),
27399         (_gst_controller_finalize), (_gst_controller_init),
27400         (_gst_controller_class_init), (gst_controller_get_type):
27401         * libs/gst/controller/gst-controller.h:
27402         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27403         (g_object_uncontrol_properties), (g_object_get_controller),
27404         (g_object_set_controller), (g_object_sink_values),
27405         (g_object_get_value_arrays), (g_object_get_value_array):
27406         * libs/gst/controller/gst-interpolation.c:
27407         (gst_controlled_property_find_timed_value_node),
27408         (interpolate_none_get), (interpolate_trigger_get),
27409         (interpolate_trigger_get_value_array):
27410         * libs/gst/controller/lib.c: (gst_controller_init):
27411         * pkgconfig/Makefile.am:
27412         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27413         * pkgconfig/gstreamer-control.pc.in:
27414         * testsuite/Makefile.am:
27415         * testsuite/controller/.cvsignore:
27416         * testsuite/controller/Makefile.am:
27417         * testsuite/controller/interpolator.c: (main):
27418           added controller code
27419           removed dparam pc files
27420
27421 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27422         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27423         (gst_collectpads_stop):
27424           Broadcast the condition when shutting down, to make sure we wake all
27425           threads up. Shut down pads on finalize, for safety.
27426
27427 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27428         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27429         (gst_base_transform_handle_buffer),
27430         (gst_base_transform_change_state):
27431           Handle PAUSED->READY->PAUSED transition after negotiation
27432           occurred already.
27433         * gst/gstmessage.c: (gst_message_init):
27434           Extra piece of debug for new messages.
27435
27436 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27437
27438         * configure.ac:
27439         * docs/gst/tmpl/gstbasesrc.sgml:
27440         * docs/gst/tmpl/gstelement.sgml:
27441         * docs/gst/tmpl/gstevent.sgml:
27442         * docs/gst/tmpl/gstfakesrc.sgml:
27443         * docs/gst/tmpl/gstformat.sgml:
27444         * docs/gst/tmpl/gstghostpad.sgml:
27445         * docs/gst/tmpl/gstpad.sgml:
27446         * docs/gst/tmpl/gstquery.sgml:
27447         * docs/gst/tmpl/gststructure.sgml:
27448         * docs/gst/tmpl/gsttaglist.sgml:
27449         * docs/gst/tmpl/gstvalue.sgml:
27450         * docs/libs/gstreamer-libs-docs.sgml:
27451         * docs/libs/gstreamer-libs-sections.txt:
27452         * docs/libs/gstreamer-libs.types:
27453         * libs/gst/Makefile.am:
27454         * libs/gst/control/.cvsignore:
27455         * libs/gst/control/Makefile.am:
27456         * libs/gst/control/control.c:
27457         * libs/gst/control/control.h:
27458         * libs/gst/control/dparam.c:
27459         * libs/gst/control/dparam.h:
27460         * libs/gst/control/dparam_smooth.c:
27461         * libs/gst/control/dparam_smooth.h:
27462         * libs/gst/control/dparamcommon.h:
27463         * libs/gst/control/dparammanager.c:
27464         * libs/gst/control/dparammanager.h:
27465         * libs/gst/control/dplinearinterp.c:
27466         * libs/gst/control/dplinearinterp.h:
27467         * libs/gst/control/unitconvert.c:
27468         * libs/gst/control/unitconvert.h:
27469         * testsuite/Makefile.am:
27470         * testsuite/dynparams/.cvsignore:
27471         * testsuite/dynparams/Makefile.am:
27472         * testsuite/dynparams/dparamstest.c:
27473         * tools/Makefile.am:
27474         * tools/gst-inspect.c: (print_element_info), (main):
27475         * tools/gst-xmlinspect.c: (print_element_info), (main):
27476           deactivate and remove dparams (libgstcontrol)
27477
27478 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27479
27480         * gst/elements/gsttypefindelement.c:
27481         (gst_type_find_element_have_type), (gst_type_find_element_init),
27482         (stop_typefinding), (gst_type_find_element_handle_event),
27483         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27484         * gst/elements/gsttypefindelement.h:
27485           Set caps on all outgoing buffers, not just the first one.
27486
27487 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27488
27489         * gst/elements/gsttypefindelement.c:
27490         (gst_type_find_element_have_type),
27491         (gst_type_find_element_check_set_buffer_caps),
27492         (gst_type_find_element_init), (stop_typefinding),
27493         (gst_type_find_element_handle_event),
27494         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27495         * gst/elements/gsttypefindelement.h:
27496           Set caps on first outgoing buffer when we've found the type.
27497
27498 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27499
27500         * docs/gst/gstreamer-docs.sgml:
27501         * docs/gst/gstreamer-sections.txt:
27502         * docs/gst/tmpl/gstscheduler.sgml:
27503         * docs/gst/tmpl/gstschedulerfactory.sgml:
27504           Remove some old cruft from docs.
27505
27506 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27507
27508         * gst/gstpad.h:
27509           Fix inline docs for GstPadLinkReturn.
27510           
27511         * gst/gststructure.c: (gst_structure_has_name):
27512         * gst/gststructure.h:
27513         * docs/gst/gstreamer-sections.txt:
27514           New API: gst_structure_has_name().
27515
27516 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27517
27518         * configure.ac:
27519           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27520           and _LARGEFILE_SOURCE in config.h as required. Do not 
27521           export those flags in our .pc files any longer (#142209).
27522
27523           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27524
27525         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27526         (gst_file_sink_do_seek), (gst_file_sink_event),
27527         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27528           Redo seek/tell calls with large file support in mind; add some
27529           debugging messages; add log message that tells us when large
27530           file support is unavailable or not enabled for some reason.
27531
27532         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27533           Add log message that tells us when large file support 
27534           is unavailable or not enabled for some reason.
27535
27536 2005-07-29  Wim Taymans  <wim@fluendo.com>
27537
27538         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27539         Added test for removing an element with ghostpad from a bin.
27540         Fixed test as current implementation does the right thing.
27541
27542         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27543         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27544         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27545         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27546         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27547         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27548         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27549         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27550         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27551         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27552         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27553         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27554         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27555         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27556         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27557         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27558         * gst/gstghostpad.h:
27559         Clean up ghostpads, remove properties for internal stuff.
27560         Make threadsafe.
27561         Fix refcounting.
27562         Prepare for switching targets, not all use cases work yet.
27563
27564 2005-07-29  Wim Taymans  <wim@fluendo.com>
27565
27566         * docs/design/part-gstghostpad.txt:
27567         Small update.
27568
27569         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27570         (gst_bin_remove_func):
27571         Unlinking pads while holding the bin LOCK is not a good
27572         idea.
27573
27574         * gst/gstpad.c: (gst_pad_class_init),
27575         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27576         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27577         No prob setting template after creating the pad.
27578
27579 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27580
27581         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27582         (gst_bus_peek), (gst_bus_source_dispatch),
27583         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27584         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27585           gst_bus_poll may be called from other threads. Handle
27586           this nicely by not making poll_data disappear off the
27587           stack once gst_bus_poll returns.
27588           gst_bus_peek now increments the refcount on the returned
27589           message.
27590
27591 2005-07-29  Wim Taymans  <wim@fluendo.com>
27592
27593         * docs/design/part-gstghostpad.txt:
27594         Overview of current GhostPad datastructures and use
27595         cases for changing the target.
27596
27597 2005-07-28  Wim Taymans  <wim@fluendo.com>
27598
27599         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27600         Added checks for hierarchy consistency whan adding linked
27601         elements to bins.
27602
27603         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27604         Added check to test element scheduling without bin/pipeline.
27605
27606         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27607         First add elements to bin, then link.
27608         
27609         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27610         (gst_bin_remove_func):
27611         Unlink pads from elements added/removed from bin to maintain
27612         hierarchy consistency.
27613
27614 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27615
27616         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27617         (gst_base_transform_handle_buffer):
27618         * gst/base/gstbasetransform.h:
27619           Remove broken delay_configure (fixes renegotiation of software
27620           scaling pipelines); remove some leftover printf()s.
27621
27622 2005-07-28  Wim Taymans  <wim@fluendo.com>
27623
27624         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27625         Added some more tests for wrong hierarchy
27626
27627         * docs/design/part-overview.txt:
27628         Some updates.
27629
27630         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27631         Cleanups.
27632
27633         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27634         (gst_element_dispose):
27635         Some more cleanups.
27636
27637         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27638         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27639         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27640         (gst_pad_set_caps), (gst_pad_send_event):
27641         Check for correct hierarchy when linking pads. Moving to
27642         strict requirement for ghostpads when linking elements in
27643         different bins.
27644
27645         * gst/gstpad.h:
27646         Clean ups. Added WRONG_HIERARCHY return value.
27647
27648 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27649
27650         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27651           Better debug if no transform is possible.
27652
27653 2005-07-27  Wim Taymans  <wim@fluendo.com>
27654
27655         * docs/random/wtay/network-transp:
27656         Some old doc I had.
27657
27658 2005-07-27  Wim Taymans  <wim@fluendo.com>
27659
27660         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27661         (gst_dp_event_from_packet):
27662         Fix serialization of seek events.
27663
27664 2005-07-27  Wim Taymans  <wim@fluendo.com>
27665
27666         * check/gst-libs/gdp.c: (GST_START_TEST):
27667         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27668         Fix compilation and fix event serialization.
27669
27670 2005-07-27  Wim Taymans  <wim@fluendo.com>
27671
27672         * CHANGES-0.9:
27673         * docs/design/part-TODO.txt:
27674         * docs/design/part-events.txt:
27675         Some docs updates
27676
27677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27678         (gst_base_sink_event), (gst_base_sink_do_sync),
27679         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27680         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27681         (gst_base_src_do_seek), (gst_base_src_event_handler),
27682         (gst_base_src_loop):
27683         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27684         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27685         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27686         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27687         (gst_base_transform_set_passthrough),
27688         (gst_base_transform_is_passthrough):
27689         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27690         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27691         Event updates.
27692
27693         * gst/gstbuffer.h:
27694         Use faster casts.
27695
27696         * gst/gstelement.c: (gst_element_seek):
27697         * gst/gstelement.h:
27698         Update gst_element_seek.
27699
27700         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27701         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27702         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27703         (gst_event_new_eos), (gst_event_new_newsegment),
27704         (gst_event_parse_newsegment), (gst_event_new_tag),
27705         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27706         (gst_event_parse_qos), (gst_event_new_seek),
27707         (gst_event_parse_seek), (gst_event_new_navigation):
27708         * gst/gstevent.h:
27709         Make GstEvent use GstStructure. Add parsing code, make sure the
27710         API is sufficiently generic.
27711         Mark possible directions of events and serialization.
27712
27713         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27714         (_gst_message_copy), (gst_message_new_segment_start),
27715         (gst_message_new_segment_done), (gst_message_new_custom),
27716         (gst_message_parse_segment_start),
27717         (gst_message_parse_segment_done):
27718         Small cleanups.
27719
27720         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27721         (gst_pad_set_caps), (gst_pad_send_event):
27722         Update for new events. 
27723         Catch events sent in wrong directions.
27724
27725         * gst/gstqueue.c: (gst_queue_link_src),
27726         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27727         (gst_queue_handle_src_query):
27728         Event updates.
27729
27730         * gst/gsttag.c:
27731         * gst/gsttag.h:
27732         Remove event code from this file.
27733
27734         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27735         (gst_dp_event_from_packet):
27736         Event updates.
27737
27738 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27739
27740         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27741         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27742         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27743           Make debugging actually useful.
27744
27745 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27746
27747         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27748         (gst_pad_fixate_caps):
27749           Implement default fixation once again, so that gst_pad_fixate()
27750           actually does anything at all. This probably needs to be some
27751           sort of a last resort, and use profile-based fixation first, but
27752           since that doesn't exist yet, this is the best we have. Fixes
27753           visualization in Totem.
27754
27755 2005-07-22  Wim Taymans  <wim@fluendo.com>
27756
27757         * docs/design/part-events.txt:
27758         Small update.
27759
27760         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27761         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27762         (gst_base_sink_activate_pull):
27763         Some more comments.
27764
27765         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27766         (gst_fake_src_create):
27767         Fix handoff marshall.
27768
27769         * gst/elements/gstidentity.c: (gst_identity_class_init),
27770         (gst_identity_transform_ip):
27771         We're a real inplace element.
27772
27773         * gst/gstbus.c: (gst_bus_post):
27774         Added some comments.
27775
27776         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27777         * tests/muxing/case1.c: (main):
27778         * tests/sched/dynamic-pipeline.c: (main):
27779         * tests/sched/interrupt1.c: (main):
27780         * tests/sched/interrupt2.c: (main):
27781         * tests/sched/interrupt3.c: (main):
27782         * tests/sched/runxml.c: (main):
27783         * tests/sched/sched-stress.c: (main):
27784         * tests/seeking/seeking1.c: (event_received), (main):
27785         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27786         (main):
27787         * tests/threadstate/threadstate3.c: (main):
27788         * tests/threadstate/threadstate4.c: (main):
27789         * tests/threadstate/threadstate5.c: (main):
27790         Fix the tests.
27791
27792 2005-07-21  Wim Taymans  <wim@fluendo.com>
27793
27794         * docs/design/part-seeking.txt:
27795         Some small additions.
27796
27797         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27798         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27799         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27800         * gst/base/gstbasesink.h:
27801         discont values are gint64, handle the math correctly.
27802
27803         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27804         Make the basesrc report error if the source pad is not linked.
27805
27806         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27807         (gst_queue_loop), (gst_queue_handle_src_query),
27808         (gst_queue_src_activate_push):
27809         Make queue collect data even if the srcpad is not linked.
27810         Start pushing out data as soon as it is linked.
27811
27812         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27813         * gst/gstutils.h:
27814         Added gst_flow_get_name() to ease error reporting.
27815
27816 2005-07-20  Wim Taymans  <wim@fluendo.com>
27817
27818         * gst/gstmessage.c: (gst_message_new_segment_start),
27819         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27820         (gst_message_parse_segment_done):
27821         * gst/gstmessage.h:
27822         Added a bunch of messages for advanced seeking.
27823
27824         * gst/parse/grammar.y:
27825         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27826         (gst_dpman_state_changed):
27827         Fix some new-pad -> pad-added signals
27828
27829 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27830
27831         * docs/manual/appendix-porting.xml:
27832         * docs/pwg/appendix-porting.xml:
27833           Document new-pad/state-change signal renames and the FixedList
27834           type rename.
27835
27836 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27837
27838         * docs/manual/advanced-autoplugging.xml:
27839         * docs/manual/basics-helloworld.xml:
27840         * docs/manual/basics-pads.xml:
27841         * docs/random/ds/0.9-suggested-changes:
27842         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27843         * gst/gstelement.h:
27844         * gst/gstevent.h:
27845         * gst/gstformat.h:
27846         * gst/gstquery.h:
27847         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27848         (gst_structure_parse_array), (gst_structure_parse_value):
27849         * gst/gstvalue.c: (gst_type_is_fixed),
27850         (gst_value_list_prepend_value), (gst_value_list_append_value),
27851         (gst_value_list_get_size), (gst_value_list_get_value),
27852         (gst_value_transform_array_string), (gst_value_serialize_array),
27853         (gst_value_deserialize_array), (gst_value_intersect_array),
27854         (gst_value_is_fixed), (_gst_value_initialize):
27855         * gst/gstvalue.h:
27856           GstElement::new-pad -> pad-added, GstElement::state-change ->
27857           state-changed, GstValueFixedList -> GstValueArray, add format and
27858           flags as their own arguments in gst_element_seek() (should improve
27859           "bindeability"), remove function generators since they don't work
27860           under a whole bunch of compilers (they were deprecated already
27861           anyway).
27862
27863 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27864
27865         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27866         (_gst_debug_register_funcptr):
27867         * gst/gstinfo.h:
27868           Fix illegal cast on some platforms (#309253).
27869
27870 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27871
27872         * gst/gstmessage.c: (gst_message_new_custom):
27873         * gst/gstmessage.h:
27874           Add _new_custom, make _new_application a macro to _new_custom.
27875
27876 2005-07-20  Wim Taymans  <wim@fluendo.com>
27877
27878         * gst/base/gstbasesrc.c: (gst_base_src_init),
27879         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27880         * gst/base/gstbasesrc.h:
27881         Add a gboolean to decide when to push out a discont.
27882
27883         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27884         (gst_queue_loop), (gst_queue_handle_src_query),
27885         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27886         (gst_queue_set_property), (gst_queue_get_property):
27887         Some cleanups.
27888
27889         * tests/threadstate/threadstate1.c: (main):
27890         Make a thread test compile and run... very silly..
27891
27892
27893 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27894
27895         * docs/manual/appendix-porting.xml:
27896           Mention removal of libgstgconf-0.9.la and existence of gconf
27897           elements.
27898
27899 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27900
27901         * docs/pwg/advanced-clock.xml:
27902         * docs/pwg/appendix-porting.xml:
27903         * docs/pwg/intro-preface.xml:
27904         * docs/pwg/other-base.xml:
27905         * docs/pwg/other-manager.xml:
27906         * docs/pwg/other-nton.xml:
27907         * docs/pwg/other-ntoone.xml:
27908         * docs/pwg/other-oneton.xml:
27909         * docs/pwg/pwg.xml:
27910           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27911           demuxer), remove n-to-n (was never written), fix some code examples
27912           and links and update the porting section to include all this.
27913
27914 2005-07-19  Wim Taymans  <wim@fluendo.com>
27915
27916         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27917         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27918         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27919         (gst_queue_src_activate_push), (gst_queue_change_state),
27920         (gst_queue_get_property):
27921         * gst/gstqueue.h:
27922         Propagate GstFlowReturn more intelligently upstream and output
27923         an ERROR/EOS when streaming stopped due to fatal error.
27924
27925 2005-07-19  Wim Taymans  <wim@fluendo.com>
27926
27927         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27928         Don't block forever for the state change to complete, the
27929         pipeline already did with a sensible timeout.
27930
27931 2005-07-19  Wim Taymans  <wim@fluendo.com>
27932
27933         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27934         Make sure we never call the create function is we
27935         got deactivated.
27936
27937 2005-07-19  Andy Wingo  <wingo@pobox.com>
27938
27939         * gst/parse/parse.l: Attempt to solve bug #172815.
27940
27941 2005-07-19  Wim Taymans  <wim@fluendo.com>
27942
27943         * docs/design/part-clocks.txt:
27944         * docs/design/part-events.txt:
27945         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27946         Small docs updates.
27947         Only update the seeking values when we are not
27948         busy streaming.
27949
27950 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27951
27952         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27953           Oops, ignore the result of gst_pad_push_event here.
27954
27955 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27956
27957         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27958         (gst_base_src_activate_push):
27959           Send discont event from the loop function, as pads
27960           aren't activated yet in the activate_push handler.
27961
27962         * gst/gstbin.c: (bin_bus_handler):
27963           Don't leak element name.
27964
27965 2005-07-18  Andy Wingo  <wingo@pobox.com>
27966
27967         * configure.ac: Use AS_LIBTOOL_TAGS.
27968
27969 2005-07-18  Wim Taymans  <wim@fluendo.com>
27970
27971         * docs/gst/gstreamer.types:
27972         Remove deleted types.
27973
27974 2005-07-18  Wim Taymans  <wim@fluendo.com>
27975
27976         * check/elements/gstfakesrc.c: (GST_START_TEST):
27977         * configure.ac:
27978         * gst/Makefile.am:
27979         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27980         (init_popt_callback):
27981         * gst/gst.h:
27982         * gst/gst_private.h:
27983         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27984         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27985         * gst/gstbin.h:
27986         * gst/gstbus.h:
27987         * gst/gstconfig.h.in:
27988         * gst/gstelement.c: (gst_element_class_init),
27989         (gst_element_set_base_time), (gst_element_get_base_time),
27990         (iterator_fold_with_resync), (gst_element_change_state),
27991         (gst_element_dispose), (gst_element_get_bus):
27992         * gst/gstelement.h:
27993         * gst/gstelementfactory.h:
27994         * gst/gsterror.c: (_gst_core_errors_init):
27995         * gst/gsterror.h:
27996         * gst/gstevent.h:
27997         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27998         * gst/gstindex.c:
27999         * gst/gstinfo.c: (_gst_debug_init):
28000         * gst/gstmessage.c: (_gst_message_copy):
28001         * gst/gstmessage.h:
28002         * gst/gstminiobject.h:
28003         * gst/gstobject.c:
28004         * gst/gstobject.h:
28005         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28006         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28007         * gst/gstpad.h:
28008         * gst/gstparse.h:
28009         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28010         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28011         (gst_pipeline_get_last_stream_time):
28012         * gst/gstpipeline.h:
28013         * gst/gstpluginfeature.h:
28014         * gst/gstquery.h:
28015         * gst/gstscheduler.c:
28016         * gst/gstscheduler.h:
28017         * gst/gststructure.h:
28018         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28019         (gst_task_finalize), (gst_task_func), (gst_task_create),
28020         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28021         (gst_task_stop), (gst_task_pause):
28022         * gst/gsttask.h:
28023         * gst/gsttypefind.h:
28024         * gst/gsttypes.h:
28025         * gst/registries/gstlibxmlregistry.c: (load_feature),
28026         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28027         * gst/registries/gstxmlregistry.c:
28028         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28029         * gst/schedulers/threadscheduler.c:
28030         * libs/gst/control/dparammanager.h:
28031         * tools/gst-inspect.c: (print_element_list),
28032         (print_plugin_features), (print_element_features):
28033         * tools/gst-xmlinspect.c: (print_element_list),
28034         (print_plugin_info), (main):
28035         Removed plugable schedulers.
28036         Removed Scheduler/Manager from elements.
28037         Removed gsttypes.h, rearranged includes.
28038         Removed dependency pad<->element, element<>pipeline, and
28039         various others,  fix includes.
28040         implement gst_pad_get_parent() with gst_object_get_parent()
28041         Make GstTask sefcontained.
28042         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28043         timeout.
28044         Fix endless loop in iterator_fold_with_resync.
28045
28046
28047 2005-07-18  Wim Taymans  <wim@fluendo.com>
28048
28049         * gst/Makefile.am:
28050         * gst/gstarch.h:
28051         Remove old file.
28052
28053 2005-07-18  Wim Taymans  <wim@fluendo.com>
28054
28055         * gst/Makefile.am:
28056         No more cothreads.h
28057
28058 2005-07-18  Wim Taymans  <wim@fluendo.com>
28059
28060         * gst/cothreads.c:
28061         * gst/cothreads.h:
28062         Let's remove these.
28063
28064 2005-07-18  Wim Taymans  <wim@fluendo.com>
28065
28066         * docs/design/part-dynamic.txt:
28067         * docs/design/part-events.txt:
28068         * docs/design/part-seeking.txt:
28069         Some more docs in the works.
28070
28071         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28072         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28073         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28074         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28075         (gst_base_transform_handle_buffer),
28076         (gst_base_transform_sink_activate_push),
28077         (gst_base_transform_src_activate_pull),
28078         (gst_base_transform_set_passthrough),
28079         (gst_base_transform_is_passthrough):
28080         Refcounting fixes.
28081
28082         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28083         Cleanups.
28084
28085         * gst/gstevent.c: (gst_event_finalize):
28086         Set SRC to NULL.
28087
28088         * gst/gstutils.c: (gst_element_unlink),
28089         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28090         (gst_pad_proxy_setcaps):
28091         * gst/gstutils.h:
28092         Add _get_parent_element() to get a pads parent as an element.
28093
28094 2005-07-18  Wim Taymans  <wim@fluendo.com>
28095
28096         * check/gst/gstbin.c: (GST_START_TEST):
28097         Remove bogus test.
28098
28099 2005-07-18  Wim Taymans  <wim@fluendo.com>
28100
28101         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28102         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28103         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28104         (gst_base_sink_event), (gst_base_sink_do_sync),
28105         (gst_base_sink_chain), (gst_base_sink_loop),
28106         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28107         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28108         Refcounting fixes.
28109         Fix logic for returning ASYNC when not prerolled.
28110
28111 2005-07-18  Wim Taymans  <wim@fluendo.com>
28112
28113         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28114         Fix nasty refcount bug.
28115
28116 2005-07-16 Philippe Khalaf <burger@speedy.org>
28117
28118         * gst/elements/gstfdsrc.c:
28119         * gst/elements/gstfdsrc.h:
28120         * gst/elements/gstelements.c:
28121         * gst/elements/Makefile.am:
28122         Ported fdsrc to 0.9.
28123
28124 2005-07-16  Wim Taymans  <wim@fluendo.com>
28125
28126         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28127         (gst_base_sink_do_sync):
28128         Fix compile error.
28129
28130 2005-07-16  Wim Taymans  <wim@fluendo.com>
28131
28132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28133         (gst_base_sink_event), (gst_base_sink_get_times),
28134         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28135         * gst/base/gstbasesink.h:
28136         Store and use discont values when syncing buffers as described
28137         in design docs.
28138         
28139         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28140         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28141         (gst_base_src_activate_push):
28142         Push discont event when starting.
28143
28144         * gst/elements/gstidentity.c: (gst_identity_transform):
28145         Small cleanups.
28146
28147         * gst/gstbin.c: (gst_bin_change_state):
28148         Small cleanups in base_time  distribution.
28149
28150         * gst/gstelement.c: (gst_element_set_base_time),
28151         (gst_element_get_base_time), (gst_element_change_state):
28152         * gst/gstelement.h:
28153         Added methods for the base_time of the element.
28154         Some MT fixes.
28155
28156         * gst/gstpipeline.c: (gst_pipeline_send_event),
28157         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28158         (gst_pipeline_get_last_stream_time):
28159         * gst/gstpipeline.h:
28160         MT fixes.
28161         Handle seeking as described in design doc, remove stream_time
28162         hack.
28163         Cleanups clock and stream_time selection code. Added accessors
28164         for the stream_time.
28165         
28166
28167 2005-07-16  Andy Wingo  <wingo@pobox.com>
28168
28169         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28170         (#305291).
28171
28172 2005-07-16  Wim Taymans  <wim@fluendo.com>
28173
28174         * check/gst/gstbin.c: (GST_START_TEST):
28175         Make elements silent as the deep_notify refs the
28176         parent, which might make the test fail.
28177
28178         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28179         Don't hold the lock for too long.
28180
28181 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28182
28183         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28184           Don't unref the caps we passed to gst_caps_make_writable() after
28185           passing them. gst_caps_make_writable() will do that for us.
28186
28187 2005-07-15  Andy Wingo  <wingo@pobox.com>
28188
28189         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28190         (#157311).
28191
28192         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28193         own marshalling function for the handoff signal. Properly type the
28194         buffer as a buffer. Fixes some warnings. Should do a more general
28195         solution.
28196         (gst_identity_class_init): Plug into the right marshaller.
28197
28198 2005-07-15  Wim Taymans  <wim@fluendo.com>
28199
28200         * docs/design/part-TODO.txt:
28201         * docs/design/part-clocks.txt:
28202         * docs/design/part-element-sink.txt:
28203         * docs/design/part-events.txt:
28204         * docs/design/part-gstpipeline.txt:
28205         Updated docs, mostly DISCONT related.
28206
28207 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28208
28209         * docs/pwg/building-pads.xml:
28210           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28211
28212 2005-07-15  Andy Wingo  <wingo@pobox.com>
28213
28214         * tools/gst-typefind.c: Update, add copyright block.
28215
28216         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28217         Normalize and truncate caps before fixation.
28218
28219         * gst/gstcaps.h:
28220         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28221         discards all but the first structure from its argument.
28222
28223 2005-07-15  Wim Taymans  <wim@fluendo.com>
28224
28225         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28226         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28227         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28228         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28229         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28230         (gst_base_transform_chain), (gst_base_transform_change_state),
28231         (gst_base_transform_set_passthrough),
28232         (gst_base_transform_is_passthrough):
28233         * gst/base/gstbasetransform.h:
28234         Make passthrough work using the bufferpools.
28235         Changed API a bit, subclasses have to write into a buffer
28236         provided by the base class.
28237         More debug info in nego functions.
28238         
28239         * gst/elements/gstidentity.c: (gst_identity_init),
28240         (gst_identity_transform):
28241         Port to new base class.
28242
28243 2005-07-15  Wim Taymans  <wim@fluendo.com>
28244
28245         * gst/gstmessage.c: (gst_message_new_state_changed):
28246         * tools/gst-launch.c: (event_loop), (main):
28247         Totally dump messages in -launch with the -m option.
28248         Fix message name for State messages,
28249
28250 2005-07-14  Wim Taymans  <wim@fluendo.com>
28251
28252         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28253         Post error messages on errors.
28254
28255 2005-07-14  Wim Taymans  <wim@fluendo.com>
28256
28257         * gst/gstcaps.c: (gst_caps_do_simplify):
28258         Remove debug info.
28259
28260         * gst/gsterror.h:
28261         Define error for stream stopped.
28262
28263         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28264         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28265         Do proper return values.
28266
28267         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28268         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28269         (gst_pad_get_range):
28270         Better return values.
28271
28272         * gst/gstpad.h:
28273         Reorganise return values, add macro to check for fatal errors.
28274
28275         * gst/gstqueue.c: (gst_queue_chain):
28276         Return proper GstFlowReturn values,
28277
28278 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28279
28280         * docs/gst/gstreamer-sections.txt:
28281         * docs/gst/gstreamer.types:
28282         * docs/gst/tmpl/gst.sgml:
28283         * docs/gst/tmpl/gstbasesink.sgml:
28284         * docs/gst/tmpl/gstbasesrc.sgml:
28285         * docs/gst/tmpl/gstbasetransform.sgml:
28286         * docs/gst/tmpl/gstbin.sgml:
28287         * docs/gst/tmpl/gstbuffer.sgml:
28288         * docs/gst/tmpl/gstcaps.sgml:
28289         * docs/gst/tmpl/gstclock.sgml:
28290         * docs/gst/tmpl/gstcompat.sgml:
28291         * docs/gst/tmpl/gstconfig.sgml:
28292         * docs/gst/tmpl/gstelement.sgml:
28293         * docs/gst/tmpl/gstelementdetails.sgml:
28294         * docs/gst/tmpl/gstelementfactory.sgml:
28295         * docs/gst/tmpl/gstenumtypes.sgml:
28296         * docs/gst/tmpl/gsterror.sgml:
28297         * docs/gst/tmpl/gstevent.sgml:
28298         * docs/gst/tmpl/gstfakesink.sgml:
28299         * docs/gst/tmpl/gstfakesrc.sgml:
28300         * docs/gst/tmpl/gstfilesink.sgml:
28301         * docs/gst/tmpl/gstfilesrc.sgml:
28302         * docs/gst/tmpl/gstfilter.sgml:
28303         * docs/gst/tmpl/gstformat.sgml:
28304         * docs/gst/tmpl/gstghostpad.sgml:
28305         * docs/gst/tmpl/gstimplementsinterface.sgml:
28306         * docs/gst/tmpl/gstindex.sgml:
28307         * docs/gst/tmpl/gstindexfactory.sgml:
28308         * docs/gst/tmpl/gstinfo.sgml:
28309         * docs/gst/tmpl/gstiterator.sgml:
28310         * docs/gst/tmpl/gstmacros.sgml:
28311         * docs/gst/tmpl/gstmemchunk.sgml:
28312         * docs/gst/tmpl/gstminiobject.sgml:
28313         * docs/gst/tmpl/gstobject.sgml:
28314         * docs/gst/tmpl/gstpad.sgml:
28315         * docs/gst/tmpl/gstpadtemplate.sgml:
28316         * docs/gst/tmpl/gstparse.sgml:
28317         * docs/gst/tmpl/gstpipeline.sgml:
28318         * docs/gst/tmpl/gstplugin.sgml:
28319         * docs/gst/tmpl/gstpluginfeature.sgml:
28320         * docs/gst/tmpl/gstquery.sgml:
28321         * docs/gst/tmpl/gstqueue.sgml:
28322         * docs/gst/tmpl/gstregistry.sgml:
28323         * docs/gst/tmpl/gstregistrypool.sgml:
28324         * docs/gst/tmpl/gstscheduler.sgml:
28325         * docs/gst/tmpl/gstschedulerfactory.sgml:
28326         * docs/gst/tmpl/gststructure.sgml:
28327         * docs/gst/tmpl/gstsystemclock.sgml:
28328         * docs/gst/tmpl/gsttaglist.sgml:
28329         * docs/gst/tmpl/gsttagsetter.sgml:
28330         * docs/gst/tmpl/gsttrace.sgml:
28331         * docs/gst/tmpl/gsttrashstack.sgml:
28332         * docs/gst/tmpl/gsttypefind.sgml:
28333         * docs/gst/tmpl/gsttypefindfactory.sgml:
28334         * docs/gst/tmpl/gsttypes.sgml:
28335         * docs/gst/tmpl/gsturihandler.sgml:
28336         * docs/gst/tmpl/gsturitype.sgml:
28337         * docs/gst/tmpl/gstutils.sgml:
28338         * docs/gst/tmpl/gstvalue.sgml:
28339         * docs/gst/tmpl/gstversion.sgml:
28340         * docs/gst/tmpl/gstxml.sgml:
28341         * docs/libs/tmpl/gstcontrol.sgml:
28342         * docs/libs/tmpl/gstdataprotocol.sgml:
28343         * docs/libs/tmpl/gstdparam.sgml:
28344         * docs/libs/tmpl/gstdplinint.sgml:
28345         * docs/libs/tmpl/gstdpman.sgml:
28346         * docs/libs/tmpl/gstdpsmooth.sgml:
28347         * docs/libs/tmpl/gstgetbits.sgml:
28348         * docs/libs/tmpl/gstunitconvert.sgml:
28349         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28350         (gst_push_src_base_init), (gst_push_src_class_init),
28351         (gst_push_src_init), (gst_push_src_create):
28352         * gst/base/gstpushsrc.h:
28353         * gst/elements/gstelements.c:
28354         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28355         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28356         (gst_fake_sink_init), (gst_fake_sink_set_property),
28357         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28358         (gst_fake_sink_event), (gst_fake_sink_preroll),
28359         (gst_fake_sink_render), (gst_fake_sink_change_state):
28360         * gst/elements/gstfakesink.h:
28361         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28362         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28363         (gst_fake_src_base_init), (gst_fake_src_class_init),
28364         (gst_fake_src_init), (gst_fake_src_event_handler),
28365         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28366         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28367         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28368         (gst_fake_src_create_buffer), (gst_fake_src_create),
28369         (gst_fake_src_start), (gst_fake_src_stop):
28370         * gst/elements/gstfakesrc.h:
28371         * gst/elements/gstfilesink.c: (_do_init),
28372         (gst_file_sink_base_init), (gst_file_sink_class_init),
28373         (gst_file_sink_init), (gst_file_sink_dispose),
28374         (gst_file_sink_set_location), (gst_file_sink_set_property),
28375         (gst_file_sink_get_property), (gst_file_sink_open_file),
28376         (gst_file_sink_close_file), (gst_file_sink_query),
28377         (gst_file_sink_event), (gst_file_sink_render),
28378         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28379         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28380         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28381         * gst/elements/gstfilesink.h:
28382         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28383         (gst_file_src_class_init), (gst_file_src_init),
28384         (gst_file_src_finalize), (gst_file_src_set_location),
28385         (gst_file_src_set_property), (gst_file_src_get_property),
28386         (gst_file_src_map_region), (gst_file_src_map_small_region),
28387         (gst_file_src_create_mmap), (gst_file_src_create_read),
28388         (gst_file_src_create), (gst_file_src_is_seekable),
28389         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28390         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28391         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28392         (gst_file_src_uri_handler_init):
28393         * gst/elements/gstfilesrc.h:
28394           more autistic cleanliness in functions/names/defines
28395
28396 2005-07-13  Andy Wingo  <wingo@pobox.com>
28397
28398         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28399         source couldn't negotiate.
28400
28401         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28402         connections again.
28403
28404         * gst/gstutils.h:
28405         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28406         function. I am channeling Hades. Put your boots on suckers!!!
28407
28408 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28409
28410         * testsuite/caps/Makefile.am:
28411         * testsuite/caps/value_compare.c:
28412         * testsuite/caps/value_intersect.c:
28413         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28414           move two testsuite apps over to the check dir
28415
28416 2005-07-12  Wim Taymans  <wim@fluendo.com>
28417
28418         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28419         Added more debug info in the negotiate process.
28420
28421         * gst/gstmessage.h:
28422         Prepare for segment playback.
28423
28424         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28425         Better debugging.
28426
28427         * gst/gstutils.c:
28428         Some more docs.
28429
28430         * tools/gst-launch.c: (main):
28431         NULL pipeline on errors.
28432
28433 2005-07-12  Andy Wingo  <wingo@pobox.com>
28434
28435         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28436         not it comes from a malloc region. Make sure our copy gets freed.
28437
28438 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28439
28440         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28441         * check/gst/gstmessage.c: (GST_START_TEST):
28442         * check/gst/gststructure.c: (GST_START_TEST),
28443         (gst_structure_suite), (main):
28444           more testing
28445         * gst/gstelement.c: (gst_element_message_full):
28446           clean up GError and debug string now that they get copied
28447         * gst/gstmessage.c: (gst_message_new_error),
28448         (gst_message_new_warning), (gst_message_parse_error),
28449         (gst_message_parse_warning):
28450           use GST_TYPE_G_ERROR for structure_new, and take copies of
28451           arguments, so that we don't mess up refcounting
28452
28453 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28454
28455         * check/Makefile.am:
28456           add per-test valgrind targets
28457         * check/gst-libs/gdp.c: (GST_START_TEST),
28458         (gst_data_protocol_suite), (main):
28459           clean up
28460
28461 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28462
28463         * check/Makefile.am:
28464           instate more valgrindable tests
28465         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28466         (GST_START_TEST), (fakesrc_suite):
28467         * check/gst/gstpad.c: (GST_START_TEST):
28468         * check/gst/gststructure.c: (GST_START_TEST):
28469           fix test leaks
28470         * docs/gst/tmpl/gstminiobject.sgml:
28471         * gst/gstpad.c: (gst_pad_finalize):
28472           fix the static mutex leak
28473
28474 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28475
28476         * check/Makefile.am:
28477           add two more tests for valgrinding
28478         * check/gst/gstvalue.c: (GST_START_TEST):
28479           test refcount of deserialized buffer, found a leak
28480         * docs/gst/gstreamer-docs.sgml:
28481         * docs/gst/gstreamer-sections.txt:
28482         * docs/gst/gstreamer.types:
28483         * docs/gst/tmpl/gstminiobject.sgml:
28484           add miniobject to docs
28485         * gst/gstminiobject.c:
28486           add some docs
28487         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28488         (gst_string_unwrap):
28489           fix a hard-to-find invalid write for one of the tests
28490           fix a leak for deserialized buffers
28491
28492 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28493
28494         * docs/pwg/advanced-events.xml:
28495         * docs/pwg/advanced-request.xml:
28496         * docs/pwg/advanced-scheduling.xml:
28497         * docs/pwg/appendix-porting.xml:
28498         * docs/pwg/building-boiler.xml:
28499         * docs/pwg/intro-preface.xml:
28500         * docs/pwg/other-ntoone.xml:
28501           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28502           of example code and explanation for pad activation, loop() and
28503           getrange() functions and a bit more. Remove old comments pointing
28504           to loop-functions.
28505         * examples/pwg/Makefile.am:
28506           Add loop/getrange examples.
28507
28508 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28509
28510         * configure.ac:
28511           check for valgrind binary + some fixes
28512         * check/gst.supp:
28513           valgrind suppressions for the tests
28514         * check/Makefile.am:
28515           add a valgrind: target that valgrinds the unit tests
28516         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28517         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28518         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28519         * check/gst/gstghostpad.c:
28520           added some cleanup
28521         * check/gst/gstdata.c:
28522           removed
28523         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28524         (thread_unref), (gst_mini_object_suite), (main):
28525           added
28526         * gst/gst.c: (gst_deinit):
28527         * gst/gst.h:
28528           add a method to clean up.
28529         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28530         (gst_system_clock_obtain):
28531           allow for disposing the system clock.
28532         * tools/gst-launch.c: (main):
28533           deinit
28534
28535 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28536
28537         * docs/gst/tmpl/gstbasesrc.sgml:
28538         * docs/gst/tmpl/gstfakesrc.sgml:
28539         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28540         (gst_base_src_init), (gst_base_src_set_property),
28541         (gst_base_src_get_property), (gst_base_src_get_range),
28542         (gst_base_src_start):
28543         * gst/base/gstbasesrc.h:
28544           add num-buffers property
28545         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28546         (gst_fakesrc_init), (gst_fakesrc_set_property),
28547         (gst_fakesrc_get_property), (gst_fakesrc_create),
28548         (gst_fakesrc_start):
28549           remove num-buffers property
28550
28551 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28552
28553         * docs/gst/gstreamer-sections.txt:
28554         * docs/gst/tmpl/gstbasesink.sgml:
28555         * docs/gst/tmpl/gstbasesrc.sgml:
28556         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28557         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28558         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28559         (gst_base_sink_set_property), (gst_base_sink_get_property),
28560         (gst_base_sink_handle_object), (gst_base_sink_event),
28561         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28562         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28563         (gst_base_sink_loop), (gst_base_sink_deactivate),
28564         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28565         (gst_base_sink_change_state):
28566         * gst/base/gstbasesink.h:
28567         * gst/base/gstbasesrc.h:
28568         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28569         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28570         (gst_filesink_init):
28571           more macro splitting
28572
28573 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28574
28575         * gst/gstelement.c: (gst_element_get_bus):
28576           add debug
28577         * tools/gst-launch.c: (check_intr), (event_loop):
28578           fix bus leaks
28579
28580 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28581
28582         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28583           fix a caps leak
28584
28585 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28588         (gst_base_src_finalize):
28589           add finalize method and clean up properly
28590         * gst/gstpipeline.c: (gst_pipeline_dispose):
28591           add debug
28592
28593 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28594
28595         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28596         (gst_bin_suite):
28597           add more things to check
28598         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28599         * gst/gstelement.c:
28600           more debug
28601
28602 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28603
28604         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28605         (GST_START_TEST), (fakesrc_suite):
28606         * check/gst-libs/gdp.c: (GST_START_TEST):
28607         * check/gst/gst.c: (GST_START_TEST):
28608         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28609         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28610         * check/gst/gstbus.c: (GST_START_TEST):
28611         * check/gst/gstcaps.c: (GST_START_TEST):
28612         * check/gst/gstdata.c: (GST_START_TEST):
28613         * check/gst/gstelement.c: (GST_START_TEST):
28614         * check/gst/gstghostpad.c: (GST_START_TEST):
28615         * check/gst/gstiterator.c: (GST_START_TEST):
28616         * check/gst/gstmessage.c: (GST_START_TEST):
28617         * check/gst/gstobject.c: (GST_START_TEST):
28618         * check/gst/gstpad.c: (GST_START_TEST):
28619         * check/gst/gststructure.c: (GST_START_TEST):
28620         * check/gst/gstsystemclock.c: (GST_START_TEST),
28621         (gst_systemclock_suite):
28622         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28623         * check/gst/gstvalue.c: (GST_START_TEST):
28624         * check/pipelines/cleanup.c: (GST_START_TEST):
28625         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28626         * check/states/sinks.c: (GST_START_TEST):
28627         * check/gstcheck.c: (gst_check_init):
28628         * check/gstcheck.h:
28629           add debugging category
28630           use GST_START_TEST now, so we add a debug line
28631
28632 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28633
28634         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28635           add test for state change message on a bin
28636         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28637           add another test
28638         * gst/gstbin.c: (gst_bin_init):
28639         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28640         * gst/gstelement.c: (gst_element_post_message),
28641         (gst_element_set_state):
28642         * gst/gstelementfactory.c: (gst_element_factory_create):
28643         * gst/gstmessage.c: (gst_message_new):
28644         * gst/gstscheduler.c:
28645           various debugging additions and cleanups
28646
28647 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28648
28649         * check/Makefile.am:
28650         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28651         (main):
28652           adding tests for elements
28653         * gst/gstelement.c: (gst_element_dispose):
28654
28655 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28656
28657         * gst/registries/gstlibxmlregistry.c: (load_feature):
28658           plug more leaks.  A simple gst_init() now is leakfree, yay.
28659
28660 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28661
28662         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28663         (gst_xml_registry_load):
28664           plug another memleak
28665
28666 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28667
28668         * configure.ac:
28669           use GST_SET_ERROR_CFLAGS
28670         * docs/faq/cvs.xml:
28671           change to ERROR_CFLAGS
28672
28673 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28674
28675         * configure.ac:
28676           make GST_ERROR_CFLAGS overridable and re-enable Werror
28677         * docs/faq/cvs.xml:
28678           add a note about error CFLAGS
28679         * docs/gst/tmpl/gstfakesrc.sgml:
28680         * gst/elements/gstfakesrc.c:
28681           comment out some unused code
28682         * gst/gst.c: (split_and_iterate):
28683         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28684         (load_feature):
28685           plug some memleaks
28686
28687 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28688
28689         * common/Makefile.am:
28690         * common/gtk-doc.mak:
28691         * docs/gst/Makefile.am:
28692           factor out gtk-doc.mak
28693
28694 2005-07-07  Wim Taymans  <wim@fluendo.com>
28695
28696         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28697         (gst_thread_scheduler_dispose):
28698         Unlock the STREAM_LOCK completely.
28699
28700 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28701
28702         * check/Makefile.am:
28703         * check/elements/.cvsignore:
28704         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28705         (START_TEST), (fakesrc_suite), (main):
28706         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28707         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28708         (gst_fakesrc_create), (gst_fakesrc_start):
28709         * gst/elements/gstfakesrc.h:
28710           adding a first element test
28711
28712 2005-07-07  Andy Wingo  <wingo@pobox.com>
28713
28714         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28715         debug message.
28716
28717 2005-07-07  Wim Taymans  <wim@fluendo.com>
28718
28719         * gst/gstquery.c:
28720         * gst/gstquery.h:
28721         Remove old types
28722
28723 2005-07-07  Wim Taymans  <wim@fluendo.com>
28724
28725         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28726         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28727         Allow subclasses to implement their own negotiation.
28728
28729 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28730
28731         * docs/design/part-gstbin.txt:
28732         * docs/design/part-gstpipeline.txt:
28733           Update design notes to reflect the movement of
28734           responsibility for bus handling from GstPipeline to
28735           GstBin
28736
28737 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28738
28739         * configure.ac:
28740           Remove unnecessary queue2/3/4 examples.
28741
28742 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28743
28744         * examples/Makefile.am:
28745         * examples/helloworld/helloworld.c: (event_loop), (main):
28746         * examples/queue/queue.c: (event_loop), (main):
28747         * examples/queue2/queue2.c: (main):
28748           Update a couple of the examples to work again.
28749
28750         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28751         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28752          Spelling corrections and extra debug.
28753         
28754         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28755         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28756         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28757         * gst/gstbin.h:
28758         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28759         (gst_pipeline_change_state):
28760         * gst/gstpipeline.h:
28761           Move the bus handler for children to the GstBin, and create a
28762           separate bus for receiving messages from children to the one the
28763           bus sends 'upwards' on.
28764
28765 2005-07-06  Wim Taymans  <wim@fluendo.com>
28766
28767         * gst/base/README:
28768         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28769         (gst_base_sink_handle_object), (gst_base_sink_loop),
28770         (gst_base_sink_change_state):
28771         * gst/base/gstbasesink.h:
28772         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28773         (gst_base_src_init), (gst_base_src_setcaps),
28774         (gst_base_src_getcaps), (gst_base_src_loop),
28775         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28776         (gst_base_src_start), (gst_base_src_change_state):
28777         * gst/base/gstbasesrc.h:
28778         Make basesrc negotiate.
28779         Handle the case where preroll fails in basesink.
28780         Update README.
28781
28782 2005-07-06  Wim Taymans  <wim@fluendo.com>
28783
28784         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28785         Implement the fixate function.
28786         Clean up acceptcaps.
28787
28788 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28789
28790         * docs/pwg/building-filterfactory.xml:
28791         * docs/pwg/pwg.xml:
28792           Remove never-written filter-factory chapter; I'll add the various
28793           base classes to part 4 ("other element types") later on.
28794
28795 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28796
28797         * docs/pwg/advanced-negotiation.xml:
28798         * docs/pwg/building-boiler.xml:
28799         * docs/pwg/building-pads.xml:
28800         * docs/pwg/pwg.xml:
28801         * examples/pwg/Makefile.am:
28802           Add a chapter on caps negotiation, simplify the original code
28803           samples a bit w.r.t. caps negotiation, add link to the advanced
28804           section. Add a bunch of examples showing different use cases of
28805           different types of caps negotiation. Upstream renegotiation isn't
28806           fully documented yet since nobody knows how that works.
28807
28808 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28809
28810         * check/gst/gstpad.c:
28811         * check/gstcheck.c:
28812         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28813           if pad has no parent, return NULL as list of internal links
28814
28815 2005-07-05  Andy Wingo  <wingo@pobox.com>
28816
28817         * gst/elements/gstfilesrc.c:
28818         * gst/elements/gstfakesrc.c: 
28819         * gst/base/gstpushsrc.c:
28820         * gst/base/gstbasesrc.h: 
28821         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28822         
28823 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28824
28825         * Makefile.am:
28826           better report generation target (lcov needs a patch)
28827
28828 2005-07-05  Andy Wingo  <wingo@pobox.com>
28829
28830         * gst/elements, testsuite: Null if we got it...
28831
28832 2005-07-05  Wim Taymans  <wim@fluendo.com>
28833
28834         * configure.ac:
28835         * libs/gst/dataprotocol/Makefile.am:
28836         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28837         * libs/gst/dataprotocol/dataprotocol.h:
28838         * pkgconfig/Makefile.am:
28839         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28840         * pkgconfig/gstreamer-dataprotocol.pc.in:
28841         Ported dataprotol to 0.9. 
28842         Added pkgconfig files.
28843
28844 2005-07-05  Andy Wingo  <wingo@pobox.com>
28845
28846         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28847         Default to returning TRUE for the case when tranform_caps returns
28848         a fixed caps, like for identity or volume.
28849
28850         * check/gst/gstbus.c (pound_bus_with_messages): 
28851         * check/gst/gstmessage.c (START_TEST): 
28852         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28853         message API change.
28854
28855         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28856         logic weaks here: always run transform_caps, trying passthrough
28857         operation only if the original caps intersects with the transform.
28858
28859         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28860         source and sink caps.
28861
28862         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28863         Intersect the peer caps with the pad template before going into
28864         transform_caps.
28865         (gst_base_transform_transform_caps): More debugging.
28866
28867         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28868         src argument.
28869
28870 2005-07-04  Edward Hervey  <edward@fluendo.com>
28871
28872         * gst/gstutils.c:
28873         * gst/gstutils.h:
28874         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28875         in bindings.
28876
28877 2005-07-04  Andy Wingo  <wingo@pobox.com>
28878
28879         * check/gst/gstpad.c: Only set explicit caps on pads.
28880
28881 2005-07-01  Andy Wingo  <wingo@pobox.com>
28882
28883         * tests/network-clock.scm: Commentary update.
28884
28885         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28886         Didn't really make sense, not implementable with basetransform,
28887         etc.
28888         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28889         attempt at implementing the sync property, needs an unlock method.
28890
28891         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28892         New func, by default returns the same caps (the identity
28893         transformation).
28894         (gst_base_transform_getcaps): Uses transform_caps to return
28895         something sensible.
28896         (gst_base_transform_setcaps): Complicated logic to get caps on
28897         both pads, even if they are different, and to call set_caps once
28898         for every time both pads get their caps set.
28899         (gst_base_transform_handle_buffer): Give the ref to the transform
28900         function. Allows in-place modification of the buffer.
28901
28902         * gst/base/gstbasetransform.h (transform_caps): New class method.
28903         Given caps on one side, what can I do on the other.
28904         (set_caps): Take two caps, one for each side of the element.
28905
28906         * gst/gstpad.h:
28907         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28908         caps in place. This is safe because we can check the mutability of
28909         the caps, and a good idea because fixate functions are just called
28910         as a matter of last resort. (Not actually implemented.)
28911         (gst_pad_set_caps): If the caps we're setting is actually the same
28912         as the existing pad caps, just update the pointer without calling
28913         setcaps. Assert that caps is either NULL or fixed, as per the
28914         docs.
28915
28916         * gst/gstghostpad.c: Update for fixate changes.
28917
28918 2005-07-02  Andy Wingo  <wingo@pobox.com>
28919
28920         * gst/gstcaps.c:
28921         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28922         two refcounts makes it immutable, which is enough. Doc more.
28923
28924 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28925
28926         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28927           Put the mini_object into GValue as a mini_object,
28928           not a gpointer, since that's how we declared
28929           the signal.
28930
28931 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28932
28933         * examples/pwg/Makefile.am:
28934           Fix buildbot again.
28935
28936 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28937
28938         * docs/pwg/building-testapp.xml:
28939           Add extra check.
28940         * examples/pwg/Makefile.am:
28941           Fix buildbot.
28942
28943 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28944
28945         * configure.ac:
28946         * examples/Makefile.am:
28947         * examples/pwg/Makefile.am:
28948         * examples/pwg/extract.pl:
28949           Enable building the PWG examples.
28950         * docs/pwg/advanced-interfaces.xml:
28951           Add URI interface stub.
28952         * docs/pwg/advanced-types.xml:
28953         * docs/pwg/other-autoplugger.xml:
28954         * docs/pwg/appendix-porting.xml:
28955         * docs/pwg/pwg.xml:
28956           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28957         * docs/pwg/building-boiler.xml:
28958         * docs/pwg/building-chainfn.xml:
28959         * docs/pwg/building-pads.xml:
28960         * docs/pwg/building-props.xml:
28961         * docs/pwg/building-state.xml:
28962         * docs/pwg/building-testapp.xml:
28963           Update the building-*.xml parts for 0.9 changes. All examples
28964           code blocks compile in examples/pwg/*.
28965
28966 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28967
28968         * docs/manual/advanced-autoplugging.xml:
28969         * docs/manual/appendix-checklist.xml:
28970         * docs/manual/appendix-integration.xml:
28971         * docs/manual/highlevel-components.xml:
28972           Fix playbin/decodebin examples, update docs a bit, mention bus
28973           instead of signals in various places, mention kmplayer and
28974           kaffeine since they have a working GStreamer backend in the KDE
28975           section.
28976
28977 2005-06-30  Wim Taymans  <wim@fluendo.com>
28978
28979         * CHANGES-0.9:
28980         * docs/design/draft-ghostpads.txt:
28981         * docs/design/draft-push-pull.txt:
28982         * docs/design/draft-query.txt:
28983         * docs/design/part-TODO.txt:
28984         * docs/design/part-query.txt:
28985         Added CHANGES-0.9 doc, updated status of other docs.
28986         
28987         * gst/gstquery.h:
28988         Remove "hmm" macro
28989
28990 2005-06-30  Wim Taymans  <wim@fluendo.com>
28991
28992         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28993         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28994         (gst_base_sink_change_state):
28995         * gst/base/gstbasesink.h:
28996         Some tweaks, only EOS and a buffer complete a preroll.
28997
28998 2005-06-30  Andy Wingo  <wingo@pobox.com>
28999
29000         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29001         activate_push down to the internal pad as well.
29002
29003 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29004
29005         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29006
29007         * gst/gsttaginterface.c:
29008           Some documentation fixes (#307394 and #307397).
29009
29010 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29011
29012         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29013
29014         * gst/gstvalue.c: (gst_value_intersect_list):
29015           Fix memleak (#309125).
29016
29017 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29018
29019         * docs/manual/advanced-dataaccess.xml:
29020           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29021         * docs/manual/basics-pads.xml:
29022           Add reference for filtered caps to above chapter.
29023
29024 2005-06-30  Wim Taymans  <wim@fluendo.com>
29025
29026         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29027         (gst_bin_change_state):
29028         Probes are gone.
29029         Lame attempt at making the state change function a bit
29030         more readable.
29031
29032 2005-06-30  Wim Taymans  <wim@fluendo.com>
29033
29034         * docs/design/part-clocks.txt:
29035         * docs/design/part-element-sink.txt:
29036         * docs/design/part-events.txt:
29037         * docs/design/part-preroll.txt:
29038         * docs/design/part-states.txt:
29039         Some more tweeks and additions to the docs.
29040
29041 2005-06-30  Wim Taymans  <wim@fluendo.com>
29042
29043         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29044         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29045         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29046         (gst_pad_check_pull_range), (gst_pad_get_range),
29047         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29048         * gst/gstpad.h:
29049         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29050         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29051         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29052         (gst_pad_remove_buffer_probe):
29053         Removed atomic operations, use existing LOCK.
29054         Move exception handling out of main code path.
29055
29056 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29057
29058         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29059         (silly_return_true_function), (gst_pad_class_init),
29060         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29061         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29062         (gst_pad_send_event):
29063           Fix accumulator, add default value by using _emitv() instead
29064           of _emit() for signal emission.
29065
29066 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29067
29068         * docs/manual/advanced-dataaccess.xml:
29069         * examples/manual/Makefile.am:
29070           Add probe example.
29071         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29072           Make work (??).
29073
29074 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29075
29076         * gst/elements/gstfilesink.c: (gst_filesink_render):
29077           Simplify code so that we don't have to handle short
29078           writes and return GST_FLOW_ERROR if an error occured.
29079
29080 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29081
29082         * docs/gst/gstreamer-docs.sgml:
29083           Remove probes more.
29084
29085 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29086
29087         * docs/gst/gstreamer-sections.txt:
29088         * docs/gst/tmpl/gstpad.sgml:
29089         * docs/gst/tmpl/gstprobe.sgml:
29090         * gst/Makefile.am:
29091         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29092         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29093         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29094         (gst_pad_push_event), (gst_pad_send_event):
29095         * gst/gstpad.h:
29096         * gst/gstutils.c: (gst_pad_add_data_probe),
29097         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29098         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29099         (gst_pad_remove_buffer_probe):
29100         * gst/gstutils.h:
29101           Remove old probes, add new g-signal-based probes and some utility
29102           functions.
29103
29104 2005-06-29  Edward Hervey  <edward@fluendo.com>
29105
29106         * gst/gstelementfactory.c:
29107         * gst/gstutils.h:
29108         * gst/gstutils.c:
29109         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29110         the definition to the header file.
29111
29112 2005-06-29  Andy Wingo  <wingo@pobox.com>
29113
29114         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29115         plugins from the source directory.
29116
29117 2005-06-29  Wim Taymans  <wim@fluendo.com>
29118
29119         * docs/gst/tmpl/gstbuffer.sgml:
29120         * docs/gst/tmpl/gstclock.sgml:
29121         Some fixings for blantently wrong text.
29122
29123 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29124
29125         * check/Makefile.am:
29126         * gst/gst.c: (add_path_func), (init_pre):
29127         * gst/gstregistry.c: (gst_registry_add_path):
29128           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29129           only scan the GST_PLUGIN_PATH locations, and not add
29130           system locations
29131
29132 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29133
29134         * docs/gst/gstreamer-sections.txt:
29135         * docs/gst/tmpl/gstbasesrc.sgml:
29136         * gst/gstelement.c:
29137         * gst/gstelement.h:
29138         * gst/gstevent.c:
29139         * gst/gstutils.c:
29140           doc fixes
29141
29142 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29143
29144         * docs/manual/advanced-autoplugging.xml:
29145           Fix autoplugging example.
29146
29147 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29148
29149         * docs/manual/advanced-autoplugging.xml:
29150         * docs/manual/mime-world.fig:
29151           Try to get autoplugging working, fix type detection. Fix text
29152           in hello-world image.
29153
29154 2005-06-29  Wim Taymans  <wim@fluendo.com>
29155
29156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29157         (gst_base_sink_change_state):
29158         Small debug line.
29159
29160         * gst/gstclock.h:
29161         map SIGNAL and BROADCAST to the right function.
29162
29163         * gst/gstobject.h:
29164         Remove redundant braces.
29165
29166         * gst/gstpad.c: (gst_pad_set_caps):
29167         Don't call setcaps function when reseting caps to NULL.
29168
29169         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29170         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29171         (gst_system_clock_id_unschedule):
29172         Use BROADCAST as this is what we do.
29173
29174 2005-06-29  Wim Taymans  <wim@fluendo.com>
29175
29176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29177         We are actually prerolling before commiting the state
29178         change. 
29179
29180 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29181
29182         * docs/manual/advanced-clocks.xml:
29183         * docs/manual/advanced-interfaces.xml:
29184         * docs/manual/advanced-metadata.xml:
29185         * docs/manual/advanced-position.xml:
29186         * docs/manual/advanced-schedulers.xml:
29187         * docs/manual/advanced-threads.xml:
29188         * docs/manual/appendix-porting.xml:
29189         * docs/manual/basics-bins.xml:
29190         * docs/manual/basics-bus.xml:
29191         * docs/manual/basics-elements.xml:
29192         * docs/manual/basics-helloworld.xml:
29193         * docs/manual/basics-pads.xml:
29194         * docs/manual/highlevel-components.xml:
29195         * docs/manual/manual.xml:
29196         * docs/manual/thread.fig:
29197           Update (until threads/scheduling) Application Development Manual;
29198           remove GstThread, add GstBus, add simple porting checklist, add
29199           documentation for tag writing, clocks, make all examples until this
29200           part compile and run.
29201         * examples/manual/Makefile.am:
29202           Update from changes to Application Development Manual; add bus
29203           example, remove thread example.
29204
29205 2005-06-28  Wim Taymans  <wim@fluendo.com>
29206
29207         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29208         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29209         (gst_bus_source_dispatch):
29210         Add debugging messages.
29211         Make internal methods static.
29212         Handle the case where the bus is flushed in the handler.
29213         
29214         * gst/gstelement.c: (gst_element_get_bus):
29215         Fix refcount in _get_bus();
29216
29217         * gst/gstpipeline.c: (gst_pipeline_change_state),
29218         (gst_pipeline_get_clock_func):
29219         Clock refcounting fixes.
29220         Handle the case where preroll timed out more gracefully.
29221         
29222         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29223         Clean up the internal thread in dispose. This is needed
29224         for subclasses that actually get disposed.
29225         
29226         * gst/schedulers/threadscheduler.c:
29227         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29228         (gst_thread_scheduler_dispose):
29229         Free thread pool in dispose.
29230
29231 2005-06-28  Andy Wingo  <wingo@pobox.com>
29232
29233         * tests/network-clock-utils.scm (debug, print-event): New utils.
29234
29235         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29236         (*packet-loss*): Unified loss probability.
29237         (network-time): Report out-of-band events.
29238
29239         * tests/plot-data: Add support for out-of-band events. Hack it
29240         into this script instead of passing it down the pipe; should fix
29241         this later.
29242
29243 2005-06-28  Wim Taymans  <wim@fluendo.com>
29244
29245         * docs/gst/gstreamer.types:
29246         * docs/gst/tmpl/gstbasesrc.sgml:
29247         * docs/gst/tmpl/gstpad.sgml:
29248         Docs fixes.
29249
29250 2005-06-28  Wim Taymans  <wim@fluendo.com>
29251
29252         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29253         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29254         (gst_proxy_pad_do_fixatecaps):
29255         Correctly proxy the check_pull_range function.
29256
29257 2005-06-28  Andy Wingo  <wingo@pobox.com>
29258
29259         * tests/network-clock.scm: Removed need for slib.
29260         
29261 2005-06-28  Wim Taymans  <wim@fluendo.com>
29262
29263         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29264         (gst_basesink_preroll_queue_flush):
29265         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29266         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29267         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29268         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29269         (gst_proxy_pad_set_property):
29270         * gst/gstpad.c:
29271         * gst/gstpad.h:
29272         * gst/gstqueue.c: (gst_queue_init):
29273         The deprecated pad loop function is removed now.
29274
29275 2005-06-28  Andy Wingo  <wingo@pobox.com>
29276
29277         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29278         New parameters, simulate network packet loss.
29279
29280         * tests/network-clock-utils.scm: Initialize the RNG.
29281
29282 2005-06-28  Wim Taymans  <wim@fluendo.com>
29283
29284         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29285         (gst_basesink_event), (gst_basesink_deactivate):
29286         Flushing the preroll queue always needs to unlock the waiters.
29287
29288 2005-06-28  Edward Hervey  <edward@fluendo.com>
29289
29290         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29291         Wheen a seek was successful on a pipeline, set the stream_time to the
29292         seek offset in order to have a synchronized stream_time.
29293
29294 2005-06-28  Wim Taymans  <wim@fluendo.com>
29295
29296         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29297         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29298         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29299         (gst_proxy_pad_do_fixatecaps):
29300         Call wrapper function instead of just calling the function
29301         pointers. This takes care of any locking and whatmore.
29302
29303 2005-06-28  Wim Taymans  <wim@fluendo.com>
29304
29305         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29306         (gst_pad_pull_range):
29307         * gst/gstpad.h:
29308         CONNECTED -> LINKED.
29309
29310 2005-06-28  Andy Wingo  <wingo@pobox.com>
29311
29312         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29313         source-munging commit!!!
29314
29315         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29316         (gst_object_sink): Take gpointer arguments, not GstObject --
29317         avoids casts. Like GLib.
29318
29319         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29320         activate.
29321
29322 2005-06-27  Andy Wingo  <wingo@pobox.com>
29323
29324         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29325         remaining buffer.
29326
29327         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29328         returns a sorted copy of the trace list.
29329         (gst_alloc_trace_print_live): New API, only prints traces with
29330         live objects. Sort the list.
29331         (gst_alloc_trace_print_all): Sort the list.
29332         (gst_alloc_trace_print): Align columns.
29333
29334         * gst/elements/gstttypefindelement.c:
29335         * gst/elements/gsttee.c:
29336         * gst/base/gstbasesrc.c:
29337         * gst/base/gstbasesink.c:
29338         * gst/base/gstbasetransform.c:
29339         * gst/gstqueue.c: Adapt for pad activation changes.
29340
29341         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29342         sched.
29343         (gst_pipeline_dispose): Drop ref on sched.
29344
29345         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29346         (gst_pad_activate_default): Push mode by default.
29347         (pre_activate_switch, post_activate_switch): New stubs, things to
29348         do before and after switching activation modes on pads.
29349         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29350         the pad's activate function to choose which mode to activate.
29351         Shortcut on deactivation and call the right function directly.
29352         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29353         mode.
29354         (gst_pad_activate_push): New API, same for push mode.
29355         (gst_pad_set_activate_function) 
29356         (gst_pad_set_activatepull_function) 
29357         (gst_pad_set_activatepush_function): Setters for new API.
29358
29359         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29360         Trace all miniobjects.
29361         (gst_mini_object_make_writable): Unref the arg if we copy, like
29362         gst_caps_make_writable.
29363
29364         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29365
29366         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29367         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29368         Adapt for new pad API.
29369
29370         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29371
29372         * gst/gstelement.h:
29373         * gst/gstelement.c (gst_element_iterate_src_pads) 
29374         (gst_element_iterate_sink_pads): New API functions.
29375         
29376         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29377         should fold into gstiterator.c in some form.
29378         (gst_element_pads_activate): Simplified via use of fold and
29379         delegation of decisions to gstpad->activate.
29380
29381         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29382         help in debugging.
29383
29384         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29385         class once in init, like gstmessage. Didn't run into this issue
29386         but it seems correct. Don't initialize a trace, gstminiobject does
29387         that.
29388
29389         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29390         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29391         to the bus.
29392         (assert_live_count): New util function, uses alloc traces to check
29393         cleanup.
29394
29395         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29396         To be modified when unlink drops the internal pad.
29397
29398 2005-06-27  Wim Taymans  <wim@fluendo.com>
29399
29400         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29401         (gst_bin_change_state):
29402         Cleanup the get_state() function a little, make sure it
29403         iterates the same set of elements.
29404         Added stub iterate_state_order().
29405
29406 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29407
29408         * docs/gst/gstreamer-docs.sgml:
29409         * docs/gst/gstreamer-sections.txt:
29410         * docs/gst/gstreamer.types:
29411         * docs/gst/tmpl/gstbasesink.sgml:
29412         * docs/gst/tmpl/gstbasesrc.sgml:
29413         * docs/gst/tmpl/gstbasetransform.sgml:
29414         * docs/gst/tmpl/gstelement.sgml:
29415         * docs/gst/tmpl/gstiterator.sgml:
29416         * gst/base/gstbasesrc.c:
29417         * gst/base/gstbasesrc.h:
29418         * gst/base/gstbasetransform.h:
29419         * gst/gstelement.c:
29420         * gst/gstiterator.h:
29421           adding basetransform and iterator docs
29422
29423 2005-06-27  Andy Wingo  <wingo@pobox.com>
29424
29425         * docs/design/part-activation.txt: Notes on how activation should
29426         work -- not quite implemented yet.
29427
29428 2005-06-25  Wim Taymans  <wim@fluendo.com>
29429
29430         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29431         At least get the chain function correct, needs more
29432         fixing.
29433
29434 2005-06-25  Wim Taymans  <wim@fluendo.com>
29435
29436         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29437         (gst_basesink_handle_object), (gst_basesink_event),
29438         (gst_basesink_do_sync), (gst_basesink_handle_event),
29439         (gst_basesink_change_state):
29440         * gst/gsttask.h:
29441         Right, two problems here: ghostpads don't take locks and
29442         glib _rec_mutex_lock_full() with depth==0 still locks.
29443         Catch illegal locking and g_warn them.
29444
29445 2005-06-25  Wim Taymans  <wim@fluendo.com>
29446
29447         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29448         Have to check for completion now...
29449
29450 2005-06-25  Wim Taymans  <wim@fluendo.com>
29451
29452         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29453         (gst_basesink_handle_object), (gst_basesink_event),
29454         (gst_basesink_do_sync), (gst_basesink_handle_event),
29455         (gst_basesink_change_state):
29456         * gst/gstpad.h:
29457         Unlock STREAM_LOCK whatever the recursion was.
29458
29459 2005-06-25  Wim Taymans  <wim@fluendo.com>
29460
29461         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29462         (gst_basesink_preroll_queue_empty),
29463         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29464         (gst_basesink_event), (gst_basesink_do_sync),
29465         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29466         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29467         (gst_basesink_change_state):
29468         Reworked the base sink, handle event and buffer serialisation
29469         correctly and removed possible deadlock.
29470         Handle EOS correctly.
29471
29472 2005-06-25  Wim Taymans  <wim@fluendo.com>
29473
29474         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29475         (gst_pipeline_change_state):
29476         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29477         Allow elements to post EOS in the state change function.
29478         Fix up -launch, make it exit the poll loop when the
29479         pipeline actually changed state.
29480         Fix up warning parsing in -launch.
29481
29482 2005-06-25  Wim Taymans  <wim@fluendo.com>
29483
29484         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29485         (gst_tee_sink_activate):
29486         Core takes STREAM_LOCK for us now.
29487
29488 2005-06-25  Wim Taymans  <wim@fluendo.com>
29489
29490         * gst/gstelement.c: (gst_element_get_state_func),
29491         (gst_element_set_state):
29492         * gst/gstelement.h:
29493         * gst/gstmessage.c: (gst_message_parse_error),
29494         (gst_message_parse_warning):
29495         Keep track of current target state while performing a state
29496         change so that subclasses can do something interesting.
29497         Fix parsing of warning/error messages when GError is NULL.
29498
29499 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29500
29501         * docs/gst/Makefile.am:
29502         * docs/gst/gstreamer-docs.sgml:
29503         * docs/gst/gstreamer-sections.txt:
29504         * docs/gst/gstreamer.types:
29505         * docs/gst/tmpl/gstbasesink.sgml:
29506         * docs/gst/tmpl/gstbasesrc.sgml:
29507         * docs/gst/tmpl/gstbin.sgml:
29508         * docs/gst/tmpl/gstcompat.sgml:
29509         * docs/gst/tmpl/gstfakesink.sgml:
29510         * docs/gst/tmpl/gstfakesrc.sgml:
29511         * docs/gst/tmpl/gstfilesink.sgml:
29512         * docs/gst/tmpl/gstfilesrc.sgml:
29513         * docs/gst/tmpl/gstindex.sgml:
29514         * docs/manual/appendix-quotes.xml:
29515         * gst/base/gstbasesrc.h:
29516         * gst/elements/gstfakesrc.h:
29517         * gst/gstmessage.h:
29518           start pulling in base classes and elements in our docs
29519
29520 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29521
29522         * docs/gst/Makefile.am:
29523         * docs/libs/Makefile.am:
29524           fixed make distcheck with gtk-doc 1.3
29525
29526 2005-06-23  Wim Taymans  <wim@fluendo.com>
29527
29528         * gst/gstelement.c: (gst_element_get_state_func),
29529         (gst_element_set_state), (gst_element_change_state):
29530         When the state did not change, also report NO_PREROLL
29531         when it matters.
29532
29533 2005-06-23  Wim Taymans  <wim@fluendo.com>
29534
29535         * gst/gstpad.c: (gst_pad_event_default):
29536         * gst/gstqueue.c: (gst_queue_loop):
29537         No unsafe task pausing please.
29538
29539 2005-06-23  Wim Taymans  <wim@fluendo.com>
29540
29541         * gst/schedulers/threadscheduler.c:
29542         (gst_thread_scheduler_task_start),
29543         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29544         Ref the task before pushing it on the threadpool. This
29545         makes sure that we have a ref when the threadfunction is
29546         actually called.
29547
29548 2005-06-23  Andy Wingo  <wingo@pobox.com>
29549
29550         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29551         offset is greater than the file's size.
29552
29553         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29554         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29555         * gst/gstobject.c (gst_object_class_init): Make the class lock
29556         recursive. Wim won't let me drop deep_notify. Decodebin works
29557         again, whoopdy doo.
29558
29559         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29560         internal pad, and hacks accordingly. Doesn't do it on the target
29561         pad because we change its caps. Probably catches all cases of
29562         interest tho.
29563         (gst_ghost_pad_set_property): Connect to notify::caps as
29564         appropritate.
29565
29566         * tests/network-clock.scm (plot-simulation): Pipe data to the
29567         elite python skript.
29568
29569         * tests/network-clock-utils.scm (define-parameter): New macro,
29570         defines a parameter that can be set via the command line.
29571         (set-parameter!, parse-parameter-arguments): Command line args
29572         parser.
29573
29574         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29575         stdin.
29576
29577 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29578
29579         * gst/elements/gsttypefindelement.c:
29580         (gst_type_find_element_handle_event):
29581           Don't restart typefinding on a discont.
29582         * gst/gstelement.c: (gst_element_set_state):
29583           Debug spelling fix.
29584         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29585           Allow changing mode of an active pad.
29586           Debug output fixes.
29587         * gst/registries/gstlibxmlregistry.c: (load_feature):
29588           Don't cast a static pad template to a normal pad template.
29589
29590 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29591
29592         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29593         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29594           remove gst_strtoll completely, since it didn't actually do
29595           anything more than what g_ascii_strtoull already does.
29596           check for range errors when deserializing
29597           do a cast for the unsigned cases; but further fixing needs
29598           a decision on what the interpretation of "(int)" and
29599           deserialization should be for values that fall outside the
29600           type's boundaries (ie, refuse, or interpret as casting)
29601
29602 2005-06-23  Wim Taymans  <wim@fluendo.com>
29603
29604         * check/Makefile.am:
29605         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29606         * docs/design/part-live-source.txt:
29607         * docs/design/part-states.txt:
29608         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29609         (gst_basesrc_set_live), (gst_basesrc_is_live),
29610         (gst_basesrc_get_range), (gst_basesrc_activate),
29611         (gst_basesrc_change_state):
29612         * gst/base/gstbasesrc.h:
29613         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29614         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29615         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29616         * gst/gstelement.c: (gst_element_get_state_func),
29617         (gst_element_set_state):
29618         * gst/gstelement.h:
29619         * gst/gsttypes.h:
29620         * tools/gst-launch.c: (event_loop), (main):
29621         Added support for live sources and other elements that
29622         cannot do preroll.
29623         Updated design docs, added live-source design doc.
29624         Implemented live source functionality in basesrc
29625         Fix error condition in _bin_get_state()
29626         Implement live source handling in -launch.
29627         Added check for live sources.
29628         Fixed case in GstBin where elements were changed state
29629         multiple times.
29630
29631
29632 2005-06-23  Andy Wingo  <wingo@pobox.com>
29633
29634         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29635         borken refcounting.
29636
29637         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29638         gst_caps_replace takes care of this for us.
29639
29640         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29641         gst_pad_set_caps on the target, not just its setcaps() function.
29642
29643         * tests/network-clock.scm: 
29644         * tests/network-clock-utils.scm: A network clock simulator.
29645         Something of an algorithmic testbed before doing something in C.
29646
29647 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29648
29649         * check/Makefile.am:
29650         * check/gst/capslist.h:
29651           copy over from 0.8, and add two with bitmasks specified with
29652           (int) 0xFF...
29653         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29654           add test to parse everything from capslist.h
29655         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29656         (main):
29657           add test for structure deserialization
29658         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29659           add tests for deserialization of strings to int types
29660         * gst/gststructure.c: (gst_structure_nth_field_name):
29661         * gst/gststructure.h:
29662           add a way to get the name of a field referenced by index
29663         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29664           instead of checking if the resulting long long lies between
29665           min and max, we check if the long long would fit into
29666           a number of bytes for the final type.
29667           This fixes cases where a string represents 2^32 - 1, which
29668           when cast to int would be the (valid) -1, but is bigger than
29669           G_MAXINT
29670
29671 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29672
29673         * gst/parse/grammar.y:
29674           add a log line for type deserialization
29675
29676 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29677
29678         * check/gst/gstvalue.c: (START_TEST):
29679         * gst/gstvalue.c: (gst_value_deserialize):
29680           return long long, not int, so gint64 deserialization actually
29681           works.  Is there any flag that makes the compiler check this ?
29682           Fixes #308559
29683
29684 2005-06-22  Wim Taymans  <wim@fluendo.com>
29685
29686         * gst/gstbuffer.h:
29687         Added convenience macros for setting buffers in GValue.
29688
29689 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29690
29691         * check/gst/.cvsignore:
29692         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29693           add a test deserializing int64, and comment part out because
29694           it fails, yay !
29695
29696 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29697
29698         * check/Makefile.am:
29699         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29700         * testsuite/Makefile.am:
29701         * testsuite/caps/Makefile.am:
29702         * testsuite/caps/value_serialize.c:
29703         * testsuite/test_gst_init.c:
29704           move a value_serialize test over
29705
29706 2005-06-20  Wim Taymans  <wim@fluendo.com>
29707
29708         * gst/gstpad.c:
29709         Small doc updates.
29710         
29711         * gst/gstvalue.c: (gst_value_compare_buffer),
29712         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29713         (gst_value_compare_flags), (gst_value_serialize_flags),
29714         (gst_value_deserialize_flags), (_gst_value_initialize):
29715         Fix serialisation of buffers, they are not boxed types anymore
29716
29717 2005-06-20  Wim Taymans  <wim@fluendo.com>
29718
29719         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29720         Testcase to show error in buffer-on-caps serialisation.
29721
29722 2005-06-20  Andy Wingo  <wingo@pobox.com>
29723
29724         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29725         will be adding to later.
29726
29727         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29728         if its socks fill with rocks.
29729         (gst_system_clock_obtain): Set the name on object construction.
29730         Avoid double-checked locking.
29731
29732 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29733
29734         * gst/gsturi.c: (gst_element_make_from_uri):
29735           Fix potential endless loop.
29736
29737 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29738
29739         * check/Makefile.am:
29740           add gsttag
29741         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29742         (main):
29743           move over from testsuite dir and clean up
29744         * configure.ac:
29745         * gst/gsttag.c:
29746         * testsuite/Makefile.am:
29747         * testsuite/tags/.cvsignore:
29748         * testsuite/tags/Makefile.am:
29749         * testsuite/tags/merge.c:
29750           remove testsuite/tags
29751
29752 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29753
29754         * docs/gst/gstreamer-sections.txt:
29755         * docs/gst/tmpl/gstenumtypes.sgml:
29756         * win32/gstenumtypes.c:
29757           clean up documentation build a little
29758
29759 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29760
29761         * check/gstcheck.h:
29762           add macros for checking refcounts on objects and caps
29763         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29764           add some more unit tests
29765         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29766         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29767           fix leaked refcounts (I hope :)) so unittest works
29768         * gst/gstpad.h:
29769           whitespace removal
29770
29771 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29772
29773         * configure.ac: back to HEAD
29774
29775 === release 0.9.1 ===
29776
29777 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29778
29779         * NEWS:
29780         * RELEASE:
29781           updated
29782
29783 2005-06-17  Andy Wingo  <wingo@pobox.com>
29784
29785         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29786         assert; it's always possible that the pad gets deactivated in
29787         between the checks in gstpad.c and the implementation. Rely on
29788         finish_preroll() to return a FLUSHING or similar instead of on the
29789         assert.
29790         
29791         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29792         clock and post an EOS message if we come out of finish_preroll in
29793         the playing state.
29794
29795 2005-06-16  David Schleef  <ds@schleef.org>
29796
29797         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29798         (gst_capsfilter_set_property): Allow NULL as possible value
29799         for filter_caps property, indicating GST_CAPS_ANY.
29800
29801 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29802
29803         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29804           fix debug output
29805         * gst/schedulers/Makefile.am:
29806           use libgst prefix
29807         * gstreamer.spec.in:
29808           fix spec for it
29809
29810 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29811
29812         * gstreamer.spec.in:
29813           clean up
29814
29815 2005-06-08  Andy Wingo  <wingo@pobox.com>
29816
29817         * gst/gstutils.c: RPAD fixes all around.
29818         (gst_element_link_pads): Refcounting fixes.
29819
29820         * tools/gst-inspect.c:
29821         * tools/gst-xmlinspect.c:
29822         * parse/grammar.y:
29823         * gst/base/gsttypefindhelper.c:
29824         * gst/base/gstbasesink.c:
29825         * gst/gstqueue.c: RPAD fixes.
29826
29827         * gst/gstghostpad.h:
29828         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29829         pads. The tricky thing is they provide both source and sink
29830         interfaces, since they proxy the internal pad for the external
29831         pad, and vice versa. Implement with lower-level ProxyPad objects,
29832         with the interior proxy pad as a child of the exterior ghost pad.
29833         Should write a doc on this.
29834         
29835         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29836         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29837         gst_object API.
29838         
29839         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29840         pads are real pads. No ghost pads in this file. Not documenting
29841         the myriad s/RPAD/PAD/ and REALIZE fixes.
29842         (gst_pad_class_init): Add properties for "direction" and
29843         "template". Both are construct-only, so they can't change during
29844         the life of the pad. Fixes properly deriving from GstPad.
29845         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29846         derived objects, just set properties when creating the objects via
29847         g_object_new.
29848         (gst_pad_get_parent): Implement as a function, return NULL if the
29849         parent is not an element.
29850         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29851         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29852         
29853         * gst/gstobject.c (gst_object_class_init): Make name a construct
29854         property. Don't set it in the object init.
29855
29856         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29857         with UNKNOWN direction.
29858         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29859         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29860         (gst_element_remove_pad): Remove ghost-pad special cases.
29861         (gst_element_pads_activate): Remove rpad cruft.
29862
29863         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29864         catch the pad's-parent-not-an-element case.
29865
29866         * gst/gst.h: Include gstghostpad.h.
29867
29868         * gst/gst.c (init_post): No more real, ghost pads.
29869
29870         * gst/Makefile.am: Add gstghostpad.[ch].
29871
29872         * check/Makefile.am:
29873         * check/gst/gstbin.c:
29874         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29875         into a bin creates ghost pads, and that the refcounts are right.
29876         Partly moved from gstbin.c.
29877
29878 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29879
29880         * check/gst-libs/.cvsignore:
29881         * check/gst/.cvsignore:
29882         * check/pipelines/.cvsignore:
29883           ignore more
29884         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29885         (START_TEST), (cleanup_suite), (main):
29886           add some tests related to cleanup after running pipelines
29887
29888 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29889
29890         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29891           add a testsuite for GstBuffer
29892
29893 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29894
29895         * gst/gstminiobject.h:
29896           add defines for accessing the refcount
29897
29898 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29899
29900         * Makefile.am: added support for html unit test coverage reports
29901
29902 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29903
29904         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29905           Free existing caps if the capsfilter changes. Add a FIXME about
29906           setting those caps on the pads.
29907
29908         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29909           Before adding a ghost pad to a parent bin, check that there isn't
29910           already one for the element on the bin. Prevents infinite recursion
29911           when using decodebin in parse pipelines. Andy says he'll rewrite the
29912           way this works anyway, so ignore the hack.
29913
29914 2005-06-02  Andy Wingo  <wingo@pobox.com>
29915
29916         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29917         file size, pass it on to the type find helper.
29918
29919         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29920         segment_start and segment_end properly according to the seek
29921         method. Segment_end is still a bit flaky because offset can be
29922         negative for CUR and END cases, but it takes -1 as an "unset"
29923         value.
29924
29925 2005-06-02  Wim Taymans  <wim@fluendo.com>
29926
29927         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29928         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29929         (gst_basesink_activate):
29930         * gst/base/gstbasesink.h:
29931         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29932         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29933         (gst_pad_query), (gst_pad_start_task):
29934         * gst/gstpad.h:
29935         * gst/gstqueue.c: (gst_queue_bufferalloc),
29936         (gst_queue_handle_sink_event), (gst_queue_chain):
29937         Bufferalloc: return GstFlowReturn to more accuratly report
29938         why allocation failed.
29939
29940 2005-06-02  Wim Taymans  <wim@fluendo.com>
29941
29942         * gst/gstpipeline.c: (gst_pipeline_send_event):
29943         Take snapshot of state without blocking.
29944
29945 2005-06-02  Wim Taymans  <wim@fluendo.com>
29946
29947         * docs/design/part-TODO.txt:
29948         * docs/design/part-caps.txt:
29949         * docs/design/part-clocks.txt:
29950         * docs/design/part-negotiation.txt:
29951         * docs/design/part-preroll.txt:
29952         Small doc updates 
29953
29954 2005-05-30  Wim Taymans  <wim@fluendo.com>
29955
29956         * gst/elements/gstidentity.c: (gst_identity_event),
29957         (gst_identity_transform), (gst_identity_get_property):
29958         Protect last_message property as it is accessed from
29959         multiple threads.
29960
29961 2005-05-30  Wim Taymans  <wim@fluendo.com>
29962
29963         * gst/gstelement.c: (gst_element_init),
29964         (gst_element_pads_activate), (gst_element_change_state):
29965         Slicker pad activation code.
29966
29967 2005-05-30  Wim Taymans  <wim@fluendo.com>
29968
29969         * gst/Makefile.am:
29970         * gst/gstelement.h:
29971         * gst/gstelementfactory.h:
29972         * gst/gsttypes.h:
29973         Move elementfactory methods to separate .h file.
29974
29975 2005-05-30  Wim Taymans  <wim@fluendo.com>
29976
29977         * docs/design/part-overview.txt:
29978         * gst/gstsystemclock.h:
29979         Small typo fixes, doc updates.
29980
29981 2005-05-30  Wim Taymans  <wim@fluendo.com>
29982
29983         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29984         (init_popt_callback):
29985         Remove cpu-opt flag.
29986
29987 2005-05-30  Wim Taymans  <wim@fluendo.com>
29988
29989         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29990         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29991         * gst/gstbuffer.h:
29992         Avoid typechecking in places where not needed.
29993         Added accessor for malloc_data.
29994
29995 2005-05-30  Wim Taymans  <wim@fluendo.com>
29996
29997         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29998         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29999         (gst_pad_configure_sink), (gst_pad_configure_src),
30000         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30001         (gst_pad_start_task):
30002         Propagate errors from _set_caps() in configure_src/sink
30003         functions instead of returning TRUE.
30004         FLUSH events can travel up and downstream
30005
30006
30007 2005-05-30  Wim Taymans  <wim@fluendo.com>
30008
30009         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30010         (gst_basesink_activate):
30011         Handle EOS in preroll.
30012
30013 2005-05-30  Wim Taymans  <wim@fluendo.com>
30014
30015         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30016         (gst_queue_loop), (gst_queue_handle_src_event):
30017         Remove old pieces of code
30018         Flushing the queue in an upstream event is a very bad idea.
30019
30020 2005-05-26  Andy Wingo  <wingo@pobox.com>
30021
30022         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30023         gst_value_set_mini_object so as to add a ref on the object (which
30024         will be removed when the value is unset).
30025
30026         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30027         arg type in ::handoff.
30028
30029         * gst/gstelement.c (gst_element_change_state): Also deactivate
30030         pads in READY->NULL, just in case the element didn't make it to
30031         PAUSED. Wingo tested, Wim approved.
30032
30033 2005-05-26  Wim Taymans  <wim@fluendo.com>
30034
30035         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30036         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30037         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30038         A flushing pad cannot be used to alloc_buffer from.
30039
30040 2005-05-26  Wim Taymans  <wim@fluendo.com>
30041
30042         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30043         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30044         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30045         (gst_bus_create_watch), (gst_bus_add_watch_full):
30046         * gst/gstbus.h:
30047         Implement a real GSource and use g_main_context_wakeup() to
30048         signal new messages instead of the socketpair.
30049
30050 2005-05-25  Wim Taymans  <wim@fluendo.com>
30051
30052         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30053         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30054         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30055         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30056         (gst_pad_send_event), (gst_pad_start_task):
30057         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30058         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30059         (gst_queue_sink_activate), (gst_queue_src_activate),
30060         (gst_queue_change_state):
30061         * gst/gstqueue.h:
30062         Fix state changes for non sinks. We now change sinks, then elements
30063         with unconnected srcpads, then the rest.
30064         More efficient queue unlocking in flush and state changes.
30065         Set the pad activate mode even if it does not have an activate
30066         function.
30067
30068 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30069
30070         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30071           Don't go in pull mode for non-seekable sources.
30072         * gst/elements/gsttypefindelement.h:
30073         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30074         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30075         (free_entry), (stop_typefinding),
30076         (gst_type_find_element_handle_event), (find_peek),
30077         (gst_type_find_element_chain), (do_pull_typefind),
30078         (gst_type_find_element_change_state):
30079           Allow typefinding (w/o seeking) in push-mode, simplified version
30080           of what was in 0.8.
30081         * gst/gstutils.c: (gst_buffer_join):
30082         * gst/gstutils.h:
30083           gst_buffer_join() from 0.8.
30084
30085 2005-05-25  Wim Taymans  <wim@fluendo.com>
30086
30087         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30088         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30089         (gst_pad_send_event), (gst_pad_start_task):
30090         Disable attempt at mode switching until it is figured out.
30091
30092 2005-05-25  Wim Taymans  <wim@fluendo.com>
30093
30094         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30095         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30096         (gst_basesink_finish_preroll), (gst_basesink_chain),
30097         (gst_basesink_loop), (gst_basesink_activate),
30098         (gst_basesink_change_state):
30099         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30100         (gst_basesrc_get_range), (gst_basesrc_loop),
30101         (gst_basesrc_activate):
30102         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30103         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30104         (gst_real_pad_init), (gst_real_pad_set_property),
30105         (gst_real_pad_get_property), (gst_pad_set_active),
30106         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30107         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30108         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30109         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30110         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30111         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30112         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30113         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30114         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30115         (gst_pad_stop_task):
30116         * gst/gstpad.h:
30117         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30118         (gst_queue_loop), (gst_queue_src_activate):
30119         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30120         (gst_task_get_state):
30121         * gst/gsttask.h:
30122         * gst/schedulers/threadscheduler.c:
30123         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30124         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30125         in task function.
30126         Remove ACTIVE pad flag, use FLUSHING everywhere
30127         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30128         functions.
30129         Add locks around IS_FLUSHING when reading.
30130         Take STREAM lock in chain(), get_range() functions so plugins
30131         don't need to take it anymore.
30132         
30133
30134
30135 2005-05-25  Wim Taymans  <wim@fluendo.com>
30136
30137         * tools/gst-launch.c: (event_loop):
30138         Unref message after using its contents instead of
30139         before.
30140
30141 2005-05-24  Wim Taymans  <wim@fluendo.com>
30142
30143         * docs/design/draft-ghostpads.txt:
30144         * docs/design/draft-push-pull.txt:
30145         * docs/design/draft-query.txt:
30146         * docs/design/part-overview.txt:
30147         Docs updates, added general overview doc.
30148
30149 2005-05-21  David Schleef  <ds@schleef.org>
30150
30151         * docs/gst/tmpl/old/GstBin.sgml:
30152         * docs/gst/tmpl/old/GstBuffer.sgml:
30153         * docs/gst/tmpl/old/GstCaps.sgml:
30154         * docs/gst/tmpl/old/GstClock.sgml:
30155         * docs/gst/tmpl/old/GstCompat.sgml:
30156         * docs/gst/tmpl/old/GstData.sgml:
30157         * docs/gst/tmpl/old/GstElement.sgml:
30158         * docs/gst/tmpl/old/GstEvent.sgml:
30159         * docs/gst/tmpl/old/GstIndex.sgml:
30160         * docs/gst/tmpl/old/GstStructure.sgml:
30161         * docs/gst/tmpl/old/GstTag.sgml:
30162         * docs/gst/tmpl/old/cothreads.sgml:
30163         * docs/gst/tmpl/old/cothreads_compat.sgml:
30164         * docs/gst/tmpl/old/gettext.sgml:
30165         * docs/gst/tmpl/old/gobject2gtk.sgml:
30166         * docs/gst/tmpl/old/grammar.tab.sgml:
30167         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30168         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30169         * docs/gst/tmpl/old/gst_private.sgml:
30170         * docs/gst/tmpl/old/gstaggregator.sgml:
30171         * docs/gst/tmpl/old/gstarch.sgml:
30172         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30173         * docs/gst/tmpl/old/gstbufferstore.sgml:
30174         * docs/gst/tmpl/old/gstdata_private.sgml:
30175         * docs/gst/tmpl/old/gstdisksink.sgml:
30176         * docs/gst/tmpl/old/gstdisksrc.sgml:
30177         * docs/gst/tmpl/old/gstelementfactory.sgml:
30178         * docs/gst/tmpl/old/gstextratypes.sgml:
30179         * docs/gst/tmpl/old/gstfakesink.sgml:
30180         * docs/gst/tmpl/old/gstfakesrc.sgml:
30181         * docs/gst/tmpl/old/gstfdsink.sgml:
30182         * docs/gst/tmpl/old/gstfdsrc.sgml:
30183         * docs/gst/tmpl/old/gstfilesink.sgml:
30184         * docs/gst/tmpl/old/gstfilesrc.sgml:
30185         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30186         * docs/gst/tmpl/old/gstidentity.sgml:
30187         * docs/gst/tmpl/old/gstindexfactory.sgml:
30188         * docs/gst/tmpl/old/gstmarshal.sgml:
30189         * docs/gst/tmpl/old/gstmd5sink.sgml:
30190         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30191         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30192         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30193         * docs/gst/tmpl/old/gstpipefilter.sgml:
30194         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30195         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30196         * docs/gst/tmpl/old/gstshaper.sgml:
30197         * docs/gst/tmpl/old/gstspider.sgml:
30198         * docs/gst/tmpl/old/gstspideridentity.sgml:
30199         * docs/gst/tmpl/old/gststatistics.sgml:
30200         * docs/gst/tmpl/old/gsttee.sgml:
30201         * docs/gst/tmpl/old/gsttimecache.sgml:
30202         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30203         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30204         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30205         * docs/gst/tmpl/old/types.sgml:
30206           I didn't intend to add these or check them in.
30207
30208 2005-05-19  David Schleef  <ds@schleef.org>
30209
30210         * configure.ac: Use -no-common everywhere.  In a sane world, it
30211           would be the default in libtool, because without it, you can't
30212           build DLLs on Windows.
30213         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30214         * docs/gst/gstreamer-sections.txt:
30215         * docs/gst/tmpl/gstcpu.sgml:
30216         * docs/gst/tmpl/gstdata.sgml:
30217         * docs/gst/tmpl/gstthread.sgml:
30218
30219 2005-05-19  David Schleef  <ds@schleef.org>
30220
30221         * gst/gstminiobject.c: (gst_value_set_mini_object),
30222         (gst_value_take_mini_object), (gst_value_get_mini_object):
30223         * gst/gstminiobject.h: Add GValue set/get functions.
30224
30225 2005-05-19  Wim Taymans  <wim@fluendo.com>
30226
30227         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30228         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30229         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30230         * gst/gstbuffer.h:
30231         * gst/gstbus.c: (gst_bus_post):
30232         * gst/gstelement.c: (gst_element_get_random_pad):
30233         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30234         Make subbufer unref the parent in finalize.
30235         some more debugging info.
30236
30237
30238 2005-05-19  Wim Taymans  <wim@fluendo.com>
30239
30240         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30241         (gst_basesink_init), (gst_basesink_finalize),
30242         (gst_basesink_activate), (gst_basesink_change_state):
30243         Don't free preroll queue too early.
30244
30245 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30246
30247         * gst/Makefile.am:
30248         * gst/ROADMAP:
30249           Hi, I'm outdated. Please shoot me.
30250
30251 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30252
30253         * gst/gstpipeline.c: (gst_pipeline_send_event):
30254           Do not access variables after they have been deleted.
30255
30256 2005-05-19  Wim Taymans  <wim@fluendo.com>
30257
30258         * tools/gst-inspect.c: (print_plugin_features):
30259         A plugin feature does unfortunatly not use the
30260         object name yet...
30261
30262 2005-05-18  Wim Taymans  <wim@fluendo.com>
30263
30264         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30265         Port _span() functions to new subbuffers.
30266
30267 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30268
30269         * gst/gstbin.c: (gst_bin_add_func):
30270           Fix clock settery in bins when adding kids after the clock has
30271           been selected.
30272
30273 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30274
30275         * gst/elements/gstidentity.c: (gst_identity_class_init):
30276           Workaround until signals support GstMiniObject.
30277
30278 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30279
30280         * gst/gstbuffer.c:
30281         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30282
30283 2005-05-18  Wim Taymans  <wim@fluendo.com>
30284
30285         * gst/base/Makefile.am:
30286         * gst/base/gstadapter.c: (gst_adapter_base_init),
30287         (gst_adapter_class_init), (gst_adapter_init),
30288         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30289         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30290         (gst_adapter_flush), (gst_adapter_available),
30291         (gst_adapter_available_fast):
30292         * gst/base/gstadapter.h:
30293         Ported and added adapter to the base classes.
30294
30295 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30296
30297         * gst/gst.c:
30298         * gst/gstmessage.c:
30299           Make sure the class is reffed/unreffed once before threads can be
30300           used.  Fixes #304551.
30301
30302 2005-05-17  Wim Taymans  <wim@fluendo.com>
30303
30304         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30305         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30306         * gst/gstminiobject.c: (gst_mini_object_get_type),
30307         (gst_mini_object_free):
30308         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30309         (gst_pad_push), (gst_pad_push_event):
30310         * gst/gstqueue.c: (gst_queue_change_state):
30311         Don't queue buffers in basesink when we are flushing.
30312         Unref buffer when flushing in basesink.
30313         Flush queue when going to READY
30314         Unref buffer when _push() returns an error.
30315         Don't free MiniObject instance when refcount is incremented
30316         in _finalize() so that we can recover objects.
30317
30318 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30319
30320         * docs/manual/advanced-schedulers.xml:
30321         * docs/manual/appendix-checklist.xml:
30322         * docs/pwg/advanced-clock.xml:
30323         * docs/pwg/advanced-interfaces.xml:
30324         * docs/pwg/advanced-request.xml:
30325         * docs/pwg/advanced-types.xml:
30326         * docs/pwg/intro-preface.xml:
30327         * examples/plugins/example.c: (gst_example_get_type),
30328         (gst_example_class_init), (gst_example_chain),
30329         (gst_example_set_property), (gst_example_get_property),
30330         (gst_example_change_state), (plugin_init):
30331         * examples/plugins/example.h:
30332           small doc fixes
30333
30334 2005-05-17  Wim Taymans  <wim@fluendo.com>
30335
30336         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30337         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30338         * gst/gstqueue.c: (gst_queue_change_state):
30339         Clear queue when going to READY.
30340         Remove IN_SETCAPS flag too.
30341
30342 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30343
30344         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30345           Remove implicit cast from gboolean to GstElementStateReturn;
30346           make sure we still return failure in paused => ready case if
30347           the parent class fails to change state and our own stop 
30348           vfunc succeeds.
30349
30350 2005-05-17  Wim Taymans  <wim@fluendo.com>
30351
30352         * tools/gst-launch.c: (event_loop):
30353         Message was unreffed too soon.
30354
30355 2005-05-16  Andy Wingo  <wingo@pobox.com>
30356
30357         * gst/gstbin.c (sink_iterator_filter): Err... um...
30358
30359         * check/gst/gstbin.c (test_ghost_pads): New test for the
30360         ghosting-if-elements-not-in-same-bin behavior.
30361
30362 2005-05-16  David Schleef  <ds@schleef.org>
30363
30364         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30365         accessing refcount directly.
30366
30367 2005-05-15  David Schleef  <ds@schleef.org>
30368
30369         * check/Makefile.am: remove GstData checks
30370         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30371         * gst/Makefile.am: add miniobject, remove data
30372         * gst/gst.h: add miniobject, remove data
30373         * gst/gstdata.c: remove
30374         * gst/gstdata.h: remove
30375         * gst/gstdata_private.h: remove
30376         * gst/gsttypes.h: remove GstEvent and GstMessage
30377         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30378         * gst/gstmarshal.list: change BOXED -> OBJECT
30379
30380         Implement GstMiniObject.
30381         * gst/gstminiobject.c:
30382         * gst/gstminiobject.h:
30383
30384         Modify to be subclasses of GstMiniObject.
30385         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30386         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30387         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30388         (gst_subbuffer_get_type), (gst_subbuffer_init),
30389         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30390         (gst_buffer_span):
30391         * gst/gstbuffer.h:
30392         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30393         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30394         (_gst_event_copy), (gst_event_new):
30395         * gst/gstevent.h:
30396         * gst/gstmessage.c: (_gst_message_initialize),
30397         (gst_message_get_type), (gst_message_class_init),
30398         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30399         (gst_message_new), (gst_message_new_error),
30400         (gst_message_new_warning), (gst_message_new_tag),
30401         (gst_message_new_state_changed), (gst_message_new_application):
30402         * gst/gstmessage.h:
30403         * gst/gstprobe.c: (gst_probe_perform),
30404         (gst_probe_dispatcher_dispatch):
30405         * gst/gstprobe.h:
30406         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30407         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30408         (_gst_query_copy), (gst_query_new):
30409
30410         Update elements for GstData -> GstMiniObject changes
30411         * gst/gstquery.h:
30412         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30413         (gst_queue_chain), (gst_queue_loop):
30414         * gst/elements/gstbufferstore.c:
30415         (gst_buffer_store_add_buffer_func),
30416         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30417         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30418         (gst_fakesink_render):
30419         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30420         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30421         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30422         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30423         (gst_filesrc_create_read):
30424         * gst/elements/gstidentity.c: (gst_identity_class_init):
30425         * gst/elements/gsttypefindelement.c:
30426         (gst_type_find_element_src_event), (free_entry_buffers),
30427         (gst_type_find_element_handle_event):
30428         * libs/gst/dataprotocol/dataprotocol.c:
30429         (gst_dp_header_from_buffer):
30430         * libs/gst/dataprotocol/dataprotocol.h:
30431         * libs/gst/dataprotocol/dp-private.h:
30432
30433 2005-05-15  David Schleef  <ds@schleef.org>
30434
30435         * gst/elements/gstelements.c: Don't include headers that were
30436         just removed.
30437
30438 2005-05-15  David Schleef  <ds@schleef.org>
30439
30440         * gst/elements/Makefile.am: Remove some elements that don't
30441         need to be in the core (or even exist at all).
30442         * gst/elements/gstaggregator.c:
30443         * gst/elements/gstaggregator.h:
30444         * gst/elements/gstmd5sink.c:
30445         * gst/elements/gstmd5sink.h:
30446         * gst/elements/gstmultifilesrc.c:
30447         * gst/elements/gstmultifilesrc.h:
30448         * gst/elements/gstpipefilter.c:
30449         * gst/elements/gstpipefilter.h:
30450         * gst/elements/gstshaper.c:
30451         * gst/elements/gstshaper.h:
30452         * gst/elements/gststatistics.c:
30453         * gst/elements/gststatistics.h:
30454         * po/POTFILES.in: Remove above files.
30455
30456 2005-05-14  Andy Wingo  <wingo@pobox.com>
30457
30458         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30459         so as to get the refs right.
30460         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30461         unreffing objects that don't pass the filter.
30462
30463         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30464         gst_element_set_bus.
30465         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30466         normal cases, this will destroy the bus.
30467
30468         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30469         object.
30470
30471         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30472         has no sinks.
30473
30474 2005-05-13  Andy Wingo  <wingo@pobox.com>
30475
30476         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30477         gst_pad_link, call pad_link_maybe_ghosting,
30478         (pad_link_maybe_ghosting): Links pads, making sure that the
30479         elements being linked are in the same bin.
30480         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30481         Helpers for pad_link_maybe_ghosting.
30482
30483 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30484
30485         * configure.ac:
30486           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30487
30488 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30489
30490         * docs/design/part-element-source.txt:
30491           Mention GstPushSrc
30492
30493 2005-05-12  Wim Taymans  <wim@fluendo.com>
30494
30495         * gst/base/gstbasesink.c: (gst_basesink_init),
30496         (gst_basesink_activate):
30497         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30498         (gst_basesrc_is_seekable):
30499         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30500         (bin_element_is_sink), (gst_bin_change_state):
30501         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30502         * gst/gstelement.h:
30503         Identify sinks by their flag to avoid overly complicated
30504         checks (fow now).
30505         Do state changes even for elements not reachable from the
30506         sinks.
30507         BaseSink is a sink now :)
30508         Some more debugging info in the basesrc.
30509
30510
30511 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30512
30513         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30514           Implement _query on a bin, similar to _send_event.
30515
30516 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30517
30518         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30519           Discont event offset format should be GST_FORMAT_BYTES,
30520           not GST_FORMAT_TIME.
30521
30522 2005-05-12  Wim Taymans  <wim@fluendo.com>
30523
30524         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30525         Same fix as Ronald's but without the signal. 
30526
30527 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30528
30529         * gst/gstutils.c: (gst_element_query_position):
30530           No, an element is not a pad.
30531
30532 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30533
30534         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30535         (gst_bin_get_state):
30536           If a child is removed from a bin while we remove the child from
30537           the bin and while we're retrieving its state, signal this to the
30538           get_state function so we abort the wait (instead of waiting for
30539           a timeout) and can immediately re-iterate over all other elements.
30540
30541 2005-05-12  Wim Taymans  <wim@fluendo.com>
30542
30543         * gst/base/Makefile.am:
30544         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30545         (gst_basesrc_start):
30546         * gst/base/gstbasesrc.h:
30547         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30548         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30549         (gst_pushsrc_init), (gst_pushsrc_create):
30550         * gst/base/gstpushsrc.h:
30551         Added is_seekable to BaseSrc
30552         Added simple PushSrc.
30553
30554 2005-05-11  Wim Taymans  <wim@fluendo.com>
30555
30556         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30557         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30558         (gst_element_link_pads), (gst_element_query_position),
30559         (gst_element_query_convert), (intersect_caps_func),
30560         (gst_pad_query_position), (gst_pad_query_convert):
30561         Fix refcounting in utils function.
30562         No point in trying to activate a pad when it's added, it could
30563         be added from the state change function and then we deadlock, the
30564         element has to decide what to do.
30565
30566 2005-05-10  Andy Wingo  <wingo@pobox.com>
30567
30568         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30569         *all* the arguments.
30570
30571         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30572         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30573         lock (according to the docs -- if this is wrong change the docs).
30574
30575         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30576         flush messages in the NULL state.
30577
30578         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30579         message immediately and return.
30580         (gst_bus_set_flushing): New function. If a bus is flushing, it
30581         flushes out any queued messages and immediately unrefs new
30582         messages. This is so when an element goes to NULL, all of the
30583         unhandled messages coming from it can be freed, and their
30584         references to the element dropped. In other words: message source
30585         ref considered harmful :P
30586
30587         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30588         we're finished with it.
30589
30590         * gst/gstmessage.c (gst_message_new_state_changed): 
30591
30592 2005-05-10  Wim Taymans  <wim@fluendo.com>
30593
30594         * gst/gstvalue.c: (gst_value_compare_flags),
30595         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30596         (_gst_value_initialize):
30597         Added flags serialize/deserialize/compare code.
30598
30599 2005-05-09  Andy Wingo  <wingo@pobox.com>
30600
30601         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30602         Intersect the peer's caps with our caps.
30603
30604 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30605
30606         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30607         * gst/elements/gsttypefindelement.c: (find_peek):
30608           Handle negative offsets better. Fixes decodebin.
30609
30610 2005-05-09  Wim Taymans  <wim@fluendo.com>
30611
30612         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30613         (gst_base_transform_event):
30614         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30615         Implement accept_caps.
30616         Fix silly lock/unlock mismatch in base class.
30617
30618 2005-05-09  Wim Taymans  <wim@fluendo.com>
30619
30620         * docs/design/draft-push-pull.txt:
30621         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30622         * gst/elements/gstfilesink.c: (gst_filesink_init),
30623         (gst_filesink_query):
30624         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30625         (gst_type_find_handle_src_query), (find_element_get_length):
30626         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30627         * gst/gstelement.h:
30628         * gst/gstmessage.c:
30629         * gst/gstmessage.h:
30630         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30631         (gst_real_pad_get_caps_unlocked),
30632         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30633         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30634         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30635         (gst_real_pad_dispose), (gst_real_pad_finalize),
30636         (gst_pad_load_and_link), (gst_pad_save_thyself),
30637         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30638         (gst_pad_check_pull_range), (gst_pad_pull_range),
30639         (gst_pad_template_get_type), (gst_pad_template_class_init),
30640         (gst_pad_template_init), (gst_pad_template_dispose),
30641         (name_is_valid), (gst_static_pad_template_get),
30642         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30643         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30644         (gst_pad_get_element_private), (gst_pad_start_task),
30645         (gst_pad_pause_task), (gst_pad_stop_task),
30646         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30647         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30648         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30649         (gst_ghost_pad_new):
30650         * gst/gstpad.h:
30651         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30652         (gst_query_new_position), (gst_query_set_position),
30653         (gst_query_parse_position), (gst_query_new_convert),
30654         (gst_query_set_convert), (gst_query_parse_convert):
30655         * gst/gstquery.h:
30656         * gst/gstqueryutils.c:
30657         * gst/gstqueryutils.h:
30658         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30659         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30660         (gst_queue_handle_src_query):
30661         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30662         (gst_element_query_position), (gst_element_query_convert),
30663         (intersect_caps_func), (gst_pad_query_position),
30664         (gst_pad_query_convert):
30665         * gst/gstutils.h:
30666         * tools/gst-inspect.c: (print_pad_info):
30667         * tools/gst-xmlinspect.c: (print_element_info):
30668         Remove old query functions. Ported old code.
30669         Added position/convert helper functions to gstutils.
30670         Reordered gstpad.c code, grouping relevant things.
30671         Remove gst_message_new(), always need to speficy a specific
30672         message.
30673
30674
30675 2005-05-09  Andy Wingo  <wingo@pobox.com>
30676
30677         * gst/gstiterator.h: Add some includes.
30678
30679         * gst/gstqueryutils.h: Include more headers.
30680
30681         * gst/gstpad.h:
30682         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30683         some uses of gst_pad_query.
30684
30685         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30686         NULL out parameters.
30687         (gst_query_new_position): New proc, allocates a new position
30688         query.
30689
30690         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30691         gstqueryutils.c to the build.
30692
30693         * gst/gststructure.c (gst_structure_set_valist): Implement with
30694         the generic G_VALUE_COLLECT.
30695         
30696 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30697
30698         * gst/Makefile.am: (gst_headers):
30699         Added gstqueryutils.h to the list of headers to install, that was
30700         a 'nachty' move wingo :)
30701
30702 2005-05-06  Andy Wingo  <wingo@pobox.com>
30703
30704         * gst/gstquery.h
30705         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30706         GstData, init a memchunk.
30707         (standard_definitions): Add a few query types, deprecate a few.
30708         (gst_query_get_type): New proc.
30709         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30710         implementation.
30711         (gst_query_new_application, gst_query_get_structure): New public
30712         procs.
30713
30714         * docs/design/draft-query.txt: Removed LINKS from the query types,
30715         because all the rest can be dispatched to other pads -- seemed
30716         ugly to have a query that couldn't be dispatched. internal_links
30717         is fine as a pad method.
30718
30719         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30720         in gstpad.c, but maintain binary compatibility for the moment.
30721         Will fix before 0.9 is out.
30722
30723         * gst/gstqueryutils.c: 
30724         * gst/gstqueryutils.h: New files, implement 3 methods for each
30725         query type: parse_query, parse_response, and set. Probably need an
30726         allocator as well.
30727
30728         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30729
30730         * gst/elements/gstfilesink.c (gst_filesink_query2):
30731         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30732         query_types, and formats methods.
30733
30734         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30735         (gst_pad_set_query2_function): New functions.
30736         (gst_real_pad_init): Set query2_default as the default query2
30737         function. Basically just dispatches to internally linked pads.
30738
30739         Needs review!
30740         
30741         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30742         without using the atomic operations. Only one thread can possibly
30743         be accessing the data at this point. Changed so as to avoid
30744         gst_atomic operations.
30745
30746 2005-05-06  Wim Taymans  <wim@fluendo.com>
30747
30748         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30749         Also set caps if we use the fallback buffer alloc.
30750
30751 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30752
30753         * docs/gst/Makefile.am:
30754         * docs/gst/gstreamer-docs.sgml:
30755         * docs/gst/gstreamer-sections.txt:
30756         * docs/gst/tmpl/gstatomic.sgml:
30757         * docs/gst/tmpl/gstmemchunk.sgml:
30758         * testsuite/elements/struct_i386.h:
30759         * win32/GStreamer.vcproj:
30760         * win32/Makefile:
30761           Purge GstAtomic stuff from docs and win32 makefiles as well
30762
30763 2005-05-06  Wim Taymans  <wim@fluendo.com>
30764
30765         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30766         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30767         * gst/gstpad.c: (gst_pad_peer_get_caps):
30768         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30769         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30770         (gst_queue_src_activate), (gst_queue_change_state):
30771         * gst/gstqueue.h:
30772         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30773         (intersect_caps_func):
30774         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30775         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30776         Some fixes for the peer_get_caps() change.
30777
30778 2005-05-06  Wim Taymans  <wim@fluendo.com>
30779
30780         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30781         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30782         (gst_basesink_activate):
30783         Actually do something with error codes returned from the push
30784         functions.
30785
30786 2005-05-06  Wim Taymans  <wim@fluendo.com>
30787
30788         * docs/design/part-element-sink.txt:
30789         * docs/design/part-element-source.txt:
30790         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30791         (gst_basesink_event), (gst_basesink_activate):
30792         * gst/base/gstbasesink.h:
30793         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30794         (gst_basesrc_activate):
30795         * gst/base/gstbasesrc.h:
30796         * gst/gstelement.c: (gst_element_pads_activate):
30797         Some more documentation.
30798         Fixed scheduling decision in _pads_activate().
30799
30800 2005-05-05  Andy Wingo  <wingo@pobox.com>
30801
30802         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30803         the test suite.
30804
30805 2005-05-05  Wim Taymans  <wim@fluendo.com>
30806
30807         * gst/base/Makefile.am:
30808         * gst/base/gstbasesink.h:
30809         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30810         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30811         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30812         (gst_collectpads_class_init), (gst_collectpads_init),
30813         (gst_collectpads_finalize), (gst_collectpads_new),
30814         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30815         (find_pad), (gst_collectpads_remove_pad),
30816         (gst_collectpads_is_active), (gst_collectpads_collect),
30817         (gst_collectpads_collect_range), (gst_collectpads_start),
30818         (gst_collectpads_stop), (gst_collectpads_peek),
30819         (gst_collectpads_pop), (gst_collectpads_available),
30820         (gst_collectpads_read), (gst_collectpads_flush),
30821         (gst_collectpads_chain):
30822         * gst/base/gstcollectpads.h:
30823         * gst/elements/Makefile.am:
30824         * gst/elements/gstelements.c:
30825         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30826         (gst_fakesink_get_times), (gst_fakesink_event),
30827         (gst_fakesink_preroll), (gst_fakesink_render):
30828         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30829         (gst_filesink_init), (gst_filesink_set_location),
30830         (gst_filesink_open_file), (gst_filesink_close_file),
30831         (gst_filesink_pad_query), (gst_filesink_event),
30832         (gst_filesink_render), (gst_filesink_change_state):
30833         * gst/elements/gstfilesink.h:
30834         Added object to help in making collect pad based elements.
30835         Ported filesink.
30836         Make event function in sink baseclass return gboolean.
30837
30838 2005-05-05  Wim Taymans  <wim@fluendo.com>
30839
30840         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30841         (gst_bin_get_by_name):
30842         * gst/gstbuffer.h:
30843         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30844         (gst_clock_finalize):
30845         * gst/gstdata.c: (gst_data_replace):
30846         * gst/gstdata.h:
30847         * gst/gstelement.c: (gst_element_request_pad),
30848         (gst_element_pads_activate):
30849         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30850         (gst_object_unref):
30851         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30852         (gst_pad_set_checkgetrange_function),
30853         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30854         (gst_pad_check_pull_range), (gst_pad_pull_range),
30855         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30856         (gst_pad_pause_task), (gst_pad_stop_task):
30857         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30858         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30859         Fix name lookup in GstBin.
30860         Added _data_replace() function and _buffer_replace()
30861         Use finalize method to clean up clock.
30862         Fix refcounting on request pads.
30863         Fix pad schedule mode error.
30864         Some more object refcounting debug info,
30865
30866
30867 2005-05-04  Andy Wingo <wingo@pobox.com>
30868
30869         * check/Makefile.am:
30870         * docs/gst/tmpl/gstatomic.sgml:
30871         * docs/gst/tmpl/gstplugin.sgml:
30872         * gst/base/gstbasesink.c: (gst_basesink_activate):
30873         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30874         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30875         (gst_basesrc_query), (gst_basesrc_set_property),
30876         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30877         (gst_basesrc_activate):
30878         * gst/base/gstbasesrc.h:
30879         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30880         (gst_base_transform_src_activate):
30881         * gst/elements/gstelements.c:
30882         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30883         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30884         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30885         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30886         (gst_type_find_element_checkgetrange),
30887         (gst_type_find_element_activate):
30888         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30889         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30890         (gst_caps_load_thyself):
30891         * gst/gstelement.c: (gst_element_pads_activate),
30892         (gst_element_save_thyself), (gst_element_restore_thyself):
30893         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30894         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30895         * gst/gstpad.h:
30896         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30897         (gst_xml_parse_file), (gst_xml_parse_memory),
30898         (gst_xml_get_element), (gst_xml_make_element):
30899         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30900         (_file_index_id_save_xml), (gst_file_index_commit):
30901         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30902         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30903         (load_paths):
30904         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30905         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30906         * tools/gst-complete.c: (main):
30907         * tools/gst-compprep.c: (main):
30908         * tools/gst-inspect.c: (print_element_properties_info):
30909         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30910         * tools/gst-xmlinspect.c: (print_element_properties):
30911         GCC 4 fixen.
30912         
30913 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30914
30915         * gst/gstplugin.c: (gst_plugin_check_module),
30916         (gst_plugin_check_file), (gst_plugin_load_file):
30917             apply patch from #172526 to make register work on MacOSX
30918
30919 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30920
30921         * docs/gst/tmpl/gstconfig.sgml:
30922         * gst/gstconfig.h.in:
30923           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30924         * testsuite/debug/printf_extension.c: (main):
30925           Do not use GST_PTR_FORMAT on pointers to types with
30926           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30927         * testsuite/elements/property.h:
30928           use correct printf format
30929
30930 2005-05-02  Wim Taymans  <wim@fluendo.com>
30931
30932         * docs/design/draft-push-pull.txt:
30933         * docs/design/draft-query.txt:
30934         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30935         (gst_basesrc_start):
30936         Added draft for new query API.
30937         Added draft for better selecting scheduling methods.
30938         Make basesrc ignore length if the subclass does not support
30939         it.
30940
30941 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30942
30943         * gst/Makefile.am:
30944           possible fixes for automake-1.5 - _LIBADD is reserved
30945
30946 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30947
30948         * docs/faq/Makefile.am:
30949         * docs/manual/Makefile.am:
30950         * docs/manuals.mak:
30951         * docs/pwg/Makefile.am:
30952         * gst/Makefile.am:
30953           possible fixes for automake-1.5
30954
30955 2005-04-28  Wim Taymans  <wim@fluendo.com>
30956
30957         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30958         (gst_basesink_pad_getcaps), (gst_basesink_init),
30959         (gst_basesink_do_sync):
30960         * gst/gstclock.c: (gst_clock_entry_new):
30961         * gst/gstevent.c: (gst_event_discont_get_value):
30962         * gst/gstpipeline.c: (pipeline_bus_handler),
30963         (gst_pipeline_change_state):
30964         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30965         Better debugging of clocking info.
30966         Allow NULL values when getting discont values.
30967
30968 2005-04-27  Wim Taymans  <wim@fluendo.com>
30969
30970         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30971         * check/gst/gstpad.c: (gst_pad_suite):
30972         Increase timeout for checks.
30973
30974 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30975
30976         * check/Makefile.am:
30977           fix the broken rule for cleanup.  Apparently this rule is
30978           only needed on FC2, so maybe this warrants further autotool
30979           inspection.
30980
30981 2005-04-26  Wim Taymans  <wim@fluendo.com>
30982
30983         * gst/gsttrashstack.h:
30984         Ooohh. a nasty one! After having a failed pop() from the stack,
30985         it's possible that the stack is empty. In that case, don't
30986         follow the NULL pointer.
30987
30988 2005-04-25  Wim Taymans  <wim@fluendo.com>
30989
30990         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30991         (gst_pad_set_checkgetrange_function),
30992         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30993         (gst_pad_check_pull_range), (gst_pad_pull_range),
30994         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30995         (gst_pad_pause_task), (gst_pad_stop_task):
30996         * gst/gstplugin.c: (gst_plugin_load):
30997         * gst/gstplugin.h:
30998         Remove gst_library_load as it does more harm than good with
30999         the new g_module flags.
31000         Revert bogus caps template check in pad linking, pad caps
31001         are important when linking not the template, which is more
31002         general than the current caps.
31003
31004 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31005
31006         * gst/autoplug/.cvsignore:
31007         * gst/autoplug/Makefile.am:
31008         * gst/autoplug/gstsearchfuncs.c:
31009         * gst/autoplug/gstsearchfuncs.h:
31010         * gst/autoplug/gstspider.c:
31011         * gst/autoplug/gstspider.h:
31012         * gst/autoplug/gstspideridentity.c:
31013         * gst/autoplug/gstspideridentity.h:
31014         * gst/autoplug/spidertest.c:
31015           Die, spider, die.
31016
31017 2005-04-25  Wim Taymans  <wim@fluendo.com>
31018
31019         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31020         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31021         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31022         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31023         * gst/gstpad.h:
31024         Added stubs for unimplemented functions. 
31025
31026 2005-04-24  David Schleef  <ds@schleef.org>
31027
31028         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31029         please fix.
31030
31031 2005-04-24  David Schleef  <ds@schleef.org>
31032
31033         Convert everything from GstAtomicInt to g_atomic_int_*, and
31034         remove gstatomic.
31035         * gst/Makefile.am:
31036         * gst/gstatomic.c:
31037         * gst/gstatomic.h:
31038         * gst/gstatomic_impl.h:
31039         * gst/gstbuffer.c:
31040         * gst/gstcaps.c:
31041         * gst/gstcaps.h:
31042         * gst/gstclock.c:
31043         * gst/gstclock.h:
31044         * gst/gstdata.c:
31045         * gst/gstdata.h:
31046         * gst/gstdata_private.h:
31047         * gst/gstevent.c:
31048         * gst/gstinfo.c:
31049         * gst/gstinfo.h:
31050         * gst/gstmessage.c:
31051         * gst/gstobject.c:
31052         * gst/gstobject.h:
31053         * gst/gststructure.c:
31054         * gst/gststructure.h:
31055         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31056         * gst/gstutils.h:
31057
31058 2005-04-24  David Schleef  <ds@schleef.org>
31059
31060         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31061         make the regressions tests work.  Remove some code that is no
31062         longer true.
31063         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31064         Disable warning for pads without templates.
31065
31066 2005-04-24  David Schleef  <ds@schleef.org>
31067
31068         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31069         functions that handle filtered links.
31070         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31071         removed functions.
31072         * gst/gstutils.c: Fix/remove utility functions that handle
31073         filtered caps.
31074         * gst/gstutils.h:
31075         * gst/gstvalue.c: Add serialization/deserialization of caps
31076         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31077         requires fixing so that the filter caps notation creates
31078         a capsfilter element and sets the filter_caps property.  I
31079         think everyone probably wants to keep the shorthand notation.
31080         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31081         * docs/gst/tmpl/gstpad.sgml:
31082
31083         * gst/elements/gstelements.c: Register capsfilter element.
31084         * gst/Makefile.am: fix spacing
31085         * docs/random/ds/0.9-suggested-changes: random
31086
31087 2005-04-23  David Schleef  <ds@schleef.org>
31088
31089         * gst/elements/Makefile.am:
31090         * gst/elements/gstcapsfilter.c: New element that acts like an
31091         identity, but filters caps.  Will eventually replace filtered
31092         caps in pad linking.
31093         * gst/gstutils.c: (gst_element_create_all_pads): New function
31094         to create all the ALWAYS pads that are registered with an
31095         element class.  This functionality should eventually be
31096         merged in with GstElement initialization.
31097         * gst/gstutils.h:
31098         * testsuite/trigger/README: part of trigger test code that should
31099         have been checked in a long time ago.
31100
31101 2005-04-23  David Schleef  <ds@schleef.org>
31102
31103         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31104         needed with new versions of libtool (nobody will confirm this),
31105         and hard to carry around.
31106         * gst/autoplug/Makefile.am:
31107         * gst/base/Makefile.am:
31108         * gst/elements/Makefile.am:
31109         * gst/indexers/Makefile.am:
31110         * gst/schedulers/Makefile.am:
31111         * libs/gst/bytestream/Makefile.am:
31112         * libs/gst/control/Makefile.am:
31113         * libs/gst/dataprotocol/Makefile.am:
31114         * libs/gst/getbits/Makefile.am:
31115
31116 2005-04-21  Wim Taymans  <wim@fluendo.com>
31117
31118         * docs/design/draft-push-pull.txt:
31119         * docs/design/part-MT-refcounting.txt:
31120         * docs/design/part-TODO.txt:
31121         * docs/design/part-caps.txt:
31122         * docs/design/part-events.txt:
31123         * docs/design/part-gstbus.txt:
31124         * docs/design/part-gstpipeline.txt:
31125         * docs/design/part-messages.txt:
31126         * docs/design/part-push-pull.txt:
31127         * docs/design/part-query.txt:
31128         Some more docs.
31129
31130 2005-04-21  Wim Taymans  <wim@fluendo.com>
31131
31132         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31133         (gst_message_new), (gst_message_new_error),
31134         (gst_message_new_warning), (gst_message_new_tag),
31135         (gst_message_new_state_changed), (gst_message_new_application),
31136         (gst_message_get_structure):
31137         * gst/gstmessage.h:
31138         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31139         (gst_structure_copy_conditional):
31140         Use parent refcount in GstMessage to ensure GstStructure
31141         consistency.
31142         Cleaned up headers a bit.
31143         
31144
31145 2005-04-20  Wim Taymans  <wim@fluendo.com>
31146
31147         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31148         (gst_basesink_pad_getcaps), (gst_basesink_init),
31149         (gst_basesink_chain_unlocked):
31150         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31151         (gst_type_find_helper):
31152         * gst/elements/gsttypefindelement.c:
31153         (gst_type_find_element_have_type), (gst_type_find_element_init),
31154         (stop_typefinding), (gst_type_find_element_handle_event),
31155         (find_suggest), (gst_type_find_element_chain),
31156         (gst_type_find_element_checkgetrange),
31157         (gst_type_find_element_getrange), (do_typefind),
31158         (gst_type_find_element_activate):
31159         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31160         (gst_buffer_default_free), (gst_buffer_default_copy),
31161         (gst_buffer_set_caps):
31162         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31163         (gst_caps_replace):
31164         * gst/gstmessage.c: (gst_message_new),
31165         (gst_message_new_state_changed):
31166         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31167         (gst_pad_set_checkgetrange_function),
31168         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31169         (gst_pad_set_caps), (gst_pad_check_pull_range),
31170         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31171         * gst/gstpad.h:
31172         * gst/gsttypefind.c: (gst_type_find_register):
31173         Make gst_caps_replace() work like other _replace() functions.
31174         Use _caps_replace() where possible.
31175         Make sure _message_new() initialises its field.
31176         Add gst_static_pad_template_get_caps()
31177
31178
31179 2005-04-18  Andy Wingo  <wingo@pobox.com>
31180
31181         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31182         on the peer, not the pad. I think that was a typo. Pass an extra
31183         arg to see if random access is possible. Activate the pads as
31184         PULL_RANGE if possible.
31185
31186         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31187
31188         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31189         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31190         to PROP_....
31191
31192 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31193
31194         * docs/faq/using.xml:
31195           Add note on gstreamer-properties (#154996).
31196
31197 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31198
31199         * docs/random/bbb/optional-properties:
31200           Some analysis on optional properties.
31201
31202 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31203
31204         * docs/gst/tmpl/gstelementfactory.sgml:
31205         * gst/gstelement.h:
31206         * gst/gstelementfactory.c: (gst_element_factory_init),
31207         (gst_element_factory_cleanup), (gst_element_register),
31208         (__gst_element_factory_add_static_pad_template),
31209         (gst_element_factory_get_static_pad_templates),
31210         (gst_element_factory_can_src_caps),
31211         (gst_element_factory_can_sink_caps):
31212         * gst/registries/Makefile.am:
31213         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31214         (gst_xml_registry_class_init), (gst_xml_registry_init),
31215         (gst_xml_registry_new), (gst_xml_registry_set_property),
31216         (gst_xml_registry_get_property), (get_time), (make_dir),
31217         (gst_xml_registry_get_perms_func),
31218         (plugin_times_older_than_recurse), (plugin_times_older_than),
31219         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31220         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31221         (add_to_char_array), (read_string), (read_uint), (read_enum),
31222         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31223         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31224         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31225         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31226         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31227         (gst_xml_registry_rebuild):
31228         * gst/registries/gstlibxmlregistry.h:
31229         * tools/gst-compprep.c: (main):
31230         * tools/gst-inspect.c: (print_pad_templates_info):
31231         * tools/gst-xmlinspect.c: (print_element_info):
31232           Use libxml2 for registry parsing, use staticpadtemplates in
31233           elementfactories. Makes gst_init() +/- 10x faster.
31234
31235 2005-04-12  Wim Taymans  <wim@fluendo.com>
31236
31237         * gst/base/Makefile.am:
31238         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31239         (gst_basesink_pad_getcaps), (gst_basesink_init),
31240         (gst_basesink_event), (gst_basesink_change_state):
31241         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31242         (gst_basesrc_init), (gst_basesrc_query),
31243         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31244         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31245         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31246         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31247         (gst_basesrc_stop), (gst_basesrc_activate),
31248         (gst_basesrc_change_state):
31249         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31250         (helper_find_suggest), (gst_type_find_helper):
31251         * gst/base/gsttypefindhelper.h:
31252         * gst/elements/Makefile.am:
31253         * gst/elements/gstelements.c:
31254         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31255         (gst_fakesink_get_times), (gst_fakesink_event),
31256         (gst_fakesink_preroll), (gst_fakesink_render):
31257         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31258         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31259         (gst_fakesrc_get_property), (gst_fakesrc_create),
31260         (gst_fakesrc_start), (gst_fakesrc_stop):
31261         * gst/elements/gstfakesrc.h:
31262         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31263         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31264         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31265         (gst_filesrc_create_read), (gst_filesrc_create),
31266         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31267         (gst_filesrc_start):
31268         * gst/elements/gsttypefindelement.c:
31269         (gst_type_find_element_have_type), (gst_type_find_element_init),
31270         (start_typefinding), (stop_typefinding), (push_buffer_store),
31271         (gst_type_find_element_handle_event),
31272         (gst_type_find_element_chain),
31273         (gst_type_find_element_checkgetrange),
31274         (gst_type_find_element_getrange), (do_typefind),
31275         (gst_type_find_element_activate),
31276         (gst_type_find_element_change_state):
31277         * gst/elements/gsttypefindelement.h:
31278         * gst/gstpipeline.c: (pipeline_bus_handler):
31279         Added typefind helper.
31280         Small preroll fix in the base sink.
31281         Disable typefind code in basesrc.
31282         Crude port of typefindelement.
31283         Fakesrc cleanups.
31284
31285
31286 2005-04-11  Wim Taymans  <wim@fluendo.com>
31287
31288         * check/gst/gstbus.c: (gstbus_suite):
31289         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31290         * check/gstcheck.h:
31291           Fix up the timeout so that the test does not fail.
31292
31293 2005-04-06  Wim Taymans  <wim@fluendo.com>
31294
31295         * gst/base/README:
31296         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31297         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31298         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31299         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31300         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31301         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31302         (gst_basesrc_stop), (gst_basesrc_activate),
31303         (gst_basesrc_change_state), (basesrc_find_peek),
31304         (basesrc_find_suggest), (gst_basesrc_type_find):
31305         * gst/base/gstbasesrc.h:
31306         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31307         (gst_filesrc_class_init), (gst_filesrc_init),
31308         (gst_filesrc_finalize), (gst_filesrc_set_location),
31309         (gst_filesrc_set_property), (gst_filesrc_get_property),
31310         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31311         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31312         (gst_filesrc_create_read), (gst_filesrc_create),
31313         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31314         * gst/elements/gstfilesrc.h:
31315         * gst/gstelement.c: (gst_element_get_state_func),
31316         (gst_element_lost_state), (gst_element_pads_activate):
31317         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31318         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31319         (gst_pad_pull_range):
31320         * gst/gstpad.h:
31321         More work on the generic source base class, implement seeking,
31322         query.
31323         Make filesrc extend the base source class.
31324         Added gst_pad_set_checkgetrange_function to GstPad.
31325
31326 2005-04-06  Andy Wingo  <wingo@pobox.com>
31327
31328         * pkgconfig/gstreamer-base.pc.in:
31329         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31330
31331         * pkgconfig/Makefile.am:
31332         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31333
31334 2005-04-04  Wim Taymans  <wim@fluendo.com>
31335
31336         * gst/base/Makefile.am:
31337         * gst/base/README:
31338         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31339         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31340         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31341         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31342         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31343         (gst_basesrc_base_init), (gst_basesrc_class_init),
31344         (gst_basesrc_init), (gst_basesrc_get_formats),
31345         (gst_basesrc_get_query_types), (gst_basesrc_query),
31346         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31347         (gst_basesrc_set_property), (gst_basesrc_get_property),
31348         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31349         (gst_basesrc_loop), (gst_basesrc_activate),
31350         (gst_basesrc_change_state):
31351         * gst/base/gstbasesrc.h:
31352         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31353         (gst_fakesrc_class_init), (gst_fakesrc_init),
31354         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31355         (gst_fakesrc_get_property), (gst_fakesrc_create):
31356         * gst/elements/gstfakesrc.h:
31357         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31358         (gst_filesrc_open_file), (gst_filesrc_loop),
31359         (gst_filesrc_activate), (filesrc_find_peek),
31360         (gst_filesrc_type_find):
31361         Made base source class, make fakesrc extend it.
31362         Add comments to basesink class.
31363         Some filesrc cleanup.
31364
31365 2005-03-31  David Schleef  <ds@schleef.org>
31366
31367         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31368         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31369         expected to link against libgstreamer.
31370         * gst/base/Makefile.am: link against libgstreamer
31371         * gst/elements/Makefile.am: same
31372
31373 2005-03-31  Andy Wingo  <wingo@pobox.com>
31374
31375         * tests/instantiate/Makefile.am:
31376         * tests/instantiate/caps.c: Add test to test speed of caps copy
31377         and free.
31378
31379         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31380         GMemChunk to be fair.
31381
31382         * gst/gsttrashstack.h: Remove warning about using the fallback
31383         trash stack implementation, it's still faster than malloc.
31384
31385 2005-03-30  Andy Wingo  <wingo@pobox.com>
31386
31387         * tests/complexity.c: Add a copyright.
31388
31389 2005-03-31  Wim Taymans  <wim@fluendo.com>
31390
31391         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31392         (gst_base_transform_class_init), (gst_base_transform_init),
31393         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31394         (gst_base_transform_get_property),
31395         (gst_base_transform_sink_activate),
31396         (gst_base_transform_src_activate),
31397         (gst_base_transform_change_state):
31398         * gst/base/gstbasetransform.h:
31399         * gst/elements/gstidentity.c: (gst_identity_class_init),
31400         (gst_identity_event), (gst_identity_check_perfect),
31401         (gst_identity_transform), (gst_identity_start),
31402         (gst_identity_stop):
31403         Added start/stop methods to transform base class so subclasses 
31404         don't need to deal with state changes even.
31405
31406 2005-03-31  Wim Taymans  <wim@fluendo.com>
31407
31408         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31409         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31410         * gst/gstevent.h:
31411         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31412         (gst_pad_pull_range):
31413         Added rate to the discont event to prepare for variable speed
31414         and reverse playback.
31415
31416 2005-03-29  David Schleef  <ds@schleef.org>
31417
31418         * configure.ac:
31419         * testsuite/trigger/Makefile.am:
31420         * testsuite/trigger/trigger.c: A little example program to show
31421         how trigger-based elements can work.
31422
31423 2005-03-29  Wim Taymans  <wim@fluendo.com>
31424
31425         * gst/base/Makefile.am:
31426         * gst/base/README:
31427         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31428         (gst_basesink_base_init), (gst_basesink_class_init),
31429         (gst_basesink_pad_getcaps), (gst_basesink_init),
31430         (gst_basesink_activate), (gst_basesink_change_state):
31431         * gst/base/gstbasesink.h:
31432         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31433         (gst_base_transform_base_init), (gst_base_transform_finalize),
31434         (gst_base_transform_class_init), (gst_base_transform_init),
31435         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31436         (gst_base_transform_event), (gst_base_transform_getrange),
31437         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31438         (gst_base_transform_set_property),
31439         (gst_base_transform_get_property),
31440         (gst_base_transform_sink_activate),
31441         (gst_base_transform_src_activate),
31442         (gst_base_transform_change_state):
31443         * gst/base/gstbasetransform.h:
31444         * gst/elements/gstidentity.c: (gst_identity_finalize),
31445         (gst_identity_class_init), (gst_identity_init),
31446         (gst_identity_event), (gst_identity_check_perfect),
31447         (gst_identity_transform), (gst_identity_set_property),
31448         (gst_identity_get_property), (gst_identity_change_state):
31449         * gst/elements/gstidentity.h:
31450         * gst/gstelement.c: (gst_element_get_state_func),
31451         (gst_element_lost_state), (gst_element_pads_activate):
31452         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31453         (gst_pad_check_pull_range), (gst_pad_pull_range):
31454         * gst/gstpad.h:
31455         Simplify pad activation.
31456         Added function to check if pull_range can be performed.
31457         Error out when pulling inactive or flushing pads.
31458         Removed const from refcounted types as it does not make sense.
31459         Simplify pad templates in basesink
31460         Added base class for simple 1-to-1 transforms.
31461         Make identity subclass the base transform.
31462
31463 2005-03-29  Andy Wingo  <wingo@pobox.com>
31464
31465         * docs/libs/gstreamer-libs-overrides.txt: 
31466         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31467         really don't understand what's going on, but like whatever. I want
31468         green buildbot!
31469
31470         * docs/gst/Makefile.am:
31471         * docs/libs/Makefile.am: Dist the overrides files.
31472
31473         * check/Makefile.am (clean-local): Remove .libs directories.
31474
31475         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31476         elements to EXTRA_DIST, so po/ files are happy.
31477
31478         * po/POTFILES.in: Er, remove it here.
31479
31480         * po/POTFILES: Remove gstspider.c.
31481
31482         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31483
31484         * docs/libs/gstreamer-libs-docs.sgml: 
31485         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31486         bytestream.
31487
31488         * tests/complexity.c (main): Set the length of the preroll queue
31489         on the sinks to prevent a lockup.
31490
31491         * libs/gst/dataprotocol/Makefile.am: 
31492         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31493         the same as the one in check/gst-libs/gdp.c.
31494
31495         * po/, docs/gst/: Commit automatic changes to docs and po files.
31496
31497         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31498         the versioned libgstbase.
31499
31500         * check/Makefile.am: Depend on an unversioned gst-register, seems
31501         to make autoconf happier.
31502
31503         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31504
31505 2005-03-28  Wim Taymans  <wim@fluendo.com>
31506
31507         * configure.ac:
31508         * docs/design/part-gstelement.txt:
31509         * docs/design/part-negotiation.txt:
31510         * docs/design/part-preroll.txt:
31511         * docs/design/part-scheduling.txt:
31512         * docs/design/part-states.txt:
31513         * gst/Makefile.am:
31514         * gst/base/Makefile.am:
31515         * gst/base/README:
31516         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31517         (gst_basesink_base_init), (gst_basesink_class_init),
31518         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31519         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31520         (gst_basesink_set_pad_functions),
31521         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31522         (gst_basesink_set_property), (gst_basesink_get_property),
31523         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31524         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31525         (gst_basesink_preroll_queue_push),
31526         (gst_basesink_preroll_queue_empty),
31527         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31528         (gst_basesink_event), (gst_basesink_get_times),
31529         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31530         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31531         (gst_basesink_loop), (gst_basesink_activate),
31532         (gst_basesink_change_state):
31533         * gst/base/gstbasesink.h:
31534         * gst/elements/Makefile.am:
31535         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31536         (gst_fakesink_class_init), (gst_fakesink_init),
31537         (gst_fakesink_set_property), (gst_fakesink_get_property),
31538         (gst_fakesink_get_times), (gst_fakesink_event),
31539         (gst_fakesink_preroll), (gst_fakesink_render),
31540         (gst_fakesink_change_state):
31541         * gst/elements/gstfakesink.h:
31542         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31543         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31544         * gst/gstelement.c: (gst_element_add_pad),
31545         (gst_element_get_state_func), (gst_element_abort_state),
31546         (gst_element_commit_state), (gst_element_lost_state),
31547         (gst_element_set_state), (gst_element_pads_activate):
31548         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31549         * gst/gstpipeline.c: (gst_pipeline_send_event),
31550         (gst_pipeline_change_state):
31551         Added state change code.
31552         Added/updated docs.
31553         Added sink base class, make fakesink extend the base class.
31554         Small cleanups in GstPipeline.
31555
31556 2005-03-26  David Schleef  <ds@schleef.org>
31557
31558         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31559         is broken and should be implemented in a different library.
31560         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31561         * gst/gst.h: remove gstcpu.h
31562         * gst/gstcpu.c: remove
31563         * gst/gstcpu.h: remove
31564         * gst/Makefile.am.future: Remove this file.  It's ancient.
31565
31566 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31567
31568         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31569         (gst_bin_send_event):
31570           Add default event/set_manager handlers. The set_manager handler
31571           takes care that the manager is distributed over kids that were
31572           already in the bin before the manager was set. The event handler
31573           is a utility virtual function that sends the event over all sinks,
31574           so that gst_element_send_event (bin, event); has the expected
31575           behaviour.
31576         * gst/gstpad.c: (gst_pad_event_default):
31577           Re-install default event handling for discontinuities, so that
31578           seeking works without requiring hacks in applications or extra
31579           code in sinks.
31580         * gst/gstpipeline.c: (gst_pipeline_class_init),
31581         (gst_pipeline_send_event):
31582           Half hack, half utility: set a pipeline to PAUSED for seek events,
31583           since that is the only way we can guarantee a/v sync. Means that
31584           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31585           and it "just works".
31586
31587 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31588
31589         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31590           Lock/unlock mismatch.
31591
31592 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31593
31594         * docs/faq/gst-uninstalled:
31595           add gst-plugins-base
31596         * docs/gst/Makefile.am:
31597           don't error out until docs are fixed
31598         * docs/gst/gstreamer.types:
31599           remove thread
31600
31601 2005-03-22  Wim Taymans  <wim@fluendo.com>
31602
31603         * check/Makefile.am:
31604         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31605         * gst/gststructure.c: (gst_structure_set_valist),
31606         (gst_structure_copy_conditional):
31607         Activated more tests.
31608         Added message test.
31609         Added G_TYPE_POINTER to GstStructure.
31610         
31611
31612 2005-03-22  Wim Taymans  <wim@fluendo.com>
31613
31614         * docs/design/part-TODO.txt:
31615         * docs/design/part-events.txt:
31616         * docs/design/part-gstbin.txt:
31617         * docs/design/part-gstbus.txt:
31618         * docs/design/part-gstpipeline.txt:
31619         * docs/design/part-messages.txt:
31620         * gst/gstbus.c:
31621         * gst/gstmessage.c:
31622         Docs updates
31623
31624 2005-03-21  Wim Taymans  <wim@fluendo.com>
31625
31626         * gst/gstbus.c: (gst_bus_post):
31627         Fix copy-and-paste error.
31628
31629 2005-03-21  Wim Taymans  <wim@fluendo.com>
31630
31631         * check/Makefile.am:
31632         * gst/Makefile.am:
31633         * gst/elements/Makefile.am:
31634         * gst/elements/gstelements.c:
31635         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31636         (gst_fakesink_event), (gst_fakesink_chain):
31637         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31638         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31639         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31640         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31641         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31642         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31643         (gst_fakesrc_loop), (gst_fakesrc_activate),
31644         (gst_fakesrc_change_state):
31645         * gst/elements/gstfakesrc.h:
31646         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31647         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31648         (gst_filesrc_open_file), (gst_filesrc_loop),
31649         (gst_filesrc_activate), (gst_filesrc_change_state),
31650         (filesrc_find_peek), (filesrc_find_suggest),
31651         (gst_filesrc_type_find):
31652         * gst/elements/gstidentity.c: (gst_identity_finalize),
31653         (gst_identity_class_init), (gst_identity_init),
31654         (gst_identity_proxy_getcaps), (identity_queue_push),
31655         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31656         (gst_identity_getrange), (gst_identity_chain),
31657         (gst_identity_sink_loop), (gst_identity_src_loop),
31658         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31659         (gst_identity_set_property), (gst_identity_get_property),
31660         (gst_identity_change_state):
31661         * gst/elements/gstidentity.h:
31662         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31663         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31664         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31665         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31666         (gst_tee_sink_activate):
31667         * gst/elements/gsttee.h:
31668         * gst/gst.c: (gst_register_core_elements), (init_post):
31669         * gst/gst.h:
31670         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31671         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31672         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31673         (gst_bin_change_state):
31674         * gst/gstbin.h:
31675         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31676         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31677         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31678         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31679         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31680         (bus_watch_callback), (bus_watch_destroy),
31681         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31682         (poll_timeout), (gst_bus_poll):
31683         * gst/gstbus.h:
31684         * gst/gstcaps.h:
31685         * gst/gstdata.h:
31686         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31687         (gst_element_post_message), (gst_element_message_full),
31688         (gst_element_get_state_func), (gst_element_get_state),
31689         (gst_element_abort_state), (gst_element_commit_state),
31690         (gst_element_lost_state), (gst_element_set_state),
31691         (gst_element_pads_activate), (gst_element_change_state),
31692         (gst_element_dispose), (gst_element_set_manager_func),
31693         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31694         (gst_element_set_manager), (gst_element_get_manager),
31695         (gst_element_set_bus), (gst_element_get_bus),
31696         (gst_element_set_scheduler), (gst_element_get_scheduler):
31697         * gst/gstelement.h:
31698         * gst/gstevent.c: (gst_event_new_segment_seek),
31699         (gst_event_new_flush):
31700         * gst/gstevent.h:
31701         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31702         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31703         (gst_message_new_eos), (gst_message_new_error),
31704         (gst_message_new_warning), (gst_message_new_tag),
31705         (gst_message_new_state_changed), (gst_message_new_application),
31706         (gst_message_get_structure), (gst_message_parse_tag),
31707         (gst_message_parse_state_changed), (gst_message_parse_error),
31708         (gst_message_parse_warning):
31709         * gst/gstmessage.h:
31710         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31711         (gst_real_pad_set_property), (gst_pad_set_active),
31712         (gst_pad_is_active), (gst_pad_set_blocked_async),
31713         (gst_pad_set_blocked), (gst_pad_is_blocked),
31714         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31715         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31716         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31717         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31718         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31719         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31720         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31721         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31722         (gst_pad_set_caps), (gst_pad_configure_sink),
31723         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31724         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31725         (gst_real_pad_dispose), (gst_real_pad_finalize),
31726         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31727         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31728         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31729         * gst/gstpad.h:
31730         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31731         (pipeline_bus_handler), (gst_pipeline_change_state),
31732         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31733         * gst/gstpipeline.h:
31734         * gst/gstprobe.h:
31735         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31736         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31737         (gst_queue_link_src), (gst_queue_bufferalloc),
31738         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31739         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31740         (gst_queue_loop), (gst_queue_handle_src_event),
31741         (gst_queue_handle_src_query), (gst_queue_src_activate),
31742         (gst_queue_change_state):
31743         * gst/gstqueue.h:
31744         * gst/gstscheduler.c: (gst_scheduler_init),
31745         (gst_scheduler_dispose), (gst_scheduler_create_task),
31746         (gst_scheduler_factory_create):
31747         * gst/gstscheduler.h:
31748         * gst/gststructure.c: (gst_structure_get_type),
31749         (gst_structure_copy_conditional):
31750         * gst/gststructure.h:
31751         * gst/gsttaginterface.h:
31752         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31753         (gst_task_init), (gst_task_dispose), (gst_task_create),
31754         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31755         (gst_task_pause):
31756         * gst/gsttask.h:
31757         * gst/gstthread.c:
31758         * gst/gstthread.h:
31759         * gst/gsttypes.h:
31760         * gst/schedulers/Makefile.am:
31761         * gst/schedulers/cothreads_compat.h:
31762         * gst/schedulers/entryscheduler.c:
31763         * gst/schedulers/faircothreads.c:
31764         * gst/schedulers/faircothreads.h:
31765         * gst/schedulers/fairscheduler.c:
31766         * gst/schedulers/gstbasicscheduler.c:
31767         * gst/schedulers/gstoptimalscheduler.c:
31768         * gst/schedulers/gthread-cothreads.h:
31769         * gst/schedulers/threadscheduler.c:
31770         (gst_thread_scheduler_task_get_type),
31771         (gst_thread_scheduler_task_class_init),
31772         (gst_thread_scheduler_task_init),
31773         (gst_thread_scheduler_task_start),
31774         (gst_thread_scheduler_task_stop),
31775         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31776         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31777         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31778         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31779         (plugin_init):
31780         * libs/gst/Makefile.am:
31781         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31782         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31783         (gst_file_pad_parent_set):
31784         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31785         (gst_dp_event_from_packet):
31786         * tests/complexity.c: (main):
31787         * tests/mass_elements.c: (main):
31788         * testsuite/states/locked.c: (message_received), (main):
31789         * testsuite/states/parent.c: (main):
31790         * tools/gst-inspect.c: (print_element_flag_info),
31791         (print_implementation_info), (print_pad_info):
31792         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31793         (main):
31794         * tools/gst-md5sum.c: (event_loop), (main):
31795         * tools/gst-typefind.c: (main):
31796         * tools/gst-xmlinspect.c: (print_element_info):
31797         Next big merge.
31798         Added GstBus for mainloop integration.
31799         Added GstMessage for sending notifications on the bus.
31800         Added GstTask as an abstraction for pipeline entry points.
31801         Removed GstThread.
31802         Removed Schedulers.
31803         Simplified GstQueue for multithreaded core.
31804         Made _link threadsafe, removed old capsnego.
31805         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31806         Added pad blocking functions.
31807         Reworked scheduling functions in GstPad to prepare for
31808         scheduling updates soon.
31809         Moved events out of data stream.
31810         Simplified GstEvent types.
31811         Added return values to push/pull.
31812         Removed clocking from GstElement.
31813         Added prototypes for state change function for next merge.
31814         Removed iterate from bins and state change management.
31815         Fixed some elements, disabled others for now.
31816         Fixed -inspect and -launch.
31817         Added check for GstBus.
31818
31819 2005-03-10  Wim Taymans  <wim@fluendo.com>
31820
31821         * docs/design/part-MT-refcounting.txt:
31822         * docs/design/part-clocks.txt:
31823         * docs/design/part-gstelement.txt:
31824         * docs/design/part-gstobject.txt:
31825         * docs/design/part-standards.txt:
31826         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31827         (gst_bin_remove_func), (gst_bin_remove):
31828         * gst/gstbin.h:
31829         * gst/gstbuffer.c:
31830         * gst/gstcaps.h:
31831         * testsuite/clock/clock1.c: (main):
31832         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31833         (main):
31834         * testsuite/dlopen/loadgst.c: (do_test):
31835         * testsuite/refcounting/bin.c: (add_remove_test1),
31836         (add_remove_test2), (main):
31837         * testsuite/refcounting/element.c: (main):
31838         * testsuite/refcounting/element_pad.c: (main):
31839         * testsuite/refcounting/pad.c: (main):
31840         * tools/gst-launch.c: (sigint_handler_sighandler):
31841         * tools/gst-typefind.c: (main):
31842         Doc updates.
31843         Added doc about clock.
31844         removed gst_bin_iterate_recurse_up(), marked methods
31845         for removal.
31846         Fix more testsuites.
31847
31848 2005-03-09  Wim Taymans  <wim@fluendo.com>
31849
31850         * gst/gstpad.c: (gst_pad_get_direction),
31851         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31852         (gst_pad_collect_valist):
31853         * testsuite/bins/interface.c: (main):
31854         * testsuite/caps/audioscale.c: (test_caps):
31855         * testsuite/caps/caps.c: (test1), (test2), (test3):
31856         * testsuite/caps/deserialize.c: (main):
31857         * testsuite/caps/enumcaps.c: (main):
31858         * testsuite/caps/filtercaps.c: (main):
31859         * testsuite/caps/intersect2.c: (main):
31860         * testsuite/caps/random.c: (main):
31861         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31862         * testsuite/caps/sets.c: (check_caps):
31863         * testsuite/caps/simplify.c: (check_caps), (main):
31864         * testsuite/caps/subtract.c: (check_caps):
31865         Fix _pad_get_direction wrt ghostpads.
31866         Fix caps testsuite.
31867
31868 2005-03-09  Wim Taymans  <wim@fluendo.com>
31869
31870         * check/Makefile.am:
31871         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31872         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31873         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31874         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31875         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31876         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31877         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31878         (bin_element_is_sink), (gst_bin_iterate_sinks),
31879         (gst_bin_iterate_all_by_interface):
31880         * gst/gstbin.h:
31881         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31882         (gst_element_change_state), (gst_element_dispose),
31883         (gst_element_finalize), (gst_element_set_loop_function):
31884         * gst/gstelement.h:
31885         * gst/gstiterator.c: (find_custom_fold_func):
31886         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31887         (gst_pad_collectv), (gst_pad_collect_valist),
31888         (gst_pad_template_new):
31889         * gst/gstpipeline.c: (gst_pipeline_class_init),
31890         (gst_pipeline_dispose), (gst_pipeline_set_property),
31891         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31892         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31893         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31894         * gst/gstutils.h:
31895         * gst/schedulers/entryscheduler.c:
31896         * gst/schedulers/gstbasicscheduler.c:
31897         (gst_basic_scheduler_cothreaded_chain),
31898         (gst_basic_scheduler_chain_add_element):
31899         * testsuite/bins/interface.c: (main):
31900         Added GstBin test.
31901         Added GstSystemClock test.
31902         Implemented clock distribution code in GstBin.
31903         Implemented iterate sinks method for future use.
31904         Rearranged gstelement.h
31905         Fix GstIterator comparison bug.
31906         Moved some code to GstPipeline, mostly clocking related.
31907
31908 2005-03-09  Wim Taymans  <wim@fluendo.com>
31909
31910         * configure.ac:
31911         * gst/gst_private.h:
31912         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31913         (gst_bin_remove_func), (gst_bin_remove),
31914         (gst_bin_get_by_name_recurse_up):
31915         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31916         (gst_clock_id_compare_func), (gst_clock_id_wait),
31917         (gst_clock_id_wait_async), (gst_clock_init),
31918         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31919         * gst/gstelement.h:
31920         * gst/gstinfo.c: (_gst_debug_init):
31921         * gst/gstobject.h:
31922         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31923         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31924         * gst/gstpad.h:
31925         Bump version number, we're now 0.9.0
31926         Add future debugging category.
31927         Fix NULL _unref() in _get_by_name_recurse_up
31928         Rearrange gstpad.h.
31929         Update some docs.
31930
31931 2005-03-08  Wim Taymans  <wim@fluendo.com>
31932
31933         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31934         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31935         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31936         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31937         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31938         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31939         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31940         * gst/elements/gstidentity.c: (gst_identity_class_init):
31941         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31942         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31943         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31944         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31945         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31946         (gst_tee_link):
31947         * gst/gstelement.c: (gst_element_class_init),
31948         (gst_element_base_class_init), (gst_element_init),
31949         (gst_element_get_random_pad), (gst_element_wait_state_change),
31950         (gst_element_change_state), (gst_element_dispose),
31951         (gst_element_finalize), (gst_element_set_loop_function):
31952         * gst/gstelement.h:
31953         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31954         * gst/gstthread.c: (gst_thread_class_init),
31955         (gst_thread_release_children_locks), (gst_thread_change_state):
31956         * gst/schedulers/gstbasicscheduler.c:
31957         (gst_basic_scheduler_loopfunc_wrapper),
31958         (gst_basic_scheduler_chain_wrapper),
31959         (gst_basic_scheduler_src_wrapper),
31960         (gst_basic_scheduler_remove_element):
31961         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31962         Remove threadsafe properties. Fix elements because GObject
31963         complains when installing a property before declaring a
31964         set/get_property handler.
31965         Rearrange gstelement.h file, use STATE macros for state locks.
31966         Free mutexes in the finalize method instead of dispose.
31967
31968 2005-03-08  Wim Taymans  <wim@fluendo.com>
31969
31970         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31971         * gst/gstthread.c: (gst_thread_release_children_locks):
31972         Added parentage check.
31973         Fix build og GstThread again.
31974
31975 2005-03-08  Wim Taymans  <wim@fluendo.com>
31976
31977         * docs/design/part-MT-refcounting.txt:
31978         * docs/design/part-conventions.txt:
31979         * docs/design/part-gstobject.txt:
31980         * docs/design/part-relations.txt:
31981         * docs/design/part-standards.txt:
31982         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31983         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31984         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31985         (gst_bin_iterate_all_by_interface):
31986         * gst/gstbuffer.h:
31987         * gst/gstclock.h:
31988         * gst/gstelement.c: (gst_element_class_init),
31989         (gst_element_change_state), (gst_element_set_loop_function):
31990         * gst/gstelement.h:
31991         * gst/gstiterator.c:
31992         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31993         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31994         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31995         (gst_object_set_parent), (gst_object_unparent),
31996         (gst_object_check_uniqueness):
31997         * gst/gstobject.h:
31998         Docs updates, clean up some headers.
31999
32000 2005-03-07  Wim Taymans  <wim@fluendo.com>
32001
32002         * check/.cvsignore:
32003         * check/Makefile.am:
32004         * check/gst-libs/.cvsignore:
32005         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32006         * check/gst/.cvsignore:
32007         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32008         (START_TEST), (gstbus_suite), (main):
32009         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32010         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32011         (gst_data_suite), (main):
32012         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32013         (add_fold_func), (gstiterator_suite), (main):
32014         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32015         (thread_name_object), (thread_name_object_default),
32016         (gst_object_name_compare), (gst_object_suite), (main):
32017         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32018         (gst_pad_suite), (main):
32019         * check/gstcheck.c: (gst_check_log_message_func),
32020         (gst_check_log_critical_func), (gst_check_init):
32021         * check/gstcheck.h:
32022         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32023         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32024         Added checks.
32025
32026 2005-03-07  Wim Taymans  <wim@fluendo.com>
32027
32028         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32029         (gst_list_iterator_next), (gst_list_iterator_resync),
32030         (gst_list_iterator_free), (gst_iterator_new_list),
32031         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32032         (gst_iterator_free), (gst_iterator_push), (filter_next),
32033         (filter_resync), (filter_uninit), (filter_free),
32034         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32035         (gst_iterator_foreach), (find_custom_fold_func),
32036         (gst_iterator_find_custom):
32037         * gst/gstiterator.h:
32038         Added missing files.
32039
32040 2005-03-07  Wim Taymans  <wim@fluendo.com>
32041
32042         * Makefile.am:
32043         * configure.ac:
32044         * docs/design/part-MT-refcounting.txt:
32045         * docs/design/part-conventions.txt:
32046         * docs/design/part-gstobject.txt:
32047         * docs/design/part-relations.txt:
32048         * examples/mixer/mixer.c: (main):
32049         * examples/thread/thread.c: (eos), (main):
32050         * gst/Makefile.am:
32051         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32052         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32053         (gst_spider_plug_from_srcpad):
32054         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32055         (gst_spider_identity_change_state),
32056         (gst_spider_identity_sink_loop_type_finding):
32057         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32058         * gst/elements/gstidentity.c: (gst_identity_init):
32059         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32060         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32061         * gst/elements/gsttypefindelement.c: (free_entry):
32062         * gst/gst.c:
32063         * gst/gst.h:
32064         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32065         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32066         (gst_bin_set_index), (gst_bin_set_element_sched),
32067         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32068         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32069         (gst_bin_iterate_elements), (iterate_child_recurse),
32070         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32071         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32072         (compare_interface), (gst_bin_get_by_interface),
32073         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32074         * gst/gstbin.h:
32075         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32076         (gst_buffer_default_free), (gst_buffer_default_copy),
32077         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32078         (gst_buffer_create_sub):
32079         * gst/gstbuffer.h:
32080         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32081         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32082         (gst_caps_unref), (gst_static_caps_get),
32083         (gst_caps_remove_and_get_structure), (gst_caps_append),
32084         (gst_caps_append_structure), (gst_caps_remove_structure),
32085         (gst_caps_copy_nth), (gst_caps_set_simple),
32086         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32087         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32088         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32089         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32090         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32091         (gst_caps_structure_figure_out_union),
32092         (gst_caps_switch_structures), (gst_caps_do_simplify),
32093         (gst_caps_replace), (gst_caps_from_string),
32094         (gst_caps_copy_conditional):
32095         * gst/gstcaps.h:
32096         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32097         (_gst_clock_id_free), (gst_clock_id_unref),
32098         (gst_clock_id_compare_func), (gst_clock_id_wait),
32099         (gst_clock_id_wait_async), (gst_clock_class_init),
32100         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32101         (gst_clock_get_time), (gst_clock_set_time_adjust),
32102         (gst_clock_set_property), (gst_clock_get_property):
32103         * gst/gstclock.h:
32104         * gst/gstcompat.h:
32105         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32106         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32107         * gst/gstdata.h:
32108         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32109         (gst_element_requires_clock), (gst_element_provides_clock),
32110         (gst_element_set_clock), (gst_element_clock_wait),
32111         (gst_element_wait), (gst_element_set_time_delay),
32112         (gst_element_is_indexable), (gst_element_add_pad),
32113         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32114         (pad_compare_name), (gst_element_get_static_pad),
32115         (gst_element_request_pad), (gst_element_get_request_pad),
32116         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32117         (gst_element_class_get_pad_template_list),
32118         (gst_element_class_get_pad_template), (gst_element_error_func),
32119         (gst_element_get_random_pad), (gst_element_get_event_masks),
32120         (gst_element_send_event), (gst_element_seek),
32121         (gst_element_get_query_types), (gst_element_query),
32122         (gst_element_get_formats), (gst_element_convert),
32123         (gst_element_is_locked_state), (gst_element_set_locked_state),
32124         (gst_element_sync_state_with_parent), (gst_element_change_state),
32125         (gst_element_finalize), (gst_element_yield),
32126         (gst_element_interrupt), (gst_element_set_scheduler),
32127         (gst_element_get_scheduler), (gst_element_set_loop_function):
32128         * gst/gstelement.h:
32129         * gst/gstevent.h:
32130         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32131         (gst_format_get_by_nick), (gst_format_get_details),
32132         (gst_format_iterate_definitions):
32133         * gst/gstformat.h:
32134         * gst/gstindex.c: (gst_index_gtype_resolver):
32135         * gst/gstinfo.c:
32136         * gst/gstinfo.h:
32137         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32138         (gst_mem_chunk_free):
32139         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32140         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32141         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32142         (gst_object_dispatch_properties_changed),
32143         (gst_object_set_name_default), (gst_object_set_name),
32144         (gst_object_get_name), (gst_object_set_name_prefix),
32145         (gst_object_get_name_prefix), (gst_object_set_parent),
32146         (gst_object_get_parent), (gst_object_unparent),
32147         (gst_object_check_uniqueness), (gst_object_save_thyself),
32148         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32149         (gst_object_set_property), (gst_object_get_property),
32150         (gst_object_get_path_string):
32151         * gst/gstobject.h:
32152         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32153         (gst_real_pad_init), (gst_real_pad_get_property),
32154         (gst_pad_custom_new), (gst_pad_get_direction),
32155         (gst_pad_set_active), (gst_pad_is_active),
32156         (gst_pad_set_event_function), (gst_pad_is_linked),
32157         (gst_pad_link_free), (gst_pad_link_intersect),
32158         (gst_pad_link_fixate), (gst_pad_set_caps),
32159         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32160         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32161         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32162         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32163         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32164         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32165         (gst_pad_realize), (gst_pad_get_allowed_caps),
32166         (gst_real_pad_dispose), (gst_real_pad_finalize),
32167         (gst_pad_collectv), (gst_pad_collect_valist),
32168         (gst_pad_template_dispose), (gst_pad_template_new),
32169         (gst_pad_get_internal_links):
32170         * gst/gstpad.h:
32171         * gst/gstpipeline.c: (gst_pipeline_dispose),
32172         (gst_pipeline_change_state):
32173         * gst/gstpipeline.h:
32174         * gst/gstplugin.c:
32175         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32176         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32177         * gst/gstpluginfeature.h:
32178         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32179         * gst/gstquery.c: (_gst_query_type_initialize),
32180         (gst_query_type_register), (gst_query_type_get_by_nick),
32181         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32182         * gst/gstquery.h:
32183         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32184         * gst/gstscheduler.c: (gst_scheduler_add_element),
32185         (gst_scheduler_factory_create):
32186         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32187         (gst_structure_free), (gst_structure_set_name),
32188         (gst_structure_id_set_value), (gst_structure_set_value),
32189         (gst_structure_set_valist), (gst_structure_remove_field),
32190         (gst_structure_remove_fields),
32191         (gst_structure_remove_fields_valist),
32192         (gst_structure_remove_all_fields), (gst_structure_foreach),
32193         (gst_structure_map_in_place),
32194         (gst_caps_structure_fixate_field_nearest_int),
32195         (gst_caps_structure_fixate_field_nearest_double):
32196         * gst/gststructure.h:
32197         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32198         (gst_system_clock_init), (gst_system_clock_dispose),
32199         (gst_system_clock_async_thread),
32200         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32201         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32202         * gst/gstsystemclock.h:
32203         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32204         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32205         * gst/gsttaginterface.c:
32206         * gst/gstthread.c: (gst_thread_dispose),
32207         (gst_thread_release_children_locks), (gst_thread_change_state),
32208         (gst_thread_main_loop):
32209         * gst/gsttrashstack.h:
32210         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32211         * gst/gsttypes.h:
32212         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32213         (gst_element_request_pad), (gst_element_get_pad_from_template),
32214         (gst_element_request_compatible_pad),
32215         (gst_element_get_compatible_pad_filtered),
32216         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32217         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32218         (gst_element_link_many), (gst_element_link),
32219         (gst_element_link_pads), (gst_element_unlink_pads),
32220         (gst_element_unlink_many), (gst_element_unlink),
32221         (gst_pad_can_link_filtered), (gst_pad_can_link),
32222         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32223         (gst_object_default_error), (gst_bin_add_many),
32224         (gst_bin_remove_many), (gst_element_populate_std_props),
32225         (gst_element_class_install_std_props), (gst_buffer_merge),
32226         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32227         (link_fold_func), (gst_pad_proxy_setcaps):
32228         * gst/gstutils.h:
32229         * gst/gstvalue.c: (gst_value_deserialize_string):
32230         * gst/parse/grammar.y:
32231         * gst/schedulers/gstbasicscheduler.c:
32232         (gst_basic_scheduler_cothreaded_chain),
32233         (gst_basic_scheduler_chain_recursive_add),
32234         (gst_basic_scheduler_pad_link):
32235         * gst/schedulers/gstoptimalscheduler.c:
32236         (get_group_schedule_function),
32237         (gst_opt_scheduler_state_transition),
32238         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32239         * libs/gst/bytestream/bytestream.c:
32240         * libs/gst/dataprotocol/dataprotocol.c:
32241         (gst_dp_header_from_buffer):
32242         * po/nb.po:
32243         * po/ru.po:
32244         * tests/threadstate/threadstate2.c: (eos):
32245         * tools/gst-compprep.c: (main):
32246         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32247         (print_pad_info), (print_children_info):
32248         * tools/gst-launch.c: (idle_func), (main):
32249         * tools/gst-md5sum.c: (idle_func), (main):
32250         * tools/gst-xmlinspect.c: (print_element_info):
32251         First THREADED backport attempt, focusing on adding locks and
32252         making sure the API is threadsafe. Needs more work. More docs
32253         follow this week.
32254
32255 2005-02-24  Andy Wingo  <wingo@pobox.com>
32256
32257         * tests/bench-complexity.scm:
32258         * tests/complexity.gnuplot: New files, good for running complexity
32259         benchmarks.
32260
32261         * tests/Makefile.am:
32262         * tests/complexity.c: New test, sets up N elements, at each level
32263         teeing into M streams per element. Eeeenteresting.
32264
32265         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32266         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32267         running bench-mass_elements.scm.
32268
32269         * tests/bench-mass_elements.scm: New script, runs mass_elements
32270         for various numbers of identities, outputting the results to a
32271         file. Requires guile 1.6. Just for testing.
32272
32273 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32274
32275         * gst/schedulers/fairscheduler.c:
32276           compile with debug disabled
32277
32278 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32279
32280         * configure.ac:
32281           hunting season on 0.9 is now OPEN