gst/gstutils.*: API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
2         
3         * gst/gstutils.c:
4         * gst/gstutils.h:
5         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
6         now that we depend on new enough GLib.
7
8         * gst/gstcaps.c: (gst_static_caps_get):
9         * gst/gstclock.c: (gst_clock_entry_new):
10         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
11         (gst_debug_set_default_threshold), (_gst_debug_category_new),
12         (gst_debug_category_set_threshold):
13         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14         (gst_base_sink_set_qos_enabled):
15         * libs/gst/net/gstnettimeprovider.c:
16         (gst_net_time_provider_set_property):
17         Use g_atomic_int_set() instead of gst_atomic_int_set().
18
19 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
20
21         * gst/gstquery.c:
22           Also use G_GINT64_CONSTANT for the queries.
23
24 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
25
26         * gst/gstmessage.c:
27           Use G_GINT64_CONSTANT in varargs function.
28
29 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
30
31         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
32         Initialize the registry magic with zeroes.
33
34 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
35
36         * gst/gstregistrybinary.c: (_gst_crc32),
37         (gst_registry_binary_write),
38         (gst_registry_binary_initialize_magic),
39         (gst_registry_binary_write_cache),
40         (gst_registry_binary_check_magic),
41         (gst_registry_binary_read_cache):
42         * gst/gstregistrybinary.h:
43         Add crc32 checksum to the binary registry file and check this before
44         accepting a registry file.
45
46         Also free the data list when writing to the registry file fails.
47
48 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
49
50         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
51         (gst_registry_binary_load_feature),
52         (gst_registry_binary_load_plugin):
53         If an element supports the Uri interface, returns a valid pointer
54         to the supported URI protocols but this pointer contains nothing
55         don't try to save that as it will corrupt the registry.
56
57         Don't unref the plugin if we added it to the registry already but
58         fail to load a feature as gst_registry_add_plugin() takes ownership
59         of the plugin.
60
61         Improve debugging a bit.
62
63 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
64
65         * gst/gsttaglist.h:
66           Clarify some tag item docs after discussion on irc.
67
68 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
69
70         * docs/gst/gstreamer-docs.sgml:
71           Remove commented out plugins (they have their own docs). Update
72           comments.
73
74 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
75
76         * docs/gst/gstreamer-docs.sgml:
77         * docs/gst/gstreamer-sections.txt:
78         * gst/gstparamspecs.c:
79         * gst/gstparamspecs.h:
80           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
81           docs to own section.
82
83         * gst/gstvalue.c:
84           This now only documents GValue.
85           
86         * docs/libs/gstreamer-libs-sections.txt:
87         * libs/gst/controller/gstcontroller.h:
88           Remove GST_PARAM_CONTROLLABLE.
89
90 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
91
92         * docs/README:
93           Correct file path. Tell about how to use -overrides.txt.
94         * docs/design/draft-tagreading.txt:
95           Small design update.
96
97 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
98
99         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
100         (gst_registry_binary_load_plugin):
101         Fix a typo in a debug message and revert change from yesterday as
102         gst_registry_add_plugin() will only fail if something is really wrong
103         already and we can't survive it anyway.
104
105 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
106
107         * gst/gst.c: (init_post), (gst_deinit):
108           Pre-register GstGError GType from a thread-safe context
109           (fixes #527967); unref enum type classes in deinit.
110
111 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
112
113         Patch by: Rene Stadler <mail at renestadler de>
114
115         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
116           Merging an empty list with another list in KEEP_ALL mode should
117           yield an empty list as result and not the second list (#512578).
118
119         * tests/check/gst/gsttagsetter.c:
120           Add unit test for tag merge modes and the aforementioned bug.
121
122 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
123
124         Patch by: Rene Stadler <mail at renestadler de>
125
126         * gst/gsttaglist.h:
127           Fix description to match the order in the table (#512577).
128   
129 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
130
131         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
132
133         * libs/gst/net/gstnettimepacket.h:
134         * docs/libs/gstreamer-libs-sections.txt:
135           Define socklen_t as int if it's not defined yet. Fixes compilation
136           with MSVC6 and other versions where socklen_t is not defined in
137           the windows headers (#518022).
138
139 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
140
141         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
142         If gst_registry_add_plugin() fails our reference to the plugin is
143         invalid so don't try to use it anymore and instead error out.
144
145 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
146
147         * tools/gst-xmlinspect.c: (print_element_info), (main):
148           De-cruft a bit. If no argument is specified, print all elements in
149           XML syntax rather than a freestyle list of elements like gst-inspect.
150           Also, don't print XML header chunk unless we actually have something
151           to print (ie. don't print it before an error message); print error
152           message to stderr not stdout. Remove support for printing plugin
153           info (it would just output something freestyle along the lines of
154           gst-inspect so far), which fixes #514507. Also add license header.
155
156 2008-04-11  Julien Moutte  <julien@fluendo.com>
157
158         Mac OS X love...
159         * configure.ac: Merge platform specific defines, introduce a new
160         define on OS X to remember that forking when updating registry is
161         unsafe.
162         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
163         module.
164         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
165         is defined.
166         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
167         condition that leads to absolutely no plugins being registered on
168         OS X.
169
170 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
171
172         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
173
174         * gst/gstutils.c: (gst_pad_add_data_probe),
175           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
176           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
177           (gst_pad_add_buffer_probe_full):
178         * gst/gstutils.h:
179         * docs/gst/gstreamer-sections.txt:
180         * win32/common/libgstreamer.def:
181           Add gst_pad_add_*_probe_full() functions with a notify callback that
182           lets the caller free the data it passes to the probe functions. This
183           is useful for bindings such as gst-python or gstreamermm (#526814).
184           API: gst_pad_add_data_probe_full
185           API: gst_pad_add_buffer_probe_full
186           API: gst_pad_add_event_probe_full
187
188         * tests/check/gst/gstutils.c:
189           Add minimal unit test to make sure freeing the data actually works
190           as expected.
191
192         * tests/benchmarks/.cvsignore:
193           Random cvsignore addendum.
194
195 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
196
197         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
198           (GST_DEBUG_BIN_TO_DOT_FILE):
199           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
200           to it in the docs (since these are macros the types of the arguments
201           won't be shown in the docs otherwise).
202
203 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
204
205         * gst/gstpad.c:
206           Do not abort on out of memory for pad_alloc_buffer.
207
208 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
209
210         * libs/gst/check/gstcheck.c:
211           Remove blank line between symbol name ad parameters to fix gtkdoc
212           warning.
213
214 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
215
216         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
217
218         * docs/gst/gstreamer-sections.txt:
219         * gst/gstsegment.c:
220         * gst/gstsegment.h:
221         * win32/common/libgstreamer.def:
222           Expose gst_segment_copy() to make things easier for the c++ bindings.
223           Fixes #518932.
224           API: gst_segment_copy()
225
226 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
227
228         * gst/gst.c: (gst_init_get_option_group), (init_post):
229           Fix const position; ref GType classes for enum types to work
230           around thread-safety issues in GLib versions < 2.16.
231
232 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * docs/design/part-buffering.txt:
235         Fix some typos and set the estimated total for push mode to -1.
236
237         * gst/gstquery.c: (gst_query_new_buffering):
238         Set buffering-left to 0 as we're not buffering by default.
239
240         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
241         Implement BUFFERING query.
242
243 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
244
245         Based on patch by: Milosz Derezynski <internalerror gmail com>
246
247         * gst/gsterror.c: (_gst_stream_errors_init):
248         * gst/gsterror.h:
249           Add two new error codes for encrypted content. Fixes #524659.
250           API: GST_STREAM_ERROR_DECRYPT
251           API: GST_STREAM_ERROR_DECRYPT_NOKEY
252
253 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
254
255         * gst/gstquery.h:
256           Fix typo.
257
258         * win32/common/libgstreamer.def:
259           Add new functions.
260
261 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
262
263         * plugins/elements/gstidentity.c: (gst_identity_event),
264         (gst_identity_start):
265         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
266         event after processing some data. Fixes bug #526042.
267
268 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
269
270         * docs/gst/gstreamer-sections.txt:
271         * gst/gstquery.c: (gst_query_parse_latency),
272         (gst_query_set_buffering_percent),
273         (gst_query_parse_buffering_percent),
274         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
275         * gst/gstquery.h:
276         Rename _avail -> _range
277         API: gst_query_set_buffering_range
278         API: gst_query_parse_buffering_range
279
280 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * docs/design/part-buffering.txt:
283         * gst/gstquark.c:
284         * gst/gstquark.h:
285         * gst/gstquery.c: (gst_query_parse_latency),
286         (gst_query_new_buffering), (gst_query_set_buffering_percent),
287         (gst_query_parse_buffering_percent):
288         * gst/gstquery.h:
289         Add busy field and quark for the buffering query so that the app can
290         only use the query to see if buffering is in progress.
291
292 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
293
294         * docs/gst/gstreamer-sections.txt:
295         * gst/gstmessage.c: (gst_message_set_buffering_stats),
296         (gst_message_parse_buffering_stats):
297         * gst/gstmessage.h:
298         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
299         (gst_query_parse_latency), (gst_query_new_buffering),
300         (gst_query_set_buffering_percent),
301         (gst_query_parse_buffering_percent),
302         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
303         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
304         * gst/gstquery.h:
305         Reorder the message docs and headers for clarity.
306         Add aditional buffering stats API for messages.
307         Add buffering query.
308         Convert some leftover queries to use GstQuark.
309         API: gst_message_set_buffering_stats
310         API: gst_message_parse_buffering_stats
311         API: GST_QUERY_BUFFERING
312         API: GstBufferingMode
313         API: gst_query_new_buffering
314         API: gst_query_set_buffering_percent
315         API: gst_query_parse_buffering_percent
316         API: gst_query_set_buffering_stats
317         API: gst_query_parse_buffering_stats
318
319 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
320
321         * gst/gstmessage.c: (gst_message_new_error),
322         (gst_message_new_warning), (gst_message_new_info),
323         (gst_message_new_buffering), (gst_message_new_state_changed),
324         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
325         (gst_message_new_new_clock), (gst_message_new_segment_start),
326         (gst_message_new_segment_done), (gst_message_new_duration),
327         (gst_message_new_async_start), (gst_message_parse_buffering),
328         (gst_message_parse_state_changed),
329         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
330         (gst_message_parse_new_clock), (gst_message_parse_error),
331         (gst_message_parse_warning), (gst_message_parse_info),
332         (gst_message_parse_segment_start),
333         (gst_message_parse_segment_done), (gst_message_parse_duration),
334         (gst_message_parse_async_start):
335         Use GstQuark for messages.
336
337 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
338
339         * gst/gstquark.c: (_priv_gst_quarks_initialize):
340         * gst/gstquark.h:
341         Add some more quarks needed for messages and queries.
342
343 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
344
345         * docs/design/part-buffering.txt:
346         Remove the "none" buffering mode, STREAM is a good default.
347         Move estimated-time to the avail query, that's when it will be needed.
348         Other small typo fixes and updates.
349
350 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
351
352         * gst/gstindex.c: (gst_index_resolver_get_type):
353           Don't put descriptions into the nick field of a GEnumValue: it's not
354           meant for that and some language bindings rely on the nick field to
355           construct constants and the like. Fixes #526705.
356
357 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
358
359         * NEWS:
360         * RELEASE:
361         * gstreamer.doap:
362           Merge other changes from 0.10.19 release branch.
363
364 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
365
366         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
367
368         * configure.ac:
369         Actually build dlls when cross-compiling with mingw32.
370         Fixes bug #526247.
371
372 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
373
374         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
375
376         * gst/gstpoll.c:
377         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
378
379 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
380
381         * docs/design/draft-latency.txt:
382         Fix typo.
383
384         * docs/design/part-buffering.txt:
385         Update design docs with more buffering ideas.
386
387 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
388
389         * configure.ac:
390           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
391
392 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
393
394         * configure.ac:
395           Revert part that belongs to the preset patch.
396
397 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
398
399         * configure.ac:
400           Add qoutes to the define. Fixes # 525961.
401
402 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
403
404         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
405         (gst_file_index_load), (gst_file_index_add_id),
406         (gst_file_index_get_assoc_entry):
407         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
408         (gst_mem_index_free_id), (gst_mem_index_add_id),
409         (gst_mem_index_index_format):
410         Use GSlice when possible.
411
412 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
413
414         * libs/gst/controller/gstinterpolationcontrolsource.c:
415         (gst_control_point_free),
416         (gst_interpolation_control_source_set_internal):
417         Use GSlice for allocating the control points.
418
419 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
420
421         * plugins/elements/gsttypefindelement.c:
422         (gst_type_find_element_class_init),
423         (gst_type_find_element_set_property),
424         (gst_type_find_element_get_property),
425         (gst_type_find_element_activate):
426         * plugins/elements/gsttypefindelement.h:
427         Cleanup properties.
428         Fix pad leak when peer query fails.
429         We can still typefind when the peer returns -1.
430         Add property to force caps and bypass typefinding. This will be used in
431         uridecodebin.
432         API::force-caps
433
434 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
435
436         * configure.ac:
437         Require GLib 2.12.
438
439         * gst/glib-compat-private.h:
440         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
441         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
442         Unconditionally use GSlice for allocation.
443
444         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
445         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
446         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
447         (gst_structure_free):
448         Use GSlice for allocation.
449
450 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
451
452         * gst/parse/Makefile.am:
453         * gst/parse/grammar.tab.pre.c:
454         * gst/parse/grammar.tab.pre.h:
455         * gst/parse/lex._gst_parse_yy.pre.c:
456         Require a new enough flex and bison and remove the parser hacks to use
457         a pre-regenerated version.
458
459 2008-04-01  Julien Moutte  <julien@fluendo.com>
460
461         patch by: Jason Zhao <E3423C@motorola.com>
462
463         * configure.ac: Add a configure switch to disable option parsing
464         in gst_init.
465         Fixes #522882.
466
467 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
468
469         * configure.ac:
470         * gst/gstregistry.c:
471           MacOS has plugins under .so or under .dylib. Add detection for MacOS
472           and handle this case.
473
474         * gst/gst.c:
475           Add a comment here describing, why we stat each plugin and not try to
476           be smart.
477
478 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
479
480         * libs/gst/base/gstbasetransform.c:
481         (gst_base_transform_prepare_output_buffer):
482         Also unset the GAP flag on buffers if we're working inplace but
483         the element is not GAP-aware.
484
485         Mark a comment as FIXME 0.11.
486
487 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
488
489         * gst/gst.c:
490           Fix type in log message and add one to ease seeing how long registry
491           cache verification takes.
492
493         * gst/gstregistry.c:
494           Only test plugin filenames against G_MODULE_SUFFIX.
495
496 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
497
498         * gst/gstdebugutils.c:
499           Improve handling ghost/proxy pads.
500
501 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
502
503         * docs/gst/gstreamer-sections.txt:
504         * gst/gstpad.c:
505         * gst/gstpad.h:
506           Expose macro to docs and fix link to it.
507
508 2008-03-27  Michael Smith <msmith@fluendo.com>
509
510         * libs/gst/dataprotocol/dataprotocol.c:
511         (gst_dp_packet_from_event_1_0):
512           When calculating GDP body CRC, use the correct pointer. 
513           Fixes part of #522401.
514
515 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
516
517         Patch by: Mark Nauwelaerts <manauw at skynet be>
518
519         * plugins/elements/gstidentity.c: (gst_identity_class_init),
520         (gst_identity_init), (gst_identity_prepare_output_buffer):
521         Identity is not always a passthrough element, it can modify the buffer
522         timestamps when it has a datarate and operates in single-segment mode.
523         We therefore make it an in_place filter with a custom buffer prepare
524         function that conditionally makes the input buffer metadata writable
525         when needed.  Fixes #523985.
526
527 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
528
529         Patch by: Mark Nauwelaerts <manauw at skynet be>
530
531         * gst/gstclock.h:
532         * libs/gst/base/gstbasesrc.h:
533         * libs/gst/base/gstbasetransform.c:
534         * libs/gst/check/gstcheck.c:
535         Small documentation fixes. Fixes #523978.
536
537 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
538
539         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
540         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
541         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
542
543 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
544
545         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
546         (single_queue_underrun_cb):
547         When trying to make room in the queue, bump the max allowed buffers
548         bigger than the current amount of buffers in the queue. this fixes some
549         nasty deadlocks in multiqueue when dynamically changing the limits of
550         the queue.
551
552 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
553
554         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
555
556         * gst/gstcaps.c: (gst_caps_set_simple),
557         (gst_caps_set_simple_valist), (gst_caps_intersect):
558         * gst/gstcaps.h:
559         Constify the field gchar * params in set_simple and friends.
560         Fixes #522326.
561
562 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
563
564         * gst/gstvalue.c: (gst_value_transform_object_string):
565         Transform a GstObject to a more meaningfull string that includes the
566         object type in addition to its name.
567
568 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
569
570         * ChangeLog:
571           ChangeLog surgery to add bugnumber to commit.
572
573 2008-03-23  Rene Stadler  <mail@renestadler.de>
574
575         * libs/gst/base/gstbasetransform.c:
576         (gst_base_transform_set_gap_aware): Fix confusing documentation.
577
578 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
579
580         * gst/gstregistrybinary.c: (gst_registry_binary_write):
581         Rename constant everywhere and don't forget one occurence.
582
583 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
584
585         * gst/gstregistrybinary.c: (gst_registry_binary_write):
586         Align memory to the pointer size even if the architecture allows
587         unaligned memory access. Unaligned memory access usually comes with
588         performance penality.
589
590 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
591
592         * gst/gstregistrybinary.c: (gst_registry_binary_write),
593         (gst_registry_binary_check_magic),
594         (gst_registry_binary_load_pad_template),
595         (gst_registry_binary_load_feature),
596         (gst_registry_binary_load_plugin):
597         Align memory to the pointer size instead of always 32 bit. Fixes
598         unaligned memory accesses on ia64 and friends.
599
600         * gst/gstregistrybinary.h:
601         Bump binary registry format version for this as it changes the
602         format on those architectures that don't have unaligned access
603         and 64 bit pointers.
604
605 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
606
607         * docs/pwg/advanced-dparams.xml:
608         * docs/pwg/building-props.xml:
609         * docs/pwg/other-source.xml:
610         * gst/glib-compat.h:
611         * gst/gstbin.c: (gst_bin_class_init):
612         * gst/gstclock.c: (gst_clock_class_init):
613         * gst/gstindex.c: (gst_index_class_init):
614         * gst/gstobject.c: (gst_object_class_init):
615         * gst/gstpad.c: (gst_pad_class_init):
616         * gst/gstpipeline.c: (gst_pipeline_class_init):
617         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
618         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
619         * libs/gst/base/gstbasetransform.c:
620         (gst_base_transform_class_init):
621         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
622         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
623         (_gst_check_fault_handler_sighandler),
624         (_gst_check_fault_handler_setup), (gst_check_init):
625         * libs/gst/controller/gstcontroller.c:
626         (_gst_controller_class_init):
627         * libs/gst/controller/gstlfocontrolsource.c:
628         (gst_lfo_control_source_class_init):
629         * libs/gst/net/gstnetclientclock.c:
630         (gst_net_client_clock_class_init):
631         * libs/gst/net/gstnettimeprovider.c:
632         (gst_net_time_provider_class_init):
633         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
634         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
635         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
636         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
637         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
638         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
639         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
640         * plugins/elements/gstidentity.c: (gst_identity_class_init):
641         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
642         * plugins/elements/gstqueue.c: (gst_queue_class_init):
643         * plugins/elements/gsttee.c: (gst_tee_class_init):
644         * plugins/elements/gsttypefindelement.c:
645         (gst_type_find_element_class_init):
646         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
647         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
648         use it everywhere for GParamSpecs that use static strings (i.e. all).
649         This gives us less memory usage, fewer allocations and thus less
650         memory defragmentation. Fixes bug #523806.
651
652 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
653
654         * gst/gstminiobject.c: (gst_value_dup_mini_object),
655         (gst_param_spec_mini_object):
656         * gst/gstminiobject.h:
657         * win32/common/libgstreamer.def:
658         * docs/gst/gstreamer-sections.txt:
659         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
660         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
661         GstParamSpecMiniObject into a public header for this.
662
663         This make GstMiniObject a bit more consistent with GObject and makes
664         it possible to extend the param specs.
665
666         gst_value_dup_mini_object is mainly useful for set_property methods.
667
668         Fixes bug #523798.
669
670         * tools/gst-inspect.c: (print_element_properties_info):
671         Print something useful for GstMiniObject properties and not just
672         "unknown type".
673
674 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
675
676         * docs/gst/gstreamer-sections.txt:
677         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
678         (gst_registry_binary_check_magic):
679         * gst/gstregistrybinary.h:
680         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
681         and add it to the (private part) of the docs to fix the build.
682
683 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
684
685         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
686         (gst_registry_binary_check_magic),
687         (gst_registry_binary_read_cache):
688         * gst/gstregistrybinary.h:
689         Don't use GST_MAJORMINOR for the binary registry version. Instead
690         hardcode a value that must be changed whenever the format changes
691         in an incompatible way.
692         Also don't GST_ERROR when there is a version mismatch, just
693         regenerate the registry silently.
694
695 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
696
697         * configure.ac:
698         Back to development - 0.10.18.1
699
700 === release 0.10.18 ===
701
702 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
703
704         * configure.ac:
705           releasing 0.10.18, "So far away"
706
707 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
708
709         * configure.ac:
710         * win32/common/config.h:
711         0.10.17.4 pre-release
712
713 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
714
715         Patch by: Ole André Vadla Ravnås
716             <ole dot andre dot ravnas at tandberg dot com>
717
718         * docs/gst/gstreamer-sections.txt:
719         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
720         (gst_poll_update_winsock_event_mask),
721         (gst_poll_prepare_winsock_active_sets),
722         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
723         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
724         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
725         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
726         (gst_poll_check_ctrl_commands), (gst_poll_wait):
727         * gst/gstpoll.h:
728         * win32/common/libgstreamer.def:
729         Add new function gst_poll_fd_ignored() for improved Windows
730         compatibility.
731         Various minor fixes and cleanups. See #520808.
732
733 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
734
735         * gst/gstindex.c: (gst_index_entry_free):
736         * gst/gstindex.h:
737           Don't free key strings which we don't own. Fixes crash in
738           gst_index_entry_free() (#522741).
739
740         * tests/check/Makefile.am:
741         * tests/check/gst/.cvsignore:
742         * tests/check/gst/gstindex.c: (test_index_entries),
743           (gst_index_suite), (gst_index):
744           Add unit test for the above.
745
746 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
747
748         * win32/common/libgstreamer.def:
749         Remove symbols that were removed recently. Fixes bug #521740.
750
751 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
752
753         * configure.ac:
754         * win32/common/config.h:
755         0.10.17.3 pre-release
756
757 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
758
759         Patch by: Ole André Vadla Ravnås
760             <ole dot andre dot ravnas at tandberg dot com>
761
762         * docs/gst/gstreamer-sections.txt:
763         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
764         (gst_poll_update_winsock_event_mask), (gst_poll_new),
765         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
766         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
767         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
768         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
769         (gst_poll_fd_can_write), (gst_poll_wait),
770         (gst_poll_set_controllable), (gst_poll_restart),
771         (gst_poll_set_flushing):
772         * gst/gstpoll.h:
773         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
774         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
775         (gst_net_time_provider_new):
776         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
777         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
778         * tests/benchmarks/gstpollstress.c: (main):
779         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
780         Remove GstPollMode from the API, it does not make sense to let the
781         application control this.
782         Add support for Win32.
783         Fix the testsuite. Fixes #520671.
784
785 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
786
787         Patch by: Ole André Vadla Ravnås
788             <ole dot andre dot ravnas at tandberg dot com>
789
790         * gst/gstregistrybinary.c:
791         Include io.h for write() and close() when building with MSVC. Fixes
792         bug #520877.
793
794 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
795
796         * configure.ac:
797         * gst/gst_private.h:
798         * gst/gstconfig.h.in:
799         * gst/gstregistry.h:
800         * gst/gstregistrybinary.c:
801         * win32/common/gstconfig.h:
802           Move registry backend API to private headers where we can. Add
803           fixme-0.11 comments for the others. Add stubs for the xml backend when
804           using the binary to ensure they functions exists (they should not be
805           used though). Fixes #520756.
806
807 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
808
809         * configure.ac:
810         * win32/common/config.h:
811         0.10.17.2 prelease
812
813 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
814
815         * gst/gstregistrybinary.c: (gst_registry_binary_write),
816         (gst_registry_binary_read_cache):
817         * gst/gstregistryxml.c: (gst_registry_save):
818         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
819         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
820         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
821         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
822         Switch to using portabl gsize/gssize instead of size_t/ssize_t
823         Fixes #520152
824
825 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
826
827         * gst/gstminiobject.c:
828         Import gst_private.h before any other header that might include other
829         glib headers. This fixes the build on windows using native compilers.
830
831 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
832
833         * win32/common/gstconfig.h:
834           Add here too, just for completeness.
835
836 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
837
838         * configure.ac:
839         * gst/gstconfig.h.in:
840         * gst/gstregistry.h:
841           Fix broken use of config.h-defined preprocessor directive in a public
842           header file. Add a corresponding define to gstconfig.h, since we can't
843           really remove those function declarations from the header file now
844           (or can we? and why are they there in the first place?).
845
846 2008-03-03  Andy Wingo  <wingo@pobox.com>
847
848         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
849         the new warning.
850
851         * gst/gststructure.c (gst_structure_from_string): Warn if
852         structure_from_string didn't consume the whole string, but the
853         caller did not provide an end pointer.
854
855 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
856
857         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
858
859         * gst/gstregistryxml.c: (read_string), (load_feature):
860           Strings allocated by libxml2 should be freed with xmlFree(), not
861           with g_free(). Fixes issues on windows in certain contexts (#519698).
862
863 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
864
865         * gst/gstinterface.c: (gst_element_implements_interface):
866           Don't crash if the element supports the interface queried, but does
867           not implement GstImplementsInterface. Fixes #519584.
868
869         * tests/check/Makefile.am:
870         * tests/check/gst/.cvsignore:
871         * tests/check/gst/gstinterface.c:
872           Add unit test for the above.
873
874 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
875
876         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
877         Small doc update.
878
879 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * gst/gstsegment.c: (gst_segment_set_seek),
882         (gst_segment_to_stream_time):
883         Improve some comment.
884         Update variables where it makes more sense.
885
886 2008-02-29  Rene Stadler  <mail@renestadler.de>
887
888         * gst/gsturi.c: (gst_uri_handler_get_protocols):
889         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
890         URIHandlers implemented using language bindings.
891
892 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
893
894         * gst/gstelementfactory.h:
895         * tests/check/elements/fakesink.c:
896         * tests/check/elements/fakesrc.c: (setup_fakesrc):
897         * tests/check/elements/fdsrc.c: (setup_fdsrc):
898         * tests/check/elements/filesink.c: (setup_filesink):
899         * tests/check/elements/filesrc.c: (setup_filesrc):
900         * tests/check/elements/identity.c: (setup_identity):
901         * tests/check/elements/tee.c:
902         * tests/check/generic/sinks.c:
903         * tests/check/generic/states.c: (setup), (teardown):
904         * tests/check/gst/gst.c:
905         * tests/check/gst/gstabi.c:
906         * tests/check/gst/gstbin.c:
907         * tests/check/gst/gstbus.c: (pull_messages):
908         * tests/check/gst/gstcaps.c:
909         * tests/check/gst/gstelement.c:
910         * tests/check/gst/gstevent.c:
911         * tests/check/gst/gstghostpad.c:
912         * tests/check/gst/gstiterator.c:
913         * tests/check/gst/gstmessage.c:
914         * tests/check/gst/gstminiobject.c: (my_foo_init):
915         * tests/check/gst/gstobject.c: (thread_name_object),
916         (gst_object_suite):
917         * tests/check/gst/gstpad.c:
918         * tests/check/gst/gstplugin.c:
919         * tests/check/gst/gstpoll.c:
920         * tests/check/gst/gstquery.c:
921         * tests/check/gst/gstsegment.c:
922         * tests/check/gst/gststructure.c:
923         * tests/check/gst/gstsystemclock.c:
924         * tests/check/gst/gsttask.c:
925         * tests/check/gst/gstutils.c:
926         * tests/check/gst/gstvalue.c:
927         * tests/check/gst/struct_hppa.h:
928         * tests/check/gst/struct_i386.h:
929         * tests/check/gst/struct_ppc32.h:
930         * tests/check/gst/struct_ppc64.h:
931         * tests/check/gst/struct_x86_64.h:
932         * tests/check/libs/adapter.c: (create_and_fill_adapter):
933         * tests/check/libs/basesrc.c:
934         * tests/check/libs/controller.c: (GST_START_TEST):
935         * tests/check/libs/gdp.c:
936         * tests/check/libs/gstnetclientclock.c:
937         * tests/check/libs/gstnettimeprovider.c:
938         * tests/check/libs/libsabi.c:
939         * tests/check/libs/struct_hppa.h:
940         * tests/check/libs/struct_i386.h:
941         * tests/check/libs/struct_ppc32.h:
942         * tests/check/libs/struct_ppc64.h:
943         * tests/check/libs/struct_x86_64.h:
944         * tests/check/pipelines/cleanup.c:
945         * tests/check/pipelines/simple-launch-lines.c:
946         * tests/check/pipelines/stress.c:
947         And correct even more valid sparse warnings.
948
949         * win32/common/libgstreamer.def:
950         Add gst_poll_fd_init to the list of symbols.
951
952 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
953
954         * gst/gstconfig.h.in:
955         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
956         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
957         (gst_check_log_critical_func), (gst_check_drop_buffers),
958         (gst_check_element_push_buffer_list):
959         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
960         (gst_controller_get_type):
961         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
962         (gst_object_get_controller), (gst_object_get_control_source):
963         * libs/gst/controller/gstinterpolationcontrolsource.c:
964         (gst_interpolation_control_source_new):
965         * libs/gst/controller/gstlfocontrolsource.c:
966         (gst_lfo_control_source_new):
967         * libs/gst/dataprotocol/dataprotocol.c:
968         (gst_dp_event_from_packet_0_2):
969         * plugins/elements/gstfdsrc.c:
970         * plugins/elements/gstmultiqueue.c:
971         * plugins/elements/gsttee.c:
972         * plugins/elements/gsttypefindelement.c:
973         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
974         (gst_file_index_add_association):
975         * plugins/indexers/gstmemindex.c:
976         * tests/benchmarks/gstpollstress.c: (mess_some_more):
977         * tests/check/elements/queue.c: (setup_queue):
978         * tests/check/gst/gstpipeline.c:
979         * tests/check/libs/collectpads.c: (setup), (teardown),
980         (gst_collect_pads_suite):
981         * tests/examples/adapter/adapter_test.c:
982         * tests/examples/metadata/read-metadata.c: (make_pipeline):
983         * tests/examples/xml/createxml.c:
984         * tests/examples/xml/runxml.c:
985         * tools/gst-inspect.c:
986         * tools/gst-run.c:
987         Correct all relevant warnings found by the sparse semantic code
988         analyzer. This include marking several symbols static, using
989         NULL instead of 0 for pointers, not using variable sized arrays
990         on the stack, moving variable declarations to the beginning of
991         a block and using "foo (void)" instead of "foo ()" for declarations.
992
993 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
994
995         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
996         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
997         Don't reset GstPollFDs, this is not necessary at all.
998
999         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1000         (delayed_restart), (delayed_control):
1001         Use GST_POLL_FD_INIT.
1002
1003 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1004
1005         * gst/gstpoll.c: (gst_poll_fd_init):
1006         * gst/gstpoll.h:
1007         Added Since tags.
1008
1009         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1010         Use some more init macros.
1011
1012 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1013
1014         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1015         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1016         Use init macros and functions.
1017
1018 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1019
1020         * docs/gst/gstreamer-sections.txt:
1021         * gst/gstpoll.c: (gst_poll_fd_init):
1022         * gst/gstpoll.h:
1023         Add INIT macro and _init method for initializing the GstPollFD.
1024
1025 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
1028         (gst_fd_sink_update_fd):
1029         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1030         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1031         (delayed_restart), (delayed_control):
1032         Initialize some uninitialized variables as spotted by valgrind.
1033
1034 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1035
1036         * tests/benchmarks/Makefile.am:
1037         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
1038         (main):
1039         Add poll stress test.
1040
1041 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1042
1043         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1044
1045         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1046         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
1047         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
1048         * plugins/elements/gstfdsink.h:
1049         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1050         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
1051         (gst_fd_src_unlock_stop), (gst_fd_src_create),
1052         (gst_fd_src_uri_set_uri):
1053         * plugins/elements/gstfdsrc.h:
1054         Port to GstPoll. See #505417.
1055
1056 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
1057
1058         * win32/common/libgstreamer.def:
1059         Add new gst_poll_ symbols to win32 defs.
1060
1061 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1062
1063         * docs/libs/gstreamer-libs-sections.txt:
1064         * libs/gst/net/gstnetclientclock.c:
1065         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
1066         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1067         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1068         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1069         * libs/gst/net/gstnetclientclock.h:
1070         * libs/gst/net/gstnettimeprovider.c:
1071         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
1072         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1073         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1074         (gst_net_time_provider_new):
1075         * libs/gst/net/gstnettimeprovider.h:
1076         Use a private stuct to not break ABI.
1077
1078 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1079
1080         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1081
1082         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
1083         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1084         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1085         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1086         * libs/gst/net/gstnetclientclock.h:
1087         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
1088         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1089         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1090         (gst_net_time_provider_new):
1091         * libs/gst/net/gstnettimeprovider.h:
1092         Massive code removal and cleanups because of GstPoll.
1093         Fixes #505417.
1094
1095 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1096
1097         * configure.ac:
1098         Add checks for poll, ppoll and pselect.
1099
1100         * docs/gst/gstreamer-docs.sgml:
1101         * docs/gst/gstreamer-sections.txt:
1102         Add docs for GstPoll.
1103
1104         * gst/Makefile.am:
1105         * gst/gst.h:
1106         * gst/gstpoll.c: (find_index), (selectable_fds),
1107         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
1108         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
1109         (gst_poll_set_mode), (gst_poll_get_mode),
1110         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
1111         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1112         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
1113         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
1114         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
1115         (gst_poll_fd_can_write), (gst_poll_wait),
1116         (gst_poll_set_controllable), (gst_poll_restart),
1117         (gst_poll_set_flushing):
1118         * gst/gstpoll.h:
1119         Add generic poll abstraction. We ideally don't want to have this in core
1120         here but in glib intead...
1121         This code will be used in various network elements and ultimately for
1122         the nanosecond precision monotonic clock (that's why it's here in core).
1123         It'll allow us to implement cancelable socket operations for windows too.
1124
1125         * tests/check/Makefile.am:
1126         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1127         (delayed_stop), (delayed_restart), (delayed_flush),
1128         (delayed_control), (gst_poll_suite):
1129         Add GstPoll unit test.
1130
1131 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
1132
1133         * gst/gstfilter.c:
1134           Improve documentation of gst_filter_run(). Fixes #518627.
1135
1136 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * docs/README:
1139           Add a few lines about the new 'check-inspected-versions' target.
1140
1141 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * tests/check/gst/gstevent.c:
1144           Add qos to the event test. Rename tcase/tsuite; is not only about
1145           custom events.
1146
1147 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1148
1149         * plugins/elements/gstqueue.c:
1150           Ensure that buffer metadata is writeable, before modifying. Spotted by
1151           Mike.
1152
1153 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
1154
1155         * plugins/elements/gstqueue.c:
1156         * plugins/elements/gstqueue.h:
1157           When dropping buffers in leaky modes, mark next buffers we sent as
1158           DISCONT.
1159
1160 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
1163           Also, if mmap() fails that would be a READ error, not OPEN_READ.
1164
1165 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1166
1167         * plugins/elements/Makefile.am:
1168         * plugins/elements/gstbufferstore.c:
1169         * plugins/elements/gstbufferstore.h:
1170         * plugins/elements/gsttypefindelement.h:
1171           Remove GstBufferStore, no idea why we were still building it.
1172           It's not used anywhere and superseded by GstAdapter.
1173
1174         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1175           (gst_file_src_create_mmap):
1176         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
1177           Printf format fixes for 64-bit integers.
1178
1179 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1180
1181         * configure.ac:
1182         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
1183         We're not in 0.8 times anymore.
1184
1185 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
1186
1187         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
1188         (gst_check_element_push_buffer_list):
1189         * libs/gst/check/gstcheck.h:
1190         Make the declaration in the header for
1191         gst_check_element_push_buffer_list match the implementation.
1192
1193         Fix up spelling, grammar and wording of the documentation in a few
1194         places, and add the Since keyword to new API functions.
1195         Use g_list_delete_link instead of g_list_remove in
1196         gst_check_drop_buffers, since it's immeasurably more efficient.
1197
1198         * tests/check/elements/fakesrc.c: (GST_START_TEST):
1199         Use new gst_check_drop_buffers function where appropriate.
1200
1201         * win32/common/libgstbase.def:
1202         * win32/common/libgstreamer.def:
1203         Add new symbols gst_collect_pads_take_buffer, 
1204         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
1205         exports
1206
1207         Changelog surgery to add API keyword to new gst_check API.
1208
1209 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1210
1211         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
1212         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
1213         Update pre-generated flex files with flex 2.3.34.
1214
1215 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1216
1217         * gst/gstminiobject.c:
1218           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
1219           friendly to subclasses and not require them to know all internals
1220           of their parent class.
1221
1222 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1223
1224         * docs/libs/gstreamer-libs-sections.txt:
1225         * libs/gst/base/gstcollectpads.c:
1226         * libs/gst/base/gstcollectpads.h:
1227           Add sub-buffer functions to collectpads. Fixes #516187.
1228           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
1229
1230 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1231
1232         * gst/gstbuffer.c:
1233           Copy selected buffer-flags when creating subbuffers.
1234           Fixes #516395.
1235
1236 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
1237
1238         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
1239         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
1240         * gst/gstmessage.c: (gst_message_class_init),
1241         (gst_message_finalize):
1242         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1243         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1244         (gst_mmap_buffer_finalize):
1245         Properly chain up finalize functions to the parent class.
1246
1247 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
1248
1249         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1250
1251         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1252         (gst_index_set_resolver_full):
1253         * gst/gstindex.h:
1254         Add new function with option to dispose of user_data in resolver.
1255         Actually call the dispose function when finalizing the object and not
1256         just when changing the resolver/filter.
1257         API: GstIndex::gst_index_set_resolver_full()
1258
1259         * docs/gst/gstreamer-sections.txt:
1260         Add new function to docs. Fixes #515469.
1261
1262 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
1263
1264         * gst/gstindex.c: (gst_index_finalize):
1265         Chain up finalize to the parent class. Fixes leaking the GstObject
1266         name and other things.
1267
1268 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
1269
1270         * configure.ac:
1271         Make DISABLE_DEPRECATED defined *only* during CVS, not during
1272         pre-releases or releases.
1273
1274         * docs/faq/gst-uninstalled:
1275         Add gst-plugins-gl
1276
1277         * docs/random/release:
1278         Change one of the steps - we only upload core & base to Gnome FTP
1279
1280 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
1281
1282         * gst/gstconfig.h.in:
1283           Add 'id' for example.
1284
1285         * gst/gstpad.c:
1286         * gst/gstutils.c:
1287         * plugins/elements/gstfdsink.c:
1288           Link to signals. Doc and comment fixes.
1289
1290 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
1291
1292         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1293         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1294           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1295           unused and unimplemented; finally, it is plugin features, not
1296           plugins, that have ranks.
1297           
1298 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1299
1300         * gst/gstpluginfeature.h:
1301           Clarify GstRank range docs.
1302
1303 2008-02-05  David Schleef  <ds@schleef.org>
1304
1305         * gst/gst.c: Add a separate gst_deinitialized that prevents
1306           gst_init() from being called after gst_deinit().  Fixes #509559
1307
1308 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1309
1310         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1311         (gst_bin_class_init):
1312         * gst/gstelement.c: (gst_element_base_class_init),
1313         (gst_element_class_add_pad_template):
1314         * gst/gstpadtemplate.c: (gst_pad_template_init):
1315         * gst/gstpipeline.c: (gst_pipeline_get_type),
1316         (gst_pipeline_base_init), (gst_pipeline_class_init):
1317         * libs/gst/base/gstbasesink.c:
1318         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1319         (gst_base_src_base_init), (gst_base_src_class_init):
1320         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1321         (gst_capsfilter_class_init):
1322         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1323         (gst_fake_sink_class_init):
1324         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1325         (gst_fake_src_class_init):
1326         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1327         (gst_fd_sink_class_init):
1328         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1329         (gst_fd_src_class_init):
1330         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1331         (gst_file_sink_class_init):
1332         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1333         (gst_file_src_class_init):
1334         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1335         (gst_identity_class_init):
1336         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1337         (gst_multi_queue_class_init):
1338         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1339         (gst_queue_class_init):
1340         * plugins/elements/gsttee.c: (gst_tee_base_init),
1341         (gst_tee_class_init):
1342         * plugins/elements/gsttypefindelement.c:
1343         (gst_type_find_element_base_init),
1344         (gst_type_find_element_class_init):
1345         * tests/check/gst/gstelement.c: (gst_element_suite):
1346         Revert previous changes to the behaviour of GstPadTemplates, etc
1347         and the possiblity to call them in class_init as it breaks too
1348         many elements. Reopens bug #491501.
1349
1350         Should be applied again for 0.11, thus added a few FIXME 0.11 at
1351         several places.
1352
1353 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1354
1355         * tools/gst-launch.c:
1356         Dump one graph per pipeline state-change and state change name
1357         (if GST_DEBUG_DUMP_DOT_DIR is set).
1358
1359 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
1360
1361         * gst/gstpad.c:
1362         * tests/check/gst/gstpad.c:
1363         Be sure that we have a new copy of the caps and not
1364         reffed caps from a template
1365
1366 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1367
1368         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1369         * gst/gstpipeline.c: (gst_pipeline_get_type),
1370         (gst_pipeline_class_init):
1371         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1372         (gst_base_sink_class_init):
1373         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1374         (gst_base_src_class_init):
1375         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1376         (gst_base_transform_class_init):
1377         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1378         (gst_collect_pads_class_init):
1379         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1380         * libs/gst/net/gstnettimeprovider.c:
1381         (gst_net_time_provider_base_init),
1382         (gst_net_time_provider_class_init):
1383         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1384         (gst_capsfilter_class_init):
1385         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1386         (gst_fake_sink_class_init):
1387         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1388         (gst_fake_src_class_init):
1389         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1390         (gst_fd_sink_class_init):
1391         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1392         (gst_fd_src_class_init):
1393         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1394         (gst_file_sink_class_init):
1395         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1396         (gst_file_src_class_init):
1397         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1398         (gst_identity_class_init):
1399         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1400         (gst_multi_queue_class_init):
1401         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1402         (gst_queue_class_init):
1403         * plugins/elements/gsttee.c: (gst_tee_base_init),
1404         (gst_tee_class_init):
1405         * plugins/elements/gsttypefindelement.c:
1406         (gst_type_find_element_base_init),
1407         (gst_type_find_element_class_init):
1408         Don't use base_init where not absolutely necessary. For example it's
1409         not necessary anymore for adding pad templates or setting element
1410         details.
1411
1412         Leave empty base_init functions in several places as GST_BOILERPLATE
1413         still defines and uses them.
1414
1415 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1416
1417         * gst/gstelement.c: (gst_element_base_class_init),
1418         (gst_element_class_add_pad_template):
1419         * gst/gstpadtemplate.c:
1420         Make it possible (and recommended) to set element details and add
1421         pad templates in the class_init functions by copying the details/pad
1422         templates in GstElement's base_init.
1423
1424         Also make it possible to replace existing pad templates by adding
1425         a new one with the same name. This was done in a hackish fashion
1426         in same elements before already.
1427
1428         Don't reference pad templates that are added a second time. A
1429         new pad template has a refcount of one and is not floating anymore
1430         and to be owned by the element's class. Make this more explicit by
1431         mentioning it in the docs of gst_element_class_add_pad_template().
1432
1433         These changes are backwards compatible. Fixes bug #491501.
1434
1435         * tests/check/gst/gstelement.c:
1436         Add unit test for setting element details, adding pad templates and
1437         replacing them in a subclass.
1438
1439 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1440
1441         * tools/gst-inspect.c: (print_interfaces),
1442         (print_element_properties_info), (print_pad_info),
1443         (print_signal_info), (print_element_info):
1444         Fix a few memory leaks.
1445
1446 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1447
1448         * docs/libs/gstreamer-libs-sections.txt:
1449         * libs/gst/check/gstcheck.c:
1450         * libs/gst/check/gstcheck.h:
1451         Add more functions for unit testing: gst_check_drop_buffers,
1452         gst_check_caps_equal, gst_check_element_push_buffer_list,
1453         gst_check_element_push_buffer
1454         API: gst_check_drop_buffers
1455         API: gst_check_caps_equal
1456         API: gst_check_element_push_buffer_list
1457         API: gst_check_element_push_buffer
1458
1459 2008-02-01  Julien Moutte  <julien@fluendo.com>
1460
1461         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1462         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1463         (gst_index_finalize), (gst_index_entry_free),
1464         (gst_index_add_association): Fix memory leaks.
1465         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1466         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1467         (gst_mem_index_free_format), (gst_mem_index_free_id),
1468         (gst_mem_index_finalize): Fix memory leaks.
1469         * win32/common/config.h: Updated to CVS HEAD.
1470
1471 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1472
1473         * docs/README:
1474           Some more details about how the plugin docs works.
1475
1476         * docs/plugins/gstreamer-plugins-sections.txt:
1477           Whitespace cleanup.
1478
1479 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1480
1481         * gst/parse/grammar.tab.pre.c:
1482         * gst/parse/grammar.tab.pre.h:
1483         * gst/parse/grammar.y:
1484         * gst/parse/lex._gst_parse_yy.pre.c:
1485           Add delayed set-property. This allows to set properties on dynamicaly
1486           created objects (pads in videomxer). Fixes #509391.
1487
1488 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1489
1490         * gst/gstutils.c:
1491         Check if caps are not NULL (fix bug #510194)
1492
1493 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1494
1495         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1496         (gst_base_sink_get_position_paused):
1497         Add fixme regarding EOS in pull mode.
1498         Fix position reporting in PAUSED for negative rates.
1499
1500 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1501
1502         * gst/gstminiobject.c: (gst_mini_object_replace):
1503         When replacing a miniobject, do a quick equality check first so that we
1504         can avoid a ref/unref pair.
1505
1506 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1507
1508         * docs/design/part-synchronisation.txt:
1509         Update some docs.
1510
1511         * docs/plugins/Makefile.am:
1512         * docs/plugins/gstreamer-plugins-docs.sgml:
1513         * docs/plugins/gstreamer-plugins-sections.txt:
1514         * plugins/elements/gstmultiqueue.c:
1515         Add multiqueue to the docs.
1516
1517 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1518
1519         * configure.ac:
1520           Back to CVS
1521
1522 === release 0.10.17 ===
1523
1524 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
1525
1526         * configure.ac:
1527           releasing 0.10.17, "Due Negligence"
1528
1529 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1530
1531         * gst/gstutils.c:
1532         Revert caps != NULL check temporarily for 0.10.17 release.
1533
1534 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1535
1536         * gst/gstutils.c:
1537         Check if caps are not NULL (fix bug #510194)
1538
1539 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1540
1541         * gst/gstutils.c:
1542         Fix compilation on systems that have posix timers but no
1543         monotonic clock.
1544         Fixes: #512715
1545         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1546         dot net>
1547
1548 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1549
1550         * tools/gst-inspect.c:
1551         Revert previous commit in preparation for an impromptu 0.10.17 release
1552
1553 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
1554
1555         * tools/gst-inspect.c: (print_interfaces),
1556         (print_element_properties_info), (print_pad_info),
1557         (print_signal_info), (print_element_info):
1558         Fix a few memory leaks.
1559
1560 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
1561
1562         * configure.ac:
1563         Back to CVS
1564
1565 === release 0.10.16 ===
1566
1567 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
1568
1569         * configure.ac:
1570           releasing 0.10.16, "Special Dispensation"
1571
1572 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
1573
1574         * configure.ac:
1575           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1576           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1577           not fail when trying to crosscompile on OpenEmbedded (#511750).
1578
1579 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
1580
1581         * docs/manuals.mak:
1582         Use $(MAKE) instead of make to fix the build if GNU make is
1583         called different. Fixes bug #510747.
1584
1585 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
1586
1587         * gst/gstplugin.c: (_gst_plugin_initialize):
1588           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1589           again, which I broke two commits ago when changing the API
1590           of gst_plugin_register_static(): the g_list_foreach() in
1591           _gst_plugin_register_static still assumed the old function
1592           signature and would therefore fail (re-fixes #510187).
1593
1594         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1595           (_gst_plugin_register_static), (gst_plugin_register_static):
1596           Revert the (technically correct) change to call g_thread_init() from
1597           the pre-main() constructor. This will break programs which call
1598           g_thread_init() without an if (!g_thread_supported()) guard in their
1599           main function. We could just blame it on GLib or the application, but
1600           it's probably best to just avoid this altogether and simply not use
1601           any GLib functions here and use plain old malloc() with a simple
1602           array to store the plugins to register later when gst_init() is
1603           finally called (re-fixes #510187).
1604
1605         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1606           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1607           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1608           (GST_START_TEST), (gst_plugin_suite):
1609           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1610           works.
1611
1612 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1613
1614         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1615           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1616           This makes gtk-doc complain, but results in slightly better
1617           compiler errors. The old _gst_plugin_register_static() is
1618           still guarded, so there'll be a compiler warning about that
1619           instead. Fixes #510187 too.
1620
1621 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1622
1623         * gst/gst.c: (init_post):
1624         * gst/gstplugin.c: (_gst_plugin_register_static),
1625           (gst_plugin_register_static), (_gst_plugin_initialize):
1626         * gst/gstplugin.h: (GstPluginFilter):
1627           Change API of gst_plugin_register_static() to not take
1628           a GstPluginDesc, but rather just take all the arguments
1629           in a GstPluginDesc directly. This is more intuitive and
1630           avoids certain mistakes when porting code from
1631           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1632           Fixes #510187.
1633
1634         * tests/check/gst/gstplugin.c:
1635           Fix up for changed API.
1636
1637 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1638
1639         * docs/faq/legal.xml:
1640           Update FAQ, Totem actually has an exception these days.
1641
1642 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
1643
1644         * win32/common/libgstreamer.def:
1645         Add new API declarations
1646
1647 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * gst/gstminiobject.c:
1650           Spelling fixes for the API docs.
1651
1652 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * libs/gst/base/gstbasetransform.c:
1655           Fix long property description for QoS.
1656
1657 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
1658
1659         * gst/gst.c:
1660         _gst_trace_on is already provided by gsttrace.h, no need to declare
1661         it ourselves.
1662
1663         * docs/libs/gstreamer-libs-sections.txt:
1664         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1665         and remove strange tcase_add_test which is outputting a warning.
1666
1667         * libs/gst/check/gstcheck.c:
1668         * libs/gst/check/gstcheck.h:
1669         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1670         and define them in gstcheck.c instead of having every .c file whcih
1671         includes gstcheck.h be defining its own copy and relying on symbol
1672         interposing to marry them all, which doesn't work on Solaris.
1673
1674         * tests/check/elements/identity.c: (GST_START_TEST):
1675         Don't define 'buffers' locally, it comes from libgstcheck.
1676
1677         * tests/check/generic/sinks.c: (send_buffer):
1678         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1679
1680         * tests/check/gst/gststructure.c: (GST_START_TEST):
1681         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1682         * tests/check/gst/gstutils.c: (GST_START_TEST):
1683         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1684         Add a bunch of casts to make various constants fit the types
1685         they're being assigned to.
1686
1687 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
1688
1689         * gst/gstchildproxy.c:
1690           Improve docs and add some ideas for making this more general-purpose.
1691
1692 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1693
1694         * gst/gst_private.h: (GST_CAT_TYPES):
1695           Add GST_CAT_TYPES, for consistency, and so that the other
1696           debug categories don't make fun of it. Spotted by Saur on IRC.
1697
1698 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1699
1700         * gst/parse/Makefile.am:
1701           Move types.h from EXTRA_DIST to noinst_HEADERS.
1702
1703 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1704
1705         * autogen.sh:
1706           Add -Wno-portability to the automake parameters to stop warnings
1707           about GNU make extensions being used. We require GNU make in almost
1708           every Makefile anyway.
1709
1710         * configure.ac:
1711           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1712           at the same time is required for per target flags.
1713
1714 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1715
1716         * gst/gstmacros.h:
1717           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1718           __GNUC__ is defined before using it.
1719
1720 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1721
1722         * docs/gst/gstreamer-sections.txt:
1723         * gst/gst.c: (init_post):
1724         * gst/gstplugin.c: (_gst_plugin_register_static),
1725           (gst_plugin_register_static), (_gst_plugin_initialize),
1726           (gst_plugin_register_func):
1727         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1728           API: add gst_plugin_register_static() and deprecate
1729           GST_PLUGIN_DEFINE_STATIC, since it's not portable
1730           (#498924).
1731           Also, in _gst_plugin_register_static(), make sure to call
1732           g_thread_init() before calling GLib functions such as
1733           g_list_append() if we're not initialised yet, since that
1734           may lead to random crashes with older GSlice/GLib versions.
1735
1736         * tests/check/gst/gstplugin.c:
1737           Adapt unit test to above changes.
1738
1739 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1740
1741         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1742         * gst/gstcaps.c: (gst_caps_to_string):
1743         * gst/gststructure.c: (GST_ASCII_IS_STRING),
1744           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1745           Yet another gratuitous GString micro-optimisation: add a (private)
1746           function that serialises a structure appending to an existing
1747           GString, so that when we serialise caps we don't need to alloc+free
1748           a throwaway GString for each structure (each of which also entailing
1749           multiple reallocs on the way); also use g_string_sized_new() in
1750           various places with an approximate string length to avoid reallocs
1751           within GString. See #500143.
1752
1753 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1754
1755         * gst/gststructure.c: (gst_structure_id_set_value):
1756           Always check UTF-8 conformance of structure strings and not only
1757           if the debugging system is enabled; reasoning: the behaviour of
1758           the actual code shouldn't really change depending on whether the
1759           debugging system is enabled or not (#508291).
1760
1761 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
1762
1763         * Makefile.am:
1764           Remove old coverage target in favour of "make lcov".
1765
1766 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1767
1768         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1769         (gst_base_src_loop):
1770         The start segment for reverse playback goes from start to last_stop.
1771
1772 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1773
1774         Patch by: Peter Kjellerstedt <pkj axis com>
1775
1776         * gst/gstclock.h:
1777         Cast the results from the timeval/spec_to_time macros to what the
1778         docs say it casts to, a GstClockTime. fixes #508175.
1779
1780 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1781
1782         * gst/gstbuffer.c:
1783         Update some comments.
1784
1785         * tools/gst-inspect.c: (print_element_properties_info):
1786         Improve printing of flags.
1787
1788 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1789
1790         * libs/gst/base/gstbasetransform.c:
1791           (gst_base_transform_transform_size):
1792           Print element name with g_warning() if there's a problem
1793           with the unit size.
1794
1795 2008-01-07  David Schleef  <ds@schleef.org>
1796
1797         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1798
1799         * libs/gst/controller/gstcontroller.h:
1800         * libs/gst/controller/gstcontrolsource.h:
1801         * libs/gst/controller/gstinterpolationcontrolsource.h:
1802         * libs/gst/controller/gstlfocontrolsource.h:
1803         * libs/gst/dataprotocol/dataprotocol.h:
1804           Fix empty prototypes.  Fixes bug #507957.
1805
1806 2008-01-07  David Schleef  <ds@schleef.org>
1807
1808         * docs/faq/dependencies.xml: Fix typo.
1809
1810 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1811
1812         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1813         (gst_base_src_loop):
1814         Don't update the last_stop position in do_seek, that's the position we
1815         did a seek to.
1816         Read backwards when we have a negative rate.
1817
1818         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1819         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1820         (filesrc_suite):
1821         Add check for reverse reading.
1822
1823 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
1824
1825         Patch by: Alexis Ballier <aballier at gentoo org>
1826
1827         * tests/check/gst/gstabi.c:
1828         * tests/check/gst/struct_ppc64.h:
1829         * tests/check/libs/libsabi.c:
1830         * tests/check/libs/struct_ppc64.h:
1831           Decide which header to include based on the userland ABI target
1832           and not the kernel/cpu. Fix up structure sizes of ppc64 header
1833           for 64-bit userland (#503590).  Might need something similar for
1834           x86 too.
1835
1836 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1837
1838         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1839           Log the reason why fopen fails in addition to the fact that it failed.
1840           
1841 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1842
1843         * gst/parse/parse.l:
1844         Use "%option never-interactive" to prevent useless calls to isatty()
1845         on every input when parsing. Also use "%option noinput" to not define
1846         the static input/yyinput functions which we don't use anyway. This
1847         removes a compiler warning with gcc 4.3 and saves some bytes in the
1848         library.
1849         
1850         * gst/parse/lex._gst_parse_yy.pre.c:
1851         Regenerated for the above change.
1852
1853 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1854
1855         * gst/gstpad.c: (fixate_value):
1856         Don't crash when trying to fixate and empty list.
1857         Fixes #506643.
1858
1859 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1860
1861         * docs/faq/gst-uninstalled:
1862         Clarify the comments to make the usage of this script and what it
1863         does easier to understand.
1864
1865 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1866
1867         * tools/gst-plot-timeline.py:
1868         Add more options to gst-plot-timeline
1869
1870 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1871
1872         * docs/design/part-synchronisation.txt:
1873         Some more info on how the stream_time in GstBaseSink is done.
1874
1875 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1876
1877         * tests/check/generic/sinks.c: (gst_sinks_suite):
1878           Put back the tcase_set_timeout(), apparently it's needed after
1879           all; fix it up in a way that makes things work with valgrind too.
1880
1881 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1882
1883         * gst/gstdebugutils.c:
1884           Add warning when failed to open file for writing.
1885
1886 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1887
1888         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1889
1890         * gst/gstvalue.c: (gst_value_is_fixed):
1891           Optimisation: bail out of the loop as early as possible (#500143).
1892
1893 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1894
1895         * gst/gstcaps.c: (gst_caps_to_string):
1896         * gst/gstinfo.c: (gst_debug_construct_term_color):
1897         * gst/gstparse.c: (gst_parse_launchv):
1898         * gst/gstutils.c: (gst_util_dump_mem):
1899         * gst/gstvalue.c: (gst_value_serialize_any_list),
1900           (gst_value_transform_any_list_string):
1901           Bunch of gratuitous nano-optimisations.
1902
1903 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1904
1905         * tests/check/generic/sinks.c: (async_done_func),
1906           (async_done_eos_func):
1907           Fix leak in unit test (bus sync handler must unref the message
1908           if it returns GST_BUS_DROP). Don't fiddle with the default test
1909           timeout, this is smaller than the current preconfigured value
1910           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1911           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1912
1913 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1914
1915         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1916
1917         * configure.ac:
1918         Check for stdio_ext.h for the filesink changes.
1919
1920         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1921         (gst_file_sink_class_init), (gst_file_sink_init),
1922         (gst_file_sink_dispose), (gst_file_sink_set_property),
1923         (gst_file_sink_get_property), (gst_file_sink_open_file),
1924         (gst_file_sink_close_file):
1925         * plugins/elements/gstfilesink.h:
1926         Add two properties to control the buffering mode and size.
1927         API: GstFileSink::buffer-mode
1928         API: GstFileSink::buffer-size
1929         Fixes #500150.
1930
1931 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1932
1933         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1934         Add some more docs to explain why a FIXME was wrongly added. 
1935
1936 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1937
1938         * gst/gstobject.c:
1939           Fix typo in the gst_object_{ref,unref} documentation.
1940
1941 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1942
1943         * tests/check/libs/controller.c:
1944         * tests/check/libs/typefindhelper.c:
1945         * tests/check/pipelines/parse-launch.c:
1946           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1947           going to be deprecated (see #498924).
1948
1949 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1950
1951         * gst/gsttypefind.c: (gst_type_find_register):
1952           Make gst_type_find_register work for static typefind functions,
1953           ie. allow passing plugin == NULL (prerequisite for #498924).
1954
1955         * gst/gstelementfactory.c: (gst_element_register):
1956           Small docs addition.
1957
1958 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1959
1960         * gst/gstpad.c: (gst_pad_dispose):
1961         Really unlink the peer pad instead of setting the peer pointer to NULL
1962         when we dispose the pad.
1963         This correctly calls the unlink functions and makes sure that the peer
1964         does not have a handle to invalid memory. See #504671.
1965
1966         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1967         Add testsuite for above case.
1968
1969 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1970
1971         Patch by: Peter Kjellerstedt <pkj axis com>
1972
1973         * libs/gst/check/gstcheck.h:
1974           Fix detection of the check version we're compiling against (would
1975           otherwise break if check goes v0.10.0); correctly report the
1976           name of the failed test again in case of failure, instead of
1977           just 'tf' (fixes #504499).
1978
1979 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1980
1981         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1982         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1983         (gst_base_src_loop), (gst_base_src_set_flushing),
1984         (gst_base_src_change_state):
1985         Allow sending EOS to the source to make it send out an EOS event from
1986         the streaming thread.
1987         Update docs and deprecate the old NULL/READY shutdown method.
1988
1989         * tests/check/libs/basesrc.c: (GST_START_TEST),
1990         (gst_basesrc_suite):
1991         Add unit test for controlled shutdown.
1992
1993 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1994
1995         * docs/design/part-synchronisation.txt:
1996         Small updates.
1997
1998         * gst/gstsegment.c: (gst_segment_set_seek),
1999         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2000         (gst_segment_to_running_time):
2001         The seek format can be different from the segment format when the start
2002         and stop values are not to be updated, when we only do a rate change for
2003         example.
2004
2005         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2006         (gst_segment_suite):
2007         Add a testcase for the rate-only seeks, checking that the format is
2008         correctly ignored when start and stop are not updated.
2009
2010 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
2011
2012         Patch by: Matthias Bolte <photon at mail dot upb dot de>
2013
2014         * win32/vs8/grammar.vcproj:
2015         * win32/vs8/libgstcontroller.vcproj:
2016         * win32/vs8/libgstreamer.vcproj:
2017         Fix compilation with VS8 and include some missing files.
2018
2019 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
2020
2021         * gst/gsttaglist.c:
2022           Small docs addition: mention that the strings returned by
2023           gst_tag_list_get_string*() are in UTF-8 encoding.
2024
2025 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
2026
2027         * Makefile.am:
2028           The check-exports stuff moved to common/win32.mak, so include that.
2029
2030 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2031
2032         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2033         (gst_base_src_perform_seek), (gst_base_src_get_range),
2034         (gst_base_src_set_playing), (gst_base_src_change_state):
2035         Make _wait_playing() not check any variables so that we can call this
2036         function from subclasses. Move the checks elsewhere similar to
2037         _wait_preroll() in basesink.
2038         Add some debugging.
2039         Only signal the LIVE cond when we are going back to PLAYING.
2040
2041 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2042
2043         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
2044           Use g_remove() and g_rename(). Check result of g_rename(), and
2045           don't leak the open file descriptor if we error out when writing.
2046
2047         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
2048           Must check the return value of close() after writing out the new
2049           registry file.  Sometimes write problems such as out-of-diskspace
2050           are only reported when the file is closed and not already during
2051           the write.  This may have caused partial/broken registry files in
2052           some rare circumstances. Should fix #503675.
2053
2054 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
2055
2056         * docs/gst/.cvsignore:
2057         * docs/libs/.cvsignore:
2058         * docs/plugins/.cvsignore:
2059         Ignore files generated by new common/* modifications
2060
2061 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2062
2063         * win32/common/libgstbase.def:
2064           Yes, you can also have a <TAB> if you want.
2065
2066 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2067
2068         * win32/common/libgstbase.def:
2069           Add new basetransform API to win export file.
2070
2071 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2072
2073         * tests/check/gst/gstbin.c:
2074           Adjust the test to the refcount change two days ago.
2075
2076 2007-12-14  David Schleef  <ds@schleef.org>
2077
2078         * docs/faq/getting.xml: Fix typo.
2079
2080 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
2081
2082         * docs/libs/gstreamer-libs-sections.txt:
2083         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2084           (gst_base_transform_prepare_output_buffer),
2085           (gst_base_transform_set_gap_aware):
2086         * libs/gst/base/gstbasetransform.h:
2087           API: Add gst_base_transform_set_gap_aware() to control whether
2088           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
2089           get buffers with this flag at all. Fixes #503231.
2090
2091 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
2092
2093         * libs/gst/base/gstbasesink.c:
2094         * libs/gst/base/gstbasesrc.c:
2095         * libs/gst/base/gstbasetransform.c:
2096           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
2097           thread. Correct log message in gstbasesrc.c.
2098
2099 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2100
2101         * gst/gstutils.c: (element_find_unconnected_pad):
2102           Fix possible compiler warning (#503417).
2103
2104 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2105
2106         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
2107           Don't use GST_CAT_EVENT here for logging, it makes no sense.
2108
2109 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
2110
2111         * tools/gst-inspect.c: (print_element_properties_info):
2112           Add support for GstFraction properties.
2113
2114 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2115
2116         * Makefile.am:
2117           Add check-exports target and run it as part of 'make check'
2118           (see #499140 and #493983).
2119
2120         * gst/gst_private.h:
2121         * gst/gstelementfactory.h:
2122         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
2123         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
2124           (_priv_gst_in_valgrind):
2125         * gst/gstinfo.h: (GstLogFunction):
2126         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
2127           (gst_type_find_register):
2128         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
2129           (gst_type_find_factory_get_type):
2130         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
2131           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
2132           (gst_controller_new_valist), (gst_controller_new_list),
2133           (_gst_controller_dispose), (_gst_controller_class_init):
2134         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
2135         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
2136           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
2137           (gst_object_get_controller), (gst_object_set_controller),
2138           (gst_object_suggest_next_sync), (gst_object_sync_values),
2139           (gst_object_set_control_source), (gst_object_get_control_source),
2140           (gst_object_get_value_arrays), (gst_object_get_value_array),
2141           (gst_object_get_control_rate), (gst_object_set_control_rate):
2142         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
2143         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
2144           Make some functions that should be static static; rename some
2145           private symbols so that they don't get exported; add some FIXME
2146           comments so we can move accidentally exported functions into
2147           our private section in 0.11.
2148
2149         * win32/common/libgstreamer.def:
2150           Add gst_utils_get_timestamp().
2151
2152 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2153
2154         * gst/gstvalue.c:
2155         * gst/gstvalue.h:
2156           Add more missing "Since:" tags to docs.
2157
2158 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * gst/gstutils.c:
2161           Add mising "Since:" to docs.
2162
2163 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * gst/gstplugin.c:
2166           Include "glib-compat-private.h" to fix the build on system with
2167           glib < 2.10. Fixes #503131.
2168
2169 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2170
2171         * gst/gstutils.c:
2172         * gst/gstutils.h:
2173           Actually its not PURE as it gets the time from elsewhere.
2174
2175 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2176
2177         * docs/gst/gstreamer-sections.txt:
2178         * gst/gstclock.h:
2179         * gst/gstdebugutils.c:
2180         * gst/gstinfo.c:
2181         * gst/gstutils.c:
2182         * gst/gstutils.h:
2183         * libs/gst/base/gstbasesink.c:
2184         * tools/gst-launch.c:
2185           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
2186           uses as we don't have HAVE_POSIX_TIMERS in public headers.
2187           Thanks Tim for spotting.
2188           API: gst_util_get_timestamp
2189
2190 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
2191
2192         * configure.ac:
2193           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
2194
2195 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
2196
2197         * gst/gststructure.c: (gst_structure_validate_name),
2198           (gst_structure_new_valist), (gst_structure_parse_value),
2199           (gst_structure_from_string):
2200           Don't crash in _from_string() if the structure name is not valid
2201           (fixes #501560).  Allow structure names to start with a number
2202           again (this apparently broke the ubuntu codec installer).
2203
2204         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
2205           (GST_START_TEST):
2206           Add unit test for the crash; update unit tests for new behaviour.
2207
2208 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
2209
2210         * gst/gstutils.c:
2211         Clarify gst_element_get_compatible_pad() documentation.
2212         Fixes #500919.
2213
2214 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
2215
2216         * tests/check/Makefile.am:
2217           Don't forget to dist {gst,libs}/struct_hppa.h.
2218
2219 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2220
2221         * libs/gst/base/gstbasesink.c:
2222           Use new API to get elapsed time.
2223
2224 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2225
2226         * gst/gstdebugutils.c:
2227         * gst/gstinfo.c:
2228           Fix wrong order of args in GST_CLOCK_DIFF() usage.
2229
2230         * tools/gst-launch.c:
2231           Use new API to get elapsed time.
2232
2233 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2234
2235         * docs/gst/gstreamer-sections.txt:
2236         * gst/gstclock.h:
2237         * gst/gstdebugutils.c:
2238         * gst/gstinfo.c:
2239           Rename new API + ChangeLog surgery to remove old name from last entry..
2240
2241 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2242
2243         * docs/gst/gstreamer-sections.txt:
2244         * gst/gstclock.h:
2245         * gst/gstdebugutils.c:
2246         * gst/gstinfo.c:
2247           Now hide the different clock stuff behind a macro.
2248
2249 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2250
2251         * configure.ac:
2252         * gst/gstdebugutils.c:
2253         * gst/gstinfo.c:
2254           Apply the posix-timer check from #361155. Conditionally use the posix
2255           timer for logging. This gives better timestamp precission, less
2256           overhead and no ntp jitter.
2257
2258 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
2259
2260         * gst/gstminiobject.c: (gst_mini_object_get_type),
2261         (gst_mini_object_class_init), (gst_mini_object_copy_default),
2262         (gst_mini_object_finalize), (gst_mini_object_copy),
2263         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2264         (gst_mini_object_replace), (param_mini_object_validate),
2265         (gst_param_spec_mini_object_get_type):
2266         Some cleanup and checking against invalid function parameters.
2267
2268 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
2269
2270         * docs/gst/gstreamer-sections.txt:
2271         * gst/gstclock.h:
2272         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2273         (gst_systemclock_suite):
2274         Start merging in the easy bits of #361155, the monotonic clock patch.
2275         This one adds a few handy macros with docs and a testsuite.
2276
2277 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
2278
2279         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2280         Be a bit smarter when seeking, like, don't try to do a seek when it's
2281         not needed. This avoids errors when the file is not seekable.
2282         Fixes #499771.
2283
2284 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
2285
2286         * docs/gst/gstreamer-docs.sgml:
2287         * docs/gst/gstreamer-sections.txt:
2288         * docs/gst/gstreamer.types.in:
2289         * gst/Makefile.am:
2290         * gst/gst.h:
2291         * gst/gstpreset.c:
2292         * gst/gstpreset.h:
2293         * plugins/elements/gstqueue.c:
2294           Due to popular request remove preset interface again. :-(.
2295
2296 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2297
2298         * tools/gst-inspect.c:
2299           Print 'default value' for enums and flags too.
2300
2301 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2302
2303         * docs/random/ensonic/profiling.txt:
2304           More ideas.
2305
2306         * gst/gstbin.c:
2307           Fix typo and give better log output.
2308
2309         * gst/gstdebugutils.c:
2310         * gst/gstdebugutils.h:
2311           More ideas, make graphs a bit smaller and fix param name in macro.
2312
2313 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2314
2315         * gst/gstpreset.c:
2316           Try harder to use the return value from fgets().
2317
2318 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
2319
2320         * gst/gstpreset.c:
2321           For theses two fgets we handle the error below.
2322
2323 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2324
2325         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2326         Only send upstream events upstream. Fixes #498746.
2327
2328 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2329
2330         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2331
2332         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2333         (gst_identity_init), (gst_identity_transform_ip),
2334         (gst_identity_set_property), (gst_identity_get_property):
2335         * plugins/elements/gstidentity.h:
2336         Add property to disable handoff signal emission. Fixes #498694.
2337         API: GstIdentity::signal-handoffs
2338
2339 2007-11-21  Julien Moutte  <julien@fluendo.com>
2340
2341         * docs/faq/gst-uninstalled: Yet another missing library for the
2342         uninstalled script (fft)
2343
2344 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
2345
2346         * docs/faq/developing.xml:
2347         Add a question about how to submit new translations.
2348
2349         * docs/random/release:
2350         Update the contact email address for the Translation Project
2351
2352         * plugins/elements/gstfdsrc.c:
2353         The parent_class for fdsrc is pushsrc, not GstElement.
2354
2355 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2356
2357         * gst/gstpreset.c:
2358           Plug a leak and fix saving.
2359
2360 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
2361
2362         * docs/gst/gstreamer-sections.txt:
2363         Add new gst_preset__get_property_names() function to the docs
2364         to fix the build.
2365
2366 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2367
2368         * gst/gstpreset.c:
2369         * gst/gstpreset.h:
2370           Change _get_preset_names API to return a strv with copies. Add
2371           _get_property_names to allow implementations to filter and provide
2372           good default implementation.
2373
2374 2007-11-20  Julien MOUTTE  <julien@moutte.net>
2375
2376         * docs/faq/gst-uninstalled: Add another library to the uninstalled
2377         script (sdp).
2378
2379 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2380
2381         * gst/gstpreset.c:
2382           More cleanups, docs, and TODOs from comments that now slowly come in.
2383
2384 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2385
2386         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
2387         search path.
2388
2389 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2390
2391         * gst/gstpreset.c:
2392           Fix bogus warning and make the property type specific code more
2393           similar.
2394
2395 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2396
2397         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2398         it build on OS X.
2399
2400 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
2401
2402         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2403         (gst_bin_add_func), (gst_bin_remove_func),
2404         (gst_bin_change_state_func), (gst_bin_continue_func):
2405         Change email, cleanups add some more debug and comments.
2406         Also set bus and clock on new elements when the pipeline was in error.
2407
2408 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
2409
2410         * gst/gstbin.c:
2411         * gst/gstdebugutils.c:
2412           Fix build with --disable-gst-debug. Fixes #497859.
2413           Spotted by Sameer Naik.
2414
2415 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2416
2417         * gst/gstevent.c:
2418           Little documentation improvment.
2419
2420         * gst/gstpreset.c:
2421           More TODO cleanups. Remove c++ comments.
2422
2423         * libs/gst/controller/gstcontroller.c:
2424           Add TODO and use quark from static string.
2425
2426         * tests/check/gst/gstmessage.c:
2427         * tests/check/gst/gststructure.c:
2428           Use quark from static string.
2429
2430 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * gst/gstpreset.c:
2433           Add some comments and TODOs.
2434
2435         * gst/gstpreset.h:
2436           Add padding for future changes.
2437
2438         * plugins/elements/gstqueue.c:
2439           Implement the iface.    
2440
2441 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2442
2443         * docs/gst/gstreamer-docs.sgml:
2444         * docs/gst/gstreamer-sections.txt:
2445         * docs/gst/gstreamer.types.in:
2446         * gst/Makefile.am:
2447         * gst/gst.h:
2448         * gst/gstpreset.c:
2449         * gst/gstpreset.h:
2450           Add the preset interface (Fixes #396779). Do some doc cleanups along.
2451
2452 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
2453
2454         * configure.ac:
2455
2456         Back to CVS
2457
2458 === release 0.10.15 ===
2459
2460 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
2461
2462         * configure.ac:
2463           releasing 0.10.15, "October"
2464
2465 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
2466
2467         * win32/vs6/libgstreamer.dsp:
2468         Convert line endings back to DOS.
2469
2470 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
2471
2472         * docs/design/draft-tagreading.txt:
2473         * docs/random/ensonic/profiling.txt:
2474         Update fast tagreading draft and performance profiling ideas.
2475
2476 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2477
2478         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2479         Don't hold the object lock when unreffing a buffer because it could
2480         cause a deadlock when the finalize function wants to grab the object
2481         lock too. Fixes #495133.
2482
2483 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2484
2485         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2486         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2487         Also accumulate time correctly when doing reverse playback. Fixes
2488         #488201,
2489         When converting to running and stream time, use default values for
2490         start/stop/time/accum when comparing different formats. Fixes #494245.
2491
2492         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2493         Do running/stream time in TIME format.
2494
2495         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2496         (gst_segment_suite):
2497         2 new unit tests for segment accumulation.
2498
2499 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2500
2501         * gst/gst.c: (init_pre):
2502         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2503           (_gst_debug_bin_to_dot_file):
2504           Move getenv() back into gst_init, so everyone can live happily
2505           ever after. Make sure the symbol isn't exported though.
2506
2507 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         Patch by: Sebastien Moutte  <sebastien moutte net>
2510
2511         * win32/common/gstenumtypes.c:
2512         * win32/common/gstenumtypes.h:
2513           Update enum types.
2514
2515         * win32/vs6/libgstreamer.dsp:
2516           Update vs6 project files (#494343).
2517
2518 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2519
2520         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2521         (gst_base_src_perform_seek), (gst_base_src_default_event),
2522         (gst_base_src_set_flushing), (gst_base_src_activate_push),
2523         (gst_base_src_activate_pull):
2524         Unify flushing code, remove some old unlock code that is no longer used.
2525         Take the streaming lock when seeking to avoid races. Fixes #492729.
2526         Added some more comments.
2527
2528 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2529
2530         * gst/gst.c: (_gst_disable_segtrap):
2531           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
2532           we can use gst_segtrap_is_enabled() there now that we have that API.
2533           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2534           to do the getenv here (and export the variable).
2535
2536         * gst/gstdebugutils.c: (debug_dump_element),
2537           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2538           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2539
2540         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2541           (gst_debug_log_default):
2542           Rename _gst_info_start_time to priv_gst_info_start_time so it
2543           doesn't get exported (was never in any header).
2544
2545         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2546           (gst_plugin_loading_mutex):
2547           Make static mutex gst_plugin_loading_mutex really static (was never
2548           in any header), and use gst_segtrap_is_enabled() instead of
2549           _gst_disable_segtrap.
2550
2551         * gst/gsttrace.c: (_gst_trace_default):
2552           Make local _gst_trace_default static (was never in any header).
2553
2554 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2555
2556         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2557
2558         * win32/common/libgstbase.def:
2559         * win32/common/libgstcontroller.def:
2560         * win32/common/libgstdataprotocol.def:
2561         * win32/common/libgstnet.def:
2562         * win32/common/libgstreamer.def:
2563           Add more missing symbols, remove some duplicates, and sort
2564           as the 'sort' command sorts it (partially fixes #493983).
2565
2566 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2567
2568         * gst/gstelement.c: (gst_element_set_state_func):
2569         Only change the state cookie if a different state was set on the
2570         element. See #492729.
2571
2572 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2573
2574         * gst/gstvalue.c:
2575           Remove unused and uninitialised type variables that were still
2576           exported for some reason (they were never in any header files
2577           though).
2578
2579 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2580
2581         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2582         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2583         (gst_base_sink_event), (gst_base_sink_get_position_last),
2584         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2585         (gst_base_sink_change_state):
2586         Don't try to report a 0 position when we don't know, return -1 and FALSE
2587         instead. This mostly happens when we are prerolling.
2588         Make sure we can report the right position before we post the ASYNC_DONE
2589         message so that a message handler can query position without races.
2590
2591         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2592         (async_done_handoff), (async_done_func), (send_buffer),
2593         (async_done_eos_func), (gst_sinks_suite):
2594         Add two tests for the above.
2595
2596 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2597
2598         * MAINTAINERS:
2599         Update with new email address.
2600
2601         * docs/design/part-TODO.txt:
2602         Add some more info about future pad-block and negotiation changes.
2603
2604         * docs/design/part-buffering.txt:
2605         Add some ideas about buffering reporting.
2606
2607 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
2608
2609         * tests/check/gst/gstobject.c:
2610         Disable silly racy test that always fails on this combination of CPU
2611         and kernel.
2612
2613 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2614
2615         Patch by: Murray Cumming  <murrayc@murrayc.com>
2616
2617         * gst/gstobject.c:
2618           Corrected the registration of the parent-set and parent-unset
2619           signals: The parameter is a GstObject, not a GObject (#493134).
2620
2621 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2622
2623         * gst/gst_private.h:
2624         * gst/gstbuffer.h:
2625         * gst/gstevent.h:
2626         * gst/gstformat.h:
2627         * gst/gstmessage.h:
2628         * gst/gstplugin.h:
2629         * gst/gstquery.h:
2630         * gst/gsttaglist.h:
2631         * gst/gstvalue.h:
2632           Move declaration of private _gst_foo_initialize() functions into
2633           our private header file where they should have been all along.
2634
2635 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2636
2637         * docs/plugins/gstreamer-plugins-sections.txt:
2638         * gst/gstdebugutils.h:
2639         * gst/gstxml.h:
2640         * plugins/elements/gstqueue.c:
2641           gtk-doc fixes; trailing-comma-in-enum fix.
2642
2643 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2644
2645         * gst/gst.c: (gst_deinit):
2646           Clean up on deinit (not the external ones though, doesn't seem to be
2647           needed for some reason).
2648
2649 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2652           Remove __declspec(dllimport) for MSVC that was copied over into core
2653           from a plugin, obviously without ever having been tested (note the
2654           single underscore in _declspec in the initial commit), and that doesn't
2655           really make sense.  See #492077.
2656
2657 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2658
2659         * gst/gst.c: (init_post):
2660         * gst/gstevent.c: (_gst_event_initialize):
2661         * gst/gstquery.c: (_gst_query_initialize):
2662         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2663           g_type_class_ref() other types as well, see #349410 and #64764.
2664
2665         * gst/gstbuffer.c: (_gst_buffer_initialize):
2666         * gst/gstmessage.c: (_gst_message_initialize):
2667           Simplify existing g_type_class_ref().
2668
2669 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2670
2671         * gst/gstformat.c: (_gst_format_initialize):
2672           g_type_class_ref() our GstFormat type to make sure we avoid the
2673           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2674           bug #64764. Should fix intermittent tee unit test failures (#474823).
2675
2676 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2677
2678         * tests/check/elements/tee.c: (test_num_buffers):
2679           Simplify, simplify, simplify - or not.  Rewrite unit test
2680           not to use gst_parse_launch(); allow N sub-streams. Increasing
2681           the number of sub-streams seems to reproduce #474823 more easily.
2682
2683 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2684
2685         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2686
2687         * gst/gsttrace.c:
2688         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2689         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2690         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2691           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2692           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2693           so use _pipe() directly (#492077).
2694
2695         * win32/common/dirent.c: (_treaddir):
2696           Add a couple of casts to make it build without warnings with MSVC.
2697
2698         * win32/common/libgstreamer.def:
2699           Add some more symbols that need to be exported.
2700
2701 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2702
2703         * tests/examples/metadata/read-metadata.c: (message_loop):
2704           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2705           arriving in a second or third tag message are added to
2706           the tag list as well.
2707
2708 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
2709
2710         * libs/gst/base/gstbasesrc.c:
2711           Its "Since:" and not "@Since:". And remove an superflous cast.
2712
2713 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
2714
2715         * docs/libs/gstreamer-libs-sections.txt:
2716         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2717         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2718         (gst_base_sink_get_property), (gst_base_sink_render_object),
2719         (gst_base_sink_preroll_object),
2720         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2721         (gst_base_sink_change_state):
2722         * libs/gst/base/gstbasesink.h:
2723         Add a new last-buffer property that contains the last buffer used in
2724         basesink for preroll or rendering. useful for making snapshots.
2725         API: gst_base_sink_get_last_buffer()
2726         API: GstBaseSink::last-buffer
2727
2728 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2729
2730         * docs/gst/running.xml:
2731         * gst/gst.c:
2732         * gst/gstdebugutils.c:
2733         * gst/gstdebugutils.h:
2734         * tools/gst-launch.c:
2735           Improve bin graph dumping, by using the envvar to specify a path.
2736           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2737
2738 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
2739
2740         * plugins/elements/gsttypefindelement.c:
2741           (gst_type_find_element_handle_event),
2742           (gst_type_find_element_activate):
2743           Post special error message if we can't determine the type of a stream
2744           because it's empty.
2745
2746 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2747
2748         * docs/gst/running.xml:
2749         * gst/gstdebugutils.c:
2750           Document new env-var. Add one log-line after dumpng a graph.
2751
2752 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2753
2754         * configure.ac:
2755           Ugly hack to put the (recently removed and non-portable, apparently)
2756           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2757           GNU ld, because without that 'make check' fails miserably on my debian
2758           stable box.  Someone with more knowledge of linker intricacies and
2759           portability issues than me fix this properly please.
2760
2761 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
2762
2763         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2764         Reset last seen position after flushing so that we don't report the old
2765         position anymore.
2766
2767 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2768
2769         * gst/gstelementfactory.c: (gst_element_register):
2770         * gst/gsturi.h:
2771         Patch from Alessandro Decina adding get_type_full and
2772         get_protocols_full private vfuncs to the URIHandler interface
2773         to allow bindings to support creating URI handlers. 
2774         Partially fixes: #339279
2775         API: GstURIHandlerInterface::get_type_full
2776         API: GstURIHandlerInterface::get_protocols_full
2777
2778 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2779
2780         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2781         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2782         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2783         Make it so that pads are considered linked until a buffer is pushed
2784         and discovered otherwise. This avoids problems with decodebin2 hanging
2785         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2786         case.
2787
2788         Make sure we lock the multiqueue when updating the max-size properties.
2789         
2790         Fix a crash on Solaris in a debug statement in get_request_pad that
2791         passes a NULL string to GST_DEBUG. 
2792
2793         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2794         (run_output_order_test):
2795         Fix the test to allow the first buffer on not-linked pads to come out
2796         of sequence while multiqueue discovers that they are not-linked.
2797
2798 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2799
2800         * configure.ac:
2801         * libs/gst/check/Makefile.am:
2802         Use a custom export symbol regex for libgstcheck, as it needs
2803         to export symbols that don't match the standard GStreamer gst_*
2804         pattern, and  --export-dynamic is not portable (only works on 
2805         GNU ld)
2806
2807         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2808         (gst_check_setup_sink_pad):
2809         Make sure to pass a message parameter to the fail_* macros.
2810
2811         * tests/check/gst/gstinfo.c: (GST_START_TEST):
2812         Fix some compiler warnings.
2813
2814 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * tests/check/gst/gststructure.c: (test_to_string):
2817           Disable test that checks that white spaces are not allowed
2818           in structure names or field names, since we need to
2819           support that for now for backwards compatibility reasons.
2820
2821 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2822
2823         * docs/gst/gstreamer-sections.txt:
2824         * gst/gsttaglist.c:
2825         * gst/gsttaglist.h:
2826           API: add GST_TAG_ARTIST_SORTNAME
2827           API: add GST_TAG_ALBUM_SORTNAME
2828           API: add GST_TAG_TITLE_SORTNAME
2829           Add tag variants for sorting (#414539).
2830
2831 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2832
2833         * gst/gststructure.c:
2834           Also allow white space for names so we don't break
2835           backwards compatibility.
2836
2837 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2838
2839         * docs/design/part-TODO.txt:
2840         * docs/design/part-segments.txt:
2841         * docs/design/part-streams.txt:
2842         Small updates.
2843
2844 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2845
2846         * docs/gst/gstreamer-sections.txt:
2847          Fixed documentation from my previous commit (added new API add
2848          gst_value_set_structure(), add gst_value_get_structure() and
2849          GST_VALUE_HOLDS_STRUCTURE).
2850
2851 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2852
2853         * gst/gstdebugutils.c:
2854           Reflow code to fix uninitialized variable warning.
2855
2856 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2857
2858         * gst/gstcaps.c: (gst_caps_to_string),
2859         (gst_caps_from_string_inplace):
2860         * gst/gststructure.c: (gst_structure_get_abbrs),
2861         (gst_structure_to_string), (gst_structure_from_string):
2862         * gst/gstvalue.c: (gst_value_set_structure),
2863         (gst_value_get_structure), (gst_value_serialize_structure),
2864         (gst_value_deserialize_structure), (_gst_value_initialize):
2865         * gst/gstvalue.h:
2866         * tests/check/gst/gststructure.c: (GST_START_TEST),
2867         (gst_structure_suite):
2868         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2869          Added GstStructure to gst_value_table and its related functions.
2870          Changed gst_structure_to_string to print ';' in the end.
2871          Changed gst_caps_to_string to not print ';' beteween its
2872          fields (structures) anymore and remove the lastes ';' from latest
2873          structure. Now it is possible to have nested structures.
2874          In addition, backward compatibilty is assured by accepting '\0' as
2875          end delimiter. Fixes: #487969.
2876          API: add gst_value_set_structure()
2877          API: add gst_value_get_structure()
2878          API: add GST_VALUE_HOLDS_STRUCTURE
2879
2880 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2881
2882         * gst/gstbus.c:
2883           When no GSource callback has been set up, tell developer
2884           to use a function that actually exists.
2885
2886 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2887
2888         * docs/gst/gstreamer-sections.txt:
2889         * gst/Makefile.am:
2890         * gst/gst.c:
2891         * gst/gst.h:
2892         * gst/gstdebugutils.c:
2893         * gst/gstdebugutils.h:
2894         * gst/gstinfo.c:
2895         * gst/gstinfo.h:
2896         * tools/gst-launch.c:
2897           Allow dumping pipelines as dot graphs. Fixes #456573.
2898
2899 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2900
2901         * gst/gststructure.c:
2902           Allow '+' as well, it can be part of media or mime types
2903           such as image/svg+xml.
2904
2905 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2906
2907         * docs/gst/gstreamer-sections.txt:
2908         * gst/gstbus.c:
2909         * gst/gstbus.h:
2910           API: add gst_bus_pop_filtered
2911           API: add gst_bus_timed_pop_filtered
2912           Two new functions for waiting for specific message types on the
2913           bus for a specified amount of time without iterating any main
2914           loops or main contexts.
2915
2916         * tests/check/gst/gstbus.c:
2917           Some tests for the new functions.
2918
2919 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * docs/libs/gstreamer-libs-sections.txt:
2922           Make gtk-doc ignore stuff it should ignore.
2923
2924 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2925
2926         * libs/gst/check/gstcheck.c:
2927         * libs/gst/check/gstcheck.h:
2928           Allow runtime selection of unit tests to run via the GST_CHECKS
2929           environment variable (test case function names, comma-separated).
2930
2931 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2932
2933         * gst/gststructure.c:
2934         * tests/check/gst/gststructure.c:
2935           Revert serialisation change and constrain structure-names after
2936           consensus on irc. Update api documentation to reflect the change.
2937
2938 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2939
2940         * gst/gststructure.c:
2941           Improve serialization and fix tests.
2942
2943         * tests/check/gst/gststructure.c:
2944           Add another test that covers why I actually did the previous structure
2945           change.
2946
2947 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2948
2949         * tools/gst-inspect.c: (print_element_info):
2950         Don't crash when inspecting an element.
2951
2952 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2953
2954         * tests/check/gst/gststructure.c:
2955           Add unit test for escaping of structure name when serialising
2956           and deserialising to/from strings.
2957
2958 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2959
2960         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2961         (gst_single_queue_new):
2962         * plugins/elements/gstqueue.c: (gst_queue_init),
2963         (gst_queue_push_one):
2964         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2965         upstream is tricked into thinking it can suggest a format downstream
2966         while downstream does not support that format. The real problem is that
2967         core calls acceptcaps when pushing a buffer with new caps, for which we
2968         do a little workaround by setting the caps on the srcpad ourselves
2969         before pushing the buffer (until this is figured out). Fixes #486758.
2970
2971 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2972
2973         * gst/gststructure.c:
2974         * gst/gstvalue.c:
2975           Add some more comments and debug output. Quote structure name to fix
2976           deserialisation of some strings.
2977
2978 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2979
2980         * gst/gstbuffer.h:
2981           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2982           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2983
2984 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2985
2986         * tools/gst-inspect.c:
2987           Save approx. 400 1 byte allocs when printing. Use API to acces element
2988           details.
2989
2990         * tools/gst-run.c:
2991           Avoid a strdup.
2992
2993         * tools/gst-xmlinspect.c:
2994           Use API to acces element details.
2995
2996 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * gst/gstinfo.c:
2999           Fix some spelling errors.
3000
3001 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
3002
3003         * gst/gstbin.c: (bin_handle_async_done):
3004         Correctly set the next state if all of our async children commited their
3005         state. This makes sure we can actually cancel the state change in
3006         progress. Fixes a regression in Rhythmbox when seeking.
3007
3008 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3009
3010         * gst/gstbin.c:
3011           Don't shadow local variable.
3012
3013         * gst/gstinfo.c:
3014           Don't shadow global function name.
3015
3016 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3017
3018         * gst/gstelementfactory.c:
3019         * gst/gstpluginfeature.c:
3020         * gst/gstpluginfeature.h:
3021         * gst/gstregistrybinary.c:
3022         * gst/gstregistryxml.c:
3023         * gst/gsttypefind.c:
3024           Use already-interned string for the private GstPluginFeature
3025           plugin_name field.
3026
3027 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3028
3029         * docs/libs/gstreamer-libs-sections.txt:
3030           Add new API to docs; fixes the build.
3031
3032 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
3033         
3034         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
3035
3036         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
3037         (gst_base_sink_event):
3038         * libs/gst/base/gstbasesink.h:
3039         Add function to wait for EOS, subclasses can use this to correctly wait
3040         for devices to drain before performing the EOS logic. Fixes #485343.
3041         API: gst_base_sink_wait_eos()
3042
3043 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3044
3045         * gst/gstplugin.h:
3046           Cast description string constants in GST_PLUGIN_DEFINE macros
3047           to a (gchar*) to make C++ code using these macros compile
3048           without warning with g++-4.2 (see #462737).  Even if slightly
3049           ugly, this seems preferable to putting the description strings
3050           into the GLib quark table or making the structure member a
3051           const gchar * and doing casts in core code that allocs and
3052           frees these strings, or requiring a cast in the C++ code.
3053
3054 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3055
3056         * gst/gstinfo.h:
3057           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
3058           to print the entire class/function signature into the log
3059           file for C++ code.  This only affects C++ code, for C code
3060           everything remains the same.
3061
3062 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
3063
3064         * gst/gstbin.c: (remove_from_queue):
3065         Work around a problem with pipelines containing (semi)loops until a
3066         proper, more complicated solution is ready. See #475455.
3067
3068 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3069
3070         * gst/gstplugin.c:
3071         * gst/gstplugin.h:
3072         * gst/gstregistrybinary.c:
3073         * gst/gstregistryxml.c:
3074           Put more strings into the GLib quark table. No need to keep
3075           a hundred-something copies of identical version strings,
3076           license strings, package name strings and package origin
3077           strings around. 
3078
3079 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3080
3081         * docs/manual/advanced-dataaccess.xml:
3082           Don't imply that it's okay to unconditionally change
3083           buffer data or buffer metadata in a pad probe callback,
3084           and a bunch of other comments. Fixes #430031.
3085
3086 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3087
3088         * win32/common/gstenumtypes.c:
3089         * win32/common/gstenumtypes.h:
3090         * win32/common/gstversion.h:
3091           Update generated files.
3092
3093 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3094
3095         * docs/manual/advanced-autoplugging.xml:
3096           Prefix section with broken code with a warning (see #342432).
3097
3098 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         * docs/manual/appendix-integration.xml:
3101         * docs/manual/basics-init.xml:
3102           Call g_thread_init() before g_option_context_new() to
3103           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
3104
3105 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3106
3107         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3108         (gst_base_sink_queue_object_unlocked),
3109         (gst_base_sink_queue_object), (gst_base_sink_event),
3110         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
3111         When we received EOS and are waiting for when to post the EOS message,
3112         our state is prerolled and we should not return ASYNC.
3113         Reorganize some code paths to implement this behavior.
3114
3115         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3116         (gst_sinks_suite):
3117         Add unit test to verify above EOS fix.
3118
3119 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3120
3121         * plugins/elements/gsttypefindelement.c:
3122         (gst_type_find_element_have_type), (gst_type_find_element_init),
3123         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
3124         Move detecting the input caps of the sinkpad to the setcaps function.
3125         This allows us to update the output caps when we receive new input caps
3126         instead of always using the first detected caps.
3127
3128 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3129
3130         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3131         (gst_base_sink_get_position):
3132         Don't try to preroll non-async elements after a flush.
3133         Subtract latency form clock times when reporting position.
3134
3135 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3136
3137         * gst/gstpad.c: (gst_pad_pause_task):
3138         * gst/gstutils.c:
3139         Small comment and documentation update.
3140
3141 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3142
3143         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3144         (gst_base_src_set_live), (gst_base_src_is_live),
3145         (gst_base_src_query_latency), (gst_base_src_perform_seek),
3146         (gst_base_src_default_event), (gst_base_src_wait),
3147         (gst_base_src_do_sync), (gst_base_src_get_range),
3148         (gst_base_src_pad_get_range), (gst_base_src_loop),
3149         (gst_base_src_unlock), (gst_base_src_unlock_stop),
3150         (gst_base_src_set_flushing), (gst_base_src_set_playing),
3151         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3152         (gst_base_src_change_state):
3153         Rework the locking of basesrc in a similar fashion to basesink. We
3154         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
3155         us to handle live sources and semi live ones much better.
3156         Simplify flushing.
3157         Fix unlocking when seeking, shutting down and pausing in live sources.
3158
3159 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3160
3161         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
3162         Fix compilation again.
3163
3164 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3165
3166         * gst/gstelement.c:
3167           Use meaningful categories for the logs to clean the default one.
3168
3169 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3170
3171         * tests/check/pipelines/cleanup.c:
3172           Print message name and not just number.
3173
3174 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3175
3176         * docs/design/draft-tagreading.txt:
3177           Add some more thoughts.
3178
3179 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * tests/check/pipelines/simple-launch-lines.c:
3182           Print message name and not just number.
3183
3184 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * libs/gst/base/gsttypefindhelper.c:
3187           Speedup typefinding. This is work in progress (see #459862).
3188
3189 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3190
3191         * gst/gstplugin.c:
3192           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
3193           Spotted by Josep Torra Valles <josep@fluendo.com>.
3194
3195 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * gst/gstclock.h:
3198           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
3199           field has moved to GstObject.
3200
3201 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
3202
3203         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
3204         (gst_base_src_get_range), (gst_base_src_change_state):
3205         Call unlock for live sources so that they can't get stuck in _create and
3206         produce a buffer before they are set back to PLAYING.
3207
3208 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
3209
3210         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3211         (gst_queue_locked_dequeue):
3212         Comment the segment-related code... in the PROPER function.
3213         See #482147 and my commit from yesterday.
3214
3215 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
3216
3217         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3218         Also initialize the counter that calculates the first timestamp on a
3219         buffer correctly for non-live sources.
3220
3221 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
3222
3223         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
3224         Disable code that's breaking the current-time-level reporting.
3225         See #482147
3226
3227 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
3228
3229         * docs/gst/gstreamer-sections.txt:
3230         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
3231         as they shouldn't show up. Fixes the docs build.
3232
3233 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
3234         
3235         * gst/gstinfo.h:
3236         Add an explicit variable importation needed on VS6 (only for MSC_VER)
3237         Define M_PI which is used in files which are including gstinfo.h. 
3238         VS6 includes doesn't define it.
3239         * win32/common/libgstbase.def:
3240         * win32/common/libgstcontroller.def:
3241         * win32/common/libgstreamer.def:
3242         Add new exported functions and variables.
3243         * win32/vs6/libgstcontroller.dsp:
3244         * win32/vs6/libgstreamer.dsp:
3245         Update the list of files to build.
3246         
3247 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3248
3249         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3250
3251         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3252         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3253         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3254         Improve debugging. Fixes #480858.
3255
3256 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3257
3258         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3259
3260         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3261         First patch of code cleanups, use the macros and right arguments in the
3262         macros to signal and lock the queue. See #480858.
3263
3264 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
3265
3266         * gst/gstbus.c: (poll_func):
3267         Improve debugging when dealing with _poll().
3268
3269 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3270
3271         * gst/gstregistryxml.c:
3272           Fix memory leak I introduced a few days ago.
3273
3274 2007-09-26  Michael Smith <msmith@fluendo.com>
3275
3276         * gst/gstbuffer.c: (gst_buffer_finalize):
3277           Make it once again possible to free GstBuffers in the default
3278           build.
3279           The poisoning scribbles on parts of the miniobject we need in
3280           order to free it.
3281           Fixes #480341
3282
3283 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3284
3285         * docs/gst/gstreamer-sections.txt:
3286         * gst/gsttaglist.c:
3287         * gst/gsttaglist.h:
3288         API: add GST_TAG_COMPOSER, fixes #459809.
3289
3290 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
3291
3292         * gst/gstplugin.c:
3293         * gst/gstplugin.h:
3294         Add the 3-clause BSD license and the MIT/X11 license to the license
3295         list. Fixes #479784.
3296
3297 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
3298
3299         * docs/faq/getting.xml:
3300           Add Q+A about different GStreamer versions (#364056).
3301
3302 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3303
3304         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3305         (gst_base_sink_event), (gst_base_sink_change_state):
3306         Return correct gboolean from query function.
3307
3308 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3309
3310         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3311         (gst_base_sink_event), (gst_base_sink_query),
3312         (gst_base_sink_change_state):
3313         Simplify latency query.
3314         When not synchronizing, we can report latency without querying the peer
3315         element.
3316
3317 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3318
3319         * gst/gstobject.h:
3320         * gst/gstvalue.c:
3321         Fix small typos in the docs.
3322
3323 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3324
3325         * docs/design/draft-latency.txt:
3326         * docs/design/draft-push-pull.txt:
3327         * docs/design/draft-tagreading.txt:
3328         * docs/design/part-MT-refcounting.txt:
3329         * docs/design/part-activation.txt:
3330         * docs/design/part-block.txt:
3331         * docs/design/part-element-source.txt:
3332         * docs/design/part-events.txt:
3333         * docs/design/part-gstbin.txt:
3334         * docs/design/part-gstelement.txt:
3335         * docs/design/part-gstobject.txt:
3336         * docs/design/part-gstpipeline.txt:
3337         * docs/design/part-messages.txt:
3338         * docs/design/part-preroll.txt:
3339         * docs/design/part-push-pull.txt:
3340         * docs/design/part-qos.txt:
3341         * docs/design/part-query.txt:
3342         * docs/design/part-scheduling.txt:
3343         * docs/design/part-seeking.txt:
3344         * docs/design/part-segments.txt:
3345         * docs/design/part-states.txt:
3346         Documentation updates and typo fixes.
3347
3348 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * plugins/elements/gstfakesink.c:
3351           Add some debug text to error message to indicate that
3352           we errored out on request.
3353
3354         * tools/gst-launch.c:
3355           When the state change to PLAYING fails, check for an
3356           error message on the bus and print it.
3357
3358 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3359
3360         translated by: Jorge González González <aloriel@gmail.com>
3361
3362         * po/LINGUAS:
3363         * po/es.po:
3364           Added Spanish translation.
3365
3366 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
3367
3368         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3369         Fix printf arguments.
3370
3371 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3372
3373         * tests/check/generic/states.c:
3374           Improved state change unit test.
3375
3376 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * gst/gstbin.h:
3379           Move priv to the right place.
3380
3381         * gst/gstsystemclock.c:
3382           Add FIXME: and improve log.
3383
3384         * tests/check/Makefile.am:
3385         * tests/examples/manual/Makefile.am:
3386           Work with all types of registries.
3387
3388 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
3389
3390         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3391         Don't unref the event after pushing it. Fixes #478401.
3392
3393 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3394
3395         * .cvsignore:
3396         * tests/examples/manual/.cvsignore:
3397           Ignore registries in any format.
3398
3399 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3400
3401         * gst/glib-compat-private.h:
3402           Add compatibility macro for g_intern_string() for
3403           GLib-2.8 (any reason we can't just bump the
3404           requirement to at least 2.10?)
3405
3406         * gst/gstpadtemplate.h:
3407         * gst/gstelementfactory.c:
3408         * gst/gstregistryxml.c:
3409         * gst/gstregistrybinary.c:
3410           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3411           up the internal code accordingly.  This shouldn't be a problem, since
3412           there is no reason external code could ever assume the string in such
3413           a structure is dynamically allocated unless it did that itself;  the
3414           use of g_strdup() is private to element factories.  The new code also
3415           saves some memory by putting pad template name strings into the GLib
3416           quark table instead of allocating them dynamically.
3417           Declaring this field constant fixes warnings with g++-4.2 when using
3418           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3419
3420 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * gst/gstelementfactory.c:
3423           Release static caps. Fixes #475723.
3424
3425 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
3426
3427         * gst/gstinfo.c:
3428         * gst/gstinfo.h:
3429           Make some internal API take const gchar * instead of just
3430           gchar * to avoid compiler warnings with g++-4.2.2 when
3431           passing string constants (partially fixes #478092).
3432
3433 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3434
3435         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3436         A latency query fails when one of the sinks fail.
3437
3438         * gst/gstelement.c: (gst_element_set_base_time):
3439         Improve debugging.
3440
3441 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3442
3443         * gst/gstbin.c: (gst_bin_continue_func):
3444         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3445         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3446         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3447
3448         Fix minor compilation warnings shown with Forte.
3449
3450 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3451
3452         * plugins/elements/gstqueue.c: (apply_buffer),
3453         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3454         Measure queue level based on the diff between head and tail timestamps
3455         even when pushing the first buffer.
3456
3457 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3458
3459         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3460         (gst_base_sink_event), (gst_base_sink_change_state):
3461         Sinks that don't preroll can always be queried for the latency.
3462         Don't post ASYNC start when we are not async.
3463
3464 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3465
3466         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3467         (gst_queue_handle_sink_event), (gst_queue_chain),
3468         (gst_queue_push_one), (gst_queue_handle_src_query),
3469         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3470         * plugins/elements/gstqueue.h:
3471         When downstream returns UNEXPECTED from pushing a buffer, don't try to
3472         push more buffers but allow pushing of EOS and NEWSEGMENT.
3473         Add some more debug info here and there. Fixes #476514.
3474
3475 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3476
3477         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3478         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3479         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3480         (gst_base_sink_set_flushing), (gst_base_sink_query),
3481         (gst_base_sink_change_state):
3482         Latency query is allowed after we are prerolled. Introduce a new flag
3483         for this and stop abusing other variables.
3484
3485 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3486
3487         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3488         Push OOB events downstream when we get them in send_event. This allows
3489         the application to insert events in the pipeline.
3490         Add some more comments.
3491
3492 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3493
3494         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3495         (do_bin_latency), (gst_bin_change_state_func):
3496         * gst/gstpipeline.c: (gst_pipeline_change_state):
3497         Move latency query from GstPipeline to GstBin so that we can also
3498         use it when async-handling is enabled on bins.
3499
3500 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3501
3502         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3503         (gst_base_src_do_sync), (gst_base_src_change_state):
3504         Update docs.
3505         Clean up the timestamping and syncing code for pseudo live sources.
3506
3507 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
3508
3509         Patch by: Steve Fink  <sphink gmail com>
3510
3511         * docs/manual/appendix-checklist.xml:
3512           Mention less -R switch in the section about debug output (#474055).
3513
3514 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3515
3516         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3517         Queue can latency to the pipeline up to the configured max size in time.
3518         Report this fact in the latency query.
3519
3520 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3521
3522         Patch by: Sebastien Moutte <sebastien at moutte dot net>
3523
3524         * libs/gst/controller/gstinterpolation.c:
3525         * libs/gst/controller/gstlfocontrolsource.c:
3526         Use gst_guint64_to_gdouble() when converting from a uint64 or
3527         GstClockTime to double to fix the build on win32. Fixes #474371.
3528
3529 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3530
3531         * gst/gstbuffer.c: (gst_buffer_finalize):
3532         Implement poisoning for GstBuffer if --enable-poisoning is specified.
3533         When finalizing a buffer the complete struct is filled with 0xff,
3534         thus making a use of the buffer after the final unref impossible.
3535
3536 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3537
3538         * tests/check/libs/controller.c: (GST_START_TEST):
3539         Use fail_unless_equals_int(a, b) instead of
3540         fail_unless_equals (a == b) to get better output on failures.
3541
3542 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3543
3544         * tests/check/gst/gsturi.c:
3545           Also check for the other file URI variant on win32.
3546
3547 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3548
3549         * gst/gsturi.c: (gst_uri_get_location):
3550           If there's no hostname, we want to return 'c:/foo/bar.txt'
3551           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3552
3553         * tests/check/gst/gsturi.c:
3554           Unit test for the above and a few more things.
3555
3556 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3557
3558         * docs/design/part-live-source.txt:
3559         Add docs on how live sources should timestamp.
3560
3561         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3562         Add some more debug info.
3563         For subclasses that are live and like to sync, add aditional startup
3564         latency to sync time and timestamps so that we timstamp according to the
3565         design doc.
3566
3567 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/gstbuffer.c:
3570           Also do a g_type_class_ref() for the subbuffer type in
3571           the init function.
3572
3573 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3574
3575         * docs/gst/gstreamer-sections.txt:
3576         * gst/gstpad.c: (gst_pad_peer_query):
3577         * gst/gstpad.h:
3578         Add function to perform a query on the peer of a pad.
3579         API: gst_pad_peer_query()
3580
3581 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
3582
3583         * tests/check/gst/gstsystemclock.c:
3584           Cleanup the test a little (use gst-logging and not g_message). Improve
3585           test to check if a wait reached the target.
3586
3587 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3588
3589         * docs/libs/gstreamer-libs-sections.txt:
3590           Add new API to docs and fix the build.
3591
3592 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
3593
3594         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3595         (gst_base_src_init), (gst_base_src_set_do_timestamp),
3596         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3597         (gst_base_src_get_property), (gst_base_src_do_sync):
3598         * libs/gst/base/gstbasesrc.h:
3599         Add property to make the basesrc timestamp buffers based on the current
3600         running time.
3601         API: GstBaseSrc::do-timestamp
3602         API: gst_base_src_set_do_timestamp()
3603         API: gst_base_src_get_do_timestamp()
3604
3605 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
3606
3607         * docs/random/release:
3608           Really make sure translations are up-to-date before
3609           a release (#465010).
3610
3611 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
3612
3613         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3614         Always destroy the timer, also in error cases.
3615
3616 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3617
3618         * docs/manual/highlevel-xml.xml:
3619         Fix XML example code. Fixes #472714.
3620
3621 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3622
3623         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3624         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3625         (gst_base_sink_query):
3626         Protect eos and have_preroll with the OBJECT lock so we don't need to
3627         take the PREROLL lock when querying the latency. Fixes #473846.
3628
3629 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
3630
3631         * gst/gstelement.c:
3632           Give some log-messages a category.
3633
3634 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
3635
3636         * gst/gststructure.c:
3637         (gst_structure_fixate_field_nearest_fraction):
3638         Fix fraction list fixation code. Take the fraction with the smallest
3639         difference with the target instead of the first one in the list.
3640
3641         * tests/check/gst/gststructure.c: (GST_START_TEST),
3642         (gst_structure_suite):
3643         Added test to verify correct fraction list fixation behaviour.
3644
3645 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
3646
3647         * win32/common/libgstreamer.def:
3648           Export gst_bus_add_signal_watch too.
3649
3650 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
3651
3652         * docs/libs/gstreamer-libs-sections.txt:
3653         Add new methods to docs.
3654
3655         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3656         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3657         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3658         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3659         * libs/gst/base/gstbasesink.h:
3660         Add ts-offset property to fine-tune the synchronisation.
3661         API: GstBaseSink::ts-offset property
3662         API: gst_base_sink_set_ts_offset()
3663         API: gst_base_sink_get_ts_offset()
3664
3665 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
3666
3667         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3668         (gst_base_sink_init), (gst_base_sink_set_sync),
3669         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3670         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3671         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3672         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3673         (gst_base_sink_get_property), (gst_base_sink_change_state):
3674         * libs/gst/base/gstbasesink.h:
3675         Add async property to instruct the sink never to inform the parent about
3676         ASYNC state changes, update docs.
3677         Check argument with g_return_* for the public functions.
3678         API: GstBaseSink::async property
3679         API: gst_base_sink_set_async_enabled()
3680         API: gst_base_sink_is_async_enabled()
3681
3682 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
3683
3684         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3685         Improve debugging.
3686
3687         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3688         (gst_base_src_default_query), (gst_base_src_wait),
3689         (gst_base_src_do_sync), (gst_base_src_change_state):
3690         Rearrange some code so that we can add support for measuring the 
3691         startup latency.
3692
3693 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
3694
3695         * docs/random/ensonic/dynlink.txt:
3696           More thoughs on this.
3697
3698         * plugins/elements/gstcapsfilter.c:
3699           Add bugzilla ticket number to FIXME comment.
3700
3701 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
3702
3703         * docs/design/part-TODO.txt:
3704         * docs/design/part-block.txt:
3705         Update some docs.
3706
3707 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3708
3709         * gst/Makefile.am:
3710           Revert patch which uses $(gst_headers) instead of $^ because it
3711           breaks make dist.
3712
3713 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3714
3715         * tests/check/gst/gstbin.c: (GST_START_TEST):
3716           Fix leaks in the new unit test.
3717
3718 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * gst/gst.c:
3721           Don't use GST_INFO before the debug system is actually initialised
3722           (shouldn't do any harm, but won't print anything either, so we can
3723           just as well remove it).
3724
3725         * gst/gstinfo.h:
3726           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3727           compilers that don't support variadic macros (such as MSVC), should
3728           check for debug_level <= __gst_debug_min as well, since that's the
3729           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3730           inline helper functions. Should improve performance a bit, but also
3731           makes sure uses of GST_INFO et.al are ignored if the debugging
3732           system isn't initialised yet (instead of printing an assertion
3733           failure).
3734
3735 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
3736
3737         patch by: David Nečas <yeti@physics.muni.cz>
3738
3739         * gst/Makefile.am:
3740           Replace some non portable makefile constructs.
3741
3742 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
3743
3744         * common/gtk-doc-plugins.mak:
3745           Grrrrr. Don't remove the types file on make clean.
3746
3747 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
3748
3749         * tools/gst-launch.1.in:
3750         Add colorspace to example pipeline. Fixes #458274.
3751
3752 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * docs/random/release:
3755           The release manager should run 'make download-po' before making a
3756           release to make sure translations are up-to-date.
3757
3758         * po/LINGUAS:
3759         * po/be.po:
3760         * po/pl.po:
3761         * po/rw.po:
3762           Add some new translations.
3763
3764 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
3765
3766         * tools/gst-launch.c: (event_loop), (main):
3767         Don´t try to do any state management when a live pipeline posts
3768         buffering messages.
3769         Also make the buffering string translatable.
3770
3771 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3772
3773         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3774         (bin_handle_async_start), (gst_bin_handle_message_func):
3775         Improve debugging.
3776         When adding elements, insert messages into the bus of the newly added
3777         element and make sure the element is the source of the message. This
3778         allows the parent bin to intercept the message and do the
3779         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3780         messages to the app (which is not allowed).
3781         Update some docs.
3782
3783         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3784         Fix testsuite so that is does not work around messages that should not
3785         have been posted in the first place.
3786
3787 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3788
3789         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3790         (update_degree), (gst_bin_sort_iterator_next):
3791         Fix annoying bug in the sorted iterator where a sink that is not really
3792         a sink (when it has downstream links) screwed up the iterator.
3793
3794         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3795         Unit test to verify the fix.
3796
3797 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3798
3799         * gst/gstmessage.h:
3800         Add some more docs for the messages.
3801
3802         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3803         (gst_base_sink_query):
3804         Add some more debugging.
3805
3806         * tools/gst-launch.c: (event_loop):
3807         When interrupting, don't try to set pipeline to PAUSED twice.
3808
3809 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3810
3811         
3812         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3813         (bin_handle_async_start), (gst_bin_handle_message_func):
3814         Move ASYNC_START message posting to where it belongs, similar to
3815         async_done. 
3816         Don't post ASYNC_START when we are in error. 
3817         Post ASYNC_START when we added an async element to a bin.
3818
3819 2007-08-14  Julien MOUTTE  <julien@moutte.net>
3820
3821         * gst/gstindex.c: (gst_index_add_association): Fix index entry
3822         generation from vargs. Fixes #466595.
3823
3824 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3825
3826         * gst/gstbin.c: (gst_bin_element_set_state):
3827         Always change the state of a NO_PREROLL element even if it has ASYNC
3828         elements inside (in case of a bin).
3829
3830         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3831         Unit test for this case.
3832
3833 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
3834
3835         * libs/gst/check/gstbufferstraw.c:
3836         * libs/gst/check/gstcheck.h:
3837         * libs/gst/controller/gstcontroller.c:
3838         * libs/gst/controller/gstcontrolsource.h:
3839         * libs/gst/controller/gstlfocontrolsource.h:
3840         * plugins/elements/gstcapsfilter.h:
3841         * plugins/elements/gstfdsink.h:
3842         * plugins/elements/gstfdsrc.h:
3843           Add more missing docs.
3844
3845 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3846
3847         * gst/gststructure.c:
3848         Add Since tag to docs.
3849
3850 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3851
3852         * docs/gst/gstreamer-sections.txt:
3853         * gst/gststructure.c: (gst_structure_get_uint):
3854         * gst/gststructure.h:
3855         Add function to get uint from a structure.
3856         API: gst_structure_get_uint()
3857
3858 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3859
3860         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3861         (gst_caps_intersect):
3862         Fix proper check for simple caps.
3863
3864 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3865
3866         * docs/gst/Makefile.am:
3867         * docs/libs/Makefile.am:
3868           Remove cruft and do some cleanups.
3869
3870         * docs/gst/gstreamer-docs.sgml:
3871         * docs/libs/gstreamer-libs-docs.sgml:
3872           Prepare for comming gtkdoc features (rebase against online docs).
3873
3874 2007-08-10  Michael Smith <msmith@fluendo.com>
3875
3876         * docs/gst/gstreamer-sections.txt:
3877           Add gst_registry_add_path to docs.
3878
3879 2007-08-10  Michael Smith <msmith@fluendo.com>
3880
3881         * gst/gstregistry.h:
3882           Add gst_registry_add_path, which was missing from this header.
3883
3884 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3885
3886         * libs/gst/controller/gstlfocontrolsource.c:
3887           Printf format fix.
3888
3889 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3890
3891         * libs/gst/base/gstbasesink.c:
3892           Don't send an async_start message during downwards state change if 
3893           target state is less than READY
3894
3895 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3896
3897         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3898
3899         * po/LINGUAS:
3900         * po/hu.po:
3901           Added Hungarian translation.
3902
3903 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3904
3905         * po/fi.po:
3906         * po/it.po:
3907         * po/nl.po:
3908         * po/sv.po:
3909         * po/uk.po:
3910           Updated translations.
3911
3912 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3913
3914         * libs/gst/controller/Makefile.am:
3915         Dist gstlfocontrolsourceprivate.h
3916
3917 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3918
3919         * docs/libs/gstreamer-libs.types:
3920         Don't register the enum type gst_lfo_waveform_get_type() in the
3921         .types file - only GObject derived types belong.
3922
3923 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3924
3925         Patch by: <arenevier at fdn dot fr>
3926
3927         * gst/gstbuffer.h:
3928         Remove comma from last element in enum to avoid compile errors when
3929         using -pendantic. Fixes #464366.
3930
3931 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3932
3933         * docs/design/part-TODO.txt:
3934         Add some more TODO items
3935
3936         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3937         Improve debugging.
3938
3939         * gst/gstcaps.c: (gst_caps_intersect):
3940         Optimize trivial intersection case between identical caps pointers.
3941
3942         * gst/gstelement.c: (gst_element_continue_state),
3943         (gst_element_set_state_func):
3944         * gst/gstpad.c:
3945         Fix spelling and grammar mistakes.
3946
3947 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3948
3949         * po/POTFILES.in:
3950         * po/POTFILES.skip:
3951           Update POTFILES. Fixes #461599.
3952
3953 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3954
3955         * gst/gst.c:
3956         Fix confusing typo in debug output.
3957
3958 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3959
3960         reviewed by: Stefan Kost <ensonic@users.sf.net>
3961
3962         * libs/gst/controller/Makefile.am:
3963         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3964         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3965         (gst_lfo_control_source_new),
3966         (gst_lfo_control_source_set_waveform),
3967         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3968         (gst_lfo_control_source_finalize),
3969         (gst_lfo_control_source_dispose),
3970         (gst_lfo_control_source_set_property),
3971         (gst_lfo_control_source_get_property),
3972         (gst_lfo_control_source_class_init):
3973         * libs/gst/controller/gstlfocontrolsource.h:
3974         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3975         API: Add GstLFOControlSource, a control source that gives values
3976         for specific timestamps based on several periodic waveforms.
3977         Fixes #459717.
3978
3979         * tests/check/libs/controller.c: (GST_START_TEST),
3980         (gst_controller_suite):
3981         * docs/libs/gstreamer-libs-docs.sgml:
3982         * docs/libs/gstreamer-libs-sections.txt:
3983         * docs/libs/gstreamer-libs.types:
3984         Add documentation and unit tests for GstLFOControlSource.
3985
3986 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3987
3988         * configure.ac:
3989         Back to CVS
3990
3991 === release 0.10.14 ===
3992
3993 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
3994
3995         * configure.ac:
3996           releasing 0.10.14, "Breathing Vacuum"
3997
3998 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * gst/gstelement.c: (gst_element_class_set_details_simple):
4001         * gst/gstelement.h:
4002           Make strings passed to gst_element_class_set_details_simple()
4003           constant, as they should be (#462752).
4004
4005 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
4006
4007         * gst/gstbin.c: (gst_bin_change_state_func),
4008         (bin_handle_async_done), (gst_bin_handle_message_func):
4009         Don't forget about the fact that some element went ASYNC even after a
4010         resync. This makes us post the ASYNC_DONE message correctly.
4011         Fixes #462558.
4012
4013 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4014
4015         * gst/gstregistry.c: (gst_registry_add_feature):
4016         When replacing an existing feature in the registry, make sure to
4017         continue holding a reference until we've replaced the name string
4018         within our feature hash table. Make sure to use g_hash_table_replace
4019         instead of g_hash_table_insert to ensure the new name string is used
4020         as a key instead of the old one that we're about to free.
4021         Fixes: #462085
4022
4023 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4024
4025         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4026         (gst_plugin_feature_set_name):
4027         Revert patch from #459466 until after the release and we can work
4028         out exactly what the problem is (if any).
4029
4030 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4031
4032         * docs/gst/gstreamer-sections.txt:
4033         * gst/gsttaglist.c:
4034         * gst/gsttaglist.h:
4035           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
4036
4037 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4038
4039         * docs/libs/Makefile.am:
4040         Include our build-prefix libs and includes before the generic ones to
4041         avoid linking against the installed libs when we want the build-tree
4042         ones.
4043
4044 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4045
4046         Patch by: Steve Fink  <sphink gmail com>
4047
4048         * docs/pwg/building-testapp.xml:
4049           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
4050           if people try to build or install the example from the plugin
4051           template against a GStreamer from package using the configure
4052           defaults.
4053
4054 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4055
4056         Patch by: Steve Fink  <sphink gmail com>
4057
4058         * tools/gst-inspect.1.in:
4059           Document --print-all and --print-plugin-auto-install-info command
4060           line options in man page.
4061
4062 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4063
4064         * docs/gst/gstreamer-sections.txt:
4065         Add docs for new api function.
4066
4067 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4068
4069         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
4070         * gst/gstelementfactory.h:
4071         API: gst_element_factory_has_interface()
4072         Added method to check if an element factory implements a named
4073         interface.
4074
4075 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * configure.ac:
4078         * docs/gst/gstreamer.types.in:
4079           Another conditional doc check.
4080
4081         * gst/gstmessage.c:
4082         * gst/gstparamspecs.h:
4083         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4084         * gst/gstvalue.c:
4085         * gst/gstxml.h:
4086           API-doc fixes.
4087
4088 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4089
4090         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
4091         (gst_registry_binary_load_feature),
4092         (gst_registry_binary_load_plugin),
4093         (gst_registry_binary_read_cache):
4094           Print error just once and with additional info.
4095
4096 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4097
4098         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4099         (helper_find_suggest), (helper_find_get_length),
4100         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
4101         (gst_type_find_helper_for_buffer):
4102           Cleanup the typefindhelper code and add private doc comments.
4103
4104 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
4105
4106         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4107         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
4108         Fix capsfilter for cases where the caps set on capsfilter will provide
4109         additional information.
4110         Fixes #449197
4111
4112 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4113
4114         * gst/gsttypefindfactory.c:
4115           Fix docs that recommened wrong function to use.
4116
4117 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4118
4119         * tools/gst-inspect.c: (print_plugin_features):
4120           Also give media-type for typefinders in element output.
4121
4122 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4123
4124         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
4125         (gst_registry_remove_features_for_plugin_unlocked),
4126         (gst_registry_add_feature), (gst_registry_remove_feature),
4127         (gst_registry_lookup_feature_locked):
4128         * gst/gstregistry.h:
4129           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
4130           Fixes #459501.
4131
4132 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4133
4134         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4135         (gst_plugin_feature_set_name):
4136           Avoid double memory usage for pluginfeature names. Fixes #459466.
4137
4138 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4139
4140         * gst/gstpad.h:
4141           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
4142           driving the pipeline may need to explicitly check for NOT_LINKED as
4143           well, since IS_FATAL doesn't cover that.
4144
4145 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4146
4147         * docs/pwg/advanced-types.xml:
4148           Fix typo and duplicate entry in video formats list.
4149
4150 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
4151
4152         * libs/gst/controller/gstinterpolation.c:
4153         Also round to the nearest int when using cubic interpolation.
4154
4155 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
4156
4157         * libs/gst/controller/gstinterpolation.c:
4158         When linearly interpolating integer types, round to the nearest int
4159         by adding 0.5. Don't do it for float/double types.
4160         Fixes the failing controller test on my machine, which is somehow
4161         rounding differently than on the buildbots.
4162
4163 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4164
4165         * tools/gst-plot-timeline.py:
4166           Better log parsing (categories can have -). Adjust text vs. lines, so
4167           that they span the same y-range.        
4168
4169 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4170
4171         * docs/random/ensonic/audiobaseclasses.txt:
4172         * docs/random/ensonic/dynlink.txt:
4173         * docs/random/ensonic/profiling.txt:
4174           Save my thoughts.
4175
4176         * docs/random/moving-plugins:
4177           Add note to use g_assert type macros.
4178
4179 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4180
4181         * configure.ac:
4182         * libs/gst/check/Makefile.am:
4183           Add libm check as we use in for plugins.
4184
4185 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
4186
4187         * gst/gstbin.c: (gst_bin_continue_func):
4188         Check that the state_cookie hasn't changed since the continue_func
4189         was scheduled. Avoids problems where the state changes back to
4190         something it shouldn't be because it was changed in the meantime.
4191
4192 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
4193
4194         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
4195         (gst_registry_binary_save_string),
4196         (gst_registry_binary_save_pad_template),
4197         (gst_registry_binary_save_feature),
4198         (gst_registry_binary_save_plugin),
4199         (gst_registry_binary_load_feature),
4200         (gst_registry_binary_load_plugin),
4201         (gst_registry_binary_read_cache):
4202           Fix memory leak. Be less verbose in the log.
4203
4204 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4205
4206         * tests/check/elements/.cvsignore:
4207         Add file to cvsignore as commanded.
4208
4209 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4210
4211         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4212         (mq_dummypad_event), (run_output_order_test):
4213         Use a GStaticMutex to protect all cases where libcheck
4214         fail_if/fail_unless macros might be called from multiple threads
4215         simultaneously to avoid errors like:
4216           "check_pack.c:107: :-1081725400:Bad message type arg"
4217
4218 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4219
4220         * tests/check/pipelines/stress.c: (GST_START_TEST):
4221         Make sure we set the pipeline back to the NULL state before
4222         dropping our final reference.
4223
4224 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4225
4226         * tests/check/elements/tee.c: (GST_START_TEST):
4227         Make the tee stress-test a little less stressful so it doesn't just
4228         time out on slow-machines, and remove a small race when it's starting 
4229         up by adding a get_state() call.
4230
4231 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
4232
4233         * gst/gst.c:
4234           Avoid reading registry twice on startup. Fixes #457322.
4235
4236 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4237
4238         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4239         * pkgconfig/gstreamer-check.pc.in:
4240         Substitute the CFLAGS for libcheck into our .pc file too so that
4241         dependent modules will pick it up properly if libcheck is installed
4242         into some other prefix.
4243
4244 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4245
4246         * configure.ac:
4247         Revert the pkg-config check for libcheck, since it pulls in the
4248         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4249         a proper solution, either from the check project, or something else.
4250
4251 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
4252
4253         * configure.ac:
4254           Use pkg-config to locate check.
4255
4256 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
4257
4258         * gst/gsttaglist.c:
4259           Fix doc syntax.
4260
4261         * gst/gstutils.c:
4262         * gst/gstutils.h:
4263           Add deprecation guards.
4264
4265         * libs/gst/base/gstcollectpads.h:
4266           Don't document object (this is implicitly private).
4267
4268 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
4269
4270         * gst/gststructure.c: (gst_structure_parse_value):
4271           When deserialising foo=bar without a type cast, check if it's a
4272           boolean before falling back to a string type, otherwise things like
4273           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4274           because the filtercaps end up having a signed=(string)true field,
4275           which causes problems later when intersection caps.
4276
4277         * tests/check/gst/gststructure.c: (GST_START_TEST):
4278           Add a unit test for this.
4279
4280 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
4281
4282         Reviewed by: Stefan Kost <ensonic@users.sf.net>
4283
4284         * libs/gst/controller/Makefile.am:
4285         * libs/gst/controller/gstcontroller.c:
4286         (gst_controlled_property_add_interpolation_control_source),
4287         (gst_controlled_property_new), (gst_controlled_property_free),
4288         (gst_controller_find_controlled_property),
4289         (gst_controller_new_valist), (gst_controller_new_list),
4290         (gst_controller_new), (gst_controller_remove_properties_valist),
4291         (gst_controller_remove_properties_list),
4292         (gst_controller_remove_properties),
4293         (gst_controller_set_property_disabled),
4294         (gst_controller_set_disabled), (gst_controller_set_control_source),
4295         (gst_controller_get_control_source), (gst_controller_get),
4296         (gst_controller_sync_values), (gst_controller_get_value_array),
4297         (_gst_controller_dispose), (gst_controller_get_type),
4298         (gst_controlled_property_set_interpolation_mode),
4299         (gst_controller_set), (gst_controller_set_from_list),
4300         (gst_controller_unset), (gst_controller_unset_all),
4301         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4302         * libs/gst/controller/gstcontroller.h:
4303         * libs/gst/controller/gstcontrollerprivate.h:
4304         * libs/gst/controller/gstcontrolsource.c:
4305         (gst_control_source_class_init), (gst_control_source_init),
4306         (gst_control_source_get_value),
4307         (gst_control_source_get_value_array), (gst_control_source_bind):
4308         * libs/gst/controller/gstcontrolsource.h:
4309         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4310         (gst_object_get_control_source):
4311         * libs/gst/controller/gstinterpolation.c:
4312         (gst_interpolation_control_source_find_control_point_node),
4313         (gst_interpolation_control_source_get_first_value),
4314         (_interpolate_none_get), (interpolate_none_get),
4315         (interpolate_none_get_boolean_value_array),
4316         (interpolate_none_get_enum_value_array),
4317         (interpolate_none_get_string_value_array),
4318         (_interpolate_trigger_get), (interpolate_trigger_get),
4319         (interpolate_trigger_get_boolean_value_array),
4320         (interpolate_trigger_get_enum_value_array),
4321         (interpolate_trigger_get_string_value_array):
4322         * libs/gst/controller/gstinterpolationcontrolsource.c:
4323         (gst_control_point_free), (gst_interpolation_control_source_reset),
4324         (gst_interpolation_control_source_new),
4325         (gst_interpolation_control_source_set_interpolation_mode),
4326         (gst_interpolation_control_source_bind),
4327         (gst_control_point_compare), (gst_control_point_find),
4328         (gst_interpolation_control_source_set_internal),
4329         (gst_interpolation_control_source_set),
4330         (gst_interpolation_control_source_set_from_list),
4331         (gst_interpolation_control_source_unset),
4332         (gst_interpolation_control_source_unset_all),
4333         (gst_interpolation_control_source_get_all),
4334         (gst_interpolation_control_source_get_count),
4335         (gst_interpolation_control_source_init),
4336         (gst_interpolation_control_source_finalize),
4337         (gst_interpolation_control_source_dispose),
4338         (gst_interpolation_control_source_class_init):
4339         * libs/gst/controller/gstinterpolationcontrolsource.h:
4340         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4341         API: Refactor GstController into the core controller which can take
4342         a GstControlSource for providing actual values for timestamps.
4343         Implement a interpolation control source and use this for backward
4344         compatibility, deprecate a bunch of functions that are now handled
4345         by GstControlSource or GstInterpolationControlSource.
4346         Make it possible to disable the controller completely or only for
4347         specific properties. Fixes #450711.
4348         * docs/libs/gstreamer-libs-docs.sgml:
4349         * docs/libs/gstreamer-libs-sections.txt:
4350         * docs/libs/gstreamer-libs.types:
4351         Add new functions and classes to the docs.
4352         * tests/check/libs/controller.c: (GST_START_TEST),
4353         (gst_controller_suite):
4354         * tests/examples/controller/audio-example.c: (main):
4355         Port unit test and example to the new API and add some new
4356         unit tests.
4357
4358 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
4359
4360         Patch by: Mark Nauwelaerts <manauw at skynet be>
4361
4362         * plugins/elements/gstmultiqueue.c:
4363         (gst_multi_queue_get_internal_links), (apply_buffer),
4364         (single_queue_overrun_cb), (gst_single_queue_new):
4365         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4366         the pipeline layout can be tracked correctly. Fixes #453732.
4367
4368 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
4369
4370         * docs/gst/Makefile.am:
4371         * docs/libs/Makefile.am:
4372         * docs/plugins/Makefile.am:
4373           Simplify --extra-dir as gtkdoc scans recursively.
4374
4375 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4376
4377         * tools/gst-launch.c: (main):
4378         When we got an error, there is no point in waiting for preroll when
4379         shutting down.
4380
4381 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4382
4383         * plugins/elements/gsttee.c: (gst_tee_base_init),
4384         (gst_tee_request_new_pad), (gst_tee_release_pad),
4385         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4386         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4387         (gst_tee_chain):
4388         Be a lot smarter when deciding what srcpad to use for proxying
4389         the buffer_alloc. Also handle pad added/removed when doing so.
4390         Fixes #357959.
4391         Keep track of what pads we already pushed on in case we have pads
4392         added/removed while pushing. Fixes #374639 
4393
4394         * tests/check/Makefile.am:
4395         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4396         (tee_suite):
4397         Added unit test for pad resync.
4398
4399 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4400
4401         * po/nl.po:
4402         * po/sv.po:
4403           Updated translations.
4404
4405 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4408
4409         * po/LINGUAS:
4410         * po/fi.po:
4411           Added new Finnish translation.
4412
4413 2007-06-28  Wim Taymans  <wim@fluendo.com>
4414
4415         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4416         (single_queue_overrun_cb):
4417         When figuring out when a queue is filled, use our internal time estimate
4418         based on segments, just like check_full does.
4419
4420 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4421
4422         * gst/gstminiobject.c: (gst_mini_object_get_type):
4423           Remove 3 do-nothing methods.
4424
4425 2007-06-27  Wim Taymans  <wim@fluendo.com>
4426
4427         Patch by: Tim Angus <tim at ngus dot net>
4428
4429         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4430         (gst_capsfilter_set_property):
4431         Take a reference instead of a copy when setting "caps".
4432         Fix documentation to clarify this behaviour. Fixes #449414.
4433
4434 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4437         * gst/gstplugin.c: (gst_plugin_init):
4438         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4439         * gst/gstquery.c: (gst_query_get_type):
4440         * gst/gstregistry.c: (gst_registry_init):
4441         * gst/gsturi.c: (gst_uri_handler_base_init):
4442           Remove empty instance_init() functions to save relocs and lessen the
4443           noise. Remove some of the function prototypes that are doubled by
4444           G_DEFINE_TYPE.
4445           
4446 2007-06-27  Wim Taymans  <wim@fluendo.com>
4447
4448         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4449
4450         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4451         Add peer and direction in the XML serialisation of ghostpads.
4452         Fixes #449226.
4453
4454 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4455
4456         * configure.ac:
4457           Preserve useful information, thanks Tim.
4458
4459 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
4460
4461         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4462         (gst_single_queue_flush), (apply_segment), (apply_buffer),
4463         (gst_single_queue_push_one), (gst_multi_queue_loop),
4464         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4465         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4466         (compute_high_id), (gst_single_queue_new):
4467         * plugins/elements/gstmultiqueue.h:
4468         Take the multiqueue lock when updating the fill level so we don't get
4469         confused. 
4470
4471         After applying a buffer or event on the src pad segment, make sure to
4472         call gst_data_queue_limits_changed() to get the data queue to unblock
4473         and check the filled state again.
4474         
4475         Rework the not-linked pad handling so the logic is that not-linked 
4476         pads can push as fast as they like, but only so they never get 
4477         ahead of any linked pads.
4478
4479         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4480         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4481         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4482
4483         Add a test to check that not-linked pads always stay behind
4484         linked pads.
4485
4486         Fixes: #430682
4487
4488 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
4489
4490         * docs/random/release:
4491           Some updates to the release procedure.
4492
4493 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4494
4495         * gst/gstelementfactory.c: (__gst_element_details_clear):
4496           Microoptimization that saves stunning 80 bytes.
4497
4498 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
4499
4500         * docs/plugins/gstreamer-plugins.args:
4501         * docs/plugins/inspect/plugin-coreelements.xml:
4502         * docs/plugins/inspect/plugin-coreindexers.xml:
4503           Update docs with caps info.
4504
4505 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4506
4507         * po/it.po:
4508           Updated Italian translation.
4509
4510 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4511
4512         * ChangeLog:
4513         * po/vi.po:
4514           Update Vietnamese translations.
4515
4516 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4517
4518         * libs/gst/base/gstbasesink.c:
4519           Remove unused signal enum.
4520
4521 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4522
4523         * docs/gst/gstreamer-sections.txt:
4524         * gst/gstelement.c:
4525         * gst/gstutils.c: (gst_type_register_static_full):
4526         Beef up and include the docs for gst_type_register_static_full and
4527         gst_element_class_set_details_simple and add the API keyword
4528         in the ChangeLog.
4529
4530 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4531
4532         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4533         (update_time_level), (gst_single_queue_push_one),
4534         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4535         (single_queue_overrun_cb), (single_queue_underrun_cb),
4536         (single_queue_check_full):
4537         Fix setting max-* properties after adding queues.
4538         Use IS_FILLED for checking visible items.
4539         Signal overrun if multiple queues overrun.
4540         Add extra debug output.
4541         Patch by: Wim Taymans <wim@fluendo.com>
4542
4543 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
4544
4545         * gst/gstelement.c: (gst_element_class_set_details_simple):
4546         * gst/gstelement.h:
4547         * gst/gstutils.c: (gst_type_register_static_full):
4548         * gst/gstutils.h:
4549         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4550         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4551         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4552         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4553         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4554         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4555         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4556         * plugins/elements/gstidentity.c: (gst_identity_base_init):
4557         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4558         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4559         (apply_buffer), (gst_queue_chain):
4560         * plugins/elements/gsttee.c: (gst_tee_base_init):
4561         * plugins/elements/gsttypefindelement.c:
4562         (gst_type_find_element_base_init),
4563         (gst_type_find_element_class_init):
4564           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4565           API: add gst_type_register_static_full
4566           API: add gst_element_class_set_details_simple
4567
4568 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4569
4570         * docs/pwg/advanced-types.xml:
4571           Fix typo in iana.org URI.
4572
4573 2007-06-19  Andy Wingo  <wingo@pobox.com>
4574
4575         * tests/check/pipelines/simple-launch-lines.c
4576         (test_state_change_returns): Enable pull-mode tests now that
4577         basesink has been fixed.
4578
4579         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4580         Changed from gst_base_sink_is_prerolled, reversing the sense of
4581         the return value. Returns FALSE also if the sink is in pull mode,
4582         in which case it needs no preroll.
4583         (gst_base_sink_query, gst_base_sink_change_state): Update for
4584         needs_preroll change.
4585         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4586         chaining up, in which we return SUCCESS directly if we activated
4587         in pull mode instead of ASYNC. Involves countering an async_start
4588         message sent before chaining up; not sure if this is correct, in
4589         an ideal world we only send async-start when activating in push
4590         mode.
4591
4592         * tests/check/pipelines/simple-launch-lines.c
4593         (test_state_change_returns): New test, partially disabled until
4594         basesink is fixed.
4595
4596 2007-06-19  Wim Taymans  <wim@fluendo.com>
4597
4598         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4599         (gst_multi_queue_sink_event):
4600         Fix event leak.
4601
4602 2007-06-19  Wim Taymans  <wim@fluendo.com>
4603
4604         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4605         (gst_bin_change_state_func), (bin_push_state_continue),
4606         (bin_handle_async_start), (bin_handle_async_done),
4607         (gst_bin_handle_message_func):
4608         Move the common code for posting state-change messages into
4609         one function.
4610         Broadcast the state signal after we posted the messages.
4611         Mark the bin as busy when it's doing a state-change.
4612         Make sure async-start/done messages don't interfere with the bin's
4613         state when it's busy.
4614         After the state change, let the bin check which elements completed the
4615         state change while it was busy so that it can update its state.
4616
4617 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
4618
4619         * docs/random/release:
4620         Add a note about updating the doap file to the release checklist
4621
4622 2007-06-18  Wim Taymans  <wim@fluendo.com>
4623
4624         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4625         (gst_single_queue_push_one), (gst_multi_queue_chain),
4626         (gst_multi_queue_sink_event):
4627         Make sure we don't reference the buffer/event after we have given away
4628         ownership in the queue.
4629
4630 2007-06-18  Wim Taymans  <wim@fluendo.com>
4631
4632         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4633         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4634         Update queue state _after_ adding the item in the queue because else we
4635         could end up being full without the element added yet.
4636
4637 2007-06-18  Wim Taymans  <wim@fluendo.com>
4638
4639         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4640         (gst_bin_remove_func), (gst_bin_get_state_func),
4641         (gst_bin_element_set_state), (gst_bin_continue_func),
4642         (bin_push_state_continue), (bin_handle_async_start),
4643         (bin_handle_async_done), (gst_bin_handle_message_func):
4644         * gst/gstbin.h:
4645         Immediatly commit the toplevel bin state when receiving an async-done
4646         message. This enables us to avoid spawning a thread to commit the state
4647         in some common cases and it also avoids some races.
4648         Avoid spawning a state thread when adding/removing async elements to a
4649         toplevel bin. Instead we immediatly update the bin state.
4650         Get rid of iterating all the children when getting the state in the bin
4651         because it is now always up-to-date.
4652         Fix bug where locked elements would always return _SUCCESS even it they
4653         returned NO_PREROLL before being locked.
4654         Fix the order of the state_change, async-start/done messages that was
4655         sometimes incorrect.
4656         Mark the state_dirty field as deprecated, we don't need it anymore as we
4657         are always up-to-date.
4658
4659         * gst/gstelement.c: (gst_element_get_state_func),
4660         (gst_element_continue_state):
4661         Small debug inprovements.
4662         Return the previous element state return when nothing is pending instead
4663         of blindly returning SUCCESS.
4664
4665         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4666         (gst_sinks_suite):
4667         Add a whole bunch of new testcases.
4668
4669 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4670
4671         * po/uk.po:
4672         * po/vi.po:
4673           Update translations.
4674
4675 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
4676
4677         * gst/gstpad.c:
4678         Fix typo in the docs.
4679
4680 2007-06-15  Wim Taymans  <wim@fluendo.com>
4681
4682         * docs/libs/gstreamer-libs-sections.txt:
4683         Add docs for new methods.
4684
4685 2007-06-15  Wim Taymans  <wim@fluendo.com>
4686
4687         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4688         (gst_multi_queue_item_new):
4689         Don't use GSlice because we don't depend on >= 2.10 yet.
4690
4691 2007-06-15  Wim Taymans  <wim@fluendo.com>
4692
4693         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4694         (update_time_level), (apply_segment), (apply_buffer),
4695         (gst_single_queue_push_one), (gst_multi_queue_item_new),
4696         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4697         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4698         (single_queue_underrun_cb), (single_queue_check_full):
4699         Remove debug printf.
4700
4701 2007-06-15  Wim Taymans  <wim@fluendo.com>
4702
4703         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4704         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4705         (gst_data_queue_set_flushing), (gst_data_queue_push),
4706         (gst_data_queue_pop), (gst_data_queue_drop_head),
4707         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4708         * libs/gst/base/gstdataqueue.h:
4709         Various cleanups.
4710         Added methods to get the current levels and to inform the queue that the
4711         'full' limits changed.
4712
4713         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4714         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4715         (gst_single_queue_flush), (update_time_level), (apply_segment),
4716         (apply_buffer), (gst_single_queue_push_one),
4717         (gst_multi_queue_item_steal_object),
4718         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4719         (gst_multi_queue_loop), (gst_multi_queue_chain),
4720         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4721         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4722         (gst_multi_queue_src_query), (single_queue_overrun_cb),
4723         (single_queue_underrun_cb), (single_queue_check_full),
4724         (gst_single_queue_new):
4725         Keep track of time in the queue by measuring the difference between
4726         running_time on input and output. This gives more accurate results and
4727         can compensate for segments correctly.
4728         Make a queue by default only 5 buffers deep. We will now increase the
4729         buffer size depending on the filledness of the other queues.
4730         Factor out commong flush code.
4731         Make sure we don't add additional refcounts to buffers when we can avoid
4732         it.
4733         Propagate GstFlowReturn differently.
4734         Use GSlice for intermediate GstMultiQueueItems.
4735         Keep track of EOS.
4736         Resize queues on over and underruns based on filled level of other
4737         queues.
4738         When checking if the queue is filled, prefer to measure in time if we
4739         can and fall back to bytes when no time is known.
4740
4741         * plugins/elements/gstqueue.c:
4742         Fix return value.
4743
4744 2007-06-15  Wim Taymans  <wim@fluendo.com>
4745
4746         * libs/gst/base/gstbasetransform.c:
4747         (gst_base_transform_sink_event):
4748         Work around the brokenness of the event vmethod in basetransform. Prefer
4749         to return TRUE when the subclass returned FALSE (meaning don't forward
4750         the event). 
4751
4752         * libs/gst/base/gstbasetransform.h:
4753         Clarify the docs.
4754
4755 2007-06-15  Wim Taymans  <wim@fluendo.com>
4756
4757         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4758         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4759         (gst_base_src_default_query), (gst_base_src_get_range),
4760         (gst_base_src_start):
4761         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4762         Improve debugging.
4763
4764 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4765
4766         * docs/pwg/advanced-types.xml:
4767           Added more formats to caps table.
4768
4769 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4770
4771         * tools/gst-launch.c: (main):
4772           Remove crufy code. GOption does not need this workaround.
4773
4774 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4775
4776         * libs/gst/controller/gstcontroller.c:
4777         (gst_controlled_property_set_interpolation_mode):
4778           Fix wrong getter for enums in controller.
4779
4780 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4781
4782         * libs/gst/check/gstcheck.c: (gst_check_init):
4783           Intercept criticals and warnings in the Gst-Phonon log domain, so
4784           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4785           well.
4786         
4787 2007-06-14  Edward Hervey  <edward@fluendo.com>
4788
4789         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4790         Since this file doesn't include "gst.h" it will not go through the
4791         macros that disable GST_LOG if debugging was disabled.
4792
4793 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4794
4795         * libs/gst/check/Makefile.am:
4796         * libs/gst/check/gstcheck.h:
4797         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4798         * pkgconfig/gstreamer-check.pc.in:
4799           Ugly 'fix' for the controller unit test on the p5 bot: in
4800           fail_unless_equals_float() check whether the values are 'almost
4801           equal' by allowing a small absolute error, which should be good
4802           enough for our use cases (normal numbers and values close to 0).
4803           Proper fixage left to floating point arithmetic aficionados.
4804
4805 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4806
4807         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4808         (gst_base_sink_render_object), (gst_base_sink_get_position):
4809           Add two breaks thats where missing.
4810
4811 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4812
4813         * docs/libs/gstreamer-libs-sections.txt:
4814         * libs/gst/check/gstcheck.h:
4815           API: add fail_unless_equals_float() and assert_equals_float().
4816           Add documentation for some of the macros.
4817
4818         * tests/check/libs/controller.c: (GST_START_TEST):
4819           Use newly-added asserts.
4820
4821 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4824           Show the caps change in the log to help spotting the case of not
4825           exactly matching caps.
4826
4827 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4828
4829         * docs/pwg/building-boiler.xml:
4830           Fix typos, spotted by Thijs Vermeir (#447190).
4831
4832 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4833
4834         * docs/plugins/tmpl/.cvsignore:
4835         Ignore file to keep the buildbots happy
4836
4837 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4838
4839         * docs/plugins/Makefile.am:
4840         * docs/plugins/gstreamer-plugins-docs.sgml:
4841         * docs/plugins/gstreamer-plugins-sections.txt:
4842         Pull fdsink into the docs too.
4843
4844 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4845
4846         * libs/gst/controller/gstinterpolation.c:
4847         Actually use the new functions with min/max checks for the trigger and
4848         none interpolation modes for get() and get_value_array() instead of
4849         just the latter.
4850
4851 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4852
4853         * libs/gst/controller/gstcontroller.c:
4854         (gst_controlled_property_free):
4855         Unset the minimum and maximum GValues when freeing the corresponding
4856         GstControllerProperty struct.
4857
4858 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4859
4860         * libs/gst/controller/gstcontroller.c:
4861         (gst_controlled_property_new):
4862         * libs/gst/controller/gstcontrollerprivate.h:
4863         * libs/gst/controller/gstinterpolation.c:
4864         (gst_controlled_property_find_control_point_node),
4865         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4866         (interpolate_none_get_string_value_array),
4867         (interpolate_trigger_get),
4868         (interpolate_trigger_get_enum_value_array),
4869         (interpolate_trigger_get_string_value_array):
4870         Protect against values larger or smaller than the minimum or maximum
4871         allowed value for the property when using values that can be compared.
4872
4873         Optimize trigger interpolator a bit by taking the last requested value
4874         into account instead of always looping through the complete list.
4875
4876         Fix coding style a bit, everywhere else we use "return foo" instead
4877         of "return (foo)".
4878         
4879         * tests/check/libs/controller.c: (GST_START_TEST),
4880         (gst_controller_suite):
4881         Add unit test for the protection against too large or too small
4882         values.
4883
4884 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4885
4886         * docs/random/slomo/controller.txt:
4887         Add some thoughts about the future of the controller.
4888
4889 2007-06-08  Wim Taymans  <wim@fluendo.com>
4890
4891         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4892         Don't overflow in retimestamping code.
4893
4894 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4895
4896         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4897         Use gst_util_guint64_to_gdouble for conversions.
4898         * win32/common/libgstreamer.def:
4899         Add new exported functions.
4900
4901 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4902
4903         * gst/gstutils.c:
4904           Small docs addition.
4905
4906 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4907
4908         * README:
4909           Remove that test line again.
4910
4911 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4912
4913         * README:
4914           Test commit mail sending.
4915
4916 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4917
4918         * configure.ac:
4919           Fix typo and test commit mail sending.
4920
4921 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4922
4923         * tests/examples/controller/audio-example.c:
4924           Improve comment and test commit mail sending.
4925
4926 2007-06-07  Wim Taymans  <wim@fluendo.com>
4927
4928         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4929         (gst_bin_remove_func), (gst_bin_element_set_state),
4930         (bin_handle_async_start), (bin_handle_async_done),
4931         (gst_bin_handle_message_func):
4932         Add helper function to find messages.
4933         Generate the async-done messages together with the state change
4934         messages.
4935         Small cleanups in handling toplevel bins.
4936
4937 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4938
4939         * libs/gst/base/gstdataqueue.c:
4940         * libs/gst/base/gstdataqueue.h:
4941         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4942         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4943         (gst_multi_queue_sink_event):
4944         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4945           Fix multiqueue leaking buffers and events when downstream or the
4946           queue are flushing. Make refcounting assumptions explicit and
4947           document them (shouldn't break existing code that uses it other than
4948           maybe leak miniobjects, but that already happens anyway). Add unit
4949           test for the most common flushing case. Fixes #423700.
4950           
4951 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4952
4953         * libs/gst/controller/gstcontroller.c:
4954         Clarify docs: The get_all, get_value_array(s) functions
4955         don't modify the GObject properties.
4956
4957 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4958
4959         * libs/gst/controller/gstcontroller.c:
4960         (gst_controlled_property_set_interpolation_mode),
4961         (gst_controlled_property_prepend_default),
4962         (gst_controlled_property_new), (gst_controller_set_unlocked),
4963         (gst_controller_set), (gst_controller_set_from_list),
4964         (gst_controller_unset), (gst_controller_unset_all):
4965         * libs/gst/controller/gstcontrollerprivate.h:
4966         * libs/gst/controller/gstinterpolation.c:
4967         Factor out the 'set' logic into gst_controller_set_unlocked for the
4968         gst_controller_set and gst_controller_set_from_list functions.
4969
4970         To make life of the interpolators easier always add a control point
4971         at timestamp zero with the default value.
4972
4973         In the linear interpolator make things more obvious by better variable
4974         naming (slope).
4975
4976         Implement cubic interpolation mode (by using a natural cubic spline)
4977         and map the quadratic interpolation mode to this too (as quadratic
4978         doesn't make much sense, see discussion on the list).
4979
4980         * tests/check/libs/controller.c: (GST_START_TEST),
4981         (gst_controller_suite):
4982         Add unit test for the cubic interpolation mode and check everywhere
4983         if the interpolation mode could be set as expected.
4984
4985 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4986
4987         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4988           Don't use GLib-2.10 functions, we still depend on
4989           GLib-how-old-is-it-again-2.8.
4990
4991 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4992
4993         * docs/gst/gstreamer-sections.txt:
4994         * gst/Makefile.am:
4995         * gst/gst.c:
4996         * gst/gst.h:
4997         * gst/gstparamspecs.c: (_gst_param_fraction_init),
4998         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4999         (_gst_param_fraction_values_cmp),
5000         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
5001         * gst/gstparamspecs.h:
5002         * gst/gstvalue.c:
5003         * tests/check/Makefile.am:
5004         * tests/check/gst/.cvsignore:
5005         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
5006         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
5007         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
5008         (GST_START_TEST), (gst_param_spec_suite):
5009           API: add GstParamSpecFraction, so elements can have fraction
5010           properties without lots of painful string parsing (#444648).
5011
5012 2007-06-05  Wim Taymans  <wim@fluendo.com>
5013
5014         * gst/gstobject.c: (gst_object_class_init):
5015         Fix signal signature.
5016
5017         * gst/gstsegment.c:
5018         Add small clarification in the api docs.
5019
5020         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
5021         States are protected with object lock.
5022
5023 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5024
5025         * AUTHORS:
5026         I should probably be listed as an author by now.
5027
5028         * docs/random/release:
5029         Update the release doc
5030
5031 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
5032
5033         * gst/gstvalue.c:
5034           Make docs for gst_value_compare() mention return enums that
5035           actually exist.
5036
5037 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5038
5039         * configure.ac:
5040           Back to CVS
5041
5042 === release 0.10.13 ===
5043
5044 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
5045
5046         * configure.ac:
5047           releasing 0.10.13, "With or without you"
5048
5049 2007-05-25  Wim Taymans  <wim@fluendo.com>
5050
5051         * gst/gstbin.c: (bin_handle_async_done):
5052         Make sure that the child bin stops after completing the async state
5053         change so that the parent can continue the state change to PLAYING.
5054         Fixes #441159.
5055
5056 2007-05-25  Wim Taymans  <wim@fluendo.com>
5057
5058         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5059         (unref_data), (gst_collect_pads_remove_pad),
5060         (gst_collect_pads_check_pads):
5061         Use additional refcounting to avoid crashes when dynamically adding and
5062         removing pads. Fixes #420206.
5063
5064 2007-05-24  Wim Taymans  <wim@fluendo.com>
5065
5066         * tools/gst-launch.c: (event_loop):
5067         When buffering goes from a two digit to a single digit number, make sure
5068         to remove the old second digit by writing a blank over it.
5069
5070 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * libs/gst/base/gstdataqueue.c:
5073           Eliminate tabs and trailing comma in enum list; fix some typos.
5074
5075 2007-05-24  Wim Taymans  <wim@fluendo.com>
5076
5077         * tests/check/gst/gstbin.c: (GST_START_TEST):
5078         Allow refcount of 3 and 4 because some state thread might still be busy
5079         with it.
5080
5081 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5082
5083         * plugins/elements/Makefile.am:
5084         * plugins/elements/gstmultiqueue.h:
5085         * plugins/elements/gstqueue.h:
5086           These are not installed headers, no need for padding.
5087
5088 2007-05-24  Wim Taymans  <wim@fluendo.com>
5089
5090         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5091         (gst_bin_continue_func):
5092         Enable latency for next release.
5093         Restore STATE_LOCK around recalc_state that was left out during the
5094         rewrite and could result in racy behaviour when _get_state and
5095         recalc_state are run concurrently. See #440463.
5096
5097 2007-05-23  Wim Taymans  <wim@fluendo.com>
5098
5099         * tests/check/gst/gstsystemclock.c: (store_callback),
5100         (GST_START_TEST):
5101         Improve test_async_order to also work when both timers are already
5102         expired when we get scheduled to check it.
5103
5104 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5105
5106         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
5107         (gst_bin_set_property), (gst_bin_get_property),
5108         (gst_bin_remove_func), (gst_bin_handle_message_func):
5109         * gst/gstbin.h:
5110           'private' is a c++ keyword, let's not use that in header files,
5111           otherwise c++ compilers will throw a tantrum.
5112
5113 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5114
5115         * plugins/elements/gstelements.c:
5116         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
5117         (gst_file_sink_get_current_offset):
5118         * plugins/indexers/gstindexers.c: (plugin_init):
5119           Use #ifdef for HAVE_XYZ for consistency.
5120
5121         * tests/check/Makefile.am:
5122         * tests/check/elements/.cvsignore:
5123         * tests/check/elements/filesink.c: (setup_filesink),
5124         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
5125           Add some unit tests for filesink.
5126
5127 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5128
5129         Patch by: Mark Nauwelaerts <manauw at skynet be>
5130
5131         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5132         (gst_file_sink_query), (gst_file_sink_do_seek),
5133         (gst_file_sink_get_current_offset), (gst_file_sink_render):
5134         * plugins/elements/gstfilesink.h:
5135           Fix position reporting; rename data_written member to current_pos to
5136           reflect its real meaning (fixes #412648).
5137
5138 2007-05-22  Edward Hervey  <edward@fluendo.com>
5139
5140         * docs/gst/gstreamer-sections.txt:
5141         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5142         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
5143         (gst_bin_remove_func), (gst_bin_handle_message_func):
5144         * gst/gstbin.h:
5145         Add a property for bins that handle the state change of their childs.
5146         Fixes #435880
5147
5148 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
5149
5150         * libs/gst/controller/gstinterpolation.c:
5151         Use an array of the correct type when using _get_value_array with
5152         linear interpolation.
5153
5154 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
5155
5156         * gst/gstelement.c (gst_element_requires_clock,
5157           gst_element_provides_clock, gst_element_request_pad,
5158           gst_element_class_set_details, gst_element_class_set_details_simple,
5159           gst_element_default_send_event, gst_element_abort_state,
5160           gst_element_continue_state, gst_element_set_state,
5161           gst_element_set_state_func, iterator_activate_fold_with_resync):
5162         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
5163           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
5164           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
5165           gst_pad_get_range, gst_pad_pull_range):
5166         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
5167           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
5168           GstPadActivateModeFunction, GstPadChainFunction,
5169           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
5170           GstPadFixateCapsFunction, GstPadTemplate):
5171         * gst/gstpipeline.c (gst_pipeline_change_state,
5172           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
5173           gst_pipeline_set_clock, gst_pipeline_auto_clock,
5174           gst_pipeline_get_delay):
5175           Whitespace and docs fixes.
5176
5177 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5178
5179         * libs/gst/controller/gstinterpolation.c:
5180         (interpolate_trigger_get_enum_value_array),
5181         (interpolate_trigger_get_string_value_array):
5182         Add support for retrieving value arrays when using the trigger
5183         interpolation mode. 
5184
5185 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5186
5187         * libs/gst/controller/gstcontroller.c:
5188         (gst_controller_get_value_array):
5189         * libs/gst/controller/gstcontroller.h:
5190         Clarify the docs of gst_controller_get_value_array(): The array where
5191         the values should be written to must be allocated as there seems to be
5192         no way to get the size of a random GType. This doesn't change any
5193         behaviour. Also fix some typos all over the place and remove an unused,
5194         commented function that is not necessary as g_object_set() could be
5195         used instead.
5196         * tests/check/libs/controller.c: (GST_START_TEST),
5197         (gst_controller_suite):
5198         Add unit test for gst_controller_get_value_array().
5199
5200 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
5201
5202         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5203
5204         Disable part of the gst_buffer_try_new_and_alloc test, because
5205         it can happily succeed on 64-bit systems where there's more address
5206         space available.
5207
5208 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5209
5210         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5211         Add unit test for the improved caps checking from bug #421543.
5212
5213 2007-05-21  Wim Taymans  <wim@fluendo.com>
5214
5215         * docs/design/part-synchronisation.txt:
5216         Small addition.
5217
5218         * gst/gstbin.c: (gst_bin_query):
5219         * plugins/elements/gstqueue.c: (apply_segment):
5220         Improve debugging.
5221
5222         * gst/gstmessage.h:
5223         Improve docs.
5224
5225 2007-05-21  Wim Taymans  <wim@fluendo.com>
5226
5227         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5228         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
5229         (gst_pad_configure_src):
5230         Added simple version of improved caps checking. It was previously
5231         assumed that a setcaps function would check the validity of the caps but
5232         people prefer us to check caps against the template automatically. 
5233         Fixes #421543.
5234
5235 2007-05-21  Wim Taymans  <wim@fluendo.com>
5236
5237         * libs/gst/base/gstbasetransform.h:
5238         Fix macro for locking/unlocking the transform lock.
5239
5240 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5241
5242         * docs/plugins/tmpl/.cvsignore:
5243           Ignore more.
5244
5245 2007-05-18  Edward Hervey  <edward@fluendo.com>
5246
5247         * plugins/elements/gstqueue.c: (gst_queue_loop):
5248         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5249         for the subtle art of warning a potentially blocking thread that it
5250         should check the source pad return value, and relay the information
5251         upstream.
5252
5253 2007-05-18  Edward Hervey  <edward@fluendo.com>
5254
5255         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5256         Release the queue lock !
5257
5258 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5259
5260         * docs/libs/gstreamer-libs-sections.txt:
5261         Add the two new controller functions to the appropiate places.
5262
5263 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5264
5265         reviewed by: Stefan Kost <ensonic@users.sf.net>
5266
5267         * libs/gst/controller/gstcontroller.c:
5268         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5269         (_gst_controller_get_property), (_gst_controller_set_property),
5270         (_gst_controller_init), (_gst_controller_class_init):
5271         * libs/gst/controller/gstcontroller.h:
5272         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5273         (gst_object_get_control_rate), (gst_object_set_control_rate):
5274         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5275         Add API that provides sync suggestion timestamps for elements that
5276         call gst_object_sync_values() from which those elements can subdivide
5277         their processing loop to get the best results for the controlled
5278         properties. For now it just suggests last_sync + control_rate as
5279         new timestamp but this will be improved in the future.
5280
5281         While doing that change the control-rate property to a GstClockTime
5282         from guint and change it's meaning from samples to nanoseconds as
5283         the GstController doesn't know anything about sampling rate. Strictly
5284         speaking this breaks ABI but as the control-rate property didn't do
5285         anything in the past and as such couldn't be used this should be no
5286         problem.        
5287
5288 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5289
5290         reviewed by: Stefan Kost <ensonic@users.sf.net>
5291
5292         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5293         (gst_controller_unset_all):
5294         * libs/gst/controller/gstcontrollerprivate.h:
5295         * libs/gst/controller/gstinterpolation.c:
5296         (gst_controlled_property_find_control_point_node):
5297         Save last synced value from the list to continue searching from there
5298         in future syncs. This speeds everything up a bit.
5299         
5300 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5301
5302         reviewed by: Stefan Kost <ensonic@users.sf.net>
5303
5304         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5305         (gst_control_point_find), (gst_controlled_property_new),
5306         (gst_control_point_free), (gst_controlled_property_free),
5307         (gst_controller_set), (gst_controller_set_from_list),
5308         (gst_controller_unset), (gst_controller_unset_all),
5309         (gst_controller_sync_values):
5310         * libs/gst/controller/gstcontroller.h:
5311         * libs/gst/controller/gstcontrollerprivate.h:
5312         * libs/gst/controller/gstinterpolation.c:
5313         (gst_controlled_property_find_control_point_node),
5314         (interpolate_none_get), (interpolate_trigger_get):
5315         Add a new private GstControlPoint struct which "inherits" from
5316         GstTimedValue to allow different interpolators to store internal
5317         values next to each control point. From the outside everything is
5318         still a GstControlPoint so we don't loose binary compatibility.
5319         Also fixup all the GValue handling to not leak GValues or list nodes.
5320         * tests/check/libs/controller.c: (GST_START_TEST):
5321         Free the list nodes and GValues in the controller_misc test.
5322
5323 2007-05-17  Edward Hervey  <edward@fluendo.com>
5324
5325         * gst/gstsegment.c:
5326         Small doc fix.
5327
5328 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5329
5330         * gst/gstplugin.c: (gst_plugin_load_file):
5331           If we fail to load a plugin because of unresolved symbols or missing
5332           libraries and spew a warning to stderr, we may just as well mention
5333           which plugin it was that failed to load.
5334
5335 2007-05-13  David Schleef  <ds@schleef.org>
5336
5337         * docs/Makefile.am: the gtk-doc makefile snippet correctly
5338           handles the case when ENABLE_GTK_DOC is false, and installs
5339           the prebuilt documentation.  So gtk-doc subdirs are 
5340           unconditionally enabled.  Fixes: #349099.
5341
5342 2007-05-13  David Schleef  <ds@schleef.org>
5343
5344         * gst/gstutils.h: Reword some documentation.
5345
5346 2007-05-12  David Schleef  <ds@schleef.org>
5347
5348         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5349           do anything with the passed "module" parameter, so remove it.
5350           Allows removal of additional vestigal code.
5351
5352 2007-05-12  David Schleef  <ds@schleef.org>
5353
5354         * gst/gstplugin.c:
5355           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5356           Switch to using g_stat() because it's more portable.
5357
5358 2007-05-12  David Schleef  <ds@schleef.org>
5359
5360         * gst/gst.c:
5361           Add GST_DISABLE_OPTION_PARSING, in order to disable option
5362           parsing for embedded systems.
5363         * gst/gstelementfactory.c:
5364           Allow gst_element_register() to be called with plugin==NULL.
5365           Did nobody notice that static elements were broken?
5366
5367 2007-05-12  Wim Taymans  <wim@fluendo.com>
5368
5369         * tools/gst-launch.c: (event_loop):
5370         Give more interesting info when buffering starts and stops.
5371         Fix case where buffering starts but we fail to update the buffering flag
5372         because the target state is not PLAYING.
5373
5374 2007-05-12  Wim Taymans  <wim@fluendo.com>
5375
5376         * plugins/elements/gstqueue.c: (gst_queue_init),
5377         (gst_queue_finalize), (update_time_level), (apply_segment),
5378         (apply_buffer), (gst_queue_locked_flush),
5379         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5380         (gst_queue_handle_sink_event), (gst_queue_chain),
5381         (gst_queue_push_one), (gst_queue_loop):
5382         * plugins/elements/gstqueue.h:
5383         Refactor an cleanup queue a bit.
5384         Do better time level calculations that also work when the srcpad is not
5385         yet running.
5386         Remove some unneeded debug lines.
5387
5388         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5389         Added testcase for time level measurement.
5390         Try to make some stuff more racefree.
5391
5392 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gsturi.c: (gst_element_make_from_uri):
5395           Don't leak plugin feature.
5396
5397         * tests/check/Makefile.am:
5398         * tests/check/gst/.cvsignore:
5399         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5400           Add brain-dead unit test.
5401
5402 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         Patch by: Jeroen Wouters <woutersj at gmail com>
5405
5406         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5407           Treat protocol strings in a case-insensitive way (#437563).
5408
5409 2007-05-11  Michael Smith <msmith@fluendo.com>
5410
5411         * gst/gstplugin.c: (gst_plugin_load_file):
5412         * gst/gstregistry.c: (gst_registry_scan_path_level):
5413           Don't print a g_warning for any failure to load a shared object.
5414           Instead, push this down into gstplugin.c, and warn _only_ if we
5415           failed to open the module (i.e. failure to link).
5416           Avoids warnings on normal, working, non-plugin .so files.
5417
5418 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
5419
5420         * gst/gstplugin.c (gst_plugin_load_file):
5421         * gst/gstregistry.c (GST_CAT_DEFAULT,
5422           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5423           Print a g_warning if there was an error when loading a plugins during
5424           registry scan. The shuld help beginners starting with gst-plugin
5425           template.
5426
5427 2007-05-10  Wim Taymans  <wim@fluendo.com>
5428
5429         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5430         (update_time_level), (gst_queue_locked_flush),
5431         (gst_queue_handle_sink_event), (gst_queue_chain),
5432         (gst_queue_push_one), (gst_queue_loop):
5433         * plugins/elements/gstqueue.h:
5434         Be smarter when calculating the current amount of data in the queue by
5435         measuring the difference between start and end timestamps (in running
5436         time) inside the queue. Fixes #432876.
5437         API: GstQueue::pushing to notify elements that we are pushing data again
5438         since the running signal is rather broken for this purpose.
5439
5440 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
5441
5442         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5443           gst_queue_base_init, gst_queue_init):
5444           use GST_BOILERPLATE
5445
5446 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
5447
5448         * win32/common/libgstreamer.def:
5449         Add new exported functions.
5450         * win32/vs6/grammar.dsp:
5451         Use grammar pre-generated files.
5452
5453 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5454
5455         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
5456
5457         * gst/Makefile.am:
5458         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5459         * gst/gstparse.h:
5460         * gst/gstutils.c: (gst_parse_bin_from_description):
5461         * gst/gstutils.h:
5462           Maintain API and ABI when --disable-parse is used. Now that
5463           we have an appropriate error code, we can just return NULL and the
5464           appropriate error when gst_parse_launch() is used despite it having
5465           been disabled (#342564).
5466
5467         * tests/check/Makefile.am:
5468         * tests/check/pipelines/.cvsignore:
5469         * tests/check/pipelines/parse-disabled.c:
5470           Make sure these functions exist and return NULL plus a GError when
5471           --disable-parse is used.
5472
5473 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5474
5475         * tests/benchmarks/complexity.c: (main):
5476         * tests/benchmarks/mass-elements.c: (main):
5477           Set a good example and don't leak messages.
5478
5479 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
5480
5481         * docs/gst/Makefile.am:
5482         * docs/libs/Makefile.am:
5483           Correct fixxrefs options.
5484
5485         * docs/plugins/Makefile.am:
5486         * docs/plugins/gstreamer-plugins-docs.sgml:
5487         * docs/plugins/gstreamer-plugins-sections.txt:
5488         * plugins/elements/Makefile.am:
5489         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5490         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5491           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5492           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5493           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5494           _GstCapsFilterClass, trans_class):
5495         * plugins/elements/gstelements.c (name, rank, type, _elements):
5496         * plugins/elements/gstidentity.c
5497           (gst_identity_check_imperfect_timestamp,
5498           gst_identity_check_imperfect_offset):
5499           Document capsfilter and add doc-blurb to identity.
5500
5501 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
5502
5503         * libs/gst/controller/gstcontroller.c:
5504         (gst_controlled_property_set_interpolation_mode):
5505         * libs/gst/controller/gstinterpolation.c:
5506           Don't crash if someone tries to set an interpolation mode that
5507           is invalid or that isn't supported yet. Fixes #422295.
5508
5509         * tests/check/libs/controller.c: (GST_START_TEST),
5510         (gst_controller_suite):
5511           Add a test case for the above.
5512
5513 2007-05-03  Edward Hervey  <edward@fluendo.com>
5514
5515         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5516         Properly set the last_stop position on GstSegment. This will only happen
5517         if there is a buffer to push out.
5518
5519 2007-05-03  Wim Taymans  <wim@fluendo.com>
5520
5521         * libs/gst/base/gstbasetransform.c:
5522         (gst_base_transform_buffer_alloc):
5523         always_in_place does not mean that the sink and source caps are the
5524         same! Make sure we don't blindly proxy the buffer_alloc in this case.
5525
5526 2007-05-03  Wim Taymans  <wim@fluendo.com>
5527
5528         * docs/libs/gstreamer-libs-sections.txt:
5529         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5530         (gst_base_src_default_query), (gst_base_src_get_range):
5531         * libs/gst/base/gstbasesrc.h:
5532         API: gst_base_src_query_latency(). Added method so that subclasses can
5533         easily get the latency values of the base source class.
5534
5535 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
5536
5537         * tools/gst-inspect.c (print_implementation_info):
5538         Remove 0.8 cruft.
5539
5540 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
5541
5542         * tools/Makefile.am:
5543         * tools/gst-launch.1.in:
5544           Don't create a customised man page based on the host architecture,
5545           describe the default registry path generically. That way the man
5546           page is the same for all architectures and packagers have one
5547           multilib issue less to deal with. Fixes #434926.
5548
5549 2007-05-02  Wim Taymans  <wim@fluendo.com>
5550
5551         * gst/gstpad.c:
5552         Fix documentation as spotted by rg on IRC. 
5553
5554 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
5555
5556         * gst/gstutils.c:
5557           Improve docs for gst_element_{link,unlink}.
5558
5559 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
5560
5561         * docs/design/part-events.txt:
5562         * docs/design/part-overview.txt:
5563         * gst/gstevent.c:
5564         * gst/gsturi.c:
5565         * gst/gsturi.h:
5566         * libs/gst/base/gstbasesink.c:
5567           Typo fixes; minor docs addition.
5568
5569 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5570
5571         * docs/gst/gstreamer-sections.txt:
5572         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5573         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5574         * gst/gsturi.h:
5575         API: Add gst_uri_protocol_is_supported(), which checks if a sink
5576         or src that supports a given URI protocol exists.
5577
5578 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5579
5580         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5581         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5582         Set the location to NULL if "file://" is set as URI. Otherwise
5583         some random previous URI would still be set if "file://" is
5584         set on an already used filesink/filesrc.
5585
5586 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5587
5588         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5589         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5590         Special case the "file://" URI as as this is used by some
5591         applications to test with gst_element_make_from_uri if there's
5592         an element that supports the URI protocol.
5593         Also move the g_path_is_absolute() check for the location part
5594         of the URI to also check this for "file://localhost/bla" URIs.
5595
5596 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
5597
5598         * docs/gst/gstreamer-sections.txt:
5599         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5600         * gst/gstbuffer.h:
5601         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5602         (gst_buffer_suite):
5603           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5604
5605 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
5606
5607         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5608         (gst_registry_binary_load_pad_template),
5609         (gst_registry_binary_load_plugin),
5610         (gst_registry_binary_read_cache):
5611         * gst/gstregistrybinary.h:
5612           Implement no-mmap alternative for registry reading. Do code cleanups.
5613           Add more comments about avoiding strdups for all text data. Comments
5614           welcome.
5615
5616 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * gst/gstregistrybinary.h (GstBinaryPluginElement,
5619           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5620           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5621           Comment structs and reformat to fix the build (that stuff should go
5622           into a priv. header).
5623
5624 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5625
5626         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5627         (gst_registry_binary_load_feature):
5628         * gst/gstregistrybinary.h:
5629           Refactor so that we can implement multiple features. Add support for
5630           TypeFindFactory features.
5631
5632 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
5633
5634         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5635
5636         * configure.ac:
5637           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5638
5639 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
5640
5641         * gst/gstbin.c: (gst_bin_element_set_state),
5642         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5643         (bin_handle_async_done), (gst_bin_handle_message_func):
5644           Fix build with --gst-disable-gst-debug
5645
5646 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
5647
5648         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5649           Make sure streaming has finished before calling the ::stop() vfunc,
5650           since that vfunc might clear state which is being used in the
5651           streaming thread. This fixes a race that caused crashes in
5652           audioresample when shutting down a pipeline (#420106).
5653
5654 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5655
5656         * docs/gst/gstreamer-sections.txt:
5657           That was one byte missing.
5658
5659 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5660
5661         * configure.ac:
5662         * docs/gst/gstreamer-sections.txt:
5663         * gst/Makefile.am:
5664         * gst/gstconfig.h.in:
5665         * gst/gstobject.c: (gst_object_class_init),
5666         (gst_signal_object_class_init):
5667         * gst/gstobject.h:
5668           2nd attempt to have a xml-less build as a joined effort of #413123
5669           and #421480.
5670
5671 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * docs/design/draft-tagreading.txt:
5674           Added open issues/thoughts to draft.
5675
5676 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5677
5678         * gst/parse/grammar.tab.pre.c:
5679         * gst/parse/grammar.tab.pre.h:
5680         * gst/parse/lex._gst_parse_yy.pre.c:
5681         Update the prebuild parser sources.
5682
5683 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5684
5685         * gst/parse/Makefile.am:
5686         And now fix the building of the flex sources. Now everything should
5687         work as expected.
5688
5689 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5690
5691         * gst/parse/Makefile.am:
5692         Now hopefully fix the build failures by setting proper rule
5693         dependencies and moving instead of copying.
5694
5695 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5696
5697         * tests/benchmarks/complexity.gnuplot:
5698         * tests/benchmarks/complexity.scm:
5699         * tests/benchmarks/mass-elements.gnuplot:
5700         * tests/benchmarks/mass-elements.scm:
5701           Total licensification.
5702
5703 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * gst/parse/Makefile.am:
5706           Fix the build by correcting the rule that gave wrong files to flex.
5707
5708 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5709
5710         * tests/benchmarks/complexity.c:
5711         * tests/benchmarks/mass-elements.c:
5712           Change licence to LGPL as granted by Benjamin and Andy.
5713
5714 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5715
5716         * gst/parse/Makefile.am:
5717         Add correct grammar.tab.h dependency if compiling without new enough
5718         flex. Fixes #431150.
5719
5720 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5721
5722         * gst/parse/Makefile.am:
5723         Fix typo and use outdated sources if the flex/bison sources are newer
5724         than the pregenerated ones but flex is too old. Print a warning in
5725         that case. This should fix the build on the build bot.
5726
5727 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5728
5729         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5730         * gst/parse/Makefile.am:
5731         * gst/parse/grammar.y:
5732         * gst/parse/parse.l:
5733         Make the parser reentrant and recursively callable. This requires flex
5734         >= 2.5.31, for older versions pregenerated sources are used as we
5735         can't bump the build dependency. Finally fixes #349180.
5736
5737         * gst/gstparse.c: (gst_parse_launch):
5738         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5739         now anyway.
5740
5741         * docs/gst/Makefile.am:
5742         * docs/gst/Makefile.am:
5743         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5744         (__gst_parse_strfree), (__gst_parse_link_new),
5745         (__gst_parse_link_free), (__gst_parse_chain_new),
5746         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5747         (gst_parse_element_set), (gst_parse_free_link),
5748         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5749         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5750         (_gst_parse_launch):
5751         * gst/parse/grammar.tab.pre.h:
5752         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5753         (yy_get_previous_state), (yy_try_NUL_trans), (input),
5754         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5755         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5756         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5757         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5758         (_gst_parse_yypop_buffer_state),
5759         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5760         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5761         (yy_fatal_error), (_gst_parse_yyget_extra),
5762         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5763         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5764         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5765         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5766         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5767         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5768         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5769         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5770         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5771         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5772         (_gst_parse_yyfree):
5773         If the installed flex version is too old use pre-generated parser
5774         sources. These pre-generated parser sources are always updated when
5775         the actual flex/bison sources change but require everybody who wants
5776         to change something in the parser to have flex >= 2.5.31 installed.
5777
5778 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * common/m4/gst-gettext.m4:
5781         * gst/gst-i18n-lib.h:
5782           Make --disable-nls to work
5783
5784 2007-04-17  Wim Taymans  <wim@fluendo.com>
5785
5786         * gst/gstconfig.h.in:
5787         Revert previous change that broke the build.
5788
5789 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
5790
5791         * configure.ac:
5792         * gst/Makefile.am:
5793         * gst/gstconfig.h.in:
5794           Drop libxml2 dependency when building with 
5795           --enable-binary-registry --disable-loadsave
5796
5797 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
5798
5799         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5800         (gst_registry_binary_read_cache):
5801         * gst/gstregistrybinary.h:
5802           Remove unnecessary <sys/mman.h> include which broke the win32 build
5803           with MingW; move includes from header file to .c file, even if the
5804           header file isn't installed; use g_strerror() where UTF-8 strings
5805           are expected, such as in GST_DEBUG messages.
5806
5807 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5808
5809         * docs/libs/gstreamer-libs-sections.txt:
5810         Remove bogus addition for API I didn't end up keeping.
5811
5812         * libs/gst/base/gstbasesrc.h:
5813         Mention Since: 0.10.13 in the documentation.
5814
5815         Add the API keyword to the previous ChangeLog entry.
5816
5817 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5818
5819         * docs/libs/gstreamer-libs-sections.txt:
5820         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5821         (gst_base_src_default_prepare_seek_segment),
5822         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5823         * libs/gst/base/gstbasesrc.h:
5824         Allow basesrc derived classes to execute seeks in other formats
5825         by providing a prepare_seek_segment vmethod. Sub-classes can choose
5826         to prepare the GstSegment in any format that their perform_seek method
5827         will be able to understand. The default implementation provides the
5828         old behaviour of attempting to convert the seek offsets to the 
5829         configured native format.
5830
5831         API: basesrc::prepare_seek_segment vmethod.
5832
5833 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5834
5835         * gst/gstelement.c: (gst_element_get_state_func):
5836         Don't output the same debug statement twice.
5837
5838         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5839         (gst_adapter_peek), (gst_adapter_take_buffer):
5840         Optimise the case where we have buffers at the head of the queue that
5841         can be joined quickly (because they're contiguous sub-buffers) by
5842         merging them together rather than copying data out into new memory.
5843
5844         * gst/parse/grammar.y:
5845         * tests/check/pipelines/parse-launch.c:
5846         Fix a leak in an error path for parse_launch, and add a check 
5847         for it to the testsuite.
5848
5849 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5850
5851         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5852           Don't deadlock when releasing a pad - gst_pad_set_active may try
5853           and take the multiqueue lock too.
5854
5855 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5856
5857         * gst/gsterror.c: (_gst_core_errors_init):
5858         * gst/gsterror.h:
5859           API: add GST_CORE_ERROR_DISABLED (#392804).
5860
5861 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5862
5863         * docs/faq/gst-uninstalled:
5864           don't get empty paths on the PATH variables
5865         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5866           Don't format for the uncommon terminal width of 84 characters.
5867
5868 2007-04-06  Wim Taymans  <wim@fluendo.com>
5869
5870         * gst/gstpipeline.c: (reset_stream_time),
5871         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5872         Only try to select a different pipeline clock when we went back to
5873         PAUSED and not when we merely got flushed.
5874
5875 2007-04-05  Michael Smith  <msmith@fluendo.com>
5876
5877         * tools/gst-launch.1.in:
5878           fractions are better supported in gstreamer than ractions, so
5879           suggest using those.
5880
5881 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5882
5883         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5884
5885         * po/LINGUAS:
5886         * po/da.po:
5887           Added Danish translation.
5888
5889 2007-04-05  Wim Taymans  <wim@fluendo.com>
5890
5891         * libs/gst/base/gstbasesink.c:
5892         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5893         Fix leak caused when refusing newsegment after EOS.
5894
5895         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5896         (gst_fake_sink_init), (gst_fake_sink_set_property),
5897         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5898         (gst_fake_sink_render), (gst_fake_sink_change_state):
5899         * plugins/elements/gstfakesink.h:
5900         Add num-buffers property to make the element generate EOS after a
5901         configurable amount of buffers.
5902         API: fakesink::num-buffers property.
5903
5904         * tests/check/elements/fakesink.c: (GST_START_TEST),
5905         (fakesink_suite):
5906         Fix GstBus leak in test.
5907         Test for fakesink num-buffers.
5908
5909 2007-04-05  Wim Taymans  <wim@fluendo.com>
5910
5911         * libs/gst/base/gstbasesink.c:
5912         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5913         (gst_base_sink_change_state):
5914         Don't accept anything after an EOS, return UNEXPECTED instead.
5915
5916         * tests/check/elements/fakesink.c: (GST_START_TEST),
5917         (fakesink_suite):
5918         Unit test for new EOS behaviour.
5919
5920 2007-04-05  Wim Taymans  <wim@fluendo.com>
5921
5922         * gst/gstelement.c: (gst_element_get_request_pad):
5923         Make padtemplates also work when they don't contain %s or %d.
5924
5925 2007-04-05  Wim Taymans  <wim@fluendo.com>
5926
5927         * docs/gst/gstreamer-sections.txt:
5928         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5929         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5930         * gst/gstclock.h:
5931         Improve _adjust_unlocked() so that it overflows less.
5932         Add gst_clock_unadjust_unlocked to convert from external time to
5933         internal time based on calibration.
5934         Add some more debug.
5935         API: GstClock::gst_clock_unadjust_unlocked()
5936
5937 2007-04-03  Wim Taymans  <wim@fluendo.com>
5938
5939         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5940
5941         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5942         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5943         when releasing sink pad. Fixes #425400.
5944
5945 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5946
5947         * docs/random/ensonic/dynlink.txt:
5948           More work on proposal for new core api.
5949
5950         * docs/libs/gstreamer-libs-sections.txt:
5951         * libs/gst/base/gstbasetransform.h:
5952           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5953           
5954         * libs/gst/controller/gstcontroller.c:
5955         (on_object_controlled_property_changed),
5956         (gst_controller_sync_values),
5957         (gst_controller_set_interpolation_mode):
5958         * libs/gst/controller/gstcontroller.h:
5959           Less verbose logging add docs for unimplemented parts and correctly
5960           return when using unavailable parts.
5961
5962 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5963
5964         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5965         Move all the debug to the CLOCK category, and associate it with
5966         the clock object.
5967
5968 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5969
5970         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5971         Make take_buffer a bit quicker by removing redundant checks
5972         caused by calling gst_adapter_take.
5973
5974 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5975
5976         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5977           Don't leak GCond.
5978
5979         * tests/check/Makefile.am:
5980         * tests/check/elements/.cvsignore:
5981         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5982         (GST_START_TEST), (multiqueue_suite):
5983           Add some dead simple unit tests for the 'multiqueue' element
5984           (some bits don't work yet and are disabled for now).
5985
5986 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * gst/gstelement.c: (gst_element_get_request_pad),
5989         (gst_element_class_get_request_pad_template):
5990           Make gst_element_get_request_pad() create request pads only for
5991           request pad templates and not for, say, sometimes pad templates.
5992
5993 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
5994
5995         * docs/design/draft-klass.txt:
5996           Add example that needs more thinking.
5997         
5998         * docs/design/draft-missing-plugins.txt:
5999           More thoughts about wrapper plugins.
6000         
6001         * docs/random/ensonic/embedded.txt:
6002         * docs/random/ensonic/profiling.txt:
6003           More design work.
6004
6005 2007-03-25  Wim Taymans  <wim@fluendo.com>
6006
6007         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
6008         (gst_base_src_loop):
6009         Only push the segment events in the PLAYING state for live sources.
6010
6011 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
6012
6013         * gst/gstpipeline.c: (gst_pipeline_change_state):
6014         Modify the clock distribution path in PAUSED->PLAYING so that we 
6015         never attempt to choose a new clock unless we're actually leaving
6016         the PAUSED state for the first time. This prevents choosing a
6017         different clock when the state_change gets called for a 2nd time due
6018         to some element doing an async state change.
6019
6020 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6021
6022         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
6023         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
6024         (gst_pad_chain_unchecked), (gst_pad_push):
6025         Revert last commit. This needs some more thoughts.
6026
6027 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6028
6029         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
6030         (gst_pad_chain_unchecked), (gst_pad_push):
6031         Check in set_caps if the caps are compatible with the pad and remove
6032         two functions that are redundant now. Fixes #421543.
6033
6034 2007-03-22  Wim Taymans  <wim@fluendo.com>
6035
6036         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
6037         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
6038         Unref some more to make valgrind happy.
6039
6040 2007-03-22  Wim Taymans  <wim@fluendo.com>
6041
6042         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
6043         (gst_system_clock_id_wait_jitter),
6044         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6045         Fix anoying regression that survived a few releases. When adding an
6046         async entry while blocking on a sync entry, the sync entry will unblock
6047         but still be busy, so it should continue to wait instead of returning
6048         _BUSY to the app.
6049         Add some comments here and there.
6050
6051         * tests/check/gst/gstsystemclock.c: (mixed_thread),
6052         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
6053         Add testcase for this.
6054
6055 2007-03-22  Wim Taymans  <wim@fluendo.com>
6056
6057         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6058         Handle errors from the clock sync better, only UNSCHEDULED indicates a
6059         WRONG_STATE and can silently pause the task. All other cases should
6060         error out.
6061
6062 2007-03-22  Wim Taymans  <wim@fluendo.com>
6063
6064         Patch by: Ville Syrjala <syrjala at sci dot fi>
6065
6066         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
6067         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
6068         Improve debugging.
6069
6070 2007-03-21  Michael Smith  <msmith@fluendo.com>
6071
6072         * docs/pwg/advanced-types.xml:
6073           Fix some errors in the typefinding docs pointed out on irc.
6074
6075 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
6076
6077         * libs/gst/base/gstbasesrc.c:
6078         Clarify FIXME comment in the face of having added unlock_stop()
6079
6080 2007-03-21  Wim Taymans  <wim@fluendo.com>
6081
6082         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
6083         Prepare for release where we warn against possible app breakage in the
6084         case of live pipelines along with an env var to enable/disable live
6085         preroll mode (GST_COMPAT=[no-]live-preroll).
6086
6087 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6088
6089         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
6090         So we should use correct constants for checking for None offset.
6091
6092 2007-03-20  Wim Taymans  <wim@fluendo.com>
6093
6094         * docs/design/part-block.txt:
6095         Mention the fact that the newly switched element should be set to at
6096         least PAUSED.
6097
6098 2007-03-20  Wim Taymans  <wim@fluendo.com>
6099
6100         * gst/gst.c:
6101         Fix compilation with registry disabled as spotted by Saur.
6102
6103 2007-03-20  Wim Taymans  <wim@fluendo.com>
6104
6105         Patch by: Olivier Crete <tester at tester dot ca>
6106
6107         * gst/gstelement.c: (gst_element_sync_state_with_parent):
6108         Look at the pending state too when syncing the element state to the
6109         parent. Fixes #420133.
6110
6111 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
6112
6113         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6114         (gst_base_sink_change_state):
6115         * libs/gst/base/gstbasesink.h:
6116         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6117         (gst_base_src_default_event), (gst_base_src_unlock_stop),
6118         (gst_base_src_deactivate):
6119         * libs/gst/base/gstbasesrc.h:
6120         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
6121         for sub-classes to correctly clear any state they set trying to
6122         unlock, such as clearing out unlock commands from a command fd.
6123         API: basesrc::unlock_stop
6124         API: basesink::unlock_stop
6125
6126         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
6127         (gst_fd_sink_render), (gst_fd_sink_unlock),
6128         (gst_fd_sink_unlock_stop):
6129         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
6130         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
6131         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
6132
6133         Implement unlock_stop in fdsrc and fdsink.
6134         Implement seeking in fdsrc when a seekable fd is passed, as in
6135         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
6136
6137 2007-03-19  Wim Taymans  <wim@fluendo.com>
6138
6139         Patch by: Evan Nemerson <evan at coeus dash group dot com>
6140
6141         * gst/gstelement.c: (gst_element_class_init):
6142         Fix pad-added and pad-removed signal signatures so that the pad type is
6143         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
6144
6145 2007-03-19  Wim Taymans  <wim@fluendo.com>
6146
6147         * docs/gst/gstreamer-sections.txt:
6148         Add new element field and method.
6149
6150         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6151         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
6152         (gst_bin_recalc_state), (gst_bin_get_state_func),
6153         (gst_bin_element_set_state), (gst_bin_change_state_func),
6154         (gst_bin_continue_func), (bin_bus_handler),
6155         (bin_push_state_continue), (bin_handle_async_start),
6156         (bin_handle_async_done), (gst_bin_handle_message_func):
6157         Make async state changes a bit smarter by using new ASYNC_START and
6158         ASYNC_DONE messages. This reduces the number of times we run the state
6159         recalculation thread.
6160         Don't change state of element with a pending ASYNC_START message.
6161         Deprecate STATE_DIRTY messages.
6162         
6163         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
6164         (gst_element_get_state_func), (gst_element_continue_state),
6165         (gst_element_lost_state), (gst_element_set_state_func),
6166         (gst_element_change_state):
6167         * gst/gstelement.h:
6168         Keep the state that was last set by the app in a new element field.
6169         Don't allow state changes when handling an element event.
6170         Post ASYNC_START and ASYNC_DONE messages.
6171         Change lost_state so that we go to PAUSED and wait for the parent to set
6172         us to PLAYING again (so latency calculation can be performed)
6173         Export gst_element_change_state() method so that subclasses can use it.
6174         API: gst_element_change_state()
6175         API: GST_STATE_TARGET
6176
6177         * gst/gstpipeline.c: (gst_pipeline_class_init),
6178         (reset_stream_time), (gst_pipeline_change_state),
6179         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
6180         Using the new ASYNC_START message we can reset the base_time when
6181         needed. This can then be used to implement base_time redistribution in
6182         flushing seeks so that we can remove the explicit seek handling.
6183         Perform latency query and configuration when going to PLAYING.
6184
6185         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6186         (gst_base_sink_query), (gst_base_sink_change_state):
6187         Post new ASYNC_START/ASYNC_DONE messages.
6188
6189         * tests/check/generic/sinks.c: (GST_START_TEST):
6190         Fix test because the bin will not set the async element to PLAYING right
6191         away.
6192
6193         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
6194         Make the message check a little stronger.
6195         Handle ASYNC messages.
6196
6197         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
6198         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
6199         Expect ASYNC_DONE messages.
6200
6201 2007-03-19  Wim Taymans  <wim@fluendo.com>
6202
6203         * docs/gst/gstreamer-sections.txt:
6204         * gst/gstmessage.c: (gst_message_new_async_start),
6205         (gst_message_new_async_done), (gst_message_parse_info),
6206         (gst_message_parse_async_start):
6207         * gst/gstmessage.h:
6208         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
6209         support.
6210
6211 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * tools/gst-inspect.c:
6214         (print_plugin_automatic_install_info_codecs):
6215           Now that we don't check for the 'Codec' keyword any longer in the
6216           klass, we shouldn't spew a warning if the klass isn't a decoder or
6217           encoder (since it might be a Source/Network, for example).
6218
6219 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
6220
6221         * tools/gst-inspect.c:
6222         (print_plugin_automatic_install_info_codecs):
6223           Don't require decoder/demuxer/depayloader elements or
6224           encoder/muxer/paylader elements to have 'Codec' as part of their
6225           factory class string when introspecting a plugin's capabilities.
6226           draft-klass.txt mentions that it might be removed in future, and
6227           flump3dec doesn't have it as part of its class string, so chances
6228           are others might also not have it.
6229
6230 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6231
6232         * po/af.po:
6233         * po/az.po:
6234         * po/bg.po:
6235         * po/ca.po:
6236         * po/cs.po:
6237         * po/de.po:
6238         * po/en_GB.po:
6239         * po/fr.po:
6240         * po/it.po:
6241         * po/nb.po:
6242         * po/nl.po:
6243         * po/ru.po:
6244         * po/sq.po:
6245         * po/sr.po:
6246         * po/sv.po:
6247         * po/tr.po:
6248         * po/uk.po:
6249         * po/vi.po:
6250         * po/zh_CN.po:
6251         * po/zh_TW.po:
6252           Update translations from translation project
6253
6254 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
6255
6256         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6257         (gst_child_proxy_set_property):
6258           Invert precondition check to be alike the ones in the mimiced gobject
6259           api.
6260
6261 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
6262
6263         * docs/design/draft-tagreading.txt:
6264         * docs/random/ensonic/audiobaseclasses.txt:
6265           Do some Architect work.
6266
6267         * gst/gstobject.c: (gst_object_set_name):
6268           Add a WARNING.
6269
6270         * gst/gstpad.c:
6271           Add docs that point from gst_pad_get_range to gst_pad_pull_range
6272
6273 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
6274
6275         * gst/gstsystemclock.c: (gst_system_clock_init),
6276         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6277         Defer starting the async system clock thread until the first async
6278         wait is scheduled. Fixes #414986.
6279
6280 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6283         (gst_single_queue_free):
6284           Fix small leak (free GstSingleQueue structure too, not only contents).
6285
6286 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
6287
6288         * gst/gstbin.c:(gst_bin_add):
6289         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6290         * win32/common/libgstbase.def:
6291         * win32/common/libgstreamer.def:
6292         Add new exported functions.
6293
6294 2007-03-09  Wim Taymans  <wim@fluendo.com>
6295
6296         * docs/plugins/gstreamer-plugins-sections.txt:
6297         Fix GstTee docs.
6298
6299 2007-03-09  Wim Taymans  <wim@fluendo.com>
6300
6301         * docs/gst/gstreamer-sections.txt:
6302         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6303         * gst/gstbuffer.h:
6304         Add metadata copy functions. Fixes #393099.
6305         API: gst_buffer_copy_metadata()
6306
6307         * gst/gstutils.c: (gst_buffer_stamp):
6308         * libs/gst/base/gstbasetransform.c:
6309         (gst_base_transform_prepare_output_buffer):
6310         Use new metadata copy functions.
6311
6312 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6313
6314         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6315         (gst_identity_init), (gst_identity_check_perfect),
6316         (gst_identity_check_imperfect_timestamp),
6317         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6318         (gst_identity_set_property), (gst_identity_get_property):
6319         * plugins/elements/gstidentity.h:
6320         Separate out check-imperfect-timestamp and check-imperfect-offset.
6321         Put back check-perfect as it was to keep compatibility.
6322
6323 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
6324
6325         * gst/gstelement.c: (gst_element_dispose):
6326         There's no need to warn if VOID_PENDING is not NONE here, as
6327         long as the state is NULL it's ok, and that's checked immediately
6328         above.
6329
6330 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6331
6332         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6333         Fix check for perfect stream to ignore buffers with -1 
6334         offsets/offset ends when checking data contiguity.
6335
6336 2007-03-08  Wim Taymans  <wim@fluendo.com>
6337
6338         * tools/gst-launch.c: (event_loop):
6339         Print INFO messages.
6340
6341 2007-03-08  Wim Taymans  <wim@fluendo.com>
6342
6343         * libs/gst/base/gstbasetransform.c:
6344         (gst_base_transform_sink_eventfunc),
6345         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6346         (gst_base_transform_activate):
6347         * libs/gst/base/gstbasetransform.h:
6348         Add support for dropping buffers with custom GstFlowReturn.
6349         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6350         buffers or dropped buffers.
6351
6352         * docs/libs/gstreamer-libs-sections.txt:
6353         docs for new custom return code.
6354
6355         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6356         Use drop support in base class to implement drop-probability.
6357
6358 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
6359
6360         * gst/gst.c: (load_plugin_func):
6361         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6362         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6363         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6364           Remove newlines at end of debug log strings.
6365
6366 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6367
6368         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6369         Only post bus message at max, once per buffer received.
6370
6371 2007-03-07  Wim Taymans  <wim@fluendo.com>
6372
6373         * docs/design/Makefile.am:
6374         * docs/design/part-synchronisation.txt:
6375         Add doc about synchronisation
6376
6377         * docs/design/draft-latency.txt:
6378         * docs/design/part-TODO.txt:
6379         * docs/design/part-clocks.txt:
6380         * docs/design/part-events.txt:
6381         * docs/design/part-gstbus.txt:
6382         * docs/design/part-gstpipeline.txt:
6383         * docs/design/part-live-source.txt:
6384         * docs/design/part-messages.txt:
6385         * docs/design/part-overview.txt:
6386         * docs/design/part-streams.txt:
6387         * docs/design/part-trickmodes.txt:
6388         Documentation updates.
6389
6390 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6391
6392         * gstreamer.doap:
6393         Update the doap file.
6394
6395 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6396
6397         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6398         Rename non-perfect to imperfect for Mike and for the sanctity of the
6399         language.
6400         Also make sure bus message gets emitted for data-incontiguities.
6401
6402 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6403
6404         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6405         (gst_identity_start):
6406         * plugins/elements/gstidentity.h:
6407         Emit bus message if check-perfect is true and we encounter a
6408         non-perfect stream between 2 consecutive buffers.
6409         Fixes #415394.
6410
6411 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6412
6413         * configure.ac:
6414         Back to CVS
6415
6416 === release 0.10.12 ===
6417
6418 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
6419
6420         * configure.ac:
6421           releasing 0.10.12, "Inevitable Demise"
6422
6423 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
6424
6425         * configure.ac:
6426          Version 0.10.11.2 (0.10.12 pre-release)
6427          Bump libtool versioning.
6428
6429 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
6430
6431         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6432           Log flow-names and not numbers.
6433
6434 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6435
6436         * configure.ac:
6437           Convert to new AG_GST style.
6438
6439 2007-02-28  Wim Taymans  <wim@fluendo.com>
6440
6441         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6442         Don't unref query twice.
6443
6444 2007-02-28  Wim Taymans  <wim@fluendo.com>
6445
6446         * gst/gstvalue.c: (gst_value_transform_object_string),
6447         (_gst_value_initialize):
6448         Implement GstObject -> string transform so we print object names
6449         when serializing GValues containing GstObjects.
6450
6451 2007-02-28  Wim Taymans  <wim@fluendo.com>
6452
6453         * docs/gst/gstreamer-sections.txt:
6454         Add new stuff to docs.
6455
6456 2007-02-28  Wim Taymans  <wim@fluendo.com>
6457
6458         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6459         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6460         (gst_base_sink_change_state):
6461         Improve latency query code.
6462         Don't leak latency events.
6463
6464         * tests/check/gst/gstbin.c: (GST_START_TEST):
6465         Improve debugging.
6466
6467 2007-02-28  Wim Taymans  <wim@fluendo.com>
6468
6469         * gst/gstelement.c: (gst_element_message_full),
6470         (gst_element_get_state_func):
6471         * gst/gstelement.h:
6472         Improve docs a little. Added Since: for new macro.
6473
6474         * gst/gstobject.c: (gst_object_sink):
6475         * gst/gstpipeline.c: (gst_pipeline_change_state),
6476         (gst_pipeline_set_new_stream_time):
6477         * gst/gstpipeline.h:
6478         Improve debugging and docs.
6479
6480         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6481         Improve debugging.
6482
6483 2007-02-28  Wim Taymans  <wim@fluendo.com>
6484
6485         * gst/gstelement.c: (gst_element_message_full),
6486         (gst_element_set_locked_state), (gst_element_get_state_func),
6487         (gst_element_change_state):
6488         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6489         Documentation updates.
6490         Small code cleanups.
6491
6492         * gst/gstmessage.c: (gst_message_new_info),
6493         (gst_message_parse_info):
6494         * gst/gstmessage.h:
6495         API: gst_message_new_info()
6496         API: gst_message_parse_info()
6497         Add INFO message create and parse code.
6498
6499 2007-02-28  Wim Taymans  <wim@fluendo.com>
6500
6501         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6502         (bin_query_latency_done):
6503         Also report the live parameter of a latency query.
6504
6505 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6506
6507         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6508           Copy the current generic/states example from -base and adapt so
6509           we can use the exact same code everywhere.
6510           Check a STATES_IGNORE_ELEMENTS env var which can be used
6511           to ignore certain element factories for this test, which is
6512           what is being done in -base
6513         * tests/check/Makefile.am:
6514           Mention this environment variable.
6515
6516 2007-02-27  Wim Taymans  <wim@fluendo.com>
6517
6518         * docs/gst/gstreamer-sections.txt:
6519         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6520         (gst_bus_timed_pop), (gst_bus_pop):
6521         * gst/gstbus.h:
6522         API: gst_bus_timed_pop()
6523         Implement gst_bus_timed_pop() to do a blocking timed wait for a
6524         message to arrive on the bus.
6525
6526         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6527         (gst_bus_suite):
6528         Two unit tests for new _timed_pop() function.
6529
6530 2007-02-23  Wim Taymans  <wim@fluendo.com>
6531
6532         * gst/gstpipeline.c: (gst_pipeline_change_state),
6533         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6534         Don't ref a NULL clock in _provide_clock_func().
6535         Don't allow an INVALID delay.
6536         Don't try to calculate base_time with an invalid start_time.
6537         Also distribute and notify a NULL clock when it was selected.
6538
6539         * tools/gst-launch.c: (event_loop):
6540         Don't crash when a NULL clock was selected in the pipeline.
6541
6542 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * docs/design/Makefile.am:
6545         * docs/design/draft-missing-plugins.txt:
6546         * docs/random/draft-missing-plugins.txt:
6547           Some small updates: update plugin system identifier prefix
6548           ('gstreamer.net' to 'gstreamer'), mention our new install
6549           API in libgstbaseutils rather than libgimme-codec, add
6550           reference to the online docs.
6551
6552 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6553
6554         * win32/common/config.h:
6555           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
6556           use moap cl ci to only check in what is mentioned in the ChangeLog.
6557
6558 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6559
6560         * docs/gst/gstreamer-sections.txt:
6561         * gst/gstelement.h:
6562           Fix up documentation to link to the correct GstGError section.
6563           Add GST_ELEMENT_INFO macro since someone else added a Info message.
6564
6565 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6566
6567         * tools/gst-launch.c: (event_loop):
6568           Make sure that we actually show the important message part of a
6569           warning message.
6570           No need to check if the gerror is not NULL to free; first of all
6571           g_free accepts NULL; and second the default error handler would
6572           segfault if gerror was NULL.
6573
6574 2007-02-21  Wim Taymans  <wim@fluendo.com>
6575
6576         * docs/gst/gstreamer-sections.txt:
6577         Removed docs as well.
6578
6579 2007-02-21  Wim Taymans  <wim@fluendo.com>
6580
6581         * gst/gstmessage.c: (gst_message_parse_duration):
6582         * gst/gstmessage.h:
6583         Remove new messages for release.
6584
6585 2007-02-20  Wim Taymans  <wim@fluendo.com>
6586
6587         * docs/design/part-gstghostpad.txt:
6588         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6589         (gst_ghost_pad_new_full):
6590         Make the ghostpad a parent of the internal pad again for better backward
6591         compatibility. Don't write code that relies on this however.
6592
6593         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6594         (gst_pad_link_check_hierarchy):
6595         Require that parents should be GstElements in the hierarchy check.
6596
6597 2007-02-20  Wim Taymans  <wim@fluendo.com>
6598
6599         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6600         (gst_bin_change_state_func), (bin_query_min_max_init),
6601         (bin_query_latency_fold), (bin_query_latency_done),
6602         (gst_bin_query):
6603         Improve debug info.
6604         Implement latency query.
6605
6606 2007-02-20  Wim Taymans  <wim@fluendo.com>
6607
6608         * docs/design/part-gstghostpad.txt:
6609         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6610         (gst_ghost_pad_internal_do_activate_push),
6611         (gst_ghost_pad_internal_do_activate_pull),
6612         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6613         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6614         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6615         Do not set the internal pad as a parent anymore so we can avoid
6616         hierarchy linking errors when the ghostpad has no parent yet. This also
6617         fixes failed activation because of unlinked internal pads, which in
6618         turn fixes the impossible case where you have to activate a pad before
6619         you can add it to a running element.
6620         Also fix the docs.
6621
6622         * gst/gstpad.c: (pre_activate), (post_activate),
6623         (gst_pad_set_active), (gst_pad_activate_pull),
6624         (gst_pad_activate_push), (gst_pad_check_pull_range):
6625         Add some more debug info.
6626         Mark activation mode in pre_activate so that we don't try to activate in
6627         endless loops. Fixes #385084.
6628
6629 2007-02-19  Wim Taymans  <wim@fluendo.com>
6630
6631         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6632         (gst_base_transform_check_get_range):
6633         Implement a checkgetrange function instead of relying on the default
6634         core behaviour that assumes we can operate in pull mode if we have a
6635         getrange function. First step at fixing #385084.
6636
6637 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
6638
6639         * gst/gstchildproxy.h:
6640         * libs/gst/base/gstbasesink.h:
6641         * libs/gst/base/gstbasesrc.h:
6642         * libs/gst/base/gstbasetransform.h:
6643         More docs coverage and some ChangeLog surgery (add missing names)
6644
6645 2007-02-15  Wim Taymans  <wim@fluendo.com>
6646
6647         * docs/design/part-TODO.txt:
6648         * docs/design/part-activation.txt:
6649         * docs/design/part-block.txt:
6650         * docs/design/part-buffering.txt:
6651         * docs/design/part-clocks.txt:
6652         * docs/design/part-element-source.txt:
6653         * docs/design/part-events.txt:
6654         * docs/design/part-gstbin.txt:
6655         * docs/design/part-gstbus.txt:
6656         * docs/design/part-gstpipeline.txt:
6657         * docs/design/part-live-source.txt:
6658         * docs/design/part-messages.txt:
6659         * docs/design/part-overview.txt:
6660         * docs/design/part-qos.txt:
6661         * docs/design/part-query.txt:
6662         * docs/design/part-states.txt:
6663         * docs/design/part-trickmodes.txt:
6664         Some doc updates. Start renaming from stream_time to running_time where
6665         it was used wrongly.
6666
6667 2007-02-15  Wim Taymans  <wim@fluendo.com>
6668
6669         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6670         Answer LATENCY query.
6671
6672 2007-02-15  Wim Taymans  <wim@fluendo.com>
6673
6674         * tests/check/gst/gstevent.c: (event_probe), (test_event),
6675         (GST_START_TEST):
6676         Improve debugging.
6677
6678 2007-02-15  Wim Taymans  <wim@fluendo.com>
6679
6680         * gst/gstpad.c: (gst_pad_get_internal_links_default),
6681         (gst_pad_dispatcher):
6682         Improve debugging of default pad dispatcher and query functions.
6683
6684 2007-02-15  Wim Taymans  <wim@fluendo.com>
6685
6686         * docs/gst/gstreamer-sections.txt:
6687         Remove old unused method.
6688
6689 2007-02-13  Wim Taymans  <wim@fluendo.com>
6690
6691         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6692         Fix check
6693
6694 2007-02-13  Wim Taymans  <wim@fluendo.com>
6695
6696         * docs/design/part-seeking.txt:
6697         Some small update.
6698
6699         * gst/gstsegment.c: (gst_segment_set_seek):
6700         Revert old bogus change that should make seeking work again.
6701
6702 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6703
6704         * docs/random/ensonic/dynlink.txt:
6705         * docs/random/ensonic/interfaces.txt:
6706         * docs/random/ensonic/receipies.txt:
6707           Possible dynamic reconnection api, plus some type fixes the other two
6708           docs.
6709
6710 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
6711
6712         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6713         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6714         Also check for an absolute path following file:// in the filesrc
6715         element. Remove redundant check and call g_path_is_absolute() on the
6716         unescaped location.
6717
6718 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6719
6720         * docs/design/draft-klass.txt:
6721           Add existing category analysis.
6722           
6723         * gst/gstcaps.c:
6724           Fix doc example, framerate is a fraction.
6725
6726 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6727
6728         * configure.ac:
6729         * docs/gst/Makefile.am:
6730         * docs/gst/gstreamer-sections.txt:
6731         * docs/libs/Makefile.am:
6732           Erm, forgot a bunch of --extra-dir.
6733
6734 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6735
6736         * configure.ac:
6737         * docs/gst/Makefile.am:
6738         * docs/libs/Makefile.am:
6739         * docs/plugins/Makefile.am:
6740           Add crossreferences to glib/gobject docs.
6741
6742 2007-02-12  Wim Taymans  <wim@fluendo.com>
6743
6744         * docs/design/draft-latency.txt:
6745         Small update.
6746
6747         * docs/libs/gstreamer-libs-sections.txt:
6748         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6749         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6750         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6751         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6752         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6753         (gst_base_sink_get_position), (gst_base_sink_query),
6754         (gst_base_sink_change_state):
6755         * libs/gst/base/gstbasesink.h:
6756         API: gst_base_sink_query_latency() to let subclasses query the upstream
6757         latency.
6758         API: gst_base_sink_get_latency() to let subclasses query the configured
6759         latency in the sink.
6760         Implement query and set latency.
6761         Update some docs.
6762         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6763         don't continue preroll when we are flushing. Fixes #405284.
6764
6765         * tests/check/pipelines/stress.c: (change_state_timeout),
6766         (quit_timeout), (GST_START_TEST), (stress_suite):
6767         Test for #405284.
6768
6769 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6770
6771         Patch by: René Stadler <mail at renestadler de>
6772
6773         * docs/gst/gstreamer-sections.txt:
6774         * gst/gsttaglist.c: (_gst_tag_initialize):
6775         * gst/gsttaglist.h:
6776           API: add GST_TAG_REFERENCE_LEVEL (#403597).
6777
6778 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
6779
6780         * docs/libs/Makefile.am:
6781           Fix path to core docs.
6782
6783         * gst/gstbin.c: (gst_bin_get_by_interface),
6784         (gst_bin_iterate_all_by_interface):
6785           Refix docs by also renaming 'interface' to 'iface' in implementation.
6786
6787         * docs/gst/gstreamer-sections.txt:
6788         * gst/gstcaps.c:
6789         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6790         * gst/gstchildproxy.h:
6791         * gst/gstelementfactory.c:
6792         * gst/gstpadtemplate.h:
6793         * libs/gst/controller/gstcontroller.c:
6794         (gst_controlled_property_new):
6795           Document more.
6796
6797 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
6798
6799         * gst/gstbin.h:(gst_bin_get_by_interface),
6800         (gst_bin_iterate_all_by_interface):
6801         Replace interface parameter name by iface as interface is 
6802         a reserved keyword in Visual Studio for C++ projects so it removes
6803         a build error for application developpers using VS.
6804         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6805         Fix a bug on Windows in uri format check. Now the prefix checked
6806         is file:// and next we check if the path after file:// is absolute.
6807         * win32/common/libgstbase.def:
6808         * win32/common/libgstdataprotocol.def:
6809         * win32/common/libgstgstreamer.def:
6810         Add new exported functions.
6811
6812 2007-02-09  Andy Wingo  <wingo@pobox.com>
6813
6814         * tests/check/pipelines/simple-launch-lines.c
6815         (simple_launch_lines_suite, test_tee): Disable tee test until I
6816         have time to fix it :-(
6817
6818         * tests/check/Makefile.am (noinst_HEADERS): 
6819         * tests/check/libs/libsabi.c: 
6820         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6821         * tests/check/gst/gstabi.c: 
6822         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6823
6824         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6825         tests for push and pull tee behavior.
6826
6827         * plugins/elements/gsttee.h: 
6828         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6829         mark as deprecated as well as unimplemented. It was a crack idea.
6830         Add support for tee operating in pull mode, off by default.
6831
6832         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6833         normal-case logs down to LOG, raise errors to WARNING.
6834         (gst_registry_xml_read_cache): Don't log before calling a function
6835         that logs.
6836
6837         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6838         exit (registry finalize).
6839         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6840         DEBUG log when we emit signals that people don't even have the
6841         chance to connect to.
6842         (gst_registry_scan_path_level): Less logging in the normal case.
6843
6844 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6845
6846         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6847
6848         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6849         Correctly generate EOS for non-seekable files. We don't have a total
6850         length for them and would get an unexpected end of file if we only
6851         special-cased for regular files. (Fixes: #404569)
6852
6853 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6854
6855         * tests/check/elements/filesrc.c: (GST_START_TEST),
6856         (filesrc_suite):
6857         Add unit test for the GstURIHandler interface in filesrc. This also
6858         tests the newly added file://localhost/foo/bar support.
6859
6860 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6861
6862         * gst/gstelementfactory.h:
6863           The klass string is not a hierarchy. Add reference to the design doc
6864           for more information and common types.
6865
6866 2007-02-02  Wim Taymans  <wim@fluendo.com>
6867
6868         * gst/gstquery.c: (gst_query_new_latency):
6869         Remove old structure field.
6870
6871 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6872
6873         * tools/gst-launch.1.in:
6874           Give example for network streaming (#351998)
6875
6876 2007-02-02  Wim Taymans  <wim@fluendo.com>
6877
6878         * docs/gst/gstreamer-sections.txt:
6879         Add docs for new methods.
6880
6881         * gst/gstevent.c: (gst_event_new_latency),
6882         (gst_event_parse_latency):
6883         * gst/gstevent.h:
6884         Add new LATENCY event to configure latency in a pipeline.
6885         API: gst_event_new_latency
6886         API: gst_event_parse_latency
6887
6888         * gst/gstmessage.c: (gst_message_new_buffering),
6889         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6890         (gst_message_new_latency), (gst_message_parse_buffering),
6891         (gst_message_parse_lost_preroll):
6892         * gst/gstmessage.h:
6893         Added messages used in draft-latency.
6894         API: gst_message_new_lost_preroll
6895         API: gst_message_parse_lost_preroll
6896         API: gst_message_new_prerolled
6897         API: gst_message_new_latency
6898
6899         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6900         (gst_query_parse_latency):
6901         * gst/gstquery.h:
6902         Implemented new latency query as in design doc.
6903         API: gst_query_new_latency
6904         API: gst_query_set_latency
6905         API: gst_query_parse_latency
6906
6907 2007-02-02  Wim Taymans  <wim@fluendo.com>
6908
6909         * docs/design/draft-latency.txt:
6910         Slight redesign to allow for dynamic latency adjustments.
6911
6912         * docs/design/part-negotiation.txt:
6913         Fix some typos.
6914
6915 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6916
6917         reviewed by: Wim Taymans <wim@fluendo.com>
6918
6919         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6920         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6921         Allow file://localhost/foo/bar URLs and correctly fail for every other
6922         hostname that one sets. This was gnomevfssrc is linked for those if
6923         installed as it can handle it (#403172)
6924
6925 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6926
6927         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6928
6929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6930         (unref_data), (gst_collect_pads_add_pad_full):
6931         * libs/gst/base/gstcollectpads.h:
6932         Don't put the previously added destroy notify in the GstCollectData
6933         struct as all it's padding is already used and we don't want to break
6934         ABI. Instead put in the pad's GObject data for now. This should be
6935         cleaned up for 0.11 (#402393).
6936
6937 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6938
6939         reviewed by: Wim Taymans <wim@fluendo.com>
6940
6941         * docs/libs/gstreamer-libs-sections.txt:
6942         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6943         (unref_data), (gst_collect_pads_add_pad),
6944         (gst_collect_pads_add_pad_full):
6945         * libs/gst/base/gstcollectpads.h:
6946         API: Add function to specify a destroy notification for custom
6947         GstCollectData when adding new pads in GstCollectPads (#402393).
6948
6949 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6950
6951         * po/sv.po:
6952           Update Swedish translation (#378255).
6953
6954 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6955
6956         * docs/design/draft-klass.txt:
6957           Fix the previous change, this is a list of categories and not a hierarchy.
6958
6959 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6960
6961         * docs/design/draft-klass.txt:
6962           Add info about how to get a list of used classes.
6963
6964 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6965
6966         * plugins/elements/gsttypefindelement.c:
6967         (gst_type_find_element_chain_do_typefinding),
6968         (gst_type_find_element_change_state):
6969           Don't leak found caps in chain function (no idea why that never
6970           showed up as a leak anywhere).
6971
6972 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6973
6974         * gst/gstplugin.h:
6975           Fix and expand GstPluginDesc API docs.
6976
6977 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6978
6979         * gst/gstcaps.c:
6980         * gst/gstelementfactory.c:
6981         * gst/gstpadtemplate.h:
6982           api doc fixes
6983
6984         * libs/gst/controller/gstcontroller.c:
6985         (gst_controlled_property_new):
6986         * tests/examples/controller/audio-example.c:
6987           comment fixes
6988
6989 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6990
6991         * configure.ac:
6992           comment about refining the xml deps
6993
6994         * docs/manuals.mak:
6995           comments about moving away from jade for docs
6996         
6997         * gst/gst.c:
6998           recommit the ifdefs to use the binary registry
6999         
7000         * gst/gstbin.c: (gst_bin_change_state_func):
7001           this break is obsolete
7002
7003         * gst/gstelementfactory.h:
7004           better GST_ELEMENT_DETAILS docs, add comment about translation
7005
7006         * gst/gstinfo.h:
7007           remove eol slash
7008
7009         * gst/gstobject.c: (gst_signal_object_get_type):
7010           add G_UNLIKELY as usual
7011
7012         * gst/gstpad.c: (gst_pad_event_default):
7013           add fall trhu comment
7014
7015         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7016         (gst_registry_binary_initialize_magic),
7017         (gst_registry_binary_save_string),
7018         (gst_registry_binary_save_pad_template),
7019         (gst_registry_binary_save_feature),
7020         (gst_registry_binary_save_plugin),
7021         (gst_registry_binary_write_cache),
7022         (gst_registry_binary_check_magic),
7023         (gst_registry_binary_load_pad_template),
7024         (gst_registry_binary_load_feature),
7025         (gst_registry_binary_load_plugin),
7026         (gst_registry_binary_read_cache):
7027           comment typo and formatting
7028
7029         * gst/gstutils.c: (gst_element_state_get_name),
7030         (gst_element_state_change_return_get_name):
7031           remove obsolete breaks
7032
7033         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7034           add FIXME 0.11 and remove cpp comment
7035
7036 2007-01-29  Edward Hervey  <edward@fluendo.com>
7037
7038         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7039         Fix print statement in an even more portable way.
7040
7041 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
7042
7043         * docs/gst/gstreamer-sections.txt:
7044         * gst/gstutils.h:
7045           API: add GST_ROUND_DOWN_* macros (#401781).
7046
7047 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
7048
7049         * docs/gst/gstreamer.types.in:
7050         * gst/gstregistry.c: (gst_registry_class_init):
7051           Document registry signals and make gtk-doc pick them up (#401381).
7052
7053 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7054
7055         * docs/pwg/building-testapp.xml:
7056           Add some audioconverts and audioresample to the pipeline, and some
7057           more comments and error handling.
7058
7059 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * docs/manual/manual.xml:
7062         * docs/pwg/pwg.xml:
7063           Fix typo (#400987).
7064
7065 2007-01-26  Wim Taymans  <wim@fluendo.com>
7066
7067         * gst/gstcaps.c: (gst_static_caps_get):
7068         Init caps flags too.
7069
7070 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
7071
7072         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
7073
7074         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7075         If not using mmap'ed files try to seek to the end instead of the
7076         start to determine whether we can seek at all. This fixes the case
7077         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
7078         seeks for everything afterwards fail. Fixes #400656
7079
7080 2007-01-25  Wim Taymans  <wim@fluendo.com>
7081
7082         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
7083         Add some refcount debugging.
7084         Make gst_static_caps_get threadsafe, which is needed when autoplugging
7085         in multiple streaming threads.
7086
7087 2007-01-25  Wim Taymans  <wim@fluendo.com>
7088
7089         Patch by: David Schleef <ds at schleef dot org>
7090
7091         * docs/libs/gstreamer-libs-sections.txt:
7092         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
7093         * libs/gst/base/gstadapter.h:
7094         API: gst_adapter_copy() that can reduce the amount of memcpy when
7095         getting data from the adapter. Fixes #388201.
7096
7097 2007-01-25  Edward Hervey  <edward@fluendo.com>
7098
7099         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7100         In print statements, "%x" is for guint. Fixes build on macosx.
7101
7102 2007-01-24  Edward Hervey  <edward@fluendo.com>
7103
7104         * plugins/elements/gstmultiqueue.c:
7105         (gst_multi_queue_loop):
7106         Small fix.
7107         (single_queue_overrun_cb), (single_queue_underrun_cb),
7108         (single_queue_check_full), (gst_single_queue_new):
7109         Implement single queue growth system.
7110         This uses the extra-size properties, and will grow single queues by
7111         that much if one goes full whereas there are others empty. This is
7112         called extra-mode in the code.
7113         When a single queue's levels go back below the initial max-size
7114         limits, it is no longer in extra-mode. This is to ensure we don't
7115         consume too much memory.
7116         Fixes #399875
7117
7118 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
7119
7120         * gst/gst.c: (gst_init_get_option_group):
7121           Make warning about late g_thread_init() calls a bit more explicit,
7122           so that it's more obvious to application developers what they need
7123           to do if a user files a bug against their application.
7124
7125 2007-01-22  Edward Hervey  <edward@fluendo.com>
7126
7127         * plugins/elements/gstmultiqueue.c:
7128         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
7129         Remove previous hack of unsetting the flushing flag for the source pad
7130         instead of activating it. Instead, fix the source pad activate function
7131         so that it no longer depends on having a parent set or not.
7132
7133 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
7134
7135         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
7136
7137         * docs/manual/basics-bus.xml:
7138           Fix example code, gst_element_unref() doesn't exist any longer.
7139
7140 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
7141
7142         Patch by: Mark Nauwelaerts <manauw at skynet be>
7143
7144         * gst/gstpad.c:
7145           Fix two docs typoes (#399094).
7146
7147 2007-01-19  Edward Hervey  <edward@fluendo.com>
7148
7149         * docs/faq/gst-uninstalled:
7150         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
7151         depending on libgstbaseutils can work in uninstalled environment.
7152
7153 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
7154
7155         * gst/gsttaglist.h:
7156         * gst/gsttagsetter.c:
7157         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
7158         statement for new tag.
7159
7160 2007-01-17  Edward Hervey  <edward@fluendo.com>
7161
7162         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
7163         When dynamically creating single queues, activate sinkpad before adding
7164         it.
7165         We should be doing the same thing for the source pad, but we can't
7166         since it would call a method which needs the parent to be set in order
7167         to work propertly. Instead of activating the source pad, we just unset
7168         the flushing flag, which is the minimal requirement for adding a pad
7169         to an element in a state greater than READY.
7170
7171 2007-01-17  Edward Hervey  <edward@fluendo.com>
7172
7173         * docs/faq/gst-uninstalled:
7174         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
7175         Mac OS X.
7176
7177 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
7178
7179         * tests/check/gst/gstabi.c:
7180         * tests/check/gst/struct_hppa.h:
7181         * tests/check/libs/libsabi.c:
7182         * tests/check/libs/struct_hppa.h:
7183           Add ABI structs for HPPA (see #393796).
7184
7185 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
7186
7187         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7188           Actually write ABI structs to the file specified in the GST_ABI
7189           environment variable, as the message we print claims we would.
7190
7191 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7192
7193         * tests/check/gst/gsttask.c:
7194           Fix header comment.
7195
7196 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7197
7198         * gst/gsttaglist.c: (_gst_tag_initialize):
7199           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
7200           previous two entries.
7201
7202 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * docs/gst/gstreamer-sections.txt:
7205         * gst/gsttaglist.c: (_gst_tag_initialize):
7206         * gst/gsttaglist.h:
7207           Add tag support for beat-per-minute.
7208
7209 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7210
7211         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7212         (gst_registry_binary_initialize_magic),
7213         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
7214         (gst_registry_binary_save_pad_template),
7215         (gst_registry_binary_save_feature),
7216         (gst_registry_binary_save_plugin),
7217         (gst_registry_binary_write_cache),
7218         (gst_registry_binary_check_magic),
7219         (gst_registry_binary_load_pad_template),
7220         (gst_registry_binary_load_feature),
7221         (gst_registry_binary_load_plugin),
7222         (gst_registry_binary_read_cache):
7223         * gst/gstregistrybinary.h:
7224           Use glib types, cleanup comments, impement interfaces and uri-types.
7225
7226 2007-01-13  Andy Wingo  <wingo@pobox.com>
7227
7228         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
7229         getrange() to return buffers with other caps, while we fix
7230         demuxers and typefind, or otherwise change part-negotiation.txt.
7231
7232 2007-01-12  Andy Wingo  <wingo@pobox.com>
7233
7234         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
7235         Factor start/stop into this private function instead of partially
7236         in activate functions and partially in the change_state function.
7237         Fixes setup before the element has changed from READY->PAUSED, as
7238         is the case in pull-mode pipelines.
7239         (gst_base_transform_sink_activate_push)
7240         (gst_base_transform_src_activate_pull): Refactor to use
7241         gst_base_transform_activate().
7242         (gst_base_transform_change_state): Removed, not needed any more.
7243
7244         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7245         Truncate before fixating.
7246         
7247         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7248         Don't set_caps() if the result of fixating is ANY, as it's not
7249         supported, and not necessary in the case of a link with no
7250         template caps on either side. Fixes tests/check/libs/basesrc in
7251         some pull-mode tests.
7252
7253         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7254         (gst_base_transform_init, gst_base_transform_sink_activate_push)
7255         (gst_base_transform_src_activate_pull): 
7256         Track the activation mode.
7257         (gst_base_transform_setcaps): In pull mode, when activating the
7258         src pad, after activating the sink pad, activate the sink pad's
7259         peer, as discussed in part-negotiation.txt.
7260
7261         * libs/gst/base/gstbasesrc.h: 
7262         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7263         vmethod, as in basesink.
7264
7265         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7266
7267         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7268         mode, first proxy the setcaps to the peer pad.
7269         (gst_base_sink_pad_fixate): Add a fixate function that calls the
7270         new fixate vmethod.
7271         (gst_base_sink_default_activate_pull): Rename from
7272         gst_base_sink_activate_pull.
7273         (gst_base_sink_negotiate_pull): New function, performs negotiation
7274         in pull mode before calling ::activate_pull().
7275         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7276         vmethod instead of the default implementation. I have no idea how
7277         this worked before. Negotiate before calling activate_pull.
7278
7279         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7280         sink pads in pull mode. In addition to being correct, fixes
7281         filesrc ! decodebin ! identity ! fakesink.
7282         (gst_pad_get_range, gst_pad_pull_range): Don't call
7283         gst_pad_set_caps() if the caps changes; instead error out with
7284         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7285
7286 2007-01-12  Andy Wingo  <wingo@pobox.com>
7287
7288         * docs/design/part-negotiation.txt: Update with more policy.
7289
7290 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * libs/gst/check/gstbufferstraw.h:
7293         * libs/gst/check/gstcheck.h:
7294           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7295           belongs.
7296
7297 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7298
7299         * tests/check/Makefile.am:
7300         * tests/check/gst/.cvsignore:
7301         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7302         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7303         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7304         (GST_START_TEST), (gst_tag_setter_suite):
7305           Add minimal unit test for beforementioned GstTagSetter bug.
7306
7307 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         Patch by: René Stadler <mail at renestadler dot de>
7310
7311         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7312           gst_tag_list_merge() returns a new list, so it's not the best idea
7313           to ingore its return value. Effectively meant that tags could only
7314           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7315           Also add function guard to require a non-NULL taglist as input (has
7316           always been so due to gst_tag_list_copy(), just making it explicit).
7317
7318 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7319
7320         * docs/random/draft-missing-plugins.txt:
7321           Some additions: mention new API that is supposed to be used at the
7322           various stages; short blob about new gst-inspect introspection
7323           option; mention potential future problem with plugins that have
7324           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7325
7326 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7327
7328         * tools/gst-inspect.c:
7329         (print_plugin_automatic_install_info_codecs),
7330         (print_plugin_automatic_install_info_protocols),
7331         (print_plugin_automatic_install_info), (main):
7332         Add --print-plugin-auto-install-info option to gst-inspect, so we can
7333         introspect plugin files and get machine-parsable output that corresponds
7334         to the last bit of the missing-plugin installer string (small gotcha:
7335         doesn't take into account ranks).
7336
7337 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
7338
7339         * configure.ac:
7340         * docs/gst/gstreamer-sections.txt:
7341         * gst/Makefile.am:
7342         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7343         (gst_registry_lookup_locked):
7344         * gst/gstregistry.h:
7345         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7346         (gst_registry_binary_initialize_magic),
7347         (gst_registry_binary_save_string),
7348         (gst_registry_binary_save_pad_template),
7349         (gst_registry_binary_save_feature),
7350         (gst_registry_binary_save_plugin),
7351         (gst_registry_binary_write_cache),
7352         (gst_registry_binary_check_magic),
7353         (gst_registry_binary_load_pad_template),
7354         (gst_registry_binary_load_feature),
7355         (gst_registry_binary_load_plugin),
7356         (gst_registry_binary_read_cache):
7357         * gst/gstregistrybinary.h:
7358         * gst/gstregistryxml.c: (load_feature),
7359         (gst_registry_xml_read_cache):
7360           commit binary registry (disabled by default, see #359653)
7361
7362 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7365           Fix 'make check' too.
7366
7367 2007-01-10  Andy Wingo  <wingo@pobox.com>
7368
7369         * docs/design/part-negotiation.txt: Fix a typo, add a couple
7370         notes.
7371         
7372         * docs/design/part-negotiation.txt: Update with, um, one way that
7373         pull-mode negotiation might work?
7374
7375         * gst/gstpad.h: 
7376         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7377         that the pad must be a src pad; makes sense to call it the other
7378         way in pull mode, and the logic is symmetric anyway.
7379
7380 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
7381
7382         * plugins/elements/gstfilesink.c:
7383           Include <stdio.h> for fseeko().
7384
7385 2007-01-10  Wim Taymans  <wim@fluendo.com>
7386
7387         * gst/gstevent.c:
7388         * gst/gstevent.h:
7389         Reserve LATENCY event.
7390
7391 2007-01-09  Wim Taymans  <wim@fluendo.com>
7392
7393         * docs/design/draft-latency.txt:
7394         Updates.
7395
7396 2007-01-09  Wim Taymans  <wim@fluendo.com>
7397
7398         * docs/design/draft-latency.txt:
7399         Updates.
7400
7401         * gst/gstelement.h:
7402         * gst/gststructure.c:
7403         * gst/gsttrace.c:
7404         Small typo fixes.
7405
7406 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
7407
7408         * tests/check/.cvsignore:
7409           Ignore test-registry.xml as well.
7410
7411 2007-01-09  Wim Taymans  <wim@fluendo.com>
7412
7413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7414         unref data at the end when we are done with the pad.
7415
7416 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7417
7418         * docs/gst/gstreamer-sections.txt:
7419         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7420         (init_post), (gst_deinit), (gst_update_registry):
7421         * gst/gst.h:
7422           API: add gst_update_registry() (#391296).
7423
7424         * tests/check/Makefile.am:
7425         * tests/check/gst/gstregistry.c:
7426         * tests/check/gst/.cvsignore:
7427           Simple unit test for the above.
7428
7429 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7430
7431         * gst/gstregistry.c: (gst_registry_scan_path_level):
7432           Plugin extension on HP-UX is .sl, add that to the list of approved
7433           plugin extensions (see #393796).
7434
7435         * tests/check/gst/gstpad.c: (GST_START_TEST):
7436           ulong => gulong. Fixes compilation with HP-UX compiler.
7437
7438         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7439           Fix compilation if valgrind headers are not available.
7440
7441 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
7442
7443         * win32/common/libgstreamer.def: 
7444           Add new exported function.
7445         * win32/vs6/libgstbase.dsp: 
7446           Add gstdataqueue.c to the build.
7447         * win32/vs6/libgstcoreelements.dsp:
7448           Add gstmultiqueue.c to the build.
7449         
7450 2007-01-06  Andy Wingo  <wingo@pobox.com>
7451
7452         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7453         activate_pull(), providing for a way to specialize the process of
7454         spawning a thread to pull on the sink pad. There is a default
7455         implementation.
7456
7457         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7458         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7459         (gst_base_sink_init): Renamed pad activation functions (inserting
7460         "_pad" in their names). Refactor to use the new activate_pull
7461         vmethod, as appropriate.
7462         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7463         default activate_pull function to start a task pulling from the
7464         sink pad, as before.
7465
7466         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7467         on the pads if necessary, as in push()/chain(). Update docs.
7468         Shouldn't affect existing pull() usage as it is currently only
7469         being used on buffers without caps.
7470
7471 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7472
7473         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7474         (init_pre):
7475           Call g_thread_init() first thing in gst_init() / gst_check_init().
7476           When initialisation is done via gst_init_get_option_group() and
7477           GOption parsing, issue a warning if the GLib thread system has not
7478           been initialised yet by the time gst_init_get_option_group() is
7479           called, as it's quite likely other GLib functions such as
7480           g_option_context_new() have been called already then, and
7481           g_thread_init() must be called before any other GLib function. The
7482           application in question must be fixed in that case, since memory
7483           corruption might happen otherwise.
7484           We issue the warning because even if the GLib folks decide to work
7485           around the problem on their end in future, this is still an issue
7486           with all GLib versions >= 2.10.0, so we should warn until we depend
7487           on a GLib version we know to be safe.
7488           Update documentation as well.
7489           Closes bug #391278.
7490
7491 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7492
7493         * tools/gst-inspect.c: (main):
7494         * tools/gst-launch.c: (main):
7495         * tools/gst-typefind.c: (main):
7496         * tools/gst-xmlinspect.c: (main):
7497           Call g_thread_init() really really early, before any other GLib
7498           function (see #342564 and recent discussion on gtk-devel-list).
7499
7500 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7501
7502         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
7503
7504         * gst/gst_private.h:
7505         * gst/gstconfig.h.in:
7506         * gst/gstinfo.h:
7507           On win32, all the __declspec stuff for symbol exporting is
7508           apparently only needed with MSVC, but doesn't work with MingW.
7509           Fixes compilation with MingW and #391909.
7510
7511 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7512
7513         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7514           Change some GST_ERROR_OBJECT that aren't really errors to
7515           GST_WARNING_OBJECT in order to reduce terminal spam.
7516
7517 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7518
7519         * tests/check/Makefile.am:
7520           disable test again, as there seem to be still race problems
7521
7522 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7523
7524         * tests/check/Makefile.am:
7525         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7526         (GST_START_TEST), (queue_suite):
7527           enable queue test again, add tests for the leaky behaviour
7528
7529 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * configure.ac:
7532         * tests/examples/Makefile.am:
7533           Compile adapter test/example only if the required headers are
7534           available (fixes #391915).
7535
7536 2007-01-01  David Schleef  <ds@schleef.org>
7537
7538         * gst/gstplugin.c:
7539           Restore the previous signal handler for SIGSEGV instead of
7540           setting to default, since we may have stolen it away from
7541           someone.  (i.e., Mono)
7542
7543 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7544
7545         * docs/random/draft-missing-plugins.txt:
7546           Some small additions and clarifications.
7547
7548 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7549
7550         * gst/gstregistryxml.c: (gst_registry_save_escaped):
7551           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7552           since that can lead to random memory corruptions and crashes
7553           (may or may not be related to #383244, #386711, and #386711).
7554
7555 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7556
7557         * tests/check/.cvsignore:
7558         * tests/check/Makefile.am:
7559           sync .cvsignome and CLEANFILES
7560
7561 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7562
7563         * tests/check/Makefile.am:
7564           fix distcheck
7565
7566 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7567
7568         * docs/design/part-states.txt:
7569           two tiny additional comments
7570         
7571         * gst/gststructure.c:
7572           doc fixing
7573
7574         * tests/check/Makefile.am:
7575         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7576         (GST_START_TEST):
7577           disable test for now, unless it gets fixed
7578
7579 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7580
7581         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7582         (GST_START_TEST):
7583           fix race in underrun test
7584
7585 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7586
7587         * tests/check/elements/.cvsignore:
7588           ignore more
7589
7590         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7591         (GST_START_TEST):
7592           try to narrow test failure
7593
7594 2006-12-21  David Schleef  <ds@schleef.org>
7595
7596         * plugins/elements/gstfakesrc.c:
7597           Use g_random_int_range(), since it produces better random
7598           numbers in a range than almost-correct floating point code.
7599
7600 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7601
7602         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7603         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7604         (gst_check_teardown_sink_pad):
7605           do not automatically (de)activate pads
7606
7607         * tests/check/Makefile.am:
7608         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7609         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7610           add new, yet simple tests for queue
7611
7612         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7613         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7614         * tests/check/elements/filesrc.c: (cleanup_filesrc),
7615         (GST_START_TEST):
7616         * tests/check/elements/identity.c: (cleanup_identity):
7617           consistent pad (de)activation
7618
7619 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
7620
7621         Patch by: Sebastian Dröge  <slomo ubuntu com>
7622
7623         * libs/gst/base/gstcollectpads.c:
7624           Fix two doc typos (#387866).
7625
7626 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * docs/manual/advanced-dparams.xml:
7629           Fix typo (g_object_control_properties() doesn't exist).
7630
7631 2006-12-19  Edward Hervey  <edward@fluendo.com>
7632
7633         * gst/gstsegment.c: (gst_segment_set_seek):
7634         Fine tune the cases where the segment start/stop values are really
7635         updated.
7636         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7637         Add tests for the return values of gst_segment_set_seek().
7638
7639 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * gst/gst.c:
7642           Docs typo fix.
7643
7644         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7645         (gst_queue_init):
7646           Fix incorrect documentation and flesh it out a bit more.
7647           Set default values for the max properties on the GParamSpec as well,
7648           so it shows up correctly in gst-inspect.
7649
7650 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
7651
7652         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7653           Correct docs of queue, add more detail and crosslink it more.
7654
7655 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7656
7657         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7658           Print additional debug info when the stream isn't perfectly
7659           timestamped; don't try to use invalid durations.
7660
7661 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7662
7663         * docs/design/Makefile.am:
7664           Dist new design docs.
7665
7666 2006-12-16  Wim Taymans  <wim@fluendo.com>
7667
7668         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7669
7670         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7671         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7672         (gst_collect_pads_stop), (gst_collect_pads_event),
7673         (gst_collect_pads_chain):
7674         * libs/gst/base/gstcollectpads.h:
7675         Add refcounting to the collectpads data so we can track when it's safe
7676         to free the data. Fixes #383382.
7677
7678 2006-12-15  Wim Taymans  <wim@fluendo.com>
7679
7680         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7681         (gst_collect_pads_remove_pad):
7682         Automatically activate/deactivate pads when they are added to a
7683         started/stoped collectpads.
7684
7685 2006-12-15  Wim Taymans  <wim@fluendo.com>
7686
7687         * gst/gstelement.c: (gst_element_add_pad):
7688         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7689         * gst/gstpad.c: (gst_pad_init):
7690         Set pads to FLUSHING when they are created. Check, warn and fix when a
7691         demuxer adds an inactive pad to itself when running. Fixes #339326.
7692
7693 2006-12-15  Wim Taymans  <wim@fluendo.com>
7694
7695         * gst/gstelement.c: (gst_element_class_init),
7696         (gst_element_default_send_event), (gst_element_send_event),
7697         (gst_element_default_query), (gst_element_query):
7698         Expose default element send_event and query handling as vmethods that
7699         subclasses can chain up to.
7700
7701 2006-12-15  Wim Taymans  <wim@fluendo.com>
7702
7703         * gst/gstelement.c: (gst_element_set_state_func):
7704         Small documentation fixes.
7705
7706 2006-12-15  Wim Taymans  <wim@fluendo.com>
7707
7708         * docs/design/draft-latency.txt:
7709         Checked in draft for handling latency in pipelines.
7710
7711 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7712
7713         * Makefile.am:
7714         * gstreamer.doap:
7715         * gstreamer.spec.in:
7716           adding .doap file
7717
7718 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
7719
7720         * gst/gst.c: (init_pre), (init_post):
7721           init_pre() and init_post() might be called via our GOptionGroup or
7722           from gst_init(), and we should skip both of them if we've already
7723           been initialised, otherwise we will init some things twice or add
7724           two default log functions.
7725
7726 2006-12-13  Edward Hervey  <edward@fluendo.com>
7727
7728         * docs/manual/basics-bus.xml:
7729         No, gst_main_loop does not exist. Its g_main_loop.
7730         Discovered by somebody who abused the copy-paste technique of coding :)
7731
7732 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
7733
7734         * gst/gstghostpad.c:
7735           Log ghostpad debug stuff to the GST_PADS category as well rather
7736           than just to the default category.
7737
7738 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7739
7740         * configure.ac:
7741         * gst/gst.c: (init_pre):
7742           Add some basic system details such as OS and architecture
7743           to the debug output if possible, courtesy of uname().
7744
7745 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7746
7747         * docs/gst/running.xml:
7748           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7749           environment variables.
7750
7751 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7752
7753         * tests/check/gst/gstbin.c: (GST_START_TEST):
7754         It is acceptable to have a refcount of 2 or 3 at this point in the
7755         test, because the pipeline might be just posting its state_change
7756         message. The next line then waits for that message to appear using
7757         bus_poll, so that should be fine too.
7758
7759 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7760
7761         * gst/gst.c: (ensure_current_registry_forking):
7762         Ignore EINTR when reading from the child registry pipe.
7763         Explicitly ignore the return value from close, since it makes no
7764         difference.
7765
7766         * gst/gstminiobject.c: (gst_mini_object_ref),
7767         (gst_mini_object_unref):
7768         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7769
7770         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7771         When removing cached plugins, remove their features too, so they're
7772         not visible after they've disappeared.
7773
7774         * gst/gstutils.c: (prepare_link_maybe_ghosting):
7775         In the unlikely case that we are linking pads with no parents, don't
7776         crash trying to get the non-existent parent bin.
7777
7778         * gst/parse/grammar.y:
7779         Output debug in the PIPELINE category
7780
7781 2005-03-08  Wim Taymans  <wim@fluendo.com>
7782
7783         Patch by: René Stadler <mail at renestadler dot de>
7784
7785         * gst/gstclock.c: (gst_clock_new_periodic_id):
7786         Reject invalid clock times for interval of periodic ids.
7787         Fixes ##383506.
7788
7789 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7790
7791         * gst/gstelementfactory.c: (gst_element_factory_create):
7792         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7793         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7794         * tools/gst-inspect.c: (print_element_info):
7795         Fix refcounting of gst_plugin_feature_load to match the docs. 
7796         Fixes: #380129
7797
7798 2006-12-07  Wim Taymans  <wim@fluendo.com>
7799
7800         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7801         (gst_base_sink_get_position):
7802         Improve debugging of events.
7803
7804 2006-12-07  Wim Taymans  <wim@fluendo.com>
7805
7806         Patch by: René Stadler <mail at renestadler dot de>
7807
7808         * gst/gstclock.c: (gst_clock_id_wait):
7809         Make period ids add the interval to the origial requested time instead
7810         of the possibly updated time which can be wrong when there are multiple
7811         waiters for the same id. Fixes #382592.
7812
7813         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7814         (gst_system_clock_id_wait_jitter_unlocked),
7815         (gst_system_clock_id_wait_jitter):
7816         Fix restart in the async notify thread when an async entry is added to
7817         the front of the list. Fixes #381492. 
7818
7819         * tests/check/gst/gstsystemclock.c: (store_callback),
7820         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7821         Added test for multiple async waits.
7822         Added test for async wait order.
7823
7824 2006-12-07  Wim Taymans  <wim@fluendo.com>
7825
7826         * gst/gstbin.c: (gst_bin_query):
7827         Add some more docs about the POSITION query.
7828
7829 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7830
7831         * configure.ac:
7832         Bump version nano - back to CVS.
7833
7834 === release 0.10.11 ===
7835
7836 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7837
7838         * configure.ac:
7839           releasing 0.10.11, "Love never runs on time"
7840
7841 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7842
7843         * win32/common/libgstbase.def:
7844         * win32/common/libgstreamer.def:
7845         * win32/vs8/libgstbase.vcproj:
7846         * win32/vs8/libgstcoreelements.vcproj:
7847         * win32/vs8/libgstreamer.vcproj:
7848         Fix compilation on win32 under VS8
7849         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7850         Partially fixes #381175
7851
7852 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7853
7854         * gst/gstvalue.c: (gst_value_compare_fraction):
7855         If someone is foolish enough to compare 2 fractions with denominator =
7856         0, return UNORDERED rather than aborting.
7857
7858 2006-11-28  Edward Hervey  <edward@fluendo.com>
7859
7860         * libs/gst/base/Makefile.am:
7861         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7862         (gst_data_queue_base_init), (gst_data_queue_class_init),
7863         (gst_data_queue_init), (gst_data_queue_new),
7864         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7865         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7866         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7867         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7868         (gst_data_queue_set_flushing), (gst_data_queue_push),
7869         (gst_data_queue_pop), (gst_data_queue_drop_head),
7870         (gst_data_queue_set_property), (gst_data_queue_get_property):
7871         * libs/gst/base/gstdataqueue.h:
7872         New GstDataQueue object for threadsafe queueing. Most useful for
7873         elements that need some queueing functionnality.
7874         * docs/libs/gstreamer-libs-docs.sgml:
7875         * docs/libs/gstreamer-libs-sections.txt:
7876         Insert documentation for GstDataQueue
7877         * plugins/elements/Makefile.am:
7878         * plugins/elements/gstelements.c:
7879         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7880         (gst_multi_queue_class_init), (gst_multi_queue_init),
7881         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7882         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7883         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7884         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7885         (gst_multi_queue_loop), (gst_multi_queue_chain),
7886         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7887         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7888         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7889         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7890         (wake_up_next_non_linked), (compute_next_non_linked),
7891         (single_queue_overrun_cb), (single_queue_underrun_cb),
7892         (single_queue_check_full), (gst_single_queue_new):
7893         * plugins/elements/gstmultiqueue.h:
7894         New multiqueue element, using GstDataQueue. Used for queuing multiple
7895         streams.
7896         Closes #344639 and #347785
7897
7898 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7899
7900         * docs/pwg/advanced-types.xml:
7901           add more missing type details
7902
7903         * tools/gst-run.c: (main):
7904           remove unused variable
7905
7906 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7907
7908         * docs/libs/Makefile.am:
7909         * docs/libs/gstreamer-libs.types:
7910           add types of base classes to enable gobject specific stuff in the docs
7911
7912         * docs/random/ensonic/embedded.txt:
7913           more ideas about isolating platform specific things
7914
7915 2006-11-20  Wim Taymans  <wim@fluendo.com>
7916
7917         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7918
7919         * libs/gst/check/gstcheck.h:
7920         Fix compilation and running against 0.9.4. Fixes #377332.
7921
7922 2006-11-20  Wim Taymans  <wim@fluendo.com>
7923
7924         * gst/gstsegment.c: (gst_segment_set_seek),
7925         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7926         (gst_segment_to_running_time):
7927         Fix boundary checking in to_running_time() and to_stream_time().
7928         Fixes #377183.
7929
7930         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7931         stream and running time can now be calculated for the complete
7932         clipped segment.
7933
7934 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7935
7936         * gst/gstpad.c: (gst_pad_push_event):
7937           Can't access event structure after giving away ownership of
7938           the event.
7939
7940 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7941
7942         * docs/random/ensonic/embedded.txt:
7943         * docs/random/ensonic/profiling.txt:
7944         * docs/random/ensonic/receipies.txt:
7945           more thinking
7946
7947 2006-11-13  Wim Taymans  <wim@fluendo.com>
7948
7949         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7950
7951         * gst/gstpad.c:
7952         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7953
7954 2006-11-13  Wim Taymans  <wim@fluendo.com>
7955
7956         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7957
7958         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7959         Store new length in segment duration so we don't keep on calling the
7960         potentially expensize get_size() call. Fixes #370865.
7961
7962 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7963
7964         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7965
7966         * win32/common/libgstreamer.def:
7967           Add two missing symbols (#366492).
7968
7969 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7970
7971         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7972         (gst_adapter_take_buffer):
7973         Fix format string to use all its arguments.
7974         Remove useless >= check on a guint
7975
7976 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7977
7978         * tests/examples/adapter/.cvsignore:
7979         Ignore build file as commanded by the build-bot
7980
7981 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7982
7983         * tests/examples/adapter/Makefile.am:
7984         * tests/examples/adapter/adapter_test.c: (run_test_take),
7985         (run_test_take_buffer), (run_tests), (main):
7986
7987         Add new files from the previous commit
7988
7989 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7990
7991         * Makefile.am:
7992         * configure.ac:
7993         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7994         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7995         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7996         * libs/gst/base/gstadapter.h:
7997         * tests/check/libs/adapter.c: (create_and_fill_adapter),
7998         (GST_START_TEST), (gst_adapter_suite):
7999         * tests/examples/Makefile.am:
8000         Do some optimisation work in GstAdapter to avoid copies in more cases.
8001         It could still do slightly better by merging buffers when
8002         gst_buffer_is_span_fast is true, but is already faster. 
8003
8004         Also, avoid traversing a single-linked list to append each incoming 
8005         buffer inside the adapter.
8006
8007         Add simple test app that times the adapter behaviour in different
8008         situations, and extend the unit test to check that bytes enter and
8009         exit the adapter in their original order.
8010
8011 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * docs/random/draft-missing-plugins.txt:
8014           Update: use element message instead of adding a new message
8015           type to the core; don't provide GStreamer API to initiate the
8016           plugin download, just provide API to compose the strings needed
8017           and let an external libgimmestuff handle the rest.
8018
8019 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
8020
8021         * tools/gst-inspect.c: (print_element_properties_info):
8022         Print a string instead of 'unknown type' for GValueArray properties
8023
8024 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
8025
8026         * docs/random/draft-missing-plugins.txt:
8027         More small fixes.
8028
8029 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8030
8031         * tests/examples/typefind/typefind.c: (type_found), (main):
8032           Make typefind element example work again (#371894); add a
8033           license header.
8034
8035 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8036
8037         * docs/random/draft-missing-plugins.txt:
8038           Commit initial draft about how to deal with missing plugins,
8039           needs work (API too).
8040
8041 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
8042
8043         * docs/pwg/advanced-types.xml:
8044           documents the new caps elements (see #363118)
8045
8046 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8047
8048         * gst/gstplugin.c: (gst_plugin_load_file):
8049         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
8050         (gst_file_src_map_region), (gst_file_src_start):
8051         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
8052         (gst_file_index_commit):
8053           Use g_strerror() instead of strerror() - we want UTF-8.
8054
8055 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         Patch by: Peter Kjellerstedt <pkj at axis com>
8058
8059         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8060           Another printf fix (#371493).
8061
8062 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8063
8064         * tests/check/gst/gsttag.c:
8065           relicence (okay with author=company)
8066
8067 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8068
8069         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8070         (gst_pad_push_event):
8071           Enhance debug and improve docs
8072         
8073         * gst/gsturi.c:
8074           Fix docs
8075
8076 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8077
8078         * docs/random/ensonic/distributed.txt:
8079         * docs/random/ensonic/profiling.txt:
8080           more ideas
8081
8082 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8083
8084         * docs/gst/gstreamer-sections.txt:
8085           add new API and fix the build
8086           
8087         * gst/gstbin.c: (gst_bin_recalc_state):
8088         * gst/gstelement.c: (gst_element_message_full),
8089         (gst_element_get_state_func), (gst_element_set_state_func):
8090           use new API and improve logging
8091         
8092         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8093         * gst/gstutils.h:
8094           API: add function to get StateChangereturn names to improve logs 
8095
8096 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
8097
8098         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8099           I'm considering shooting the next person to put strerror stuff
8100           in the translateable part of the message.
8101
8102 2006-11-03  Wim Taymans  <wim@fluendo.com>
8103
8104         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8105         Get the type and printf conversion specifiers right.
8106
8107 2006-11-03  Wim Taymans  <wim@fluendo.com>
8108
8109         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8110
8111         * gst/gstpad.c: (gst_pad_init), (pre_activate),
8112         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
8113         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
8114         Some small cleanups. Improve debugging.
8115         * gst/gstpad.h:
8116         Signal all waiting threads with a broadcast instead of just one.
8117         Fixes #369942.
8118
8119 2006-11-03  Wim Taymans  <wim@fluendo.com>
8120
8121         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
8122         (gst_fd_src_create):
8123         Add some debugging. 
8124         Only update fd when it's different from the old.
8125
8126 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8127
8128         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
8129           Printf fixes for PPC/OSX, take two (#369366).
8130
8131 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8132
8133         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
8134
8135         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8136         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8137         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
8138           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
8139           don't cast to long long for portability reasons, but use
8140           GLib's types instead.
8141
8142 2006-10-30  Michael Smith  <msmith@fluendo.com>
8143
8144         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8145           Get the arguments to lseek() the right way around.
8146           Fixes 367677.
8147
8148 2006-10-30  Wim Taymans  <wim@fluendo.com>
8149
8150         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
8151
8152         * gst/gstinfo.h:
8153         _declspec should be __declspec (two underscores, not one). Fixes 366572.
8154
8155 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         Patch by: Kjartan Maraas  <kmaraas at gnome org>
8158
8159         * docs/design/part-MT-refcounting.txt:
8160         * docs/random/wtay/capsnego2-docs:
8161         * gst/gstclock.c:
8162         * gst/gstxml.c:
8163           Typo fixes (#366212).
8164
8165 2006-10-28  Wim Taymans  <wim@fluendo.com>
8166
8167         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8168
8169         * gst/gst.c:
8170         * win32/common/libgstbase.def:
8171         * win32/common/libgstreamer.def:
8172         * win32/vs8/libgstbase.vcproj:
8173         * win32/vs8/libgstcontroller.vcproj:
8174         Add needed entries in .def files.
8175         Use HAVE_UNISTD_H.
8176         Rearrange def files in vs8 solutions. Fixes #366286.
8177
8178 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8179
8180         * win32/common/gstconfig.h:
8181           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
8182           hand-made win32 gstconfig.h. Fixes #366321.
8183
8184 2006-10-27  Wim Taymans  <wim@fluendo.com>
8185
8186         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
8187         (gst_ghost_pad_new_full):
8188         Make acceptcaps return TRUE when we don't have a target, just like
8189         setcaps does.
8190
8191 2006-10-27  Wim Taymans  <wim@fluendo.com>
8192
8193         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8194         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
8195
8196 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
8197
8198         * gst/gststructure.c: (gst_structure_id_set_value):
8199           If someone tries to set a non-UTF8 string field on a structure,
8200           don't just print a warning, but also ignore the request and do
8201           not change/add that field to the structure.
8202
8203         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8204           Test for the above.
8205
8206 2006-10-25  David Schleef  <ds@schleef.org>
8207
8208         * gst/gstinfo.c:
8209           g_hash_table_insert() needs a cast to a non-const pointer duh.
8210
8211 2006-10-25  David Schleef  <ds@schleef.org>
8212
8213         * gst/gstinfo.c:
8214         * gst/gstinfo.h:
8215           Change name parameter of _gst_debug_register_funcptr to const
8216           to reflect the constness of its use in the function as well
8217           as to quiet a gcc warning.
8218
8219 2006-10-25  Edward Hervey  <edward@fluendo.com>
8220
8221         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8222         Don't push the buffer if it's empty.
8223         Closes #363095
8224
8225 2006-10-24  Wim Taymans  <wim@fluendo.com>
8226
8227         * gst/gstevent.h:
8228         Add small comment.
8229
8230         * libs/gst/base/gstbasetransform.c:
8231         (gst_base_transform_sink_eventfunc):
8232         Debug segment values *after* updating them as this is more
8233         interesting.
8234
8235 2006-10-23  Wim Taymans  <wim@fluendo.com>
8236
8237         * docs/design/part-events.txt:
8238         Update some docs.
8239
8240         * docs/design/part-block.txt:
8241         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8242         (gst_pad_push_event):
8243         Revert BLOCKING patch, it tries to be smart without really having a
8244         clear idea what or how. So, now we discard all FLUSHING events again on
8245         a blocking pad. Should fix gnonlin again.
8246
8247 2006-10-23  Wim Taymans  <wim@fluendo.com>
8248
8249         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8250
8251         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8252         (gst_base_src_start), (gst_base_src_activate_push):
8253         Make sure size is always initialized. Fixes #364388.
8254
8255 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
8256
8257         * docs/random/ensonic/distributed.txt:
8258           add some ideas about doing distributed processing
8259
8260         * docs/random/ensonic/profiling.txt:
8261           get_rusage look promising
8262
8263 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8264
8265         * docs/manual/basics-helloworld.xml:
8266           Add a cast in example to fix compile warning
8267
8268 2006-10-18  Wim Taymans  <wim@fluendo.com>
8269
8270         * gst/gstsegment.c: (gst_segment_set_last_stop),
8271         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8272         Relax arg checking again, -1 is allowed.
8273
8274 2006-10-18  Wim Taymans  <wim@fluendo.com>
8275
8276         * gst/gstsegment.c: (gst_segment_set_last_stop),
8277         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8278         _set_last_stop() must be with a value != -1
8279         A _TYPE_SET to -1 means seek to 0.
8280         Calc last_stop correctly for negative rates.
8281         Make sure we work with positive durations when updating a segment.
8282
8283 2006-10-18  Wim Taymans  <wim@fluendo.com>
8284
8285         * docs/design/part-live-source.txt:
8286         * gst/gstclock.h:
8287         Small docs fixes.
8288
8289 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
8290
8291         * gst/gstbuffer.h:
8292           Add an explicit cast to GstBuffer** to keep old code that added an
8293           explicit cast to GstMiniObject** for gst_mini_object_replace()
8294           compiling without warning.
8295
8296 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8297
8298         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8299           check for validity of dates
8300
8301 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8302
8303         * docs/gst/gstreamer-sections.txt:
8304           Forgot this one, makes gtk-doc shut up.
8305
8306 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8307
8308         Patch by: Peter Kjellerstedt <pkj at axis com>
8309
8310         * gst/gstobject.h:
8311           Don't define xmlNodePtr to gpointer if the core was built with
8312           --disable-loadsave and --disable-registry, this will break
8313           applications that want to use libxml2 but are buildling against a
8314           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8315           instead so we don't have to mess with the libxml2 namespace
8316           (#361675).
8317
8318 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8319
8320         * gst/gstbuffer.h:
8321           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8322           type-punned pointer warnings.
8323
8324 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
8325
8326         * gst/gstelement.h:
8327           Add casts to the correct return type to state <=> state transition
8328           macros.
8329
8330 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
8331
8332         * docs/design/part-live-source.txt:
8333           describe howto handle latency
8334         
8335         * docs/random/ensonic/profiling.txt:
8336           more ideas
8337
8338         * tools/gst-plot-timeline.py:
8339           fix log parsing for solaris, remove unused function
8340
8341 2006-10-16  Wim Taymans  <wim@fluendo.com>
8342
8343         * docs/design/part-trickmodes.txt:
8344         * gst/gstevent.c:
8345         Update some docs regarding reverse playback.
8346
8347 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         Patch by: Marcus Granado  <mrc dot gran at gmail com>
8350
8351         * win32/vs8/grammar.vcproj:
8352           Error out with a warning if glib-genmarshal.exe is not in path,
8353           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8354
8355 2006-10-13  Wim Taymans  <wim@fluendo.com>
8356
8357         * gst/gstsegment.c: (gst_segment_set_seek):
8358         When seeking to stop -1, set last_stop (current position) to the
8359         duration of the segment.
8360
8361 2006-10-13  Wim Taymans  <wim@fluendo.com>
8362
8363         * gst/gstelement.h:
8364         Clarify _NO_PREROLL a bit more.
8365
8366         * gst/gstevent.c:
8367         Fix docs.
8368
8369         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8370         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8371         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8372         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8373         due to wrong locking order. Fixes #361769.
8374         Remove some redundant/misplaced checks in pad_block.
8375
8376         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8377         For negative rates, count backwards from the duration.
8378
8379 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * gst/gsterror.c: (_gst_library_errors_init):
8382           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8383           up with something better).
8384
8385 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8386
8387         * win32/vs6/libgstreamer.dsp:
8388         * win32/vs7/libgstreamer.vcproj:
8389         * win32/vs8/libgstreamer.vcproj:
8390           Don't reference glib-compat.c which is currently not used and not
8391           disted; add gstquark.c which was recently added. Fixes #361730.
8392
8393 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * win32/common/libgstbase.def:
8396         * win32/common/libgstcontroller.def:
8397         * win32/common/libgstreamer.def:
8398           Add gst_caps_merge() and a bunch of other recently-added functions.
8399           Fixes #361732.
8400
8401 2006-10-11  Wim Taymans  <wim@fluendo.com>
8402
8403         * docs/plugins/gstreamer-plugins.args:
8404         * docs/plugins/inspect/plugin-coreelements.xml:
8405         * docs/plugins/inspect/plugin-coreindexers.xml:
8406         Update element args.
8407
8408         * gst/gstsystemclock.c:
8409         Small comment update.
8410
8411         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8412         (gst_tee_request_new_pad), (gst_tee_release_pad),
8413         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8414         (gst_tee_sink_activate_pull):
8415         * plugins/elements/gsttee.h:
8416         Some tee loving:
8417         Add default property defines.
8418         Implement release pad function.
8419         Give properties better blubs etc.
8420         Activate pads before adding them to a running tee.
8421         Do simple buffer_alloc on the first requested pad.
8422         Post error when activation fails.
8423
8424 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8425
8426         * gst/gst.c: (ensure_current_registry_forking):
8427           Check return value of write() to make compiler happy.
8428
8429 2006-10-11  Wim Taymans  <wim@fluendo.com>
8430
8431         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8432
8433         * plugins/elements/gstqueue.c: (gst_queue_chain):
8434         Recheck queue filledness after signalling the overrun when we're about
8435         to leak downstream because we released the lock when emitting the signal
8436         and the queue could be empty again. Fixes #352345.
8437
8438 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8439
8440         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8441           Fix refcounting here too, just like we did for _new_valist() a few
8442           days ago (#357180) (thanks to René Stadler). Also remove all those
8443           'Since: 0.9' from the gtk-doc blobs.
8444
8445         * tests/check/libs/controller.c: (controller_refcount_new_list),
8446         (gst_controller_suite):
8447           Unit test for the above.
8448
8449 2006-10-10  Wim Taymans  <wim@fluendo.com>
8450
8451         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8452
8453         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8454         (gst_pad_save_thyself):
8455         Update some docs.
8456         Write pad direction in XML output. Fixes #345496.
8457
8458 2006-10-10  Wim Taymans  <wim@fluendo.com>
8459
8460         Patch by: René Stadler <mail at renestadler dot de>
8461
8462         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8463         (gst_controller_new_list), (_gst_controller_dispose),
8464         (_gst_controller_finalize), (_gst_controller_class_init):
8465         Take ref to controlled object so that it cannot disappear. 
8466         Fixes #357432.
8467
8468 2006-10-10  Wim Taymans  <wim@fluendo.com>
8469
8470         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8471         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8472         (gst_check_teardown_sink_pad):
8473         Activate/deactivate pads in setup/teardown respectively.
8474
8475 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8476
8477         Patch by: Josep Torra Valles <josep@fluendo.com>
8478
8479         * gst/Makefile.am:
8480         Cast values when making gstenumtypes.h.  This pacifies Forte
8481         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8482         in the enumeration.
8483
8484 2006-10-09  Wim Taymans  <wim@fluendo.com>
8485
8486         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8487         Rename some more @cur to @start to fix docs. 
8488
8489         * gst/gstsegment.c: (gst_segment_set_seek):
8490         Fix typo.
8491         time and start must always stay in sync as defined in design doc.
8492
8493         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8494         Rename param to fix docs.
8495
8496         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8497         Check that start and time are in sync.
8498
8499         * tests/check/pipelines/parse-launch.c:
8500         (gst_parse_test_element_change_state):
8501         Activate pad before adding to the element.
8502
8503 2006-10-09  Wim Taymans  <wim@fluendo.com>
8504
8505         * docs/design/part-qos.txt:
8506         Fix typo.
8507
8508         * gst/gstevent.c:
8509         * gst/gstevent.h:
8510         Update seek event docs regarding negative rates.
8511         Rename @cur to @start. 
8512
8513         * gst/gstsegment.c: (gst_segment_set_seek):
8514         * gst/gstsegment.h:
8515         Update set_seek docs regarding negative rates.
8516         Correctly update last_stop to @stop when dealing with negative
8517         rates.
8518         Rename @cur to @start. 
8519
8520         * tests/check/gst/gstpad.c: (GST_START_TEST):
8521         Activate pads before trying to use them.
8522
8523         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8524         (gst_segment_suite):
8525         Add simple check for segments and negative rates.
8526
8527 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
8528
8529         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8530         * gst/gsttaglist.h:
8531         * docs/gst/gstreamer-sections.txt:
8532           API: add gst_tag_list_is_empty() (#360467).
8533
8534         * tests/check/gst/gsttag.c: (GST_START_TEST):
8535           And a test case.
8536
8537 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8538
8539         * gst/gstmessage.h:
8540         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8541         a value that doesn't fit on enumeration.
8542
8543 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8544
8545         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8546         Remove local debugging system and use Gstreamer's instead.
8547
8548 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8549
8550         Patch by: Josep Torra Valles <josep@fluendo.com>
8551
8552         * common/m4/gst-error.m4:
8553         Disable warning of statement not reached on Forte.
8554         * gst/gstmessage.h:
8555         Fix warning on Forte (value doesn't fit on enumeration).
8556         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8557         Fix warning on Forte (value doesn't fit on enumeration).
8558         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8559         DEBUG macro says it takes minimum of 2 args and so Forte
8560         complains about the use with just 1 arg.
8561         * plugins/elements/gstfdsink.c:
8562         * plugins/elements/gstfdsrc.c:
8563         * plugins/elements/gstfilesink.c:
8564         * plugins/elements/gstfilesrc.c:
8565         Use correct return type for the uri handler implementations.
8566
8567         All these fix warnings in Forte.  Fixes bug #360860.
8568
8569 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
8570
8571         * gst/gstelement.h:
8572           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8573           format string, so don't use G_GNUC_PRINTF for those versions.
8574
8575 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8576
8577         * gst/gsttaglist.c: (gst_is_tag_list):
8578         * gst/gsttaglist.h:
8579           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8580
8581         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8582           Small test for the above.
8583
8584 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8585
8586         * gst/gsttaglist.h:
8587           Less tabs, more spaces.
8588
8589 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
8590
8591         * gst/gstinfo.h:
8592           Those two function declarations do actually belong there, revert
8593           commit from yesterday that turned them intro macros.
8594
8595 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8596
8597         Patch by: Josep Torra Valles <josep@fluendo.com>
8598
8599         * gst/gst.c: (gst_init_get_option_group):
8600         Fix empty declaration and type mismatch.
8601         * gst/gstbin.c: (gst_bin_change_state_func):
8602         Fix type mismatch.
8603         * gst/gstelement.c: (gst_element_continue_state),
8604         (gst_element_set_state_func), (gst_element_change_state),
8605         (gst_element_change_state_func):
8606         Fix type mismatches.
8607         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8608         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8609         Cast as appropriate.
8610         * gst/gstobject.c: (gst_class_signal_connect):
8611         Cast as appropriate.  The function pointer parameter really
8612         has the wrong type but would break API if we change it.
8613         * gst/gstquery.c:
8614         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8615         order of including string.h.
8616         * gst/gstutils.c: (gst_element_state_get_name):
8617         Remove unreachable line.
8618         * gst/gstxml.c: (gst_xml_parse_doc):
8619         Fix type mismatch.
8620         All these caught by Forte.
8621
8622 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8623
8624         Patch by: Josep Torra Valles <josep@fluendo.com>
8625
8626         * common/m4/gst-error.m4:
8627         Fixed bug #360151.
8628         We need to disable warnings on Forte for empty declarations
8629         due to gst-indent adding ;s to lines that just use macros
8630         where the macro actually doesn't need a ; at end to end
8631         statement.
8632
8633 2006-10-06  Wim Taymans  <wim@fluendo.com>
8634
8635         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8636         (gst_file_sink_close_file), (gst_file_sink_event),
8637         (gst_file_sink_render):
8638         Add some FIXME for the NEWSEGMENT handling.
8639
8640 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8641
8642         * gst/parse/grammar.y:
8643         Remove static function gst_parse_element_lock as all it does
8644         is return.  Looks like cruft from 0.8.
8645
8646 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8647
8648         Patch by: Josep Torra Valles <josep@fluendo.com>
8649
8650         * common/m4/gst-error.m4:
8651         * configure.ac:
8652         * libs/gst/net/Makefile.am:
8653         Fix a compilation issue with Forte on Solaris.  inet_aton is in
8654         libresolv.
8655
8656 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8657
8658         * gst/gstpad.c: (pre_activate):
8659         * gst/gstregistry.c: (gst_registry_scan_path_level):
8660         * gst/gstregistryxml.c: (load_plugin):
8661         * libs/gst/controller/gstcontroller.c:
8662         (gst_controlled_property_set_interpolation_mode):
8663         * libs/gst/dataprotocol/dataprotocol.c:
8664         (gst_dp_packet_from_event_1_0):
8665         * libs/gst/net/gstnetclientclock.c:
8666         (gst_net_client_clock_observe_times):
8667         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8668           Printf fixes.
8669
8670 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8671
8672         * configure.ac:
8673         * docs/gst/gstreamer-sections.txt:
8674         * gst/gstconfig.h.in:
8675         * gst/gstelement.h:
8676         * gst/gstinfo.h:
8677           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8678           whether we can use G_GNUC_PRINTF in other header files and at
8679           least check the printf format/arguments of debug messages and
8680           GST_ELEMENT_ERROR messages when the printf extension is not
8681           being used.
8682           Replace more tabs with spaces in gstinfo.h and remove two spurious
8683           function declarations in GST_DISABLE_DEBUG part with macros.
8684
8685 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8688           More docs for the sync-message signal (mention that it is not
8689           emitted by default); log message structures of messages posted on
8690           the bus as well.
8691
8692 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
8693
8694         * gst/gst.c: (ensure_current_registry_forking):
8695         Use a pipe pair to receive status results from the forked child, and
8696         ignore the result from waitpid. Fixes #355499
8697
8698 2006-10-02  Wim Taymans  <wim@fluendo.com>
8699
8700         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8701         (gst_ghost_pad_suite):
8702         Fix leak in check.
8703
8704 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8705
8706         * gst/gstpad.c:
8707           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8708
8709 2006-10-02  Edward Hervey  <edward@fluendo.com>
8710
8711         * docs/design/part-block.txt:
8712         Further explain the use of flushing on blocked pads.
8713         * docs/gst/gstreamer-sections.txt:
8714         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8715         (gst_pad_push_event):
8716         * gst/gstpad.h:
8717         Added new GstPadFlag : GST_PAD_BLOCKING.
8718         Adds the notion of pads really blocking, which enables to properly
8719         handle FLUSH_START/FLUSH_STOP events on blocked pads.
8720         Fixes #358999
8721         API: gst_pad_is_blocking()
8722         API: GST_PAD_IS_BLOCKING() macro
8723         API: GST_PAD_BLOCKING GstPadFlag
8724         
8725 2006-10-02  Wim Taymans  <wim@fluendo.com>
8726
8727         Patch by: mrcgran <mrc.gran at gmail dot com>
8728
8729         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8730         Filter the proxied caps against the padtemplate if we have one.
8731
8732         * gst/gstquery.c: (gst_query_new_segment):
8733         Add include for gstinfo.h so that compilation with
8734         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8735
8736 2006-10-02  Wim Taymans  <wim@fluendo.com>
8737
8738         Patch by: Alessandro Decina  <alessandro at nnva org>
8739
8740         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8741         (gst_file_sink_set_location), (gst_file_sink_open_file),
8742         (gst_file_sink_close_file), (gst_file_sink_event),
8743         (gst_file_sink_render):
8744         Set file to NULL when closing filesink so that we can set a new filename
8745         in READY. Fixes #358613.
8746
8747 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8748
8749         Patch by: Alessandro Decina  <alessandro at nnva org>
8750
8751         * gst/gstevent.c: (_gst_event_copy):
8752           Fix gst_mini_object_make_writable() and gst_event_copy() for events
8753           with event structures by setting the parent refcount address of the
8754           copied structure to the address of the refcount member of the newly
8755           copied event rather than the address of the refcount member of the
8756           original event. Fixes #358737.
8757
8758         * tests/check/gst/gstevent.c: (GST_START_TEST):
8759           Unit test for the above.
8760
8761 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
8762
8763         * docs/design/Makefile.am:
8764           Dist some more files.
8765
8766 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8767
8768         * tests/check/libs/controller.c: (GST_START_TEST),
8769         (gst_controller_suite):
8770           Add test for the previous fix; add some more tests
8771           for correct refcounting behaviour; fix a few leaks
8772           in test cases; call gst_controller_init() at start
8773           of all tests.
8774
8775 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8778         (gst_controller_set_from_list):
8779           Don't g_return_val_if_fail() on timed values with invalid timestamps
8780           inside a critical section without unlocking the mutex. Spotted by
8781           René Stadler. (#357617)
8782           Also, fix up refcounting properly: when returning an existing
8783           controller, we should increase the reference only once and not
8784           once per property and when trying to control a property again
8785           we should also increase the refcount.
8786
8787 2006-09-29  Wim Taymans  <wim@fluendo.com>
8788
8789         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8790         * libs/gst/net/gstnettimeprovider.c:
8791         (gst_net_time_provider_thread):
8792         Stop reading commands when EOF as well.
8793
8794         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8795         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8796         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8797         Unify description of the dump property.
8798
8799 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8800
8801         * tests/examples/manual/.cvsignore:
8802         OK, so it's actually cvsignore that needs changing. Stop laughing.
8803
8804 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8805
8806         * tests/examples/manual/Makefile.am:
8807         Gah, declare vars *before* using them
8808
8809 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8810
8811         * gst/gst.c: (init_pre), (scan_and_update_registry),
8812         (ensure_current_registry_nonforking),
8813         (ensure_current_registry_forking), (ensure_current_registry),
8814         (init_post), (gst_debug_help), (gst_deinit):
8815         * gst/gst_private.h:
8816         * gst/gstregistry.c: (gst_registry_finalize),
8817         (gst_registry_remove_features_for_plugin_unlocked),
8818         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8819         (gst_registry_scan_path),
8820         (_priv_gst_registry_remove_cache_plugins),
8821         (_priv_gst_registry_cleanup):
8822         * gst/gstregistry.h:
8823         Re-commit the registry changes, along with an extra fix:
8824           When a cached plugin is encountered at a different file path,
8825           update the stored path in the registry cache so that the parent
8826           process knows where it actually is now when it re-reads the registry
8827           cache. Fixes the thing that broke distcheck with the previous commit.
8828
8829         * tests/check/Makefile.am:
8830         Clean up files named 'core' too when running make clean.
8831
8832         * tests/examples/manual/Makefile.am:
8833         Set up a registry path for running these tests, and clean it properly
8834         for distcheck.
8835
8836 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8837
8838         * configure.ac:
8839         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8840         want gmodule-no-export-2.0.pc instead so that we don't drag in
8841         --export-dynamic on every project that links to GStreamer.
8842
8843         Also, make our export regex only match the start of symbols, rather 
8844         than any symbol that contains '_gst' somewhere.
8845
8846         * libs/gst/check/Makefile.am:
8847         The libgstcheck we build does however need export-dynamic, as it
8848         produces some symbols that don't match our _gst... style regex.
8849         Fixes: #318031
8850
8851 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8852
8853         * gst/gst.c: (init_pre), (scan_and_update_registry),
8854         (ensure_current_registry_nonforking),
8855         (ensure_current_registry_forking), (ensure_current_registry),
8856         (init_post), (gst_debug_help), (gst_deinit):
8857         * gst/gst_private.h:
8858         * gst/gstregistry.c: (gst_registry_finalize),
8859         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8860         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8861         (_gst_registry_cleanup):
8862         * gst/gstregistry.h:
8863           Revert previous change until I figure out why it breaks distcheck.
8864
8865 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8866
8867         * gst/gst.c: (init_pre), (scan_and_update_registry),
8868         (ensure_current_registry_nonforking),
8869         (ensure_current_registry_forking), (ensure_current_registry),
8870         (init_post), (gst_debug_help), (gst_deinit):
8871
8872           Make init_pre and init_post take the full complement of GOptionFunc
8873           args so they can return useful GErrors. Make the registry updating
8874           functions do so.
8875
8876           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8877           ensure that the registry we're about to write out doesn't contain
8878           stale information about old-deleted plugin files.
8879
8880           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8881           that deletion of plugin files is considered a registry change.
8882
8883         * gst/gst_private.h:
8884         * gst/gstregistry.c: (gst_registry_finalize),
8885         (gst_registry_remove_features_for_plugin_unlocked),
8886         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8887         (gst_registry_scan_path),
8888         (_priv_gst_registry_remove_cache_plugins),
8889         (_priv_gst_registry_cleanup):
8890         * gst/gstregistry.h:
8891         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8892         by adding _priv prefix, so that they won't appear in the global
8893         symbol table. They still do atm though because of #318031. Move the
8894         prototypes to gst_private.h
8895
8896         When removing a plugin, remove all features for that plugin too. 
8897         Fixes #340878.
8898
8899 2006-09-27  Wim Taymans  <wim@fluendo.com>
8900
8901         * docs/random/moving-plugins:
8902         Make it clear that the "compiled-in descriptions" really mean
8903         the element details.
8904
8905         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8906         (gst_base_sink_wait_preroll):
8907         Update docs.
8908
8909         * docs/libs/gstreamer-libs-sections.txt:
8910         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8911         (gst_base_src_get_range), (gst_base_src_activate_push):
8912         * libs/gst/base/gstbasesrc.h:
8913         Added function to block while waiting for PLAYING, this function
8914         is used by live sources that block on the clock.
8915         API: gst_base_src_wait_playing()
8916
8917 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8918
8919         Patch by: Peter Kjellerstedt <pkj at axis com>
8920
8921         * Makefile.am:
8922           gst-element-check.m4 is generated and should therefore be
8923           copied from the build dir rather than the source dir (#357593).
8924           'make distcheck' hasn't noticed this because we were disting
8925           the file as well, so stop doing that.
8926
8927 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8928
8929         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8930           Add some tests for gst_caps_intersect().
8931
8932         * tools/gst-launch.c: (event_loop):
8933           Print all buffering percentages we get, even the 100% one.
8934
8935 2006-09-26  Wim Taymans  <wim@fluendo.com>
8936
8937         * tools/gst-inspect.c: (print_element_properties_info),
8938         (print_signal_info):
8939         Fix printing of flags to match the look of enums.
8940
8941 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8942
8943         * gst/gstelementfactory.c:
8944           Fix typo in docs blurb.
8945
8946 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8947
8948         * gst/gsturi.c: (search_by_entry):
8949           Don't assert/crash here if a uri handler doesn't return any
8950           supported protocols. The list of protocols could be generated
8951           dynamically at runtime or at plugin registration, and an error
8952           in the underlying library shouldn't be fatal (#353301).
8953
8954 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * gst/gstinfo.c:
8957           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8958           (spotted by Peter Kjellerstedt).
8959
8960 2006-09-23  Wim Taymans  <wim@fluendo.com>
8961
8962         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8963
8964         * libs/gst/base/gstbasesrc.c:
8965         (gst_base_src_default_check_get_range), (gst_base_src_start),
8966         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8967         (gst_base_src_change_state):
8968         Match _start/_stop calls in the activate functions. Remove redundant
8969         _stop call from the state change function. Fixes #356910.
8970         Turn failure DEBUG into ERROR. 
8971
8972 2006-09-22  Wim Taymans  <wim@fluendo.com>
8973
8974         * docs/design/part-buffering.txt:
8975         * gst/gstmessage.c: (gst_message_new_buffering),
8976         (gst_message_parse_buffering):
8977         Update docs about buffering.
8978
8979         * docs/design/part-trickmodes.txt:
8980         Fix typo.
8981
8982 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8983
8984         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8985         (gst_controller_new_list):
8986           Ref instances when returning them again (fixes #357180)
8987
8988 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
8989
8990         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8991           Don't forget to release proxy lock when there's an error.
8992
8993 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
8994
8995         * gst/gstcaps.h:
8996           Add extra initialisers for Caps things, to fix some plugin warnings
8997           when using -Wextra
8998
8999 2006-09-18  Wim Taymans  <wim@fluendo.com>
9000
9001         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9002           Also set template on the internal pad so that a getcaps from the 
9003           target pad returns the template caps.
9004
9005 2006-09-18  Wim Taymans  <wim@fluendo.com>
9006
9007         * gst/gstelement.c: (gst_element_post_message),
9008         (gst_element_dispose):
9009         Use _DEBUG_OBJECT some more.
9010
9011         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9012         Avoid typechecks.
9013
9014         * tools/gst-launch.c: (main):
9015         If the toplevel element is not a GstPipeline, it must be put in a
9016         pipeline so that a bus and clock is selected.
9017
9018 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9021           JITTER, RATE, and LATENCY query should be handled by the
9022           default case and not by the CONVERT query code.
9023
9024 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9025
9026         * gst/gstformat.c: (gst_format_register):
9027           Fix locking order (must take lock before using n_values).
9028
9029         * gst/gstvalue.c: (gst_value_serialize_enum),
9030         (gst_value_deserialize_enum_iter_cmp),
9031         (gst_value_deserialize_enum):
9032           Fix serialisation/deserialisation of custom registered GstFormats.
9033
9034         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9035           Unit test for custom format serialisation/deserialisation.
9036
9037 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
9038
9039         * docs/pwg/building-boiler.xml:
9040         * plugins/elements/gstcapsfilter.c:
9041         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
9042         section.
9043
9044 2006-09-16  Edward Hervey  <edward@fluendo.com>
9045
9046         * libs/gst/base/gstbasetransform.c:
9047         (gst_base_transform_buffer_alloc):
9048         Check if requested caps are the same as the sinks caps IF
9049         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
9050         is FALSE.
9051         This fixes the renegotiation issues stated in #352827.
9052
9053 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9054
9055         * configure.ac:
9056         * docs/manual/advanced-autoplugging.xml:
9057         * tests/examples/Makefile.am:
9058         * tests/examples/manual/.cvsignore:
9059         * tests/examples/manual/Makefile.am:
9060         * tests/examples/manual/extract.pl:
9061           Extract the manual examples again like we used to do.
9062           Fix one of them.
9063
9064 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9065
9066         * win32/common/config.h:
9067           update for version
9068
9069 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
9070
9071         * gst/gsterror.c:
9072           Documents how to receive errors.
9073
9074 2006-09-15  Wim Taymans  <wim@fluendo.com>
9075
9076         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
9077         (event_loop), (main):
9078         Added some comments here and there.
9079         Post an application message when an interrupt is caught instead of doing
9080         an uncontrolled state change.
9081         Clean up the event loop.
9082         Handle buffering messages, pause/resume the pipeline.
9083         Make shutdown because of an interrupt more reliable.
9084
9085 2006-09-15  Wim Taymans  <wim@fluendo.com>
9086
9087         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9088         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
9089         (gst_base_sink_preroll_object):
9090         Make sure that our internal state is correct when we commit our state
9091         asynchronously. This solves a race where a state change to PLAYING
9092         could cause the sink to remain blocked in preroll in some situations.
9093
9094 2006-09-15  Wim Taymans  <wim@fluendo.com>
9095
9096         * tools/gst-inspect.c: (print_element_properties_info),
9097         (print_signal_info):
9098         List flags as hex so it's easier to deal with.
9099
9100 2006-09-15  Wim Taymans  <wim@fluendo.com>
9101
9102         * docs/libs/gstreamer-libs-sections.txt:
9103         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
9104         (gst_base_sink_do_sync):
9105         * libs/gst/base/gstbasesink.h:
9106         Expose logic to wait for preroll so that subclasses such as audiosink
9107         can also use this method.
9108         API: gst_base_sink_wait_preroll()
9109
9110 2006-09-15  Wim Taymans  <wim@fluendo.com>
9111
9112         * gst/gstobject.c: (gst_object_set_parent):
9113         * gst/gstpipeline.c: (do_pipeline_seek):
9114         Small cleanups in docs and code.
9115
9116         * gst/gstsegment.c: (gst_segment_clip):
9117         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9118         if stop == start and start is in the segment, no clipping should be
9119         done. Also add a test for this.
9120
9121 2006-09-15  Wim Taymans  <wim@fluendo.com>
9122
9123         * docs/design/part-buffering.txt:
9124         * docs/gst/gstreamer-sections.txt:
9125         * gst/gstmessage.c: (gst_message_new_buffering),
9126         (gst_message_parse_buffering):
9127         * gst/gstmessage.h:
9128         Added methods to create and parse BUFFERING messages.
9129         Added preliminary docs about buffering.
9130         API: gst_message_new_buffering
9131         API: gst_message_parse_buffering
9132
9133 2006-09-06  Wim Taymans  <wim@fluendo.com>
9134
9135         * gst/gstbin.c:
9136         Update documentation.
9137
9138         * gst/gstelement.c: (gst_element_class_init),
9139         (gst_element_release_request_pad), (gst_element_set_clock),
9140         (gst_element_get_index), (gst_element_add_pad),
9141         (gst_element_remove_pad), (gst_element_get_random_pad),
9142         (gst_element_send_event), (gst_element_get_query_types),
9143         (gst_element_query), (gst_element_post_message),
9144         (gst_element_message_full), (gst_element_continue_state),
9145         (gst_element_lost_state), (gst_element_save_thyself),
9146         (gst_element_restore_thyself):
9147         Documentation updates.
9148         Rename last bit of the new-pad -> pad-added signal rename.
9149         Fix the case where an element query would only work if the source
9150         pad was linked.
9151         Avoid some useless type checking in message handling.
9152
9153         * gst/gstevent.c:
9154         * gst/gstevent.h:
9155         * gst/gstutils.c:
9156         Documentation updates.
9157
9158 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9159
9160         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9161           add an INFO line for when we actually update the fd
9162
9163 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9164
9165         * configure.ac:
9166           back to TRUNK
9167
9168 === release 0.10.10 ===
9169
9170 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
9171
9172         * configure.ac:
9173           releasing 0.10.10, "Pais"
9174
9175 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
9176
9177         * docs/manual/advanced-position.xml:
9178           Fix typo in sample code.
9179
9180 2006-09-05  Wim Taymans  <wim@fluendo.com>
9181
9182         * libs/gst/net/gstnetclientclock.c: (inet_aton),
9183         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9184         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
9185         * libs/gst/net/gstnetclientclock.h:
9186         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9187         * libs/gst/net/gstnettimepacket.h:
9188         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
9189         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
9190         (gst_net_time_provider_thread), (gst_net_time_provider_new):
9191         * libs/gst/net/gstnettimeprovider.h:
9192         Make stuff compile on windows. Fixes #345295.
9193
9194 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9195
9196         * gst/gst.c: (ensure_current_registry_forking):
9197           Print better details when child was terminated by signal.
9198
9199 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9200
9201         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
9202           Print a warning rather than g_assert() if a plugin feature
9203           is a URI handler but returns no protocols (#353976).
9204
9205 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
9206
9207         * docs/random/moving-plugins:
9208         Fix two typos.         
9209
9210 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
9211
9212         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
9213           Fix locking order, handle NULL function values properly.
9214
9215         * gst/gstinfo.h:
9216           Fix docs.
9217
9218         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
9219           Initialise variable before using it and fix debug statement to
9220           print the address of the function rather than the address of the
9221           variable on the stack holding the address of the function.
9222
9223 2006-09-01  Wim Taymans  <wim@fluendo.com>
9224
9225         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
9226         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
9227         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9228         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
9229         (gst_ghost_pad_parent_unset),
9230         (gst_ghost_pad_internal_do_activate_push),
9231         (gst_ghost_pad_internal_do_activate_pull),
9232         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9233         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9234         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9235         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
9236         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
9237         (gst_ghost_pad_new_no_target_from_template),
9238         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9239         More cleanups.
9240         Avoid needless typechecking in macros.
9241         Since the internal pad is always present and never changes, there is
9242         no need to locking or ref when retrieving it.
9243         Improve debugging a bit.
9244         Handle link errors when setting the target. Fixes #341029.
9245
9246 2006-09-01  Wim Taymans  <wim@fluendo.com>
9247
9248         * docs/libs/gstreamer-libs-sections.txt:
9249         * docs/plugins/gstreamer-plugins-sections.txt:
9250         Fix docs some more.
9251
9252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9253         (gst_collect_pads_event):
9254         * libs/gst/base/gstcollectpads.h:
9255         Documentation updates.
9256         Free queued buffer when removing a pad.
9257
9258 2006-08-31  Michael Smith  <msmith@fluendo.com>
9259
9260         * gst/gstutils.c: (gst_element_link_pads),
9261         (gst_element_link_pads_filtered):
9262           Ensure that we set a capsfilter to NULL if we failed to link it
9263           when doing filtered linking, to avoid criticals.
9264
9265           No need to check for unreffing srcpad, which is explicly NULLed
9266           above (a trivial code cleanup).
9267
9268 2006-08-31  Wim Taymans  <wim@fluendo.com>
9269
9270         * docs/design/part-gstghostpad.txt:
9271         Update ascii art in documentation.
9272
9273         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9274         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9275         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9276         (gst_ghost_pad_internal_do_activate_push),
9277         (gst_ghost_pad_internal_do_activate_pull),
9278         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9279         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9280         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9281         (gst_ghost_pad_set_target):
9282         Small cleanups and leak fixes.
9283         Remove some checks now that the internal pad is never NULL.
9284         Fix the case where linking pads without a target would create nasty
9285         criticals. Fixes #341029.
9286         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9287         value of _set_target().
9288
9289         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9290         (gst_ghost_pad_suite):
9291         Some more tests for creating and linking untargeted ghostpads.
9292
9293 2006-08-31  Edward Hervey  <edward@fluendo.com>
9294
9295         * docs/gst/gstreamer-sections.txt:
9296         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9297         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9298         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9299         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9300         (gst_ghost_pad_new_from_template),
9301         (gst_ghost_pad_new_no_target_from_template):
9302         * gst/gstghostpad.h:
9303         Refactored *_new() functions.
9304         Templates are now used as a g_object_new() parameter.
9305         Use template in _do_getcaps() if we don't have a target.
9306         Small documentation cleanups.
9307         Added two new constructors:
9308         gst_ghost_pad_new_from_template()
9309         gst_ghost_pad_new_no_target_from_template()
9310         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9311         (gst_ghost_pad_suite):
9312         Added tests for new ghostpad instanciation functions.
9313
9314         API additions: gst_ghost_pad_new_from_template,
9315         gst_ghost_pad_new_no_target_from_template
9316
9317 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
9318
9319         * docs/random/ensonic/profiling.txt:
9320           Ideas about qos profiling.
9321
9322 2006-08-29  Wim Taymans  <wim@fluendo.com>
9323
9324         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9325         Code cleanups.
9326         Fix memleak.
9327
9328 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
9329
9330         * gst/gstxml.c:
9331           Improve and detypofy docs.
9332
9333         * tests/check/Makefile.am:
9334         * tests/check/gst/.cvsignore:
9335         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9336           Add a basic test suite for GstXML.
9337
9338 2006-08-29  Wim Taymans  <wim@fluendo.com>
9339
9340         * gst/gstelement.c: (activate_pads), (clear_caps),
9341         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9342         Clear the pad caps when the element shut down all of the pads and
9343         is not streaming data that could modify the caps. 
9344         Fixes #352958.
9345
9346 2006-08-28  Michael Smith  <msmith@fluendo.com>
9347
9348         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9349           Revert previous change; I misunderstood single-segment mode.
9350
9351 2006-08-28  Michael Smith  <msmith@fluendo.com>
9352
9353         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9354           Unset DISCONT on buffers when using single-segment mode.
9355
9356 2006-08-28  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/gstcaps.c: (gst_caps_merge_structure):
9359         * gst/gstcaps.h:
9360         Fix docs and indentation again.
9361
9362         * tests/check/gst/gstquery.c: (GST_START_TEST):
9363         Fix leak in tests and add some more tests.
9364
9365 2006-08-28  Edward Hervey  <edward@fluendo.com>
9366
9367         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9368         Inform GstSegment of the last stop position in order for the current
9369         segment to have a proper duration if it doesn't have a specific stop
9370         position from which a duration could be calculated.
9371         This bug was noticeable when a non-flushing, non-update new segment was
9372         followed by another segment (all buffers from the new segment were being
9373         dropped).
9374
9375 2006-08-28  Wim Taymans  <wim@fluendo.com>
9376
9377         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9378         Small comment update.
9379
9380         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9381         (gst_identity_transform_ip):
9382         Drop-probability is broken, mention this in the code with a 
9383         FIXME and also in the property description.
9384         Make silent also be silent about the drop messages.
9385
9386 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
9387
9388         * docs/manual/appendix-win32.xml:
9389           Remove mention of popt, we don't depend on that any
9390           longer (#353136). Add some comments pointing out that
9391           this section is slightly outdated.
9392
9393 2006-08-28  Wim Taymans  <wim@fluendo.com>
9394
9395         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9396
9397         * gst/gstquery.c: (gst_query_new_segment):
9398         * tests/check/gst/gstquery.c: (GST_START_TEST):
9399         Initialize variables when creating a new segment query.
9400         Fixes #353121.
9401
9402 2006-08-28  Wim Taymans  <wim@fluendo.com>
9403
9404         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9405
9406         * gst/gstelement.c: (gst_element_get_bus):
9407         * tests/check/gst/gstelement.c: (GST_START_TEST):
9408         Check for NULL before _reffing the bus. Fixes #353122.
9409
9410 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
9411
9412         * docs/manual/basics-bus.xml:
9413           Docs update: fix wrong callback return value explanation; add
9414           some lines about the implicit relationship between main loop
9415           and main context; remove duplicate main loop variable declaration.
9416
9417 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
9418
9419         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9420           Don't leak caps in unit test; add a few more simple
9421           checks. 
9422
9423 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
9424
9425         * docs/gst/gstreamer-sections.txt:
9426         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9427         (gst_caps_structure_is_subset), (gst_caps_merge),
9428         (gst_caps_merge_structure):
9429         * gst/gstcaps.h:
9430         * libs/gst/base/gstbasetransform.c:
9431         (gst_base_transform_transform_caps):
9432         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9433           implement caps merging (fixes #352580)
9434
9435 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
9436
9437         * tools/Makefile.am:
9438         * tools/gst-plot-timeline.py:
9439           add debug-log plotting developer tool (#340674)
9440
9441 2006-08-23  Wim Taymans  <wim@fluendo.com>
9442
9443         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9444         (gst_pad_stop_task):
9445         Improve debugging for task functions.
9446
9447         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9448         (gst_task_start), (gst_task_pause), (gst_task_join):
9449         Make sure that the task function started and finished after a 
9450         join(). 
9451         Don't try to push the task function on the threadpool multiple
9452         times.
9453         Improve the g_warning message with some useful suggestions
9454         about how to fix the problem. 
9455
9456 2006-08-23  Wim Taymans  <wim@fluendo.com>
9457
9458         * gst/gstutils.c: (gst_pad_proxy_getcaps):
9459         Handle RESYNC correctly in _proxy_getcaps.
9460
9461 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
9462
9463         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9464         (gst_xml_parse_memory), (gst_xml_get_element):
9465           Chain up to parent class in dispose function and also
9466           unref the elements in the toplevel_elements GList.
9467           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9468           Always return a reference in gst_xml_get_element() rather
9469           than only sometimes.
9470
9471         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9472           Don't leak GstXml object.
9473
9474 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
9475
9476         * docs/gst/gstreamer-sections.txt:
9477         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9478         (gst_caps_merge):
9479         * gst/gstcaps.h:
9480         * libs/gst/base/gstbasetransform.c:
9481         (gst_base_transform_transform_caps):
9482           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9483           in a better way
9484
9485 2006-08-21  Edward Hervey  <edward@fluendo.com>
9486
9487         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9488         Implement GObject::dispose virtual method in GstXML so we can free the
9489         top_elements GList.
9490
9491 2006-08-21  Wim Taymans  <wim@fluendo.com>
9492
9493         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9494         (gst_buffer_create_sub):
9495         Copy duration/offset_end/caps when creating a subbuffer of the
9496         complete parent.
9497         Make the subbuffer read-only when we make the metadata writable for
9498         now. Fixes #351768.
9499
9500         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9501         Added check for metadata copy when creating subbuffers.
9502
9503 2006-08-21  Edward Hervey  <edward@fluendo.com>
9504
9505         * libs/gst/base/gstbasetransform.c:
9506         (gst_base_transform_buffer_alloc):
9507         Only call downstream buffer_alloc if transform element is passthrough
9508         or always_in_place. Closes #350449.
9509
9510 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9511
9512         * ChangeLog:
9513           ChangeLog surgery to add comments to previous changes
9514
9515 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9516
9517         * gst/gst.c:
9518           Add comments
9519
9520         * gst/gstpad.c: (gst_pad_set_active):
9521           Be more verbose in the log
9522
9523         * libs/gst/base/gstbasetransform.c:
9524         (gst_base_transform_transform_caps):
9525           Simplify caps to get rid of duplicates, fixes #345444
9526
9527 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9528
9529         * gst/gstvalue.c:
9530         * gst/gstvalue.h:
9531           Use these optimizations only internally.
9532
9533 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9534
9535         * gst/gstvalue.c: (gst_value_compare_list),
9536         (gst_value_compare_fraction_range),
9537         (gst_value_intersect_fraction_fraction_range),
9538         (gst_value_intersect_fraction_range_fraction_range),
9539         (gst_value_subtract_fraction_fraction_range),
9540         (gst_value_subtract_fraction_range_fraction_range),
9541         (gst_value_get_compare_func), (gst_value_compare),
9542         (gst_value_compare_with_func):
9543         * gst/gstvalue.h:
9544           Saves the expensive lookup of the compare function in many cases
9545          (#345444)
9546
9547 2006-08-18  Edward Hervey  <edward@fluendo.com>
9548
9549         * tests/check/gst/gstinfo.c: (gst_info_suite):
9550         Disable test that require gstdebug if it wasn't built in core.
9551
9552 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9553
9554         * docs/random/ensonic/logging.txt:
9555           update ideas
9556           
9557         * gst/gstinfo.c: (gst_debug_log_default):
9558           reorder fields, save some columns, add optional color codes for log
9559           levels
9560
9561 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9562
9563         * docs/random/ensonic/logging.txt:
9564           add ideas about making the logs a bit more useful
9565
9566 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9567
9568         * docs/pwg/advanced-events.xml:
9569         * docs/pwg/titlepage.xml:
9570           Update for 0.10 API (#340627). Add myself
9571           to authors list.
9572
9573 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * docs/libs/gstreamer-libs-docs.sgml:
9576         * docs/libs/gstreamer-libs-sections.txt:
9577         * libs/gst/check/gstbufferstraw.c:
9578           Make gstcheck stuff show up in docs (still needs to
9579           be documented properly though).
9580
9581 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
9582
9583         * docs/gst/gstreamer-sections.txt:
9584         * gst/Makefile.am:
9585         * gst/gst.c: (init_post):
9586         * gst/gst_private.h:
9587         * gst/gstquark.c: (_priv_gst_quarks_initialize):
9588         * gst/gstquark.h:
9589         * gst/gstquery.c: (gst_query_new_position),
9590         (gst_query_set_position), (gst_query_parse_position),
9591         (gst_query_new_duration), (gst_query_set_duration),
9592         (gst_query_parse_duration), (gst_query_new_convert),
9593         (gst_query_set_convert), (gst_query_parse_convert),
9594         (gst_query_new_segment), (gst_query_set_segment),
9595         (gst_query_parse_segment), (gst_query_new_seeking),
9596         (gst_query_set_seeking), (gst_query_parse_seeking):
9597         Add internal helpers for pre-registering quarks from static strings
9598         and using the quark values directly instead of looking them up when
9599         creating and parsing queries. Can be used for event construction too.
9600         Closes #350432.
9601
9602 2006-08-16  Wim Taymans  <wim@fluendo.com>
9603
9604         * gst/gstbin.c:
9605         Fix bogus docs.
9606
9607 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9608
9609         * gst/gstutils.c: (gst_util_set_value_from_string):
9610           Fix memleak (#351502).
9611
9612         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9613           Add unit test for most of gst_util_set_value_from_string()
9614           (not that one would want to encourage use of this function).
9615
9616 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9617
9618         * libs/gst/check/gstcheck.h:
9619           Use const gchar * variables in fail_unless_equals_string
9620           macro to avoid compiler warnings (and don't use tabs for
9621           indenting).
9622
9623 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * tools/gst-launch.c: (print_tag):
9626           More space on the left for the tag names, to cater
9627           for the 'extended comment' tag (not touching the
9628           string for the first line since it's translated).
9629
9630 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9631
9632         * libs/gst/check/gstcheck.h:
9633           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9634           print something when they fail.
9635
9636 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9637
9638         * docs/gst/gstreamer-sections.txt:
9639         * gst/gsttaglist.c: (_gst_tag_initialize):
9640         * gst/gsttaglist.h:
9641           API: add GST_TAG_EXTENDED_COMMENT (#350935).
9642           Also change merge function for GST_TAG_COMMENT to
9643           use_first.
9644
9645 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9646
9647         * gst/gstinfo.c: (gst_debug_print_object):
9648           Make GST_PTR_FORMAT print messages as well.
9649
9650         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9651         (GST_START_TEST), (gst_info_suite):
9652           More tests.
9653
9654 2006-08-14  Edward Hervey  <edward@fluendo.com>
9655
9656         * gst/gstelementfactory.c: (gst_element_register):
9657         If the GstElementClass doesn't have a GstElementDetails with all fields
9658         filled up correctly (longname, description AND author), then error out
9659         nicely instead of crashing.
9660
9661 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9662
9663         * gst/gststructure.c:
9664           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9665
9666         * gst/gstvalue.h:
9667           Expand on the difference between arrays and lists as we use them.
9668           
9669 2006-08-14  Wim Taymans  <wim@fluendo.com>
9670
9671         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9672         If the parent state change function failed, don't assume we can safely
9673         stop the source, this will be done when the pads are deactivated.
9674
9675 2006-08-14  Wim Taymans  <wim@fluendo.com>
9676
9677         * gst/gstbuffer.c:
9678         * gst/gsttask.c: (gst_task_join):
9679         Small doc updates.
9680
9681         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9682         (gst_pad_stop_task):
9683         When pad (de)activation failed for some reason, restore the old
9684         activation mode and set the pad to flushing instead of assuming the
9685         pad is deactivated.
9686         If the _task_join() failed, reinstall the task on the pad so that it can
9687         be stopped later and return an error.
9688
9689 2006-08-11  Andy Wingo  <wingo@pobox.com>
9690
9691         * configure.ac:
9692         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9693         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9694         is only for users of API that don't want to see deprecated
9695         functions in the headers; people that want to compile out
9696         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9697         CFLAGS. Fixes the build of multifdsink, or will soon..
9698
9699 2006-08-11  Wim Taymans  <wim@fluendo.com>
9700
9701         * docs/gst/gstreamer-sections.txt:
9702         Add GstClockClass vmethod docs.
9703
9704         * gst/gstcaps.h:
9705         Mark #endif with comment for associated #if
9706
9707         * gst/gstclock.c: (gst_clock_id_wait):
9708         * gst/gstclock.h:
9709         Add vmethod wait_jitter to avoid an unneeded _get_time() for
9710         most clock implementations.
9711         Document vmethods.
9712         Flesh out docs about resolution methods.
9713         API: GstClockClass::wait_jitter
9714
9715         * gst/gstsystemclock.c: (gst_system_clock_class_init),
9716         (gst_system_clock_async_thread),
9717         (gst_system_clock_id_wait_jitter_unlocked),
9718         (gst_system_clock_id_wait_jitter):
9719         Use base class wait_jitter variant for improved performance
9720         due to less clock polling.
9721
9722 2006-08-11  Edward Hervey  <edward@fluendo.com>
9723
9724         * gst/gst.c: (gst_init_check), (init_post):
9725         Set gst as being initialized before scanning/updating the registry,
9726         since there might be my python plugin loader that calls gst_init() and
9727         we don't want to loop back in.
9728         Closes #350879
9729
9730 2006-08-11  Wim Taymans  <wim@fluendo.com>
9731
9732         * docs/design/part-qos.txt:
9733         Bring docs in line with the code. Mostly the sign of the jitter was
9734         wrong in the docs. Fixes #349943.
9735
9736         * gst/gstclock.c:
9737         Fix the docs for the jitter.
9738
9739         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9740         (gst_event_parse_tag), (gst_event_new_buffer_size),
9741         (gst_event_parse_buffer_size), (gst_event_parse_qos),
9742         (gst_event_new_seek), (gst_event_parse_seek),
9743         (gst_event_new_navigation):
9744         Make sure the GstStructure has no parent when creating custom
9745         events.
9746         Add some more argument checking so that we avoid 0.0 rates.
9747         Flesh out the docs for the QoS event some more.
9748
9749 2006-08-11  Wim Taymans  <wim@fluendo.com>
9750
9751         * docs/gst/gstreamer-sections.txt:
9752         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9753         (ensure_current_registry_forking), (ensure_current_registry),
9754         (parse_one_option), (parse_goption_arg), (gst_deinit),
9755         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9756         * gst/gst.h:
9757         Doc updates.
9758         Added API and command line option to disable registry forking in
9759         addition to the environment variable.
9760         Constify some static arrays.
9761         Added some more debug.
9762         Don't deinit twice.
9763         API: gst_registry_fork_is_enabled()
9764         API: gst_registry_fork_set_enabled()
9765         API: --gst-disable-registry-fork command line option
9766         Fixes #348918.
9767
9768 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         * gst/gst.c: (gst_init):
9771           Fix typo in error message.
9772
9773 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9774
9775         * libs/gst/controller/gstcontroller.h:
9776           fix ABI size-correction
9777
9778         * tests/check/libs/gdp.c: (gst_dp_suite):
9779           make tests that use deprecated API conditional
9780
9781 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9782
9783         * docs/libs/gstreamer-libs-sections.txt:
9784         * libs/gst/controller/gstcontroller.c:
9785         (_gst_controller_get_property), (_gst_controller_set_property),
9786         (_gst_controller_init), (_gst_controller_class_init):
9787         * libs/gst/controller/gstcontroller.h:
9788         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9789         (gst_object_set_control_rate):
9790           API: add gst_object_{s,g}et_control_rate(), add private data section,
9791           fix docs
9792
9793         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9794         * libs/gst/dataprotocol/dataprotocol.h:
9795           add deprecation guards to make gtk-doc happy and allow disabling cruft
9796
9797 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9798
9799         * tests/check/Makefile.am:
9800         * tests/check/gst/.cvsignore:
9801           Let's enable the new unit test as well.
9802
9803 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9804
9805         * configure.ac:
9806         * docs/gst/gstreamer-sections.txt:
9807         * gst/gstconfig.h.in:
9808         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9809         (_gst_info_printf_extension_ptr),
9810         (_gst_info_printf_extension_segment):
9811           API: add GST_SEGMENT_FORMAT, which is a printf extension we
9812           register that lets us easily dump GstSegments into debug
9813           logs (#350419).
9814
9815         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9816         (info_segment_format_printf_extension), (gst_info_suite):
9817           Add simple unit test that logs a bunch of different segments (not
9818           valgrinded at the moment because of leaks in
9819           gst_debug_add_log_function).
9820
9821 2006-08-09  Edward Hervey  <edward@fluendo.com>
9822
9823         * libs/gst/base/gstbasetransform.c:
9824         (gst_base_transform_buffer_alloc):
9825         Even if we can't figure out the proper format to request downstream,
9826         call buffer_alloc() downstream with the input parameters without setting
9827         the caps on the srcpad. This will force negotiation in the chain
9828         function.
9829         Closes #350449
9830
9831 2006-08-08  Edward Hervey  <edward@fluendo.com>
9832
9833         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9834         Unlinking from a pad without a target is now a perfectly valid case
9835         which should NOT raise an assertion.
9836         This case would happen if a linked ghostpad its target set to NULL after
9837         it was previously linked.
9838
9839 2006-08-08  Edward Hervey  <edward@fluendo.com>
9840
9841         * tests/check/libs/gdp.c:
9842         Also comment out the test (see below).
9843
9844 2006-08-08  Edward Hervey  <edward@fluendo.com>
9845
9846         * tests/check/libs/gdp.c: (gst_dp_suite):
9847         Use the architecture information from config.h and not gcc macros
9848         in order to properly disable a test that fails on PPC64.
9849
9850 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9851
9852         * gst/gstelement.c: (gst_element_remove_pad):
9853           Don't crash printing the warning if the pad has no parent.
9854
9855 2006-08-02  Wim Taymans  <wim@fluendo.com>
9856
9857         * libs/gst/dataprotocol/dataprotocol.c:
9858         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9859         (gst_dp_crc), (gst_dp_header_payload_length),
9860         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9861         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9862         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9863         (gst_dp_event_from_packet), (gst_dp_validate_header),
9864         (gst_dp_validate_payload):
9865         Make debug category static
9866         Constify the crc table.
9867         Do some more arg checking in public functions.
9868         Fix some docs and do some small cleanups.
9869
9870         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9871         Add some more checks to see if GDP deals with bogus input.
9872
9873 2006-07-31  Wim Taymans  <wim@fluendo.com>
9874
9875         * gst/gstvalue.c: (gst_value_compare_list):
9876         Fix GstValueList comparison code. Fixes #347293.
9877
9878         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9879         Check to test GstValueList comparison.
9880
9881 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9882
9883         * gst/gstelementfactory.c: (gst_element_factory_create):
9884         Remove unnecessary ref/unref pair
9885
9886         * gst/parse/grammar.y:
9887         Make sure to free the parse buffer on all code paths.
9888         Move a g_free up to the error handler where it's easier to see.
9889
9890         * tests/check/gst/gstevent.c: (test_event):
9891         Extending timeout for downstream travelling events to 10 seconds to
9892         hopefully avoid intermittent failure on the buildbots.
9893
9894         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9895         Don't manually set the state of the src element - it will happen as a
9896         natural consequence of the pipeline changing state, and that way it
9897         will do it in the right order too.
9898
9899 2006-07-31  Wim Taymans  <wim@fluendo.com>
9900
9901         * libs/gst/base/gstbasetransform.c:
9902         (gst_base_transform_buffer_alloc):
9903         Use OBJECT_LOCK and refcounting to get the pad caps in the
9904         buffer_alloc function because the caps could change while we are
9905         busy with them. Fixes #349105
9906
9907 2006-07-31  Wim Taymans  <wim@fluendo.com>
9908
9909         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9910         Protect _PAD_CAPS with OBJECT_LOCK.
9911
9912 2006-07-31  Wim Taymans  <wim@fluendo.com>
9913
9914         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9915         (gst_pad_get_property), (gst_pad_activate_pull),
9916         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9917         (gst_pad_set_activate_function),
9918         (gst_pad_set_activatepull_function),
9919         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9920         (gst_pad_set_getrange_function),
9921         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9922         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9923         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9924         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9925         (gst_pad_set_acceptcaps_function),
9926         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9927         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9928         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9929         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9930         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9931         (gst_pad_configure_sink), (gst_pad_configure_src),
9932         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9933         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9934         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9935         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9936         (gst_pad_send_event):
9937         Use _DEBUG_OBJECT when it makes sense.
9938         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9939         Small cleanups and code reflows.
9940         Avoid caps refcounting in _accept_caps.
9941         Refactor alloc_buffer so that the code performed on the peer is in a
9942         separate function. Also if the pad does not implement a buffer alloc
9943         function, we should still check if the pad is flushing before falling
9944         back to the default allocator.
9945
9946 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9947
9948         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9949         Make all uses of identity and fakesink have silent=true to avoid
9950         serialising every passing data structure, which is breaking tests
9951         on FC4 for some unknown reason.
9952
9953 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9954
9955         * gst/parse/Makefile.am:
9956         * gst/parse/grammar.y:
9957         * gst/parse/parse.l:
9958           Reverted previous patch as it required to bump the flex dependency to
9959           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9960
9961 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9962
9963         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9964
9965         * gst/parse/Makefile.am:
9966         * gst/parse/grammar.y:
9967         * gst/parse/parse.l:
9968           push & pop the state of the lexer for reentrant use case
9969           Fixes #349180
9970
9971 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9972
9973         * libs/gst/base/gstbasesrc.h:
9974           Note in the docs that the ::newsegment vfunc is not actually used by
9975           GstBaseSrc.
9976
9977 2006-07-28  Wim Taymans  <wim@fluendo.com>
9978
9979         * libs/gst/base/gstcollectpads.c:
9980         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9981         (gst_collect_pads_clear), (gst_collect_pads_flush),
9982         (gst_collect_pads_event), (gst_collect_pads_chain):
9983         When flushing a pad, also clear the queued buffer so that we don't
9984         accidentally use it when we shouldn't.
9985         Fix leaks by inreffing incomming buffer.
9986         Flush out queued buffers in case of errors.
9987         Fixes #347452.
9988
9989 2006-07-28  Wim Taymans  <wim@fluendo.com>
9990
9991         * docs/random/phonon-gst:
9992         Random notes about a Phonon backend.
9993
9994 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9995
9996         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9997         Extra debug output
9998         * tests/check/libs/gdp.c: (gst_dp_suite):
9999         Take a whack at fixing the ppc compile using a different define to
10000         disable the broken test.
10001
10002         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10003         Remove excess g_print()
10004
10005 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10006
10007         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10008         Oops, meant to uncomment this line too to dampen the noise a bit.
10009
10010 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10011
10012         * gst/parse/grammar.y:
10013         * gst/parse/parse.l:
10014         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10015         (GST_START_TEST), (parse_suite):
10016         Fix some of the leaks exposed by extending the parse-launch testsuite,
10017         and move the 3 I can't figure out into a separate test that won't run
10018         the pipelines unless the appropriate line is uncommented.
10019
10020 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10021
10022         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10023           Requesting 0 bytes before the end of the file should result in
10024           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
10025           unit test.
10026
10027 2006-07-27  Wim Taymans  <wim@fluendo.com>
10028
10029         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
10030         Fix useless assert, a uint is always positive.
10031
10032         * gst/gststructure.c: (gst_structure_nth_field_name),
10033         (gst_structure_foreach), (gst_structure_map_in_place):
10034         Check input arguments for public functions to avoid obvious crashes.
10035
10036         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
10037         * plugins/elements/gstfakesink.h:
10038         Do less useless typechecking.
10039
10040 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10041
10042         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10043           Do not use mmap() by default since there are a number of error
10044           conditions that we would like to handle in a non-fatal way that
10045           will result in a SIGBUS if we use mmap(). Examples: external
10046           devices (USB harddrive, portable music player) being unplugged
10047           while in use; file on mounted CD/DVD that can't be read because
10048           the medium is partly damaged. Fixes #348455 and #348475.
10049
10050 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
10051
10052         * gst/gstquery.h:
10053         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
10054         rates are a gdouble
10055
10056 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
10057
10058         * gst/gstregistry.c:
10059           Move big documentation comment into class section header, so that it
10060           appears in the API docs.
10061
10062 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10063
10064         * docs/gst/gstreamer-sections.txt:
10065         Oops. Commit the docs additions too for new API.
10066         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
10067
10068 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10069
10070         * gst/gststructure.c: (gst_structure_id_set),
10071         (gst_structure_id_set_valist):
10072         * gst/gststructure.h:
10073         Add API for setting values into structures without performing
10074         a quark lookup, if the appropriate quark is already known.
10075
10076         API: gst_structure_id_set
10077         API: gst_structure_id_set_valist
10078
10079         * gst/parse/grammar.y:
10080         * gst/parse/parse.l:
10081         Remove some dead code shown by the coverage information.
10082         Don't throw a critical g_warning when encountering a syntax error,
10083         just warn and let the normal error path handle it.
10084
10085         * plugins/elements/gstelements.c:
10086         Bump the rank of filesink up to PRIMARY so that it is preferred over
10087         gnomevfssink for file:// sink uri's
10088
10089         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10090         (GST_START_TEST), (run_delayed_test),
10091         (gst_parse_test_element_base_init),
10092         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
10093         (gst_parse_test_element_change_state),
10094         (gst_register_parse_element), (parse_suite):
10095         Beef up the tests for parse syntax to check that more error cases
10096         fail as they are supposed to. Increases the test coverage a bit.
10097
10098 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
10099
10100         * docs/manual/basics-elements.xml:
10101           Fix gst_element_link() example.
10102
10103         * gst/gstutils.c:
10104           Mention in API docs that one should usually gst_bin_add()
10105           elements to a bin or pipeline before doing the linking.
10106           
10107 2006-07-26  Wim Taymans  <wim@fluendo.com>
10108
10109         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
10110         (gst_subbuffer_get_type), (gst_buffer_create_sub):
10111         Avoid function call for known types by keeping the buffer and
10112         subbuffer GType global.
10113
10114         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10115         Random silly optimisations in read() path.
10116
10117 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10118
10119         * tools/gst-launch.c: (main):
10120           If the top-level of the parse is a normal bin, it doesn't do the
10121           right logic to run as a top-level element, so place it inside a
10122           pipeline.
10123
10124 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
10127           Remove superfluous g_object_notify() calls, GObject does
10128           that for us automatically.
10129
10130 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
10131
10132         * gst/gstinfo.h:
10133           on Win32, use dllspec to export the debug category symbols
10134
10135 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
10136
10137         * gst/gsttaglist.c: (_gst_tag_initialize):
10138           Allow more than one GST_TAG_IMAGE per taglist.
10139
10140 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         * gst/gstminiobject.c:
10143           update docs
10144         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
10145         (gst_fd_src_create):
10146           log recurring events at LOG level
10147           add more debug for when the fd gets set
10148
10149 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10150
10151         * gst/gstparse.c: (gst_parse_launch):
10152           Also remove reentrance checks if flex is MT safe (#348179)
10153          Fix my empty ChangeLog entry below
10154
10155 2006-07-21  Andy Wingo  <wingo@pobox.com>
10156
10157         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
10158
10159         * libs/gst/check/Makefile.am
10160         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
10161         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
10162         * libs/gst/check/gstbufferstraw.h:
10163         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
10164         functions, thus proving I am still a GStreamer haxor. OK I wrote
10165         them a long time ago, but anyways.
10166
10167 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10168
10169         * configure.ac:
10170         * gst/gstparse.c: (gst_parse_launch):
10171           Check for flex version and omit mutex if we have a MT save flex
10172           (fixes #348179)
10173
10174 2006-07-21  Wim Taymans  <wim@fluendo.com>
10175
10176         * gst/gstparse.c: (gst_parse_launch):
10177         Protect recursive calls to _parse with a recursive mutex
10178         and busy flag.
10179
10180 2006-07-21  Wim Taymans  <wim@fluendo.com>
10181
10182         * tests/check/gst/gstpad.c: (GST_START_TEST):
10183         Fix leak in test.
10184
10185 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
10186
10187         * gst/gstparse.c: (gst_parse_launch):
10188           Do not hang on recursive usage of gst_parse_launch()
10189
10190 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10191
10192         * gst/gsttaglist.c:
10193           Add some more docs, comments and FIXME 0.11s here and there
10194           and also fix some typos.
10195
10196 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * gst/gstsegment.h:
10199           Convert tabs to spaces for better readability. 
10200
10201 2006-07-20  Edward Hervey  <edward@fluendo.com>
10202
10203         * tests/check/libs/gdp.c: (gst_dp_suite):
10204         the test_buffer test fails at line 140 on ppc64 at the following
10205         check:
10206         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
10207                 GST_BUFFER_FLAG_IN_CAPS),
10208                 "GST_BUFFER_IN_CAPS flag should have been copied !");
10209         See bug #348114 for more details.
10210
10211 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
10212
10213         * docs/pwg/advanced-scheduling.xml:
10214         * gst/gstpad.c:
10215           Fix typos (#348000).
10216
10217 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
10218
10219         * docs/pwg/intro-basics.xml:
10220           Fix wrong links (#347927).
10221
10222 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
10223
10224         * gst/gstregistry.h:
10225         * gst/gstregistryxml.c: (load_feature),
10226         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
10227         * win32/common/config.h:
10228           make --disable-index work (#342564)
10229
10230 2006-07-18  Wim Taymans  <wim@fluendo.com>
10231
10232         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10233
10234         * gst/Makefile.am:
10235         * gst/gsttrace.h:
10236         The attached patch adds two missing defines to gsttrace.h when tracing
10237         is disabled.  It also corrects one existing define.
10238         Fixes #347756.
10239
10240 2006-07-17  Wim Taymans  <wim@fluendo.com>
10241
10242         * docs/gst/gstreamer-sections.txt:
10243         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10244         * gst/gst.h:
10245         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10246         Add two functions to check and change the SIGSEGV behaviour
10247         when loading plugins.
10248         Don't mess with the SIGSEGV handler when we were told not to.
10249         Fixes #347794.
10250         API: gst_segtrap_is_enabled
10251         API: gst_segtrap_set_enabled
10252
10253 2006-07-14  Wim Taymans  <wim@fluendo.com>
10254
10255         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10256         * tests/check/elements/filesrc.c: (GST_START_TEST):
10257         Revert fix for regression in #347408 after release.
10258
10259 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
10260
10261         Patch by: Antoine Tremblay <hexa00 at gmail com>
10262
10263         * gst/gstutils.c: (gst_element_unlink):
10264           Free iterator when done (#347311).
10265
10266         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10267           And add a test case for this.
10268
10269 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
10270
10271         * configure.ac:
10272         Bump nano back to CVS
10273
10274 === release 0.10.9 ===
10275
10276 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
10277
10278         * configure.ac:
10279           releasing 0.10.9, "On the road again"
10280
10281 2006-07-13  Wim Taymans  <wim@fluendo.com>
10282
10283         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10284         * tests/check/elements/filesrc.c: (GST_START_TEST):
10285         Revert pull-0 fix for release. Disable check. Fixes #347408.
10286
10287 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10288
10289         * libs/gst/dataprotocol/dataprotocol.c:
10290         (gst_dp_event_from_packet_1_0):
10291           Fixes #347337: failure to deserialize event packets with
10292           empty payload (only event type)
10293
10294 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10295
10296         * gst/Makefile.am:
10297           do not install a .c file in the header directory
10298
10299 2006-07-13  Edward Hervey  <edward@fluendo.com>
10300
10301         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10302         GhostPad no longer implicitely use the padtemplates of the targets.
10303         Fixes #347384
10304
10305 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
10306
10307         * gst/gstvalue.c: (gst_value_compare_list),
10308         (gst_value_compare_array), (_gst_value_initialize):
10309         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10310         Make GstValueArray comparison be order dependent as designed.
10311         Add checks for value lists and value array comparisons.
10312         Fixes #347221
10313
10314 2006-07-11  Edward Hervey  <edward@fluendo.com>
10315
10316         * gst/gstbin.c: (activate_pads),
10317         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10318         (gst_bin_change_state_func):
10319         (de)activate src pads before calling state_change on the childs.
10320         This is to avoid the case where a src ghostpad is blocked (holding the
10321         stream lock), which would block the deactivation of the ghostpad's
10322         target pad.
10323         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10324         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10325         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10326         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10327         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10328         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10329         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10330         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10331         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10332         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10333         (gst_ghost_pad_class_init),
10334         (gst_ghost_pad_internal_do_activate_push),
10335         (gst_ghost_pad_internal_do_activate_pull),
10336         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10337         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10338         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10339         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10340         GhostPads now create their internal GstProxyPad at creation (and not
10341         when they're linked, as it was being done previously).
10342         The internal and target pads are linked straight away.
10343         The data will also travel through the other pad in order to make
10344         pad blocking and probes non-hackish (the probe/block now really happens
10345         on the GhostPad and not on the target).
10346         * gst/gstpad.c: (gst_pad_set_blocked_async),
10347         (gst_pad_link_prepare), (gst_pad_push_event):
10348         Remove previous ghostpad cruft.
10349         * gst/gstutils.c: (gst_pad_add_data_probe),
10350         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10351         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10352         (gst_pad_remove_buffer_probe):
10353         Remove previous ghost pad cruft.
10354         Added more detailed debug statements.
10355         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10356         Fix the testsuite for refcounting changes.
10357         The comments about who has references were correct, but the refcount
10358         being checked wasn't the same (!?!).
10359
10360         Fixes #341029
10361
10362 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10363
10364         * docs/gst/gstreamer-sections.txt:
10365         * gst/gstconfig.h.in:
10366         More docs for configuration options, add docs to gtk-doc.
10367
10368 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10369
10370         * gst/Makefile.am:
10371         * gst/gstconfig.h.in:
10372         * win32/common/config.h:
10373         Fix build when disabling tracing (fixes #344016). Also start to document
10374         the defines that disable the sub-systems.
10375
10376 2006-07-10  Edward Hervey  <edward@fluendo.com>
10377
10378         * gst/gst.c: (ensure_current_registry_forking):
10379         let's make valgrind happy...
10380
10381 2006-07-09  Wim Taymans  <wim@fluendo.com>
10382
10383         * gst/gstelement.c: (activate_pads),
10384         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10385         Better pad activation code: Reset the collect value too on resync.
10386         Add some comments.
10387
10388 2006-07-09  Wim Taymans  <wim@fluendo.com>
10389
10390         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10391         (gst_pad_activate_push):
10392         Use some more macros where it makes sense.
10393         Allow pad mode switching instead of asserting. When a pad
10394         is activated in one mode and we activate it in another, 
10395         deactivate it first before activating it in a different mode.
10396         Fixes #329198.
10397
10398 2006-07-08  Andy Wingo  <wingo@pobox.com>
10399
10400         * tools/gst-launch.c (main): Handle err == NULL.
10401
10402         * gst/gst.c (init_post, ensure_current_registry)
10403         (ensure_current_registry_forking)
10404         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10405         factoring out the registry scanning into separate functions. Don't
10406         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10407         Better environment var name/interface suggestions accepted.
10408
10409 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10410
10411         * gst/gstobject.c: (gst_object_set_name_default),
10412         (gst_object_set_name):
10413           Random micro-optimisation: don't use a hash table
10414           with strings as keys and the usual strdup/strcmp
10415           involved, but rather just use the GQuark of the
10416           type name as key, since it needs to be looked up
10417           anyway to get the type name string.
10418
10419         * tests/check/gst/gstobject.c: (GST_START_TEST):
10420           Fix various leaks.
10421
10422 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10423
10424         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10425         (gst_bin_iterate_all_by_interface):
10426           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10427           GTypes are gulongs and thus the top 4 bytes might be cut
10428           off on some platforms when doing GPOINTER_TO_INT, leading
10429           to invalid GTypes and bad things happening (see RH bug #179654).
10430           Also add a check to make sure the type passed in is really
10431           an interface type.
10432
10433 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10434
10435         * .cvsignore:
10436           Ignore more.
10437
10438 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10439
10440         * Makefile.am:
10441         * configure.ac:
10442         * gst-element-check.m4:
10443         * gst-element-check.m4.in:
10444           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10445           instead of the unversioned gst-inspect (#324176, #168659).
10446
10447 2006-07-06  Wim Taymans  <wim@fluendo.com>
10448
10449         * gst/gstmessage.h:
10450         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10451         warnings.
10452
10453 2006-07-06  Wim Taymans  <wim@fluendo.com>
10454
10455         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10456         (gst_base_src_wait), (gst_base_src_update_length),
10457         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10458         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10459         (gst_base_src_loop), (gst_base_src_start),
10460         (gst_base_src_activate_pull):
10461         Update docs.
10462         blocksize == 0 now means the default blocksize when working in push
10463         based mode.
10464         Remove some pointless asserts in _wait function.
10465         Fix offset/length calculations and EOS handling. We can now pull 0
10466         bytes as well, which is allowed.
10467         use _check_get_range() to decide if we can operate in _pull based
10468         mode.
10469         Fix refcounting leak when check_get_range function was not 
10470         implemented.
10471         API GstBaseSrc::blocksize range can be 0 too now (default)
10472
10473         * tests/check/elements/filesrc.c: (GST_START_TEST),
10474         (filesrc_suite):
10475         Added check to test _get_range() behaviour.
10476
10477 2006-07-06  Wim Taymans  <wim@fluendo.com>
10478
10479         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10480         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10481         (gst_pad_pull_range):
10482         * gst/gstpad.h:
10483         Lots of comments and docs added to the pad functions.
10484         Flesh out the expected behaviour of the get_range() functions.
10485
10486 2006-07-06  Wim Taymans  <wim@fluendo.com>
10487
10488         * gst/gstbus.h:
10489         * gst/gstclock.h:
10490         * gst/gstevent.h:
10491         * gst/gstiterator.h:
10492         * gst/gstpad.h:
10493         * gst/gstplugin.h:
10494         * gst/gsttask.h:
10495         Remove comma at end of enumerator list. 
10496
10497 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
10498
10499         * win32/common/libgstbase.def:
10500         * win32/common/libgstdataprotocol.def:
10501         * win32/common/libsgtreamer.def:
10502         Add new exported functions.
10503
10504 2006-07-05  Wim Taymans  <wim@fluendo.com>
10505
10506         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10507         Add some more docs here and there.
10508
10509 2006-07-05  Wim Taymans  <wim@fluendo.com>
10510
10511         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10512         (gst_base_sink_loop), (gst_base_sink_get_position):
10513         When operating in pull mode update the offset so that we
10514         read sequentially.
10515
10516 2006-07-05  Wim Taymans  <wim@fluendo.com>
10517
10518         * gst/gstregistryxml.c: (read_string):
10519         Avoid strdup. (will happen in libxml, but hey!)
10520
10521         * gst/gsturi.c:
10522         Add some more docs.
10523
10524 2006-07-05  Wim Taymans  <wim@fluendo.com>
10525
10526         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10527         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10528         (gst_buffer_suite):
10529         No point in checking if the size of the subbuffer > 0, the
10530         code handles it correclty as demonstrated by unit test.
10531         Also add a unit test for the zero sized _new_and_alloc and
10532         _copy. Fixes #346663.
10533
10534 2006-07-05  Wim Taymans  <wim@fluendo.com>
10535
10536         * libs/gst/base/gstbasetransform.c:
10537         (gst_base_transform_prepare_output_buffer),
10538         (gst_base_transform_buffer_alloc),
10539         (gst_base_transform_handle_buffer):
10540         Make sure the buffer we pass to transform_ip has a refcount of
10541         1 and thus is writable. Fixes #343196
10542
10543 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
10544
10545         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10546         (gst_file_src_init), (gst_file_src_set_property),
10547         (gst_file_src_get_property), (gst_file_src_map_region):
10548         * plugins/elements/gstfilesrc.h:
10549         Add "sequential" property, off by default, to use madvise and hint
10550         to the kernel that sequential access is desired.
10551         Touch all retrieved pages by default to ensure they are pulled
10552         into memory. (Closes #345720)
10553
10554 2006-07-03  Wim Taymans  <wim@fluendo.com>
10555
10556         * docs/design/part-block.txt:
10557         * docs/design/part-dynamic.txt:
10558         Small docs updates.
10559
10560 2006-07-03  Wim Taymans  <wim@fluendo.com>
10561
10562         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10563         (gst_caps_unref), (gst_static_caps_get),
10564         (gst_caps_append_structure):
10565         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10566         Use GSlice when the glib we build against is >= 2.10
10567
10568 2006-07-03  Wim Taymans  <wim@fluendo.com>
10569
10570         * gst/gstelement.c: (gst_element_pads_activate):
10571         Small cleanup in pad activation code.
10572
10573 2006-07-03  Wim Taymans  <wim@fluendo.com>
10574
10575         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10576
10577         * gst/gst-i18n-app.h:
10578         * gst/gst-i18n-lib.h:
10579         * tools/gst-inspect.c: (print_signal_info):
10580         The attached patch will make the inclusion of gettext.h unconditional in
10581         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10582         libintl.h in tools/gst-inspect.c.
10583         This allows use of --disable-nls again and fixes #344642.
10584
10585 2006-07-03  Edward Hervey  <edward@fluendo.com>
10586
10587         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10588         Implement pad blocking on events according to part-block.txt.
10589         More comments on behaviour.
10590         * tests/check/gst/gstevent.c: (test_event):
10591         Send event to peer pad of blocked pad (else it will block).
10592
10593 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10594
10595         * libs/gst/check/gstcheck.c: (gst_check_message_error),
10596         (gst_check_run_suite):
10597           if we get the wrong message, give us the types as string
10598         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10599           Fix a translatable
10600         * tests/check/elements/filesrc.c: (GST_START_TEST):
10601           add a test for trying to open a non-existing file
10602
10603 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10604
10605         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10606           add a test for adding self
10607
10608 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10609
10610         * libs/gst/check/gstcheck.h:
10611           add some assert_ as alias for fail_unless_*
10612         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10613           increase test coverage
10614
10615 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10616
10617         * Makefile.am:
10618           include lcov.mak for lcov coverage generation
10619         * tools/Makefile.am:
10620           add to CLEANFILES
10621
10622 2006-07-02  Edward Hervey  <edward@fluendo.com>
10623
10624         * tests/check/elements/.cvsignore:
10625         moaping
10626
10627 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10628
10629         * configure.ac:
10630           don't set CFLAGS and friends for gcov, done from GST_GCOV now
10631         * tests/check/Makefile.am:
10632           clean up gcov files
10633
10634 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10635
10636         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10637           remove gst_caps_simplify; it was not declared and not used
10638           and deprecated in 0.8
10639
10640 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10641
10642         * docs/faq/gst-uninstalled:
10643           don't put empty paths on PYTHONPATH
10644         * docs/gst/gstreamer-sections.txt:
10645           remove some symbols that are not there
10646
10647 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10648
10649         * gst/gstcaps.c: (gst_caps_compare_structures):
10650           whitespace fixes
10651         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10652         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10653           add more tests
10654
10655 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10656
10657         * libs/gst/dataprotocol/Makefile.am:
10658           build dataprotocol test by linking to the lib, instead of
10659           compiling the source, so we get coverage
10660         * tests/check/Makefile.am:
10661         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10662         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10663           add a test for filesrc
10664
10665 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10666
10667         * tests/check/gst/gststructure.c: (GST_START_TEST),
10668         (gst_structure_suite):
10669           Push coverage from 59.04% to 70.00%
10670
10671 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10672
10673         * tests/check/Makefile.am:
10674           gst-inspect every element; this makes sure that we also get
10675           coverage on element's get/set functions
10676
10677 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10678
10679         * configure.ac:
10680           set CFLAGS and friends to -O0 if gcov is being used
10681           add GCOV LIBS
10682         * gst/Makefile.am:
10683         * libs/gst/base/Makefile.am:
10684         * libs/gst/check/Makefile.am:
10685         * libs/gst/controller/Makefile.am:
10686         * libs/gst/dataprotocol/Makefile.am:
10687         * libs/gst/net/Makefile.am:
10688         * plugins/elements/Makefile.am:
10689         * plugins/indexers/Makefile.am:
10690           add makefile rules to generate gcov data and clean up
10691         * tests/check/Makefile.am:
10692           add a coverage target that generates an html overview
10693           of coverage data
10694
10695 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10696
10697         * tests/check/elements/fakesink.c:
10698         * tests/check/elements/fakesrc.c:
10699         * tests/check/elements/fdsrc.c:
10700         * tests/check/elements/identity.c:
10701         * tests/check/generic/sinks.c: (gst_sinks_suite):
10702         * tests/check/generic/states.c:
10703         * tests/check/gst/gst.c:
10704         * tests/check/gst/gstabi.c:
10705         * tests/check/gst/gstbin.c:
10706         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10707         * tests/check/gst/gstbus.c: (gst_bus_suite):
10708         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10709         * tests/check/gst/gstelement.c:
10710         * tests/check/gst/gstevent.c: (gst_event_suite):
10711         * tests/check/gst/gstghostpad.c:
10712         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10713         * tests/check/gst/gstmessage.c: (gst_message_suite):
10714         * tests/check/gst/gstminiobject.c:
10715         * tests/check/gst/gstobject.c:
10716         * tests/check/gst/gstpad.c:
10717         * tests/check/gst/gstpipeline.c:
10718         * tests/check/gst/gstplugin.c:
10719         * tests/check/gst/gstquery.c: (gst_query_suite):
10720         * tests/check/gst/gstsegment.c: (gst_segment_suite):
10721         * tests/check/gst/gststructure.c:
10722         * tests/check/gst/gstsystemclock.c:
10723         * tests/check/gst/gsttag.c:
10724         * tests/check/gst/gsttask.c: (gst_task_suite):
10725         * tests/check/gst/gstutils.c:
10726         * tests/check/gst/gstvalue.c:
10727         * tests/check/libs/adapter.c:
10728         * tests/check/libs/basesrc.c:
10729         * tests/check/libs/collectpads.c:
10730         * tests/check/libs/controller.c:
10731         * tests/check/libs/gdp.c: (gst_dp_suite):
10732         * tests/check/libs/gstnetclientclock.c:
10733         * tests/check/libs/gstnettimeprovider.c:
10734         * tests/check/libs/libsabi.c: (libsabi_suite):
10735         * tests/check/libs/typefindhelper.c:
10736         * tests/check/pipelines/cleanup.c:
10737         * tests/check/pipelines/parse-launch.c:
10738         * tests/check/pipelines/simple-launch-lines.c:
10739         * tests/check/pipelines/stress.c: (stress_suite):
10740           use the new macro
10741
10742 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10743
10744         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10745         * libs/gst/check/gstcheck.h:
10746           create a macro and function so that the simple unit test
10747           case can be just one macro to create main()
10748
10749 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
10750
10751         * gst/gstbin.c: (gst_bin_restore_thyself):
10752         * gst/gstxml.c: (gst_xml_make_element):
10753           Fix deserialisation from XML. Set parent manually
10754           instead of using gst_bin_add(), since gst_bin_add()
10755           will unlink all pads of the element being added.
10756           Fixes #341667.
10757
10758 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         Patch by: Peter Kjellerstedt <pkj at axis com>
10761
10762         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10763           Fix missing g_strdup() and double free when using the
10764           --gst-plugin-load command line option (#346097).
10765
10766 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * gst/gstinfo.c:
10769           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10770
10771         * libs/gst/net/gstnetclientclock.c:
10772         * libs/gst/net/gstnettimeprovider.c:
10773           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10774
10775 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10776
10777         * docs/manual/advanced-dataaccess.xml:
10778           Fix buffer probe example compilation in
10779           ADM (#345708).
10780         
10781 2006-06-22  Edward Hervey  <edward@fluendo.com>
10782
10783         * gst/gstelement.c: (gst_element_pads_activate):
10784         We need to deactivate src pads first and then sink pads.
10785         The reason is the src pads might be blocking while holding the streaming
10786         lock, so we need to deactivate them first so that deactivating the sink
10787         pads doesn't block (since it will require the streaming lock).
10788
10789 2006-06-22  Wim Taymans  <wim@fluendo.com>
10790
10791         * libs/gst/base/gstbasetransform.c:
10792         (gst_base_transform_buffer_alloc):
10793         Forgot to remove two unneeded unrefs.
10794         Simplify a check _is_equal allready checks the obvious case.
10795
10796 2006-06-22  Wim Taymans  <wim@fluendo.com>
10797
10798         * docs/design/part-block.txt:
10799         Some docs about what pad_block should do.
10800
10801 2006-06-22  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/gstcaps.c: (gst_caps_replace):
10804         Fix crasher when passed NULL. Doc clarification.
10805         Optimize for the trivial case.
10806
10807         * gst/gstpipeline.c: (gst_pipeline_change_state):
10808         Small cleanups.
10809
10810         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10811         Small documentation cleanup.
10812
10813         * libs/gst/base/gstbasetransform.c:
10814         (gst_base_transform_buffer_alloc):
10815         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10816         is what we need and it avoids a whole lot of redundant 
10817         refcount operations.
10818
10819 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
10820
10821         Patch by: Philip Jägenstedt  <philip at lysator liu se>
10822
10823         * docs/manual/advanced-dataaccess.xml:
10824           Fix 'Embedding static elements' section to use
10825           GST_PLUGIN_DEFINE_STATIC (#345607).
10826
10827 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10830           Attempt to 'fix' spuriously failing test case: it seems like the
10831           timeout of half a second is simply too small when the system is under
10832           load otherwise, and the timeout doesn't really seem to serve any
10833           particular purpose here. Give the pipeline a few seconds to preroll
10834           first, and then give it another half a second to go from PAUSED to
10835           PLAYING and marshal the message into the main thread.
10836
10837 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10838
10839         * tools/gst-feedback-m.m:
10840           Don't only use unversioned tools, try versioned tools as well
10841           (#345086).
10842
10843 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10844
10845         * gst/gstbus.c: (gst_bus_class_init):
10846           Fix some typos, make docs more explicit.
10847
10848 2006-06-20  Wim Taymans  <wim@fluendo.com>
10849
10850         * tests/check/gst/gstghostpad.c: (block_callback),
10851         (GST_START_TEST), (gst_ghost_pad_suite):
10852         Added some more ghostpad tests, mainly blocking
10853         and probes.
10854
10855 2006-06-16  Wim Taymans  <wim@fluendo.com>
10856
10857         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10858         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10859         (gst_file_sink_event), (gst_file_sink_render):
10860         * plugins/elements/gstfilesink.h:
10861         Check if we can seek in the file instead of assuming
10862         we always can. Post an error when we are asked to seek in a
10863         non-seekable file (like a fifo). Fixes #343312.
10864         Some cleanups.
10865
10866 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * tools/gst-launch.1.in:
10869           Un-garble (fourcc) bit in filtered caps section.
10870
10871 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * docs/manual/advanced-autoplugging.xml:
10874         * docs/manual/basics-helloworld.xml:
10875         * docs/manual/highlevel-components.xml:
10876           Don't leak bus reference in sample code.
10877
10878 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * autogen.sh:
10881           Add default for new --enable-plugin-docs switch.
10882
10883         * configure.ac:
10884           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10885           Fixes #344039.
10886
10887         * docs/Makefile.am:
10888           Use new ENABLE_PLUGIN_DOCS conditional.
10889
10890 2006-06-14  Wim Taymans  <wim@fluendo.com>
10891
10892         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10893         Make it clear with a FIXME and a real define what the #if 0
10894         previously disabled.
10895
10896 2006-06-14  Wim Taymans  <wim@fluendo.com>
10897
10898         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10899         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10900         * libs/gst/base/gstbasetransform.c:
10901         (gst_base_transform_sink_eventfunc):
10902         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10903         Don't randomly and silently reset a segment when the format 
10904         changes as this is a bug somewhere upstream. Fixes #330379.
10905
10906 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10907
10908         Patch by: Wouter Paesen  <wouter at kangaroot net>
10909
10910         * libs/gst/controller/gstcontroller.c:
10911         (gst_controlled_property_new):
10912           Fix controlling of float properties (#344849).
10913
10914         * tests/check/libs/controller.c:
10915         (gst_test_mono_source_get_property),
10916         (gst_test_mono_source_set_property),
10917         (gst_test_mono_source_class_init), (GST_START_TEST):
10918           While we're at it, add some float stuff to unit test.
10919
10920 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10921
10922         * docs/README:
10923         * docs/images/gdp-header.svg:
10924           add a gdp image
10925         * docs/libs/Makefile.am:
10926         * docs/libs/gdp-header.png:
10927         * libs/gst/dataprotocol/dataprotocol.c:
10928           add it to the API docs
10929         * docs/manual/intro-motivation.xml:
10930           fix typo
10931
10932 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10933
10934         * gst/gst.c: (scan_and_update_registry), (init_post):
10935           If the fork()'ed child process can't write the updated registry cache
10936           file to disk for some reason, make it exit with a failure exit code,
10937           so that the parent can then re-scan the plugins itself and update the
10938           registry structures in memory and work with that (rather than failing
10939           when creating elements because seemingly no plugins are available).
10940           Refactor registry scanning code into separate function for this and
10941           also separate fork() and non-fork() code paths. Fixes #344748.
10942
10943 2006-06-13  Wim Taymans  <wim@fluendo.com>
10944
10945         * docs/manual/advanced-dataaccess.xml:
10946         Fix wrong PluginDesc. Fixes #344755.
10947
10948 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10949
10950         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10951           Fix silly bug that prevented us from creating
10952           ~/.gstreamer-0.10 and writing the registry in one
10953           go (the first call to g_mkstemp() would overwrite the
10954           placeholder in the template string, so the second call
10955           to g_mkstemp() after creating the missing directory
10956           would then error out with 'invalid argument').
10957
10958 2006-06-13  Edward Hervey  <edward@fluendo.com>
10959
10960         * gst/gst.c: (init_post):
10961         Free string.
10962
10963 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10964
10965         * gst/glib-compat-private.h:
10966         * gst/glib-compat.c:
10967         * gst/glib-compat.h:
10968         * gst/gstvalue.c: (gst_value_serialize_flags):
10969           remove GLib 2.6 compatibility code
10970
10971 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10972
10973         * gst/parse/Makefile.am:
10974           Fix build with 'make -j N' even more (#340016).
10975
10976 2006-06-12  Wim Taymans  <wim@fluendo.com>
10977
10978         * docs/gst/gstreamer-sections.txt:
10979         Fix docs.
10980
10981 2006-06-12  Wim Taymans  <wim@fluendo.com>
10982
10983         * gst/gstsegment.c: (gst_segment_set_duration),
10984         (gst_segment_set_last_stop), (gst_segment_set_seek),
10985         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10986         (gst_segment_to_running_time), (gst_segment_clip):
10987         Use G_UNLIKELY to help the compiler a bit.
10988
10989 2006-06-12  Wim Taymans  <wim@fluendo.com>
10990
10991         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10992
10993         * gst/gstevent.c: (gst_event_get_type):
10994         * gst/gstmessage.c:
10995         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10996         (gst_pad_push):
10997         constify quark registration strings. Fixes #344115
10998         Avoid unneeded type checking is _pad_push() by internally
10999         calling gst_pad_chain_unchecked().
11000
11001 2006-06-12  Wim Taymans  <wim@fluendo.com>
11002
11003         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
11004         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
11005         (gst_subbuffer_finalize), (gst_buffer_create_sub),
11006         (gst_buffer_is_span_fast), (gst_buffer_span):
11007         Init _type for consistency.
11008         Use _FLAGS macro to avoid type check.
11009         Avoid unneeded type checks in subbufer code.
11010
11011 2006-06-12  Wim Taymans  <wim@fluendo.com>
11012
11013         * gst/gst.c: (gst_debug_help):
11014         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
11015         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11016         (gst_plugin_feature_list_free):
11017         * gst/gstregistry.c: (gst_registry_add_plugin),
11018         (gst_registry_add_feature), (gst_registry_plugin_filter),
11019         (gst_registry_feature_filter), (gst_registry_find_plugin),
11020         (gst_registry_find_feature), (gst_registry_get_plugin_list),
11021         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
11022         * gst/gstregistryxml.c: (load_feature),
11023         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
11024         * gst/gstminiobject.c: (gst_mini_object_unref),
11025         (gst_mini_object_replace), (gst_value_mini_object_free),
11026         (gst_value_mini_object_copy):
11027         Use _CAST macros to avoid unneeded type checking.
11028         Added some more G_UNLIKELY.
11029
11030 2006-06-12  Wim Taymans  <wim@fluendo.com>
11031
11032         * gst/gstbuffer.h:
11033         Avoid unneeded type checking.
11034         API: GST_BUFFER_IS_DISCONT
11035
11036         * gst/gstminiobject.h:
11037         Avoid type check in flag accessor.
11038
11039         * gst/gstelementfactory.h:
11040         * gst/gstplugin.h:
11041         * gst/gstpluginfeature.h:
11042         Add _CAST macros.
11043         API: GST_ELEMENT_FACTORY_CAST
11044         API: GST_PLUGIN_CAST
11045         API: GST_PLUGIN_FEATURE_CAST
11046
11047 2006-06-12  Wim Taymans  <wim@fluendo.com>
11048
11049         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
11050         (gst_object_unref):
11051         Add G_UNLIKELY in type registration.
11052         Avoid type check in _ref/_unref since that is also
11053         done in glib.
11054
11055 2006-06-12  Wim Taymans  <wim@fluendo.com>
11056
11057         * gst/gsterror.c: (gst_g_error_get_type):
11058         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11059         (gst_static_pad_template_get_type):
11060         * gst/gsttaglist.c: (gst_tag_list_get_type):
11061         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
11062         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
11063         * gst/gsturi.c: (gst_uri_handler_get_type):
11064         * gst/gstvalue.c: (gst_date_get_type):
11065         * gst/gstxml.c: (gst_xml_get_type):
11066         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
11067         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11068         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
11069         Add G_UNLIKELY in type registration.
11070
11071 2006-06-12  Wim Taymans  <wim@fluendo.com>
11072
11073         * tools/gst-inspect.c: (print_signal_info):
11074         Properly print enum values.
11075
11076 2006-06-12  Wim Taymans  <wim@fluendo.com>
11077
11078         * gst/gstinfo.c: (gst_debug_set_active),
11079         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
11080         * gst/gstinfo.h:
11081         Add some G_[UN]LIKELY.
11082         Maintain __gst_debug_min to avoid formatting the arguments of
11083         debug messages that will be dropped anyway to avoid a lot of 
11084         overhead from the debugging system.
11085
11086 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11087
11088         * po/POTFILES.in:
11089         * po/POTFILES.skip:
11090           add missing files containing translatable strings, tell intltool about
11091           one exception
11092
11093 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11094
11095         * tests/check/libs/.cvsignore:
11096         add test-binary to ignore list
11097
11098 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11099
11100         * docs/libs/gstreamer-libs-docs.sgml:
11101         reorder (put dp into a chapter) and indent
11102
11103 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11104
11105         * configure.ac:
11106           back to HEAD
11107
11108 === release 0.10.8 ===
11109
11110 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
11111
11112         * configure.ac:
11113           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
11114
11115 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11116
11117         * gst/gst.c: (init_post):
11118           move pid declaration to declaration block
11119
11120 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11121
11122         * gst/gst.c: (init_post):
11123           use _exit() instead of exit() in our forked child; this ensures
11124           that none of the registered exit handlers from whatever is using
11125           GStreamer get executed.  This fixes gnome-mixer-applet failing
11126           to load, because ORBit would shut down.
11127           Spotted by: Edward Hervey  <edward@fluendo.com>
11128           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
11129           Fixes #344474
11130
11131 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11132
11133         * configure.ac:
11134           back to TRUNK
11135
11136 === release 0.10.7 ===
11137
11138 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
11139
11140         * configure.ac:
11141           releasing 0.10.7, "Soepeke, ik zie ou"
11142
11143 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11144
11145         * configure.ac:
11146         * po/af.po:
11147         * po/az.po:
11148         * po/bg.po:
11149         * po/ca.po:
11150         * po/cs.po:
11151         * po/de.po:
11152         * po/en_GB.po:
11153         * po/fr.po:
11154         * po/it.po:
11155         * po/nb.po:
11156         * po/nl.po:
11157         * po/ru.po:
11158         * po/sq.po:
11159         * po/sr.po:
11160         * po/sv.po:
11161         * po/tr.po:
11162         * po/uk.po:
11163         * po/vi.po:
11164         * po/zh_CN.po:
11165         * po/zh_TW.po:
11166         * win32/common/config.h:
11167           0.10.6.2 prerelease
11168
11169 2006-06-07  Wim Taymans  <wim@fluendo.com>
11170
11171         * gst/gstindex.c: (gst_index_gtype_resolver):
11172         * tools/gst-xmlinspect.c: (print_plugin_info):
11173         Fix leak spotted by coverity checker. Fixes #343827
11174         Fix another other leak found by paolo borelli.
11175
11176 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11177
11178         * libs/gst/dataprotocol/dataprotocol.c:
11179         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11180         (gst_dp_version_get_type), (gst_dp_init),
11181         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
11182         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
11183         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
11184         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
11185         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
11186         (gst_dp_packetizer_free):
11187         * libs/gst/dataprotocol/dataprotocol.h:
11188           API: add a GstDPPacketizer object, and create/free functions
11189           API: add GstDPVersion enum
11190           Add 1.0 event function that uses the string serialization
11191           Serialize more useful buffer flags
11192           Fixes #343988
11193
11194 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11195
11196         * tests/check/Makefile.am:
11197         * tests/check/gst/gstabi.c:
11198         * tests/check/gst/struct_ppc64.h:
11199         * tests/check/libs/libsabi.c:
11200         * tests/check/libs/struct_ppc64.h:
11201           add ppc64 structure sizes
11202
11203 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11204
11205         * tests/check/Makefile.am:
11206         * tests/check/gst/gstabi.c:
11207         * tests/check/gst/struct_x86_64.h:
11208         * tests/check/libs/libsabi.c:
11209         * tests/check/libs/struct_x86_64.h:
11210           generate and add structure size lists for x86_64
11211
11212 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11213
11214         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
11215         * libs/gst/check/gstcheck.h:
11216           factor out the method from tests that checks size of structures,
11217           and add code to generate the header containing these sizes
11218         * tests/check/gst/gstabi.c: (GST_START_TEST):
11219         * tests/check/gst/struct_i386.h:
11220         * tests/check/libs/libsabi.c: (GST_START_TEST):
11221         * tests/check/libs/struct_i386.h:
11222           use it
11223
11224 2006-06-06  Michael Smith  <msmith@fluendo.com>
11225
11226         * gst/gstsegment.h:
11227           Don't use c++-style comments, fixes #343929
11228
11229 2006-06-05  Edward Hervey  <edward@fluendo.com>
11230
11231         * gst/gst.c:
11232         plugin_paths is not used if we build without registry support.
11233
11234         * gst/gstsegment.c: (gst_segment_copy): 
11235         _copy() was always returning NULL...
11236
11237 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11238
11239         * libs/gst/dataprotocol/dataprotocol.c:
11240         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11241         (gst_dp_packet_from_event):
11242           factor out CRC code
11243
11244 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11245
11246         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11247           make sure we unset caps
11248
11249 2006-06-02  Michael Smith  <msmith@fluendo.com>
11250
11251         * libs/gst/check/gstcheck.c: (gst_check_init),
11252         (gst_check_chain_func):
11253         * libs/gst/check/gstcheck.h:
11254           Add a cond/mutex to the check support lib, signal this whenever we
11255           add to the buffers list. This will allow tests to not busy-wait on
11256           the buffer-list.
11257
11258 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11259
11260         * libs/gst/dataprotocol/dataprotocol.c:
11261         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11262         (gst_dp_packet_from_event):
11263           factor out some common header init code
11264
11265 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11266
11267         * docs/libs/gstreamer-libs-sections.txt:
11268         * docs/libs/tmpl/gstdataprotocol.sgml:
11269         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11270         * libs/gst/dataprotocol/dataprotocol.h:
11271           API: make gst_dp_crc() public
11272
11273 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11274
11275         * plugins/indexers/gstindexers.c: (plugin_init):
11276         conditionally register fileindexer (fixes #343598)
11277
11278 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11279
11280         * gst/gsttagsetter.h:
11281         Can't cast ifaces to a class
11282
11283         * libs/gst/net/gstnetclientclock.h:
11284         * libs/gst/net/gstnettimeprovider.h:
11285         * plugins/elements/gstfakesink.h:
11286         * plugins/elements/gstfakesrc.h:
11287         * plugins/elements/gstfdsink.h:
11288         * plugins/elements/gstfdsrc.h:
11289         * plugins/elements/gstfilesink.h:
11290         * plugins/elements/gstfilesrc.h:
11291         * plugins/elements/gstidentity.h:
11292         * plugins/elements/gstqueue.h:
11293         * plugins/elements/gsttee.h:
11294         * plugins/indexers/gstfileindex.c:
11295         * plugins/indexers/gstmemindex.c:
11296         * tests/old/examples/plugins/example.h:
11297         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11298
11299 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11300
11301         * libs/gst/dataprotocol/dataprotocol.c:
11302         (gst_dp_header_from_buffer):
11303           make sure we zero the whole ABI-compatible area
11304
11305 2006-06-01  Wim Taymans  <wim@fluendo.com>
11306
11307         Patch by: Alessandro Decina <alessandro at nnva dot org>
11308
11309         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11310         Make sure the EOS flag is cleared from pads after a flush
11311         or stop. Fixes #343538.
11312
11313         * tests/check/libs/collectpads.c: (GST_START_TEST),
11314         (gst_collect_pads_suite):
11315         Added test for collectpads reusage after EOS.
11316
11317 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
11318
11319         * gst/gst.c:
11320          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11321         * win32/common/libgstbase.def:
11322          export gst_collect_pads_set_flushing
11323         * win32/common/libgstreamer.def:
11324          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11325          gst_value_fraction_multiply
11326         * win32/vs6/gst_inspect.dsp:
11327          add a link to intl.lib
11328
11329 2006-05-30  Wim Taymans  <wim@fluendo.com>
11330
11331         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11332         (gst_collect_pads_chain):
11333         Handle the case where a pad is removed from the collection
11334         that could cause the other pads to become collectable.
11335
11336 2006-05-30  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstelement.c:
11339         Clarify the use of _release_request_pad() and
11340         _get_request_pad() a bit better.
11341
11342         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11343         (gst_adapter_take_buffer):
11344         Fix some doc and comment typos.
11345
11346 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11347
11348         * docs/gst/gstreamer-sections.txt:
11349         * docs/libs/gstreamer-libs-sections.txt:
11350           add declared symbols
11351
11352 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
11353
11354         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11355         Add debug that can be enabled using a #define at the top of the file,
11356         for dumping stats about how late/early we were when waking up from
11357         waiting on the clock.
11358
11359 2006-05-30  Wim Taymans  <wim@fluendo.com>
11360
11361         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11362         When rebuilding the pad list, don't leak the previous list.
11363
11364 2006-05-30  Wim Taymans  <wim@fluendo.com>
11365
11366         Patch by: Lutz Mueller <lutz at topfrose dot de>
11367
11368         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11369         (gst_base_src_get_query_types), (gst_base_src_update_length):
11370         Publish supported query types.
11371         Update last_stop field in get_range mode so the position
11372         query works. Fixes #342321.
11373
11374 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
11375
11376         * docs/gst/gstreamer-sections.txt:
11377         * gst/gsttaglist.c: (_gst_tag_initialize):
11378         * gst/gsttaglist.h:
11379           API: add GST_TAG_PREVIEW_IMAGE (#343341).
11380
11381 2006-05-30  Wim Taymans  <wim@fluendo.com>
11382
11383         Patch by: Alessandro Decina <alessandro at nnva dot org>
11384
11385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11386         Unlock mutex when removing an unknown pad.
11387         Fixes #343334.
11388
11389         * tests/check/Makefile.am:
11390         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11391         (push_event), (setup), (teardown), (GST_START_TEST),
11392         (gst_collect_pads_suite), (main):
11393         Added collecpads check, disabled for now as check crashes for
11394         some reason.
11395
11396 2006-05-29  Wim Taymans  <wim@fluendo.com>
11397
11398         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11399         Don't leak pads lists.
11400
11401 2006-05-29  Wim Taymans  <wim@fluendo.com>
11402
11403         * docs/libs/gstreamer-libs-sections.txt:
11404         * libs/gst/base/gstcollectpads.c:
11405         (gst_collect_pads_set_flushing_unlocked),
11406         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11407         (gst_collect_pads_stop):
11408         * libs/gst/base/gstcollectpads.h:
11409         API: gst_collect_pads_set_flushing()
11410         Added api to set the pads to flushing, useful for seeking
11411         code in elements using collectpads.
11412         Clear segment when receiving a flush.
11413
11414 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
11415
11416         * gst/gst.c: (add_path_func), (init_post):
11417           Don't scan registry paths passed via --gst-plugin-path immediately
11418           (will crash, because absolutely nothing is set up and no types are
11419           registered etc.); do this later in init_post(). Fixes #343057.
11420
11421 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11422
11423         * gst/gst.c: (init_post):
11424           if we have fork, fork while reading/rebuilding the registry
11425           so the parent doesn't take the hit of having all plugins loaded
11426           in memory.  Fixes #342777.
11427         * configure.ac:
11428           Check if we have fork()
11429         * win32/common/config.h.in:
11430           no fork() on win32
11431
11432 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11433
11434         * plugins/elements/gstelements.c:
11435         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11436         (gst_file_src_init), (gst_file_src_set_property),
11437         (gst_file_src_get_property), (gst_file_src_start):
11438         * plugins/elements/gstfilesrc.h:
11439           API: GstFileSrc::use-mmap
11440
11441         Add a use-mmap property to enable easier testing of all code paths.
11442         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11443         in the absence of gnomevfssrc. (Closes #340501)
11444
11445 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11446
11447         * tools/gst-inspect.c:
11448         Add missing include, removes warning of ngettext not being defined on
11449         some arches.
11450
11451 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11452
11453         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11454         Handle NULL input and output pointers silently as a failed conversion,
11455         rather than g_warnings.
11456
11457 2006-05-25  Wim Taymans  <wim@fluendo.com>
11458
11459         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11460         Initialize variable before using. Fixes #342820.
11461
11462 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
11463
11464         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11465           Fix off-by-one bug that would only allow peeks of N-1 bytes
11466           from the start even if the buffer to typefind on contains
11467           in fact N bytes of data (makes vorbis typefinding from a
11468           vorbis identification header buffer work).
11469
11470         * tests/check/Makefile.am:
11471         * tests/check/libs/.cvsignore:
11472         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11473         (gst_typefindhelper_suite), (main), (foobar_typefind),
11474         (plugin_init):
11475           Add very basic unit test for gst_type_find_helper_for_buffer()
11476           that checks for the problem fixed above.
11477
11478 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11479
11480         * tools/gst-inspect.c: (print_interfaces),
11481         (print_element_properties_info), (print_element_list), (main):
11482           add more translatable strings
11483
11484 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
11485
11486         Patch by: Julien Moutte  <julien at moutte net>
11487
11488         * docs/gst/gstreamer-sections.txt:
11489           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11490           
11491         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11492         (gst_fake_sink_preroll):
11493         * plugins/elements/gstfakesink.h:
11494           API: Add new GstFakeSink::preroll-handoff signal (#337100).
11495
11496 2006-05-23  Wim Taymans  <wim@fluendo.com>
11497
11498         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11499         * gst/gstpad.h:
11500         Added _CUSTOM error and success GstFlowReturn that can be
11501         used be elements internally. 
11502         Added macro to check for SUCCESS flowreturns.
11503         API: GST_FLOW_CUSTOM_SUCCESS
11504         API: GST_FLOW_CUSTOM_ERROR
11505         API: GST_FLOW_IS_SUCCESS
11506
11507         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11508         Added check for GstFlowReturn sanity.
11509
11510 2006-05-23  Wim Taymans  <wim@fluendo.com>
11511
11512         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11513
11514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11515         (gst_collect_pads_event):
11516         clear/reset segment info in FLUSH_STOP.
11517         Fixes #336929.
11518
11519 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
11520
11521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11522         (gst_collect_pads_check_collected):
11523         Flush queued buffer on _stop(), fixes playing again (#342454)
11524
11525 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11526
11527         * tests/check/gst/gststructure.c: (GST_START_TEST),
11528         (gst_structure_suite):
11529           add a test for a complete structure
11530
11531 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11532
11533         * docs/faq/developing.xml:
11534         * docs/faq/faq.xml:
11535         * docs/faq/troubleshooting.xml:
11536         * docs/faq/using.xml:
11537           Some minor FAQ updates that won't change the fact that
11538           our FAQ is badly structured, full of information hardly
11539           anyone new to GStreamer needs to know and lacking lots
11540           of information people constantly ask for.
11541           
11542 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
11543
11544         * gst/gstpad.c: (gst_pad_set_caps):
11545           Short-circuit gst_pad_set_caps if setting the existing
11546           caps pointer again, and avoid printing debug and 
11547           reffing/unreffing the caps.
11548
11549         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11550           There's actually no need to set the caps before pushing -
11551           the acceptcaps method will handle it anyway.
11552
11553 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11554
11555         * docs/gst/gstreamer-sections.txt:
11556         * win32/common/libgstreamer.def:
11557         * gst/gstutils.c: (gst_element_seek_simple):
11558         * gst/gstutils.h:
11559           API: add gst_element_seek_simple() (#342238).
11560
11561 2006-05-18  Edward Hervey  <edward@fluendo.com>
11562
11563         * gst/gsttypefind.c: (gst_type_find_get_type):
11564         * gst/gsttypefind.h:
11565         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11566         registered for GstTypeFind pointers. This allows wrapping the structure
11567         in bindings (i.e. gst-python).
11568
11569 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11570
11571         * gst/gsttagsetter.c:
11572           Docs additions and fixes (see #339918).
11573
11574 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11575
11576         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11577         The caps intersection algorithm can produce multiple copies of the
11578         caps. Until that is fixed, we need to simplify the result to be
11579         sure whether the allowed caps are fixed or not.
11580
11581         * plugins/elements/gstqueue.c: (gst_queue_init),
11582         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11583         (gst_queue_push_one):
11584         Proxied buffer alloc should not set the caps on the source pad.
11585         When pushing buffers, we always accept the caps change that triggers.
11586         This prevents negotiation errors caused by caps changing mid-stream 
11587         and then being refused on our source pad (because upstream is now
11588         refusing those caps).
11589
11590 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11591
11592         * tests/examples/helloworld/helloworld.c: (main):
11593           Must plug audioconvert and audioresample between decoder
11594           and audio sink.
11595
11596 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
11597
11598         * gst/gstregistryxml.c: (read_string), (load_pad_template),
11599         (load_feature), (load_plugin):
11600         Allow empty strings for some of the plugin fields so we don't 
11601         drop valid plugin entries that were written out correctly
11602         (Fixes #341479)
11603
11604 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
11605         
11606         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11607           Use g_remove and g_rename instead of remove and rename that don't 
11608           handle utf8 characters. rename was failing for users who had specific
11609           characters in their name then the registry was built at each 
11610           gstreamer init.
11611         * win32/vs6/gst_inspect.dsp:
11612         * win32/vs6/gst_launch.dsp:
11613         * win32/vs6/libgstbase.dsp:
11614         * win32/vs6/libgstcoreelements.dsp:
11615         * win32/vs6/libgstreamer.dsp:
11616           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
11617           build of libgstreamer and clean unused libraries in projects link 
11618           settings.
11619
11620 2006-05-17  Edward Hervey  <edward@fluendo.com>
11621
11622         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11623         The queue is not responsible for pushing an EOS when receiving a fatal
11624         flow error. It's up to the real element driving the pipeline to do that.
11625
11626 2006-05-16  Edward Hervey  <edward@fluendo.com>
11627
11628         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11629         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11630         buffer returned a fatal error. It should just send an EOS and stop
11631         its task.
11632         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11633         when pushing buffers on the queue and will be able to handle the event.
11634
11635 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
11636
11637         * docs/manual/basics-bins.xml:
11638         * docs/manual/basics-init.xml:
11639           Fix typos and minor errors in sample code (#341856).
11640
11641 2006-05-16  Wim Taymans  <wim@fluendo.com>
11642
11643         * docs/design/part-qos.txt:
11644         Fix indexes in formulas to make more sense.
11645
11646 2006-05-15  Wim Taymans  <wim@fluendo.com>
11647
11648         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11649         Don't report POSITION based on clock time if sync is
11650         disabled in a sink.
11651
11652 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
11653
11654         * gst/gstobject.h:
11655           Add cast to make compiler happy - refcount variable was a gint
11656           in GstObject but is a guint in GObject and g_atomic_int_get()
11657           wants a gint *.
11658
11659 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11660
11661         * gst/parse/Makefile.am:
11662           chain commands using &&, which also makes parallel make work
11663
11664 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
11665
11666         * docs/gst/gstreamer-sections.txt:
11667         * gst/gstevent.c:
11668         * gst/gstevent.h:
11669         * gst/gstmessage.h:
11670           Minor docs fixes.
11671
11672 === release 0.10.6 ===
11673
11674 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
11675
11676         * configure.ac:
11677           releasing 0.10.6, "Take the cannoli"
11678
11679 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11680
11681         * tools/gst-launch.c: (print_tag):
11682           Fix use of uninitialized variable in the hypothetical
11683           case that some broken plugin creates a GST_TAG_IMAGE
11684           tag containing a NULL buffer (#341667).
11685
11686 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11687
11688         * tools/gst-launch.c: (print_tag):
11689           Print something more intelligible for image tags when
11690           using the -t switch (#341556).
11691
11692 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11693
11694         * Makefile.am:
11695           updates for win32
11696         * configure.ac:
11697           define GST_MAJORMINOR so we have it available in win32/common/config.h
11698           Possibly remove it from our Makefile.am files later
11699         * win32/common/config.h:
11700         * win32/common/config.h.in:
11701           added GST_MAJORMINOR
11702         * win32/common/gstenumtypes.c: (register_gst_resource_error):
11703         * win32/common/gstversion.h:
11704           updated
11705
11706 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
11707
11708         * win32/MANIFEST:
11709           Update win32 files listing.
11710         * win32/common/gstversion.h:
11711           Add GST_MAJORMINOR definition.
11712         * win32/common/libgstreamer.def:
11713           Add new exported functions.
11714           
11715 2006-05-12  Michael Smith  <msmith@fluendo.com>
11716
11717         * gst/gstplugin.c: (gst_plugin_load_file):
11718           If an so file has no plugin entry point, unload the module.
11719
11720 2006-05-11  Wim Taymans  <wim@fluendo.com>
11721
11722         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11723         (gst_queue_set_property):
11724         Don't forget to signal the _chain or _loop function 
11725         when the queue size or thresholds change since that might
11726         cause them to make progres again.
11727
11728 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
11729
11730         * gst/gstclock.c: (gst_clock_class_init):
11731         * gst/gstindex.c: (gst_index_class_init):
11732         * gst/gstobject.c: (gst_object_class_init):
11733         * gst/gstpad.c: (gst_pad_class_init):
11734         * gst/gstpipeline.c: (gst_pipeline_class_init):
11735         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11736         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11737         * libs/gst/base/gstbasetransform.c:
11738         (gst_base_transform_class_init):
11739         * libs/gst/net/gstnetclientclock.c:
11740         (gst_net_client_clock_class_init):
11741         * libs/gst/net/gstnettimeprovider.c:
11742         (gst_net_time_provider_class_init):
11743         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11744         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11745         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11746         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11747         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11748         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11749         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11750         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11751         * plugins/elements/gsttee.c: (gst_tee_class_init):
11752         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11753         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11754           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11755
11756 2006-05-11  Wim Taymans  <wim@fluendo.com>
11757
11758         * gst/gstbuffer.c: (_gst_buffer_initialize):
11759         Register subbufer along with the buffer type so that
11760         it does not accidentally gets registered from N
11761         different streaming threads in a non threadsafe way.
11762
11763 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11764
11765         * gst/gstbuffer.h:
11766         * gst/gstevent.h:
11767         * gst/gstmessage.h:
11768           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11769           gst_event_ref() and gst_message_ref() functions again
11770           (ugly hack, please do fix if there's a better way besides
11771           overrides.txt, which doesn't seem to work).
11772
11773 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11774
11775         * libs/gst/check/gstcheck.h:
11776           add an assert for setting state to avoid lots of repetitive code
11777           in the future
11778
11779 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11780
11781         * gst/gstvalue.c: (gst_value_serialize_flags):
11782           fix a leak if no flags are set
11783         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11784           fix leak in tests
11785
11786 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11787
11788         * docs/manual/basics-pads.xml:
11789           Expand a bit on caps and filtered links and update
11790           examples that were still using the no longer existing
11791           gst_pad_link_filtered() (#338206).
11792
11793 2006-05-10  Wim Taymans  <wim@fluendo.com>
11794
11795         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11796         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11797         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11798         (gst_collect_pads_stop):
11799         * libs/gst/base/gstcollectpads.h:
11800         No need to call _stop in _finalize.
11801         Iterate the main pad list in _finalize.
11802         Added some more debug.
11803         Free lists and data in the right order.
11804         Also free data whem doing _remove_pad when stopped for
11805         backward compatibility protect ::started with PAD_LOCK as
11806         well.
11807
11808 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11809
11810         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11811         (gst_structure_parse_value):
11812           add some comments
11813           rename a method so that it actually says what it does better
11814
11815 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11816
11817         * gst/gstevent.c: (_gst_event_initialize):
11818         * gst/gstformat.c: (_gst_format_initialize):
11819           make sure some essential types used by events are registered
11820           as part of gst_init()
11821         * gst/gstvalue.c: (gst_value_serialize_flags):
11822           if no flags are set, serialize them to a value that represents NONE
11823           so that deserializing them works
11824         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11825           add tests for serialization and deserialization of flags
11826
11827 2006-05-10  Wim Taymans  <wim@fluendo.com>
11828
11829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11830         (gst_collect_pads_collect_range), (gst_collect_pads_available),
11831         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11832         (gst_collect_pads_event), (gst_collect_pads_chain):
11833         Update docs.
11834         Better debug info.
11835         Catch and return errors from the collect function
11836         Refuse data on eos pads.
11837
11838 2006-05-10  Edward Hervey  <edward@fluendo.com>
11839
11840         * gst/gstinterface.h:
11841         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11842         GInterface type checking.
11843         They were previously using non-defined macros.
11844
11845 2006-05-09  Wim Taymans  <wim@fluendo.com>
11846
11847         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11848         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11849         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11850         (gst_collect_pads_start), (gst_collect_pads_stop),
11851         (gst_collect_pads_peek), (gst_collect_pads_pop),
11852         (gst_collect_pads_available), (gst_collect_pads_read),
11853         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11854         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11855         (gst_collect_pads_chain):
11856         * libs/gst/base/gstcollectpads.h:
11857         Clean up the mess that is collectpads, add comments and
11858         FIXMEs where needed.
11859         Maintain a separate pad list so we can add pads while
11860         collecting the other ones. For this we need a new separate 
11861         lock (see comics).
11862         Fix memory leak in finalize.
11863         Refactor some weird code to set/unset pad flushing flags, mark
11864         with comments.
11865         Don't crash in _available, _read, _flush when we're EOS.
11866
11867         * tests/check/libs/.cvsignore:
11868         Ignore adapter check binary.
11869
11870 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11871
11872         * gst/gstindex.c: (gst_index_resolver_get_type):
11873         * plugins/elements/gstfakesink.c:
11874         (gst_fake_sink_state_error_get_type):
11875         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11876         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11877         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11878           Const-ify GEnumValue arrays.
11879
11880 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11881
11882         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11883           Add test case for flags + gst_buffer_make_metadata_writable().
11884
11885 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11888           gst_buffer_make_metadata_writable() should maintain the
11889           buffer flags (those that make sense at least) (see #340859).
11890
11891 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11892
11893         * tools/gst-inspect.c:
11894         * tools/gst-launch.c:
11895         * tools/gst-typefind.c:
11896         * tools/gst-xmlinspect.c:
11897         * tools/tools.h:
11898           Fix up includes: need to include stdlib.h in tools.h for exit().
11899
11900 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11901
11902         * gst/gsttaglist.c: (_gst_tag_initialize):
11903         * gst/gsttaglist.h:
11904           API: add GST_TAG_IMAGE tag (#340721).
11905
11906 2006-05-08  Wim Taymans  <wim@fluendo.com>
11907
11908         * gst/gstquery.c:
11909         Added some docs for the segment query.
11910
11911 2006-05-08  Wim Taymans  <wim@fluendo.com>
11912
11913         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11914         (gst_base_src_loop), (gst_base_src_change_state):
11915         Always push non-flushing serialized events in the streaming 
11916         thread.
11917
11918 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11919
11920         * gst/gsterror.c: (_gst_stream_errors_init):
11921           Add a missing error string.
11922
11923 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11924
11925         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11926         Add applied_rate to the debug
11927
11928         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11929         Copy applied_rate into the outgoing NEWSEGMENT event
11930
11931 2006-05-08  Wim Taymans  <wim@fluendo.com>
11932
11933         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11934
11935         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11936         (gst_base_sink_change_state):
11937         call ::unlock before taking the PREROLL_LOCK so we can safely
11938         handle elements that lock in ::render.
11939         Fixes #340174.
11940
11941 2006-05-08  Edward Hervey  <edward@fluendo.com>
11942
11943         * autogen.sh: (CONFIGURE_DEF_OPT): 
11944         Darwin's libtoolize is in fact called glibtoolize.
11945         Adding glibtoolize to the list of accepted names for libtoolize.
11946
11947 2006-05-08  Wim Taymans  <wim@fluendo.com>
11948
11949         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11950         Unify error handling, don't post an error message
11951         when a push() returns EOS but perform our normal EOS
11952         handling code. Fixes #340772.
11953
11954 2006-05-08  Wim Taymans  <wim@fluendo.com>
11955
11956         * docs/design/part-overview.txt:
11957         Make upsteam/downstream concepts more clear.
11958         Give an example of serialized/non-serialized events.
11959
11960         * docs/design/part-events.txt:
11961         * docs/design/part-streams.txt:
11962         Mention applied_rate.
11963
11964         * docs/design/part-trickmodes.txt:
11965         Mention applied rate, flesh out some more use cases.
11966
11967         * gst/gstevent.c: (gst_event_new_new_segment),
11968         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11969         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11970         (gst_event_parse_tag), (gst_event_new_buffer_size),
11971         (gst_event_parse_buffer_size), (gst_event_new_qos),
11972         (gst_event_parse_qos), (gst_event_parse_seek),
11973         (gst_event_new_navigation):
11974         * gst/gstevent.h:
11975         Add applied_rate field to NEWSEGMENT event.
11976         API: gst_event_new_new_segment_full()
11977         API: gst_event_parse_new_segment_full()
11978
11979         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11980         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11981         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11982         * gst/gstsegment.h:
11983         Add applied_rate to GstSegment structure.
11984         Make calculation of stream_time and running_time more correct
11985         wrt rate/applied_rate.
11986         Add some more docs.
11987         API: GstSegment::applied_rate field
11988         API: gst_segment_set_newsegment_full();
11989
11990         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11991         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11992         * libs/gst/base/gstbasetransform.c:
11993         (gst_base_transform_sink_eventfunc),
11994         (gst_base_transform_handle_buffer):
11995         Parse and use applied_rate in the GstSegment field.
11996
11997         * tests/check/gst/gstevent.c: (GST_START_TEST):
11998         Add check for applied_rate field.
11999
12000         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12001         (gstsegments_suite):
12002         Add more checks for various GstSegment operations.
12003
12004 2006-05-08  Wim Taymans  <wim@fluendo.com>
12005
12006         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12007         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
12008         (gst_base_sink_get_position), (gst_base_sink_change_state):
12009         Store the sync time of the buffer end position separatly in a
12010         new variable eos_rtime so we can properly sync the EOS event.
12011         Fixes #340697.
12012         Fix the docs for gst_base_sink_set_qos_enabled().
12013         Don't set segment start to invalid value when we receive a 
12014         non TIME newsegment.
12015         get closer to handling position reporting for negative rates 
12016         correctly.
12017
12018 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12019
12020         * gst/gstcaps.c:
12021         Docs about how to print caps for debug purposes.
12022
12023         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
12024         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
12025
12026 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12027
12028         * gst/gstelement.c:
12029           use full enum names and preprend a '%' in docs strings to make recent 
12030           gtk-doc turn that into a link
12031
12032 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12033
12034         * docs/manual/basics-bins.xml:
12035         * docs/manual/basics-bus.xml:
12036         * docs/manual/basics-pads.xml:
12037           Some typo fixes, some additions, some clarifications. 
12038
12039 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12040
12041         * tools/gst-inspect.c: (main):
12042         * tools/gst-launch.c: (main):
12043         * tools/gst-run.c: (main):
12044         * tools/gst-typefind.c: (main):
12045         * tools/gst-xmlinspect.c: (main):
12046           Use the string passed to g_option_context_new() for
12047           what it's intended for - the program name is already
12048           printed elsewhere.
12049
12050 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12051
12052         * tools/Makefile.am:
12053         * tools/gst-inspect.c: (main):
12054         * tools/gst-launch.c: (main):
12055         * tools/gst-xmlinspect.c: (main):
12056         * tools/tools.h:
12057           Add back --version command line option (#340460).
12058
12059         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
12060           Add --version option and use GOption for argument parsing; refactor a
12061           bit; accept directories as arguments and recurse into them; lastly,
12062           print a decent error message when things go wrong.
12063
12064 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12065
12066         * docs/manual/basics-bins.xml:
12067         Don't mention GstThread (#340611)
12068         * docs/manual/basics-elements.xml:
12069         Update link to GObject tutorial (#340607)
12070         
12071 2006-05-05  Wim Taymans  <wim@fluendo.com>
12072
12073         * gst/gstbuffer.h:
12074         * gst/gstminiobject.c:
12075         Add note about refcounting and miniobject/buffer writeability
12076         to docs. Fixes #340604
12077
12078         * gst/gstelementfactory.h:
12079         Added some explanation about @klass.
12080
12081 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12082
12083         * docs/manual/intro-motivation.xml:
12084         * docs/manual/manual.xml:
12085         Avoid CORBA & Bonobo references (#340598)
12086
12087 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12088
12089         * docs/manual/basics-bus.xml:
12090         * docs/manual/basics-pads.xml:
12091         Fix up some inaccuracies and omissions (#340609)
12092         
12093 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12094
12095         * gst/gstghostpad.c:
12096           Small typo in docs (#340625)
12097
12098 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12099
12100         * gst/parse/Makefile.am:
12101           Make 'make -j' proof (see #340698).
12102
12103 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * configure.ac:
12106           Require GLib-2.8 here as well.
12107
12108 2006-05-05  Wim Taymans  <wim@fluendo.com>
12109
12110         * gst/glib-compat.c:
12111         * gst/gst.c: (init_pre):
12112         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12113         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
12114         (gst_object_dispatch_properties_changed):
12115         * gst/gstobject.h:
12116         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12117         * gst/gststructure.c: (gst_structure_set_valist):
12118         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
12119         Remove pre glib2.8 compatibility, fixes #340508
12120
12121 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12122
12123         * gst/gsttaglist.h:
12124           Mention type of tags in doc blurbs.
12125
12126 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
12127
12128         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12129         (gst_pad_configure_src), (gst_pad_push):
12130         Restore acceptcaps checking behaviour now that good plugins have
12131         been released.
12132
12133 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12134
12135         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
12136
12137         * gst/gst.c:
12138         * gst/gstbus.c:
12139         * gst/gstclock.c:
12140         * gst/gstevent.c:
12141         * gst/gstformat.c:
12142         * gst/gstmessage.c:
12143         * gst/gstparse.c:
12144         * gst/gstquery.c:
12145         * gst/gstutils.c:
12146         * gst/parse/Makefile.am:
12147         * libs/gst/base/gstadapter.c:
12148         * libs/gst/base/gstbasesrc.c:
12149         * libs/gst/base/gstpushsrc.c:
12150         * libs/gst/base/gsttypefindhelper.c:
12151         * plugins/elements/gstfakesrc.c:
12152         * plugins/elements/gstidentity.c:
12153           Make sure gstprivate.h and/or config.h are
12154           always included first, otherwise some of our
12155           defines (like _FILE_OFFSET_BITS) might be
12156           redefined in the system headers. Fixes build
12157           on opensolaris (#340016).
12158
12159 2006-05-04  Wim Taymans  <wim@fluendo.com>
12160
12161         * docs/libs/gstreamer-libs-sections.txt:
12162         API: addition: gst_adapter_take_buffer()
12163         
12164         * libs/gst/base/gstadapter.c: (gst_adapter_push),
12165         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
12166         (gst_adapter_available_fast):
12167         * libs/gst/base/gstadapter.h:
12168         Prepare for optimizing the hell out of this hugely inefficient
12169         piece of code. 
12170         Added gst_adapter_take_buffer() so we can at least start thinking
12171         about subbuffering and merging.
12172         Added some comments.
12173
12174         * tests/check/Makefile.am:
12175         * tests/check/libs/adapter.c: (GST_START_TEST),
12176         (gst_adapter_suite), (main):
12177         Added GstAdapter check.
12178
12179 2006-05-04  Wim Taymans  <wim@fluendo.com>
12180
12181         * docs/design/part-overview.txt:
12182         Fix some typos, add blurb about buffer flags.
12183
12184 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12185
12186         * docs/libs/gstreamer-libs-sections.txt:
12187           make sure GstBaseTransformClass shows up in the docs
12188         * libs/gst/base/gstbasetransform.c:
12189         * libs/gst/base/gstbasetransform.h:
12190           move docs so gtk-doc picks it up now
12191
12192 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12193
12194         * docs/libs/gstreamer-libs-sections.txt:
12195           add missing symbols to docs
12196
12197 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12198
12199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12200           back out the newsegment handling change, see #340060 for ongoing
12201           discussion
12202
12203 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         * tools/gst-run.c: (get_candidates), (main):
12206           Fix wrong g_file_test() usage (see glib docs for why it doesn't
12207           work); fix typo in error message. Fixes #340079.
12208
12209 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12210
12211         * common/Makefile.am:
12212         * docs/Makefile.am:
12213         * docs/faq/Makefile.am:
12214         * docs/gst/Makefile.am:
12215         * docs/libs/Makefile.am:
12216         * docs/manual/Makefile.am:
12217         * docs/plugins/Makefile.am:
12218         * docs/pwg/Makefile.am:
12219         * docs/slides/Makefile.am:
12220         * docs/upload.mak:
12221         * common/upload.mak:
12222           move upload.mak to common
12223
12224 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12225
12226         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12227           add more asserts on refcounts
12228           do more cleanup at end of tests
12229           fix test leaks showing in FC5
12230
12231 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
12232
12233         * plugins/elements/gsttypefindelement.c:
12234         (gst_type_find_element_handle_event):
12235         reverted wrong change and reflowed code to avoid others falling into
12236         this trap
12237
12238 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12239
12240         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12241           fix changelog entry about last collectpads change,
12242           add notes about proper fix
12243
12244 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12245
12246         * gst/gst.c:
12247         * gst/gstregistry.c: (gst_registry_scan_path_level),
12248         (gst_registry_scan_path):
12249         * gst/gstregistry.h:
12250           only write out registry if it has changed, fixes #338339
12251
12252 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12253
12254         * gst/gstbin.c:
12255         * gst/gstpipeline.c:
12256         * plugins/elements/gstcapsfilter.c:
12257         * plugins/elements/gstfakesink.c:
12258         * plugins/elements/gstfakesrc.c:
12259         * plugins/elements/gstfdsink.c:
12260         * plugins/elements/gstfdsrc.c:
12261         * plugins/elements/gstfilesink.c:
12262         * plugins/elements/gstfilesrc.c:
12263         * plugins/elements/gstidentity.c:
12264         * plugins/elements/gstqueue.c:
12265         * plugins/elements/gsttee.c:
12266         * plugins/elements/gsttypefindelement.c:
12267         (gst_type_find_element_handle_event):
12268           make GstElementDetails const
12269
12270 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12271
12272         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12274         (gst_collect_pads_is_collected), (gst_collect_pads_event):
12275           more detailed debug and formatting cleanup,
12276           forward newsegments to src-pad (so that e.g. adder not eats them)
12277
12278 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12279
12280         * gst/gstutils.c: (gst_element_link_pads):
12281           cleanup double code
12282
12283 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12284
12285         * libs/gst/controller/gstcontroller.c:
12286         (gst_controller_sync_values):
12287           some little tuning
12288         * tests/check/libs/controller.c: (GST_START_TEST),
12289         (gst_controller_suite):
12290           a new test for live value handling
12291
12292 2006-04-28  Wim Taymans  <wim@fluendo.com>
12293
12294         * gst/gstutils.c: (push_and_ref):
12295         Added some more docs.
12296         Fix refcount issue whith gst_element_found_tags() helper 
12297         function. Fixes #338335
12298
12299         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12300         Added testsuite for gst_element_found_tags().
12301
12302 2006-04-28  Michael Smith  <msmith@fluendo.com>
12303
12304         * gst/gstvalue.c: (gst_value_serialize_flags):
12305           Avoid NULL dereference when trying to serialize flags containing
12306           invalid values.
12307
12308 2006-04-28  Michael Smith  <msmith@fluendo.com>
12309
12310         * plugins/elements/gsttypefindelement.c:
12311         (gst_type_find_element_handle_event):
12312           If we get EOS before any data is accumulated, don't use
12313           uninitialised local variables.
12314
12315 2006-04-28  Michael Smith  <msmith@fluendo.com>
12316
12317         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12318         (gst_dp_event_from_packet):
12319           Fixes in reading/writing events over GDP (not currently used?) - 
12320           dereferencing NULL events for unknown/invalid event types, memory
12321           leak, and change g_warning to GST_WARNING.
12322
12323 2006-04-28  Wim Taymans  <wim@fluendo.com>
12324
12325         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12326         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12327         (gst_base_sink_get_position), (gst_base_sink_change_state):
12328         When frame dropping is enabled, we should not ignore frames
12329         without a duration.
12330         Update some documentation.
12331
12332 2006-04-28  Wim Taymans  <wim@fluendo.com>
12333
12334         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12335         (gst_base_src_send_event), (gst_base_src_change_state):
12336         Documentation updates.
12337
12338 2006-04-28  Wim Taymans  <wim@fluendo.com>
12339
12340         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12341         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12342         handle EAGAIN, EINTR and short writes correctly. Also clean
12343         up some error cases, avoid a deadlock on bad file descriptors and
12344         use GST_DEBUG_OBJECT.
12345         Fixes #339843
12346
12347 2006-04-28  Wim Taymans  <wim@fluendo.com>
12348
12349         * gst/gstvalue.c: (gst_value_serialize_buffer),
12350         (gst_value_deserialize_buffer):
12351         Don't try to serialize a GValue with a NULL buffer. 
12352         Fixes #339821.
12353
12354         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12355         Added check for serialisation of NULL buffers.
12356
12357 2006-04-28  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gstminiobject.c: (gst_value_take_mini_object):
12360         Taking a NULL miniobject is valid, fix the case where
12361         we try to unref the NULL miniobject.
12362
12363 2006-04-28  Wim Taymans  <wim@fluendo.com>
12364
12365         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12366
12367         * gst/gstbin.c: (gst_bin_handle_message_func):
12368         Update docs.
12369         Don't leak bin refcount when a state recalc is
12370         in progress and we delay another one #339808.
12371
12372 2006-04-28  Wim Taymans  <wim@fluendo.com>
12373
12374         * docs/design/part-TODO.txt:
12375         Mention QoS as an ongoing work item.
12376
12377         * docs/design/part-buffering.txt:
12378         New doc about buffering that needs to be fleshed out
12379         at some point.
12380
12381         * docs/design/part-qos.txt:
12382         More QoS policy for decoders/demuxers/transforms
12383
12384         * docs/design/part-trickmodes.txt:
12385         Small update.
12386
12387 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         * configure.ac:
12390           back to HEAD
12391
12392 === release 0.10.5 ===
12393
12394 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
12395
12396         * configure.ac:
12397           releasing 0.10.5, "Fogo"
12398
12399 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12400
12401         patch by: Wim Taymans
12402
12403         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12404         (gst_pad_configure_src), (gst_pad_push):
12405         * gst/gstpipeline.c: (gst_pipeline_init):
12406           Fix internal data flow errors.  Fixes #338711.
12407
12408 2006-04-12  Wim Taymans  <wim@fluendo.com>
12409
12410         * tests/check/gst/gstelement.c: (GST_START_TEST):
12411         Don't leak the factory.
12412
12413 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12414
12415         * configure.ac:
12416         * win32/common/config.h:
12417           prerelease
12418
12419 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
12420
12421         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12422         (gst_controller_unset_all):
12423           Free allocated GstTimedValues when freeing list nodes.
12424           Should fix leaks 'make check-valgrind' complains about.
12425
12426         * win32/common/libgstcontroller.def:
12427           Add gst_controller_unset_all.
12428
12429 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
12430
12431         * docs/libs/gstreamer-libs-sections.txt:
12432         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12433         (gst_controller_unset_all):
12434         * libs/gst/controller/gstcontroller.h:
12435         API: Added new method gst_controller_unset_all()
12436         fixed gst_controller_unset()
12437         * tests/check/libs/controller.c: (GST_START_TEST),
12438         (gst_controller_suite):
12439         Added two testcases for new and fixed method
12440
12441 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
12442
12443         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12444           MSG_DONTWAIT is not defined on Cygwin, so work
12445           around that (fixes #317048).
12446           
12447 2006-04-11  Wim Taymans  <wim@fluendo.com>
12448
12449         * gst/gstelementfactory.c: (gst_element_register),
12450         (gst_element_factory_create), (gst_element_factory_make):
12451         Some cleanups.
12452         Fixed a FIXME.
12453         Updated docs (Fixes #131079)
12454
12455         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12456         Small cleanups.
12457
12458         * tests/check/gst/gstelement.c: (GST_START_TEST),
12459         (gst_element_suite):
12460         Added testcase for elementfactory class field.
12461
12462 2006-04-10  Wim Taymans  <wim@fluendo.com>
12463
12464         * gst/gstsegment.c:
12465         Added some more docs.
12466
12467         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12468         (gst_base_sink_reset_qos):
12469         Calculate more accurate rate values.
12470
12471 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
12472
12473         * gst/gst_private.h:
12474           add a new #ifdef to use __declspec(dllimport) only for
12475           other modules and not for gstreamer core
12476         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12477           use gst_guint64_to_gdouble for conversion
12478         * win32/common/libgstreamer.def:
12479           add new exported functions
12480         * win32/vs6/gst_inspect.dsp:
12481         * win32/vs6/gst_launch.dsp:
12482         * win32/vs6/libgstbase.dsp:
12483         * win32/vs6/libgstcontroller.dsp:
12484         * win32/vs6/libgstcoreelements.dsp:
12485         * win32/vs6/libgstdataprotocol.dsp:
12486         * win32/vs6/libgstnet.dsp:
12487           update project files
12488
12489 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12490
12491         * gst/gstbuffer.c: (gst_subbuffer_class_init):
12492         * gst/gstclock.c: (gst_clock_class_init):
12493         * gst/gstelement.c: (gst_element_class_init):
12494         * gst/gstindex.c: (gst_index_class_init):
12495         * gst/gstindexfactory.c: (gst_index_factory_class_init):
12496         * gst/gstobject.c: (gst_object_class_init),
12497         (gst_signal_object_class_init):
12498         * gst/gstpad.c: (gst_pad_class_init):
12499         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12500         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12501         * gst/gstregistry.c: (gst_registry_class_init):
12502         * gst/gstsystemclock.c: (gst_system_clock_class_init):
12503         * gst/gsttask.c: (gst_task_class_init):
12504         * gst/gstxml.c: (gst_xml_class_init):
12505         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12506         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12507         (gst_base_src_loop):
12508         * libs/gst/controller/gstcontroller.c:/
12509         (_gst_controller_class_init):
12510         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12511         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12512         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12513         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12514         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12515         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12516
12517 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
12518
12519         * gst/gstpad.c: (gst_pad_link):
12520           Must set peer pads before calling the link function, otherwise
12521           a task started from a link function might get a flow-not-linked
12522           result when trying to push because the other thread where the
12523           linking happens hasn't had a chance to set the peers yet. This
12524           might happen for example when a queue gets linked to a downstream
12525           element, as queue starts a streaming task when its source pad
12526           gets linked. Happens in real life when playing back flac/musepack
12527           files in playbin (#332390).
12528           
12529 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12530
12531         * gst/gstindex.h:
12532         * gst/gstxml.h:
12533         * libs/gst/base/gstadapter.h:
12534         * libs/gst/base/gstbasesink.h:
12535         * libs/gst/base/gstbasesrc.h:
12536         * libs/gst/base/gstbasetransform.h:
12537         * libs/gst/base/gstcollectpads.h:
12538         * libs/gst/base/gstpushsrc.h:
12539         Fix broken GObject macros
12540
12541 2006-04-07  Wim Taymans  <wim@fluendo.com>
12542
12543         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12544         Initialize start and stop times, thanks valgrind.
12545
12546 2006-04-07  Wim Taymans  <wim@fluendo.com>
12547
12548         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12549         Be a bit nicer to badly behaving upstream elements that expect
12550         us to deal with non TIME segments and timestamps (such as fakesrc
12551         in the testsuite).
12552
12553 2006-04-07  Wim Taymans  <wim@fluendo.com>
12554
12555         * gst/gstbus.c:
12556         Small documentation clarification about the signal watch.
12557
12558         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12559         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12560         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12561         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12562         (gst_base_sink_get_position_last),
12563         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12564         Convert and store timestamps in stream time and running time, the
12565         raw timestamps are not useful, also document this better.
12566         Use different window sizes for good and bad QoS observations so
12567         we react to badness a little quicker.
12568         Keep track of the amount of rendered and dropped buffers.
12569         Send QoS timestamps in running time.
12570
12571         * libs/gst/base/gstbasetransform.c:
12572         (gst_base_transform_sink_eventfunc),
12573         (gst_base_transform_handle_buffer):
12574         Compare QoS timestamps against running time.
12575
12576 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12577
12578         * gst/gstpad.c:
12579           Typo fixes in docs.
12580
12581 2006-04-06  Michael Smith  <msmith@fluendo.com>
12582
12583         * gst/gstpad.c: (gst_pad_set_property):
12584           Use g_value_get_object() instead of g_value_dup_gst_object(),
12585           to avoid double-reffing the pad template (which we then sink,
12586           so this worked previously if (and only if) the pad template
12587           was floating.
12588
12589         * gst/gstpadtemplate.c: (gst_pad_template_init),
12590         (gst_pad_template_pad_created):
12591           Never return floating references to pad templates, create
12592           them as initially-sunken.
12593
12594           Document an extra function (and make this stop sinking our
12595           pad template, since that is now guaranteed to do nothing,
12596           since we created it sunken).
12597
12598         * gst/gstghostpad.c:
12599           Fix docs typo.
12600
12601 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12602
12603         * gst/gstinfo.c: (__gst_in_valgrind):
12604           Add some newlines.
12605
12606         * plugins/elements/gsttypefindelement.c:
12607         (gst_type_find_element_chain):
12608           Don't leak buffer caps.
12609
12610 2006-04-06  Michael Smith  <msmith@fluendo.com>
12611
12612         * gst/parse/grammar.y:
12613           Fix a leak in parse-launch for any source-or-sink named element 
12614           references used.
12615
12616         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12617           Unref the pipeline if it exists after we've failed parsing.
12618
12619 2006-04-05  Michael Smith  <msmith@fluendo.com>
12620
12621         * gst/gstpipeline.c: (gst_pipeline_init):
12622           When we create a pipeline bus, initially create it in flushing mode.
12623           Fixes leaks in at least one test, and makes a new pipeline work the
12624           same as one that has gone to READY and then back to NULL.
12625
12626         * gst/gstelement.c:
12627           Typo fix in docs.
12628
12629 2006-04-05  Michael Smith  <msmith@fluendo.com>
12630
12631         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12632           Unref a pad we reffed.
12633         * tests/check/gst/gstutils.c: (GST_START_TEST):
12634           Unref bins
12635
12636 2006-04-05  Michael Smith  <msmith@fluendo.com>
12637
12638         * gst/gstquery.c: (gst_query_set_formats),
12639         (gst_query_set_formatsv):
12640           Fix leaking GValues in queries, as shown by valgrind/testsuite.
12641
12642 2006-04-05  Michael Smith  <msmith@fluendo.com>
12643
12644         * tests/check/generic/sinks.c: (GST_START_TEST):
12645           Fix a variety of memleaks in sinks check, which are only sometimes 
12646           shown by running the tests under valgrind (weird?).
12647
12648 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
12649
12650         * docs/version.entities.in:
12651           Fix the substituted entity name after thomas' changes on the
12652           weekend.
12653
12654 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12655
12656         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12657         VALGRIND_PRINTF
12658         
12659 2006-04-05  Andy Wingo  <wingo@pobox.com>
12660
12661         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12662
12663         * libs/gst/base/gstbasetransform.c
12664         (gst_base_transform_sink_eventfunc): When resetting our segment on
12665         FLUSH_STOP, also update the flag saying we haven't seen a
12666         newsegment.
12667
12668 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12669
12670         Patch by: Paolo Borelli  <pborelli at katamail dot com>
12671
12672         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12673         (gst_plugin_check_license):
12674           minor clean-ups: G_DEFINE_TYPE already takes care of the
12675           parent_class stuff, no need to do it twice. Mark array of
12676           license strings as constant. (#337103)
12677           
12678 2006-04-04  Michael Smith  <msmith@fluendo.com>
12679
12680         * tools/gst-inspect.c: (print_element_list):
12681           Free the right plugin list; fixes a memory leak.
12682
12683 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12684
12685         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
12686
12687         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12688           Don't error out on empty buffers (#336945).
12689           
12690 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
12691
12692         * docs/libs/gstreamer-libs-sections.txt:
12693         * gst/gsttaglist.c:
12694         * libs/gst/base/gstbasesink.c:
12695         * libs/gst/base/gstbasesink.h:
12696         * libs/gst/base/gstbasesrc.c:
12697         * libs/gst/base/gstbasesrc.h:
12698           Documentation updates. Make BaseSink and BaseSrc docs contain the
12699           class structure so that people can actually see the prototypes for
12700           virtual functions they're supposed to be overriding.
12701
12702 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12703
12704         * plugins/elements/gsttypefindelement.c:
12705         (gst_type_find_element_chain):
12706           More debug info; when skipping typefinding, send cached
12707           events in all cases.
12708
12709 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12710
12711         * configure.ac:
12712           use new AS_VERSION and AS_NANO macros
12713         * gst/gst-i18n-lib.h:
12714         * gst/gst.c:
12715         * gst/gsterror.c:
12716         * gst/gstversion.h.in:
12717         * win32/common/config.h:
12718         * win32/common/config.h.in:
12719           update accordingly
12720
12721 2006-03-31  Michael Smith  <msmith@fluendo.com>
12722
12723         * plugins/elements/gsttypefindelement.c:
12724         (gst_type_find_element_chain):
12725           Do not typefind content if the buffers already have caps.
12726           Neccesary for icydemux (#333657), and the right thing to do anyway.
12727
12728 2006-03-30  Wim Taymans  <wim@fluendo.com>
12729
12730         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12731         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12732         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12733         (gst_base_sink_record_qos_observation),
12734         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12735         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12736         (gst_base_sink_change_state):
12737         More QoS measurements as described in the design doc.
12738         Get rid of ringbuffer with observations, running average is
12739         more simple and equally good.
12740         Calculates valid proportion now.
12741         Added beginning of flood measurement.
12742
12743 2006-03-29  Wim Taymans  <wim@fluendo.com>
12744
12745         * docs/design/part-qos.txt:
12746         * gst/gstclock.c:
12747         Small documentation updates and additions.
12748
12749 2006-03-29  Wim Taymans  <wim@fluendo.com>
12750
12751         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12752         (gst_base_src_send_event), (gst_base_src_loop),
12753         (gst_base_src_change_state):
12754         Perform the EOS logic when we reach the segment stop position.
12755         Fix compilation on gcc4.1
12756
12757 2006-03-29  Wim Taymans  <wim@fluendo.com>
12758
12759         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12760
12761         * plugins/elements/gstqueue.c: (gst_queue_init),
12762         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12763         (gst_queue_set_property):
12764         * plugins/elements/gstqueue.h:
12765         In queue, when EOS is received, if minimum threshold > max_size -
12766         current_level, there is chance that queue blocks forever in conditional
12767         item del wait. This is because the queue is not emptied completely due
12768         to minimum threshold.  Here is another approach. Instead of setting
12769         cur_levels to max in EOS, just zero all minimum threshold levels. This
12770         should make sure that queue gives out all data. When going to READY
12771         (stop) state, just reset the original minimum threshold levels.
12772         Fixes #336336.
12773
12774 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
12775
12776         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12777         (gst_type_find_element_handle_event),
12778         (gst_type_find_element_send_cached_events),
12779         (gst_type_find_element_change_state):
12780         * plugins/elements/gsttypefindelement.h:
12781           When typefinding is done in push mode, we should cache
12782           events we receive during typefinding instead of just
12783           dropping them (e.g. newsegment, custom events from
12784           dvdreadsrc etc.) and then send them out once we've
12785           determined the type of the stream (and decodebin
12786           has had a chance to plug in a decoder/demuxer).
12787           
12788 2006-03-27  Wim Taymans  <wim@fluendo.com>
12789
12790         * docs/design/part-qos.txt:
12791         First QoS ideas.
12792
12793 2006-03-27  Wim Taymans  <wim@fluendo.com>
12794
12795         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12796
12797         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12798         (gst_base_src_send_event), (gst_base_src_change_state):
12799         Handle element seek correctly when we are streaming.
12800         Fixes #326998.
12801
12802 2006-03-24  Michael Smith  <msmith@fluendo.com>
12803
12804         * docs/faq/gst-uninstalled:
12805           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12806           allow you to correctly run intalled applications built against old 
12807           core, using plugins that require updated core (e.g. running
12808           installed totem against a full uninstalled gstreamer stack)
12809
12810 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12811
12812         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12813         more debug details
12814
12815 2006-03-24  Wim Taymans  <wim@fluendo.com>
12816
12817         * docs/gst/gstreamer-sections.txt:
12818         Rearrange the order of the methods so that related methods
12819         are grouped together in sections.
12820
12821 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12822
12823         * gst/gstelement.c:
12824           Little clarification in the docs
12825
12826 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12827
12828         * docs/README:
12829         formatting fix
12830         * plugins/elements/gstidentity.c:
12831         * plugins/elements/gstqueue.c:
12832         * plugins/elements/gsttee.c:
12833         * plugins/elements/gsttypefindelement.c:
12834         GST_ELEMENT_DETAILS formatting
12835
12836 2006-03-24  Wim Taymans  <wim@fluendo.com>
12837
12838         * libs/gst/base/gstbasesink.h:
12839         Only add fields, not insert or we break ABI.
12840
12841 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12842
12843         * win32/common/libgstbase.def:
12844         * win32/common/libgstreamer.def:
12845           Update, add recently added functions.
12846
12847 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12848
12849         * docs/gst/gstreamer-sections.txt:
12850         * gst/gstutils.c: (gst_pad_query_peer_position),
12851         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12852         * gst/gstutils.h:
12853           API: add some new utility functions:
12854            - gst_pad_query_peer_position()
12855            - gst_pad_query_peer_duration()
12856            - gst_pad_query_peer_convert()
12857           
12858 2006-03-23  Wim Taymans  <wim@fluendo.com>
12859
12860         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12861         (gst_base_sink_init), (gst_base_sink_finalize),
12862         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12863         (gst_base_sink_set_property), (gst_base_sink_get_property),
12864         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12865         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12866         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12867         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12868         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12869         (gst_base_sink_preroll_object), (gst_base_sink_event),
12870         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12871         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12872         (gst_base_sink_query), (gst_base_sink_change_state):
12873         Decouple max-lateness and the fact that QoS messages are generated
12874         with a new property (qos).
12875         added API: GstBaseSink::async_play()
12876         Add vmethod so subclasses can be notified of ASYNC playing
12877         state changes.
12878         Collect timestamp start and stop to report better current
12879         position in EOS/PLAYING/PAUSED/READY/NULL.
12880         Refactor QoS/frame dropping and other measurements.
12881         API: GstBaseSrc::qos
12882         Fixes #326311
12883
12884         * libs/gst/base/gstbasesink.h:
12885         Added Private struct.
12886         API: gst_base_sink_set_qos_enabled()
12887         API: gst_base_sink_is_qos_enabled()
12888
12889 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12892           If compiling against GLib-2.8 or newer, try to read the
12893           registry file using GMappedFile first before falling back
12894           to fopen() + fread() (#332151).
12895
12896 2006-03-22  Wim Taymans  <wim@fluendo.com>
12897
12898         * gst/gstinfo.c: (gst_debug_set_active),
12899         (gst_debug_category_set_threshold):
12900         Disable debugging unless explicitly activated.
12901         Fixes #335480.
12902
12903 2006-03-22  Wim Taymans  <wim@fluendo.com>
12904
12905         * gst/gstelement.c: (gst_element_set_locked_state),
12906         (gst_element_dispose):
12907         Cleanup the error case.
12908
12909         * gst/gstobject.c: (gst_object_dispose):
12910         print a critical when some object was disposed with
12911         a parent, also revive the object since it might
12912         crash the parent.
12913
12914 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12915
12916         * tools/gst-launch.1.in:
12917           Fix another typo.
12918
12919 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12920
12921         * configure.ac:
12922         * tests/check/Makefile.am:
12923           disable some tests when we don't have a registry
12924         * tests/check/gst/gstutils.c: (gst_utils_suite):
12925           don't build the part that needs parsing
12926
12927 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12928
12929         * gst/Makefile.am
12930         * tests/examples/Makefile.am:
12931           fix --disable-parse build
12932
12933 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12934
12935         * tools/gst-feedback.1.in:
12936           Fix typo: s/feeback/feedback/ (#133494).
12937
12938 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12939
12940         * tools/Makefile.am:
12941         * tools/gst-launch.1.in:
12942           Add FILES section and correct entry about GST_REGISTRY_PATH
12943           environment variable (#133495; #133494).
12944
12945 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12946
12947         * tools/Makefile.am:
12948         * tools/gst-md5sum.1.in:
12949         * tools/gst-md5sum.c:
12950           Remove gst-md5sum and man page (the md5sink element
12951           required was removed ages ago)
12952
12953 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12954
12955         * gst/gststructure.c: (gst_structure_id_set_value):
12956           Make sure that string fields in structures/taglists
12957           contain valid UTF-8 - we don't want to pass rubbish to
12958           applications because of a buggy plugin (cp. #334167).
12959
12960 2006-03-21  Edward Hervey  <edward@fluendo.com>
12961
12962         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12963         (gst_bin_handle_message_func):
12964         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12965         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12966         (gst_element_set_bus_func):
12967         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12968         * gst/gstminiobject.c: (gst_value_set_mini_object),
12969         (gst_value_take_mini_object):
12970         * gst/gstpad.c: (gst_pad_set_pad_template):
12971         * gst/gstpipeline.c: (gst_pipeline_dispose),
12972         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12973         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12974         (gst_collect_pads_chain):
12975         * libs/gst/net/gstnettimeprovider.c:
12976         (gst_net_time_provider_set_property):
12977         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12978         It's in fact all issues with gst_*object_replace().
12979
12980 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12981
12982         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12983         
12984         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12985         * pkgconfig/gstreamer-check.pc.in:
12986           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12987
12988 2006-03-21  Edward Hervey  <edward@fluendo.com>
12989
12990         * gst/gstbuffer.h:
12991         * gst/gstevent.h:
12992         * gst/gstmessage.h:
12993         gst_[buffer|event|message]_ref() macros are replaced by a static
12994         inline functions because gcc-4.1 will about if the return value
12995         isn't used.
12996         * tests/check/gst/gstevent.c: (event_probe):
12997         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12998
12999 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
13000
13001         * gst/gstutils.h:
13002         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
13003         the type' case. (Closes: #335195 for now). In the future, when we
13004         depend on GLib 2.10, we could also intern the type name using
13005         g_intern_static_string()
13006
13007 2006-03-20  Wim Taymans  <wim@fluendo.com>
13008
13009         * gst/gstbin.c: (gst_bin_handle_message_func),
13010         (bin_query_max_init), (bin_query_position_fold),
13011         (bin_query_position_done), (gst_bin_query):
13012         Position query should also take max of all streams.
13013
13014 2006-03-20  Wim Taymans  <wim@fluendo.com>
13015
13016         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13017         (gst_fake_src_finalize):
13018         Fix leaks in fakesrc.
13019
13020         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13021         Fix leaks in the testcase.
13022
13023 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
13024
13025         * gst/gst_private.h:
13026           add win32 specific import decoration(__declspec(dllimport)) 
13027           for all extern GstDebugCategory * variables
13028         * win32/common/libgstbase.def:
13029         * win32/common/libgstcontroller.def:
13030         * win32/common/libgstreamer.def:
13031           Add some exports, remove empty lines
13032         * win32/common/libgstdataprotocol.def:
13033         * win32/common/libgstdataprotocol.dsp:
13034         * win32/common/libgstnet.def:
13035         * win32/common/libgstnet.dsp:
13036           new project files and exportation files added
13037         
13038 2006-03-19  Wim Taymans  <wim@fluendo.com>
13039
13040         * tests/check/libs/basesrc.c: (eos_event_counter):
13041         Use proper return value for probe.
13042
13043 2006-03-17  Wim Taymans  <wim@fluendo.com>
13044
13045         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13046         (gst_pad_push):
13047         Don't leak buffers, caps and pads on negotiation errors.
13048
13049 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
13050
13051         * docs/faq/cvs.xml:
13052         * docs/faq/dependencies.xml:
13053         * docs/faq/developing.xml:
13054         * docs/faq/faq.xml:
13055         * docs/faq/general.xml:
13056         * docs/faq/getting.xml:
13057         * docs/faq/legal.xml:
13058         * docs/faq/troubleshooting.xml:
13059         * docs/faq/using.xml:
13060         Faq review and update.
13061
13062 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
13063
13064         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13065         (gst_pad_push):
13066         Don't pound the cpu to pieces by checking get_caps when accept_caps
13067         is called with the same caps as the pad already has.
13068         Use GST_DEBUG_OBJECT when outputting caps change information.
13069
13070 2006-03-15  Wim Taymans  <wim@fluendo.com>
13071
13072         * gst/gstclock.c: (gst_clock_class_init):
13073         Fix docs.
13074
13075 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
13076
13077         * gst/gstbuffer.h:
13078         Documentation fix.
13079
13080         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
13081         (gst_pad_accept_caps), (gst_pad_configure_sink),
13082         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
13083         Make the default acceptcaps behaviour be to check the requested 
13084         caps against the gst_pad_get_caps output. 
13085
13086         Ensure that gst_pad_accept_caps is used to check caps when a pad
13087         doesn't have a setcaps function, so that pads automatically refuse 
13088         caps that they don't allow in their pad template. (Fixes #332986)
13089
13090         When a buffer with attached caps is pushed, ensure that the source 
13091         pad receives those caps even if the element didn't call
13092         gst_pad_set_caps first.
13093
13094 2006-03-15  Wim Taymans  <wim@fluendo.com>
13095
13096         * libs/gst/base/gstadapter.c:
13097         Add some docs.
13098
13099 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
13100
13101         * win32/common/libgstbase.def:
13102         * win32/common/libgstcontroller.def:
13103         * win32/common/libgstreamer.def:
13104           Add a whole bunch of missing functions (#334434).
13105
13106 2006-03-14  Wim Taymans  <wim@fluendo.com>
13107
13108         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13109         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13110         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
13111         Better debug info when we receive a segment event.
13112         Reorganize a bit so we can pass the get_times() results around.
13113         Use the segment format when calculating the running time.
13114         Don't do QoS is sync is disabled or we have no clock or the
13115         element does not want us to sync to the clock.
13116         Don't drop buffers if QoS is disabled for now.
13117
13118 2006-03-14  Wim Taymans  <wim@fluendo.com>
13119
13120         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
13121         Marked the stats property as unimplemented so people don't get
13122         wild ideas.
13123         Add debug message when regression goes wrong.
13124         Added some more docs.
13125
13126 2006-03-14  Wim Taymans  <wim@fluendo.com>
13127
13128         * gst/gstsegment.c: (gst_segment_to_stream_time):
13129         Return correct return type in case of errors.
13130
13131 2006-03-14  Wim Taymans  <wim@fluendo.com>
13132
13133         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
13134           Don't segfault on invalid formats.
13135
13136 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13137
13138         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13139           Can't use gst_segment_to_running_time() when the segment
13140           is not in GST_TIME_FORMAT (like with filesink, for example).
13141           Stops flac encoding pipelines from spewing critical warnings
13142           at EOS (#331248).
13143           
13144 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13145
13146         * gst/gstpipeline.c: (gst_pipeline_class_init):
13147           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
13148
13149         * plugins/elements/gsttypefindelement.c:
13150         (gst_type_find_element_handle_event):
13151           Don't try to typefind empty streams.
13152
13153 2006-03-14  Wim Taymans  <wim@fluendo.com>
13154
13155         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13156         (gst_base_sink_do_qos):
13157         Separate QoS calculation.
13158         Only drop buffers when lateness is bigger than the 
13159         duration of the buffer.
13160
13161 2006-03-13  Wim Taymans  <wim@fluendo.com>
13162
13163         * gst/gstpipeline.c: (gst_pipeline_set_property),
13164         (gst_pipeline_get_property), (do_pipeline_seek),
13165         (gst_pipeline_change_state), (gst_pipeline_set_delay),
13166         (gst_pipeline_get_delay):
13167         Don't deadlock when reading properties.
13168
13169 2006-03-13  Wim Taymans  <wim@fluendo.com>
13170
13171         * libs/gst/base/gstbasetransform.c:
13172         (gst_base_transform_class_init), (gst_base_transform_init),
13173         (gst_base_transform_sink_event),
13174         (gst_base_transform_sink_eventfunc),
13175         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
13176         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13177         (gst_base_transform_set_property),
13178         (gst_base_transform_get_property),
13179         (gst_base_transform_change_state), (gst_base_transform_update_qos),
13180         (gst_base_transform_set_qos_enabled),
13181         (gst_base_transform_is_qos_enabled):
13182         * libs/gst/base/gstbasetransform.h:
13183         Make basetransform virtual method for src events too.
13184         Handle QOS in basetransform.
13185         API: gst_base_transform_update_qos()
13186         API: gst_base_transform_set_qos_enabled()
13187         API: gst_base_transform_is_qos_enabled()
13188
13189 2006-03-13  Wim Taymans  <wim@fluendo.com>
13190
13191         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13192         (gst_base_sink_do_sync):
13193         Small cleanups.
13194         Use QOS debug category.
13195
13196 2006-03-13  Wim Taymans  <wim@fluendo.com>
13197
13198         * plugins/elements/gstqueue.c:
13199         Very small doc update.
13200
13201 2006-03-13  Wim Taymans  <wim@fluendo.com>
13202
13203         * gst/gst_private.h:
13204         * gst/gstinfo.c: (_gst_debug_init):
13205         Added QOS debug category
13206
13207 2006-03-13  Wim Taymans  <wim@fluendo.com>
13208
13209         * docs/gst/gstreamer-sections.txt:
13210         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
13211         * gst/gstbin.h:
13212         * gst/gstbus.c: (gst_bus_class_init):
13213         * gst/gstbus.h:
13214         * gst/gstclock.c:
13215         * gst/gstelement.c: (gst_element_set_locked_state):
13216         * gst/gstsegment.c:
13217         Documentation updates.
13218
13219         * gst/gstpipeline.c: (gst_pipeline_get_type),
13220         (gst_pipeline_class_init), (gst_pipeline_init),
13221         (gst_pipeline_dispose), (gst_pipeline_set_property),
13222         (gst_pipeline_get_property), (do_pipeline_seek),
13223         (gst_pipeline_send_event), (gst_pipeline_change_state),
13224         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
13225         (gst_pipeline_get_delay):
13226         * gst/gstpipeline.h:
13227         Added methods for setting the delay.
13228         API: gst_pipeline_set_delay()
13229         API: gst_pipeline_get_delay()
13230         Add pipeline debug category
13231         Various cleanups.
13232         Updated docs.
13233         Don't reset stream time when seek failed.
13234
13235 2006-03-13  Wim Taymans  <wim@fluendo.com>
13236
13237         * docs/design/draft-klass.txt:
13238         * docs/design/part-clocks.txt:
13239         * docs/design/part-events.txt:
13240         * docs/design/part-gstbin.txt:
13241         * docs/design/part-gstpipeline.txt:
13242         * docs/design/part-messages.txt:
13243         * docs/design/part-negotiation.txt:
13244         * docs/design/part-overview.txt:
13245         * docs/design/part-preroll.txt:
13246         * docs/design/part-seeking.txt:
13247         * docs/design/part-states.txt:
13248         * docs/design/part-streams.txt:
13249         Documentation updates.
13250
13251 2006-03-12  Julien MOUTTE  <julien@moutte.net>
13252
13253         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13254         us to leak strings...
13255
13256 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13257
13258         * libs/gst/net/gstnettimeprovider.c:
13259           fix docs
13260         * win32/common/config.h:
13261           update
13262
13263 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
13264
13265         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13266
13267         * configure.ac:
13268           Don't check for libgnomeui (leftover from old examples
13269           that aren't built or disted any longer) (#334303).
13270           
13271 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
13272
13273         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13274         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13275           Emit RESOURCE_NO_SPACE_LEFT error here as well when
13276           there's no space left on the device.
13277
13278 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
13279
13280         * gst/gstclock.h:
13281           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13282           to cast the input to GstClockTime before comparing with
13283           another GstClockTime value.
13284
13285 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13286
13287         * configure.ac:
13288           back to trunk
13289
13290 === release 0.10.4 ===
13291
13292 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
13293
13294         * configure.ac:
13295           releasing 0.10.4, "Light"
13296
13297 2006-03-10  Michael Smith  <msmith@fluendo.com>
13298
13299         * libs/gst/dataprotocol/dataprotocol.c:
13300           Fix docs for dataprocotol to not get the return types completely
13301           wrong for a few functions.
13302
13303 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13304
13305         * docs/gst/gstreamer-sections.txt:
13306         * gst/gstpipeline.c: (gst_pipeline_class_init),
13307         (gst_pipeline_init), (gst_pipeline_set_property),
13308         (gst_pipeline_get_property), (gst_pipeline_change_state),
13309         (gst_pipeline_set_auto_flush_bus),
13310         (gst_pipeline_get_auto_flush_bus):
13311         * gst/gstpipeline.h:
13312           Add new API: gst_pipeline_set_auto_flush_bus() and
13313           gst_pipeline_get_auto_flush_bus() to disable automatic
13314           flushing of the pipeline's GstBus when going from READY
13315           to NULL state (#332045).
13316
13317 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13318
13319         * docs/gst/gstreamer-sections.txt:
13320         * gst/gsturi.c: (gst_uri_has_protocol):
13321         * gst/gsturi.h:
13322            Add new API: gst_uri_has_protocol() (#333779).
13323
13324 2006-03-09  Wim Taymans  <wim@fluendo.com>
13325
13326         * gst/gstclock.c: (gst_clock_entry_new),
13327         (gst_clock_id_compare_func), (gst_clock_id_wait),
13328         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13329         (gst_clock_init), (gst_clock_get_internal_time),
13330         (gst_clock_set_master), (do_linear_regression),
13331         (gst_clock_add_observation), (gst_clock_set_property):
13332         * gst/gstclock.h:
13333         Review docs.
13334         Small cleanups.
13335         Fix a possible segfault when the window-size is made smaller.
13336         Calculate jitter before performing the clock wait. Ideally
13337         the clock implementation should calculate jitter but we need
13338         API breakage for that.
13339
13340         * gst/gstsystemclock.c: (gst_system_clock_init):
13341         Docs review.
13342         
13343         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13344         Remove leftover else
13345
13346         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13347         (gst_systemclock_suite):
13348         Added check to test GST_CLOCK_DIFF.
13349
13350 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13351
13352         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13353         (gst_type_find_helper_get_range):
13354           If we are provided with the size, we should implement
13355           GstTypeFind::get_length, so that typefind functions who
13356           want to can actually peek at the middle of a file.
13357
13358 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
13359
13360         * docs/manual/advanced-dataaccess.xml:
13361           Add some very very basic error checking.
13362
13363         * docs/pwg/appendix-checklist.xml:
13364           Some updates to the list of things to check when writing an element.
13365
13366 2006-03-08  Wim Taymans  <wim@fluendo.com>
13367
13368         * docs/design/part-element-transform.txt:
13369         Added some docs about the design of tranform elements.
13370
13371         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13372         (gst_base_src_loop), (gst_base_src_change_state):
13373         Mark buffers with the DISCONT flag.
13374
13375 2006-03-08  Michael Smith  <msmith@fluendo.com>
13376
13377         * gst/gstregistry.h:
13378         * gst/gstregistryxml.c: (gst_registry_save),
13379         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13380         (gst_registry_xml_save_pad_template),
13381         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13382         (gst_registry_xml_write_cache):
13383           Rewrite registry-saving to avoid race conditions and check for
13384           failed writes.
13385
13386 2006-03-08  Wim Taymans  <wim@fluendo.com>
13387
13388         * libs/gst/base/gstbasetransform.c:
13389         (gst_base_transform_transform_caps),
13390         (gst_base_transform_transform_size),
13391         (gst_base_transform_prepare_output_buffer),
13392         (gst_base_transform_get_unit_size),
13393         (gst_base_transform_buffer_alloc),
13394         (gst_base_transform_handle_buffer),
13395         (gst_base_transform_change_state):
13396         Cleanups, separate normal flow from errors, add sensible
13397         DEBUG lines.
13398         Don't try to renegotiate when allocating an output buffer.
13399         Also copy DISCONT buffer flag when copying a buffer.
13400         Reset the transform after we finish streaming, not during.
13401
13402 2006-03-08  Wim Taymans  <wim@fluendo.com>
13403
13404         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13405         Use last buffer timestamp in qos message.
13406
13407 2006-03-07  Wim Taymans  <wim@fluendo.com>
13408
13409         Patch by: Christophe Fergeau
13410
13411         * docs/pwg/advanced-tagging.xml:
13412         * docs/pwg/building-pads.xml:
13413           fixes #333416
13414
13415 2006-03-07  Wim Taymans  <wim@fluendo.com>
13416
13417         * docs/libs/gstreamer-libs-sections.txt:
13418         Added basesink new methods.
13419
13420         * gst/gstevent.c:
13421         * gst/gstevent.h:
13422         Docs updates. Flesh out the QoS docs.
13423
13424         * libs/gst/base/gstadapter.c:
13425         Small doc clarification about ownership and flushing.
13426
13427         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13428         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13429         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13430         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13431         * libs/gst/base/gstbasesink.h:
13432         API additions: 
13433         Added new methods to allow subclass to control max-lateness 
13434         and sync.
13435         Generate very basic QoS events based on last sync observation.
13436         Updated docs, fix typo, added some QoS blurb.
13437
13438         * libs/gst/base/gstbasesrc.c:
13439         Remove obsolete _get_state() calls from docs.
13440
13441 2006-03-07  Wim Taymans  <wim@fluendo.com>
13442
13443         * docs/libs/gstreamer-libs-sections.txt:
13444         * libs/gst/base/gstbasetransform.h:
13445         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13446         Fix docs for GstBaseSrc.
13447
13448 2006-03-07  Wim Taymans  <wim@fluendo.com>
13449
13450         * docs/gst/gstreamer-sections.txt:
13451         * gst/gstbuffer.h:
13452         * gst/gstvalue.c:
13453         * libs/gst/base/gstbasetransform.h:
13454         Small documentation fixes.
13455
13456 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         * gst/gstvalue.c:
13459           Document thread-unsafety of gst_value_register_foo_func()
13460           when used at the same time as gst_value_foo() (#322628).
13461
13462 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13463
13464         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13465         (gst_push_src_check_get_range):
13466           Push sources don't support pull mode by default.
13467
13468 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13469
13470         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13471         (gst_base_src_init), (gst_base_src_pad_check_get_range),
13472         (gst_base_src_default_check_get_range):
13473         * libs/gst/base/gstbasesrc.h:
13474           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13475           provide default implementation, and rename
13476           gst_base_src_check_get_range() to
13477           gst_base_src_pad_check_get_range() for clarity.
13478
13479 2006-03-06  Wim Taymans  <wim@fluendo.com>
13480
13481         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13482         Make property overridable.
13483
13484 2006-03-06  Wim Taymans  <wim@fluendo.com>
13485
13486         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13487         (gst_base_sink_init), (gst_base_sink_set_property),
13488         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13489         * libs/gst/base/gstbasesink.h:
13490         API addition: Make max-lateness a property.
13491
13492 2006-03-06  Wim Taymans  <wim@fluendo.com>
13493
13494         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13495         (gst_base_sink_do_sync), (gst_base_sink_render_object):
13496         Don't ever draw a frame that is >10ms late.
13497
13498 2006-03-06  Michael Smith  <msmith@fluendo.com>
13499
13500         * gst/gstmessage.c: (_gst_message_copy):
13501           When copying a message, set the parent_refcount of the enclosed
13502           structure to point at the copy, not the original message.
13503
13504 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13505
13506         Patch by: Christophe Fergeau
13507
13508         * gst/gstutils.h:
13509           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13510           usable in c++ code (#333417)
13511
13512 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13513
13514         * gst/gstclock.h:
13515           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13516
13517 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
13518
13519         * libs/gst/base/gstbasetransform.c:
13520         (gst_base_transform_transform_caps):
13521           Make sure caps are writable before passing them to
13522           gst_caps_append().
13523
13524 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13525
13526         * gst/gsterror.h:
13527           Fix some minor docs errors.
13528
13529 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13530
13531           Patch by: Ross Burton <ross at burtonini dot com>
13532
13533         * gst/gsterror.c: (_gst_resource_errors_init):
13534         * gst/gsterror.h:
13535           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13536
13537 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13538
13539         * gst/gst.c:
13540         Add a check and output a g_warning when GStreamer is built
13541         against GLib 2.6 but running against 2.8 or higher, and vice 
13542         versa. (Closes: #323542)
13543
13544 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13545
13546         * gst/parse/parse.l:
13547           Commit patch for parse_launch syntax from #331255. Removes 
13548           support for quoted strings and mimetypes when writing filtered 
13549           caps. See the bug report for more details - I'm pretty sure this
13550           obscure feature is not in use by _anyone_ anywhere.
13551
13552           With this simple change, the size of the gstreamer.so here 
13553           drops from 2193KB to 1565KB.
13554
13555 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13556
13557         * plugins/elements/gsttypefindelement.h:
13558         * plugins/elements/gsttypefindelement.c:
13559         (gst_type_find_element_src_event), (start_typefinding),
13560         (stop_typefinding), (gst_type_find_element_handle_event),
13561         (gst_type_find_element_chain),
13562         (gst_type_find_element_chain_do_typefinding):
13563           Use gst_type_find_helper_for_buffer() for chain-based
13564           typefinding.
13565
13566 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13567
13568         * plugins/elements/gsttypefindelement.c:
13569         (gst_type_find_element_class_init),
13570         (gst_type_find_element_set_property),
13571         (gst_type_find_element_get_property):
13572           Deprecate "maximum" property (not only was it only taken into
13573           account for typefinding in push-mode anyway, it also was never
13574           actually possible to set it in the first place because the
13575           property was registered with the numeric property ID for the
13576           "minimum" property). Register "maximum" property correctly,
13577           for the sake of future copy'n'pasters. Remove some cruft
13578           from property get/set functions.
13579
13580 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13581
13582         * plugins/elements/gsttypefindelement.c:
13583         (gst_type_find_element_activate):
13584           Use gst_type_find_helper_get_range() here, so we
13585           can honour the "minimum" property and also emit
13586           the signal with the correct probability of the found caps.
13587
13588 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
13589
13590         * docs/libs/gstreamer-libs-sections.txt:
13591         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13592         (helper_find_suggest), (gst_type_find_helper_get_range),
13593         (gst_type_find_helper):
13594         * libs/gst/base/gsttypefindhelper.h:
13595           New API: gst_type_find_helper_get_range() (#333042).
13596
13597 2006-03-02  Michael Smith  <msmith@fluendo.com>
13598
13599         * gst/gstregistryxml.c: (load_feature):
13600           Asserting on a failure to read part of the registry is Not Cool.
13601           Just log a warning and return NULL (which is already handled)
13602
13603 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
13604
13605         * win32/common/libgstbase.def:
13606           added export of gst_type_find_helper_for_buffer
13607         * win32/common/libgstbase.def:
13608           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13609           gst_ghost_pad_get_target
13610
13611 2006-02-28  Wim Taymans  <wim@fluendo.com>
13612
13613         * docs/design/draft-klass.txt:
13614         We use Filter now.
13615         Added Connector to mark elements that are only used to
13616         allow pipeline connections.
13617         Moved Debug to extra feature since most of them are 
13618         functionally something else.
13619
13620 2006-02-28  Wim Taymans  <wim@fluendo.com>
13621
13622         * docs/design/draft-klass.txt:
13623         Some updates and clarifications.
13624
13625 2006-02-28  Wim Taymans  <wim@fluendo.com>
13626
13627         * docs/design/draft-klass.txt:
13628         Proposal for klass field values.
13629
13630         * docs/design/part-streams.txt:
13631         Start of a doc describing stream anatomy.
13632
13633 2006-02-28  Wim Taymans  <wim@fluendo.com>
13634
13635         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13636         Help the compiler a bit with type registration.
13637         Use existing forward cod path instead of duplicating it when 
13638         handling a message.
13639         
13640         * gst/gstbus.c: (gst_bus_get_type):
13641         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13642         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13643         * gst/gstclock.c: (gst_clock_get_type):
13644         * gst/gstelement.c: (gst_element_get_type),
13645         * gst/gstelementfactory.c: (gst_element_factory_get_type):
13646         * gst/gstindexfactory.c: (gst_index_factory_get_type):
13647         * gst/gstminiobject.c: (gst_mini_object_get_type):
13648         * gst/gstpad.c: (gst_pad_get_type):
13649         * gst/gstsegment.c: (gst_segment_get_type):
13650         * gst/gststructure.c: (gst_structure_get_type):
13651         * gst/gstsystemclock.c: (gst_system_clock_get_type):
13652         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13653         * gst/gstvalue.c:
13654         Help compiler with type registration.
13655
13656         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13657         Small doc update.
13658
13659 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13660
13661         * plugins/elements/gsttypefindelement.c:
13662         (gst_type_find_element_handle_event):
13663           When we get an EOS event and have not found a type yet
13664           (most likely because we had not yet accumulated
13665           TYPE_FIND_MIN_SIZE of data yet), try to determine the
13666           type given the data we have so far. Fixes typefinding
13667           for very short streams again, most notably quicktime
13668           redirections as used on Apple's trailer site (#331701).
13669
13670 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13671
13672         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13673         (gst_type_find_helper):
13674           Try typefinding factories with the highest rank first.
13675
13676 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13677
13678         * docs/libs/gstreamer-libs-docs.sgml:
13679         * docs/libs/gstreamer-libs-sections.txt:
13680         * libs/gst/base/gsttypefindhelper.c:
13681           Add section for typefind helper and add documentation
13682           for the old and the new function.
13683
13684 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13685
13686         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13687         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13688         (gst_type_find_helper_for_buffer):
13689         * libs/gst/base/gsttypefindhelper.h:
13690           New API: gst_type_find_helper_for_buffer() (#332723).
13691           
13692 2006-02-27  Michael Smith  <msmith@fluendo.com>
13693
13694         Patch by: Loïc Minier
13695
13696         * configure.ac:
13697         * docs/Makefile.am:
13698         * docs/slides/Makefile.am:
13699           prevent CVS directories getting disted.
13700
13701 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13702
13703         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13704           Use the REFCOUNTING category for caps refcounting.
13705           
13706 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13707
13708         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13709           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13710
13711 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13712
13713         * plugins/elements/gsttypefindelement.c:
13714         (gst_type_find_element_activate):
13715           Use gst_pad_check_pull_range() before _activate_pull()
13716           to avoid unnecessary open/close (see #331690).
13717
13718 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13719
13720         * gst/gstutils.c:
13721           Docs enhancement: make it crystal clear what the
13722           gst_pad_add_*_probe() callbacks should look like.
13723
13724 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13725
13726         * libs/gst/base/gstbasesrc.c:
13727           Document how applications can stop recording from
13728           live sources (see #330996).
13729
13730 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13731
13732         * tests/check/Makefile.am:
13733         * tests/check/libs/basesrc.c: (eos_event_counter),
13734         (basesrc_eos_events_pull), (basesrc_eos_events_push),
13735         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13736         (gst_basesrc_suite), (main):
13737           ... and add some tests for the base source EOS stuff.
13738
13739 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13740
13741         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13742           Test case originally showed the problem fixed below,
13743           but was then amended. Add checks back at the place
13744           where they used to be.
13745
13746 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13747
13748         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13749         (gst_base_src_init), (gst_base_src_loop),
13750         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13751         (gst_base_src_change_state):
13752         * libs/gst/base/gstbasesrc.h:
13753           Don't unconditionally send EOS when going from PAUSED to
13754           READY state, esp. make sure we don't send two EOS events
13755           in some cases (e.g. one when reaching EOS and one when
13756           going from PAUSED to READY). Also, we don't want to send
13757           EOS events when operating in pull mode. However, we do
13758           want to send an EOS event when shutting down a live
13759           source explicitly, for example (fixes #330996).
13760           
13761 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13762
13763         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13764           Update src->read_position after a seek when not using mmap.
13765           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13766
13767 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
13768
13769         * gst/Makefile.am:
13770         * gst/gstparse.h:
13771         * gst/gstutils.c:
13772         * gst/gstutils.h:
13773         Make things work with --disable-parse as they do with 
13774         --disable-load-save - the symbols involved disappear, but the
13775         header is still installed and GST_DISABLE_PARSE is included via
13776         gstconfig.h
13777
13778 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13779
13780         * libs/gst/base/gstbasetransform.c:
13781         (gst_base_transform_change_state): Fix a stupid bug. I was 
13782         sure I compiled that.
13783
13784 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13785
13786         * gst/gstpad.c: (gst_pad_set_blocked_async):
13787         * gst/gstutils.c: (gst_pad_add_data_probe),
13788         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13789         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13790         (gst_pad_remove_buffer_probe): Make those function act on the
13791         ghostpad target when it's a ghostpad. (Closes #331727)
13792
13793 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13794
13795         * libs/gst/base/gstbasetransform.c:
13796         (gst_base_transform_change_state): Make basetransform reusable.
13797         (Closes #331898)
13798
13799 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
13800
13801         * docs/random/release:
13802         Move the current documentation of how to do a release to the top
13803         of the file.
13804
13805         * gst/gstbin.c: (gst_bin_class_init),
13806         (gst_bin_handle_message_func):
13807         Allow multiple state-recalculation threads. (Closes #328873)
13808
13809 2006-02-19  Julien MOUTTE  <julien@moutte.net>
13810
13811         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13812         * gst/gstpad.c: (gst_pad_set_event_function),
13813         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13814         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13815         2 strings. You can't use the STR_NULL macro on that.
13816
13817 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
13818
13819         * gst/gstpad.c: (gst_pad_set_event_function),
13820         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13821         (gst_pad_set_getcaps_function)
13822         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13823           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13824           So now, we can use --gst-debug-level=5 on Windows
13825         * win32/common/libgstcontroller.def:
13826           Added export of gst_controller_init
13827         * win32/vs6/libgstcontroller.dsp:
13828           Fixed Release post build configuration
13829
13830 2006-02-17  Wim Taymans  <wim@fluendo.com>
13831
13832         * tests/check/gst/gstquery.c: (GST_START_TEST):
13833         Added another check.
13834
13835 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13836
13837         * plugins/elements/gsttypefindelement.c: (find_peek):
13838           We can do peeks at non-zero offsets, as long as they
13839           fall within the buffer we have.
13840
13841 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13842
13843         * tests/check/Makefile.am:
13844         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13845         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13846         (parse_suite), (main):
13847           Add testsuite for parse launch syntax
13848
13849 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13850
13851         * plugins/elements/gsttypefindelement.c:
13852         (gst_type_find_element_chain):
13853           When typefinding is unsuccessful in the chain function, don't
13854           error out immediately. Only error out with NO_CAPS_FOUND if
13855           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13856           otherwise simply wait for more data so we can try typefinding
13857           again with more data later. Also, don't attempt to typefind
13858           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13859           this should improve typefinding from network sources where the
13860           size of the first buffer can be somewhat random.
13861
13862 2006-02-14  Wim Taymans  <wim@fluendo.com>
13863
13864         * docs/gst/gstreamer-sections.txt:
13865         * gst/gstpadtemplate.c:
13866         * gst/gstpadtemplate.h:
13867         Fix padtemplate docs, fixes #328805.
13868
13869 2006-02-14  Wim Taymans  <wim@fluendo.com>
13870
13871         * tools/gst-launch.c: (main):
13872         NO_PREROLL is not an ERROR so don't send confusing messages
13873         to the user.
13874
13875 2006-02-14  Wim Taymans  <wim@fluendo.com>
13876
13877         Patch by: Torsten Schoenfeld
13878
13879         * gst/gstregistry.c: (gst_registry_get_default),
13880         (_gst_registry_cleanup):
13881         Protect default registry with lock and ref/sink it.
13882         Fixes #324818
13883
13884 2006-02-14  Wim Taymans  <wim@fluendo.com>
13885
13886         * gst/gstbuffer.c:
13887         * gst/gstquery.c: (gst_query_list_add_format),
13888         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13889         (gst_query_parse_formats_nth):
13890         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13891         Docs fixes.
13892
13893 2006-02-14  Wim Taymans  <wim@fluendo.com>
13894
13895         * docs/gst/gstreamer-sections.txt:
13896         Reworked query docs.
13897
13898         * gst/gstquery.c: (gst_query_new_formats),
13899         (gst_query_list_add_format), (gst_query_set_formats),
13900         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13901         (gst_query_parse_formats_nth):
13902         * gst/gstquery.h:
13903         Flesh out formats query, added some new methods.
13904         Fix part of #324398.
13905
13906         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13907         Added query creation tests.
13908
13909 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13910
13911         * gst/gstpad.c: (fixate_value):
13912         Add a default fixation for fraction lists.
13913
13914 2006-02-13  Wim Taymans  <wim@fluendo.com>
13915
13916         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13917         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13918         (gst_task_join):
13919         * gst/gsttask.h:
13920         Detect and warn for obvious deadlocks. fixes #320340
13921         Fix error case where lock was not released.
13922
13923         * tests/check/Makefile.am:
13924         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13925         (task_func), (gst_element_suite), (main):
13926         Add task check.
13927
13928 2006-02-13  Wim Taymans  <wim@fluendo.com>
13929
13930         * docs/gst/gstreamer-sections.txt:
13931         * gst/gstbus.c:
13932         Add new functions to docs.
13933
13934 2006-02-13  Wim Taymans  <wim@fluendo.com>
13935
13936         * docs/design/part-TODO.txt:
13937         Updated TODO list, basesrc supports seeking to non-bytes
13938         formats.
13939
13940         * docs/design/part-element-sink.txt:
13941         Update docs.
13942
13943         * gst/gstbin.c: (bin_replace_message),
13944         (gst_bin_handle_message_func):
13945         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13946         * gst/gstevent.c: (gst_event_finalize):
13947         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13948         (gst_pad_send_event):
13949         Use shiny new _TYPE_NAME macros.
13950
13951         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13952         Move debug statement up.
13953
13954         * gst/gstelement.c: (gst_element_set_locked_state):
13955         Add some debugging.
13956
13957 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13958
13959         * docs/gst/gstreamer-sections.txt:
13960         * gst/gstmessage.h:
13961         * gst/gstquery.h:
13962           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13963           macros (#330906). Also, document the already existing
13964           GST_QUERY_TYPE macro.
13965
13966 2006-02-13  Wim Taymans  <wim@fluendo.com>
13967
13968         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13969         (event_probe), (GST_START_TEST):
13970         Only events up to the pipeline EOS are counted, there are
13971         some more when going to NULL currently which we don't care
13972         about for now.
13973
13974 2006-02-13  Wim Taymans  <wim@fluendo.com>
13975
13976         * gst/gstpad.c: (gst_pad_send_event):
13977         Correctly check flushing and emit probes. fixes #330125
13978
13979 2006-02-10  Andy Wingo  <wingo@pobox.com>
13980
13981         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13982         structure.
13983         (gst_bus_init): Cache the location of the private data in the
13984         instance structure.
13985         (gst_bus_enable_sync_message_emission) 
13986         (gst_bus_disable_sync_message_emission): Implement new public
13987         functions.
13988         (gst_bus_post): Emit the sync-message signal if the user asked for
13989         it. Fixes #330684.
13990
13991         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13992         location of the bus-private structure.
13993         (gst_bus_enable_sync_message_emission)
13994         (gst_bus_disable_sync_message_emission): API addition
13995
13996 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
13997
13998         Patch by: Vincent Torri
13999
14000         * docs/pwg/building-boiler.xml:
14001         PWG patch from #326800
14002
14003 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
14004
14005         * configure.ac:
14006         * docs/Makefile.am:
14007         * docs/design/Makefile.am:
14008           Dist design docs.
14009
14010 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14011
14012         * configure.ac:
14013           back to CVS
14014
14015 === release 0.10.3 ===
14016
14017 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
14018
14019         * configure.ac:
14020           releasing 0.10.3, "Like a virgin"
14021
14022 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14023
14024         * configure.ac:
14025           2nd prerelease of 0.10.3
14026           Bump libtool versioning.
14027
14028 2006-02-07  Andy Wingo  <wingo@pobox.com>
14029
14030         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
14031         update last_stop if we're in TIME format and the timestamp is
14032         valid.
14033
14034         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
14035         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
14036         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
14037         If we get a new newsegment with a different format, adapt
14038         accordingly.
14039
14040         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
14041         of 0. Not a problem, really.
14042
14043         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
14044         warn if sync=true.
14045
14046 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
14047
14048         * configure.ac:
14049           Prelease of 0.10.3
14050
14051 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
14052
14053         * win32/vs7:
14054           project files updated to the default vs7 configuration
14055         * win32/common/libgstbase.def:
14056         * win32/common/libgstreamer.def:
14057           added new symbols,
14058           removed empty lines,
14059           sorted all exported symbols alphabetically
14060         * win32/common/dirent.c:
14061         * win32/common/dirent.h:
14062         * win32/common/gchar.h:
14063           use windows line end.
14064           
14065 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14066
14067         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
14068           Send EOS event when stopping.
14069
14070 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14071
14072         * docs/README:
14073           Tell folks what to do if the plugin-foobar.xml file
14074           hasn't been generated for a newly-added plugin.
14075
14076 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14077
14078         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14079         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14080         (gst_collect_pads_start), (gst_collect_pads_stop),
14081         (gst_collect_pads_event): Collectpads now holds a reference
14082         to the GstPad that was added. Indeed we don't want to look
14083         at pads that might just go away with no warning...
14084
14085 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14086
14087         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14088         (gst_collect_pads_start), (gst_collect_pads_stop),
14089         (gst_collect_pads_event), (gst_collect_pads_chain):
14090         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
14091         Mark Nauwelaerts's patch on bug #328491.
14092
14093 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14094
14095         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
14096         (gst_utils_suite):
14097           Add some simple tests for gst_parse_bin_from_description() and
14098           gst_bin_find_unconnected_pad() (#329069).
14099
14100 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14101
14102         * tools/gst-launch.c: (event_loop), (main):
14103           Catch errors during preroll (#320084).
14104
14105 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
14106
14107         * plugins/elements/gsttypefindelement.c:
14108         (gst_type_find_element_activate):
14109           Post TYPE_NOT_FOUND error message when typefinding
14110           is unsuccessful in the activate function as well.
14111
14112 2006-02-02  Wim Taymans  <wim@fluendo.com>
14113
14114         * docs/design/part-element-sink.txt:
14115         Updated doc.
14116
14117 2006-02-02  Wim Taymans  <wim@fluendo.com>
14118
14119         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14120         (gst_base_sink_render_object),
14121         (gst_base_sink_queue_object_unlocked):
14122         Only keep track of prerollable items when we are 
14123         prerolling.
14124         Before rendering after preroll, always check if we
14125         have queued items.
14126         Added some more debugging.
14127
14128 2006-02-02  Wim Taymans  <wim@fluendo.com>
14129
14130         * gst/gstelement.c: (gst_element_continue_state),
14131         (gst_element_set_state_func), (gst_element_change_state):
14132         Fixed #326576, been running this for quite some time with
14133         no regressions at all.
14134
14135 2006-02-02  Wim Taymans  <wim@fluendo.com>
14136
14137         * common/gst.supp:
14138         Added more suppressions
14139
14140 2006-02-02  Wim Taymans  <wim@fluendo.com>
14141
14142         * docs/design/part-element-sink.txt:
14143         Updated document.
14144
14145         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14146         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
14147         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
14148         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14149         (gst_base_sink_do_sync), (gst_base_sink_render_object),
14150         (gst_base_sink_preroll_object),
14151         (gst_base_sink_queue_object_unlocked),
14152         (gst_base_sink_queue_object), (gst_base_sink_event),
14153         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
14154         (gst_base_sink_loop), (gst_base_sink_activate_pull),
14155         (gst_base_sink_get_position), (gst_base_sink_change_state):
14156         * libs/gst/base/gstbasesink.h:
14157         Totally refactored matching the design doc.
14158         Use two segments, one to clip incomming buffers and another to
14159         perform sync.
14160         Handle queueing correctly, bypass the queue when playing.
14161         Make EOS cancelable.
14162         Handle errors correctly when operating in pull based mode.
14163
14164         * tests/check/elements/fakesink.c: (GST_START_TEST),
14165         (fakesink_suite):
14166         Added new check for sinks.
14167
14168 2006-02-02  Wim Taymans  <wim@fluendo.com>
14169
14170         * gst/gstsegment.c: (gst_segment_clip):
14171         No reason to refuse to clip when start == -1
14172
14173 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
14174
14175         * docs/README:
14176         * docs/manual/intro-basics.xml:
14177         * docs/manual/intro-preface.xml:
14178         * docs/manual/manual.xml:
14179         * docs/pwg/advanced-dparams.xml:
14180         * docs/pwg/intro-basics.xml:
14181         * docs/pwg/intro-preface.xml:
14182         * docs/pwg/pwg.xml:
14183           describe dparams (controller) for plugins
14184           unify docs a little more
14185
14186 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
14187
14188         * docs/gst/gstreamer-sections.txt:
14189         * gst/gstutils.c: (element_find_unconnected_pad),
14190         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
14191         * gst/gstutils.h:
14192           Add new API: gst_parse_bin_from_description() and
14193           gst_bin_find_unconnected_pad() (#329069).
14194
14195 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
14196
14197         * docs/manual/README:
14198           uncover a nasty detail of the docs build
14199
14200 2006-01-31  Wim Taymans  <wim@fluendo.com>
14201
14202         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
14203         Don't cache duration messages if we're not going to use or
14204         free them.
14205
14206 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
14207
14208         * docs/manual/advanced-dparams.xml:
14209         * docs/pwg/advanced-dparams.xml:
14210           more dparam docs
14211         * gst/gstindex.c:
14212           fix docs
14213         * libs/gst/controller/lib.c: (gst_controller_init):
14214           init just once
14215
14216 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * gst/gstelement.c: (gst_element_message_full):
14219           also show file/line/func if no additional debug was given
14220
14221 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
14222         
14223         * win32/vs7/grammar.vcproj:
14224           activate copy of autogenerated files for Release mode
14225
14226 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14227         
14228         * win32/common/libgstreamer.def:
14229           export gst_value_compare
14230
14231 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
14232
14233         * plugins/elements/Makefile.am:
14234         * plugins/elements/gstelements.c:
14235         * plugins/elements/gstfdsink.c: (_do_init),
14236         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
14237         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
14238         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
14239         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
14240         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
14241         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14242         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14243         * plugins/elements/gstfdsink.h:
14244         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14245
14246 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
14247
14248         * docs/manual/advanced-dparams.xml:
14249           describe controller
14250         * docs/manual/advanced-position.xml:
14251         * docs/manual/basics-init.xml:
14252         * docs/manual/manual.xml:
14253         * docs/manual/titlepage.xml:
14254         * docs/pwg/pwg.xml:
14255         * docs/pwg/titlepage.xml:
14256           cleanup xml (more to come)
14257         * libs/gst/controller/gstcontroller.c:
14258           fix typo
14259
14260 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14261         
14262         * win32/vs6/grammar.dsp:
14263           add autogen of gstmarshal.c,h for Release mode
14264                 
14265 2006-01-30  Wim Taymans  <wim@fluendo.com>
14266
14267         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14268         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14269         (gst_base_sink_handle_object), (gst_base_sink_event),
14270         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14271         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14272         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14273         (gst_base_sink_deactivate), (gst_base_sink_activate),
14274         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14275         (gst_base_sink_query), (gst_base_sink_change_state):
14276         Basesink cleanups, remove some old code.
14277         Handle the case where a subclass can preroll in the render
14278         method (mostly audiosinks).
14279         Handle more events.
14280         Remove some locks around variables that are now protected
14281         with the PREROLL_LOCK (clock_id, flushing, ..).
14282         Optimize position query some more, do correct locking.
14283         Remove old code to push queue in state change, this is not
14284         needed anymore since preroll blocks on all prerollable items 
14285         now.
14286         Almost implemented as described in design doc.
14287
14288 2006-01-30  Wim Taymans  <wim@fluendo.com>
14289
14290         * tests/check/gst/gstbin.c: (GST_START_TEST):
14291         Wait for refcount to settle down before checking.
14292
14293 2006-01-30  Wim Taymans  <wim@fluendo.com>
14294
14295         * docs/design/part-element-sink.txt:
14296         Pseudo code overview of desired sink behaviour regarding
14297         preroll.
14298
14299 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14300         * win32/vs6/grammar.dsp:
14301           fix some bugs in Release mode for autogenerated files
14302                 
14303 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14304         * win32/common/libgstbase.def:
14305         * win32/common/libgstreamer.def:
14306           export some new symbols: gst_base_src_set_format,
14307           gst_iterator_next, gst_structure_set_valist
14308
14309 2006-01-29  Julien MOUTTE  <julien@moutte.net>
14310
14311         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14312         Set pad functions unconditionally. Fixes #329105.
14313
14314 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14315         * win32/vs8:
14316           add vs8 project files created by Sergey Scobich
14317
14318 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
14319
14320         * gst/gstutils.c: (gst_element_unlink_pads):
14321         Don't leak pad references.
14322
14323         * tests/check/elements/fakesink.c: (GST_START_TEST):
14324         * tests/check/generic/sinks.c: (GST_START_TEST):
14325         * tests/check/generic/states.c: (GST_START_TEST):
14326         * tests/check/gst/gstbin.c: (GST_START_TEST):
14327         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14328         * tests/check/gst/gstelement.c: (GST_START_TEST):
14329         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14330         * tests/check/gst/gstiterator.c: (GST_START_TEST):
14331         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14332         Fix a bunch of leaks. Make generic/sinks.c
14333         use a bit less cpu by slowing the buffer rate
14334         between fakesrc and fakesink.
14335         
14336 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
14337         * gst/gstcaps.c:
14338         * gst/gstelement.c: (gst_element_send_event):
14339         * gst/gstevent.c:
14340         * gst/gstinfo.c:
14341         * gst/gstiterator.c:
14342         * gst/gstiterator.h:
14343         * gst/gstpad.c: (gst_pad_send_event):
14344         * gst/gststructure.c:
14345         * gst/gsturi.c:
14346         * gst/gstutils.c:
14347         * gst/gstvalue.c:
14348         * libs/gst/base/gstadapter.c:
14349           doc fixes, to link to function, just write gst_cool_function(), don't
14350           prefix with '#'
14351
14352 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14353
14354         * plugins/elements/gsttee.c: (gst_tee_do_push),
14355         (gst_tee_handle_buffer):
14356         Always prefer an actual return value from a src
14357         pad in place of NOT_LINKED. This means we return
14358         WRONG_STATE when all src pads are WRONG_STATE
14359         instead of NOT_LINKED.
14360
14361         Lock when replacing the last message to prevent
14362         racing with the get_property method.
14363
14364         Add debug output
14365
14366 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14367
14368         * tests/check/Makefile.am:
14369         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14370         (main):
14371         Add a very simple check that should have caught the memleak I fixed
14372         last night (if not for the slice allocator hiding it)
14373
14374 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14375
14376         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14377         (gst_bin_remove_func), (gst_bin_handle_message_func),
14378         (bin_query_duration_fold), (bin_query_generic_fold):
14379         Clean up references to the clock provider when disposed or when
14380         handling a clock-lost message from it.
14381
14382         Unref sinks when performing a query via gst_iterator_fold, as the
14383         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14384
14385         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14386         (gst_clock_set_master):
14387         Drop our reference to the master clock, if any, when we are disposed.
14388
14389         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14390         Chain up in dispose. 
14391
14392 2006-01-26  Wim Taymans  <wim@fluendo.com>
14393
14394         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14395         Add some debugging.
14396
14397 2006-01-26  Julien MOUTTE  <julien@moutte.net>
14398
14399         * plugins/elements/gsttee.c: (gst_tee_do_push),
14400         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14401         handles pad being NOT_LINKED or in WRONG_STATE.
14402
14403 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14404
14405         * win32/MANIFEST:
14406           more updating
14407
14408 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14409
14410         * win32/MANIFEST:
14411           remove obsolete entry
14412
14413 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14414
14415         * docs/gst/gstreamer-sections.txt:
14416         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14417         (gst_bin_iterate_sources), (gst_bin_send_event):
14418         * gst/gstbin.h:
14419         * gst/gstelement.c: (gst_element_send_event):
14420         * gst/gstevent.c:
14421         * gst/gstpad.c: (gst_pad_send_event):
14422           added code for downstream events, reviewed docs in gstevent.c
14423
14424 2006-01-25  Julien MOUTTE  <julien@moutte.net>
14425
14426         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14427         We only query position using the clock in the playing state.
14428         Query peer in the other cases.
14429         * win32/common/config.h: Updates.
14430
14431 2006-01-24  Wim Taymans  <wim@fluendo.com>
14432
14433         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14434         A clock entry that is scheduled for the exact time of the
14435         clock is still in time.
14436
14437         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14438         (gst_base_sink_do_sync):
14439         Add some more debug info.
14440
14441 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14442
14443         * win32/vs7:
14444           Add new vs7 project files and solution.
14445
14446 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14447
14448         * win32/vs7:
14449           all files removed as they were out-dated.
14450
14451 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14452
14453         * docs/random/release:
14454           update notes
14455         * gst/gstbin.c: (gst_bin_init):
14456         * gst/gstbus.c: (gst_bus_new):
14457         * gst/gstbus.h:
14458         * gst/gstpipeline.c: (gst_pipeline_init):
14459           use gst_bus_new(), improve logging, fix docs
14460         * win32/common/config.h:
14461           update for cvs build
14462
14463 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14464
14465         * autogen.sh:
14466           up required version of automake to 1.7
14467
14468 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
14469
14470         * win32/common/libgstreamer.def:
14471           export gst_buffer_is_metadata_writable
14472
14473 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
14474
14475         * docs/gst/gstreamer-sections.txt:
14476         * gst/gstevent.h:
14477           Add gst_event_replace() (#327001)
14478
14479 2006-01-20  Wim Taymans  <wim@fluendo.com>
14480
14481         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14482         Make it actually compile too..
14483
14484 2006-01-20  Wim Taymans  <wim@fluendo.com>
14485
14486         * gst/gstcaps.c:
14487         Clarify behaviour of _is_equal() when passing NULL parameters.
14488
14489         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14490         (gst_pad_set_caps):
14491         Cleanups. Don't unref NULL caps.
14492         When setting the same caps, protect caps of the pad with
14493         proper lock.
14494         Use full functionality of _is_equal() when comparing caps.
14495
14496 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14497
14498         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14499         Don't loop infinitely if there are no buffers to present. Partially
14500         fixes #327197, but collectpads is just broken for reusing elements
14501         to do multiple encodes atm.
14502
14503 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14504
14505         * tools/gst-inspect.c: (print_element_features):
14506         * tools/gst-xmlinspect.c: (main):
14507         URL_HANDLER is not a plugin feature we can search for in
14508         the registry.
14509
14510 2006-01-19  Edward Hervey  <edward@fluendo.com>
14511
14512         * gst/gstelement.c: (gst_element_pads_activate): 
14513         When activating, do src pads first, then sink pads.
14514         When de-activating, do sink pads first, then src pads.
14515
14516 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14517
14518         * docs/gst/gstreamer-sections.txt:
14519         Add gst_index_add_associationv to the docs
14520
14521 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14522
14523         * gst/gstevent.c:
14524           Fix docs typo
14525
14526         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14527         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14528           Do some refactoring. Doesn't actually change functionality,
14529           but makes landing the DRAIN event easier later.
14530
14531 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
14532
14533         * docs/pwg/advanced-scheduling.xml:
14534           Update from 0.9.x to 0.10 API and make example a bit
14535           clearer.
14536
14537 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14538
14539         * docs/gst/gstreamer-sections.txt:
14540         Add gst_buffer_(is|make)_metadata_writable methods.
14541
14542 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14543
14544         * docs/design/part-sparsestreams.txt:
14545         Update sparse streams doc, hopefully for greater clarity
14546
14547 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
14548
14549         * docs/design/part-events.txt:
14550         Remove mention of FILLER events.
14551         Add DRAIN event.
14552
14553         * docs/design/part-sparsestreams.txt:
14554         Write some things about using NEWSEGMENT to keep sparse streams
14555         flowing.
14556
14557 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14558
14559         * gst/gstbin.c: (gst_bin_dispose):
14560           Guard gst_object_unref call against a NULL object (dispose
14561           can theoretically be called multiple times).
14562           
14563 2006-01-18  Wim Taymans  <wim@fluendo.com>
14564
14565         * gst/gstbin.c: (gst_bin_element_set_state):
14566         * gst/gstclock.c: (gst_clock_id_wait):
14567         Added some more debug info.
14568
14569         * libs/gst/base/gstadapter.c:
14570         Added more docs.
14571
14572         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14573         (gst_base_sink_do_sync), (gst_base_sink_chain):
14574         Added some comments.
14575
14576 2006-01-18  Wim Taymans  <wim@fluendo.com>
14577
14578         * tests/check/Makefile.am:
14579         * tests/check/elements/fakesink.c: (chain_async_buffer),
14580         (chain_async), (chain_async_return), (GST_START_TEST),
14581         (fakesink_suite), (main):
14582         Added fakesink test that checks prerolling and clipping
14583         behaviour.
14584
14585         * tests/check/gst/gstutils.c: (GST_START_TEST):
14586         Make check run faster so that buildbots don't timeout.
14587
14588 2006-01-18  Wim Taymans  <wim@fluendo.com>
14589
14590         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14591         (gst_base_sink_do_sync):
14592         Some cleanups.
14593         When the sink finishes blocking on the preroll buffer, it can
14594         immediatly render it instead of rendering when the next buffer
14595         arrives.
14596
14597 2006-01-18  Wim Taymans  <wim@fluendo.com>
14598
14599         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14600         (gst_base_sink_get_property), (gst_base_sink_do_sync),
14601         (gst_base_sink_chain):
14602         Small cleanups.
14603         GST_ELEMENT_CLOCK and sync are protected with LOCK.
14604         Don't store _last_stop if the buffer is dropped.
14605
14606 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14607
14608         * plugins/elements/gsttypefindelement.c:
14609         (gst_type_find_element_class_init):
14610           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14611           object method handler that sets the caps on the pad and we want
14612           that to happen before we emit the signal (fixes e.g. feeding a
14613           plain text file to decodebin).
14614
14615 2006-01-18  Christian Schaller  <Christian@fluendo.com>
14616
14617         * gst/gstplugin.c: Add MPL and Proprietary as license options
14618
14619 2006-01-18  Andy Wingo  <wingo@pobox.com>
14620
14621         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14622         symbol was exported before, it appears this was just an oversight.
14623         Fixes #168703.
14624         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14625
14626         * gst/gstindex.c (gst_index_add_associationv): Changed int in
14627         prototype to gint. OK since this prototype was not in the header.
14628
14629 2006-01-17  Andy Wingo  <wingo@pobox.com>
14630
14631         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14632         registry while we remove plugins.
14633
14634         * tools/gst-inspect.c (print_element_info): Don't unref the
14635         factory arg, that should be the responsibility of whatever code
14636         received the ref. Fixes a double-free when called from
14637         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14638         (main): Unref the factory if we have one.
14639         (print_element_list): No change -- relies on the
14640         plugin_feature_list_free to free the list of features.
14641
14642 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
14643
14644         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14645         (gst_buffer_make_metadata_writable):
14646         * gst/gstbuffer.h:
14647         * libs/gst/base/gstbasetransform.c:
14648         (gst_base_transform_prepare_output_buf):
14649         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14650         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14651           Replace gst_buffer_(make|is)_metadata_writable patch now
14652           that the release is out.
14653
14654 2006-01-17  Andy Wingo  <wingo@pobox.com>
14655
14656         * gst/gstregistry.c: Reflow design comment. Update so as to speak
14657         in the present tense without reference to versions.
14658
14659         * gst/gstregistry.c (gst_registry_add_plugin)
14660         (gst_registry_remove_plugin, gst_registry_remove_feature)
14661         (gst_registry_find_feature, gst_registry_get_feature_list)
14662         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14663         (gst_registry_lookup, gst_registry_scan_path)
14664         (_gst_registry_remove_cache_plugins)
14665         (gst_registry_get_feature_list_by_plugin): Add argument
14666         validation.
14667
14668 === release 0.10.2 ===
14669
14670 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
14671
14672         * configure.ac:
14673           releasing 0.10.2, "If man is five"
14674
14675 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14676
14677         * gst/gstbuffer.c:
14678         * gst/gstbuffer.h:
14679         * libs/gst/base/gstbasetransform.c:
14680         (gst_base_transform_prepare_output_buf):
14681         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14682         * tests/check/gst/gstbuffer.c: (gst_test_suite):
14683           Back out patch until after the release.
14684
14685 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14686
14687         * gst/gstminiobject.c:
14688           Spelling fix in docs.
14689         * ChangeLog - remove conflict indicator
14690
14691 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14692
14693         Reviewed By: Andy Wingo
14694
14695         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14696         (gst_buffer_make_metadata_writable):
14697         * gst/gstbuffer.h:
14698           Add gst_buffer_(is|make)_metadata_writable as analogues of
14699           gst_buffer_(is|make)_writable.
14700
14701         * libs/gst/base/gstbasetransform.c:
14702         (gst_base_transform_prepare_output_buf):
14703         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14704           Use name gst_buffer_(is|make)_metadata_writable functions.
14705
14706         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14707           Test gst_buffer_(is|make)_metadata_writable
14708         
14709           (Closes: #324162)
14710
14711 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14712
14713         * docs/manual/Makefile.am:
14714           don't do parallel make
14715         * configure.ac:
14716           AC_SUBST HOST_CPU
14717         * win32/common/config.h.in:
14718           add generations for HOST_CPU and GST_MAJORMINOR
14719         * win32/common/config.h:
14720           commit generated result
14721
14722 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
14723
14724         * docs/manual/appendix-integration.xml:
14725           Update GNOME integration section to use gst_init_get_option_group()
14726           instead of the old popt stuff (#322911). Also, GNOME applications
14727           should  now use gconf*sink and gconf*src instead of the old gconf
14728           helper lib we had.
14729
14730 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
14731
14732
14733         * docs/gst/gstreamer-docs.sgml:
14734         * docs/gst/gstreamer-sections.txt:
14735         * docs/libs/gstreamer-libs-sections.txt:
14736           add new API entries to the docs
14737         * libs/gst/controller/Makefile.am:
14738         * libs/gst/controller/gstcontroller.c:
14739         * libs/gst/controller/gstcontroller.h:
14740         * libs/gst/controller/gstcontrollerprivate.h:
14741         * libs/gst/controller/gsthelper.c:
14742         * libs/gst/controller/gstinterpolation.c:
14743           move private structs to private header
14744         * po/README:
14745           gstreamer-0.7 -> gstreamer-0.10
14746         * tests/check/libs/struct_i386.h:
14747           remove private structs
14748
14749 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14750
14751         * plugins/indexers/Makefile.am:
14752           Fixes as part of #317048
14753
14754 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14755
14756         * plugins/indexers/Makefile.am:
14757           fix #316086 - compilation when mmap is missing
14758
14759 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
14760
14761         * libs/gst/base/gstbasesink.c:
14762           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
14763           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14764         * win32/common/config.h:
14765           added some defines GST_MAJORMINOR and HOST_CPU
14766         * win32/common/libgstbase.def:
14767         * win32/common/libgstreamer.def:
14768           added some exported functions.
14769
14770 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14771
14772         * libs/gst/controller/gstcontroller.c:
14773         (gst_controlled_property_set_interpolation_mode),
14774         (gst_controlled_property_new):
14775         * libs/gst/controller/gstcontroller.h:
14776         * libs/gst/controller/gstinterpolation.c:
14777         (interpolate_none_get_string_value_array):
14778           make G_TYPE_STRING controlable
14779
14780 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14781
14782         * tools/README:
14783         * tools/gst-feedback.1.in:
14784         * tools/gst-inspect.1.in:
14785         * tools/gst-launch.1.in:
14786         * tools/gst-md5sum.1.in:
14787         * tools/gst-typefind.1.in:
14788         * tools/gst-xmlinspect.1.in:
14789         * tools/gst-xmllaunch.1.in:
14790           cleanup man-pages, remove reference to gst-register, document env-vars
14791
14792 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
14793
14794         * gst/gstbuffer.c: (gst_buffer_span):
14795           gst_buffer_span should copy the timestamp of the first buffer
14796           if they were both originally overlapping subbuffers of the 
14797           same parent, using the same logic as the 'slow copy' case.
14798
14799 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
14800
14801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14802           Need to awaken ALL the pads when we pop a buffer, otherwise
14803           collectpads only works when there is 2 input streams.
14804
14805 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
14806
14807         * docs/random/ensonic/media-device-daemon.txt:
14808           more ideas (dbus)
14809         * gst/gstbuffer.c:
14810           fix doc example, add clarification
14811         * tools/gst-launch.1.in:
14812           add initial info about GST_PLUGIN_PATH, needs more work
14813
14814 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
14815
14816         * docs/manual/basics-bins.xml:
14817         * docs/manual/basics-elements.xml:
14818         * docs/manual/intro-basics.xml:
14819           Some more minor docs additions and updates.
14820
14821 2006-01-11  Wim Taymans  <wim@fluendo.com>
14822
14823         * docs/manual/basics-bins.xml:
14824         * docs/manual/basics-elements.xml:
14825         Some small fixes as pointed out by Ser-ver on IRC.
14826
14827 2006-01-10  Edward Hervey  <edward@fluendo.com>
14828
14829         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14830         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14831         the single-segment mode.
14832
14833 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
14834
14835         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14836
14837         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14838         (gst_base_src_perform_seek), (gst_base_src_send_event),
14839         (gst_base_src_set_property), (gst_base_src_get_property),
14840         (gst_base_src_loop), (gst_base_src_start),
14841         (gst_base_src_activate_push):
14842         * libs/gst/base/gstbasesrc.h:
14843           Name (private) union; makes Sun's Forte compiler happy (#324900).
14844
14845 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14846
14847         * README:
14848           gst-register is gone.
14849
14850 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14851
14852         * gst/gstvalue.c: (_gst_value_initialize):
14853           make the G_TYPE_DATE instantiation work if debug is disabled
14854
14855 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14856
14857         * gst/gstmessage.c: (gst_message_parse_tag),
14858         (gst_message_parse_error), (gst_message_parse_warning):
14859           Don't crash when return location for error/warning debug
14860           string is NULL; add fact that return locations can be
14861           NULL to docs where appropriate.
14862
14863 2006-01-05  Wim Taymans  <wim@fluendo.com>
14864
14865         * gst/gstplugin.c: (gst_plugin_load_file):
14866         Replace strdup by g_strdup.
14867
14868 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14869
14870         * docs/pwg/advanced-types.xml:
14871           fix doc borkage
14872
14873 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14874
14875         submitted by: Abel Cheung
14876
14877         * po/LINGUAS:
14878         * po/zh_TW.po:
14879           Added Chinese (traditional) translation
14880
14881 2006-01-04  Wim Taymans  <wim@fluendo.com>
14882
14883         * docs/manual/basics-pads.xml:
14884         * docs/plugins/Makefile.am:
14885         * docs/plugins/gstreamer-plugins-docs.sgml:
14886         * docs/plugins/gstreamer-plugins-sections.txt:
14887         * docs/pwg/advanced-clock.xml:
14888         * docs/pwg/advanced-scheduling.xml:
14889         * docs/pwg/advanced-types.xml:
14890         * plugins/elements/gstfdsink.c:
14891         * plugins/elements/gstfdsrc.c:
14892         * plugins/elements/gstfdsrc.h:
14893         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14894         * plugins/elements/gstidentity.h:
14895         * plugins/elements/gstqueue.h:
14896         * plugins/elements/gsttee.c:
14897         * plugins/elements/gsttee.h:
14898         * plugins/elements/gsttypefindelement.c:
14899         (gst_type_find_element_class_init):
14900         * plugins/elements/gsttypefindelement.h:
14901         Small updates to various docs.
14902         Added core plugins to docs.
14903
14904 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14905
14906         * common/gst.supp:
14907           add a suppression for liboil's uninitialized variable
14908
14909 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14910
14911         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14912
14913         * gst/gstutils.h:
14914           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14915           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14916           compiler switch is being used (#325429).
14917
14918 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14919
14920         * gst/gstbin.c: (gst_bin_query):
14921           Disable duration query caching in bins until it gets
14922           fixed (see #324807).
14923
14924 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14925
14926         * tools/gst-inspect.c: (print_element_properties_info):
14927           Handle properties of POINTER and BOXED type.
14928
14929 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14930
14931         * gst/gst.c: (init_post):
14932           Init tags stuff and some other things before loading
14933           any static plugins (there may be other static plugins
14934           than just the GStreamer ones, and they may want to
14935           register their own tags or formats or whatever, and
14936           preferably without segfaulting).
14937
14938         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14939           Print at least a warning in the debug logs if we drop a
14940           query just because we don't know how to adjust the value
14941           in the particular format.
14942
14943 2005-12-24  David Schleef  <ds@schleef.org>
14944
14945         * tools/gstreamer-completion:
14946           Replacement for gst-complete written in sh and sed.  Only
14947           completes names of features, but that's 90% of what I want
14948           it for.  Properties are not available in registry.xml.  (Maybe
14949           they should be...)
14950
14951 === release 0.10.1 ===
14952
14953 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14954
14955         * configure.ac:
14956           releasing 0.10.1, "Nollaig chridheil"
14957
14958 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14959
14960         * docs/faq/cvs.xml:
14961           Add missing quote, should be make ERROR_CFLAGS="".
14962
14963 2005-12-20  Wim Taymans  <wim@fluendo.com>
14964
14965         * docs/design/part-trickmodes.txt:
14966         More documentation on trickmodes.
14967
14968 2005-12-20  Edward Hervey  <edward@fluendo.com>
14969
14970         * gst/gstcaps.c: (gst_static_caps_get_type):
14971         * gst/gstcaps.h:
14972           API addition: GST_TYPE_STATIC_CAPS
14973         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14974         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14975         * gst/gstpadtemplate.h:
14976           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14977         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14978         bindings.
14979
14980 2005-12-18  Wim Taymans  <wim@fluendo.com>
14981
14982         * libs/gst/base/gstadapter.c:
14983         * libs/gst/base/gstadapter.h:
14984         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14985         (gst_base_sink_get_position):
14986         * libs/gst/base/gstbasesink.h:
14987         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14988         (gst_base_src_default_query), (gst_base_src_default_do_seek),
14989         (gst_base_src_do_seek), (gst_base_src_perform_seek),
14990         (gst_base_src_send_event), (gst_base_src_update_length),
14991         (gst_base_src_get_range), (gst_base_src_loop),
14992         (gst_base_src_start):
14993         * libs/gst/base/gstbasesrc.h:
14994         * libs/gst/base/gstbasetransform.h:
14995         * libs/gst/base/gstcollectpads.h:
14996         * libs/gst/base/gstpushsrc.c:
14997         * libs/gst/base/gstpushsrc.h:
14998         * libs/gst/dataprotocol/dataprotocol.c:
14999         * libs/gst/dataprotocol/dataprotocol.h:
15000         * libs/gst/net/gstnetclientclock.h:
15001         * libs/gst/net/gstnettimeprovider.h:
15002         Documentation updates.
15003
15004 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
15005
15006         * docs/manual/basics-helloworld.xml:
15007           Remove superfluous closing bracket in helloworld example.
15008
15009 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
15010
15011         * tools/gst-launch.1.in:
15012           Update gst-launch man page; add a section with useful
15013           environment variables. Fixes #323882.
15014
15015 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
15016
15017         * gst/gst.c:
15018         * gst/gst_private.h:
15019           change some char* into char[]
15020
15021 2005-12-16  Wim Taymans  <wim@fluendo.com>
15022
15023         * gst/gstregistryxml.c: (load_feature):
15024         Cleanups.
15025         Don't use g_object_unref on GstObjects so that we avoid
15026         leaks on unsafe glibs.
15027
15028 2005-12-16  Wim Taymans  <wim@fluendo.com>
15029
15030         * gst/gstbin.c: (gst_bin_recalc_state):
15031         Small doc updates.
15032
15033 2005-12-16  Wim Taymans  <wim@fluendo.com>
15034
15035         * common/check.mak:
15036         Added make forever target for check.
15037
15038 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15039
15040         * gst/gst.c: (init_post):
15041           make the registry cache file HOST_CPU-dependent
15042
15043 2005-12-16  Andy Wingo  <wingo@pobox.com>
15044
15045         * plugins/elements/gstbufferstore.c
15046         (gst_buffer_store_cleared_func): Pay attention to g_list_append
15047         return value.
15048
15049         * tests/check/gst/gstobject.c
15050         (test_fake_object_name_threaded_unique): Pay attention to
15051         g_list_sort return value.
15052
15053 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * tools/gst-feedback-m.m:
15056           Update for 0.9/0.10 (fixes #323870).
15057
15058 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
15059
15060         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
15061           Fix lcopy for mini objects, the mini object needs to be ref'ed.
15062           
15063         * tests/check/gst/gstminiobject.c: (my_foo_init),
15064         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
15065         (test_value_collection), (gst_mini_object_suite):
15066           Add test to ensure refcounts end up as expected when passing
15067           GstMiniObjects through g_object_get() and g_object_set().
15068
15069 2005-12-14  Julien MOUTTE  <julien@moutte.net>
15070
15071         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15072         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
15073         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
15074         of collectpads. This version removes a lot of races without
15075         touching API/ABI. Yay !
15076
15077 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
15078
15079         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
15080           Don't allow activation of a srcpad in pull_range if it has no
15081           getrange function.
15082           Change some debug statements to be a little clearer
15083
15084         * plugins/elements/gsttypefindelement.c:
15085         (gst_type_find_handle_src_query):
15086           Check that we have a peer before executing queries thereupon.
15087
15088         * tests/examples/metadata/read-metadata.c: (message_loop):
15089           Use gst_bus_pop instead of gst_bus_poll when we just want it to
15090           immediately return us any available message with 0 timeout.
15091
15092 2005-12-12  Michael Smith  <msmith@fluendo.com>
15093
15094         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
15095           Don't unref factories after calling them.
15096         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
15097         * plugins/elements/gsttypefindelement.c:
15098         (gst_type_find_element_chain):
15099           Free lists of factories after using them. Fixing typefinding memory
15100           leaks.
15101
15102 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15103
15104         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
15105         (gst_plugin_feature_load):
15106           more meaningful debug output
15107         * configure.ac:
15108         * tests/Makefile.am:
15109         * tests/old/examples/Makefile.am:
15110           make make distcheck happy again
15111
15112 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15113
15114         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15115           Catch the special case where we are operating chain-based,
15116           but the downstream peer pad has no chain function. Emit a
15117           custom error message in this case instead of letting the
15118           core generate one implying that this is some sort of core
15119           bug. It's not, it just means that whatever got plugged
15120           into the pipeline downstream when we announced the type
15121           can only operate pull-based, while our source can only
15122           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
15123           Error string has not been marked for translation yet, as
15124           it probably needs some more work first.
15125
15126         (gst_type_find_element_get_best_possibility):
15127           Add helper function to find the best of all available
15128           found possibilities that qualify given the min. threshold.
15129
15130         (gst_type_find_element_handle_event):
15131           Fix the case where we get an EOS while still in TYPEFIND
15132           mode (we want to chose the best of all possible types,
15133           not just the first type that happens to be in our unsorted
15134           list of possible types).
15135
15136         (gst_type_find_element_chain):
15137           Make sure we return GST_FLOW_ERROR when we errored out
15138           in stop_typefinding(); also, don't just find the best of
15139           all found type entries and then use the last examined
15140           type entry, but actually use the best entry.
15141
15142 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15143
15144         * tests/examples/typefind/typefind.c: (type_found):
15145         * tests/examples/xml/runxml.c: (xml_loaded):
15146           More gcc4 fixes and a mem leak fix.
15147
15148 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15149
15150         * tests/examples/xml/createxml.c: (object_saved):
15151           gcc 4 fixes
15152
15153 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15154
15155         * tests/Makefile.am:
15156           enable the examples even more
15157
15158 2005-12-12  Andy Wingo  <wingo@pobox.com>
15159
15160         * libs/gst/net/gstnettimeprovider.c
15161         (gst_net_time_provider_class_init, gst_net_time_provider_init)
15162         (gst_net_time_provider_set_property)
15163         (gst_net_time_provider_get_property):
15164         API addition: Export "active" as a GObject property.
15165         (gst_net_time_provider_thread): Only respond to time queries if
15166         the time provider is active.
15167
15168         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
15169         NetTimeProvider, preserving binary compat.
15170
15171 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15172
15173         * tests/examples/controller/audio-example.c: (main):
15174         * tests/examples/launch/Makefile.am:
15175           convert comments again
15176
15177 2005-12-12  Wim Taymans  <wim@fluendo.com>
15178
15179         * libs/gst/base/gstpushsrc.c:
15180         Fix typo.
15181
15182 2005-12-12  Wim Taymans  <wim@fluendo.com>
15183
15184         * docs/libs/gstreamer-libs-sections.txt:
15185         Added new symbol to docs.
15186
15187         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15188         (gst_base_src_init), (gst_base_src_set_format),
15189         (gst_base_src_default_query), (gst_base_src_query),
15190         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
15191         (gst_base_src_perform_seek), (gst_base_src_send_event),
15192         (gst_base_src_default_event), (gst_base_src_event_handler),
15193         (gst_base_src_set_property), (gst_base_src_get_property),
15194         (gst_base_src_wait), (gst_base_src_do_sync),
15195         (gst_base_src_update_length), (gst_base_src_get_range),
15196         (gst_base_src_check_get_range), (gst_base_src_loop),
15197         (gst_base_src_default_negotiate), (gst_base_src_start),
15198         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15199         (gst_base_src_change_state):
15200         * libs/gst/base/gstbasesrc.h:
15201         Implement seeking to other formats than _BYTES.
15202         Implement more seeking methods correctly.
15203         Doc updates.
15204         Added query vmethod.
15205         Added do_seek vmethod to make life easier for subclasses
15206         when seeking.
15207         API addition: gst_base_src_set_format()
15208
15209 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15210
15211         * tests/examples/Makefile.am:
15212           added that too
15213
15214 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15215
15216         * configure.ac:
15217         * docs/random/ensonic/media-device-daemon.txt:
15218         * tests/examples/controller/.cvsignore:
15219         * tests/examples/controller/Makefile.am:
15220         * tests/examples/controller/audio-example.c: (main):
15221         * tests/examples/helloworld/.cvsignore:
15222         * tests/examples/helloworld/Makefile.am:
15223         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
15224         * tests/examples/launch/.cvsignore:
15225         * tests/examples/launch/Makefile.am:
15226         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
15227         * tests/examples/metadata/.cvsignore:
15228         * tests/examples/metadata/Makefile.am:
15229         * tests/examples/metadata/read-metadata.c: (message_loop),
15230         (make_pipeline), (print_tag), (main):
15231         * tests/examples/queue/.cvsignore:
15232         * tests/examples/queue/Makefile.am:
15233         * tests/examples/queue/queue.c: (event_loop), (main):
15234         * tests/examples/typefind/.cvsignore:
15235         * tests/examples/typefind/Makefile.am:
15236         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
15237         (main):
15238         * tests/examples/xml/.cvsignore:
15239         * tests/examples/xml/Makefile.am:
15240         * tests/examples/xml/createxml.c: (object_saved), (main):
15241         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15242         * tests/old/examples/Makefile.am:
15243         * tests/old/examples/TODO:
15244         * tests/old/examples/controller/.cvsignore:
15245         * tests/old/examples/controller/Makefile.am:
15246         * tests/old/examples/controller/audio-example.c:
15247         * tests/old/examples/helloworld/.cvsignore:
15248         * tests/old/examples/helloworld/Makefile.am:
15249         * tests/old/examples/helloworld/helloworld.c:
15250         * tests/old/examples/launch/.cvsignore:
15251         * tests/old/examples/launch/Makefile.am:
15252         * tests/old/examples/launch/mp3parselaunch.c:
15253         * tests/old/examples/launch/mp3play:
15254         * tests/old/examples/manual/Makefile.am:
15255         * tests/old/examples/metadata/Makefile.am:
15256         * tests/old/examples/metadata/read-metadata.c:
15257         * tests/old/examples/queue/.cvsignore:
15258         * tests/old/examples/queue/Makefile.am:
15259         * tests/old/examples/queue/queue.c:
15260         * tests/old/examples/typefind/.cvsignore:
15261         * tests/old/examples/typefind/Makefile.am:
15262         * tests/old/examples/typefind/typefind.c:
15263         * tests/old/examples/xml/.cvsignore:
15264         * tests/old/examples/xml/Makefile.am:
15265         * tests/old/examples/xml/createxml.c:
15266         * tests/old/examples/xml/runxml.c:
15267           applied some simple fixing to some examples
15268           re-enabled the working examples
15269
15270 2005-12-12  Wim Taymans  <wim@fluendo.com>
15271
15272         * gst/gstsegment.c: (gst_segment_init),
15273         (gst_segment_set_last_stop), (gst_segment_set_seek),
15274         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15275         (gst_segment_to_running_time):
15276         Added more documentation.
15277         Make sure the last_pos value is updated properly.
15278         Make sure to_stream_time and to_running_time don't
15279         operate on wrong values.
15280
15281         * tests/check/gst/gstsegment.c: (GST_START_TEST):
15282         Update check.
15283
15284 2005-12-12  Michael Smith  <msmith@fluendo.com>
15285
15286         * plugins/elements/gsttypefindelement.c: (free_entry),
15287         (gst_type_find_element_chain):
15288           Now that we're not leaking factories, make sure we keep references
15289           to them while we need them.
15290
15291 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15292
15293         * tests/check/gst/struct_i386.h:
15294           ifdef out the XML structs
15295
15296 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15297
15298         * gst/gstvalue.c: (gst_value_transform_double_fraction):
15299           floor is not needed, F is always positive; this obviates the
15300           need for adding -lm when building without libxml
15301
15302 2005-12-12  Wim Taymans  <wim@fluendo.com>
15303
15304         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15305         Take current playback rate into account when reporting
15306         the position.
15307
15308 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15309
15310         * docs/manual/mime-world.fig:
15311           Let's try this again, this time with a file that is
15312           actually in XFig format.
15313
15314 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * docs/manual/mime-world.fig:
15317           Add audioconvert element to diagram so that it
15318           matches the text and the code (fixes #319526).
15319
15320 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15321
15322         * docs/pwg/building-chainfn.xml:
15323         * docs/pwg/building-pads.xml:
15324         * docs/pwg/building-state.xml:
15325         * docs/pwg/other-source.xml:
15326           Update state change stuff for 0.10 (fixes #322969).
15327
15328 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * docs/manual/advanced-dataaccess.xml:
15331         * docs/manual/appendix-checklist.xml:
15332         * docs/manual/appendix-programs.xml:
15333         * docs/manual/basics-pads.xml:
15334         * docs/manual/highlevel-components.xml:
15335         * docs/manual/manual.xml:
15336           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15337           add converters in front of pipelines; remove curly
15338           brackets for threads stuff, they no longer exist; use
15339           GST_TYPE_FRACTION for framerates; update some pieces of
15340           code to 0.10, but there's plenty more to do.
15341
15342         * docs/manual/appendix-porting.xml:
15343           Expand on asynchroneous state changes; s/0.9/0.10/;
15344           mention disappearance of gst_init_get_popt_table()
15345           (fixes #322916).
15346
15347 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15348
15349         * docs/faq/using.xml:
15350           Spider no longer exists, and neither does gst-launch-ext.
15351           Update examples to use decodebin and playbin and put
15352           converters in front of sinks (fixes #323726).
15353
15354 2005-12-09  Michael Smith  <msmith@fluendo.com>
15355
15356         * plugins/elements/gsttypefindelement.c: (find_peek),
15357         (gst_type_find_element_chain):
15358           Fix leaking element factories in typefinding.
15359           Fix problem where we forgot about a probable type on non-seekable
15360           files, and thus later mis-typefound it.
15361
15362 2005-12-09  Michael Smith  <msmith@fluendo.com>
15363
15364         * common/m4/gst-makecontext.m4:
15365         * common/m4/gst-mcsc.m4:
15366         * configure.ac:
15367         * win32/common/config.h:
15368         * win32/common/config.h.in:
15369           Remove makecontext stuff; not used in 0.10 and causes problems on
15370           HPUX according to bug #322441
15371
15372 2005-12-07  Wim Taymans  <wim@fluendo.com>
15373
15374         * tests/check/Makefile.am:
15375         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15376         (main):
15377         * tests/check/libs/struct_i386.h:
15378         Added ABI check for libs
15379
15380 2005-12-07  Wim Taymans  <wim@fluendo.com>
15381
15382         * tests/check/Makefile.am:
15383         And add the struct_i386.h to dist.
15384
15385 2005-12-07  Wim Taymans  <wim@fluendo.com>
15386
15387         * tests/check/Makefile.am:
15388         * tests/check/gst/.cvsignore:
15389         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15390         (main):
15391         * tests/check/gst/struct_i386.h:
15392         Added check for ABI compatibility.
15393
15394 2005-12-07  Wim Taymans  <wim@fluendo.com>
15395
15396         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15397         (gst_fake_src_get_times), (gst_fake_src_create):
15398         Fix broken sync option, fixes #323259
15399
15400 2005-12-07  Wim Taymans  <wim@fluendo.com>
15401
15402         * gst/gstbuffer.c:
15403         Small docs update.
15404
15405         * gst/gstcaps.c: (gst_caps_is_equal):
15406         Don't assert on NULL <--> X. Fixes #323260
15407
15408         * gst/gstminiobject.c: (gst_mini_object_replace):
15409         If we're doing atomic operations, we might just as well use
15410         the proper way to get an atomic pointer.
15411
15412         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15413         Clean up debugging.
15414
15415 2005-12-07  Michael Smith  <msmith@fluendo.com>
15416
15417         * gst/parse/grammar.y:
15418           Remove handling of { } for threads.
15419
15420 2005-12-06  David Schleef  <ds@schleef.org>
15421
15422         * libs/gst/base/gstbasetransform.c: speling fix.
15423
15424 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15425
15426         * docs/libs/tmpl/gstdataprotocol.sgml:
15427         * docs/random/omega/testing/gstobject.c:
15428         * gst/gst.c:
15429         * gst/gstclock.c:
15430         * gst/gstelement.c:
15431         * gst/gstelementfactory.c:
15432         * gst/gsterror.c:
15433         * gst/gstevent.c:
15434         * gst/gstghostpad.c:
15435         * gst/gstinfo.c:
15436         * gst/gstpadtemplate.c:
15437         * gst/gstregistryxml.c:
15438         * gst/gsttaglist.c:
15439         * gst/gsttagsetter.c:
15440         * gst/gsttypefind.c:
15441         * gst/gstvalue.c:
15442         * libs/gst/base/gstbasesrc.c:
15443         * libs/gst/net/gstnetclientclock.c:
15444         * libs/gst/net/gstnettimeprovider.c:
15445         * plugins/elements/gstfakesrc.c:
15446         * plugins/elements/gstfdsrc.c:
15447         * plugins/elements/gstfilesrc.c:
15448         * plugins/elements/gstidentity.c:
15449         * plugins/elements/gstqueue.c:
15450         * plugins/elements/gsttypefindelement.c:
15451         * plugins/indexers/gstfileindex.c:
15452         * plugins/indexers/gstmemindex.c:
15453         * tests/check/gst/gsttag.c:
15454         * tests/old/examples/cutter/cutter.c:
15455         * tests/old/examples/mixer/mixer.c:
15456         * tests/old/examples/xml/runxml.c: (main):
15457         * tests/old/testsuite/caps/normalisation.c:
15458         * tests/old/testsuite/debug/global.c:
15459         * tests/old/testsuite/parse/parse1.c:
15460         * tools/gst-xmlinspect.c:
15461         * win32/common/dirent.c:
15462           expand tabs
15463
15464 === release 0.10.0 ===
15465
15466 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15467
15468         * configure.ac:
15469           releasing 0.10.0, "Maroilles"
15470
15471 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15472
15473         submitted by: Funda Wang <fundawang@linux.net.cn>
15474
15475         * po/LINGUAS:
15476         * po/zh_CN.po:
15477           added Chinese (Traditional) translation
15478
15479 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15480
15481         * docs/gst/gstreamer-sections.txt:
15482         * docs/libs/tmpl/gstdataprotocol.sgml:
15483         * docs/random/thomasvs/TODO:
15484         * gst/gstutils.c:
15485         * gst/gstutils.h:
15486           fix docs
15487
15488 2005-12-05  Andy Wingo  <wingo@pobox.com>
15489
15490         patch by: Wim Taymans <wim@fluendo.com>
15491
15492         * libs/gst/base/gstbasetransform.c
15493         (gst_base_transform_prepare_output_buf)
15494         (gst_base_transform_buffer_alloc):
15495         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15496         alloc_buffer_and_set_caps.
15497
15498         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15499         set_caps on the source pad.
15500         (gst_pad_alloc_buffer_and_set_caps): New function, does what
15501         alloc_buffer used to do. Fixes #322874.
15502
15503         * docs/gst/gstreamer-sections.txt: 
15504         * docs/design/part-negotiation.txt: 
15505         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15506         changes.
15507
15508 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15509
15510         patch by: Sebastien Moutte
15511
15512         * win32/MANIFEST:
15513         * win32/common/config.h.in:
15514         * win32/vs6/libgstcontroller.dsp:
15515           win32 build fixes
15516
15517 2005-12-05  Wim Taymans  <wim@fluendo.com>
15518
15519         * gst/gstcaps.c: (gst_caps_is_equal):
15520         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15521         (gst_fake_src_create):
15522         Back out previous code changes, leave doc updates, file bugs 
15523         instead. 
15524
15525 2005-12-05  Wim Taymans  <wim@fluendo.com>
15526
15527         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15528         (gst_fake_src_get_times), (gst_fake_src_create):
15529         * plugins/elements/gstfakesrc.h:
15530         Fix broken sync code.
15531
15532 2005-12-05  Wim Taymans  <wim@fluendo.com>
15533
15534         * gst/gstcaps.c: (gst_caps_is_equal):
15535         Comparing NULL against !NULL yields different caps, not a
15536         failure.
15537
15538 2005-12-05  Wim Taymans  <wim@fluendo.com>
15539
15540         * gst/gstpipeline.c:
15541         Fix small typo in docs.
15542
15543 2005-12-05  Andy Wingo  <wingo@pobox.com>
15544
15545         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
15546
15547         * gst/gst.c (init_post): remove hard-coded 0.9 location for
15548         registries/plugins with a MAJORMINOR one.
15549         (plugin_desc): Rename library from gstcoreleements to
15550         staticelements. Fixes #323222.
15551
15552 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
15553
15554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15555           Change debug category to 'collectpads' from 'collect_pads'
15556           (fixes #323250).
15557
15558 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15559
15560         patch by: Sebastien Moutte
15561
15562         * libs/gst/controller/gstinterpolation.c:
15563           use convert function for uint64/double
15564         * win32/vs6/libgstcontroller.dsp:
15565           link to GLib
15566
15567 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15568
15569         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15570         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15571         * gst/gstutils.h:
15572         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15573           add tests that seem to show that the guint64/gdouble conversions
15574           are correct.
15575
15576 2005-12-02  Wim Taymans  <wim@fluendo.com>
15577
15578         * gst/gstregistry.c: (gst_registry_add_path):
15579         * gst/gstregistry.h:
15580         * gst/gstregistryxml.c:
15581         Fix docs again.
15582
15583 2005-12-02  Wim Taymans  <wim@fluendo.com>
15584
15585         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15586         (gst_util_uint64_scale_int):
15587         Small cleanup.
15588
15589         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15590         Add debug log line.
15591
15592         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15593         Add FIXME.
15594
15595 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15596
15597         * win32/MANIFEST:
15598         * win32/common/config.h:
15599         * win32/vs6/gstreamer.dsw:
15600         * win32/vs6/libgstcoreelements.dsp:
15601         * win32/vs6/libgstelements.dsp:
15602           renamed core elements plugin
15603
15604 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15605
15606         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15607         (get_candidates):
15608           do piece-wise major/minor comparison so 0.9 < 0.10
15609           also allow .exe extensions for tools
15610
15611 2005-12-02  Michael Smith  <msmith@fluendo.com>
15612
15613         * gst/gst.c:
15614           Escape a % to make gtkdoc happier; bug 322958.
15615
15616 === release 0.9.7 ===
15617
15618 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15619
15620         * configure.ac:
15621           releasing 0.9.7, "My Dog Has No Nose"
15622
15623 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15624
15625         * common/gst-xmlinspect.py:
15626         * configure.ac:
15627         * docs/libs/tmpl/gstdataprotocol.sgml:
15628         * docs/random/release:
15629         * po/af.po:
15630         * po/az.po:
15631         * po/bg.po:
15632         * po/ca.po:
15633         * po/cs.po:
15634         * po/de.po:
15635         * po/en_GB.po:
15636         * po/fr.po:
15637         * po/it.po:
15638         * po/nb.po:
15639         * po/nl.po:
15640         * po/ru.po:
15641         * po/sq.po:
15642         * po/sr.po:
15643         * po/sv.po:
15644         * po/tr.po:
15645         * po/uk.po:
15646         * po/vi.po:
15647         * win32/common/config.h:
15648         * win32/common/config.h.in:
15649         * win32/vs6/gst_inspect.dsp:
15650         * win32/vs6/gst_launch.dsp:
15651         * win32/vs6/libgstbase.dsp:
15652         * win32/vs6/libgstelements.dsp:
15653         * win32/vs6/libgstreamer.dsp:
15654         * win32/vs7/GStreamer.vcproj:
15655         * win32/vs7/gst-inspect.vcproj:
15656         * win32/vs7/gst-launch.vcproj:
15657         * win32/vs7/libgstbase.vcproj:
15658           bump GST_MAJORMINOR to 0.10
15659           reset libtool version
15660
15661 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15662
15663         * po/LINGUAS:
15664         * po/bg.po:
15665           Added Bulgarian translation by (Alexander Shopov)
15666
15667 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15668
15669         * tests/check/gst/gstplugin.c:
15670           fix test
15671
15672 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15673
15674         * common/gst-xmlinspect.py:
15675         * common/gtk-doc-plugins.mak:
15676         * configure.ac:
15677         * docs/Makefile.am:
15678         * docs/gst/Makefile.am:
15679         * docs/gst/gstreamer-docs.sgml:
15680         * docs/gst/gstreamer-sections.txt:
15681         * docs/gst/gstreamer.types:
15682         * docs/gst/gstreamer.types.in:
15683         * docs/plugins/Makefile.am:
15684         * docs/plugins/gstreamer-plugins-docs.sgml:
15685         * docs/plugins/gstreamer-plugins-sections.txt:
15686         * docs/plugins/gstreamer-plugins.types:
15687         * docs/plugins/inspect.stamp:
15688         * docs/plugins/inspect/plugin-coreelements.xml:
15689         * docs/plugins/inspect/plugin-coreindexers.xml:
15690         * docs/plugins/scanobj-build.stamp:
15691         * gstreamer.spec.in:
15692         * plugins/elements/Makefile.am:
15693         * plugins/elements/gstelements.c:
15694         * plugins/elements/gstfakesink.c:
15695         * plugins/elements/gstfakesrc.c:
15696         * plugins/elements/gstfilesink.c:
15697         * plugins/elements/gstfilesrc.c:
15698         * plugins/elements/gstqueue.c:
15699         * plugins/indexers/Makefile.am:
15700         * plugins/indexers/gstindexers.c:
15701           document core plugins in a separate document just like all the
15702           others
15703           rename these plugins to something starting with core
15704
15705 2005-12-01  Andy Wingo  <wingo@pobox.com>
15706
15707         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15708         padding here before, but it missed the commit.
15709
15710 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15711
15712         * libs/gst/controller/gstinterpolation.c:
15713           whitespace prices have crashed, we should feel free to use some now
15714           use gst_guint64_to_gdouble
15715
15716 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15717
15718         * libs/gst/controller/gstcontroller.c:
15719         * libs/gst/controller/gsthelper.c:
15720         * libs/gst/controller/gstinterpolation.c:
15721         * libs/gst/controller/lib.c:
15722           wrap config.h include
15723
15724 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15725
15726         * docs/gst/gstreamer-sections.txt:
15727           update docs
15728
15729 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15730
15731         * plugins/elements/gstelements.c:
15732         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15733         (gst_fd_sink__class_init), (gst_fd_sink__init),
15734         (gst_fd_sink__chain), (gst_fd_sink__set_property),
15735         (gst_fd_sink__get_property):
15736         * plugins/elements/gstfdsink.h:
15737         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15738         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15739         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15740         (gst_fd_src_unlock), (gst_fd_src_set_property),
15741         (gst_fd_src_get_property), (gst_fd_src_create),
15742         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15743         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15744         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15745         (gst_fd_src_uri_handler_init):
15746         * plugins/elements/gstfdsrc.h:
15747         * plugins/elements/gstqueue.c: (gst_queue_get_type):
15748           more anal cleanup
15749
15750 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15751
15752         * docs/gst/Makefile.am:
15753         * docs/gst/gstreamer.types.in:
15754         * gst/Makefile.am:
15755           fix the docs build
15756
15757 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15758
15759         * configure.ac:
15760         * gst/Makefile.am:
15761         * gst/gst.c:
15762         * gst/gstplugin.h:
15763         * gst/gstregistry.h:
15764         * tests/benchmarks/complexity.c:
15765         * tests/benchmarks/mass-elements.c:
15766         * tests/check/Makefile.am:
15767         * tools/Makefile.am:
15768         * tools/gst-inspect.c:
15769         * tools/gst-xmlinspect.c:
15770           various fixes to make
15771           --disable-nls --disable-registry --disable-loadsave
15772           --disable-parse --disable-gst-debug
15773           work and get the core .so down to 360444 bytes after stripping
15774
15775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15776
15777         * Makefile.am:
15778         * configure.ac:
15779           descend into tests
15780         * docs/random/thomasvs/TODO:
15781         * tests/Makefile.am:
15782         * tests/README:
15783           add a README
15784
15785 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15786
15787         * win32/GStreamer.vcproj:
15788         * win32/MANIFEST:
15789         * win32/Makefile:
15790         * win32/Makefile.inspect:
15791         * win32/Makefile.launch:
15792         * win32/Makefile.register:
15793         * win32/README.txt:
15794         * win32/gst-inspect.vcproj:
15795         * win32/gst-launch.vcproj:
15796         * win32/gst-register.vcproj:
15797         * win32/gstelements.vcproj:
15798         * win32/gstgetbits.def:
15799         * win32/gstgetbits.vcproj:
15800         * win32/gstreamer-dbg.def:
15801         * win32/gstreamer.def:
15802         * win32/libgstbase.def:
15803         * win32/libgstbase.vcproj:
15804         * win32/link_oldruntime.c:
15805         * win32/mman.c:
15806         * win32/mman.h:
15807         * win32/mman.inl:
15808         * win32/msvc71.sln:
15809           move even more stuff, win32/ is nice and clean now
15810
15811 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15812
15813         * libs/gst/control/.cvsignore:
15814         * win32/MANIFEST:
15815         * win32/config.h:
15816         * win32/dirent.c:
15817         * win32/dirent.h:
15818         * win32/gstbytestream.def:
15819         * win32/gstbytestream.vcproj:
15820         * win32/gstconfig.h:
15821         * win32/gstenumtypes.c:
15822         * win32/gstenumtypes.h:
15823         * win32/gstoptimalscheduler.vcproj:
15824         * win32/gstversion.h:
15825         * win32/gtchar.h:
15826         * win32/testsuite/bins.vcproj:
15827         * win32/testsuite/bytestream.vcproj:
15828         * win32/testsuite/caps.vcproj:
15829         * win32/testsuite/cleanup.vcproj:
15830         * win32/testsuite/clock.vcproj:
15831         * win32/testsuite/debug.vcproj:
15832         * win32/testsuite/dlopen.vcproj:
15833         * win32/testsuite/dynparams.vcproj:
15834         * win32/testsuite/elements.vcproj:
15835         * win32/testsuite/ghostpads.vcproj:
15836         * win32/testsuite/indexers.vcproj:
15837         * win32/testsuite/negotiation.vcproj:
15838         * win32/testsuite/parse.vcproj:
15839         * win32/testsuite/plugin.vcproj:
15840         * win32/testsuite/refcounting.vcproj:
15841         * win32/testsuite/schedulers.vcproj:
15842         * win32/testsuite/states.vcproj:
15843         * win32/testsuite/tags.vcproj:
15844         * win32/testsuite/threads.vcproj:
15845           remove old win32 stuff that isn't maintained and should be
15846           reorganized
15847
15848 2005-11-30  Andy Wingo  <wingo@pobox.com>
15849
15850         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15851         loading the gst.interfaces python module bork.
15852
15853         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15854         available since GLib 2.2. Fixes #318031.
15855
15856 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15857
15858         * Makefile.am:
15859         * check/.cvsignore:
15860         * check/Makefile.am:
15861         * check/elements/.cvsignore:
15862         * check/elements/fakesrc.c:
15863         * check/elements/fdsrc.c:
15864         * check/elements/identity.c:
15865         * check/generic/.cvsignore:
15866         * check/generic/states.c:
15867         * check/gst-libs/.cvsignore:
15868         * check/gst-libs/controller.c:
15869         * check/gst-libs/gdp.c:
15870         * check/gst/.cvsignore:
15871         * check/gst/capslist.h:
15872         * check/gst/gst.c:
15873         * check/gst/gstbin.c:
15874         * check/gst/gstbuffer.c:
15875         * check/gst/gstbus.c:
15876         * check/gst/gstcaps.c:
15877         * check/gst/gstelement.c:
15878         * check/gst/gstevent.c:
15879         * check/gst/gstghostpad.c:
15880         * check/gst/gstiterator.c:
15881         * check/gst/gstmessage.c:
15882         * check/gst/gstminiobject.c:
15883         * check/gst/gstobject.c:
15884         * check/gst/gstpad.c:
15885         * check/gst/gstpipeline.c:
15886         * check/gst/gstplugin.c:
15887         * check/gst/gstsegment.c:
15888         * check/gst/gststructure.c:
15889         * check/gst/gstsystemclock.c:
15890         * check/gst/gsttag.c:
15891         * check/gst/gstutils.c:
15892         * check/gst/gstvalue.c:
15893         * check/net/.cvsignore:
15894         * check/net/gstnetclientclock.c:
15895         * check/net/gstnettimeprovider.c:
15896         * check/pipelines/.cvsignore:
15897         * check/pipelines/cleanup.c:
15898         * check/pipelines/simple_launch_lines.c:
15899         * check/pipelines/stress.c:
15900         * check/states/.cvsignore:
15901         * check/states/sinks.c:
15902         * configure.ac:
15903         * examples/Makefile.am:
15904         * examples/appreader/.cvsignore:
15905         * examples/appreader/Makefile.am:
15906         * examples/appreader/appreader.c:
15907         * examples/controller/.cvsignore:
15908         * examples/controller/Makefile.am:
15909         * examples/controller/audio-example.c:
15910         * examples/cutter/.cvsignore:
15911         * examples/cutter/Makefile.am:
15912         * examples/cutter/cutter.c:
15913         * examples/cutter/cutter.h:
15914         * examples/events/Makefile.am:
15915         * examples/events/seek.c:
15916         * examples/helloworld/.cvsignore:
15917         * examples/helloworld/Makefile.am:
15918         * examples/helloworld/helloworld.c:
15919         * examples/helloworld2/.cvsignore:
15920         * examples/helloworld2/Makefile.am:
15921         * examples/helloworld2/helloworld2.c:
15922         * examples/launch/.cvsignore:
15923         * examples/launch/Makefile.am:
15924         * examples/launch/mp3parselaunch.c:
15925         * examples/launch/mp3play:
15926         * examples/manual/.cvsignore:
15927         * examples/manual/Makefile.am:
15928         * examples/manual/extract.pl:
15929         * examples/metadata/Makefile.am:
15930         * examples/metadata/read-metadata.c:
15931         * examples/mixer/.cvsignore:
15932         * examples/mixer/Makefile.am:
15933         * examples/mixer/mixer.c:
15934         * examples/mixer/mixer.h:
15935         * examples/pingpong/.cvsignore:
15936         * examples/pingpong/Makefile.am:
15937         * examples/pingpong/pingpong.c:
15938         * examples/plugins/.cvsignore:
15939         * examples/plugins/Makefile.am:
15940         * examples/plugins/example.c:
15941         * examples/plugins/example.h:
15942         * examples/pwg/.cvsignore:
15943         * examples/pwg/Makefile.am:
15944         * examples/pwg/extract.pl:
15945         * examples/queue/.cvsignore:
15946         * examples/queue/Makefile.am:
15947         * examples/queue/queue.c:
15948         * examples/queue2/.cvsignore:
15949         * examples/queue2/Makefile.am:
15950         * examples/queue2/queue2.c:
15951         * examples/queue3/.cvsignore:
15952         * examples/queue3/Makefile.am:
15953         * examples/queue3/queue3.c:
15954         * examples/queue4/.cvsignore:
15955         * examples/queue4/Makefile.am:
15956         * examples/queue4/queue4.c:
15957         * examples/retag/.cvsignore:
15958         * examples/retag/Makefile.am:
15959         * examples/retag/retag.c:
15960         * examples/retag/transcode.c:
15961         * examples/thread/.cvsignore:
15962         * examples/thread/Makefile.am:
15963         * examples/thread/thread.c:
15964         * examples/typefind/.cvsignore:
15965         * examples/typefind/Makefile.am:
15966         * examples/typefind/typefind.c:
15967         * examples/xml/.cvsignore:
15968         * examples/xml/Makefile.am:
15969         * examples/xml/createxml.c:
15970         * examples/xml/runxml.c:
15971         * tests/Makefile.am:
15972         * tests/check/Makefile.am:
15973         * testsuite/.cvsignore:
15974         * testsuite/Makefile.am:
15975         * testsuite/Rules:
15976         * testsuite/caps/.cvsignore:
15977         * testsuite/caps/Makefile.am:
15978         * testsuite/caps/app_fixate.c:
15979         * testsuite/caps/audioscale.c:
15980         * testsuite/caps/caps.c:
15981         * testsuite/caps/caps.h:
15982         * testsuite/caps/caps_strings:
15983         * testsuite/caps/compatibility.c:
15984         * testsuite/caps/deserialize.c:
15985         * testsuite/caps/enumcaps.c:
15986         * testsuite/caps/eratosthenes.c:
15987         * testsuite/caps/filtercaps.c:
15988         * testsuite/caps/fixed.c:
15989         * testsuite/caps/fraction-convert.c:
15990         * testsuite/caps/fraction-multiply-and-zero.c:
15991         * testsuite/caps/intersect2.c:
15992         * testsuite/caps/intersection.c:
15993         * testsuite/caps/normalisation.c:
15994         * testsuite/caps/random.c:
15995         * testsuite/caps/renegotiate.c:
15996         * testsuite/caps/sets.c:
15997         * testsuite/caps/simplify.c:
15998         * testsuite/caps/string-conversions.c:
15999         * testsuite/caps/structure.c:
16000         * testsuite/caps/subtract.c:
16001         * testsuite/caps/union.c:
16002         * testsuite/debug/.cvsignore:
16003         * testsuite/debug/Makefile.am:
16004         * testsuite/debug/category.c:
16005         * testsuite/debug/commandline.c:
16006         * testsuite/debug/global.c:
16007         * testsuite/debug/output.c:
16008         * testsuite/debug/printf_extension.c:
16009         * testsuite/dlopen/.cvsignore:
16010         * testsuite/dlopen/Makefile.am:
16011         * testsuite/dlopen/dlopen_gst.c:
16012         * testsuite/dlopen/loadgst.c:
16013         * testsuite/elements/.cvsignore:
16014         * testsuite/elements/Makefile.am:
16015         * testsuite/elements/gst-inspect-check.in:
16016         * testsuite/elements/struct_i386.h:
16017         * testsuite/elements/struct_size.c:
16018         * testsuite/indexers/.cvsignore:
16019         * testsuite/indexers/Makefile.am:
16020         * testsuite/indexers/cache1.c:
16021         * testsuite/indexers/indexdump.c:
16022         * testsuite/parse/.cvsignore:
16023         * testsuite/parse/Makefile.am:
16024         * testsuite/parse/parse1.c:
16025         * testsuite/parse/parse2.c:
16026         * testsuite/plugin/.cvsignore:
16027         * testsuite/plugin/Makefile.am:
16028         * testsuite/plugin/README:
16029         * testsuite/plugin/dynamic.c:
16030         * testsuite/plugin/linked.c:
16031         * testsuite/plugin/loading.c:
16032         * testsuite/plugin/registry.c:
16033         * testsuite/plugin/static.c:
16034         * testsuite/plugin/static2.c:
16035         * testsuite/plugin/testplugin.c:
16036         * testsuite/plugin/testplugin2.c:
16037         * testsuite/plugin/testplugin2_s.c:
16038         * testsuite/plugin/testplugin_s.c:
16039         * testsuite/refcounting/.cvsignore:
16040         * testsuite/refcounting/Makefile.am:
16041         * testsuite/refcounting/bin.c:
16042         * testsuite/refcounting/element.c:
16043         * testsuite/refcounting/element_pad.c:
16044         * testsuite/refcounting/mainloop.c:
16045         * testsuite/refcounting/mem.c:
16046         * testsuite/refcounting/mem.h:
16047         * testsuite/refcounting/object.c:
16048         * testsuite/refcounting/pad.c:
16049         * testsuite/refcounting/sched.c:
16050         * testsuite/refcounting/thread.c:
16051         * testsuite/states/.cvsignore:
16052         * testsuite/states/Makefile.am:
16053         * testsuite/states/bin.c:
16054         * testsuite/states/locked.c:
16055         * testsuite/states/parent.c:
16056         * testsuite/threads/.cvsignore:
16057         * testsuite/threads/159566.c:
16058         * testsuite/threads/159852.c:
16059         * testsuite/threads/Makefile.am:
16060         * testsuite/threads/queue.c:
16061         * testsuite/threads/signals.c:
16062         * testsuite/threads/staticrec.c:
16063         * testsuite/threads/thread.c:
16064         * testsuite/threads/threadb.c:
16065         * testsuite/threads/threadc.c:
16066         * testsuite/threads/threadd.c:
16067         * testsuite/threads/threade.c:
16068         * testsuite/threads/threadf.c:
16069         * testsuite/threads/threadg.c:
16070         * testsuite/threads/threadh.c:
16071         * testsuite/threads/threadi.c:
16072           move all of these under tests
16073
16074 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16075
16076         * configure.ac:
16077         * tests/Makefile.am:
16078           fix distcheck
16079
16080 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16081
16082         * docs/gst/gstreamer-sections.txt:
16083         * tests/sched/.cvsignore:
16084         * tests/sched/Makefile.am:
16085         * tests/sched/cases/(fs-fs).xml:
16086         * tests/sched/cases/(fs-i-fs).xml:
16087         * tests/sched/cases/(fs-i-i-fs).xml:
16088         * tests/sched/cases/(fs-i-q[i-fs]).xml:
16089         * tests/sched/dynamic-pipeline.c:
16090         * tests/sched/interrupt1.c:
16091         * tests/sched/interrupt2.c:
16092         * tests/sched/interrupt3.c:
16093         * tests/sched/runtestcases:
16094         * tests/sched/runxml.c:
16095         * tests/sched/sched-stress.c:
16096         * tests/sched/sort.c:
16097         * tests/sched/testcases:
16098         * tests/sched/testcases1.tc:
16099         * tests/seeking/.cvsignore:
16100         * tests/seeking/Makefile.am:
16101         * tests/seeking/seeking1.c:
16102         * tests/threadstate/.cvsignore:
16103         * tests/threadstate/Makefile.am:
16104         * tests/threadstate/test1.c:
16105         * tests/threadstate/test2.c:
16106         * tests/threadstate/threadstate1.c:
16107         * tests/threadstate/threadstate2.c:
16108         * tests/threadstate/threadstate3.c:
16109         * tests/threadstate/threadstate4.c:
16110         * tests/threadstate/threadstate5.c:
16111           remove obsolete tests
16112         * configure.ac:
16113         * tests/bench-complexity.scm:
16114         * tests/bench-mass_elements.scm:
16115         * tests/complexity.c:
16116         * tests/complexity.gnuplot:
16117         * tests/instantiate/.cvsignore:
16118         * tests/instantiate/Makefile.am:
16119         * tests/instantiate/caps.c:
16120         * tests/mass_elements.c:
16121         * tests/network-clock-utils.scm:
16122         * tests/network-clock.scm:
16123         * tests/plot-data:
16124         First pass at cleaning up tests/ dir before moving the rest
16125         Combined with CVS surgery
16126
16127 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16128
16129         * po/POTFILES.in:
16130           queue has moved, update
16131
16132 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16133
16134         * docs/gst/gstreamer-sections.txt:
16135           remove double entries from the docs
16136         * gst/gst_private.h:
16137         * gst/gstinfo.c: (_gst_debug_init):
16138           remove the THREAD debug category
16139         * gst/Makefile.am:
16140         * gst/gstqueue.c:
16141         * gst/gstqueue.h:
16142         * docs/gst/gstreamer.types:
16143         * plugins/elements/gstqueue.c: (gst_queue_get_type),
16144         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
16145           completely move queue and fix up debugging categories
16146
16147 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16148
16149         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16150           make initialization portable, using LL is not
16151
16152 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16153
16154         * win32/common/gstconfig.h:
16155           add large padding
16156
16157 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16158
16159         * win32/common/libgstreamer.def:
16160           rename symbols; sort base section
16161
16162 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16163
16164         * gst/gstclock.c: (do_linear_regression):
16165           remove crack non-portable handrolled DEBUG macro
16166
16167 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16168
16169         * docs/random/release:
16170           update notes
16171         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16172         (gst_object_flags_get_type), (register_gst_bin_flags),
16173         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16174         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16175         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16176         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
16177         (gst_caps_flags_get_type), (register_gst_clock_return),
16178         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16179         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16180         (gst_clock_flags_get_type), (register_gst_state),
16181         (gst_state_get_type), (register_gst_state_change_return),
16182         (gst_state_change_return_get_type), (register_gst_state_change),
16183         (gst_state_change_get_type), (register_gst_element_flags),
16184         (gst_element_flags_get_type), (register_gst_core_error),
16185         (gst_core_error_get_type), (register_gst_library_error),
16186         (gst_library_error_get_type), (register_gst_resource_error),
16187         (gst_resource_error_get_type), (register_gst_stream_error),
16188         (gst_stream_error_get_type), (register_gst_event_type_flags),
16189         (gst_event_type_flags_get_type), (register_gst_event_type),
16190         (gst_event_type_get_type), (register_gst_seek_type),
16191         (gst_seek_type_get_type), (register_gst_seek_flags),
16192         (gst_seek_flags_get_type), (register_gst_format),
16193         (gst_format_get_type), (register_gst_index_certainty),
16194         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16195         (gst_index_entry_type_get_type),
16196         (register_gst_index_lookup_method),
16197         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16198         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16199         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16200         (gst_index_flags_get_type), (register_gst_debug_level),
16201         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16202         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16203         (gst_iterator_result_get_type), (register_gst_iterator_item),
16204         (gst_iterator_item_get_type), (register_gst_message_type),
16205         (gst_message_type_get_type), (register_gst_mini_object_flags),
16206         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16207         (gst_pad_link_return_get_type), (register_gst_flow_return),
16208         (gst_flow_return_get_type), (register_gst_activate_mode),
16209         (gst_activate_mode_get_type), (register_gst_pad_direction),
16210         (gst_pad_direction_get_type), (register_gst_pad_flags),
16211         (gst_pad_flags_get_type), (register_gst_pad_presence),
16212         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16213         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16214         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16215         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16216         (gst_plugin_flags_get_type), (register_gst_rank),
16217         (gst_rank_get_type), (register_gst_query_type),
16218         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16219         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16220         (gst_tag_flag_get_type), (register_gst_task_state),
16221         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16222         (gst_alloc_trace_flags_get_type),
16223         (register_gst_type_find_probability),
16224         (gst_type_find_probability_get_type), (register_gst_uri_type),
16225         (gst_uri_type_get_type), (register_gst_parse_error),
16226         (gst_parse_error_get_type):
16227         * win32/common/gstenumtypes.h:
16228         * win32/common/gstversion.h:
16229           update visual studio generated files
16230
16231 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16232
16233         * win32/vs6/libgstbase.dsp:
16234         * win32/vs6/libgstelements.dsp:
16235           update project files for new locations
16236
16237 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16238
16239         * Makefile.am:
16240           remove some files
16241         * README:
16242           reinstate and update
16243         * DEVEL:
16244         * REQUIREMENTS:
16245           removed
16246         * LICENSE:
16247         * docs/random/LICENSE:
16248           moved to random
16249
16250 2005-11-30  Edward Hervey  <edward@fluendo.com>
16251
16252         * gst/gsttypefind.c: (gst_type_find_register):
16253         * gst/gsttypefind.h:
16254         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16255         (gst_type_find_factory_dispose):
16256         * gst/gsttypefindfactory.h:
16257         Fix memory leak in GstTypeFindFactory.
16258
16259 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16260
16261         * gst/gst.c:
16262         * plugins/elements/Makefile.am:
16263         * plugins/elements/gstelements.c:
16264         * plugins/elements/gstqueue.c:
16265           move queue from core to the elements plugin
16266
16267 2005-11-29  Andy Wingo  <wingo@pobox.com>
16268
16269         * libs/gst/base/gstbasetransform.h: 
16270         * libs/gst/base/gstbasesrc.h: 
16271         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16272
16273         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16274         of pointers by which to pad very extensible base classes (like the
16275         ones in libs/gst/base).
16276
16277 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16278
16279         * docs/gst/gstreamer-docs.sgml:
16280         * docs/gst/gstreamer-sections.txt:
16281         * docs/libs/gstreamer-libs-docs.sgml:
16282         * docs/libs/gstreamer-libs-sections.txt:
16283           moving documentation from core to lib
16284
16285 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16286
16287         * check/Makefile.am:
16288         * configure.ac:
16289         * docs/gst/Makefile.am:
16290         * gst/Makefile.am:
16291         * gst/base/.cvsignore:
16292         * gst/base/Makefile.am:
16293         * gst/base/README:
16294         * gst/base/gstadapter.c:
16295         * gst/base/gstadapter.h:
16296         * gst/base/gstbasesink.c:
16297         * gst/base/gstbasesink.h:
16298         * gst/base/gstbasesrc.c:
16299         * gst/base/gstbasesrc.h:
16300         * gst/base/gstbasetransform.c:
16301         * gst/base/gstbasetransform.h:
16302         * gst/base/gstcollectpads.c:
16303         * gst/base/gstcollectpads.h:
16304         * gst/base/gstpushsrc.c:
16305         * gst/base/gstpushsrc.h:
16306         * gst/base/gsttypefindhelper.c:
16307         * gst/base/gsttypefindhelper.h:
16308         * gst/check/Makefile.am:
16309         * gst/check/gstcheck.c:
16310         * gst/check/gstcheck.h:
16311         * gst/net/Makefile.am:
16312         * gst/net/gstnet.h:
16313         * gst/net/gstnetclientclock.c:
16314         * gst/net/gstnetclientclock.h:
16315         * gst/net/gstnettimepacket.c:
16316         * gst/net/gstnettimepacket.h:
16317         * gst/net/gstnettimeprovider.c:
16318         * gst/net/gstnettimeprovider.h:
16319         * libs/gst/Makefile.am:
16320         * libs/gst/base/Makefile.am:
16321         * libs/gst/base/gstbasetransform.c:
16322         * libs/gst/check/Makefile.am:
16323         * plugins/elements/Makefile.am:
16324         * po/POTFILES.in:
16325           CVS surgery + support to move base, check, and net out of gst
16326           and into libs/gst
16327
16328 2005-11-29  Andy Wingo  <wingo@pobox.com>
16329
16330         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16331
16332         * gst/gststructure.h (struct _GstStructure): Only one pointer of
16333         padding.
16334
16335         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16336
16337         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16338
16339         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16340
16341         * gst/gstobject.h: (struct _GstObject): Only one pointer of
16342         padding; reduces object size by about 30%. We don't expect
16343         anything else to go into gstobject.
16344
16345         * gst/gstminiobject.h (struct _GstMiniObject)
16346         (struct _GstMiniObjectClass): Only one pointer of padding; the
16347         payload is only a pointer and two ints anyway. For the class there
16348         are only two methods as well.
16349         
16350         * gst/gstelement.h (struct _GstElementClass): Removed
16351         the state_changed signal callback, it is not used.
16352
16353 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16354
16355         * docs/gst/gstreamer.types:
16356           fix includes, though they are a little dinky
16357
16358 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16359
16360         * check/Makefile.am:
16361           look in the right place for elements, a lot more chance of
16362           success
16363         * gst/Makefile.am:
16364           remove indexers and elements subdirs
16365         * plugins/Makefile.am:
16366           make indexers conditional
16367
16368 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16369
16370         * Makefile.am:
16371         * configure.ac:
16372         * plugins/elements/Makefile.am:
16373         * plugins/elements/gstcapsfilter.c:
16374         * plugins/elements/gstfilesink.c:
16375         * plugins/elements/gstfilesrc.c:
16376         * plugins/elements/gstidentity.c:
16377         * plugins/indexers/Makefile.am:
16378           do CVS surgery and related build fixery to move elements
16379           and indexers in a new gstreamer/plugins directory, out of the
16380           gst/ directory
16381
16382 2005-11-29  Andy Wingo  <wingo@pobox.com>
16383
16384         * check/Makefile.am:
16385         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16386         * pkgconfig/gstreamer-net.pc.in:
16387         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16388         #322257.
16389
16390 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16391
16392         * tools/Makefile.am:
16393         * tools/gst-complete.1.in:
16394         * tools/gst-complete.c:
16395         * tools/gst-compprep.1.in:
16396         * tools/gst-compprep.c:
16397           removing -compprep and -complete
16398
16399 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16400
16401         * gst/gstevent.c: (gst_event_new_new_segment),
16402         (gst_event_parse_new_segment):
16403         * gst/gstevent.h:
16404           fix #320529 - clean up new_segment API and structure.
16405           Let's hope everyone was using the methods, and not the structure.
16406
16407 2005-11-29  Edward Hervey  <edward@fluendo.com>
16408
16409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16410         (gst_base_sink_event), (gst_base_sink_do_sync),
16411         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16412         Properly handle non GST_FORMAT_TIME segment
16413         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16414         Properly handle non GST_FORMAT_TIME segment
16415         * gst/gstsegment.c:
16416         This function is valid if the accumulator is 0 and the format
16417         is different from the requested format.
16418         
16419 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16420
16421         * docs/gst/gstreamer-sections.txt:
16422         Add gst_query_new_seeking and gst_query_parse_seeking to the
16423         docs.
16424
16425 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16426
16427         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16428           Treat a pad alloc with new caps the same as if we were not
16429           negotiated, in order to allow a changing upstream output
16430           to produce a new format of data.
16431
16432 2005-11-29  Edward Hervey  <edward@fluendo.com>
16433
16434         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16435         (gst_base_transform_event), (gst_base_transform_eventfunc):
16436         The event virtual method is now properly implemented, with a default
16437         handler
16438         Sub classes should call the parent_class event method. They should
16439         return FALSE if they had a problem handling the given event, or don't
16440         want GstBaseTransform to send that even downstream
16441         * gst/elements/gstidentity.c: (gst_identity_class_init),
16442         (gst_identity_init), (gst_identity_event),
16443         (gst_identity_transform_ip), (gst_identity_set_property),
16444         (gst_identity_get_property):
16445         * gst/elements/gstidentity.h:
16446         Added the single-segment boolean property.
16447         If set to TRUE, it will output a single segment of data, starting from
16448         0, will eat up all incoming newsegment, and modify the timestamp of the
16449         buffers accordingly
16450
16451 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
16452
16453         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16454           Don't ref NULL target pad (#322751). Improve docs.
16455
16456 2005-11-29  Michael Smith  <msmith@fluendo.com>
16457
16458         * gst/gstregistryxml.c: (load_plugin):
16459           Don't crash if we failed to load a feature from a plugin. 
16460
16461 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16462
16463         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16464         (GST_START_TEST):
16465           use more check API and less GLib API
16466
16467 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16468
16469         * Makefile.am:
16470           don't run checks if we don't have check
16471         * common/check.mak:
16472           remove the registry when running make torture
16473         * docs/gst/gstreamer-sections.txt:
16474           remove second multiply
16475         * gst/gstqueue.c: (gst_queue_loop):
16476           fix a compile warning when disabling debug
16477
16478 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16479
16480         * gst/gstinfo.h:
16481         Hey! Let's print the pad name if the pointer != NULL instead
16482         of when it == NULL :-)
16483
16484 2005-11-28  Wim Taymans  <wim@fluendo.com>
16485
16486         * check/gst/gstutils.c: (GST_START_TEST):
16487         Updated check, add some scaling accuracy checking code.
16488
16489         * gst/gstutils.c: (gst_util_div128_64),
16490         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16491         (gst_util_uint64_scale_int):
16492         Fix 6 times faster division code. Optimize for common 
16493         1/1 and less common X/1 cases.
16494
16495 2005-11-28  Wim Taymans  <wim@fluendo.com>
16496
16497         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16498         More checks.
16499
16500         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16501         (do_linear_regression), (gst_clock_add_observation):
16502         Cleanups.
16503         Release lock when the clock cannot be slaved.
16504         Catch the case where the regression returned an invalid denominator.
16505
16506         * gst/gstutils.c: (gst_util_div128_64_iterate),
16507         (gst_util_div128_64), (gst_util_uint64_scale_int64),
16508         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16509         Add protentially more performant non-iterative 128/64 divide function
16510         that unfortunatly does not work yet.
16511         Shortcut the trivial 0/X = 0 case.
16512         Remove the warnings on overflow.
16513
16514 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16515
16516         * gst/gstplugin.c: (gst_plugin_register_func):
16517           everything causing a plugin not to load should be at least a WARNING
16518
16519 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
16520
16521         * docs/random/ensonic/dparams.txt:
16522           some TODOs for the next dev cycle
16523         * libs/gst/controller/gstcontroller.c:
16524         (gst_controlled_property_set_interpolation_mode),
16525         (gst_controlled_property_new):
16526         * libs/gst/controller/gstcontroller.h:
16527           use base type to assign acccessor functions
16528
16529 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16530
16531         * check/Makefile.am:
16532         Oops, that should have been top_srcdir
16533
16534 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16535
16536         * check/Makefile.am:
16537         * check/elements/fdsrc.c: (GST_START_TEST):
16538         Use a cmdline define to specify the location of a file to use for
16539         testing, to avoid breaking distcheck.
16540
16541 2005-11-28  Andy Wingo  <wingo@pobox.com>
16542
16543         * gst/gstpad.c (fixate_value): Use array functions for arrays.
16544
16545 2005-11-28  Edward Hervey  <edward@fluendo.com>
16546
16547         * tools/gst-launch.c: (main):
16548         Clarify the output strings, makes it easier to translate.
16549         Fixes #322626
16550
16551 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16552
16553         * gst/Makefile.am:
16554           don't try and build net if we don't even have <sys/socket.h>
16555
16556 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
16557
16558         * check/Makefile.am:
16559         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16560         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16561           Add tests for fdsrc seekability
16562
16563         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16564         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16565         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16566         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16567         * gst/elements/gstfdsrc.h:
16568           fdsrc should not be a 'live' source.
16569           Implement seeking on seekable fd's.
16570
16571         * gst/gstquery.c: (gst_query_new_seeking),
16572         (gst_query_parse_seeking):
16573         * gst/gstquery.h:
16574           Implement SEEKING query functions: 
16575             *_new_seeking and *_parse_seeking
16576
16577 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
16578
16579         * gst/gstelement.c: (gst_element_dispose):
16580           don't loop forever
16581
16582         * gst/gstiterator.c:
16583         * gst/gststructure.c:
16584           doc fixes
16585
16586         * libs/gst/controller/gstcontroller.c:
16587         (gst_controlled_property_set_interpolation_mode):
16588         * libs/gst/controller/gstcontroller.h:
16589         * libs/gst/controller/gstinterpolation.c:
16590         (interpolate_none_get_enum_value_array):
16591           support controlling enums
16592
16593 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16594
16595         * gst/gstvalue.c:
16596           Improve documentation for gst_value_union().
16597
16598         * gst/gstvalue.h:
16599           Change return value for union, intersect and subtract functions
16600           from gint to gboolean.
16601
16602 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16603
16604         * gst/gstvalue.c: (gst_value_serialize_any_list),
16605         (gst_value_transform_any_list_string),
16606         (gst_value_deserialize_list), (gst_value_deserialize_array),
16607         (gst_value_set_int_range), (gst_value_deserialize_int_range),
16608         (gst_value_set_double_range), (gst_value_deserialize_double_range),
16609         (gst_value_set_fraction_range_full),
16610         (gst_value_deserialize_fraction_range),
16611         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16612         (gst_value_deserialize_boolean),
16613         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16614         (gst_value_serialize_float), (gst_value_deserialize_float),
16615         (gst_string_wrap), (gst_value_deserialize_string),
16616         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16617         (gst_value_union_int_range_int_range),
16618         (gst_value_intersect_int_range_int_range),
16619         (gst_value_intersect_double_range_double_range),
16620         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16621         (gst_value_subtract_int_range_int_range),
16622         (gst_value_subtract_double_double_range),
16623         (gst_value_subtract_double_range_double_range),
16624         (gst_value_deserialize_fraction):
16625         * gst/gstvalue.h:
16626           Use gint, gdouble and gchar in our API instead of int, double and
16627           char (and make usage in gstvalue.c more consistent).
16628
16629 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16630
16631         * check/Makefile.am:
16632         * libs/gst/controller/Makefile.am:
16633         * libs/gst/dataprotocol/Makefile.am:
16634           fix up Makefile.am and remove GST_ENABLE_NEW
16635
16636 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16637
16638         * configure.ac:
16639         * gst/Makefile.am:
16640         * gst/base/Makefile.am:
16641         * gst/check/Makefile.am:
16642         * gst/elements/Makefile.am:
16643         * gst/net/Makefile.am:
16644           update LDFLAGS use some more
16645
16646 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16647
16648         * common/m4/gst-doc.m4:
16649           Fixes #312589
16650
16651 2005-11-26  Edward Hervey  <edward@fluendo.com>
16652
16653         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16654         This shouldn't issue a g_warning since it returns NULL if it
16655         couldn't find the plugin, and all functions using this behave
16656         properly on a NULL return. Switching to a GST_WARNING.
16657
16658 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
16659
16660         * gst/gstbin.c: (gst_bin_handle_message_func):
16661         Don't leak clock messages.
16662
16663 2005-11-25  Wim Taymans  <wim@fluendo.com>
16664
16665         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16666         (gst_util_uint64_scale_int):
16667         Optimisations, remove unneeded vars.
16668
16669 2005-11-25  Wim Taymans  <wim@fluendo.com>
16670
16671         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16672         Added more checks for the high precision uint64 cases.
16673
16674         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16675         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16676         Implement high precision (guint64 * guint64) / guint64.
16677
16678 2005-11-24  Wim Taymans  <wim@fluendo.com>
16679
16680         * gst/base/gstbasesrc.c: (gst_base_src_query):
16681         Fix wrong percentage query.
16682
16683         * gst/gstutils.c: (gst_util_uint64_scale),
16684         (gst_util_uint64_scale_int):
16685         Add some more common cases that can be handled 
16686         efficiently to _scale.
16687
16688 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16689
16690         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16691         (gst_mini_object_suite):
16692           don't use check calls from threads; check probably isn't
16693           threadsafe and using a lock to make it threadsafe would
16694           defeat the purpose of this check
16695         * gst/check/gstcheck.c:
16696         * gst/check/gstcheck.h:
16697           use GST_DEBUG some more
16698
16699 2005-11-24  Wim Taymans  <wim@fluendo.com>
16700
16701         * gst/gstutils.c: (gst_util_uint64_scale),
16702         (gst_util_uint64_scale_int):
16703         Chain trivial case to _scale_int.
16704
16705 2005-11-24  Wim Taymans  <wim@fluendo.com>
16706
16707         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16708         Added test for scaling.
16709
16710         * gst/gstclock.h:
16711         Small doc fix.
16712
16713         * gst/gstutils.c: (gst_util_uint64_scale_int):
16714         Implemented high precision scaling code.
16715
16716 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
16717
16718         * gst/gstinfo.h:
16719           do not crash on pad==NULL
16720
16721 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         Patch by: Stefan Kost
16724
16725         * common/gtk-doc.mak:
16726         * docs/gst/Makefile.am:
16727         * docs/libs/Makefile.am:
16728           Fix distcheck issues for the libraries docs build
16729           Closes #319599.
16730
16731 2005-11-24  Michael Smith <msmith@fluendo.com>
16732
16733         * docs/manual/basics-helloworld.xml:
16734           Fix bug #315027: memory leak in example code in docs.
16735
16736 2005-11-24  Michael Smith <msmith@fluendo.com>
16737
16738         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16739           Unlock the PREROLL_LOCK in a failure case.
16740
16741 2005-11-24  Wim Taymans  <wim@fluendo.com>
16742
16743         * docs/gst/gstreamer-sections.txt:
16744         * gst/base/gstadapter.h:
16745         * gst/base/gstbasesink.h:
16746         * gst/base/gstbasesrc.h:
16747         * gst/base/gstbasetransform.h:
16748         * gst/base/gstpushsrc.h:
16749         * gst/elements/gstfakesink.h:
16750         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16751         * gst/elements/gstfakesrc.h:
16752         * gst/elements/gstfilesink.h:
16753         * gst/elements/gstfilesrc.h:
16754         * gst/gst.c:
16755         * gst/gstbin.c:
16756         * gst/gstbuffer.c: (_gst_buffer_copy):
16757         * gst/gstbus.h:
16758         * gst/gstcaps.c:
16759         * gst/gstchildproxy.c:
16760         * gst/gstclock.c:
16761         * gst/gstelement.c:
16762         * gst/gstelementfactory.c:
16763         * gst/gstelementfactory.h:
16764         * gst/gstevent.c:
16765         * gst/gstghostpad.h:
16766         * gst/gstindex.h:
16767         * gst/gstinterface.h:
16768         * gst/gstminiobject.c:
16769         * gst/gstminiobject.h:
16770         * gst/gstpad.c:
16771         * gst/gstpad.h:
16772         * gst/gstpadtemplate.h:
16773         * gst/gstpipeline.h:
16774         * gst/gstpluginfeature.h:
16775         * gst/gstquery.h:
16776         * gst/gstqueue.h:
16777         * gst/gsttaglist.c:
16778         * gst/gsttaglist.h:
16779         * gst/gsttagsetter.c:
16780         * gst/gsttagsetter.h:
16781         * gst/gsttrace.c:
16782         * gst/gsttrace.h:
16783         * gst/gsttypefind.h:
16784         * gst/gsturi.h:
16785         * gst/gstvalue.c:
16786         * gst/net/gstnetclientclock.c:
16787         * gst/net/gstnetclientclock.h:
16788         * gst/net/gstnettimepacket.c:
16789         * gst/net/gstnettimeprovider.c:
16790         * gst/net/gstnettimeprovider.h:
16791         Doc fixes.
16792
16793 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16794
16795         * configure.ac: back to HEAD
16796
16797 === release 0.9.6 ===
16798
16799 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
16800
16801         * configure.ac:
16802           releasing 0.9.6, "Always On Time"
16803
16804 2005-11-23  Wim Taymans  <wim@fluendo.com>
16805
16806         * docs/gst/gstreamer-sections.txt:
16807         * gst/glib-compat.c:
16808         * gst/gsttagsetter.c:
16809         * gst/gstvalue.c:
16810         * gst/net/gstnetclientclock.c:
16811         * gst/net/gstnettimepacket.h:
16812         Doc updates.
16813
16814 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16815
16816         * docs/faq/using.xml:
16817         * docs/libs/tmpl/gstcontrol.sgml:
16818         * docs/manual/advanced-dparams.xml:
16819         * docs/manual/appendix-checklist.xml:
16820         * docs/manual/basics-elements.xml:
16821         * docs/pwg/other-source.xml:
16822         * docs/random/moving-plugins:
16823         * gst/gstpad.c:
16824         * tools/gst-launch.1.in:
16825           remove mentions of sinesrc
16826
16827 2005-11-23  Michael Smith <msmith@fluendo.com>
16828
16829         * docs/gst/gstreamer-sections.txt:
16830           Update for new API and API changes.
16831         * gst/gstobject.h:
16832           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16833         * gst/gstvalue.c:
16834           Documentation typo fix.
16835         * gst/net/gstnettimepacket.c:
16836           Documentation fixes for arguments.
16837
16838 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16839
16840         * gst/gststructure.c: (gst_structure_get_fraction),
16841         (gst_structure_parse_value),
16842         (gst_structure_fixate_field_nearest_fraction):
16843         * gst/gststructure.h:
16844         * gst/gstutils.c: (gst_util_uint64_scale_int):
16845         * gst/gstutils.h:
16846         * scripts/update-funcnames:
16847         API Changes. 
16848         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16849         Make gst_structure_fixate_field_nearest_fraction take a numerator
16850         and denominator argument instead of a GValue
16851         add gst_structure_get_fraction helper function.
16852
16853 2005-11-23  Wim Taymans  <wim@fluendo.com>
16854
16855         * docs/design/part-TODO.txt:
16856         Update TODO.
16857
16858         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16859         * gst/net/gstnetclientclock.h:
16860         Use parent fields for timeout and window_size.
16861
16862 2005-11-23  Andy Wingo  <wingo@pobox.com>
16863
16864         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16865         rate_num/rate_denom change.
16866
16867         * gst/net/gstnetclientclock.c
16868         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16869         OBJECT_LOCK. Don't call add_observation with the lock.
16870
16871         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16872         fraction.
16873         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16874         rate fraction.
16875         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16876         deal with rate as a fraction whose numerator and denominator are
16877         GstClockTime values.
16878         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16879         master; the other fields are protected by the SLAVE_LOCK.
16880         (do_linear_regression): Note that this must be called with the
16881         SLAVE_LOCK.
16882         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16883         OBJECT_LOCK. Call set_calibration instead of touching the
16884         variables directly.
16885         (gst_clock_set_property, gst_clock_get_property): Protect
16886         master/slave parameters with the SLAVE_LOCK.
16887
16888         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16889         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16890         note that all of the instance variables that add_observation and
16891         the set_master functions use are protected by that lock and not
16892         the OBJECT_LOCK.
16893         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16894
16895         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16896         the caller to take the object lock.
16897
16898 2005-11-23  Wim Taymans  <wim@fluendo.com>
16899
16900         * gst/gsterror.c: (_gst_core_errors_init):
16901         * gst/gsterror.h:
16902         Add error for clock stuff.
16903
16904         * gst/gstpipeline.c: (gst_pipeline_change_state),
16905         (gst_pipeline_set_clock):
16906         Post clock error when clock cannot be used in a pipeline.
16907
16908 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16909
16910         * docs/gst/gstreamer-sections.txt:
16911           make two symbols from gstinfo private for the docs
16912         * gst/base/gstcollectpads.h:
16913         * gst/gstutils.c:
16914           fix doc typos, update docs
16915
16916 2005-11-22  Wim Taymans  <wim@fluendo.com>
16917
16918         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16919         (gst_base_sink_wait), (gst_base_sink_do_sync),
16920         (gst_base_sink_handle_event):
16921         * gst/base/gstbasesink.h:
16922         No need to store the clock, the parent element class already
16923         has it.
16924
16925         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16926         Updates for clock_set returning a gboolean
16927
16928         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16929         (gst_clock_id_wait_async), (gst_clock_class_init),
16930         (gst_clock_init), (gst_clock_finalize),
16931         (gst_clock_get_internal_time), (gst_clock_get_time),
16932         (gst_clock_slave_callback), (gst_clock_set_master),
16933         (gst_clock_get_master), (do_linear_regression),
16934         (gst_clock_add_observation), (gst_clock_set_property),
16935         (gst_clock_get_property):
16936         * gst/gstclock.h:
16937         Implement master/slave. When setting a clock as a slave, a
16938         periodic timeout is scheduled to sample master and slave times.
16939         Then the slave clock is recalibrated to match offset and rate
16940         of the master clock.
16941         Update logging a bit.
16942         Add flag so that a clock can state that is cannot be slaved to
16943         another clock.
16944
16945         * gst/gstelement.c: (gst_element_set_clock):
16946         * gst/gstelement.h:
16947         The set clock returns a gboolean for when an element cannot
16948         deal with the selected clock in the pipeline. 
16949
16950         * gst/gstpipeline.c: (gst_pipeline_change_state),
16951         (gst_pipeline_set_clock):
16952         * gst/gstpipeline.h:
16953         Handle the case where the selected clock cannot be set on
16954         the pipeline.
16955
16956         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16957         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16958         (gst_net_client_clock_set_property),
16959         (gst_net_client_clock_get_property),
16960         (gst_net_client_clock_observe_times):
16961         * gst/net/gstnetclientclock.h:
16962         Use regression code in GstClock parent, remove duplicated
16963         functionality.
16964
16965 2005-11-22  Michael Smith <msmith@fluendo.com>
16966
16967         * gst/gstutils.c: (gst_util_clock_time_scale):
16968         * gst/gstutils.h:
16969         * docs/gst/gstreamer-sections.txt:
16970           Rename method to have extra underscore.
16971
16972 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16973
16974         * gst/elements/Makefile.am:
16975         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16976         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16977         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16978         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16979         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16980         * gst/elements/gstfakesrc.h:
16981         * gst/gstqueue.c: (queue_leaky_get_type):
16982           correctly fix GEnumValues so that nick is the short lowercase
16983           dashed tag
16984         * tools/gst-inspect.c: (print_element_properties_info):
16985           also show the nick, since it's useful to use from parse_launch
16986           syntax
16987           Fixes #322139
16988
16989 2005-11-22  Michael Smith <msmith@fluendo.com>
16990
16991         * gst/gstutils.c: (gst_util_clocktime_scale):
16992         * gst/gstutils.h:
16993         * docs/gst/gstreamer-sections.txt:
16994           Add util method for scaling a clocktime by a fraction. Useful 
16995           implementation is left as an exercise for the reader.
16996
16997 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16998
16999         * gst/gstvalue.c: (gst_value_collect_fraction_range):
17000         If needed, allocate storage in the destination value during
17001         collection.
17002
17003 2005-11-22  Edward Hervey  <edward@fluendo.com>
17004
17005         * docs/gst/gstreamer-sections.txt:
17006         * gst/Makefile.am:
17007         * gst/gst.h:
17008         * gst/gsturitype.c:
17009         * gst/gsturitype.h:
17010         * gst/gstutils.c: (gst_util_set_object_arg):
17011         * tools/gst-compprep.c: (main):
17012         * tools/gst-inspect.c: (print_element_properties_info):
17013         Removed GstURI, closes bug #321061
17014
17015 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17016
17017         * check/gst/gststructure.c: (GST_START_TEST):
17018         * gst/gststructure.c: (gst_structure_parse_value):
17019           Oops, broke automatic string type parsing.
17020           Add a test to catch it in future.
17021
17022 2005-11-22  Andy Wingo  <wingo@pobox.com>
17023
17024         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
17025         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
17026         Actually rename the function implementations. Grr.
17027
17028 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17029
17030         * check/gst/capslist.h:
17031           Comment test cases
17032         * check/gst/gststructure.c: (GST_START_TEST),
17033         (gst_structure_suite):
17034           Test automatic value type detection in gst_structure_from_string.
17035         * gst/gststructure.c: (gst_structure_parse_value):
17036           Add fraction as a type we try and guess automatically in
17037           caps/structure strings.
17038
17039 2005-11-22  Andy Wingo  <wingo@pobox.com>
17040
17041         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
17042
17043         * gst/gsttagsetter.h:
17044         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
17045         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
17046         (gst_tag_setter_add_tag_valist)
17047         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
17048         _add_values, _add_valist, and _add_valist_values. Since this is an
17049         interface the function suffixes should be more explicit so
17050         language binding don't end up with element.add_valist ->
17051         gst_tag_setter_add_valist, for example. Fixes #322069.
17052
17053 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17054
17055         * check/gst/gstcaps.c: (GST_START_TEST):
17056           Extend caps string tests to check that a caps to string
17057           conversion is reversible and produces the same caps.
17058
17059         * gst/gststructure.c: (gst_structure_value_get_generic_type):
17060           Output "fraction" as the generic type fraction range, so caps
17061           serialisation and deserialisation works.
17062         * check/gst/capslist.h:
17063         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17064           Support 'MIN' and 'MAX' for deserialising fractions.
17065
17066 2005-11-22  Andy Wingo  <wingo@pobox.com>
17067
17068         * gst/gstevent.h (gst_event_new_new_segment)
17069         (gst_event_parse_new_segment, gst_event_new_buffer_size)
17070         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
17071         Renamed from *_newsegment, *_buffersize, *_notarget.
17072
17073         * scripts/update-funcnames: New script, performs the changes
17074         listed above.
17075
17076 2005-11-22  Wim Taymans  <wim@fluendo.com>
17077
17078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17079         Make sure the GstFlowReturn is returned.
17080
17081         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
17082         (gst_bus_add_signal_watch):
17083         * gst/gstbus.h:
17084         add gst_bus_add_signal_watch_full.
17085
17086         * gst/gstplugin.c: (gst_plugin_load_file):
17087         Small style cleanup.
17088
17089 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17090
17091         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
17092           Block the fakesrc srcpad when we send an event, to avoid
17093           contention on the stream_lock causing random test failures.
17094
17095 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17096
17097         * check/gst/gstvalue.c: (GST_START_TEST):
17098         * gst/gstvalue.c: (gst_value_fraction_subtract):
17099           Fix subtraction.
17100
17101 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
17102
17103         * gst/gst.h:
17104           include "gstchildproxy.h"
17105         * gst/gstchildproxy.h:
17106         * libs/gst/controller/gstcontroller.h:
17107           use G_GNUC_NULL_TERMINATED
17108
17109 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17110
17111         * check/gst/capslist.h:
17112         * check/gst/gstcaps.c: (GST_START_TEST):
17113         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17114         * gst/gststructure.c: (gst_structure_parse_range),
17115         (gst_structure_fixate_field_nearest_fraction):
17116         * gst/gststructure.h:
17117         * gst/gstvalue.c: (gst_value_init_fraction_range),
17118         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
17119         (gst_value_collect_fraction_range),
17120         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
17121         (gst_value_set_fraction_range_full),
17122         (gst_value_get_fraction_range_min),
17123         (gst_value_get_fraction_range_max),
17124         (gst_value_serialize_fraction_range),
17125         (gst_value_transform_fraction_range_string),
17126         (gst_value_compare_fraction_range),
17127         (gst_value_deserialize_fraction_range),
17128         (gst_value_intersect_fraction_fraction_range),
17129         (gst_value_intersect_fraction_range_fraction_range),
17130         (gst_value_subtract_fraction_fraction_range),
17131         (gst_value_subtract_fraction_range_fraction),
17132         (gst_value_subtract_fraction_range_fraction_range),
17133         (gst_value_collect_fraction), (gst_value_fraction_multiply),
17134         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
17135         (gst_value_transform_string_fraction), (_gst_value_initialize):
17136         * gst/gstvalue.h:
17137           Implement fraction ranges and extend GstFraction to support
17138           arithmetic subtraction, as well as deserialization from integer
17139           strings such as "100"
17140           Add a testsuite as for int and double range set operations
17141
17142 2005-11-21  Andy Wingo  <wingo@pobox.com>
17143
17144         * gst/gsttaglist.h: 
17145         * gst/gstcaps.h: 
17146         * gst/gststructure.h: Add glib-compat.h.
17147
17148 2005-11-21  Wim Taymans  <wim@fluendo.com>
17149
17150         * gst/gstbin.c: (gst_bin_change_state_func):
17151         Fix for #321595
17152
17153 2005-11-21  Wim Taymans  <wim@fluendo.com>
17154
17155         * gst/gstsegment.h:
17156         And add a nice define too.
17157
17158 2005-11-21  Wim Taymans  <wim@fluendo.com>
17159
17160         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
17161         (gst_segment_new), (gst_segment_free), (gst_segment_init),
17162         (gst_segment_set_duration), (gst_segment_set_last_stop),
17163         (gst_segment_set_seek), (gst_segment_set_newsegment),
17164         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17165         (gst_segment_clip):
17166         * gst/gstsegment.h:
17167         Make binding friendly.
17168
17169 2005-11-21  Andy Wingo  <wingo@pobox.com>
17170
17171         * gst/gsttagsetter.h: 
17172         * gst/gsttaglist.h: 
17173         * gst/gststructure.h: 
17174         * gst/gstcaps.h: 
17175         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
17176         #319940.
17177
17178         * gst/gsterror.c (_gst_core_errors_init):
17179         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
17180         category.
17181
17182         * gst/Makefile.am (gst_headers): Add glib-compat.h.
17183         (noinst_HEADERS): noinst the -private.
17184
17185 2005-11-21  Michael Smith <msmith@fluendo.com>
17186
17187         * gst/gstplugin.h:
17188         * gst/gstregistry.h:
17189           Remove unimplemented declarations for which we can see no sensible
17190           use.
17191
17192 2005-11-21  Andy Wingo  <wingo@pobox.com>
17193
17194         * gst/gst.h: Include glib-compat.h.
17195
17196         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
17197
17198         * gst/glib-compat.c: Include the public and the private header.
17199
17200         * gst/glib-compat-private.h: Copied here from glib-compat.h.
17201
17202         * gst/gstvalue.c: 
17203         * gst/gstpad.c: 
17204         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
17205
17206         * check/gst/gstevent.c (create_custom_events): Check that
17207         FLUSH_STOP is serialized.
17208
17209         * check/elements/identity.c (event_func): 
17210         * check/elements/fakesrc.c (event_func): No stream lock, the core
17211         takes it.
17212
17213         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
17214         stream lock taking, yay.
17215
17216         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
17217         ensure that core takes the stream lock.
17218
17219         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
17220         lock name change.
17221
17222         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
17223         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
17224         it already. For the flush start we do take it though so we get the
17225         right preroll state change messages.
17226
17227         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
17228         the stream lock here, the core does it for us.
17229
17230         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
17231         GST_STREAM_GET_LOCK.
17232         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
17233         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
17234         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
17235         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
17236         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
17237         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
17238
17239         * gst/gstpad.c: Update for stream lock name change.
17240
17241         * gst/base/gstbasesink.c: Update for preroll lock name change.
17242
17243 2005-11-21  Wim Taymans  <wim@fluendo.com>
17244
17245         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17246         (gst_clock_get_master):
17247         * gst/gstclock.h:
17248         * gst/gstsystemclock.c: (gst_system_clock_init):
17249         Convert Clock flags to object flags.
17250         Added methods to manage master/slave clocks.
17251
17252 2005-11-21  Wim Taymans  <wim@fluendo.com>
17253
17254         * check/gst/gstsegment.c: (GST_START_TEST):
17255         * docs/design/part-TODO.txt:
17256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17257         (gst_base_sink_event), (gst_base_sink_do_sync),
17258         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17259         (gst_base_sink_query), (gst_base_sink_change_state):
17260         * gst/base/gstbasesink.h:
17261         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17262         (gst_base_src_default_newsegment),
17263         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17264         (gst_base_src_get_range), (gst_base_src_loop),
17265         (gst_base_src_change_state):
17266         * gst/base/gstbasesrc.h:
17267         * gst/base/gstbasetransform.c:
17268         (gst_base_transform_prepare_output_buf),
17269         (gst_base_transform_event), (gst_base_transform_change_state):
17270         * gst/base/gstbasetransform.h:
17271         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17272         (gst_collect_pads_event):
17273         * gst/base/gstcollectpads.h:
17274         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17275         (gst_fake_src_create):
17276         * gst/elements/gstfakesrc.h:
17277         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17278         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17279         (gst_segment_set_last_stop), (gst_segment_set_seek),
17280         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17281         (gst_segment_to_running_time), (gst_segment_clip):
17282         * gst/gstsegment.h:
17283         More segment updates, replace code in plugins with segment
17284         helper functions.
17285
17286 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17287
17288         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17289         Don't ignore sscanf results
17290
17291 2005-11-21  Andy Wingo  <wingo@pobox.com>
17292
17293         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17294
17295         * *.h:
17296         * *.c: Ran scripts/update-macros. Oh yes.
17297
17298         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17299         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17300         GST_GET_LOCK, etc.
17301
17302         * scripts/update-macros: New script. Run it on your files to
17303         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17304         well.
17305
17306 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17307
17308         * docs/gst/Makefile.am:
17309         * docs/gst/gstreamer-docs.sgml:
17310         * docs/gst/gstreamer-sections.txt:
17311         * docs/gst/gstreamer.types:
17312         * gst/gstinfo.h:
17313           more docs fixes, add new api to the docs
17314
17315 2005-11-21  Andy Wingo  <wingo@pobox.com>
17316
17317         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17318         state_broadcast call.
17319
17320         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17321
17322 2005-11-21  Julien MOUTTE  <julien@moutte.net>
17323
17324         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17325         function calls for arrays.
17326
17327 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17328
17329         * docs/random/ensonic/media-device-daemon.txt:
17330           wild idea, can this be done?
17331         * docs/gst/gstreamer-sections.txt:
17332         * gst/gsterror.h:
17333         * gst/gstfilter.c:
17334         * gst/gstfilter.h:
17335         * gst/gstplugin.h:
17336         * gst/gstpluginfeature.c:
17337         * gst/gsttrace.c:
17338         * gst/gstvalue.c:
17339         * gst/gstvalue.h:
17340           doc fixes and additions
17341
17342 2005-11-21  Andy Wingo  <wingo@pobox.com>
17343
17344         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
17345         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
17346         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
17347         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17348         private to the basesrc implementation.
17349
17350         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17351         behalf of event function if necessary. It should no longer be
17352         necessary to take the stream lock in pad's event functions. Fixes
17353         #320299.
17354
17355 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17356         * docs/gst/gstreamer-sections.txt:
17357         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17358         (gst_structure_fixate_field_nearest_double),
17359         (gst_structure_fixate_field_boolean):
17360         * gst/gststructure.h:
17361         * win32/common/libgstreamer.def:
17362         * win32/gstreamer.def:
17363
17364         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17365         (#322027)
17366
17367 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17368
17369         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17370         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17371         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17372         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17373         (gst_fdsrc_uri_handler_init):
17374         * gst/elements/gstfdsrc.h:
17375           Port fd:// URI handler from 0.8 to fdsrc
17376
17377 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17378
17379         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17380         (gst_value_serialize_fourcc):
17381         * gst/gstvalue.h:
17382           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17383           consistent with our other format defines (#320324).
17384
17385 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17386
17387         * gst/gstvalue.c: (gst_value_is_fixed):
17388           Revert previous commit. Value lists are by definition
17389           not fixed, as they are a list of possible values.
17390
17391 2005-11-21  Andy Wingo  <wingo@pobox.com>
17392
17393         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17394         during the stable series if we need it. Fixes #319178.
17395
17396         * gst/gstevent.c (gst_event_new_filler): Removed.
17397
17398         * check/gst/gstevent.c: Update comment about filler events.
17399
17400 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17401
17402         * gst/gstvalue.c: (gst_value_is_fixed):
17403           Should handle both value arrays and value lists.
17404
17405 2005-11-21  Andy Wingo  <wingo@pobox.com>
17406
17407         patch by: Alessandro Dessina <alessandro nnva org>
17408
17409         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17410         functions to access arrays. Fixes #321962.
17411
17412 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17413
17414         * docs/gst/gstreamer.types:
17415           gst_collectpads_get_type => gst_collect_pads_get_type.
17416           
17417         * gst/base/gstbasetransform.c:
17418           Remove unused SIGNAL_HANDOFF enum.
17419
17420 2005-11-21  Andy Wingo  <wingo@pobox.com>
17421
17422         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17423         the event type (upstream, downstream, serialized). Renamed
17424         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17425         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17426         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17427
17428         * gst/gstevent.c: Update for new CUSTOM event names.
17429
17430         * check/gst/gstevent.c: Update check for new CUSTOM event names.
17431
17432         * gst/gstevent.h:
17433         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17434         bug #319392.
17435
17436 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17437
17438         * docs/gst/gstreamer-sections.txt:
17439         * win32/common/libgstbase.def:
17440         * win32/libgstbase.def:
17441         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17442         (gst_collect_pads_class_init), (gst_collect_pads_init),
17443         (gst_collect_pads_finalize), (gst_collect_pads_new),
17444         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17445         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17446         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17447         (gst_collect_pads_start), (gst_collect_pads_stop),
17448         (gst_collect_pads_peek), (gst_collect_pads_pop),
17449         (gst_collect_pads_available), (gst_collect_pads_read),
17450         (gst_collect_pads_flush), (gst_collect_pads_event),
17451         (gst_collect_pads_chain):
17452         * gst/base/gstcollectpads.h:
17453           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17454           unimplemented functions as unimplemented. Add padding to
17455           GstCollectData. (#320766, #320423)
17456
17457 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17458
17459         * gst/gstmessage.c:
17460           Improve docs for DURATION message (usage of duration parameter)
17461           (#320113)
17462
17463 2005-11-20  Wim Taymans  <wim@fluendo.com>
17464
17465         * check/Makefile.am:
17466         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17467         (main):
17468         * gst/Makefile.am:
17469         * gst/gst.h:
17470         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17471         (gst_segment_set_seek), (gst_segment_set_newsegment),
17472         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17473         (gst_segment_clip):
17474         * gst/gstsegment.h:
17475         Added segment helper structure and methods. Not fully implemented
17476         yet.
17477         Added segment check.
17478
17479 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
17480
17481         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17482           Add a deserialisation test for fractions
17483         * examples/metadata/read-metadata.c: (message_loop),
17484         (make_pipeline), (main):
17485           Fix up metadata reading sample.
17486         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17487           Debug format fix
17488         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17489           Don't try and fixate empty caps
17490         * gst/gst_private.h:
17491           Wrap in G_BEGIN_DECLS/G_END_DECLS
17492         * gst/gstvalue.c: (gst_value_collect_fraction),
17493         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17494         (gst_value_transform_string_fraction),
17495         (gst_value_compare_fraction):
17496           Add some extra guards to ensure that we don't end up 
17497           with an invalid denominator of 0 in a gstfraction and
17498           that fractions always get reduced.
17499
17500 2005-11-20  Wim Taymans  <wim@fluendo.com>
17501
17502         * docs/gst/gstreamer-sections.txt:
17503         * gst/gstbuffer.h:
17504         * gst/gstelement.c:
17505         * gst/gstformat.c:
17506         * gst/gstformat.h:
17507         * gst/gstindex.h:
17508         * gst/gstquery.c:
17509         * gst/gstquery.h:
17510         * gst/gstvalue.c:
17511         Doc fixes.
17512
17513 2005-11-20  Wim Taymans  <wim@fluendo.com>
17514
17515         * docs/design/part-TODO.txt:
17516         * gst/gstcaps.h:
17517         Make a proper enum of the flag.
17518
17519 2005-11-19  Wim Taymans  <wim@fluendo.com>
17520
17521         * docs/design/part-TODO.txt:
17522         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17523         (gst_format_to_quark), (gst_format_register):
17524         * gst/gstformat.h:
17525         * gst/gstquery.c: (_gst_query_initialize),
17526         (gst_query_type_get_name), (gst_query_type_to_quark),
17527         (gst_query_type_register):
17528         * gst/gstquery.h:
17529         Add type to quark and type to string conversions.
17530
17531 2005-11-19  Andy Wingo  <wingo@pobox.com>
17532
17533         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17534         #320097.
17535
17536 2005-11-19  Wim Taymans  <wim@fluendo.com>
17537
17538         * docs/design/part-TODO.txt:
17539         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17540         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17541         (gst_bin_handle_message_func):
17542         * gst/gstbin.h:
17543         Make message handling overridable.
17544
17545 2005-11-19  Andy Wingo  <wingo@pobox.com>
17546
17547         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17548
17549         * gst/gstclock.h:
17550         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17551         be a GstClockTime.
17552         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17553         is a GstClockTime. Fixes #321710.
17554
17555         * gst/gstclock.h (GstClock): Remove offset property. Add
17556         internal_calibration and external_calibration. Fix padding. Pad
17557         also by GstClockTime so we don't run into problems.
17558
17559         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17560         (gst_clock_get_rate_offset): Remove.
17561         (gst_clock_set_time_adjust): Remove. Fixes #321712.
17562
17563         * gst/gstutils.h:
17564         * gst/gstutils.c (g_static_rec_cond_wait)
17565         (g_static_rec_cond_timed_wait): Removed, no longer needed.
17566
17567         * gst/gstbin.c: Remove terrible continue_state prototype.
17568
17569         * gst/gstelement.h (gst_element_continue_state): Make public.
17570
17571         * gst/gstelement.h:
17572         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17573         by continue_state. Fixes #319389.
17574
17575         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17576         Really fixes #168438. However I don't see anywhere where the
17577         filter function is called... stupid GStreamer...
17578         
17579         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17580         don't have a dispose function, so it won't get called when the
17581         object is unreffed, but oh well!
17582
17583         * gst/gstindex.c (gst_index_set_filter_full): New API function,
17584         allows a destroy function to be set so user_data can be freed.
17585         Fixes #168438.
17586         (gst_index_set_filter): Call gst_index_set_filter_full.
17587
17588         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17589
17590         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17591         string should produce an error, given the lack of a way to
17592         represent NULL strings. Fixes #165650.
17593         
17594         * gst/gstvalue.h: 
17595         * gst/gstvalue.c (gst_value_array_append_value) 
17596         (gst_value_array_prepend_value, gst_value_array_get_size) 
17597         (gst_value_array_get_value): New API, copied from
17598         gst_value_list_*, only operates on arrays.
17599         (gst_value_list_append_value, gst_value_list_prepend_value) 
17600         (gst_value_list_concat, gst_value_list_get_size) 
17601         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17602
17603         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17604         init_list, because it works on both.
17605         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17606         (gst_value_copy_list_or_array): Renamed from copy_list.
17607         (gst_value_free_list_or_array): Renamed from free_list.
17608         (gst_value_collect_list_or_array): Renamed from collect_list.
17609         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17610         (gst_value_list_or_array_peek_pointer): Renamed from
17611         list_peek_pointer.
17612         (_gst_value_array_value_table, _gst_value_list_value_table):
17613         Update value table functions.
17614         (gst_value_compare_list_or_array): Renamed from compare_list.
17615
17616         * gsttaglist.h: Whoops, foreach function returns void. Also fix
17617         some constness.
17618
17619         * gst/gsttaglist.c:
17620         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17621         GstTagList*. Fixes #143472.
17622
17623         * gst/gststructure.h: Clarify what the foreach/map functions can
17624         or can't do to their arguments.
17625
17626 2005-11-18  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/gstclock.c: (gst_clock_set_calibration),
17629         (gst_clock_get_calibration):
17630         Doc and API fixes.
17631         Calibration can be set with internal time equal to current
17632         internal time too.
17633
17634 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17635
17636         * gst/gsterror.c:
17637         * gst/gsterror.h:
17638           document
17639
17640 2005-11-18  Andy Wingo  <wingo@pobox.com>
17641
17642         * configure.ac: 
17643         * pkgconfig/gstreamer-net.pc.in:
17644         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17645         * pkgconfig/Makefile.am: Add net pkgconfig files.
17646
17647 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
17648
17649         * gst/gstcaps.c:
17650         * gst/gstghostpad.c:
17651         * gst/gsttrace.c:
17652         * gst/gstvalue.c:
17653         * gst/gstvalue.h:
17654           docs fixes
17655
17656 2005-11-18  Andy Wingo  <wingo@pobox.com>
17657
17658         * gst/net/gstnetclientclock.c: Turn off debugging.
17659
17660         * check/net/gstnetclientclock.c (test_functioning): Assert that the
17661         times connverge somewhat. Can't make a real test.
17662
17663         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17664         integer arithmetic. Return the minimum of the domain, which can be
17665         set as "internal" for gst_clock_set_calibration.
17666         (gst_net_client_clock_observe_times): Call _set_calibration.
17667         (gst_net_client_clock_new): Call _set_calibration instead of
17668         rate_offset.
17669
17670         * check/net/gstnetclientclock.c (test_functioning): Use the right
17671         adjustment api.
17672
17673         * gst/gstclock.h:
17674         * gst/gstclock.c (gst_clock_get_calibration) 
17675         (gst_clock_set_calibration): New functions, obsolete the ones I
17676         added yesterday. Doh. Precision issues mean we have to extrapolate
17677         from a point in the more recent past than 1970.
17678         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17679         obsolete.
17680         (gst_clock_adjust_unlocked): Use the right calibration data.
17681
17682 2005-11-18  Edward Hervey  <edward@fluendo.com>
17683
17684         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
17685         Also reset the ->current_* values in READY->PAUSED
17686
17687 2005-11-18  Andy Wingo  <wingo@pobox.com>
17688
17689         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17690         Whoops, check the right fd. Also add some debugging.
17691         (gst_net_client_clock_observe_times): Adjust for int64 offset.
17692         (do_linear_regression): Add a crapload of debugging. Subtract off
17693         the minimum values from the input series to discard unneeded bits.
17694         Use only int arithmetic. There is still double arithmetic when
17695         calculating the intercept that needs fixing. Return boolean to
17696         indicate success; FALSE would mean the domain or range is too
17697         great. Still needs fixes.
17698
17699 2005-11-18  Wim Taymans  <wim@fluendo.com>
17700
17701         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17702         For the current position in stream time, we need to subtract
17703         accumulated time.
17704         
17705         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17706         Release lock before calling the callback function of async
17707         entries.
17708
17709 2005-11-18  Andy Wingo  <wingo@pobox.com>
17710
17711         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17712         Port goes all the way to MAXUINT16.
17713
17714         * gst/net/gstnettimeprovider.c: Make the port range the same as
17715         for the kernel: 0 assigns, otherwise ports are less than
17716         MAXUINT16.
17717
17718         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17719         port change.
17720
17721         * check/net/gstnetclientclock.c (test_functioning): Add the start
17722         of another test. 
17723
17724 2005-11-18  Wim Taymans  <wim@fluendo.com>
17725
17726         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17727         (gst_bin_remove_func), (bin_bus_handler):
17728         * gst/gstbin.h:
17729         Removing a clock provider from a bin, triggers a clock lost message
17730         so that a new clock will be selected.
17731         Adding a clock to a bin triggers a clock provider message.
17732         Make sure we reselect a clock when we received a clock lost message.
17733         Keep a reference to the element that provided the clock.
17734
17735 2005-11-18  Andy Wingo  <wingo@pobox.com>
17736
17737         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17738         the clock initially so it produces values around the base time.
17739         (gst_net_client_clock_class_init): Typo fix.
17740         (gst_net_client_clock_thread): Add note on when the socket gets
17741         closed.
17742
17743 2005-11-17  Wim Taymans  <wim@fluendo.com>
17744
17745         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17746         Free remote and local time arrays.
17747
17748 2005-11-17  Wim Taymans  <wim@fluendo.com>
17749
17750         * gst/net/gstnetclientclock.c: (do_linear_regression),
17751         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17752         Fix compilation, uninitialized vars and a forgotten continue.
17753
17754 2005-11-17  Andy Wingo  <wingo@pobox.com>
17755
17756         * check/Makefile.am (check_PROGRAMS): 
17757         * check/net/gstnetclientclock.c: Add a most minimal test for the
17758         net client clock. More to come later.
17759
17760         * gst/net/gstnet.h: 
17761         * gst/net/Makefile.am: Add netclientclock.
17762
17763         * gst/net/gstnetclientclock.h:
17764         * gst/net/gstnetclientclock.c: New files, implement an untested
17765         GstClock that takes its time from a network time provider.
17766         Implements the algorithm in network-clock.scm.
17767
17768         * tests/network-clock.scm (*window-size*): Rename from
17769         *queue-length*.
17770         * tests/network-clock.scm (network-time): 
17771         * tests/network-clock-utils.scm (q-push): Update callers.
17772
17773 2005-11-17  Wim Taymans  <wim@fluendo.com>
17774
17775         * gst/gstbin.c: (gst_bin_provide_clock_func),
17776         (gst_bin_sort_iterator_new):
17777         And unref the child too..
17778
17779 2005-11-17  Wim Taymans  <wim@fluendo.com>
17780
17781         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17782         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17783         Refactor the sort iterator so it can be used while holding the
17784         LOCK too.
17785         Make clock selection select a clock closest to the source.
17786
17787 2005-11-17  Michael Smith <msmith@fluendo.com>
17788
17789         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17790         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17791         * gst/gstclock.h:
17792           Anonymous structs are a gcc (and some other compilers) extension, so
17793           don't use them. Since this is only for ABI-compatibility, and our
17794           API/ABI freeze is over in a few days, this whole thing will only
17795           last a few days, so don't bother trying to think up a meaningful
17796           name for the struct.
17797
17798 2005-11-17  Andy Wingo  <wingo@pobox.com>
17799
17800         * gst/gstclock.h (GstClock): Add rate and offset properties,
17801         preserving ABI stability. Add rate/offset accessors. Will file bug
17802         for the freeze break.
17803
17804         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17805         and offset, trying to keep precision and avoiding
17806         underflow/overflow.
17807         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17808         functions. Make gst_clock_set_time_adjust obsolete.
17809         (gst_clock_set_time_adjust): Note that this function is obsolete.
17810         Will file bug soon.
17811
17812         * gst/base/gstbasetransform.h: Make the ABI-stability hack
17813         greppable by using GST_PADDING-1+1.
17814
17815 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
17816
17817         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17818
17819         * gst/gstmessage.c: (gst_message_parse_clock_lost):
17820           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17821
17822         * gst/gstpadtemplate.h:
17823         * gst/gstpluginfeature.h:
17824           Don't use c++ style comments in headers (#321638).
17825
17826 2005-11-16  Andy Wingo  <wingo@pobox.com>
17827
17828         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17829         buffer.
17830
17831         * check/net/gstnettimeprovider.c: Check to see that the time
17832         provider actually provides times. Works, yo!
17833
17834 2005-11-16  Wim Taymans  <wim@fluendo.com>
17835
17836         * check/Makefile.am:
17837         Enable more tests.
17838
17839         * check/elements/fakesrc.c: (GST_START_TEST):
17840         Set element to NULL before disposing it.
17841
17842 2005-11-16  Andy Wingo  <wingo@pobox.com>
17843
17844         * gst/net/Makefile.am:
17845         * gst/net/gstnet.h:
17846         * gst/net/gstnettimeprovider.c: 
17847         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17848         provider, include it from gstnet.h, and add it to the build.
17849
17850         * gst/net/gstnettimepacket.h: 
17851         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17852         sending and receiving.
17853
17854 2005-11-16  Wim Taymans  <wim@fluendo.com>
17855
17856         * check/Makefile.am:
17857         Enable valgrind check.
17858
17859         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17860         (gst_fake_src_alloc_buffer):
17861         Fix memleak.
17862
17863 2005-11-16  Wim Taymans  <wim@fluendo.com>
17864
17865         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17866         Call parent finalize too.
17867
17868 2005-11-16  Wim Taymans  <wim@fluendo.com>
17869
17870         * check/Makefile.am:
17871         Enable valgrind check that should work fine now.
17872
17873         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17874         * gst/gstqueue.c: (gst_queue_init):
17875         Fix memleaks in pad allocation.
17876
17877 2005-11-16  Andy Wingo  <wingo@pobox.com>
17878
17879         * gst/net/Makefile.am:
17880         * gst/net/gstnet.h: New part of core to hold network elements and
17881         objects. Put in core because it exposes API that applications want
17882         to use. The library is named libgstnet-tempname right now because
17883         of the existing libgstnet in gst-plugins-base. Solution is
17884         probably to rename the one in plugins-base; will file a bug for
17885         the freeze break.
17886
17887         * gst/net/gstnettimeprovider.c: 
17888         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17889         get_time call over the network.
17890
17891         * configure.ac: 
17892         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17893
17894         * check/Makefile.am:
17895         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17896         get additions shortly.
17897
17898 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17899
17900         * gst/gstpad.c: (gst_pad_new_from_static_template):
17901         * gst/gstpad.h:
17902           add gst_pad_new_from_static_template functions
17903         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17904         (gst_check_setup_sink_pad):
17905         * gst/elements/gsttee.c: (gst_tee_init):
17906           and use them
17907
17908 2005-11-16  Wim Taymans  <wim@fluendo.com>
17909
17910         * gst/gstpad.c: (gst_pad_pause_task):
17911         Removed warning, it's not really an error either.
17912
17913 2005-11-16  Wim Taymans  <wim@fluendo.com>
17914
17915         * gst/base/gstbasetransform.c:
17916         (gst_base_transform_prepare_output_buf),
17917         (gst_base_transform_event):
17918         Check if the caps are NULL, this can happen if the element
17919         is shutting down and the pad caps are set to NULL.
17920
17921 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17922
17923         * gst/elements/gsttee.c: (gst_tee_init):
17924           fix pad template leak in tee
17925
17926 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17927
17928         * gst/glib-compat.c: (g_value_dup_gst_object):
17929         * gst/glib-compat.h:
17930         * gst/gstpad.c: (gst_pad_set_property):
17931           use gst_object_ref when setting the pad template; this will
17932           trigger the pad template leaks on GLib 2.6 and the slaves
17933
17934 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17935
17936         * gst/glib-compat.c: (gst_flags_get_first_value):
17937         * gst/glib-compat.h:
17938         * gst/gstregistryxml.c:
17939           remove functions copied from GLib 2.6
17940
17941 2005-11-16  Michael Smith <msmith@fluendo.com>
17942
17943         * gst/Makefile.am:
17944           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17945           do, but only breaks with newer valgrind versions. We're not a
17946           valgrind tool, we have no link-time dependencies on libcoregrind.
17947
17948 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17949
17950         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17951           some debug changes
17952         * gst/gstmessage.h:
17953           typo fixes
17954
17955 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17956
17957         * gst/base/gstbasesrc.c: (gst_base_src_init):
17958         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17959         * gst/gstqueue.c: (gst_queue_init):
17960         * gst/gstregistryxml.c: (load_feature):
17961           Revert all these unrefs, they don't even pass make check !
17962
17963 2005-11-15  Johan Dahlin  <johan@gnome.org>
17964
17965         * gst/base/gstbasesrc.c: (gst_base_src_init):
17966         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17967         * gst/gstqueue.c: (gst_queue_init): 
17968         Free pad templates, fixes a couple of leaks.
17969
17970 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17971
17972         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17973
17974         * gst/gstpad.c: (gst_pad_get_property):
17975           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17976           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17977           (#321452)
17978
17979 2005-11-15  Wim Taymans  <wim@fluendo.com>
17980
17981         * gst/gstevent.c:
17982         Small doc update.
17983
17984 2005-11-15  Andy Wingo  <wingo@pobox.com>
17985
17986         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17987
17988         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17989         using GST_CLOCK_TIME_NONE to disable base time management.
17990         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17991         time if it was NONE before.
17992         (gst_pipeline_change_state): Only munge the base time if
17993         stream_time != GST_CLOCK_TIME_NONE.
17994
17995         * check/gst/gstpipeline.c (test_base_time): Punt around the
17996         problem of the probe not being called, because that's not the
17997         issue I'm looking at. Add a check that setting stream_time to NONE
17998         disables base time management.
17999         
18000 2005-11-15  Wim Taymans  <wim@fluendo.com>
18001
18002         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18003         segment_stop == -1 at startup.
18004
18005         * gst/base/gstbasetransform.c: (gst_base_transform_event),
18006         (gst_base_transform_change_state):
18007         Init segment values at start.
18008
18009 2005-11-15  Wim Taymans  <wim@fluendo.com>
18010
18011         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18012         0 segment values are 0 in any format.
18013
18014         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18015         * gst/base/gstbasetransform.h:
18016         Parse newsegment correctly in basetransform
18017
18018         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18019         Sync to clock using updated segment values.
18020
18021 2005-11-15  Andy Wingo  <wingo@pobox.com>
18022
18023         * check/gst/gstpipeline.c (test_base_time): Add check that the
18024         base time and stream time are reset correctly.
18025
18026 2005-11-15  Wim Taymans  <wim@fluendo.com>
18027
18028         * docs/design/part-TODO.txt:
18029         Some more TODO items.
18030
18031 2005-11-15  Andy Wingo  <wingo@pobox.com>
18032
18033         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
18034         error if the user selected "no clock" as the clocking method.
18035
18036         * check/gst/gstpipeline.c (test_base_time): New test for buffer
18037         timestamps with live capture.
18038
18039         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
18040         is 0 but we are a live source, timestamp the buffers using the
18041         element's clock.
18042
18043 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
18044
18045         * docs/gst/gstreamer-sections.txt:
18046         * gst/gsterror.c:
18047         * gst/gstghostpad.c:
18048         * gst/gstobject.h:
18049         * gst/gstxml.c:
18050           more section docs
18051
18052 2005-11-14  Wim Taymans  <wim@fluendo.com>
18053
18054         * common/gst.supp:
18055           add suppressions from Wim's Debian machine
18056
18057 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18058
18059         * common/gst.supp:
18060           add suppressions from Andy's AMD64 Ubuntu machine
18061
18062 2005-11-14  Andy Wingo  <wingo@pobox.com>
18063
18064         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
18065         STATE_LOCK not necessary. Fixes #311489.
18066
18067         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
18068         #305291.
18069
18070         * gst/gstindex.c (gst_index_add_object): Note in the docs that
18071         this function is not implemented.
18072
18073 2005-11-14  Julien MOUTTE  <julien@moutte.net>
18074
18075         * gst/base/gstbasetransform.c:
18076         (gst_base_transform_prepare_output_buf):
18077         Ref the source pad caps while we need them.
18078         Fixes (#321386)
18079
18080 2005-11-11  Wim Taymans  <wim@fluendo.com>
18081
18082         * docs/gst/gstreamer-sections.txt:
18083         Added some docs for GstCollectData.
18084
18085         * gst/base/gstadapter.c:
18086         Some small code example fix.
18087
18088         * gst/base/gstcollectpads.c:
18089         * gst/base/gstcollectpads.h:
18090         Document some more.
18091
18092 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18093
18094         * configure.ac: back to HEAD
18095
18096 === release 0.9.5 ===
18097
18098 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
18099
18100         * configure.ac:
18101           releasing 0.9.5, "Bike Lunch Day"
18102
18103 2005-11-11  Wim Taymans  <wim@fluendo.com>
18104
18105         * gst/gstbuffer.c: (_gst_buffer_copy):
18106         Copy more flags.
18107
18108         * gst/gstcaps.c: (gst_caps_is_equal):
18109         Fix some docs.
18110         Make _is_equal fast in the trivial cases.
18111
18112         * gst/gstminiobject.c:
18113         * gst/gstminiobject.h:
18114         More docs. Spifify .h file.
18115
18116         * gst/gstutils.c:
18117         Small doc update.
18118
18119 2005-11-11  Wim Taymans  <wim@fluendo.com>
18120
18121         * gst/base/gstbasetransform.c:
18122         (gst_base_transform_prepare_output_buf),
18123         (gst_base_transform_handle_buffer):
18124         Small cleanups.
18125         If we're processing a buffer and need to allocate an output
18126         buffer, we cannot accept a format change. If we did get a 
18127         format change, we have to alloc a buffer ourselves of the 
18128         right size.
18129
18130 2005-11-11  Wim Taymans  <wim@fluendo.com>
18131
18132         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
18133         While checking the flag for reentrancy in the gstcaps function
18134         is nice to detect recursive invocations, it also makes it 
18135         impossible to call getcaps from multiple threads, which must be
18136         possible. So, checking for recursive calls has to go.
18137
18138 2005-11-11  Michael Smith <msmith@fluendo.com>
18139
18140         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18141           Don't sync on buffers that fall partially outside our current
18142           segment. Prevents an assertion failure/abort playing some files.
18143
18144 2005-11-10  Andy Wingo  <wingo@pobox.com>
18145
18146         * check/gst/gstbin.c (test_message_state_changed_children): Style
18147         fix..
18148
18149         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
18150         gst_bus_poll with the signal watch. Ensures that poll and a signal
18151         watch see the same messages.
18152
18153         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
18154         a poll and a watch at the same time get the same messages.
18155
18156 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18157
18158         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
18159         * gst/gstcaps.c: (gst_caps_intersect):
18160           Don't call gst_caps_do_simplify - it doesn't respect order of caps
18161           and it's not needed.
18162
18163 2005-11-10  Wim Taymans  <wim@fluendo.com>
18164
18165         * docs/design/part-TODO.txt:
18166         Updated todo.
18167
18168 2005-11-10  Wim Taymans  <wim@fluendo.com>
18169
18170         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18171         * gst/base/gstbasesrc.c: (gst_base_src_wait),
18172         (gst_base_src_do_sync), (gst_base_src_get_range):
18173         Implement clock sync in base class.
18174
18175 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18176
18177         patch by: Tim-Philipp Müller <tim at centricular dot net>
18178
18179         * gst/gststructure.c: (gst_structure_parse_field),
18180         (gst_structure_from_string):
18181           Forward-port a 0.8 patch to handle escaped spaces in structure string,
18182           so that gst_parse_launch() can deal with spaces in filtered link
18183           caps (fixes #164479)
18184         * check/gst/capslist.h:
18185         * check/gst/gststructure.c: (GST_START_TEST):
18186           add unit tests for this change
18187
18188 2005-11-10  Wim Taymans  <wim@fluendo.com>
18189
18190         * docs/gst/gstreamer-sections.txt:
18191         * gst/gstelement.c:
18192         * gst/gstelement.h:
18193         Fix docs, move some STATE macros to private.
18194
18195 2005-11-10  Wim Taymans  <wim@fluendo.com>
18196
18197         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18198         Added check for bug #317341
18199
18200         * gst/gstbuffer.c:
18201         * gst/gstbuffer.h:
18202         Some more spiffifying.
18203
18204         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
18205         Call peer linkfunction if we are a source pad. Totally fixes
18206         #317341
18207
18208         * gst/gstpad.c:
18209         Update docs, source pads should call the peer linkfunction
18210         so they can atomically perform the pad link.
18211
18212 2005-11-09  Wim Taymans  <wim@fluendo.com>
18213
18214         * gst/gstbuffer.c:
18215         * gst/gstbuffer.h:
18216         Uber-spiffy-spiffify some more.
18217
18218 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
18219
18220         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
18221         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18222         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18223         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
18224         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
18225         * gst/gstpad.c: (gst_pad_init):
18226           Use GST_DEBUG_FUNCPTR() more extensively.
18227
18228 2005-11-09  Wim Taymans  <wim@fluendo.com>
18229
18230         * gst/gstobject.c: (gst_object_class_init):
18231         * gst/gstobject.h:
18232         Documentation fixes.
18233
18234 2005-11-09  Edward Hervey  <edward@fluendo.com>
18235
18236         * gst/gsttypefindfactory.c:
18237         Fix docs.
18238         
18239 2005-11-09  Edward Hervey  <edward@fluendo.com>
18240
18241         * gst/base/gsttypefindhelper.c:
18242         * gst/gsttypefind.c:
18243         * gst/gsttypefind.h:
18244         Fix docs.
18245
18246 2005-11-09  Wim Taymans  <wim@fluendo.com>
18247
18248         * gst/gstiterator.c:
18249         Fix revision data.
18250
18251         * gst/gsttask.c:
18252         * gst/gsttask.h:
18253         Fix docs.
18254
18255 2005-11-09  Wim Taymans  <wim@fluendo.com>
18256
18257         * gst/gstevent.h:
18258         * gst/gsturi.h:
18259         Fix docs.
18260
18261 2005-11-09  Wim Taymans  <wim@fluendo.com>
18262
18263         * docs/gst/gstreamer-sections.txt:
18264         Moved the message async delivery private lock and cond
18265         to the private section.
18266
18267         * gst/gstmessage.c:
18268         * gst/gstmessage.h:
18269         Fixed docs.
18270
18271 2005-11-09  Edward Hervey  <edward@fluendo.com>
18272
18273         * docs/gst/gstreamer-sections.txt:
18274         * gst/gsturi.c:
18275         * gst/gsturi.h:
18276         Document GstURIHandler
18277
18278 2005-11-09  Wim Taymans  <wim@fluendo.com>
18279
18280         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18281         (gst_iterator_find_custom):
18282         * gst/gstiterator.h:
18283         Fix iterator docs.
18284
18285 2005-11-09  Wim Taymans  <wim@fluendo.com>
18286
18287         * gst/gstbin.h:
18288         Document another field.
18289
18290         * gst/gststructure.c:
18291         * gst/gststructure.h:
18292         Document.
18293
18294 2005-11-09  Wim Taymans  <wim@fluendo.com>
18295
18296         * gst/gstbin.h:
18297         Documented structs.
18298
18299 2005-11-09  Wim Taymans  <wim@fluendo.com>
18300
18301         * docs/gst/gstreamer-sections.txt:
18302         Added some new macros.
18303
18304         * gst/gstclock.c:
18305         * gst/gstclock.h:
18306         * gst/gstobject.h:
18307         Docs updates.
18308
18309 2005-11-09  Wim Taymans  <wim@fluendo.com>
18310
18311         * docs/design/part-TODO.txt:
18312         Some more items for the TODO
18313
18314         * gst/gstcaps.c:
18315         * gst/gstcaps.h:
18316         Document GstCaps.
18317
18318 2005-11-09  Andy Wingo  <wingo@pobox.com>
18319
18320         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18321         to work on something else now tho...
18322
18323         * gst/base/gstadapter.c: More adapter docs.
18324
18325         * gst/elements/gstfilesink.c (gst_file_sink_start) 
18326         (gst_file_sink_stop): New functions, replace the state change
18327         handler.
18328         (gst_file_sink_class_init): Hook up the start and stop functions.
18329         (gst_file_sink_base_init): Don't set the state change handler any
18330         more. It was a bit ugly too, being set from here...
18331         (gst_file_sink_get_property, gst_file_sink_set_property):
18332         Cleanups...
18333         (gst_file_sink_set_location): More robust check that doesn't call
18334         GST_STATE. Ugggggg.
18335
18336 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
18337
18338         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18339           Hold STREAM_LOCK while pushing newsegment or tag events as well.
18340
18341 2005-11-08  Wim Taymans  <wim@fluendo.com>
18342
18343         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18344         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18345         (gst_base_sink_chain), (gst_base_sink_change_state):
18346         * gst/base/gstbasesink.h:
18347         * gst/base/gstbasesrc.h:
18348         * gst/gstelement.h:
18349         * gst/gstevent.h:
18350         Avoid excessive typechecking in macros.
18351
18352         * gst/gstminiobject.c: (gst_mini_object_get_type),
18353         (gst_mini_object_init), (gst_mini_object_new),
18354         (gst_mini_object_free):
18355         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18356         (gst_object_finalize):
18357         Remove cruft code, optimize alloc_trace.
18358
18359 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18360
18361         * docs/faq/gst-uninstalled:
18362           fix up PS1 for systems that try to reset it
18363
18364 2005-11-07  Wim Taymans  <wim@fluendo.com>
18365
18366         * gst/base/gstbasesrc.c: (gst_base_src_init),
18367         (gst_base_src_get_range):
18368         Set the segment_end to -1 initially. Fixed typefind.
18369
18370 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
18371
18372         * gst/base/gstadapter.c:
18373           Debug category should be 'adapter', not 'GstAdapter'.
18374           
18375         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18376         (gst_collectpads_class_init), (gst_collectpads_init),
18377         (gst_collectpads_peek), (gst_collectpads_pop),
18378         (gst_collectpads_event), (gst_collectpads_chain):
18379           Add debug category and some debugging output. Use boilerplate
18380           macros. Remove some extraneous words from docs.
18381
18382 2005-11-05  Andy Wingo  <wingo@pobox.com>
18383
18384         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18385         macro.
18386
18387 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18388
18389         * docs/gst/gstreamer-sections.txt:
18390         * gst/gstcaps.h:
18391         * gst/gstinfo.c:
18392         * gst/gstminiobject.h:
18393         * gst/gstobject.h:
18394         * gst/gstutils.h:
18395           more docs added
18396
18397 2005-11-04  Wim Taymans  <wim@fluendo.com>
18398
18399         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18400         Small update to stop at the configured segment_end
18401         position.
18402
18403 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18404
18405         * gst/gstregistry.c:
18406         * gst/gstregistry.h:
18407           added missing docs
18408
18409 2005-11-04  Edward Hervey  <edward@fluendo.com>
18410
18411         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18412         Check if we are doing a segment seek and have arrived at the
18413         end of that segment.
18414
18415 2005-11-04  Wim Taymans  <wim@fluendo.com>
18416
18417         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18418         Don't leak a mutex unlock in case of an error.
18419
18420         * gst/gstbus.h:
18421         Doc fixes.
18422
18423 2005-11-04  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18426         (gst_bus_post):
18427         Get the context to wake up only once.
18428
18429 2005-11-03  Wim Taymans  <wim@fluendo.com>
18430
18431         * check/states/sinks.c: (GST_START_TEST):
18432         Uncomment fixed check.
18433
18434         * docs/design/part-TODO.txt:
18435         Updated TODO.
18436
18437         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18438         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18439         (gst_base_sink_get_position):
18440         If we are going to PLAYING, post the right pending state
18441         when we post the intermediate paused message.
18442
18443         * gst/gstelement.c: (gst_element_continue_state),
18444         (gst_element_set_state_func), (gst_element_change_state):
18445         Don't post state changes that were between the same state
18446         and were not ASYNC.
18447
18448 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18449
18450         * docs/gst/gstreamer-sections.txt:
18451         * gst/gstcaps.h:
18452         * gst/gstinfo.c:
18453         * gst/gstminiobject.h:
18454         * gst/gstobject.h:
18455         * gst/gstutils.h:
18456           more docs and doc style fixes
18457
18458 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18459
18460         * docs/gst/gstreamer-sections.txt:
18461         * gst/gstelement.c:
18462         * gst/gstminiobject.c:
18463         doc fixes
18464
18465 2005-11-03  Andy Wingo  <wingo@pobox.com>
18466
18467         * check/states/sinks.c (test_livesrc_sink): Add checks that the
18468         state-changed messages actually have the right order and the right
18469         values.
18470
18471 2005-11-03  Wim Taymans  <wim@fluendo.com>
18472
18473         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18474         Added some more checks. Specifically the case where NO_PREROLL
18475         elements are in the pipeline.
18476
18477         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18478         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18479         (gst_base_sink_get_position):
18480         Post READY->PAUSED state change messages too.
18481         Fix bug where VOID was posted as pending state...
18482
18483         * gst/gstbin.c: (gst_bin_recalc_state):
18484         use _element_continue_state() to continue the state change.
18485
18486         * gst/gstelement.c: (gst_element_continue_state),
18487         (gst_element_commit_state), (gst_element_set_state_func),
18488         (gst_element_change_state), (gst_element_change_state_func):
18489         Lots of state change cleanups, assign the STATE_RETURN in
18490         a new continue_state() function that also propagates the
18491         last return value from a state change to the app.
18492         Update some debug statements with proper category.
18493
18494 2005-11-03  Wim Taymans  <wim@fluendo.com>
18495
18496         * docs/design/part-events.txt:
18497         * docs/design/part-gstpipeline.txt:
18498         * docs/design/part-messages.txt:
18499         * docs/design/part-overview.txt:
18500         * docs/design/part-seeking.txt:
18501         * docs/design/part-states.txt:
18502         * docs/design/part-trickmodes.txt:
18503         * docs/manual/advanced-position.xml:
18504         Small docs updates.
18505
18506         * gst/gstobject.h:
18507         People think !! is ugly, this looks better.
18508
18509         * gst/gstpad.c: (gst_pad_set_blocked_async):
18510         Remove !! since it's fixed elsewhere now.
18511
18512 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18513
18514         * gst/gstminiobject.h:
18515         * gst/gstobject.h:
18516           Add !! to _FLAG_IS_SET macros to make the result boolean.
18517
18518 2005-11-03  Edward Hervey  <edward@fluendo.com>
18519
18520         * gst/gstpad.c: (gst_pad_set_blocked_async):
18521         comparing a flag and a gboolean rarely returns coherent results...
18522         Added two characters (!!) to make that work correctly.
18523         
18524 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * gst/gstbus.c: (gst_bus_class_init):
18527           Fix some typos.
18528           
18529         * gst/gstqueue.c: (gst_queue_loop):
18530           Don't assume a miniobject that isn't a buffer is an
18531           event (it could be that there is a refcounting
18532           problem somewhere and the pointer is stale and
18533           refers to an already destroyed miniobject).
18534
18535 2005-11-03  Julien MOUTTE  <julien@moutte.net>
18536
18537         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18538
18539 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18540
18541         * docs/manual/advanced-position.xml:
18542           Update seek example and explanations to current 0.9 API.
18543
18544         * gst/elements/gsttypefindelement.c:
18545         (gst_type_find_element_activate):
18546           Remove FIXME comment now that the found caps
18547           are unreffed.
18548
18549 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18550
18551         * gst/gstregistryxml.c: (load_feature):
18552           Add another GST_STR_NULL instance
18553
18554 2005-11-02  Edward Hervey  <edward@fluendo.com>
18555
18556         * gst/gstpad.c: (handle_pad_block):
18557         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18558         
18559 2005-11-02  Wim Taymans  <wim@fluendo.com>
18560
18561         * gst/gstbin.c:
18562         Fix typo in docs.
18563
18564         * gst/gstelement.c: (gst_element_commit_state):
18565         Remove unused value.
18566
18567         * gst/gstiterator.c:
18568         Mention that the returned element is reffed in the docs.
18569
18570 2005-11-02  Wim Taymans  <wim@fluendo.com>
18571
18572         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18573         (gst_pad_push), (gst_pad_push_event):
18574         Unlock blocked pads when they are flushed.
18575
18576 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18577
18578         * docs/README:
18579         * docs/gst/gstreamer-sections.txt:
18580         * gst/gstbin.c:
18581           doc updates
18582         * gst/gstregistry.c: (gst_registry_scan_path_level):
18583           fix for a nasty little missed situation where an installed plug-in
18584           which was in the cache did not get overridden by an uninstalled one
18585           which was earlier in the plugin path because the newly created plugin
18586           for the uninstalled one (not in the registry) didn't get its
18587           ->registered set to TRUE
18588
18589 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18590
18591         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18592         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18593         (gst_collectpads_is_active), (gst_collectpads_collect),
18594         (gst_collectpads_collect_range), (gst_collectpads_start),
18595         (gst_collectpads_stop), (gst_collectpads_peek),
18596         (gst_collectpads_pop), (gst_collectpads_available),
18597         (gst_collectpads_read), (gst_collectpads_flush):
18598           Guard public API with assertions.
18599         
18600         * gst/gstpad.c:
18601           Fix docs for gst_pad_set_link_function().
18602
18603 2005-11-02  Johan Dahlin  <johan@gnome.org>
18604
18605         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
18606         Unref found_caps after we used it.
18607
18608 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18609
18610         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18611           Don't try to ref NULL.
18612
18613 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18614
18615         * win32/common/config.h.in:
18616           provide a GST_FUNCTION that just gives a string for now
18617
18618 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18619
18620         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18621         (gst_object_flags_get_type), (register_gst_bin_flags),
18622         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18623         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18624         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18625         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18626         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18627         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18628         (gst_clock_flags_get_type), (register_gst_state),
18629         (gst_state_get_type), (register_gst_state_change_return),
18630         (gst_state_change_return_get_type), (register_gst_state_change),
18631         (gst_state_change_get_type), (register_gst_element_flags),
18632         (gst_element_flags_get_type), (register_gst_core_error),
18633         (gst_core_error_get_type), (register_gst_library_error),
18634         (gst_library_error_get_type), (register_gst_resource_error),
18635         (gst_resource_error_get_type), (register_gst_stream_error),
18636         (gst_stream_error_get_type), (register_gst_event_type),
18637         (gst_event_type_get_type), (register_gst_seek_type),
18638         (gst_seek_type_get_type), (register_gst_seek_flags),
18639         (gst_seek_flags_get_type), (register_gst_format),
18640         (gst_format_get_type), (register_gst_index_certainty),
18641         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18642         (gst_index_entry_type_get_type),
18643         (register_gst_index_lookup_method),
18644         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18645         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18646         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18647         (gst_index_flags_get_type), (register_gst_debug_level),
18648         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18649         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18650         (gst_iterator_result_get_type), (register_gst_iterator_item),
18651         (gst_iterator_item_get_type), (register_gst_message_type),
18652         (gst_message_type_get_type), (register_gst_mini_object_flags),
18653         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18654         (gst_pad_link_return_get_type), (register_gst_flow_return),
18655         (gst_flow_return_get_type), (register_gst_activate_mode),
18656         (gst_activate_mode_get_type), (register_gst_pad_direction),
18657         (gst_pad_direction_get_type), (register_gst_pad_flags),
18658         (gst_pad_flags_get_type), (register_gst_pad_presence),
18659         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18660         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18661         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18662         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18663         (gst_plugin_flags_get_type), (register_gst_rank),
18664         (gst_rank_get_type), (register_gst_query_type),
18665         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18666         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18667         (gst_tag_flag_get_type), (register_gst_task_state),
18668         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18669         (gst_alloc_trace_flags_get_type),
18670         (register_gst_type_find_probability),
18671         (gst_type_find_probability_get_type), (register_gst_uri_type),
18672         (gst_uri_type_get_type), (register_gst_parse_error),
18673         (gst_parse_error_get_type):
18674         * win32/common/gstversion.h:
18675           update win32 copies
18676
18677 2005-11-01  Luca Ognibene  <luogni@tin.it>
18678
18679         * gst/gst.c:
18680           fix docs. popt is dead, long live GOption.
18681
18682 2005-10-31  Wim Taymans  <wim@fluendo.com>
18683
18684         * gst/gstbuffer.h:
18685         Small doc fix.
18686
18687 2005-10-31  Andy Wingo  <wingo@pobox.com>
18688
18689         * Boo!
18690
18691         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18692
18693         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18694         need to serialize property notifications on GLib 2.8. GLib 2.6 has
18695         the possibility of deadlocks here if code calling notify() or
18696         set() has a lock that can be taken in another notify handler (ABBA
18697         with class lock and e.g. python GIL state lock).
18698
18699 2005-10-28  Julien MOUTTE  <julien@moutte.net>
18700
18701         * gst/gstbus.c: Doc updates.
18702
18703 2005-10-28  Wim Taymans  <wim@fluendo.com>
18704
18705         * docs/design/part-TODO.txt:
18706         * gst/gstiterator.c:
18707         * gst/gstsystemclock.c:
18708         * gst/gstsystemclock.h:
18709         Doc updates.
18710
18711 2005-10-28  Edward Hervey  <edward@fluendo.com>
18712
18713         * docs/gst/gstreamer-docs.sgml:
18714         * docs/gst/gstreamer-sections.txt:
18715         the GstURIType documentation page is private, it only defines GstURIType
18716         which should be defined in the GstURIHandler page
18717         
18718 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18719
18720         * gst/gstbin.c: (gst_bin_class_init):
18721         * gst/gstbin.h:
18722         * gst/gstutils.c:
18723         Documentation updates.
18724
18725 2005-10-28  Wim Taymans  <wim@fluendo.com>
18726
18727         * docs/gst/gstreamer-sections.txt:
18728         * gst/gstclock.c:
18729         * gst/gstclock.h:
18730         Documented the clocks.
18731
18732 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
18733
18734         * docs/gst/gstreamer-sections.txt:
18735           move some macros to private sections
18736         * gst/gstminiobject.c:
18737         * gst/gstminiobject.h:
18738           add descriptions provided by ds and some more
18739         * gst/gstpad.h:
18740           mark macro as to be removed
18741
18742 2005-10-28  Wim Taymans  <wim@fluendo.com>
18743
18744         * docs/design/part-TODO.txt:
18745         Add an item to TODO.
18746
18747         * gst/gstiterator.c: (gst_iterator_fold),
18748         (gst_iterator_find_custom):
18749         * gst/gstiterator.h:
18750         Add iterator docs.
18751
18752 2005-10-28  Wim Taymans  <wim@fluendo.com>
18753
18754         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18755         (gst_base_transform_init):
18756         Don't leak class.
18757
18758         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18759         An EOS event marks the queue as completely filled.
18760
18761 2005-10-27  Wim Taymans  <wim@fluendo.com>
18762
18763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18764         (gst_base_sink_do_sync), (gst_base_sink_get_position):
18765         Some more debugging.
18766
18767         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18768         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18769         (gst_base_transform_event), (gst_base_transform_getrange),
18770         (gst_base_transform_chain):
18771         * gst/base/gstbasetransform.h:
18772         Fix debugging,
18773         Protect transform and concurrent buffer alloc with a new lock.
18774         Try not to break ABI/API.
18775
18776 2005-10-27  Wim Taymans  <wim@fluendo.com>
18777
18778         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18779         (gst_base_src_init), (gst_base_src_query),
18780         (gst_base_src_default_newsegment),
18781         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18782         (gst_base_src_send_event), (gst_base_src_event_handler),
18783         (gst_base_src_pad_get_range), (gst_base_src_loop),
18784         (gst_base_src_unlock), (gst_base_src_default_negotiate),
18785         (gst_base_src_start), (gst_base_src_deactivate),
18786         (gst_base_src_activate_push), (gst_base_src_change_state):
18787         Move some stuff around and cleanup things.
18788
18789 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
18790
18791         * gst/base/gstbasesrc.c: (gst_base_src_query):
18792           Add missing break statements.
18793
18794 2005-10-27  Wim Taymans  <wim@fluendo.com>
18795
18796         * check/gst/gstbin.c: (GST_START_TEST):
18797         An extra refcount is taken in basesrc.
18798
18799         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18800         (gst_base_src_get_range), (gst_base_src_pad_get_range),
18801         (gst_base_src_loop):
18802         Small cleanups, check for flushing after being unlocked from the 
18803         LIVE_LOCK. take refcounts correctly (not yet everywhere).
18804         Don't send out EOS when going to READY.
18805
18806 2005-10-27  Wim Taymans  <wim@fluendo.com>
18807
18808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18809         (gst_base_sink_get_position):
18810         Some more debug.
18811
18812         * gst/gstbin.c: (message_check), (bin_replace_message),
18813         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18814         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18815         (bin_query_duration_init), (bin_query_duration_fold),
18816         (bin_query_duration_done), (bin_query_generic_fold),
18817         (gst_bin_query):
18818         * tools/gst-launch.c: (main):
18819         Remove old option.
18820
18821 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
18822
18823         * examples/controller/audio-example.c: (main):
18824         * examples/queue/queue.c: (event_loop):
18825         * gst/base/gstbasetransform.h:
18826         * gst/gstelement.c: (gst_element_send_event):
18827         * gst/gstevent.h:
18828         * gst/gstpad.c: (gst_pad_send_event):
18829           fixing examples
18830           fixing docs typos
18831           changing log priority in error situations
18832
18833 2005-10-25  Wim Taymans  <wim@fluendo.com>
18834
18835         * gst/gstbin.c: (message_check), (bin_replace_message),
18836         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18837         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18838         (bin_query_duration_init), (bin_query_duration_fold),
18839         (bin_query_duration_done), (bin_query_generic_fold),
18840         (gst_bin_query):
18841         Some doc and debug updates.
18842         Cache previously requested query DURATION for speed. invalidate
18843         cached duration if element posts a DURATION message.
18844
18845 2005-10-25  Wim Taymans  <wim@fluendo.com>
18846
18847         * docs/design/part-TODO.txt:
18848         Update TODO.
18849
18850         * gst/gstbin.c: (message_check), (bin_replace_message),
18851         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18852         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18853         (bin_query_duration_init), (bin_query_duration_fold),
18854         (bin_query_duration_done), (bin_query_generic_fold),
18855         (gst_bin_query):
18856         Handle SEGMENT_START/DONE messages correctly.
18857         More evolved query algorithm that handles duration queries
18858         correctly.
18859
18860         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18861         (gst_element_get_state_func), (gst_element_abort_state),
18862         (gst_element_commit_state), (gst_element_lost_state):
18863         Some more debugging.
18864
18865         * gst/gstmessage.h:
18866         Added doc.
18867
18868 2005-10-25  Wim Taymans  <wim@fluendo.com>
18869
18870         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18871         Don't use invalid stream_time.
18872
18873         * gst/gstevent.c: (gst_event_new_newsegment):
18874         stream_time in newsegment cannot be undefined.
18875
18876 2005-10-24  Wim Taymans  <wim@fluendo.com>
18877
18878         * gst/gstbus.c:
18879         Doc fix.
18880
18881         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18882         (gst_queue_loop):
18883         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18884
18885 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18886
18887         * docs/libs/tmpl/gstdparam.sgml:
18888         * docs/libs/tmpl/gstdplinint.sgml:
18889         * docs/libs/tmpl/gstdpman.sgml:
18890         * docs/libs/tmpl/gstdpsmooth.sgml:
18891         * docs/libs/tmpl/gstunitconvert.sgml:
18892           these are obsolete
18893
18894 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18895
18896         * configure.ac:
18897           back to HEAD
18898
18899 === release 0.9.4 ===
18900
18901 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18902
18903         * configure.ac:
18904           releasing 0.9.4, "Tyrannosaurus Rex"
18905
18906 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18907
18908         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18909         (gst_file_sink_get_current_offset):
18910           Use fseeko() and ftello() if available. When falling back on
18911           lseek() to get the current offset, fflush() first to make sure
18912           everything is up-to-date and we get the right offset.
18913
18914 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18915
18916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18917         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18918         * gst/gsterror.c: (_gst_stream_errors_init):
18919         * gst/gsterror.h:
18920         * gst/gstqueue.c: (gst_queue_loop):
18921         * po/POTFILES.in:
18922           remove prematurely added error category and clean up the instances
18923
18924 2005-10-21  Wim Taymans  <wim@fluendo.com>
18925
18926         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18927         (gst_base_sink_get_position), (gst_base_sink_query),
18928         (gst_base_sink_change_state):
18929         Simply set the right flag when going to playing, that's all
18930         we need to do instead of calling a function inside the object
18931         lock (that could take the lock as well and deadlock)
18932
18933 2005-10-21  Wim Taymans  <wim@fluendo.com>
18934
18935         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18936         (gst_base_src_loop):
18937         Don't warn, the peer element knows what to do best when
18938         the seek failed, it might try something else.
18939
18940 2005-10-21  Wim Taymans  <wim@fluendo.com>
18941
18942         * gst/base/gstbasesrc.c: (gst_base_src_init),
18943         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18944         Fix seeking.
18945
18946 2005-10-21  Wim Taymans  <wim@fluendo.com>
18947
18948         * docs/design/part-segments.txt:
18949         More docs.
18950
18951         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18952         Correctly set caps, even on the subbufer.
18953
18954 2005-10-21  Wim Taymans  <wim@fluendo.com>
18955
18956         * docs/gst/gstreamer-docs.sgml:
18957         * docs/gst/gstreamer-sections.txt:
18958         * gst/gstelement.h:
18959         * gst/gstevent.c:
18960         * gst/gstevent.h:
18961         * gst/gstmessage.h:
18962         * gst/gstpad.h:
18963         * gst/gstparse.h:
18964         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18965         * gst/gsttask.h:
18966         * gst/gstutils.c:
18967         * gst/gstutils.h:
18968         And 2% more doc coverage.
18969
18970 2005-10-21  Andy Wingo  <wingo@pobox.com>
18971
18972         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18973         position reporting.
18974
18975 2005-10-20  Wim Taymans  <wim@fluendo.com>
18976
18977         * gst/gsterror.c: (gst_error_get_message):
18978         * gst/gstparse.h:
18979         * gst/gstquery.h:
18980         * gst/gststructure.c:
18981         * gst/gsttrace.c:
18982         * gst/gstutils.c:
18983         More docs.
18984
18985 2005-10-20  Wim Taymans  <wim@fluendo.com>
18986
18987         * gst/gstbuffer.h:
18988         * gst/gstpad.c:
18989         * gst/gstparse.c:
18990         Another 1% more coverage.
18991
18992 2005-10-20  Wim Taymans  <wim@fluendo.com>
18993
18994         * docs/gst/gstreamer-sections.txt:
18995         * gst/gstelement.c: (gst_element_get_state_func),
18996         (gst_element_abort_state), (gst_element_commit_state),
18997         (gst_element_lost_state):
18998         * gst/gstevent.h:
18999         * gst/gstquery.c: (gst_query_set_position),
19000         (gst_query_parse_position), (gst_query_set_duration),
19001         (gst_query_parse_duration), (gst_query_new_convert):
19002         * gst/gstutils.c:
19003         Yay! 1% more docs coverage.
19004
19005 2005-10-20  Wim Taymans  <wim@fluendo.com>
19006
19007         * gst/gstpad.h:
19008         * gst/gstquery.c: (gst_query_set_position),
19009         (gst_query_parse_position), (gst_query_set_duration),
19010         (gst_query_parse_duration), (gst_query_new_convert):
19011         * gst/gstquery.h:
19012         * gst/gstutils.c: (gst_element_query_convert):
19013         * gst/gstutils.h:
19014         Docs and consistency fixes.
19015
19016 2005-10-20  Wim Taymans  <wim@fluendo.com>
19017
19018         * gst/gsttask.c:
19019         * gst/gsttask.h:
19020         More docs.
19021
19022 2005-10-20  Wim Taymans  <wim@fluendo.com>
19023
19024         * gst/gstbin.c: (message_check), (bin_replace_message),
19025         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19026         (update_degree), (gst_bin_sort_iterator_next),
19027         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
19028         Reworked the message handling a bit, cache the messages instead of
19029         only the senders. alows us to do more in the future.
19030
19031 2005-10-20  Wim Taymans  <wim@fluendo.com>
19032
19033         * docs/design/part-TODO.txt:
19034         Update TODO
19035
19036         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19037         (gst_base_sink_query):
19038         Don't use clock time to report position when in EOS.
19039
19040 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
19041
19042         * tools/gst-inspect.c: (print_interfaces),
19043         (print_element_properties_info), (print_element_info):
19044           Fix interface output with gst-inspect -a; don't print
19045           newlines after double/float properties.
19046
19047 2005-10-20  Wim Taymans  <wim@fluendo.com>
19048
19049         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19050         (gst_base_sink_query):
19051         Speed up current position calculation.
19052
19053         * gst/base/gstbasesrc.c: (gst_base_src_query),
19054         (gst_base_src_default_newsegment):
19055         Correctly set stream position in newsegment.
19056
19057         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
19058         (update_degree), (gst_bin_sort_iterator_next),
19059         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
19060         * gst/gstmessage.c: (gst_message_new_custom):
19061         Clean up debugging info
19062
19063         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19064         (gst_queue_loop), (gst_queue_handle_src_query):
19065         Pause task faster.
19066
19067 2005-10-19  Wim Taymans  <wim@fluendo.com>
19068
19069         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19070         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19071         Fix query handling again.
19072
19073 2005-10-19  Wim Taymans  <wim@fluendo.com>
19074
19075         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19076         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19077         * gst/base/gstbasesrc.c: (gst_base_src_query):
19078         * gst/elements/gstfilesink.c: (gst_file_sink_query):
19079         * gst/elements/gsttypefindelement.c:
19080         (gst_type_find_handle_src_query), (find_element_get_length),
19081         (gst_type_find_element_activate):
19082         API change fix.
19083
19084         * gst/gstquery.c: (gst_query_new_position),
19085         (gst_query_set_position), (gst_query_parse_position),
19086         (gst_query_new_duration), (gst_query_set_duration),
19087         (gst_query_parse_duration), (gst_query_set_segment),
19088         (gst_query_parse_segment):
19089         * gst/gstquery.h:
19090         Bundling query position/duration is not a good idea since duration
19091         does not change much and we don't want to recalculate it for every
19092         position query, so they are separated again..
19093         Base value in segment query is not needed.
19094
19095         * gst/gstqueue.c: (gst_queue_handle_src_query):
19096         * gst/gstutils.c: (gst_element_query_position),
19097         (gst_element_query_duration), (gst_pad_query_position),
19098         (gst_pad_query_duration):
19099         * gst/gstutils.h:
19100         Updates for query API change.
19101         Added some docs here and there.
19102
19103 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19104
19105         * check/gst/gstbin.c: (GST_START_TEST):
19106         * check/gst/gstghostpad.c: (GST_START_TEST):
19107         * check/pipelines/cleanup.c: (GST_START_TEST):
19108           wait on thread to die so we can check refcount correctly
19109
19110 2005-10-18  Wim Taymans  <wim@fluendo.com>
19111
19112         * check/pipelines/stress.c: (GST_START_TEST):
19113         Make check a little more time consuming.
19114
19115 2005-10-18  Wim Taymans  <wim@fluendo.com>
19116
19117         * check/Makefile.am:
19118         * check/pipelines/stress.c: (GST_START_TEST),
19119         (simple_launch_lines_suite), (main):
19120         Small state change torture test.
19121
19122         * docs/design/part-states.txt:
19123         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19124         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
19125         (gst_base_sink_change_state):
19126         Never take state lock from streaming thread, clean up ugly
19127         hacks. Unfortunatly core does not yet support nice ways to
19128         async commit state.
19129         
19130         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
19131         (bin_bus_handler):
19132         Start state recalc if a STATE_DIRTY message is posted, but only
19133         on the toplevel bin.
19134
19135         * gst/gstelement.c: (gst_element_sync_state_with_parent),
19136         (gst_element_get_state_func), (gst_element_abort_state),
19137         (gst_element_commit_state), (gst_element_lost_state),
19138         (gst_element_set_state_func), (gst_element_change_state):
19139         * gst/gstelement.h:
19140         State variables are now protected with the LOCK, the state
19141         lock is only used to serialize _set_state().
19142
19143 2005-10-18  Wim Taymans  <wim@fluendo.com>
19144
19145         * check/gst/gstbin.c: (GST_START_TEST):
19146         * check/gst/gstmessage.c: (GST_START_TEST):
19147         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19148         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
19149         (bin_bus_handler):
19150         * gst/gstelement.c: (gst_element_abort_state),
19151         (gst_element_commit_state), (gst_element_lost_state):
19152         * gst/gstmessage.c: (gst_message_new_state_changed),
19153         (gst_message_new_state_dirty), (gst_message_new_segment_start),
19154         (gst_message_new_segment_done), (gst_message_new_duration),
19155         (gst_message_parse_state_changed),
19156         (gst_message_parse_segment_start),
19157         (gst_message_parse_segment_done), (gst_message_parse_duration):
19158         * gst/gstmessage.h:
19159         * tools/gst-launch.c: (event_loop):
19160         Seriously, this is better than a previous commit as we only need
19161         to notify the fact that an element changed state in a streaming
19162         thread, marking the state of the parents dirty, hence the 
19163         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
19164         message.
19165
19166 2005-10-18  Wim Taymans  <wim@fluendo.com>
19167
19168         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
19169         (gst_bin_recalc_func):
19170         * gst/gstelement.c: (gst_element_set_clock),
19171         (gst_element_abort_state), (gst_element_lost_state):
19172         Cleanups, prepare for state change fixes.
19173
19174 2005-10-18  Wim Taymans  <wim@fluendo.com>
19175
19176         * gst/gstbin.h:
19177         * gst/gstelement.c: (gst_element_class_init),
19178         (gst_element_set_state), (gst_element_set_state_func):
19179         * gst/gstelement.h:
19180         Pending ABI changes.
19181         GThreadPool in GstBinClass to monitor async state changes.
19182         state_cookie in GstElement to detect concurrent gst/set state.
19183         set_state is now virtual too in case a very complicated element
19184         has to be constructed.
19185
19186 2005-10-18  Wim Taymans  <wim@fluendo.com>
19187
19188         * check/gst/gstbin.c: (GST_START_TEST):
19189         * check/gst/gstmessage.c: (GST_START_TEST):
19190         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19191         * gst/gstbin.c: (bin_bus_handler):
19192         * gst/gstelement.c: (gst_element_commit_state),
19193         (gst_element_lost_state):
19194         * gst/gstmessage.c: (gst_message_new_state_changed),
19195         (gst_message_new_segment_start), (gst_message_new_segment_done),
19196         (gst_message_new_duration), (gst_message_parse_state_changed),
19197         (gst_message_parse_segment_start),
19198         (gst_message_parse_segment_done), (gst_message_parse_duration):
19199         * gst/gstmessage.h:
19200         * tools/gst-launch.c: (event_loop):
19201         Make messages future proof.
19202         state-change gets a flag if it was a message comming from the
19203         streaming thread.
19204         segment-start/stop can also be specified in other formats.
19205         A message to notify an app that a pipeline changed playback 
19206         duration.
19207         Also fix a GstMessage leak in -launch
19208
19209 2005-10-18  Andy Wingo  <wingo@pobox.com>
19210
19211         * gst/gstelement.c (gst_element_dispose): More helpful message.
19212
19213 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19214
19215         reviewed by: <delete if not using a buddy>
19216
19217         * common/gtk-doc.mak:
19218
19219 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19220
19221         * gst/gstregistry.c: (gst_registry_scan_path_level):
19222           unref a plug-in we get that was already initialized
19223
19224 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
19225
19226         * docs/gst/gstreamer-sections.txt:
19227         * docs/libs/gstreamer-libs-sections.txt:
19228         * gst/gstelement.h:
19229           add new api entries
19230           hide internal macro
19231
19232 2005-10-17  Andy Wingo  <wingo@pobox.com>
19233
19234         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
19235         cleanup.
19236
19237         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
19238
19239         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
19240
19241         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19242         (gst_element_get_state_func): Better debug message.
19243         (gst_element_commit_state): s/INFO/DEBUG/.
19244         (gst_element_lost_state, gst_element_change_state): 
19245
19246         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19247         (gst_message_new_custom): s/INFO/LOG/.
19248
19249 2005-10-17  Michael Smith <msmith@fluendo.com>
19250
19251         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19252           Check if end time is valid using end time, not start time.
19253
19254 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
19255
19256         * check/gst-libs/controller.c: (GST_START_TEST),
19257         (gst_controller_suite):
19258         * libs/gst/controller/gstcontroller.c:
19259         (gst_controlled_property_set_interpolation_mode):
19260         * libs/gst/controller/gstcontroller.h:
19261         * libs/gst/controller/gstinterpolation.c:
19262         * testsuite/controller/.cvsignore:
19263         * testsuite/controller/Makefile.am:
19264         * testsuite/controller/interpolator.c:
19265           merge controller testsuites
19266           fix broken tests
19267           remove mem-chunk from docs
19268
19269 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * gst/gstmemchunk.c:
19272         * gst/gstmemchunk.h:
19273         * gst/gsttrashstack.c:
19274         * gst/gsttrashstack.h:
19275           out.  get out.  you're fired.  to the Attic !
19276
19277 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19278
19279         * gst/gstcaps.c: (gst_caps_intersect):
19280           fix signedness issues in a (hopefully) correct way
19281         * gst/gstelement.c: (gst_element_pads_activate):
19282           some debugging
19283         * gst/gstobject.c: (gst_object_set_parent):
19284           some debugging
19285
19286 2005-10-17  Julien MOUTTE  <julien@moutte.net>
19287
19288         * gst/gstvalue.h: Fix prototypes.
19289
19290 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19291
19292         * docs/gst/gstreamer-sections.txt:
19293         * gst/gst.c: (gst_version_string):
19294         * gst/gst.h:
19295         * gst/gstversion.h.in:
19296         * win32/common/libgstreamer.def:
19297           add gst_version_string ()
19298
19299 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19300
19301         * configure.ac:
19302           clean up further
19303         * gst/gst.c: (init_post):
19304         * win32/common/config.h.in:
19305           it's PLUGINDIR now
19306         * gst/gstcaps.c: (gst_caps_intersect):
19307           use gint64, the range could be bigger than a guint
19308
19309 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19310
19311         * gst/gstclock.h:
19312           document potential problem in 2038
19313
19314 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19315
19316         * gst/gstcaps.c: (gst_caps_intersect):
19317           Fix guint j diving under 0
19318
19319 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19320
19321         * configure.ac:
19322         * win32/common/config.h:
19323         * win32/common/config.h.in:
19324           check for process.h, declares getpid() on Windows
19325         * gst/gstinfo.c:
19326           include process.h if we have it
19327         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19328         * gst/gstmemchunk.h:
19329           fix signedness issues
19330         * win32/common/libgstreamer.def:
19331           fix get_type's
19332
19333 2005-10-16  Julien MOUTTE  <julien@moutte.net>
19334
19335         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19336         fix. Because of unsigned ints, caps intersection was going nuts and
19337         trying to access structures with G_MAXUINT index. That fixes
19338         videotestsrc ! ffmpegcolorspace ! fakesink
19339         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19340         consistency.
19341
19342 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19343
19344         * configure.ac:
19345           use the gettext macro
19346         * gst/elements/gstelements.c:
19347         * gst/gst.c:
19348         * gst/indexers/gstindexers.c:
19349           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19350         * win32/common/config.h:
19351           updated config.h
19352         * win32/common/config.h.in:
19353           add the template to generate config.h
19354         * win32/common/gstenumtypes.c:
19355         * win32/common/gstversion.h:
19356           updated copies
19357
19358 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19359
19360         * gst/gst.c: (gst_version):
19361         * gst/gstversion.h.in:
19362           add the nano
19363
19364 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19365
19366         * gst/gstevent.h:
19367           Oops, add missing closing bracket.
19368
19369 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19370
19371         * configure.ac:
19372           use common m4's for argument checking
19373
19374 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19375
19376         * docs/gst/gstreamer-sections.txt:
19377         * gst/gstevent.h:
19378           Add GST_EVENT_TYPE_NAME() macro.
19379
19380 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19381
19382         * gst/gstinfo.c:
19383         * gst/gstpluginfeature.c:
19384         * gst/gsttask.c:
19385           privatize more symbols
19386
19387 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19388
19389         * configure.ac:
19390           add srcdir, builddir includes to GST_ALL_CFLAGS, since
19391           everything that uses GStreamer API should have the includes
19392
19393 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19394
19395         * docs/gst/gstreamer-sections.txt:
19396         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19397         * gst/gstvalue.h:
19398           give each value a _get_type, removes the DATA exports
19399
19400 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19401
19402         * gst/gst.c:
19403         * gst/gst.h:
19404           remove _gst_registry_auto_load, not used anymore
19405         * gst/gstbin.c: (gst_bin_get_type):
19406         * gst/gstbin.h:
19407         * gst/gstelement.c: (gst_element_get_type):
19408         * gst/gstelement.h:
19409         * gst/gstobject.c: (gst_object_get_type):
19410         * gst/gstobject.h:
19411         * gst/gstpad.c: (gst_pad_get_type):
19412         * gst/gstpad.h:
19413           make _get_type functions similar, fixes data export from library
19414
19415 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19416
19417         * configure.ac:
19418           correctly make conditionals
19419         * gst/elements/Makefile.am:
19420         * gst/elements/gstelements.c:
19421           fix typo causing fdsrc not to build
19422
19423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19424
19425         * testsuite/Makefile.am:
19426         * testsuite/bytestream/.cvsignore:
19427         * testsuite/bytestream/Makefile.am:
19428         * testsuite/bytestream/filepadsink.c:
19429         * testsuite/bytestream/gstbstest.c:
19430         * testsuite/bytestream/test1.c:
19431         * testsuite/bytestream/testfile1:
19432         * testsuite/caps/normalisation.c:
19433         * testsuite/caps/random.c: (main):
19434         * testsuite/cleanup/.cvsignore:
19435         * testsuite/cleanup/Makefile.am:
19436         * testsuite/cleanup/cleanup1.c:
19437         * testsuite/cleanup/cleanup2.c:
19438         * testsuite/cleanup/cleanup3.c:
19439         * testsuite/cleanup/cleanup4.c:
19440         * testsuite/cleanup/cleanup5.c:
19441         * testsuite/controller/interpolator.c:
19442         * testsuite/debug/printf_extension.c: (main):
19443         * testsuite/elements/tee.c:
19444         * testsuite/negotiation/.cvsignore:
19445         * testsuite/negotiation/Makefile.am:
19446         * testsuite/negotiation/pad_link.c:
19447         * testsuite/pad/Makefile.am:
19448         * testsuite/pad/chainnopull.c:
19449         * testsuite/pad/getnopush.c:
19450         * testsuite/pad/link.c:
19451         * testsuite/refcounting/sched.c: (create_pipeline):
19452         * testsuite/registry/Makefile.am:
19453         * testsuite/registry/gst-print-formats.c:
19454         * testsuite/schedulers/.cvsignore:
19455         * testsuite/schedulers/142183-2.c:
19456         * testsuite/schedulers/142183.c:
19457         * testsuite/schedulers/143777-2.c:
19458         * testsuite/schedulers/143777.c:
19459         * testsuite/schedulers/147713.c:
19460         * testsuite/schedulers/147819.c:
19461         * testsuite/schedulers/147894-2.c:
19462         * testsuite/schedulers/147894.c:
19463         * testsuite/schedulers/Makefile.am:
19464         * testsuite/schedulers/group_link.c:
19465         * testsuite/schedulers/queue_link.c:
19466         * testsuite/schedulers/relink.c:
19467         * testsuite/schedulers/unlink.c:
19468         * testsuite/schedulers/unref.c:
19469         * testsuite/schedulers/useless_iteration.c:
19470         * testsuite/states/bin.c:
19471           clean out/remove some stuff from the testsuite directories
19472
19473 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19474
19475         * configure.ac:
19476           check for some headers
19477         * gst/elements/Makefile.am:
19478         * gst/elements/gstelements.c:
19479           don't compile fdsrc without sys/socket.h
19480         * gst/indexers/Makefile.am:
19481         * gst/indexers/gstindexers.c: (plugin_init):
19482           don't compile fileindex without mmap
19483
19484 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * configure.ac:
19487           reorganize
19488           clean up
19489           document more
19490           remove cruft
19491         * check/Makefile.am:
19492         * docs/gst/Makefile.am:
19493         * examples/helloworld/Makefile.am:
19494         * gst/Makefile.am:
19495         * gst/base/Makefile.am:
19496         * gst/check/Makefile.am:
19497         * gst/elements/Makefile.am:
19498         * gst/indexers/Makefile.am:
19499         * gst/parse/Makefile.am:
19500         * libs/gst/controller/Makefile.am:
19501         * libs/gst/dataprotocol/Makefile.am:
19502         * examples/helloworld/helloworld.c: (event_loop):
19503           compile fixes, though it's not being compiled currently
19504
19505 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19506
19507         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19508           Add some simple tests for the new taglist date API.
19509
19510 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19511
19512         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19513         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19514           Beautify 'last-message' output: print 'none' for buffer timestamps
19515           and durations if none is set; improve alignment with next messages.
19516
19517 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19518
19519         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19520         * gst/gstpluginfeature.h:
19521         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19522         * gst/gstregistry.h:
19523         * docs/gst/gstreamer-sections.txt:
19524           Add new API to check plugin feature version requirements.
19525
19526         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19527           Some basic tests for the above.         
19528
19529 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19530
19531         * gst/gststructure.c: (gst_structure_to_string):
19532           guard against NULL printf - happens when for example
19533           a message structure with GstClock gets serialized
19534
19535 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19536
19537         * gst/base/gstcollectpads.c: (gst_collectpads_event):
19538           Fix presumable copy'n'pasto.
19539
19540 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19541
19542         * gst/elements/gstfakesrc.h:
19543         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19544         * gst/elements/gsttypefindelement.c:
19545           fix some signedness
19546         * gst/elements/gstfilesink.c: (gst_file_sink_render):
19547           I wonder if this could actually write +2GB files before
19548
19549 2005-10-13  Andy Wingo  <wingo@pobox.com>
19550
19551         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19552         Fix Timmeke Waymans bug.
19553         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19554         string of the proper length to gst_caps_from_string. There's a
19555         potential for, before this fix, that this could cause someone
19556         connecting over the network to cause a segfault if the payload is
19557         not NUL-terminated.
19558
19559 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19560
19561         * docs/design/draft-push-pull.txt:
19562         * docs/design/part-overview.txt:
19563         * docs/random/TODO-pre-0.9:
19564         * docs/random/old/ChangeLog.gstreamer:
19565         * gst/base/gstpushsrc.c:
19566         * gst/gstclock.c:
19567           fixed typos
19568
19569 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19570
19571         * gst/glib-compat.c: (gst_flags_get_first_value):
19572         * gst/glib-compat.h:
19573         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19574         (gst_value_compare_double), (gst_value_serialize_flags):
19575           GLib 2.6 g_flags_get_first_value has a bug that triggers an
19576           infinite loop
19577
19578 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19579
19580         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19581         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19582           fix up debugging
19583         * tools/gst-launch.c: (event_loop):
19584           print out clock nicely
19585
19586 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19587
19588         * docs/gst/gstreamer-sections.txt:
19589         * gst/gsttaglist.h:
19590         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19591         (gst_tag_list_get_date_index):
19592           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19593           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19594
19595 2005-10-13  Julien MOUTTE  <julien@moutte.net>
19596
19597         * gst/base/gstcollectpads.c: (gst_collectpads_event),
19598         (gst_collectpads_chain):
19599         * gst/base/gstcollectpads.h: Handle newsegment and store informations
19600         in CollectData.
19601
19602 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19603
19604         * docs/gst/gstreamer-sections.txt:
19605         * gst/gst.c:
19606         * gst/gsterror.h:
19607         * tools/gst-inspect.c: (main):
19608         * tools/gst-launch.c: (main):
19609         * tools/gst-run.c: (main):
19610         * tools/gst-xmlinspect.c: (main):
19611           fix GOption context leaks
19612           doc fixes
19613
19614 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19615
19616         * gst/gstbus.c:
19617           use HAVE_UNISTD_H
19618         * win32/common/config.h:
19619           update config
19620         * win32/vs6/grammar.dsp:
19621         * win32/vs6/libgstelements.dsp:
19622         * win32/vs6/libgstreamer.dsp:
19623           update vs6 files
19624
19625 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19626
19627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19628         * gst/base/gstbasesrc.c: (gst_base_src_query):
19629           fix more guint64<->gdouble conversions
19630
19631 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19632
19633         * Makefile.am:
19634           add win32-update target
19635         * win32/common/gstconfig.h:
19636         * win32/common/gstenumtypes.c:
19637         * win32/common/gstenumtypes.h:
19638         * win32/common/gstversion.h:
19639           add files that visual studio can't generate
19640
19641 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19642
19643         * Makefile.am:
19644           add a win32-update target
19645         * configure.ac:
19646
19647 2005-10-12  Wim Taymans  <wim@fluendo.com>
19648
19649         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19650         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19651         * gst/gstelement.c: (gst_element_commit_state),
19652         (gst_element_set_state):
19653         Protect flags with proper lock.
19654         unref provided cached clock in dispose.
19655
19656 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19657
19658         * gst/gst.c:
19659         * gst/gstminiobject.h:
19660         * gst/gstpad.h:
19661         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19662           removed unused flags from miniobject
19663           doc fixes
19664
19665 2005-10-12  Wim Taymans  <wim@fluendo.com>
19666
19667         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19668         (gst_file_sink_event), (gst_file_sink_render):
19669         Flush before seeking.
19670
19671 2005-10-12  Andy Wingo  <wingo@pobox.com>
19672
19673         * gst/gst.c (gst_init_check): Ignore unknown options, as has
19674         always been the case.
19675
19676 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19677
19678         * check/gst/gstbin.c: (GST_START_TEST):
19679         * docs/gst/gstreamer-sections.txt:
19680         * gst/base/gstbasesink.c: (gst_base_sink_init):
19681         * gst/base/gstbasesrc.c: (gst_base_src_init),
19682         (gst_base_src_get_range), (gst_base_src_check_get_range),
19683         (gst_base_src_start), (gst_base_src_stop):
19684         * gst/base/gstbasesrc.h:
19685         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19686         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19687         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19688         (bin_bus_handler):
19689         * gst/gstbin.h:
19690         * gst/gstbuffer.h:
19691         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19692         * gst/gstbus.h:
19693         * gst/gstelement.c: (gst_element_is_locked_state),
19694         (gst_element_set_locked_state), (gst_element_commit_state),
19695         (gst_element_set_state):
19696         * gst/gstelement.h:
19697         * gst/gstindex.c: (gst_index_init):
19698         * gst/gstindex.h:
19699         * gst/gstminiobject.h:
19700         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19701         (gst_object_set_parent):
19702         * gst/gstobject.h:
19703         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19704         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19705         * gst/gstpad.h:
19706         * gst/gstpadtemplate.h:
19707         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19708         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19709         * gst/gstpipeline.h:
19710         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19711         (gst_file_index_commit):
19712         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19713         * testsuite/pad/link.c: (gst_test_src_init),
19714         (gst_test_filter_init), (gst_test_sink_init):
19715         * testsuite/states/locked.c: (main):
19716           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19717           moved bitshift from macro to enum definition
19718
19719 2005-10-12  Wim Taymans  <wim@fluendo.com>
19720
19721         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19722         * gst/elements/gstfilesink.c: (gst_file_sink_event),
19723         (gst_file_sink_render):
19724         Some more debugging info.
19725
19726 2005-10-12  Wim Taymans  <wim@fluendo.com>
19727
19728         * docs/design/part-states.txt:
19729         * tools/gst-launch.c: (main):
19730         Some doc updates.
19731         Revert non-intentional change.
19732
19733 2005-10-12  Wim Taymans  <wim@fluendo.com>
19734
19735         * check/gst/gstbin.c: (GST_START_TEST):
19736         * check/gst/gstelement.c: (GST_START_TEST):
19737         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19738         * check/gst/gstghostpad.c: (GST_START_TEST):
19739         * check/gst/gstpipeline.c: (GST_START_TEST):
19740         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19741         * check/states/sinks.c: (GST_START_TEST):
19742         * gst/elements/gsttypefindelement.c: (stop_typefinding):
19743         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19744         (gst_bin_remove_func), (gst_bin_get_state_func),
19745         (gst_bin_recalc_state), (gst_bin_change_state_func),
19746         (bin_bus_handler):
19747         * gst/gstelement.c: (gst_element_get_state_func),
19748         (gst_element_get_state), (gst_element_abort_state),
19749         (gst_element_commit_state), (gst_element_set_state),
19750         (gst_element_change_state), (gst_element_change_state_func):
19751         * gst/gstelement.h:
19752         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19753         (gst_pipeline_provide_clock_func):
19754         * gst/gstutils.c: (gst_element_link_pads_filtered):
19755         * tools/gst-launch.c: (main):
19756         * tools/gst-typefind.c: (main):
19757         Use GstClockTime in _get_state() instead of GTimeVal.
19758         Remove old code in gstutils.c
19759
19760 2005-10-12  Andy Wingo  <wingo@pobox.com>
19761
19762         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19763         removed.
19764
19765         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19766         there is no task. Shouldn't affect any code, as nothing in our
19767         plugins checks this return value.
19768         (gst_pad_stop_task): Also take the stream lock if the pad has no
19769         task. Docs updated.
19770
19771 2005-10-12  Wim Taymans  <wim@fluendo.com>
19772
19773         * gst/gstpad.c: (pre_activate), (post_activate),
19774         (gst_pad_activate_pull), (gst_pad_activate_push):
19775         Cleanup activation code. Reset old state if
19776         activation failed.
19777
19778 2005-10-12  Wim Taymans  <wim@fluendo.com>
19779
19780         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19781         (gst_base_sink_change_state):
19782         No need to prerol after receiving EOS.
19783
19784         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19785         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19786         * gst/elements/gstidentity.c: (gst_identity_event):
19787         Print events more verbosely.
19788
19789 2005-10-12  Wim Taymans  <wim@fluendo.com>
19790
19791         * check/Makefile.am:
19792         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19793         * check/states/sinks2.c:
19794         Moved sinks2 testcode in sinks check.
19795
19796         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19797         (gst_bin_remove_func), (gst_bin_recalc_state),
19798         (gst_bin_change_state_func), (bin_bus_handler):
19799         Fix potential race condition when _get_state() iterated over an
19800         ASYNC element right before it posted a state completion.
19801
19802         * gst/gstclock.h:
19803         Do proper cast here.
19804
19805         * gst/gstevent.c: (gst_event_new_newsegment),
19806         (gst_event_parse_newsegment):
19807         A playback rate of 0.0 is not allowed.
19808
19809 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19810
19811         * win32/common/config.h:
19812         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19813         (_trewinddir), (_ttelldir), (_tseekdir):
19814         * win32/common/dirent.h:
19815         * win32/common/gtchar.h:
19816         * win32/common/libgstbase.def:
19817         * win32/common/libgstreamer.def:
19818         * win32/vs6/grammar.dsp:
19819         * win32/vs6/gst_inspect.dsp:
19820         * win32/vs6/gst_launch.dsp:
19821         * win32/vs6/gstreamer.dsw:
19822         * win32/vs6/libgstbase.dsp:
19823         * win32/vs6/libgstelements.dsp:
19824         * win32/vs6/libgstreamer.dsp:
19825           Visual Studio 6 project files, and a new common directory.
19826           Phear.
19827
19828 2005-10-11  Wim Taymans  <wim@fluendo.com>
19829
19830         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19831         (gst_base_sink_do_sync), (gst_base_sink_query),
19832         (gst_base_sink_change_state):
19833         * gst/base/gstbasesink.h:
19834         Correctly parse newsegment info.
19835
19836 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19837
19838         * gst/gst.c: (init_post):
19839           split plugin paths correctly
19840
19841 2005-10-11  Wim Taymans  <wim@fluendo.com>
19842
19843         * check/gst/gstevent.c: (GST_START_TEST):
19844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19845         (gst_base_sink_change_state):
19846         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19847         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19848         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19849         * gst/gstevent.c: (gst_event_new_newsegment),
19850         (gst_event_parse_newsegment):
19851         * gst/gstevent.h:
19852         Added extra flag to newsegment for future API freeze.
19853         Updated check and base elements.
19854
19855 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19856
19857         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19858         (gst_collectpads_add_pad), (gst_collectpads_pop),
19859         (gst_collectpads_event), (gst_collectpads_chain):
19860         * gst/base/gstcollectpads.h: Handle EOS correctly.
19861
19862 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19863
19864         * tools/gst-launch.c: (main):
19865           more null protecting
19866
19867 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19868
19869         * gst/gst-i18n-lib.h:
19870           check for ENABLE_NLS, not GETTEXT_PACKAGE
19871         * gst/gstregistry.c: (gst_registry_add_plugin),
19872         (gst_registry_scan_path_level),
19873         (_gst_registry_remove_cache_plugins):
19874           protect possibly NULL strings
19875         * gst/parse/types.h:
19876           config.h already included before
19877         * tools/gst-inspect.c: (main):
19878           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19879           check for ENABLE_NLS, not GETTEXT_PACKAGE
19880         * tools/gst-launch.c: (main):
19881           check for ENABLE_NLS, not GETTEXT_PACKAGE
19882
19883 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19884
19885         * configure.ac:
19886           if we don't have glib, fail before testing 2.8
19887         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19888           fix a leak, should fix plugins-base testsuite
19889
19890 2005-10-11  Andy Wingo  <wingo@pobox.com>
19891
19892         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19893         take the mode we're going to as an arg. Go head and set the mode
19894         and flushing flags now, so that if the activate function starts a
19895         thread all the flags will be in the right state.
19896         (post_activate): Renamed also. Just handle making sure streaming
19897         finishes for the deactivation case, and setting the deactivated
19898         mode.
19899         (gst_pad_set_active): Complain loudly if deactivation fails.
19900         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19901         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19902         remove the terrible hack.
19903
19904 2005-10-11  Wim Taymans  <wim@fluendo.com>
19905
19906         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19907         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19908         (gst_bin_recalc_state), (gst_bin_change_state_func),
19909         (gst_bin_dispose), (bin_bus_handler):
19910         * gst/gstbin.h:
19911         Prepare to make current EOS message queue more generic.
19912         Fix some typos.
19913
19914         * gst/gstevent.c: (gst_event_new_newsegment),
19915         (gst_event_parse_newsegment):
19916         * gst/gstevent.h:
19917         Rename base to stream_time.
19918
19919         * gst/gstmessage.h:
19920         Fix typo in docs.
19921
19922 2005-10-11  Wim Taymans  <wim@fluendo.com>
19923
19924         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19925         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19926         (gst_bin_change_state_func), (bin_bus_handler):
19927         * gst/gstbin.h:
19928         Work on proper clock selection.
19929
19930 2005-10-11  Edward Hervey  <edward@fluendo.com>
19931
19932         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19933         * libs/gst/controller/gstcontroller.h:
19934         Added GList* version of _remove_properties() in order to be able to wrap
19935         it in bindings.
19936
19937 2005-10-11  Wim Taymans  <wim@fluendo.com>
19938
19939         * docs/design/part-states.txt:
19940         Some more docs.
19941
19942         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19943         (gst_bin_change_state_func), (bin_bus_handler):
19944         Doc updates. Don't distribute the same clock over and over again.
19945
19946         * gst/gstclock.c:
19947         * gst/gstclock.h:
19948         Doc updates.
19949
19950         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19951         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19952         (gst_pad_send_event):
19953         * gst/gstpad.h:
19954         Make probe emission threadsafe again.
19955         Register quarks and move _get_name() from utils.
19956         Doc updates.
19957
19958         * gst/gstpipeline.c: (gst_pipeline_class_init),
19959         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19960         Only redistribute the clock of it changed.
19961
19962         * gst/gstsystemclock.h:
19963         Doc updates. 
19964
19965         * gst/gstutils.c:
19966         * gst/gstutils.h:
19967         Moved the _flow_get_name() to GstPad.
19968
19969 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19970
19971         * check/gst-libs/gdp.c: (GST_START_TEST):
19972         * check/gst/gstcaps.c: (GST_START_TEST):
19973         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19974         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19975         (gst_dp_packet_from_caps):
19976           fix more valgrind warnings before turning up the heat
19977
19978 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19979
19980         * gst/parse/grammar.y:
19981           some cleanup before the hacking
19982
19983 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19984
19985         * gst/base/gstbasesrc.c: (gst_base_src_query):
19986           use conversions
19987         * gst/gstutils.c: (gst_guint64_to_gdouble),
19988         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19989         * gst/gstutils.h:
19990           externalize, basesrc uses it
19991           obviously the implementation needs testing
19992
19993 2005-10-10  Wim Taymans  <wim@fluendo.com>
19994
19995         * tests/sched/Makefile.am:
19996         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19997         (make_pipeline3), (make_pipeline4), (print_elem), (main):
19998
19999 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20000
20001         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
20002           apparently converting from guint64 to double is not implemented
20003           on MSVC
20004
20005 2005-10-10  Wim Taymans  <wim@fluendo.com>
20006
20007         * check/Makefile.am:
20008         * check/generic/states.c: (GST_START_TEST):
20009         * check/gst/gstbin.c: (GST_START_TEST):
20010         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20011         * check/states/sinks.c: (GST_START_TEST):
20012         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
20013         (main):
20014         Check fixes, use API as stated in design docs, remove hacks.
20015
20016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20017         (gst_base_sink_change_state):
20018         Catch stopping our task while we're shutting down.
20019
20020         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
20021         (gst_bin_remove_func), (gst_bin_get_state_func),
20022         (gst_bin_recalc_state), (gst_bin_change_state_func),
20023         (bin_bus_handler):
20024         * gst/gstbin.h:
20025         * gst/gstelement.c: (gst_element_init),
20026         (gst_element_get_state_func), (gst_element_abort_state),
20027         (gst_element_commit_state), (gst_element_lost_state),
20028         (gst_element_set_state), (gst_element_change_state),
20029         (gst_element_change_state_func):
20030         * gst/gstelement.h:
20031         New state change algorithm (see #318116)
20032
20033         * gst/gstpipeline.c: (gst_pipeline_class_init),
20034         (gst_pipeline_init), (gst_pipeline_set_property),
20035         (gst_pipeline_get_property), (do_pipeline_seek),
20036         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20037         * gst/gstpipeline.h:
20038         Remove crude state change hacks.
20039
20040         * gst/gstutils.h:
20041         Remove crude hacks.
20042
20043         * tools/gst-launch.c: (main):
20044         Fixes for state change. Needs some more work to fully use the
20045         new stuff.
20046
20047 2005-10-10  Andy Wingo  <wingo@pobox.com>
20048
20049         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
20050
20051         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
20052         this flag, but it's not even in GLib 2.6. Odd. Hack around the
20053         issue.
20054
20055 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20056
20057         * gst/gstiterator.c: (gst_iterator_new):
20058           Fix my previous commit: GTypes passed to gst_iterator_new()
20059           can be fundamental types.
20060
20061 2005-10-10  Wim Taymans  <wim@fluendo.com>
20062
20063         * gst/gstelement.c: (gst_element_iterate_pad_list),
20064         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
20065         (gst_element_iterate_sink_pads):
20066         Use src/sink pads lists for the respective iterators instead
20067         of filtering.
20068
20069 2005-10-10  Andy Wingo  <wingo@pobox.com>
20070
20071         Merged in popt removal + GOption addition patch from Ronald, bug
20072         #169772.
20073
20074         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
20075         GstElement macros around, remove popt-related symbols, add goption
20076         stuff.
20077
20078         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
20079         
20080         * docs/gst/Makefile.am:
20081         * docs/libs/Makefile.am: No POPT_CFLAGS.
20082         
20083         * examples/manual/Makefile.am:
20084         * docs/manual/basics-init.xml: Doc updates with an example.
20085         
20086         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
20087         (gst_init), (parse_one_option), (parse_goption_arg):
20088         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
20089         bit of hand merging and debugging to get the GOption stuff working
20090         tho.
20091         
20092         * tests/Makefile.am:
20093         * tools/Makefile.am:
20094         * tools/gst-inspect.c: (main):
20095         * tools/gst-launch.c: (main):
20096         * tools/gst-run.c: (main):
20097         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
20098
20099 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20100
20101         * gst/gstiterator.c: (gst_iterator_new):
20102           Add assertions to make sure passed GType is likely to really
20103           be a GType (as the compiler won't catch it if the size and
20104           GType arguments get mixed up, see #318447).
20105
20106 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
20107
20108         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20109
20110         * gst/gstbin.c: (gst_bin_iterate_sorted):
20111           Pass GType and size arguments to gst_iterator_new() in the right
20112           order (maybe we should make _new() take the GType as first argument
20113           just like _new_list()?) (#318447).
20114           
20115
20116 2005-10-10  Wim Taymans  <wim@fluendo.com>
20117
20118         * gst/gstelement.c: (gst_element_finalize):
20119         And free the GStaticRecMutex too
20120
20121 2005-10-10  Andy Wingo  <wingo@pobox.com>
20122
20123         * gst/gstelement.c (gst_element_init, gst_element_finalize):
20124         Allocate and free the mutex properly.
20125
20126         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
20127         New macros.
20128         (GstElement): The state_lock is now recursive. Rebuild your
20129         plugins, suckers. Old macros adapted.
20130
20131         * docs/gst/gstreamer-sections.txt: Doc updates.
20132
20133         * gst/gstutils.h:
20134         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
20135         (g_static_rec_cond_wait): Ported from state changes patch, while
20136         we wait on bug #317802 to be solved in a well-distributed GLib.
20137
20138         * gst/gstelement.c (gst_element_change_state_func): Renamed from
20139         gst_element_change_state, variable name changes.
20140         (gst_element_change_state): Split out of gst_element_set_state in
20141         preparation for the state change merge. Doesn't pay attention to
20142         the 'transition' argument.
20143         (gst_element_set_state): Updates, hopefully purely cosmetic.
20144         (gst_element_sync_state_with_parent): MT-safety. Ported from the
20145         state change patch.
20146         (gst_element_get_state_func): Renamed from get_state, cosmetic
20147         changes.
20148
20149 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20150
20151         * gst/elements/gstelements.c:
20152         * win32/GStreamer.vcproj:
20153         * win32/config.h:
20154         * win32/dirent.c: (_tseekdir):
20155         * win32/gst-inspect.vcproj:
20156         * win32/gst-launch.vcproj:
20157         * win32/gstconfig.h:
20158         * win32/gstelements.vcproj:
20159         * win32/gstenumtypes.c: (gst_object_flags_get_type):
20160         * win32/gstreamer.def:
20161         * win32/msvc71.sln:
20162           updates for the win32 build (patch from Sebastien Moutte)
20163
20164 2005-10-10  Andy Wingo  <wingo@pobox.com>
20165
20166         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
20167         gst_bin_get_state, cleaned up (but no logic changes).
20168         (bin_element_is_sink): Comment updates.
20169         (sink_iterator_filter): Remove needless cast.
20170         (gst_bin_iterate_sinks): Doc update.
20171         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
20172         cleaned up (but no logic changes).
20173
20174         * check/states/sinks.c (test_src_sink): Cleanups from the state
20175         change patch.
20176         (test_livesrc_sink): Sync on the state.
20177
20178         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
20179         the state change patch.
20180
20181         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
20182         change patch.
20183
20184         * check/gst/gstbin.c: Merge in some style fixes and additional
20185         checks from Wim's state change patch.
20186
20187 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20188
20189         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20190         (gst_type_find_helper):
20191           Check whether we have the requested data already in our list of
20192           cached buffers before pulling a new buffer; also make the buffer
20193           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
20194
20195 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20196
20197         * gst/gstcaps.c:
20198         * gst/gstevent.c:
20199           doc updates
20200         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20201           don't use long long, it's not portable.  Replacing with
20202           gint64 seems to work; let's hope no skeletons fall out of the closet.
20203
20204 2005-10-10  Andy Wingo  <wingo@pobox.com>
20205
20206         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
20207
20208 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
20209
20210         * docs/gst/gstreamer-sections.txt:
20211         * gst/gstevent.c:
20212         * gst/gstevent.h:
20213         * gst/gstinfo.c:
20214         * gst/gstinfo.h:
20215         * gst/gstmessage.c: (gst_message_parse_state_changed):
20216         * gst/gstpad.c:
20217         * gst/gstpad.h:
20218           more docs, fix compilation
20219
20220 2005-10-09  Philippe Khalaf <burger@speedy.org>
20221         * gst/gstmessage.c:
20222           Fixed a few forgotten variables on previous commit
20223
20224 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
20225
20226         * gst/base/gsttypefindhelper.c: (helper_find_peek):
20227           Fix evil typefind crasher: getrange() might return a short
20228           buffer at the end of a file, but gst_type_find_peek() must
20229           either return the full data as requested or NULL, but
20230           never a short buffer.
20231
20232 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20233
20234         * gst/gstmessage.c: (gst_message_new_state_changed),
20235         (gst_message_parse_state_changed):
20236         * gst/gstmessage.h:
20237           don't use "new", it's a C++ keyword
20238
20239 2005-10-08  Wim Taymans  <wim@fluendo.com>
20240
20241         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20242         * gst/gstelement.c: (gst_element_post_message):
20243         * gst/gstpipeline.c: (gst_pipeline_change_state):
20244         Small docs and debug updates.
20245
20246 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20247
20248         * docs/gst/gstreamer-sections.txt:
20249         * gst/gstelementfactory.c:
20250         * gst/gstevent.c:
20251         * gst/gsttaglist.c:
20252           more docs
20253
20254 2005-10-08  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20257         (gst_bin_dispose), (bin_bus_handler):
20258         Fix typos, add comments.
20259         Clear EOS list when going to PAUSED from any direction and do it
20260         in a threadsafe way.
20261         Get base time in a threadsafe way too.
20262         Fix confusing debug in the change_state function.
20263         Various other small cleanups.
20264         
20265         * gst/gstelement.c: (gst_element_post_message):
20266         Fix very verbose bus posting code.
20267
20268         * gst/gstpipeline.c: (gst_pipeline_class_init),
20269         (gst_pipeline_set_property), (gst_pipeline_get_property),
20270         (gst_pipeline_change_state):
20271         Small ARG_ -> PROP_ cleanup
20272
20273 2005-10-08  Wim Taymans  <wim@fluendo.com>
20274
20275         * gst/gstbin.c: (is_eos), (bin_bus_handler):
20276         Do a less CPU demanding EOS check because we can.
20277
20278 2005-10-08  Wim Taymans  <wim@fluendo.com>
20279
20280         * libs/gst/dataprotocol/dataprotocol.c:
20281         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20282         (gst_dp_packet_from_event):
20283         * libs/gst/dataprotocol/dataprotocol.h:
20284         * libs/gst/dataprotocol/dp-private.h:
20285         It's about time we bump the version number.
20286         Since event types don't fit in the guint8 anymore describing
20287         the payload type, make payload type 16 bits wide.
20288
20289 2005-10-08  Wim Taymans  <wim@fluendo.com>
20290
20291         * docs/design/part-TODO.txt:
20292         * docs/design/part-clocks.txt:
20293         * docs/design/part-events.txt:
20294         * docs/design/part-gstbin.txt:
20295         * docs/design/part-gstelement.txt:
20296         * docs/design/part-gstpipeline.txt:
20297         * docs/design/part-live-source.txt:
20298         * docs/design/part-messages.txt:
20299         * docs/design/part-overview.txt:
20300         * docs/design/part-states.txt:
20301         Many doc updates.
20302
20303 2005-10-08  Wim Taymans  <wim@fluendo.com>
20304
20305         * gst/gstevent.c:
20306         * gst/gstevent.h:
20307         Fix event quark registration.
20308         Add some space between events so we can insert them in the
20309         right groups.
20310
20311 2005-10-08  Wim Taymans  <wim@fluendo.com>
20312
20313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20314         (gst_base_sink_handle_buffer):
20315         Better log message.
20316
20317         * gst/gstbus.h:
20318         * gst/gstelement.h:
20319         More docs.
20320
20321         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20322         (gst_queue_set_property), (gst_queue_get_property):
20323         * gst/gstqueue.h:
20324         Remove old unused properties.
20325
20326 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20327         * docs/gst/gstreamer-sections.txt:
20328         * gst/gstmessage.c:
20329         * gst/gstmessage.h:
20330         * gst/gstminiobject.c:
20331         * gst/gstminiobject.h:
20332         * gst/gstobject.h:
20333         * gst/gstpad.h:
20334         * gst/gstutils.h:
20335           lots of new docs and doc fixes
20336
20337 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20338
20339         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20340         * gst/gstplugin.h:
20341         * gst/gstregistry.c: (gst_registry_lookup_locked),
20342         (gst_registry_scan_path_level):
20343         * gst/gstregistryxml.c: (load_plugin):
20344           Only ever load one plugin for a given plugin basename.
20345           This ensures correct overriding of GST_PLUGIN_PATH over
20346           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20347           system installed plugins.
20348
20349 2005-10-08  Wim Taymans  <wim@fluendo.com>
20350
20351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20352         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20353         Prepare for doing QOS.
20354
20355 2005-10-08  Wim Taymans  <wim@fluendo.com>
20356
20357         * check/gst/gstbin.c: (GST_START_TEST):
20358         * check/pipelines/cleanup.c: (GST_START_TEST):
20359         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20360         Allow new clock message too.
20361
20362 2005-10-08  Wim Taymans  <wim@fluendo.com>
20363
20364         * gst/gstmessage.c: (gst_message_new_error),
20365         (gst_message_new_warning), (gst_message_new_tag),
20366         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20367         (gst_message_new_clock_lost), (gst_message_new_new_clock),
20368         (gst_message_new_segment_start), (gst_message_new_segment_done),
20369         (gst_message_parse_state_changed),
20370         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20371         (gst_message_parse_new_clock):
20372         * gst/gstmessage.h:
20373         Also carry the clock in question.
20374
20375 2005-10-08  Wim Taymans  <wim@fluendo.com>
20376
20377         * gst/gstmessage.c: (gst_message_new_custom),
20378         (gst_message_new_eos), (gst_message_new_error),
20379         (gst_message_new_warning), (gst_message_new_tag),
20380         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20381         (gst_message_new_new_clock), (gst_message_new_segment_start),
20382         (gst_message_new_segment_done), (gst_message_parse_state_changed),
20383         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20384         * gst/gstmessage.h:
20385         Clean up.
20386         Added clock related messages.
20387
20388         * gst/gstpipeline.c: (gst_pipeline_change_state):
20389         Post message when the clock changed.
20390
20391         * tools/gst-launch.c: (event_loop):
20392         Print new clock.
20393
20394 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
20395
20396         * tools/gst-inspect.c: (print_element_properties_info):
20397           Can't pass NULL strings to g_print() on windows.
20398
20399 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20400
20401         * docs/Makefile.am:
20402         * docs/gst/Makefile.am:
20403         * docs/gst/gstreamer-docs.sgml:
20404         * docs/gst/running.xml:
20405         * docs/version.entities.in:
20406           add a chapter on running GStreamer.
20407           document GST_DEBUG and GST_PLUGIN* env vars
20408
20409 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20410
20411         * Makefile.am:
20412           remove include dir
20413         * configure.ac:
20414           remove PLUGINS_BUILDDIR stuff
20415         * gst/gst.c: (init_post):
20416           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20417         * idiottest.mak:
20418           remove, it was condescending and not needed
20419
20420 2005-10-08  Wim Taymans  <wim@fluendo.com>
20421
20422         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20423         (gst_base_sink_handle_object), (gst_base_sink_event),
20424         (gst_base_sink_wait), (gst_base_sink_handle_event),
20425         (gst_base_sink_change_state):
20426         * gst/base/gstbasesink.h:
20427         Repost EOS message while going to PLAYING if still EOS.
20428         Make sure that when receiving a FLUSH_START we don't attempt
20429         to sync on the clock anymore.
20430
20431 2005-10-08  Wim Taymans  <wim@fluendo.com>
20432
20433         * tools/gst-launch.c: (event_loop):
20434         Better message printout.
20435
20436 2005-10-08  Wim Taymans  <wim@fluendo.com>
20437
20438         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20439         (gst_bin_child_proxy_get_children_count):
20440         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20441         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20442         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20443         (gst_child_proxy_set_valist):
20444         * gst/parse/grammar.y:
20445         Make ChildProxy threadsafe and fix mem leaks.
20446
20447 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20448
20449         * gst/gst.c: (init_post):
20450           debug the GST_PLUGIN_ env vars
20451
20452 2005-10-08  Wim Taymans  <wim@fluendo.com>
20453
20454         * check/gst/gstbin.c: (GST_START_TEST):
20455         * check/gst/gstmessage.c: (GST_START_TEST):
20456         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20457         * gst/gstelement.c: (gst_element_commit_state),
20458         (gst_element_lost_state):
20459         * gst/gstmessage.c: (gst_message_new_state_changed),
20460         (gst_message_parse_state_changed):
20461         * gst/gstmessage.h:
20462         * tools/gst-launch.c: (event_loop):
20463         Added extra field to STATE_CHANGE message with the pending
20464         state, which will be different from the new state soon.
20465
20466 2005-10-08  Wim Taymans  <wim@fluendo.com>
20467
20468         * gst/gstbus.c: (gst_bus_pop):
20469         * gst/gstclock.c:
20470         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20471         Small cleanups and doc updates.
20472
20473 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20474
20475         * gst/gst.c: (init_pre):
20476         * gst/gstbin.c: (gst_bin_add_func):
20477           log distributing clocks and base time
20478         * gst/gstregistry.c: (gst_registry_add_plugin),
20479         (gst_registry_scan_path_level), (gst_registry_scan_path):
20480           clean up the debugging output a little
20481         * gst/gstutils.c: (gst_element_state_get_name):
20482           warn about a memleak (I've actually seen this be used, though
20483           it was probably a bug)
20484
20485 2005-10-07  Wim Taymans  <wim@fluendo.com>
20486
20487         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20488         (gst_base_src_init), (gst_base_src_default_newsegment),
20489         (gst_base_src_newsegment), (gst_base_src_do_seek),
20490         (gst_base_src_loop), (gst_base_src_start):
20491         * gst/base/gstbasesrc.h:
20492         Make the newsegment event customizable by subclasses.
20493
20494 2005-10-07  Wim Taymans  <wim@fluendo.com>
20495
20496         * gst/gstevent.c: (gst_event_new_buffersize),
20497         (gst_event_parse_buffersize):
20498         * gst/gstevent.h:
20499         New event for future idea.
20500
20501 2005-10-07  Andy Wingo  <wingo@pobox.com>
20502
20503         * gst/gstelement.c (gst_element_post_message): Doc update.
20504
20505         * docs/gst/gstreamer-sections.txt: Update.
20506
20507         * gst/gstmessage.c (gst_message_new_application): Made into a
20508         function like honest API calls.
20509         (gst_message_new_element): New message type.
20510
20511         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20512
20513         * check/elements/fakesrc.c (test_no_preroll): New check, checks
20514         that setting a live fakesrc to PAUSED returns NO_PREROLL both
20515         times.
20516
20517         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20518         NO_PREROLL from gst_element_change_state to fall through.
20519
20520 2005-10-07  Wim Taymans  <wim@fluendo.com>
20521
20522         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20523         (gst_ghost_pad_do_activate_push):
20524         Activating a ghostpad with no internal pad in push mode
20525         is ok.
20526
20527 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20528
20529         * gst/gstobject.h:
20530           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20531           Fixes compilation on Windows.
20532
20533 2005-10-07  Michael Smith <msmith@fluendo.com>
20534
20535         * tools/gst-inspect.c:
20536           Print out feature and plugin count at the end when printing out
20537           all features.
20538
20539 2005-10-04  Michael Smith <msmith@fluendo.com>
20540
20541         * gst/gsterror.c: (_gst_stream_errors_init):
20542           Add another error string used in a few existing plugins.
20543
20544         * gst/gstplugin.c:
20545         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20546         * tools/gst-inspect.c: (print_element_info):
20547           When a feature disappears from a plugin (and the feature exists in
20548           the cached registry file), things went horribly wrong. This isn't a
20549           complete fix, we should actually be removing the 'missing' features
20550           from the features list when we load the actual plugin. That's not
20551           yet implemented. 
20552
20553 2005-10-04  Johan Dahlin  <johan@gnome.org>
20554
20555         * check/gst/gstiterator.c: (GST_START_TEST):
20556         * gst/gstbin.c: (gst_bin_iterate_elements),
20557         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20558         * gst/gstelement.c: (gst_element_iterate_pads):
20559         * gst/gstformat.c: (gst_format_iterate_definitions):
20560         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20561         (gst_iterator_new_list), (gst_iterator_filter):
20562         * gst/gstiterator.h:
20563         * gst/gstquery.c: (gst_query_type_iterate_definitions):
20564         Add a GType to GstIterator, update callsites and tests.
20565
20566 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20567
20568         * gst/gstpad.c: (gst_pad_event_default_dispatch):
20569           give events a chance to be handled by event probes when the pad
20570           is not linked
20571
20572 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20573
20574         * gst/gstevent.c: (gst_event_type_get_name),
20575         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20576         * gst/gstevent.h:
20577           add string representations for event types
20578
20579 2005-10-06  Wim Taymans  <wim@fluendo.com>
20580
20581         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20582         Don't use NULL pointers.
20583
20584 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20585
20586         * gst/gst_private.h:
20587         * gst/gstbus.c:
20588         * gst/gstelement.c:
20589         * gst/gstinfo.c:
20590         * gst/gstpluginfeature.c:
20591           widen the debug category in output to fit the biggest one we have
20592           add a bus category and use it
20593           play with the colors
20594           fix up some categories
20595
20596 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20597
20598         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20599           add push activation of sink ghost pads.
20600           Andye, please verify
20601
20602 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20603
20604         * gst/gstutils.c: (gst_element_link_pads):
20605           fix a bug in the case where neither element has a pad
20606         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20607           add a test for that case
20608
20609 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20610
20611         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20612           emit have-data before checking for peers.  This allows
20613           for probe handlers to connect elements.  This helps autopluggers.
20614         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20615         (gst_pad_suite):
20616           add six checks, linked/unlinked with no/true/false probe
20617
20618 2005-10-04  Wim Taymans  <wim@fluendo.com>
20619
20620         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20621         (gst_fake_sink_event), (gst_fake_sink_preroll),
20622         (gst_fake_sink_render), (gst_fake_sink_change_state):
20623         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20624         (gst_fake_src_get_property), (gst_fake_src_create),
20625         (gst_fake_src_stop):
20626         * gst/elements/gstidentity.c: (gst_identity_stop):
20627         Protect last_message with lock.
20628
20629 2005-10-04  Edward Hervey  <edward@fluendo.com>
20630
20631         * gst/gstformat.h: 
20632         Added precision in the comments for GST_FORMAT_DEFAULT
20633
20634 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
20635
20636         * tools/gst-launch.c: (main):
20637           Don't try to run erroneous pipelines.
20638
20639 2005-10-04  Julien MOUTTE  <julien@moutte.net>
20640
20641         * gst/gstbus.c: We don't need this header.
20642
20643 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20644
20645         * configure.ac:
20646           back to development
20647
20648 === release 0.9.3 ===
20649
20650 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20651
20652         * README:
20653         * configure.ac:
20654           Releasing 0.9.3, "Unregistered"
20655
20656 2005-10-03  Andy Wingo  <wingo@pobox.com>
20657
20658         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20659         whereby calling a pad's activatepush() function can start a thread
20660         that starts to push or pull before the pad gets the FLUSHING flag
20661         unset. Hack around it by holding the stream lock until the flag is
20662         set. Need to replace this with a proper solution. Together with
20663         the ghost pad fixes, this fixes mp3 playing/tagreading.
20664
20665         * docs/design/part-gstghostpad.txt: Add a note about activation of
20666         proxy pads outside of ghost pads.
20667
20668         * gst/gstghostpad.c: Implement the ghost pad activation design.
20669
20670 2005-10-02  Andy Wingo  <wingo@pobox.com>
20671
20672         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20673         It is volatile, after all.
20674
20675         * docs/design/part-gstghostpad.txt: Flesh out activation with
20676         ghost pads.
20677
20678         * gst/base/gstbasesrc.c (gst_base_src_init): Use
20679         GST_DEBUG_FUNCPTR.
20680
20681 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
20682
20683         * configure.ac:
20684           Fix (unused) AM_CONDITIONAL tests.
20685
20686 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
20687
20688         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20689
20690         * gst/gstutils.c: (gst_pad_query_convert):
20691           Add assertion that makes sure src_val is >=0, just like
20692           gst_query_new_convert() has. (#315895)
20693
20694 2005-09-30  Edward Hervey  <edward@fluendo.com>
20695
20696         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20697         Let's not iterate pads we're not interested in, it avoids getting 
20698         sky-high refcounts on sinkpad.
20699
20700 2005-09-30  Wim Taymans  <wim@fluendo.com>
20701
20702         * gst/gstelement.c: (gst_element_set_state),
20703         (gst_element_change_state):
20704         Small tweak, element in ASYNC remains ASYNC.
20705
20706 2005-09-30  Wim Taymans  <wim@fluendo.com>
20707
20708         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20709         Only error is an error.
20710
20711         * gst/gstbin.c: (gst_bin_change_state):
20712         Better debugging.
20713
20714         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20715         Also call pad_block in pad alloc.
20716
20717         * gst/gstutils.c: (gst_flow_get_name):
20718         Better debugging.
20719
20720 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20721
20722         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20723         (gst_base_src_get_range):
20724           Fix documentation typos. Add some more debug info.
20725
20726 2005-09-29  David Schleef  <ds@schleef.org>
20727
20728         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20729           more end-user friendly.
20730         * tools/gst-inspect.c: (main): Check if command-line argument is
20731           a file and attempt to load that file as a plugin.
20732
20733 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20734
20735         * check/gst/gstbin.c:
20736         * check/states/sinks.c:
20737           fix tests for the new warning
20738         * check/gst/gstpipeline.c:
20739           add a test for pipeline and bus interaction
20740         * gst/gstelement.c:
20741           elements should be NULL if they get disposed; add a warning if not
20742
20743 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20744
20745         * gst/gstobject.c:
20746           for 2.6 refcounting, make debug log more correct by printing
20747           the actual refcounts at the time of swap (Wim)
20748
20749 2005-09-29  Andy Wingo  <wingo@pobox.com>
20750
20751         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20752         removes signal watches previously added via
20753         gst_bus_add_signal_watch.
20754         (gst_bus_add_signal_watch): Don't return the source id, just store
20755         it on the bus if there wasn't an id already.
20756
20757         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20758         add_signal_watch and remove_signal_watch.
20759
20760 2005-09-29  Edward Hervey  <edward@fluendo.com>
20761
20762         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
20763         Better if we actually iterate the list :)
20764
20765 2005-09-29  Wim Taymans  <wim@fluendo.com>
20766
20767         * check/gst/gstbin.c: (GST_START_TEST):
20768         Change for new bus API.
20769
20770         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20771         (send_messages), (GST_START_TEST), (gstbus_suite):
20772         Change for new bus signal API.
20773
20774         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20775         (gst_bus_source_prepare), (gst_bus_source_check),
20776         (gst_bus_create_watch), (gst_bus_add_watch_full),
20777         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20778         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20779         * gst/gstbus.h:
20780         Remove support for multiple GSources operating on different
20781         message types as it is too complex and unneeded when using
20782         signals.
20783         Added support for receiving signals from the bus.
20784
20785 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20786
20787         * docs/libs/tmpl/gstdataprotocol.sgml:
20788         * docs/manual/advanced-dataaccess.xml:
20789         * gst/elements/gstcapsfilter.c:
20790         * gst/gstutils.c:
20791           rename filter-caps to caps property
20792
20793 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20794
20795         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20796           More robust fraction string parsing.
20797
20798         * docs/pwg/appendix-porting.xml:
20799           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20800
20801 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20802
20803         * gst/gstcaps.c: (gst_caps_do_simplify):
20804           Thou shalt not free a structure and then continue using it
20805           in the next loop iteration.
20806
20807         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20808         (gst_caps_suite):
20809           Add test case for caps simplification.
20810
20811 2005-09-29  Wim Taymans  <wim@fluendo.com>
20812
20813         * check/gst/gstbin.c: (GST_START_TEST):
20814         Oops.
20815
20816 2005-09-29  Wim Taymans  <wim@fluendo.com>
20817
20818         * check/gst/gstbin.c: (GST_START_TEST):
20819         Add bus to bin.
20820
20821         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20822         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20823         (find_element), (gst_bin_sort_iterator_next),
20824         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20825         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20826         (gst_bin_change_state), (gst_bin_dispose):
20827         A bin does not have a bus, it gets the bus from the parent.
20828
20829         * gst/gstelement.c: (gst_element_requires_clock),
20830         (gst_element_provides_clock), (gst_element_is_indexable),
20831         (gst_element_is_locked_state), (gst_element_change_state),
20832         (gst_element_set_bus_func):
20833         Small cleanups.
20834
20835         * gst/gstpipeline.c: (gst_pipeline_class_init),
20836         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20837         The pipeline provides a bus.
20838
20839 2005-09-28  Johan Dahlin  <johan@gnome.org>
20840
20841         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20842         gst_structure_get_enum instead of gst_structure_get_int
20843
20844         * gst/gststructure.c (gst_structure_get_enum): Impl.
20845
20846         * gst/gststructure.h (gst_structure_get_enum): Add
20847
20848         * docs/gst/gstreamer-sections.txt: Ditto
20849
20850         * gst/gstmessage.c (gst_message_new_state_changed): Use
20851         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20852         which does introspection.
20853         Reviewed by Christian Schaller
20854
20855 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20856
20857         * gst/gstinfo.c: (gst_debug_log_default):
20858           don't do dummy g_strdup()s
20859         * libs/gst/controller/gstcontroller.c:
20860         (on_object_controlled_property_changed),
20861         (gst_controlled_property_new), (gst_controller_new_valist),
20862         (gst_controller_new_list),
20863         (gst_controller_remove_properties_valist), (gst_controller_set),
20864         (gst_controller_get), (gst_controller_sync_values),
20865         (gst_controller_get_value_array), (_gst_controller_class_init),
20866         (gst_controller_get_type):
20867         * libs/gst/controller/gstcontroller.h:
20868         * libs/gst/controller/gstinterpolation.c:
20869         (gst_controlled_property_find_timed_value_node):
20870           convert // to /**/ comments
20871
20872 2005-09-28  Wim Taymans  <wim@fluendo.com>
20873
20874         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20875         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20876         (gst_bus_sync_signal_handler):
20877         * gst/gstbus.h:
20878         Added async-message and sync-message signals to the bus.
20879         Added helper BusFunc to emit signals for all posted messages.
20880
20881         * gst/gstmessage.c: (gst_message_type_get_name),
20882         (gst_message_type_to_quark), (gst_message_get_type):
20883         * gst/gstmessage.h:
20884         Register quarks for message names.
20885
20886 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20887
20888         * docs/libs/gstreamer-libs-sections.txt:
20889         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20890         (gst_controller_new_list):
20891         * libs/gst/controller/gstcontroller.h:
20892           added another constructor for language bindings
20893
20894 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20895
20896         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20897           add another check
20898         * gst/gstbus.c:
20899           add some doc
20900         * gst/gstinfo.c: (_gst_debug_init):
20901           slightly more readable color for refcount debugging
20902
20903 2005-09-28  Wim Taymans  <wim@fluendo.com>
20904
20905         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20906         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20907         (find_element), (gst_bin_sort_iterator_next),
20908         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20909         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20910         (gst_bin_change_state), (gst_bin_dispose):
20911         Small doc fixes. get_clock -> provide_clock.
20912
20913         * gst/gstelement.c: (gst_element_class_init),
20914         (gst_element_provides_clock), (gst_element_provide_clock),
20915         (gst_element_get_clock), (gst_element_commit_state),
20916         (gst_element_lost_state):
20917         * gst/gstelement.h:
20918         Make get/set_clock() symetric. Add provide_clock vmethod since
20919         that is actually what this function does.
20920
20921         * gst/gstpipeline.c: (gst_pipeline_class_init),
20922         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20923         (gst_pipeline_get_clock):
20924         get_clock -> provide_clock.
20925
20926 2005-09-28  Andy Wingo  <wingo@pobox.com>
20927
20928         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20929         lieu of real docs...
20930
20931         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20932
20933 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20934
20935         * gst/elements/gstcapsfilter.c:
20936         * gst/elements/gstfakesink.c:
20937         * gst/elements/gstfakesrc.c:
20938         * gst/elements/gstfdsink.c:
20939         * gst/elements/gstfdsrc.c:
20940         * gst/elements/gstfilesink.c:
20941         * gst/elements/gstfilesrc.c:
20942         * gst/elements/gstidentity.c:
20943         * gst/elements/gsttee.c:
20944         * gst/elements/gsttypefindelement.c:
20945           Make element details static.
20946
20947 2005-09-28  Wim Taymans  <wim@fluendo.com>
20948
20949         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20950         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20951         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20952         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20953         (gst_bin_change_state), (gst_bin_dispose):
20954         Some documentation updates.
20955         Clean up dispose handlers.
20956
20957         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20958         * gst/gstpad.c: (gst_pad_dispose):
20959         Clean up dispose handler.
20960
20961         * gst/gstpipeline.c: (gst_pipeline_change_state):
20962         Removed spurious UNLOCK.
20963
20964 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20965
20966         * docs/gst/gstreamer-sections.txt:
20967         * gst/base/gstbasesrc.h:
20968         * gst/gstelement.h:
20969         * gst/gstevent.h:
20970         * gst/gstobject.h:
20971         * gst/gstpad.h:
20972         * gst/gstpipeline.c:
20973         * gst/gstpipeline.h:
20974         * gst/gstutils.h:
20975         * gst/gstxml.h:
20976           added two new functions to the docs
20977                 documents all undocumented GstXXXFlags
20978                 completed some incomplete docs 
20979
20980 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20981
20982         * gst/gstbin.c: (gst_bin_dispose):
20983         * gst/gstelement.c: (gst_element_dispose):
20984           remove now useless and leaky resurrection code in dispose
20985         * gst/base/gstbasesrc.c: (gst_base_src_init):
20986         * gst/gstelementfactory.c: (gst_element_factory_create):
20987         * gst/gstobject.c: (gst_object_set_parent):
20988           add some debugging
20989
20990 2005-09-27  Wim Taymans  <wim@fluendo.com>
20991
20992         * docs/design/part-TODO.txt:
20993         Update TODO.
20994
20995         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20996         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20997         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20998         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20999         (gst_bin_change_state):
21000         * gst/gstelement.h:
21001         Remove element variable, we keep element info in the iterator now.
21002
21003 2005-09-27  Andy Wingo  <wingo@pobox.com>
21004
21005         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
21006         values.
21007
21008 2005-09-27  Wim Taymans  <wim@fluendo.com>
21009
21010         * check/gst/gstbin.c: (GST_START_TEST):
21011         Enable check that works now.
21012
21013         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21014         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21015         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21016         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21017         (gst_bin_change_state):
21018         * gst/gstbin.h:
21019         Redid the state change algorithm using a topological sort algo.
21020         Handles all cases correctly.
21021         Exposed iterator for state change order.
21022
21023         * gst/gstelement.h:
21024         Temp storage for state changes. Need to get rid of this soon.
21025
21026 2005-09-27  Wim Taymans  <wim@fluendo.com>
21027
21028         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
21029         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
21030         (link_fold_func), (gst_pad_proxy_setcaps):
21031         Leak fixes, the fold functions need to unref the passed object and
21032         _get_parent_*() returns ref to parent.
21033
21034 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21035
21036         * check/gst/gstbuffer.c: (test_make_writable):
21037           Plug leak in test case and fix 'make check-valgrind'
21038
21039 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21040
21041         * gst/gstbuffer.c: (gst_subbuffer_init):
21042           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
21043           works correctly in all circumstances (we could have just copied
21044           the parent buffer's readonly flag, but conceptually it seems
21045           cleaner to mark all subbuffers as read-only). (based on patch
21046           by Alessandro Decina, #314710).
21047         
21048         * check/gst/gstbuffer.c: (create_read_only_buffer),
21049         (test_make_writable), (test_subbuffer_make_writable),
21050         (gst_test_suite):
21051           Add some tests for gst_buffer_make_writable().
21052
21053 2005-09-27  Wim Taymans  <wim@fluendo.com>
21054
21055         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
21056         use gst_object_has_ancestor().
21057
21058         * gst/gstobject.c: (gst_object_has_ancestor):
21059         * gst/gstobject.h:
21060         gst_object_has_ancestor() copied from gstbin.c as it is a
21061         useful function.
21062
21063         * tests/instantiate/create.c: (create_all_elements):
21064         * tests/lat.c: (handoff_src), (handoff_sink):
21065         * tests/sched/runxml.c: (main):
21066         * tests/seeking/seeking1.c: (main):
21067         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21068         (main):
21069         Fix compilation of some tests.
21070
21071 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21072
21073         * gst/gsterror.h:
21074           Remove comment. GST_TYPE_G_ERROR is here to stay,
21075           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
21076           (#316961, #300610).
21077
21078 2005-09-26  Wim Taymans  <wim@fluendo.com>
21079
21080         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21081         Added check that shows error in state change order.
21082
21083 2005-09-26  Wim Taymans  <wim@fluendo.com>
21084
21085         * gst/gstbin.c: (gst_bin_change_state):
21086         Make state change function use 3 queues again, we were
21087         adding elements in the wrong order.
21088
21089         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
21090         Some debug info,
21091
21092         * gst/gstpad.c: (gst_pad_dispose):
21093         Added some debug info first.
21094
21095 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
21096
21097         * docs/design/draft-push-pull.txt:
21098         * docs/design/part-events.txt:
21099         * docs/design/part-overview.txt:
21100         * docs/design/part-scheduling.txt:
21101           Replace all _pull_region() with _pull_range()
21102           
21103 2005-09-26  Andy Wingo  <wingo@pobox.com>
21104
21105         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
21106
21107         * check/gst-libs/controller.c: Update for controller api change.
21108
21109         * configure.ac: 
21110         * tests/Makefile.am:
21111         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
21112         over by GLib bug 118439.
21113         
21114         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
21115         routines to a function.
21116
21117         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
21118
21119         * libs/gst/controller/gsthelper.c:
21120         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
21121         (gst_object_sync_values): Renamed from sink_values. Ugh.
21122
21123         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
21124
21125         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
21126         Renamed from controller_key, as it is exported.
21127
21128         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
21129
21130 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21131
21132         * gst/Makefile.am:
21133         * gst/gst.h:
21134         * gst/gstpad.h:
21135         * gst/gstpadtemplate.h:
21136         * gst/gstquery.c:
21137         * gst/gstquery.h:
21138         * gst/gstqueryutils.c:
21139         * gst/gstqueryutils.h:
21140           remove queryutils headers after moving the two used functions
21141           to gstquery.  also fixes build problem for gstsiddec
21142
21143 2005-09-26  Michael Smith <msmith@fluendo.com>
21144
21145         * tools/gst-launch.1.in:
21146         Correct documentation in manpage of debug syntax
21147
21148 2005-09-26  Wim Taymans  <wim@fluendo.com>
21149
21150         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21151         (gst_base_src_is_seekable), (gst_base_src_change_state):
21152         Some more debugging info.
21153
21154 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21155
21156         * docs/gst/gstreamer-sections.txt:
21157         * gst/base/gstbasetransform.h:
21158         * gst/gstindex.h:
21159           added more docs
21160
21161 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21162
21163         * docs/gst/.cvsignore:
21164         * docs/gst/tmpl/.cvsignore:
21165         * docs/gst/tmpl/gstpipeline.sgml:
21166         * docs/gst/tmpl/gstplugin.sgml:
21167         * gst/gstpipeline.c:
21168         * gst/gstplugin.c:
21169         * gst/gstplugin.h:
21170           inlined the last two docs files
21171           removed the tmpl directory from cvs (no more conflicts here!)
21172
21173 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21174
21175         * docs/gst/gstreamer-sections.txt:
21176         * docs/gst/tmpl/.cvsignore:
21177         * docs/gst/tmpl/gstpad.sgml:
21178         * docs/gst/tmpl/gstpadtemplate.sgml:
21179         * gst/Makefile.am:
21180         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
21181         (gst_pad_finalize), (gst_pad_set_pad_template):
21182         * gst/gstpad.h:
21183         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
21184         (gst_pad_template_class_init), (gst_pad_template_init),
21185         (gst_pad_template_dispose), (name_is_valid),
21186         (gst_static_pad_template_get), (gst_pad_template_new),
21187         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
21188         (gst_pad_template_pad_created):
21189         * gst/gstpadtemplate.h:
21190           inlined two more docs
21191           factored gstpadtemplate out of gstpad
21192
21193 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
21194
21195         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21196         (test_children_state_change_order_semi_sink):
21197           Fix test case: we can't rely on a fixed state change order when
21198           going from READY => PAUSED because the sink might commit its 
21199           new state first when the first buffer created by the source 
21200           reaches the sink before the source has finished its change state.
21201           (Test case still fails at times, see #316856, comment 5 onwards)
21202
21203 2005-09-24  Wim Taymans  <wim@fluendo.com>
21204
21205         * docs/design/part-events.txt:
21206         * docs/design/part-gstbus.txt:
21207         * docs/design/part-gstpipeline.txt:
21208         * docs/design/part-messages.txt:
21209         * docs/design/part-overview.txt:
21210         * docs/design/part-segments.txt:
21211         * gst/gstbin.c:
21212         * gst/gstbuffer.c:
21213         * gst/gstclock.c:
21214         * gst/gstelement.c:
21215         * gst/gstevent.c:
21216         * gst/gstfilter.c:
21217         * gst/gstiterator.c:
21218         Various documentation updates.
21219
21220 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21221
21222         * gst/gstclock.h:
21223           Well, that's embarassing.  Luckily we weren't using
21224           GST_CLOCK_DIFF anywhere.
21225
21226 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21227
21228         * common/gtk-doc.mak:
21229           don't fail on building XML, FC4 slave shows a bunch of doc
21230           missing bits that I don't get
21231         * gst/gstpad.c:
21232         * gst/gstpipeline.c:
21233         * gst/gststructure.c:
21234           some doc updates
21235
21236 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21237
21238         * docs/design/part-gstbin.txt:
21239         * docs/design/part-gstbus.txt:
21240         * gst/gstbus.c:
21241           Add blurb about how the bus goes into flushing mode and
21242           drops all messages when its bin goes from READY into NULL 
21243           state.
21244
21245 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21246
21247         * docs/gst/gstreamer-sections.txt:
21248         * gst/gststructure.c: (gst_structure_get_clock_time):
21249         * gst/gststructure.h:
21250           add a method to get a GstClockTime out of a structure
21251
21252 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21253
21254         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21255         (test_children_state_change_order_semi_sink), (gst_bin_suite):
21256           Added test to check state change order in bins (can still be made
21257           to fail here under heavy disk load; bails out with 'Push on pad
21258           fakesink:sink0, but it was not activated in push mode').
21259
21260         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21261           Fix state change order when there is only a semi sink (#316856)
21262
21263         * gst/gstbus.c: (gst_bus_class_init):
21264           Use _class_peek_parent(), not _class_ref(); fix docs to say
21265           'default main context' instead of 'mainloop' where that is
21266           what's meant.
21267
21268         * gst/gstelement.c: (gst_element_commit_state),
21269         (gst_element_set_state):
21270           Fix typos in debug messages
21271
21272 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21273
21274         * docs/README:
21275         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21276         * gst/gstpluginfeature.c:
21277         * gst/gstutils.c:
21278           various doc updates
21279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21280           change an assert into an error until it gets fixed properly
21281
21282 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
21283
21284         * docs/gst/gstreamer-sections.txt:
21285         * docs/gst/tmpl/.cvsignore:
21286         * docs/gst/tmpl/gstelement.sgml:
21287         * docs/gst/tmpl/gstinfo.sgml:
21288         * docs/gst/tmpl/gstobject.sgml:
21289         * gst/gstelement.c:
21290         * gst/gstelement.h:
21291         * gst/gstinfo.c:
21292         * gst/gstinfo.h:
21293         * gst/gstobject.c: (gst_object_class_init):
21294         * gst/gstobject.h:
21295           inlined 3 more biiiig doc files and added some missing docs on the fly
21296
21297 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21298
21299         * check/gst/.cvsignore:
21300         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21301         * gst/gstregistryxml.c: (load_plugin),
21302         (gst_registry_xml_save_plugin):
21303           put back source in registry.  add checks for find_plugin.
21304         * testsuite/states/bin.c: (assert_state), (empty_bin),
21305         (test_adding_one_element), (main):
21306         * testsuite/states/locked.c: (main):
21307           some compile/run fixes
21308
21309 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * check/gst/gstvalue.c: (GST_START_TEST):
21312           fix leaks in the test itself
21313
21314 2005-09-22  Wim Taymans  <wim@fluendo.com>
21315
21316         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21317         (gst_base_sink_send_event), (gst_base_sink_peer_query),
21318         (gst_base_sink_query):
21319         Prepare for more accurate position reporting and query
21320         handling.
21321
21322         * gst/gstelement.c: (gst_element_send_event),
21323         (gst_element_set_state):
21324         Add some comment.
21325
21326 2005-09-22  Wim Taymans  <wim@fluendo.com>
21327
21328         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21329         (gst_query_parse_segment):
21330         * gst/gstquery.h:
21331         More documentation.
21332         Add segment query for future use.
21333
21334 2005-09-22  Wim Taymans  <wim@fluendo.com>
21335
21336         * gst/gstbin.c: (gst_bin_add_func):
21337         Some more debug info.
21338
21339         * gst/gstelement.c: (gst_element_send_event):
21340         Simplify send_event
21341
21342         * gst/gstelement.h:
21343         Don't know how flags got broken.
21344
21345         * gst/gstquery.h:
21346         Added new query.
21347
21348 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21349
21350         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21351           Add simplistic test suite for GST_TYPE_DATE serialisation and
21352           deserialisation.
21353
21354 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21355
21356         * docs/gst/gstreamer-sections.txt:
21357         * gst/gststructure.c: (gst_structure_set_valist),
21358         (gst_structure_get_date):
21359         * gst/gststructure.h:
21360         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21361         (gst_date_copy), (gst_value_compare_date),
21362         (gst_value_serialize_date), (gst_value_deserialize_date),
21363         (gst_value_transform_date_string),
21364         (gst_value_transform_string_date), (_gst_value_initialize):
21365         * gst/gstvalue.h:
21366           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21367           bunch of utility functions along with a hack that checks that
21368           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21369           is required. Part of the grand scheme in #170777.
21370
21371 2005-09-22  Andy Wingo  <wingo@pobox.com>
21372
21373         * gst/gstconfig.h.in: Psych out gtk-doc.
21374
21375         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21376
21377         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21378
21379         * tools/gst-inspect.c (print_element_list): Plug some
21380         inconsequential leaks.
21381
21382         * gst/gstregistry.c (gst_registry_get_default): Doc.
21383
21384         * check/gst/gstplugin.c: 
21385         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21386         * gst/gstelementfactory.c (gst_element_factory_create): 
21387         * gst/gstindexfactory.c (gst_index_factory_create): Update for
21388         refcount changes.
21389
21390         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21391         (gst_plugin_feature_load): Doc, don't eat refs.
21392
21393         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21394         (gst_plugin_list_free): Doc.
21395         (gst_plugin_load_file): Doc updates.
21396
21397         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21398         accessors returning refcounted objects, return a ref.
21399
21400         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21401         accessor for caps. IDEMPOTENCE. Oh yes.
21402
21403 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
21404
21405         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21406
21407         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21408         (_gst_debug_register_funcptr):
21409           Add mutex to serialise access to the hash table with
21410           the function pointer => function name string mapping;
21411           make that hash table static scope (#316809).
21412
21413         * gst/registries/.cvsignore:
21414           Remove left-over file.
21415
21416 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21417
21418         * docs/pwg/appendix-porting.xml:
21419           And something about newsegment events and caps-on-buffers to
21420           the porting guide (feel free to improve).
21421
21422 2005-09-21  Andy Wingo  <wingo@pobox.com>
21423
21424         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21425         data and event probes on the same pad.
21426         (test_buffer_probe_once): Test that removing probes from within
21427         the probe functions works.
21428
21429 2005-09-21  Andy Wingo  <wingo@pobox.com>
21430
21431         * check/gst/gstutils.c: New file.
21432         (test_buffer_probe_n_times): A simple buffer probe test. More to
21433         come, foolios.
21434
21435         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21436         have-data::buffer, not have-data.
21437         (gst_pad_add_event_probe): Likewise for have-data::event.
21438         (gst_pad_add_data_probe): More docs. The part about 'resolving the
21439         peer' isn't quite right yet though.
21440         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
21441         (gst_pad_remove_data_probe): Change to take the guint handler_id
21442         as their arg, not the function+data, which is more glib-like.
21443
21444         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21445         the signal emission to indicate if the data is a buffer or an
21446         event.
21447         (gst_pad_get_type): Initialize buffer and event quarks.
21448         (gst_pad_class_init): have-data is now a detailed signal, yes it
21449         is.
21450
21451 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21452
21453         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21454         * gst/gstutils.c: (gst_util_set_value_from_string),
21455         (gst_util_set_object_arg):
21456           Don't put functional code in g_return_if_fail() or
21457           g_return_val_if_fail() statements, otherwise things will 
21458           break when G_DISABLE_CHECKS is defined during compilation.
21459
21460 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21461
21462         * docs/gst/tmpl/.cvsignore:
21463         * docs/gst/tmpl/gstvalue.sgml:
21464         * gst/gstvalue.c:
21465         * gst/gstvalue.h:
21466           inlied another one and added  some obvious docs
21467
21468 2005-09-21  Wim Taymans  <wim@fluendo.com>
21469
21470         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21471         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21472         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21473         (gst_fdsrc_get_property), (gst_fdsrc_create):
21474         * gst/elements/gstfdsrc.h:
21475         Properly implement fdsrc. Removed signal and timeout,
21476         better implemented somewhere else.
21477
21478 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21479
21480         * docs/gst/tmpl/.cvsignore:
21481         * docs/gst/tmpl/gstimplementsinterface.sgml:
21482         * gst/gstinterface.c:
21483           inlined more docs
21484
21485 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21486
21487         * docs/gst/gstreamer-sections.txt:
21488         * docs/gst/tmpl/.cvsignore:
21489         * docs/gst/tmpl/gstenumtypes.sgml:
21490           remove obsolete doc file
21491
21492 2005-09-21  David Schleef  <ds@schleef.org>
21493
21494         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21495         little beer, fix a little leak.
21496
21497 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21498
21499         * docs/gst/gstreamer-docs.sgml:
21500         * docs/gst/gstreamer-sections.txt:
21501         * docs/gst/tmpl/.cvsignore:
21502         * gst/Makefile.am:
21503         * gst/gst.h:
21504         * gst/gstbin.c:
21505         * gst/gstelement.h:
21506         * gst/gstindex.c: (gst_index_class_init):
21507         * gst/gstindex.h:
21508         * gst/gstindexfactory.c: (gst_index_factory_get_type),
21509         (gst_index_factory_class_init), (gst_index_factory_init),
21510         (gst_index_factory_finalize), (gst_index_factory_new),
21511         (gst_index_factory_destroy), (gst_index_factory_find),
21512         (gst_index_factory_create), (gst_index_factory_make):
21513         * gst/gstindexfactory.h:
21514         * gst/gstpluginfeature.c:
21515         * gst/gstpluginfeature.h:
21516         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21517           more docs inlined, splitted gstindex.{c,h}
21518
21519 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21520
21521         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21522           fix a leak
21523
21524 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21525
21526         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21527           Set sync to FALSE by default.
21528
21529 2005-09-20  Wim Taymans  <wim@fluendo.com>
21530
21531         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21532         (gst_base_sink_init):
21533         Make sync property settable from subclass.
21534
21535         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21536         (gst_fake_sink_change_state):
21537         Set sync to FALSE by default.
21538
21539 2005-09-20  Wim Taymans  <wim@fluendo.com>
21540
21541         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21542         * tools/gst-launch.c: (main):
21543         The timeout handler should have lower priority than the source
21544         so we don't timeout before popping a message with 0 timeout.
21545         Dump error messages after failed state change.
21546
21547 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21548
21549         * tools/gst-inspect.c: (print_element_properties_info):
21550           Fix two typos.
21551
21552 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21553
21554         * check/gst/gstevent.c:
21555         * gst/elements/gstfakesink.c:
21556         * gst/elements/gstfakesink.h:
21557           remove the sync property from fakesink.
21558           has the side effect of setting sync TRUE
21559           for fakesink, which is a change.  Anyone who knows how
21560           to fix this nicely in a GObject-y way, feel free.
21561
21562 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21563
21564         * docs/gst/gstreamer-docs.sgml:
21565           remove probe refsection
21566
21567 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21568
21569         * check/Makefile.am:
21570           disable valgrinding the controller test again
21571         * docs/gst/gstreamer-sections.txt:
21572           update for api-changes
21573
21574 2005-09-20  Wim Taymans  <wim@fluendo.com>
21575
21576         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21577         (gst_base_sink_set_property), (gst_base_sink_get_property),
21578         (gst_base_sink_do_sync):
21579         * gst/base/gstbasesink.h:
21580         Added sync property to basesink to disable clock sync.
21581
21582 2005-09-20  Andy Wingo  <wingo@pobox.com>
21583
21584         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21585         eating the caller's refcount.
21586
21587         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
21588         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21589         refcount.
21590
21591         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21592         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21593         of GLib 2.8 public, so we can know which refcount to check in
21594         tests.
21595
21596         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21597         (gst_object_init): Only set the gst refcount if we're going ahead
21598         with the refcount hack.
21599
21600 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21601
21602         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21603         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21604           more leaks plumbed, added more debug-logging
21605         * gst/gstmacros.h:
21606           whitespace fix
21607
21608 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21609
21610         * gst/gstmessage.c:
21611           remove include of gstmemchunk.h
21612
21613 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21614
21615         * gst/gstclock.c: (_gst_clock_id_free):
21616           Commit from the Political Party For More Atomic CVS Commits,
21617           so that people don't waste too much of their day fishing
21618           out obvious leaks out of massive commits.
21619           Oh, and fix a pretty damn obvious leak in the memchunk
21620           removal code.
21621
21622 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21623
21624         * check/Makefile.am:
21625         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21626           plug mem-leak, re-add to valgrindable tests
21627
21628 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21629
21630         * gst/gstplugin.h:
21631           unbreak the build for those who have chronic arthritis
21632           and typing "make check" is just too taxing on the hands
21633
21634 2005-09-20  Andy Wingo  <wingo@pobox.com>
21635
21636         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21637         really want it out, you should fix plugins at the same time.
21638
21639 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
21640
21641         * configure.ac:
21642         * docs/gst/gstreamer-sections.txt:
21643         * gst/gstobject.c:
21644           added missing symbols to api docs
21645           disable ref-count hack if we have glib >= 2.8
21646
21647 2005-09-19  David Schleef  <ds@schleef.org>
21648
21649         * docs/gst/Makefile.am: Ignore a few more internal headers
21650         * docs/gst/gstreamer-docs.sgml: Remove old sections
21651         * docs/gst/gstreamer-sections.txt: Remove old sections
21652         * docs/gst/tmpl/gstobject.sgml: update
21653         * docs/gst/tmpl/gstplugin.sgml: update
21654         * docs/gst/tmpl/gstpluginfeature.sgml: update
21655         * docs/random/ds/0.9-suggested-changes: update.
21656         * gst/Makefile.am: remove memchunk and trashstack, since they're
21657           not used.
21658         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21659         * gst/gst.h: don't include some headers
21660         * gst/gstchildproxy.c: add gstmarshal.h
21661         * gst/gstclock.c: Don't use memchunks
21662         * gst/gstminiobject.c: Add some docs
21663         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21664         * gst/gstobject.h: same
21665         * gst/gstplugin.c: include gstmacros.h
21666         * gst/gstplugin.h: don't include gstmacros.h, since it's private
21667         * gst/gstquery.c: don't use memchunks
21668         * gst/gstregistry.c: rename gst_registry_deinit()
21669         * gst/gstregistry.h: same
21670
21671 2005-09-19  David Schleef  <ds@schleef.org>
21672
21673         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21674         * docs/libs/gstreamer-libs-sections.txt:
21675         * docs/libs/tmpl/gstgetbits.sgml:
21676         * docs/libs/tmpl/gstputbits.sgml:
21677
21678 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
21679
21680         * win32/gstenumtypes.c:
21681         * win32/gstenumtypes.h:
21682           Update.
21683
21684 2005-09-19  Wim Taymans  <wim@fluendo.com>
21685
21686         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21687         Automatically PAUSE and RESUME a pipeline when a flushing seek
21688         is performed.
21689
21690 2005-09-19  Andy Wingo  <wingo@pobox.com>
21691
21692         * gst/gstregistry.h: Spacing fixen.
21693
21694 2005-09-19  Wim Taymans  <wim@fluendo.com>
21695
21696         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21697         Handle state change failure more correctly.
21698
21699 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21700
21701         * check/Makefile.am:
21702         * check/pipelines/cleanup.c: (run_pipeline):
21703         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21704         (GST_START_TEST):
21705           enable cleanup again after fixing the leak
21706         * docs/README:
21707           some more info on docs
21708
21709 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21710
21711         * check/Makefile.am:
21712           re-enable tests now that leaks are plugged
21713         * check/gst/gst.c:
21714         * check/gst/gstbin.c:
21715         * check/gst/gstpipeline.c:
21716           add some more tests while fixing leaks
21717         * common/check.mak:
21718           make sure binaries are uptodate when valgrinding/gdbing
21719         * gst/gst.c:
21720         * gst/gstelementfactory.c:
21721           remove a ref too many, and add a FIXME for when we get
21722           round to disposing of classes
21723         * gst/gstplugin.c:
21724           fix the refcounting when loading a plugin from a file and
21725           the code pretends that the pointer is the same even though
21726           of course it can change
21727         * gst/gstpluginfeature.c:
21728           unref plugins marked cached (a bit confusing as a name)
21729           as the docs state should be done
21730           various doc additions to explain refcounting
21731         * gst/gstregistry.c:
21732         * gst/gstregistryxml.c:
21733           debugging
21734
21735 2005-09-19  Wim Taymans  <wim@fluendo.com>
21736
21737         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21738         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21739         (send_messages), (GST_START_TEST), (gstbus_suite):
21740         * check/gst/gstpipeline.c: (GST_START_TEST):
21741         * check/pipelines/cleanup.c: (run_pipeline):
21742         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21743         (GST_START_TEST):
21744         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21745         (gst_bus_source_check), (gst_bus_source_dispatch),
21746         (gst_bus_create_watch), (gst_bus_add_watch_full),
21747         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21748         * gst/gstbus.h:
21749         * tools/gst-launch.c: (event_loop):
21750         * tools/gst-md5sum.c: (event_loop):
21751         GstBusHandler -> GstBusFunc, return value has the same meaning as
21752         any other GSource (FALSE == remove source).
21753         _add_watch() and _add_watch_full() now take a MessageType mask to
21754         only handle specific types of messages.
21755         _poll() returns the GstMessage instead of the message type to avoid
21756         race conditions.
21757         _have_pending() takes a MessageType mask now too.
21758         Added testsuite for multiple bus watches.
21759         Fix testsuites and applications for new bus API.
21760
21761 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21762
21763         * check/Makefile.am:
21764           mark a bunch of the tests as to fix until we fix them
21765
21766 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21767
21768         * common/check.mak:
21769           use GST_PLUGIN settings for valgrind tests as well, so we're
21770           valgrinding the correct thing
21771         * gst/gst.c: (init_post):
21772           plug another leak
21773
21774 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21775
21776         * gst/gst.c: (init_post), (gst_deinit):
21777         * gst/gstelementfactory.c: (gst_element_factory_class_init),
21778         (gst_element_factory_finalize), (gst_element_factory_cleanup):
21779         * gst/gstindex.c: (gst_index_factory_class_init),
21780         (gst_index_factory_finalize):
21781         * gst/gstobject.c: (gst_object_dispose):
21782         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21783         (gst_plugin_load_file), (gst_plugin_desc_free):
21784         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21785         (gst_plugin_feature_finalize):
21786         * gst/gstregistry.c: (gst_registry_class_init),
21787         (gst_registry_init), (gst_registry_finalize),
21788         (gst_registry_get_default), (gst_registry_deinit):
21789         * gst/gstregistry.h:
21790         * gst/gstregistryxml.c: (load_feature), (load_plugin):
21791           various cleanups and memleak plugging.  make valgrind is happy now.
21792
21793 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21794
21795         * common/check.mak:
21796           add a check-valgrind target
21797
21798 2005-09-18  David Schleef  <ds@schleef.org>
21799
21800         * tools/gst-inspect.c: Revert the GOption code.
21801
21802 2005-09-17  David Schleef  <ds@schleef.org>
21803
21804         * check/Makefile.am: Fix environment variables.
21805         * check/gst/gstplugin.c: Fix for API changes.
21806         * tools/gst-inspect.c: Fix for API changes.
21807         * tools/gst-xmlinspect.c: Fix for API changes.
21808         * gst/gstelementfactory.c:
21809         * gst/gstplugin.c:
21810         * gst/gstplugin.h:
21811         * gst/gstpluginfeature.c:
21812         * gst/gstpluginfeature.h:
21813         * gst/gstregistry.c:
21814         * gst/gstregistry.h:
21815         * gst/gstregistryxml.c:
21816         * gst/gsttypefind.c:
21817         * gst/gsttypefindfactory.c:
21818         * gst/indexers/gstfileindex.c:
21819         * gst/indexers/gstmemindex.c:
21820         * gst/schedulers/Makefile.am:
21821           Change registry to keep track of both plugins and features,
21822           removing the feature tracking from plugins themselves.
21823
21824 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21825
21826         * check/Makefile.am:
21827         * tools/gst-register.1.in:
21828           remove gst-register
21829
21830 2005-09-15  David Schleef  <ds@schleef.org>
21831
21832         * check/gst/gstplugin.c:
21833         * gst/gstelementfactory.c:
21834         * gst/gstplugin.c:
21835         * gst/gstpluginfeature.c:
21836         * gst/gstregistry.c:
21837           Getting tired of debugging.  Disabled all the unreffing of
21838           plugins and features, which fixes the segfaults, but of
21839           course leaks like crazy.  At least playbin works.
21840
21841 2005-09-15  David Schleef  <ds@schleef.org>
21842
21843         * check/gst/gstplugin.c: (register_check_elements),
21844         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21845         More testing
21846         * gst/elements/gsttypefindelement.c: Fix refcounting.
21847         * gst/gsttypefind.c:
21848         * gst/gsttypefindfactory.c:
21849         * gst/gsttypefindfactory.h:
21850
21851 2005-09-15  David Schleef  <ds@schleef.org>
21852
21853         * gst/gstindex.c: get refcounting correct.
21854         * gst/gstregistry.c: Handle the case where a feature/plugin is
21855           not found.
21856
21857 2005-09-15  David Schleef  <ds@schleef.org>
21858
21859         * check/Makefile.am:
21860         * check/gst/gstplugin.c: Add test
21861         * gst/gstplugin.c: Fix problems noticed by testsuite
21862         * gst/gstplugin.h:
21863         * gst/gstregistry.c: 
21864         * gst/gstregistry.h:
21865
21866 2005-09-15  David Schleef  <ds@schleef.org>
21867
21868         * gst/gstplugin.c: Implement semi-decent recounting and locking
21869           in plugins and plugin features.
21870         * gst/gstplugin.h:
21871         * gst/gstpluginfeature.c:
21872         * gst/gstpluginfeature.h:
21873         * gst/gstregistry.c:
21874
21875 2005-09-15  Michael Smith <msmith@fluendo.com>
21876
21877         * gst/gstregistry.c: (gst_registry_get_feature_list):
21878           Implement this. Makes oggdemux work; decodebin still broken.
21879
21880 2005-09-14  David Schleef  <ds@schleef.org>
21881
21882         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21883           #316076)
21884         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21885         * gst/check/Makefile.am:
21886         * libs/gst/controller/Makefile.am:
21887         * libs/gst/dataprotocol/Makefile.am:
21888
21889 2005-09-14  David Schleef  <ds@schleef.org>
21890
21891         * configure.ac: Remove getbits library.  Nothing uses it, and
21892           it should be in something like liboil if someone did want
21893           to use it.
21894         * libs/gst/Makefile.am:
21895         * libs/gst/getbits/Makefile.am:
21896         * libs/gst/getbits/gbtest.c:
21897         * libs/gst/getbits/getbits.c:
21898         * libs/gst/getbits/getbits.h:
21899         * libs/gst/getbits/gstgetbits_generic.c:
21900         * libs/gst/getbits/gstgetbits_i386.s:
21901         * libs/gst/getbits/gstgetbits_inl.h:
21902
21903 2005-09-14  David Schleef  <ds@schleef.org>
21904
21905         * gst/Makefile.am: Dist glib-compat.h
21906
21907 2005-09-14  David Schleef  <ds@schleef.org>
21908
21909         * configure.ac: Remove gst/registries, since it's no longer used.
21910         * gst/registries/Makefile.am:
21911         * gst/registries/gstlibxmlregistry.c:
21912         * gst/registries/gstlibxmlregistry.h:
21913         * gst/registries/gstxmlregistry.c:
21914         * gst/registries/gstxmlregistry.h:
21915         * gst/registries/registrytest.c:
21916
21917 2005-09-14  David Schleef  <ds@schleef.org>
21918
21919         * gst/glib-compat.h:
21920         * gst/gstregistryxml.c:
21921           Convergence is near.  Seriously.
21922
21923 2005-09-14  David Schleef  <ds@schleef.org>
21924
21925         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21926         * gst/glib-compat.h:
21927           Attempt #4 to appease the buildbots.
21928
21929 2005-09-14  David Schleef  <ds@schleef.org>
21930
21931         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21932           Attempt #3.
21933
21934 2005-09-14  David Schleef  <ds@schleef.org>
21935
21936         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21937         Attempt #2.
21938
21939 2005-09-14  David Schleef  <ds@schleef.org>
21940
21941         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21942           the new functions.
21943
21944 2005-09-14  David Schleef  <ds@schleef.org>
21945
21946         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21947         * gst/glib-compat.h: Add some functions that are in newer versions
21948           of glib than we care to require.
21949         * gst/gstregistryxml.c: Use them.
21950
21951 2005-09-14  David Schleef  <ds@schleef.org>
21952
21953         * po/POTFILES.in: remove gst-register.c
21954
21955 2005-09-14  David Schleef  <ds@schleef.org>
21956
21957         * docs/gst/gstreamer-docs.sgml:
21958         * docs/gst/gstreamer-sections.txt:
21959         * docs/gst/gstreamer.types:
21960         * docs/gst/tmpl/gstelement.sgml:
21961         * docs/gst/tmpl/gstplugin.sgml:
21962         * docs/gst/tmpl/gstpluginfeature.sgml:
21963           Documentation updates for registry changes.
21964
21965 2005-09-14  David Schleef  <ds@schleef.org>
21966
21967         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21968           because we don't require glib-2.8.
21969
21970 2005-09-14  David Schleef  <ds@schleef.org>
21971
21972         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21973           registries directory.
21974
21975 2005-09-14  David Schleef  <ds@schleef.org>
21976
21977         * check/Makefile.am:
21978         * check/generic/states.c:
21979         * gst/Makefile.am:
21980         * gst/gst.c:
21981         * gst/gst.h:
21982         * gst/gst_private.h:
21983         * gst/gstelementfactory.c:
21984         * gst/gstindex.c:
21985         * gst/gstinfo.c:
21986         * gst/gstplugin.c:
21987         * gst/gstplugin.h:
21988         * gst/gstpluginfeature.c:
21989         * gst/gstpluginfeature.h:
21990         * gst/gstregistry.c:
21991         * gst/gstregistry.h:
21992         * gst/gstregistrypool.c: remove
21993         * gst/gstregistrypool.h: remove
21994         * gst/gsttypefind.c:
21995         * gst/gsttypefindfactory.c:
21996         * gst/gsturi.c:
21997         * tools/Makefile.am:
21998         * tools/gst-compprep.c:
21999         * tools/gst-inspect.c:
22000         * tools/gst-register.c: remove
22001         * tools/gst-xmlinspect.c:
22002           Registry rewrite.  Changes registry from being a file created
22003           by a tool into a simple cache file created automatically by 
22004           libgstreamer.  Removed gst-register (because it's no longer
22005           needed).  Remove registry pools, because we only have one
22006           registry implementation (XML).  Fix up other subsystems as
22007           necessary.
22008
22009 2005-09-13  Michael Smith <msmith@fluendo.com>
22010
22011         * gst/gstconfig.h.in:
22012           Don't Use windows linking attributes for MinGW. Fixes #316157
22013
22014 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22015
22016         * gst/gstutils.c: (set_state_async_thread_func),
22017         (gst_element_set_state_async):
22018           Apparently people think it's better if this function doesn't
22019           try to set the state to whatever state was asked for on the first
22020           call to this function for any object.  Seriously.
22021
22022 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22023
22024         * check/gst/gstpipeline.c: (GST_START_TEST):
22025         * docs/gst/gstreamer-sections.txt:
22026         * gst/gstutils.c: (set_state_async_thread_func),
22027         (gst_element_set_state_async):
22028         * gst/gstutils.h:
22029           add a "gst_element_set_state_async" method that
22030           sets the state and starts a thread to make sure the state
22031           change completes as best as it can
22032
22033 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22034
22035         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22036           codify design+behaviour in testsuite after discussion
22037
22038 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22039
22040         * docs/gst/tmpl/gstelement.sgml:
22041         * docs/manual/appendix-quotes.xml:
22042           add a quote
22043         * gst/gstelement.c: (gst_element_set_state):
22044           add some debug
22045
22046 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
22047
22048         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22049         (gst_base_transform_prepare_output_buf),
22050         (gst_base_transform_handle_buffer):
22051         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
22052         (gst_capsfilter_prepare_buf):
22053           Remove the requirement for sub-classes to call the parent
22054           implementation of prepare_output_buffer with a wrapper function.
22055           
22056         * gst/gsttaglist.h:
22057         * gst/gsttagsetter.h:
22058           Fix #define wrapper
22059
22060 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
22061
22062         * docs/gst/gstreamer-sections.txt:
22063           more doc cleanups
22064
22065 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22066
22067         * docs/gst/gstreamer-sections.txt:
22068         * docs/gst/tmpl/gstelement.sgml:
22069         * docs/gst/tmpl/gstplugin.sgml:
22070         * gst/gstminiobject.c:
22071         * gst/gstvalue.h:
22072           docs now stop throwing warnings
22073
22074 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22075
22076         * docs/gst/gstreamer-sections.txt:
22077         * docs/gst/gstreamer.types:
22078         * docs/gst/tmpl/gstpad.sgml:
22079         * docs/gst/tmpl/gsttypes.sgml:
22080         * gst/base/gstadapter.h:
22081         * gst/base/gstbasesink.h:
22082         * gst/base/gstbasesrc.h:
22083         * gst/gstbin.h:
22084         * gst/gstbuffer.h:
22085         * gst/gstbus.h:
22086         * gst/gstcaps.h:
22087         * gst/gstclock.h:
22088         * gst/gstelement.h:
22089         * gst/gstevent.h:
22090         * gst/gstmessage.h:
22091         * gst/gstpad.h:
22092         * gst/gststructure.c:
22093         * gst/registries/gstlibxmlregistry.h:
22094           various documentation fixes
22095
22096 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22097
22098         * docs/gst/gstreamer-sections.txt:
22099         * docs/gst/tmpl/gstvalue.sgml:
22100           rearrange gstvalue section
22101         * gst/gstutils.c: (gst_element_state_get_name):
22102           NONE -> VOID
22103         * gst/gstvalue.c: (_gst_value_initialize):
22104         * gst/gstvalue.h:
22105           doc updates
22106
22107 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
22108
22109         * check/gst-libs/controller.c:
22110           Header include fix.
22111         * gst/base/gstbasetransform.c:
22112         (gst_base_transform_default_prepare_buf),
22113         (gst_base_transform_handle_buffer):
22114         * gst/base/gstbasetransform.h:
22115           Some more basetransform changes and fixes to enable sub-classes
22116           that modify buffer metadata only.
22117         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22118         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
22119         (gst_capsfilter_prepare_buf):
22120           If the output pad has fixed allowed caps and input buffers 
22121           don't have any, set the fixed caps on outgoing buffers.
22122
22123 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
22124         * check/elements/identity.c: (GST_START_TEST):
22125           Make the error a little clearer when the test fails because
22126           identity made a copy of the buffer.
22127         * docs/gst/gstreamer-sections.txt:
22128           New symbols in gstbasetransform.h
22129         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22130         (gst_base_transform_init), (gst_base_transform_transform_size),
22131         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22132         (gst_base_transform_default_prepare_buf),
22133         (gst_base_transform_get_unit_size),
22134         (gst_base_transform_buffer_alloc),
22135         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
22136         (gst_base_transform_change_state),
22137         (gst_base_transform_set_passthrough),
22138         (gst_base_transform_set_in_place),
22139         (gst_base_transform_is_in_place):
22140         * gst/base/gstbasetransform.h:
22141           Change BaseTransform to separate in_place operate from same_caps
22142           output. in_place implies that the element can perform the transform
22143           on incoming buffers in-place, even if the caps on the output are
22144           different.
22145           Sub-class elements can now implement special buffer allocation
22146           methods for outgoing buffers if they wish to.
22147           Big documentation addition.
22148         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
22149         * gst/elements/gstelements.c:
22150           Changes for basetransform modifications.
22151         * gst/elements/Makefile.am:
22152         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
22153           Compile fix. Extra debug output.
22154
22155 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22156
22157         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
22158         (gst_pad_suite):
22159           add tests for valid pad naming
22160         * gst/check/gstcheck.c: (gst_check_log_message_func),
22161         (gst_check_log_critical_func):
22162           add ASSERT_WARNING
22163           remove printing of code, it is fragile when the code contains
22164           % and the line number is enough info
22165         * gst/check/gstcheck.h:
22166         * gst/gstpad.c: (gst_pad_template_new):
22167           fix memleaks
22168
22169 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22170
22171         * configure.ac:
22172           say what CHECK flags we use
22173         * docs/libs/gstreamer-libs.types:
22174         * libs/gst/controller/Makefile.am:
22175         * libs/gst/controller/gst-controller.c:
22176         * libs/gst/controller/gst-controller.h:
22177         * libs/gst/controller/gst-helper.c:
22178         * libs/gst/controller/gst-interpolation.c:
22179         * libs/gst/controller/gstcontroller.c:
22180         * libs/gst/controller/gsthelper.c:
22181         * libs/gst/controller/gstinterpolation.c:
22182         * tools/gst-inspect.c: (print_plugin_info):
22183           we don't use dashes in header names
22184
22185 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22186
22187         * check/Makefile.am:
22188         * check/gst/.cvsignore:
22189         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
22190         (gst_pipeline_suite), (main):
22191           adding a test for pipelines and state changes
22192         * gst/gstutils.c: (get_state_func):
22193           add some debugging
22194         * gstreamer.spec.in:
22195           fix up spec file
22196
22197 2005-09-08  Michael Smith <msmith@fluendo.com>
22198
22199         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
22200         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
22201         (gst_file_src_is_seekable), (gst_file_src_get_size),
22202         (gst_file_src_start):
22203         * gst/elements/gstfilesrc.h:
22204           Various fixes for unseekable, unmmapable, and non-normal files, so
22205           that fallback to read() rather than mmap() works.
22206         * gst/gstevent.c: (gst_event_new_newsegment):
22207           Allow newsegment events with segment_start == segment_end, as will
22208           correctly happen if you use filesrc on a zero-size file, for
22209           example.
22210
22211 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22212
22213         * gst/gstplugin.c: (gst_plugin_load_file):
22214           Call g_module_close when we don't load the module
22215
22216         * gst/registries/gstlibxmlregistry.c:
22217         (gst_xml_registry_get_property):
22218           Port leak fix from 0.8
22219
22220 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22221
22222         * docs/gst/gstreamer-docs.sgml:
22223         * docs/gst/tmpl/.cvsignore:
22224         * docs/gst/tmpl/gsttrace.sgml:
22225         * docs/gst/tmpl/gsttrashstack.sgml:
22226         * gst/Makefile.am:
22227         * gst/gst.h:
22228         * gst/gstelement.h:
22229         * gst/gstevent.h:
22230         * gst/gstmessage.c:
22231         * gst/gstmessage.h:
22232         * gst/gsttag.c:
22233         * gst/gsttag.h:
22234         * gst/gsttaginterface.c:
22235         * gst/gsttaginterface.h:
22236         * gst/gsttaglist.c:
22237         * gst/gsttaglist.h:
22238         * gst/gsttagsetter.c:
22239         * gst/gsttagsetter.h:
22240         * gst/gsttrace.c:
22241         * gst/gsttrace.h:
22242         * gst/gsttrashstack.c:
22243           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22244           inlined docs for gsttrace, gsttrashstack
22245
22246 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22247
22248         * gst/Makefile.am:
22249         * gst/elements/gstbufferstore.h:
22250         * gst/elements/gsttypefindelement.c:
22251         * gst/elements/gsttypefindelement.h:
22252         * gst/gst.h:
22253         * gst/gsttypefind.c:
22254         * gst/gsttypefind.h:
22255         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22256         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22257         (gst_type_find_factory_dispose),
22258         (gst_type_find_factory_unload_thyself),
22259         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22260         (gst_type_find_factory_get_caps),
22261         (gst_type_find_factory_get_extensions),
22262         (gst_type_find_factory_call_function):
22263         * gst/gsttypefindfactory.h:
22264         * gst/registries/gstlibxmlregistry.c:
22265         * gst/registries/gstxmlregistry.c:
22266           splitted gsttypefind into gsttypefind, gsttypefindfactory
22267
22268 2005-09-07  Andy Wingo  <wingo@pobox.com>
22269
22270         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22271         condition whereby the pad's task function is entered before the
22272         pad_mode variable was set.
22273
22274 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22275
22276         * gst/gstpad.c: (gst_pad_alloc_buffer):
22277           Catch misbehaving pad_alloc functions that don't
22278           set up caps and do it for them.
22279
22280 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22281
22282         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22283           test for pipe!=NULL
22284         * docs/gst/tmpl/.cvsignore:
22285         * docs/gst/tmpl/gstmemchunk.sgml:
22286         * docs/gst/tmpl/gstparse.sgml:
22287         * docs/gst/tmpl/gsttaglist.sgml:
22288         * docs/gst/tmpl/gsttagsetter.sgml:
22289         * docs/gst/tmpl/gsttypefind.sgml:
22290         * docs/gst/tmpl/gsttypefindfactory.sgml:
22291         * gst/gstmemchunk.c:
22292         * gst/gstparse.c:
22293         * gst/gsttag.c:
22294         * gst/gsttaginterface.c:
22295         * gst/gsttypefind.c:
22296         * gst/gsttypefind.h:
22297           inlined more docs
22298
22299 === release 0.9.2 ===
22300
22301 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22302
22303         * NEWS:
22304         * RELEASE:
22305         * configure.ac:
22306           releasing 0.9.2, "South"
22307
22308 2005-09-05  Andy Wingo  <wingo@pobox.com>
22309
22310         * gst/registries/gstxmlregistry.h:
22311         * gst/registries/gstxmlregistry.c: Um... resurrect...
22312         
22313         * gst/registries/gstxmlregistry.h:
22314         * gst/registries/gstxmlregistry.c: and update to newer API.
22315         Incidentally they should be a bit faster now that they don't have
22316         to parse the caps.
22317         
22318 2005-09-05  Andy Wingo  <wingo@pobox.com>
22319
22320         * gst/registries/gstxmlregistry.h:
22321         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22322         replaced by the libxml registry a while back
22323
22324 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22325
22326         * docs/gst/tmpl/gstplugin.sgml:
22327         * gst/elements/gstelements.c:
22328         * gst/gst.c:
22329         * gst/gstplugin.c: (gst_plugin_register_func),
22330         (gst_plugin_desc_copy), (gst_plugin_desc_free),
22331         (gst_plugin_get_source):
22332         * gst/gstplugin.h:
22333         * gst/registries/gstlibxmlregistry.c: (load_plugin),
22334         (gst_xml_registry_save_plugin):
22335         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22336         (gst_xml_registry_save_plugin):
22337         * tools/gst-inspect.c: (print_plugin_info):
22338           add a "source" plugin description field, to represent the source
22339           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
22340           will set it to PACKAGE, which is automake's idea of the name of
22341           the source project.
22342
22343 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22344
22345         * Makefile.am:
22346         * autogen.sh:
22347         * configure.ac:
22348         * docs/Makefile.am:
22349         * docs/faq/Makefile.am:
22350         * docs/gst/tmpl/gstelement.sgml:
22351         * docs/gst/tmpl/gsttypes.sgml:
22352         * docs/htmlinstall.mak:
22353         * docs/manual/Makefile.am:
22354         * docs/pwg/Makefile.am:
22355           reorganize doc build a little
22356           split out docbook and gtk-doc stuff
22357           have two separate --enable's and enable them through autogen
22358           but disable by default in configure (to be similar to other
22359           projects)
22360         * gstreamer.spec.in:
22361           clean up docs install
22362         * po/af.po:
22363         * po/az.po:
22364         * po/ca.po:
22365         * po/cs.po:
22366         * po/de.po:
22367         * po/en_GB.po:
22368         * po/fr.po:
22369         * po/it.po:
22370         * po/nb.po:
22371         * po/nl.po:
22372         * po/ru.po:
22373         * po/sq.po:
22374         * po/sr.po:
22375         * po/sv.po:
22376         * po/tr.po:
22377         * po/uk.po:
22378         * po/vi.po:
22379           translation updates
22380
22381 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
22382
22383         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22384           Add comment.
22385           
22386         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22387         (gst_fake_sink_change_state):
22388           Make state change function thread-safe.
22389           
22390         * gst/gstpad.c: (gst_pad_alloc_buffer):
22391           Set offset on generic buffer allocated by fallback.
22392
22393 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
22394
22395         * docs/gst/gstreamer-sections.txt:
22396         * docs/gst/tmpl/gstelement.sgml:
22397         * gst/gstpad.c:
22398         * libs/gst/controller/gst-controller.c:
22399         (gst_controlled_property_set_interpolation_mode),
22400         (gst_controlled_property_new),
22401         (gst_controller_find_controlled_property):
22402          run the wingo-magic script against the docs
22403
22404 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22405
22406         * docs/gst/gstreamer-docs.sgml:
22407         * docs/gst/gstreamer-sections.txt:
22408         * docs/gst/tmpl/.cvsignore:
22409         * docs/gst/tmpl/gstelementdetails.sgml:
22410         * docs/gst/tmpl/gstelementfactory.sgml:
22411         * gst/gst.c:
22412         * gst/gstbus.c:
22413         * gst/gstelementfactory.c:
22414         * gst/gstelementfactory.h:
22415           merged elementdetails docs into elementfactory docs
22416           inlined both
22417
22418 2005-09-02  Andy Wingo  <wingo@pobox.com>
22419
22420         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22421         consider this enum an enum and not a flags.
22422
22423 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22424
22425         * docs/gst/gstreamer-docs.sgml:
22426         * docs/gst/tmpl/.cvsignore:
22427         * docs/gst/tmpl/gstghostpad.sgml:
22428         * docs/gst/tmpl/gstiterator.sgml:
22429         * docs/gst/tmpl/gstmacros.sgml:
22430         * docs/gst/tmpl/gstrealpad.sgml:
22431         * docs/gst/tmpl/gstregistry.sgml:
22432         * docs/gst/tmpl/gstregistrypool.sgml:
22433         * docs/gst/tmpl/gststructure.sgml:
22434         * docs/gst/tmpl/gstsystemclock.sgml:
22435         * docs/gst/tmpl/gsttrace.sgml:
22436         * gst/gstghostpad.c:
22437         * gst/gstmacros.h:
22438         * gst/gstmemchunk.c:
22439         * gst/gstmemchunk.h:
22440         * gst/gstqueue.c:
22441         * gst/gstregistry.c:
22442         * gst/gstregistrypool.c:
22443         * gst/gststructure.c:
22444         * gst/gstsystemclock.c:
22445           more docs inlined
22446
22447 2005-09-02  Andy Wingo  <wingo@pobox.com>
22448
22449         * gst/gstelement.h (GstState): Renamed from GstElementState,
22450         changed to be a normal enum instead of flags.
22451         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22452         munged to be GST_STATE_CHANGE_*.
22453         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22454         work with the new state representation.
22455         (GstStateChange): New enumeration of possible state transitions.
22456         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22457         (GstElementClass::change_state): Pass the GstStateChange along as
22458         an argument. Helps language bindings, so they don't have to use
22459         tricky lock-needing macros like GST_STATE_CHANGE ().
22460
22461         * scripts/update-states (file): New script. Run it on a file to
22462         update it for state naming and API changes. Updates files in
22463         place.
22464
22465         * All files updated for the new API.
22466
22467 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22468
22469         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22470         * gst/gstutils.c: (gst_util_set_value_from_string),
22471         (gst_util_set_object_arg):
22472           fix a bunch of unchecked return values
22473         * tools/gst-complete.c: (main):
22474         * gstreamer.spec.in:
22475           clean up a little
22476
22477 2005-09-01  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22480         (gst_base_sink_event), (gst_base_sink_do_sync),
22481         (gst_base_sink_handle_event):
22482         * gst/base/gstbasesink.h:
22483         Handle newsegments more correctly.
22484
22485         * gst/gstbus.c:
22486         Fix docs.
22487
22488         * gst/gstevent.c: (gst_event_new_newsegment):
22489         A newsegment cannot have a start_time of -1
22490
22491 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
22492
22493         * win32/gstenumtypes.c:
22494         * win32/gstenumtypes.h:
22495           Update
22496
22497 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22498
22499         * libs/gst/controller/gst-controller.c:
22500         (gst_controlled_property_set_interpolation_mode),
22501         (gst_controlled_property_new):
22502          fixed boolean again
22503
22504 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
22505
22506         * docs/faq/gst-uninstalled:
22507           add -good
22508         * gst/gstevent.c:
22509         * gst/gstevent.h:
22510           remove wrong docs
22511         * gst/gstutils.c: (gst_element_link_filtered):
22512         * gst/gstutils.h:
22513           add gst_element_link_filtered
22514
22515 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22516
22517         * docs/gst/gstreamer-docs.sgml:
22518         * docs/gst/gstreamer-sections.txt:
22519         * docs/gst/tmpl/.cvsignore:
22520         * docs/gst/tmpl/gsterror.sgml:
22521         * docs/gst/tmpl/gstfilter.sgml:
22522         * docs/gst/tmpl/gsturihandler.sgml:
22523         * docs/gst/tmpl/gsturitype.sgml:
22524         * docs/gst/tmpl/gstutils.sgml:
22525         * docs/gst/tmpl/gstxml.sgml:
22526         * gst/gsterror.c:
22527         * gst/gsterror.h:
22528         * gst/gstfilter.c:
22529         * gst/gsturi.c:
22530         * gst/gsturitype.c:
22531         * gst/gstutils.c:
22532         * gst/gstxml.c:
22533           inlined more docs, fixed double id-ref
22534
22535 2005-08-31  Wim Taymans  <wim@fluendo.com>
22536
22537         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22538         (gst_base_transform_handle_buffer):
22539         Passthrough elements don't need the caps as they don't care.
22540
22541 2005-08-31  Wim Taymans  <wim@fluendo.com>
22542
22543         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22544         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22545         Don't leak refcounts on buffers.
22546
22547 2005-08-31  Wim Taymans  <wim@fluendo.com>
22548
22549         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22550         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22551         (gst_base_transform_chain), (gst_base_transform_change_state):
22552         * gst/base/gstbasetransform.h:
22553         Handle the case where we are not negotiated more gracefully.
22554
22555 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
22556
22557         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22558         (gst_file_src_map_region):
22559           Set READONLY flag on mmap'ed buffers, otherwise
22560           gst_buffer_make_writable() won't work properly (#314708).
22561
22562 2005-08-31  Wim Taymans  <wim@fluendo.com>
22563
22564         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22565         passthrough elements can even do inplace on non writable
22566         buffers (as they don't touch them).
22567
22568 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22569
22570         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22571         (gst_test_mono_source_set_property),
22572         (gst_test_mono_source_class_init), (GST_START_TEST),
22573         (gst_controller_suite):
22574           more tests (hehe I have the most)
22575         * gst/gstbus.c:
22576           describe popping messages whenusing mulltiple sources
22577         * libs/gst/controller/gst-controller.c:
22578         (gst_controlled_property_set_interpolation_mode),
22579         (gst_controlled_property_new):
22580         * libs/gst/controller/gst-controller.h:
22581         * libs/gst/controller/gst-interpolation.c:
22582           implement boolean properties
22583
22584 2005-08-31  Wim Taymans  <wim@fluendo.com>
22585
22586         * gst/gstminiobject.c: (gst_mini_object_ref):
22587         Cannot assert that the refcount has to be positive
22588         since a disposed object can be resurrected.
22589
22590 2005-08-31  Wim Taymans  <wim@fluendo.com>
22591
22592         * gst/gstpad.c: (gst_pad_init):
22593         Revert change, need to first fix badly behaving 
22594         apps.
22595
22596 2005-08-30  Wim Taymans  <wim@fluendo.com>
22597
22598         * check/elements/fakesrc.c: (setup_fakesrc):
22599         * check/elements/identity.c: (setup_identity):
22600         Activate pads before using them.
22601
22602 2005-08-30  Wim Taymans  <wim@fluendo.com>
22603
22604         * gst/base/gstadapter.c: (gst_adapter_flush):
22605         Flushing out 0 bytes is ok for this function.
22606
22607         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22608         no newsegment gives a warning and sets the start/stop to 
22609         invalid.
22610
22611         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22612         (gst_base_transform_set_passthrough):
22613         Some debug info.
22614
22615         * gst/gstminiobject.c: (gst_mini_object_ref):
22616         Check refcount here too.
22617
22618         * gst/gstpad.c: (gst_pad_init):
22619         Pads are initially flushing and refusing data.
22620
22621         * gst/gstutils.c: (gst_element_link_pads_filtered):
22622         When adding a capsfilter element make sure it has the
22623         same state as the parent bin.
22624
22625 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22626
22627         * docs/gst/tmpl/.cvsignore:
22628         * docs/gst/tmpl/gstformat.sgml:
22629         * docs/gst/tmpl/gstversion.sgml:
22630         * gst/gstbus.h:
22631         * gst/gstformat.c:
22632         * gst/gstformat.h:
22633         * gst/gstversion.h.in:
22634           more docs and two more inlined
22635
22636 2005-08-30  Wim Taymans  <wim@fluendo.com>
22637
22638         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22639         Don't sync to clock.
22640
22641 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22642
22643         * docs/gst/gstreamer-sections.txt:
22644           ultral33t func10ns deserve to appear in the docs actually
22645         * docs/gst/tmpl/.cvsignore:
22646         * docs/gst/tmpl/gstcompat.sgml:
22647         * docs/gst/tmpl/gstconfig.sgml:
22648         * gst/check/gstcheck.c:
22649         * gst/gstcompat.h:
22650         * gst/gstconfig.h.in:
22651           inlined more docs
22652
22653 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22654
22655         * docs/gst/tmpl/.cvsignore:
22656         * docs/gst/tmpl/gstquery.sgml:
22657         * docs/gst/tmpl/gstutils.sgml:
22658         * gst/gstquery.c:
22659         * gst/gstquery.h:
22660           inlined and extended docs
22661
22662 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22663
22664         * check/gst-libs/controller.c: (GST_START_TEST),
22665         (gst_controller_suite):
22666           more tests
22667         * docs/gst/tmpl/gstutils.sgml:
22668         * docs/libs/gstreamer-libs-sections.txt:
22669         * docs/libs/tmpl/gstdataprotocol.sgml:
22670           include path fixes
22671         * examples/controller/audio-example.c: (main):
22672           controller example works now
22673         * gst/gstclock.h:
22674           doc fixes
22675         * tools/gst-inspect.c: (print_element_properties_info):
22676           show param spec flags
22677
22678 2005-08-29  Andy Wingo  <wingo@pobox.com>
22679
22680         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22681
22682 2005-08-28  Andy Wingo  <wingo@pobox.com>
22683
22684         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22685         as having two arguments instead of just one. Allows superclasses
22686         to access information on subclasses -- see the terrible for() loop
22687         in gtype.c:g_type_create_instance for the reason why. All callers
22688         changed.
22689
22690 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22691
22692         * docs/design/part-messages.txt:
22693           update info
22694         * docs/gst/tmpl/.cvsignore:
22695         * docs/gst/tmpl/gstcaps.sgml:
22696         * docs/gst/tmpl/gstclock.sgml:
22697         * gst/gstbus.c:
22698         * gst/gstcaps.c:
22699         * gst/gstcaps.h:
22700         * gst/gstclock.c:
22701         * gst/gstclock.h:
22702         * gst/gstmessage.c:
22703           added descriptions for bus and message
22704           inline caps and clock docs
22705
22706 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22707
22708         * gst/gstmessage.c:
22709         * gst/gstmessage.h:
22710           doc fixes
22711
22712 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22713
22714         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22715           fix div-by-zero
22716
22717 2005-08-26  Andy Wingo  <wingo@pobox.com>
22718
22719         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22720         element_set_state's return val.
22721         (test_2_elements): Add test that's been disabled for months.
22722
22723         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22724         can-activate-pull properties.
22725
22726         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22727         can-activate-pull properties. Implement is_seekable so fakesrc can
22728         operate in pull mode.
22729
22730         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22731         properties.
22732         (gst_base_sink_activate, gst_base_sink_activate_pull)
22733         (gst_base_sink_activate_push): Make activation mode choosing work.
22734         Cleanups.
22735         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22736         is right. Make pull mode work. Post an eos before pausing in pull
22737         mode.
22738         (gst_base_sink_change_state): Pay attention to the core's
22739         change_state() return val.
22740         
22741         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22742         has-getrange properties. Cleanups.
22743         
22744         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22745         has_getrange and replace with can_activate_pull and
22746         can_activate_push.
22747
22748         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22749         locking comments. Remove has_loop, has_chain and replace with
22750         can_activate_pull and can_activate_push.
22751
22752 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
22753
22754         * configure.ac:
22755         * examples/Makefile.am:
22756         * examples/metadata/Makefile.am:
22757         * examples/metadata/read-metadata.c: (message_loop),
22758         (have_pad_handler), (make_pipeline), (print_tag), (main):
22759           Add metadata reading example that loops over a list of filenames,
22760           dumping any tags found.
22761
22762         * gst/gstbus.c: (gst_bus_dispose):
22763         * gst/gstelement.c: (gst_element_dispose):
22764           Release a few potentially-held references in dispose.
22765
22766 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22767
22768         * docs/gst/tmpl/gstminiobject.sgml:
22769           do *not* add tmpl/*.sgml files to CVS!
22770
22771 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22772
22773         * libs/gst/bytestream/.cvsignore:
22774         * libs/gst/bytestream/Makefile.am:
22775         * libs/gst/bytestream/adapter.c:
22776         * libs/gst/bytestream/adapter.h:
22777         * libs/gst/bytestream/bytestream.c:
22778         * libs/gst/bytestream/bytestream.h:
22779         * libs/gst/bytestream/filepad.c:
22780         * libs/gst/bytestream/filepad.h:
22781           removing obsolete files
22782
22783 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22784
22785         * docs/gst/gstreamer-docs.sgml:
22786         * docs/libs/gstreamer-libs-docs.sgml:
22787           disabed additional index entries again, as this makes docs-gen just
22788           slow and they aren't useful yet
22789         * docs/libs/gstreamer-libs-sections.txt:
22790           little -section.txt cleanup for libs
22791
22792 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22793
22794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22795         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22796           fix up some debugging
22797         (gst_base_transform_get_unit_size),
22798         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22799         (gst_base_transform_handle_buffer):
22800         * gst/base/gstbasetransform.h:
22801           handle and store timed NEWSEGMENT events so that subclasses that
22802           calculate time by counting samples have a segment_start time they
22803           need to add to their timestamps - see audioresample
22804
22805 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22806
22807         * gst/gstbin.h:
22808           removed ';' from the end of macro defs
22809         * docs/gst/gstreamer-docs.sgml:
22810         * docs/gst/gstreamer-sections.txt:
22811         * docs/gst/tmpl/.cvsignore:
22812         * gst/gstbus.h:
22813         * gst/gstelement.c: (gst_element_class_init),
22814         (gst_element_set_state), (activate_pads),
22815         (gst_element_save_thyself):
22816         * gst/gstevent.c: (gst_event_new_newsegment):
22817         * gst/gstevent.h:
22818         * gst/gstiterator.c:
22819         * gst/gstiterator.h:
22820         * gst/gstpad.c:
22821         * gst/gstprobe.h:
22822         * gst/gstutils.c: (gst_pad_query_convert):
22823         * gst/gstutils.h:
22824           fixed parameter name mismatches between source, header and docs
22825           added some more docs, resolved the last batch of unused elements in
22826           docs (now someone needs to doc them)
22827
22828 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22829
22830         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22831         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22832           don't walk through the plugins backwards.  Where is all this
22833           reversed logic coming from ?
22834
22835 2005-08-25  Wim Taymans  <wim@fluendo.com>
22836
22837         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22838         (gst_base_transform_transform_size),
22839         (gst_base_transform_configure_caps),
22840         (gst_base_transform_get_unit_size),
22841         (gst_base_transform_buffer_alloc),
22842         (gst_base_transform_change_state):
22843         * gst/base/gstbasetransform.h:
22844         Cache caps unit_size.
22845         Make sure we cannot negotiate up and downstream at the
22846         same time.
22847
22848 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22849
22850         * gst/gst.c: (init_pre), (init_post):
22851           register the installed plugin path after the env var
22852         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22853         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22854           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22855           directories, so the tests can prefer uninstalled over installed
22856
22857 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22858
22859         * gst/base/gstbasetransform.h:
22860           comment
22861         * gst/gstpad.c:
22862           add to docs
22863
22864 2005-08-25  Wim Taymans  <wim@fluendo.com>
22865
22866         * gst/gstbin.c: (bin_bus_handler):
22867         Be a bit more conservative about the posted message.
22868         
22869         * gst/gstbus.c: (gst_bus_post):
22870         Some cleanups, warn wrong return values.
22871
22872 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22873
22874         * check/gst/gstbin.c: (GST_START_TEST):
22875         * gst/gstbin.c: (bin_bus_handler):
22876         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22877         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22878         (gst_message_new_warning), (gst_message_new_tag),
22879         (gst_message_new_state_changed), (gst_message_new_segment_start),
22880         (gst_message_new_segment_done), (gst_message_new_custom):
22881         * gst/gstmessage.h:
22882         * tools/gst-launch.c: (event_loop):
22883         * tools/gst-md5sum.c: (event_loop):
22884           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22885
22886 2005-08-25  Wim Taymans  <wim@fluendo.com>
22887
22888         * check/generic/states.c: (GST_START_TEST):
22889         Cleanup can be done at the end.
22890
22891         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22892         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22893         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22894         Oh boy.. Thanks for finding this, Thomas. 
22895
22896 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22897
22898         * docs/gst/gstreamer.types:
22899           added missing types
22900
22901 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22902
22903         * docs/gst/gstreamer-docs.sgml:
22904         * docs/gst/gstreamer-sections.txt:
22905         * docs/gst/tmpl/.cvsignore:
22906         * gst/gstbin.c:
22907         * gst/gstiterator.c:
22908         * gst/gstutils.c:
22909         * gst/registries/gstxmlregistry.h:
22910           added missing classes and symbols (123 more to go)
22911           removed removed symbols from section file
22912           fixed many doc-comments
22913
22914 2005-08-24  Wim Taymans  <wim@fluendo.com>
22915
22916         * check/generic/states.c: (GST_START_TEST):
22917         Make sure all tasks are stopped.
22918
22919         * check/gst/gstbin.c: (GST_START_TEST):
22920         Unref after usage for proper valgrinding.
22921
22922         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22923         Really wait for the task to stop before destroying the
22924         mutex.
22925
22926         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22927         (gst_queue_src_activate_push):
22928         Small cleanups. Don't stop the task when we did not start
22929         it.
22930
22931         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22932         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22933         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22934         (gst_task_join):
22935         * gst/gsttask.h:
22936         Protect the stream lock with the object lock.
22937         Disallow setting the stream lock when running.
22938         Add cleanup_all to wait for the threadpool to finish.
22939         Remove code to autoallocate a mutex if none was provided.
22940         Add _join() to wait for a task to stop.
22941         Protect the thread pool with a global lock.
22942
22943 2005-08-24  Wim Taymans  <wim@fluendo.com>
22944
22945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22946         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22947         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22948         * gst/base/gstbasesink.h:
22949         Handle newsegment events correctly.
22950         Drop buffers out of the segment range.
22951
22952 2005-08-22  Andy Wingo  <wingo@pobox.com>
22953
22954         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22955         macro, implements an interface and gstimplementsinterface for a
22956         new type.
22957
22958 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22959
22960         * check/Makefile.am:
22961         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22962           add a test that does a bunch of state changes on elements
22963           needs some fixing for valgrind
22964         * check/states/sinks.c: (gst_object_suite):
22965           whitespace
22966         * gst/gstcaps.h:
22967           add prototype for gst_caps_is_equal_fixed
22968         * gst/gstplugin.c:
22969         * gst/gstregistrypool.c:
22970           doc fixes
22971
22972 2005-08-24  Andy Wingo  <wingo@pobox.com>
22973
22974         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22975         convert a negative value. Doesn't make much sense. Mostly this is
22976         here to force callers to ensure -1 maps to -1.
22977
22978 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22979
22980         * docs/pwg/advanced-types.xml:
22981           Well done to Michael for catching my deliberate introduction
22982           of this spelling mistake. 
22983         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22984         * gst/gstelement.h:
22985           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22986           unlink pads before removing the element from the bin.
22987
22988 2005-08-24  Andy Wingo  <wingo@pobox.com>
22989
22990         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22991         the same thing as GST_DEBUG=*:4.
22992         (parse_debug_level, parse_debug_category): New helper parsers.
22993
22994 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22995
22996         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22997         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22998         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22999         (gst_base_transform_buffer_alloc),
23000         (gst_base_transform_handle_buffer):
23001           use gboolean return values and pointers to size so we can use the
23002           full GST_BUFFER_SIZE range (guint) for buffer sizes
23003           use GstPadDirection for transform_caps
23004         * gst/base/gstbasetransform.h:
23005           rename get_size to get_unit_size since that's what it is
23006         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
23007           use GstPadDirection for transform_caps
23008         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23009         * gst/gstutils.h:
23010           cleanup and debugging
23011
23012 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23013
23014         * gst/gstelement.c: (gst_element_class_init),
23015         (gst_element_set_state), (activate_pads),
23016         (gst_element_save_thyself):
23017         * tools/gst-compprep.c: (main):
23018         * tools/gst-inspect.c: (print_element_properties_info):
23019         * tools/gst-xmlinspect.c: (print_element_properties):
23020           Fixed long standing mem-leak
23021
23022 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23023
23024         * check/gst/gstbin.c: (GST_START_TEST):
23025         * gst/gstbin.c: (bin_bus_handler):
23026         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23027         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23028         (gst_message_new_warning), (gst_message_new_tag),
23029         (gst_message_new_state_changed), (gst_message_new_segment_start),
23030         (gst_message_new_segment_done), (gst_message_new_custom):
23031         * gst/gstmessage.h:
23032         * tools/gst-launch.c: (event_loop):
23033         * tools/gst-md5sum.c: (event_loop):
23034           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
23035           that applications can sensibly post custom messages with references
23036           to their own objects.
23037
23038 2005-08-24  Andy Wingo  <wingo@pobox.com>
23039
23040         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
23041         already.
23042
23043 2005-08-24  Wim Taymans  <wim@fluendo.com>
23044
23045         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23046         (gst_base_transform_transform_caps),
23047         (gst_base_transform_transform_size),
23048         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23049         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23050         (gst_base_transform_handle_buffer):
23051         * gst/base/gstbasetransform.h:
23052         Many fixes and new features added by Thomas. Can now also do
23053         transforms with variable sizes and a custom fixate_caps function.
23054
23055 2005-08-24  Wim Taymans  <wim@fluendo.com>
23056
23057         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23058         Some debugging.
23059
23060         * gst/gstclock.h:
23061         Cast to ClockTime before formatting to time.
23062
23063         * gst/gstutils.h:
23064         Cleanups.
23065
23066 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23067
23068         * check/gst-libs/controller.c: (GST_START_TEST),
23069         (gst_controller_suite):
23070         * docs/gst/tmpl/gstcaps.sgml:
23071         * docs/gst/tmpl/gstghostpad.sgml:
23072         * docs/gst/tmpl/gstquery.sgml:
23073         * docs/gst/tmpl/gstutils.sgml:
23074         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
23075         (gst_object_sink_values), (gst_object_get_value_arrays),
23076         (gst_object_get_value_array):
23077           gracefully handle helper method calls to objects that are not beeing
23078           controlled, added test case for that          
23079
23080 2005-08-23  Wim Taymans  <wim@fluendo.com>
23081
23082         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
23083         (gst_event_new_newsegment), (gst_event_parse_newsegment),
23084         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
23085         (gst_event_parse_qos), (gst_event_new_seek),
23086         (gst_event_parse_seek):
23087         * gst/gstevent.h:
23088         Some more debugging output and doc cleanups.
23089
23090         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23091         Fix possible deadlock.
23092
23093 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23094
23095         * docs/gst/gstreamer-docs.sgml:
23096         * docs/gst/gstreamer-sections.txt:
23097         * docs/gst/gstreamer.types:
23098         * docs/gst/tmpl/.cvsignore:
23099         * gst/gstbin.h:
23100         * gst/gstbus.c:
23101         * gst/gstelement.c:
23102         * gst/gstevent.h:
23103           added 100 symbols from gstreamer-unused.txt to the right sections
23104           fixed more broken comments
23105           added GstBus to docs
23106
23107 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23108
23109         * docs/gst/gstreamer-sections.txt:
23110         * docs/gst/tmpl/.cvsignore:
23111         * docs/gst/tmpl/gstbin.sgml:
23112         * docs/gst/tmpl/gstbuffer.sgml:
23113         * gst/base/gstbasesrc.c:
23114         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
23115         * gst/gstbuffer.c:
23116         * gst/gstbuffer.h:
23117         * tools/gst-launch.1.in:
23118           inlined more doc comments, added missing comments and fixed comments
23119           fixed typos
23120
23121 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23124           some debugging
23125         * gst/gstcaps.h:
23126           whitespace fixes
23127         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
23128           more debugging
23129         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
23130         * gst/gststructure.h:
23131           add a fixate function for booleans; add a FIXME that these func
23132           names should probably be gst_structure_fixate_*
23133
23134 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23135
23136         * docs/gst/gstreamer-docs.sgml:
23137         * docs/gst/gstreamer-sections.txt:
23138         * gst/Makefile.am:
23139         * gst/gstbin.c: (gst_bin_get_type),
23140         (gst_bin_child_proxy_get_child_by_index),
23141         (gst_bin_child_proxy_get_children_count),
23142         (gst_bin_child_proxy_init):
23143         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23144         (gst_child_proxy_get_child_by_index),
23145         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
23146         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
23147         (gst_child_proxy_get), (gst_child_proxy_set_property),
23148         (gst_child_proxy_set_valist), (gst_child_proxy_set),
23149         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
23150         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
23151         * gst/gstchildproxy.h:
23152         * gst/parse/grammar.y:
23153         * tools/gst-inspect.c: (print_interfaces),
23154         (print_element_properties_info), (print_element_info):
23155           ported gstchildproxy over from 0.8
23156           ported gst-inspect fixes and enhancements over from 0.8
23157
23158 2005-08-22  Wim Taymans  <wim@fluendo.com>
23159
23160         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23161         (gst_base_transform_handle_buffer):
23162         Also call the transform function if we have ANY caps.
23163
23164         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
23165         Fix debug info.
23166
23167 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23168
23169         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
23170           Don't pretend to handle seek events if the source is not seekable
23171
23172 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23173
23174         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23175           Remove extra parameter to debug output
23176
23177         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23178         (gst_base_src_do_seek), (gst_base_src_activate_push):
23179           Fix seek event handling.
23180
23181         * gst/gstpipeline.c: (gst_pipeline_change_state):
23182         * gst/gstqueue.c: (gst_queue_handle_sink_event),
23183         (gst_queue_src_activate_push):
23184           Don't start the src pad task on FLUSH_STOP if the pad
23185           isn't linked.
23186           Debug changes.
23187
23188 2005-08-22  Wim Taymans  <wim@fluendo.com>
23189
23190         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
23191         Added check for gst_static_caps_get() refcounting.
23192
23193 2005-08-22  Wim Taymans  <wim@fluendo.com>
23194
23195         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
23196         Make _static_caps_get() refcounting sane.
23197         
23198         * gst/gstelement.c: (gst_element_set_state):
23199         Add g_return_val_if_fail() to protect against segfaults.
23200
23201 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
23202
23203         * docs/gst/tmpl/gstevent.sgml:
23204         * gst/gstevent.c:
23205         * gst/gstevent.h:
23206           inlined remaining docs, added missing doc comments
23207
23208 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23209
23210         * check/gst/gstbin.c: (GST_START_TEST):
23211           since we don't know when preroll is done, use refcount range
23212           check for the sink
23213         * gst/check/gstcheck.h:
23214           add macro for checking refcount range
23215
23216 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23217
23218         * check/Makefile.am:
23219           clean up environment for when registry gets built versus
23220           when actual tests are run; valgrind seems to not report
23221           leaks if GST_PLUGIN_PATH is set to some specific values
23222         * check/gst/gstbin.c: (GST_START_TEST):
23223           add more refcounting checks; maybe this exposes a
23224           preroll lock bug ?
23225         * common/check.mak:
23226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23227         * gst/check/gstcheck.h:
23228         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
23229         (gst_bin_change_state):
23230         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
23231           add/fix debugging/whitespace
23232
23233 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23234
23235         * check/gst/gstevent.c: (event_probe), (test_event),
23236         (GST_START_TEST):
23237          Er, don't call gst_bin_watch_for_state_change you idiot.
23238
23239 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23240
23241         * check/Makefile.am:
23242           Use CHECK_CFLAGS and CHECK_LIBS
23243         * check/gst/gstevent.c: (event_probe), (test_event),
23244         (GST_START_TEST):
23245           Don't leak events.
23246         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23247         (gst_base_src_start), (gst_base_src_stop),
23248         (gst_base_src_activate_push), (gst_base_src_activate_pull),
23249         (gst_base_src_change_state):
23250           Sprinkle gst_base_src_stop liberally around error paths to fix
23251           problems reusing a source after failed state changes.
23252         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23253         (helper_find_suggest), (gst_type_find_helper):
23254           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23255         * gst/gstevent.h:
23256         * docs/gst/tmpl/gstevent.sgml:
23257           Migrate part of the docs from the SGML file. Wait for ensonic to
23258           tell me how I did it wrong ;)
23259         * tools/gst-typefind.c: (main):
23260           Extra robustness to state changes between files.
23261
23262 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23263
23264         * check/Makefile.am:
23265           don't valgrind the controller test - it's leaking - Stefan, HELP
23266         * gst/check/gstcheck.c: (gst_check_message_error),
23267         (gst_check_chain_func), (gst_check_setup_element),
23268         (gst_check_teardown_element), (gst_check_setup_src_pad),
23269         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23270         (gst_check_teardown_sink_pad):
23271         * gst/check/gstcheck.h:
23272           add a bunch of methods to set up elements, and src and sink pads
23273         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23274         * check/elements/identity.c: (setup_identity), (cleanup_identity),
23275         (GST_START_TEST):
23276           use them
23277         * gst/gstmessage.c:
23278         * gst/gsttag.h:
23279           whitespace/doc fixes
23280
23281 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23282
23283         * gst/gstelement.h:
23284           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23285           be handled by the application and not always printed as well
23286
23287 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23288
23289         * check/Makefile.am:
23290           set GST_TOOLS_DIR
23291         * gst/check/gstcheck.c: (gst_check_message_error):
23292         * gst/check/gstcheck.h:
23293           add a fail_unless_equals_int
23294           add fail_unless for error messages
23295
23296 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23297
23298         * check/Makefile.am:
23299         * check/gst.supp:
23300         * common/Makefile.am:
23301         * common/check.mak:
23302         * common/gst.supp:
23303           factor out some of the common stuff so we can use it
23304
23305 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23306
23307         * check/Makefile.am:
23308         * check/gst/gstiterator.c: (GST_START_TEST):
23309         * check/gst/gstsystemclock.c: (GST_START_TEST),
23310         (gst_systemclock_suite):
23311         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23312         * gst/gstclock.c:
23313           valgrind more tests
23314
23315 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23316
23317         * check/elements/.cvsignore:
23318         * check/elements/gstfakesrc.c:
23319           rename to name of element
23320         * check/elements/identity.c: (chain_func), (event_func),
23321         (setup_identity), (cleanup_identity), (GST_START_TEST),
23322         (identity_suite), (main):
23323           add a test for identity
23324         * check/Makefile.am:
23325         * pkgconfig/Makefile.am:
23326         * pkgconfig/gstreamer-check.pc.in:
23327         * pkgconfig/gstreamer-check-uninstalled.pc.in:
23328         * gst/check:
23329         * gst/Makefile.am:
23330         * configure.ac:
23331           move the check stuff to a library that gets installed
23332         * check/gst-libs/controller.c: (GST_START_TEST):
23333         * check/gst-libs/gdp.c:
23334         * check/gst/gst.c: (GST_START_TEST):
23335         * check/gst/gstbin.c:
23336         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23337         * check/gst/gstbus.c:
23338         * check/gst/gstcaps.c: (GST_START_TEST):
23339         * check/gst/gstelement.c:
23340         * check/gst/gstghostpad.c:
23341         * check/gst/gstiterator.c:
23342         * check/gst/gstmessage.c:
23343         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23344         * check/gst/gstobject.c:
23345         * check/gst/gstpad.c: (GST_START_TEST):
23346         * check/gst/gststructure.c: (GST_START_TEST):
23347         * check/gst/gstsystemclock.c: (GST_START_TEST),
23348         (gst_systemclock_suite):
23349         * check/gst/gsttag.c: (gst_tag_suite):
23350         * check/gst/gstvalue.c:
23351         * check/pipelines/cleanup.c:
23352         * check/pipelines/simple_launch_lines.c:
23353         * check/states/sinks.c:
23354           change include statement
23355
23356         * docs/gst/gstreamer-sections.txt:
23357         * docs/gst/tmpl/gstpad.sgml:
23358           document more pad stuff
23359         * gst/gstminiobject.c: (gst_mini_object_ref),
23360         (gst_mini_object_unref):
23361           debug refcounting
23362
23363 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
23364
23365         * docs/gst/tmpl/gst.sgml:
23366         * gst/gst.c:
23367           eliminate another tmpl file, fix spelling in the long-description
23368
23369 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23370
23371         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23372         (test_event), (timediff), (gstevents_suite):
23373           Should fix build on 64-bit arch's
23374
23375 2005-08-18  Andy Wingo  <wingo@pobox.com>
23376
23377         Make sure that when a pipeline goes to PLAYING, that data has
23378         actually hit the sink.
23379
23380         * check/states/sinks.c (test_sink): A sink that doesn't get any
23381         data shouldn't return SUCCESS for going to either PLAYING or
23382         PAUSED. Test also the return values on the way back down.
23383
23384         * gst/gstelement.c (gst_element_set_state): When changing the
23385         state of an element currently changing state asynchronously, go to
23386         lost-state after commiting the pending state. Makes future calls
23387         to get_state continue to return ASYNC.
23388
23389         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23390         ASYNC when going to PLAYING if we still don't have preroll, as can
23391         happen with live sources.
23392
23393 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23394
23395         * docs/pwg/advanced-types.xml:
23396           Hack long paragraph into 2 chunks as a workaround for buggy
23397           jadetex version in sid and breezy that loops infinitely and
23398           eats all RAM.
23399
23400 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23401
23402         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23403         (test_event), (timediff), (gstevents_suite):
23404           Provide more error margin in clock measurements to allow for 
23405           g_get_current_time inaccuracies.
23406
23407 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23408
23409         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23410         (test_event), (timediff), (gstevents_suite):
23411            Fix error message output so I might be able to tell why the
23412            test works here but fails on the build farm.
23413
23414 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23415
23416         * check/Makefile.am:
23417         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23418         (test_event), (timediff), (gstevents_suite), (main):
23419           I wrote a test!
23420
23421         * docs/design/part-seeking.txt:
23422           Spelling correction
23423
23424         * docs/gst/tmpl/gstevent.sgml:
23425         * docs/gst/tmpl/gstfakesrc.sgml:
23426           Docs updates.
23427
23428         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23429           Treat a buffer-without-newsegment the same as a receiving 
23430           a newsegment not in time format, and disable syncing to the clock
23431           with a warning.
23432
23433         * gst/gstbus.c: (gst_bus_set_sync_handler):
23434           Assert if anyone tries to replace the existing sync_handler for bus, 
23435           as only the owner should be setting it.
23436
23437         * gst/gstevent.h:
23438           Have a fixed set of custom event enums with events identified by
23439           their structure name (as in 0.8), rather than a free-for-all
23440           allowing collisions between enum values from different plugins.
23441
23442         * gst/gstpad.c: (gst_pad_class_init):
23443           Docs change.
23444           
23445         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23446           Handle out-of-band downstream events from the sending thread.
23447
23448 2005-08-17  Andy Wingo  <wingo@pobox.com>
23449
23450         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23451         play-timeout==0 to mean no timeout at all. In that case, don't
23452         bother with a get_state or a warning, just return directly, even
23453         if it's ASYNC.
23454
23455         * gst/base/gstbasetransform.c: Debug changes.
23456
23457         * gst/gstutils.h:
23458         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23459         ensure bins post state change messages. A bit of a hack but I can't
23460         think of a way to avoid it.
23461
23462         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23463
23464 2005-08-16  Andy Wingo  <wingo@pobox.com>
23465
23466         * gst/base/gstadapter.h:
23467         * gst/base/gstadapter.c (gst_adapter_take): New function, like
23468         peek() but you own the data. Not terribly efficient atm.
23469
23470 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23471
23472         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23473         (gst_element_found_tags):
23474         * gst/gstutils.h:
23475           Add two utility functions for tag handling.
23476
23477 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23478
23479         * docs/manual/advanced-dataaccess.xml:
23480         * docs/manual/basics-helloworld.xml:
23481           Fix docs to use _bin_add() before _link(), which fixes the examples
23482           with recent core versions (reported by Madhan Raj M
23483           <raj_madan@rediffmail.com>, #313199).
23484
23485 2005-08-16  Wim Taymans  <wim@fluendo.com>
23486
23487         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23488         Added subtract checks.
23489
23490         * docs/design/part-events.txt:
23491         Some more docs about newsegment
23492
23493         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23494         Fix FIXME
23495
23496         * gst/gstcaps.c: (gst_caps_to_string):
23497         Add comments, cleanups.
23498         
23499         * gst/gstelement.c: (gst_element_save_thyself):
23500         cleanups
23501         
23502         * gst/gstvalue.c: (gst_value_collect_int_range),
23503         (gst_string_unwrap), (gst_value_union_int_int_range),
23504         (gst_value_union_int_range_int_range),
23505         (gst_value_intersect_int_int_range),
23506         (gst_value_intersect_int_range_int_range),
23507         (gst_value_intersect_double_double_range),
23508         (gst_value_intersect_double_range_double_range),
23509         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23510         (gst_value_subtract_int_range_int),
23511         (gst_value_subtract_double_range_double),
23512         (gst_value_subtract_double_range_double_range),
23513         (gst_value_subtract_from_list), (gst_value_subtract_list),
23514         (gst_value_can_compare), (gst_value_compare_fraction):
23515         Cleanups, add comments, remove unneeded asserts.
23516
23517 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23518
23519         * tools/gst-launch.c: (event_loop):
23520           don't convert NULL structures to strings
23521
23522 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
23523
23524         * docs/gst/gstreamer-sections.txt:
23525           made some defines private
23526         * docs/gst/tmpl/gstconfig.sgml:
23527         * docs/gst/tmpl/gstqueue.sgml:
23528         * docs/gst/tmpl/gsttaglist.sgml:
23529         * docs/gst/tmpl/gsttypes.sgml:
23530         * docs/gst/tmpl/gstutils.sgml:
23531         * docs/pwg/appendix-porting.xml:
23532         * gst/base/gstbasesink.h:
23533         * gst/base/gstbasesrc.c:
23534         * gst/base/gstbasesrc.h:
23535         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23536         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23537         * gst/gstelement.c: (gst_element_class_init):
23538         * gst/gstpad.c: (gst_pad_class_init):
23539         * gst/gstqueue.c: (gst_queue_class_init):
23540         * gst/gstxml.c: (gst_xml_class_init):
23541           documented all undocumented signal inline
23542         * libs/gst/controller/gst-controller.h:
23543           added padding
23544
23545 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23546
23547         * docs/pwg/appendix-porting.xml:
23548           Document _set_link_function -> _set_setcaps_function.
23549
23550 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23551
23552         * check/Makefile.am:
23553           add a .check target for running the check
23554         * check/gst-libs/controller.c: (GST_START_TEST):
23555           cosmetic fixups
23556         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23557           complete checks for gstbuffer; would be nice if I could get the
23558           gcov stuff to work so I can see if I actually completed gstbuffer.c
23559         * check/gstcheck.h:
23560           add ASSERT_BUFFER_REFCOUNT
23561
23562 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
23563
23564         * docs/gst/gstreamer-sections.txt:
23565         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23566         * gst/gsttag.h:
23567           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23568           spew out a warning if a tag that is already registered
23569           is re-registered, unless it is re-registered with a 
23570           different type (#308438).
23571
23572 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
23573
23574         * docs/pwg/appendix-porting.xml:
23575         * docs/pwg/building-state.xml:
23576           Add some paragraphs about state changes in 0.9 to the PWG
23577           and the porting guide, in particular about the new meaning
23578           of GST_STATE_PAUSED and how to write state change functions
23579           with concurrent access by multiple threads in mind.
23580
23581 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
23582
23583         * docs/gst/gstreamer-docs.sgml:
23584         * docs/libs/gstreamer-libs-docs.sgml:
23585           added deprecation and since indexes
23586         * libs/gst/controller/gst-controller.c:
23587         * libs/gst/controller/gst-helper.c:
23588           added since tags
23589
23590
23591 2005-08-11  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23594         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23595         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23596         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23597         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23598         (gst_ghost_pad_set_target):
23599         Actually implement (re)setting the target on a ghostpad
23600         as described in the docs.
23601
23602 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23603
23604         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23605           Check whether GST_DEBUG_NO_COLOR environment variable is
23606           set and disable coloured debug output if that is the case.
23607
23608 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23609
23610         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23611         (gst_type_find_helper):
23612           The memory returned by gst_type_find_peek() needs to
23613           stay valid until the end of a typefind function, and
23614           typefind functions may keep results from different 
23615           offsets around, so we can't just unref the buffer from
23616           the previous _peek(), but have to save all buffers 
23617           returned by _peek() until typefinding is done and only
23618           free them then.
23619
23620 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
23621
23622         * docs/gst/gstreamer-sections.txt:
23623         * gst/gstutils.h:
23624           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23625
23626 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23627
23628         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23629           Fix a pretty good memleak.
23630
23631 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23632
23633         * gst/gstiterator.h:
23634           Fix wrong include and 'make distcheck'.
23635
23636 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23637
23638         * gst/gstbin.c: (bin_bus_handler):
23639           Use gst_element_post_message() instead.
23640
23641 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23642
23643         * gst/base/gstadapter.h:
23644         * gst/base/gstbasesink.h:
23645         * gst/base/gstbasesrc.h:
23646         * gst/base/gstbasetransform.h:
23647         * gst/base/gstcollectpads.h:
23648         * gst/base/gstpushsrc.h:
23649         * gst/gstiterator.h:
23650           Add padding to our base elements' class and instance structs and
23651           to GstIterator (you will need to rebuild all plugins and apps!)
23652
23653 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23654
23655         * gst/gstbin.c: (bin_bus_handler):
23656           Make default message forwarding from child->bus to bin->bus
23657           threadsafe and make it not emit warnings if the parent has no bus.
23658
23659 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23660
23661         * gst/gstelement.c: (activate_pads):
23662           On paused->ready, set pad->caps to NULL, as is the documented
23663           behaviour in this state change. Fixes playback of series of
23664           media files when visualization is enabled in Totem.
23665
23666 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23667
23668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23669           Allow NULL as filter-caps (which means "any").
23670
23671 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23672
23673         * docs/libs/gstreamer-libs-sections.txt:
23674         * libs/gst/controller/gst-controller.c:
23675         * libs/gst/controller/gst-controller.h:
23676         * libs/gst/controller/gst-helper.c:
23677           adding more entries to the docs and fix small doc-bugs
23678
23679 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23680
23681         * docs/gst/gstreamer-docs.sgml:
23682         * docs/gst/gstreamer-sections.txt:
23683         * docs/gst/gstreamer.types:
23684         * docs/gst/tmpl/gstbasesink.sgml:
23685         * docs/gst/tmpl/gstbasesrc.sgml:
23686         * docs/gst/tmpl/gstbasetransform.sgml:
23687         * docs/gst/tmpl/gstfakesrc.sgml:
23688         * gst/base/gstcollectpads.c:
23689         * gst/base/gstcollectpads.h:
23690         * libs/gst/controller/gst-controller.c:
23691         * libs/gst/controller/gst-controller.h:
23692         * libs/gst/controller/gst-helper.c:
23693         * libs/gst/controller/gst-interpolation.c:
23694         * libs/gst/controller/lib.c:
23695           added long/short desc for controller docs
23696           added collectpads base class docs
23697           added correct includes to base-class docs
23698
23699 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23700
23701         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23702         (gst_test_mono_source_set_property),
23703         (gst_test_mono_source_class_init), (GST_START_TEST),
23704         (gst_controller_suite):
23705         * docs/gst/gstreamer-docs.sgml:
23706         * docs/gst/gstreamer-sections.txt:
23707         * docs/gst/gstreamer.types:
23708         * docs/libs/gstreamer-libs-docs.sgml:
23709         * docs/libs/gstreamer-libs-sections.txt:
23710         * gst/base/gstadapter.c:
23711         * libs/gst/controller/gst-controller.c:
23712         (gst_controlled_property_new), (gst_controlled_property_free),
23713         (gst_controller_new_valist),
23714         (gst_controller_remove_properties_valist),
23715         (gst_controller_sink_values), (_gst_controller_finalize):
23716         * libs/gst/controller/gst-controller.h:
23717         * libs/gst/controller/gst-helper.c:
23718         (gst_object_control_properties), (gst_object_uncontrol_properties),
23719         (gst_object_get_controller), (gst_object_set_controller),
23720         (gst_object_sink_values), (gst_object_get_value_arrays),
23721         (gst_object_get_value_array):
23722           more tests (and fixes) for the controller
23723           more docs for the controller
23724           integrated companies docs for the adapter 
23725
23726 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23727
23728         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23729         (GST_START_TEST), (fakesrc_suite):
23730           add tests for sizetype
23731
23732 2005-08-04  Andy Wingo  <wingo@pobox.com>
23733
23734         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23735         fixes buffer_alloc proxying among other things.
23736
23737         * gst/base/gstbasetransform.c:
23738         * gst/base/gstbasetransform.h:
23739         Revert patch to gstbasetransform from 7-28 removing
23740         delay_configure.
23741
23742         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23743         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23744         Semantics changed, should return not the size of the output buffer
23745         but the byte size of a buffer with a given caps.
23746
23747         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23748         debug object.
23749         (gst_base_transform_configure_caps): Don't set out_size here: (in,
23750         out) are not the pad caps until setcaps finishes.
23751         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23752         not-in-place case as well. Deal with changing from in-place to
23753         not-in-place within calling pad_alloc_buffer. Still a bit
23754         concerned about the overhead here...
23755
23756 2005-08-03  Andy Wingo  <wingo@pobox.com>
23757
23758         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23759         fixating is an error.
23760
23761 2005-08-04  Edward Hervey  <edward@fluendo.com>
23762
23763         * gst/base/gstadapter.h: 
23764         Added gst_adapter_get_type() to the header
23765
23766 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23767
23768         * check/Makefile.am:
23769         * check/gst-libs/controller.c:
23770         * libs/gst/controller/gst-controller.c:
23771         (gst_controller_new_valist):
23772           added check test suite for the controller
23773         * gst/base/gstpushsrc.c:
23774           fixed a doc typo
23775
23776 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23777
23778         * docs/gst/Makefile.am:
23779         * docs/gst/gstreamer-docs.sgml:
23780         * docs/gst/gstreamer-sections.txt:
23781         * docs/gst/gstreamer.types:
23782         * docs/gst/tmpl/gstfakesrc.sgml:
23783         * gst/base/README:
23784         * gst/base/gstbasesink.c:
23785         * gst/base/gstbasesink.h:
23786         * gst/base/gstbasesrc.c:
23787         * gst/base/gstbasesrc.h:
23788         * gst/base/gstbasetransform.c:
23789         * gst/base/gstpushsrc.c:
23790         * gst/base/gstpushsrc.h:
23791           add short/long description docs to base classes
23792           add pushsrc to the docs
23793           remove consolidated doc fragments
23794
23795 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23796
23797         * configure.ac:
23798         * docs/libs/Makefile.am:
23799         * docs/libs/gstreamer-libs-docs.sgml:
23800         * docs/libs/gstreamer-libs-sections.txt:
23801         * docs/libs/gstreamer-libs.types:
23802         * examples/Makefile.am:
23803         * examples/controller/.cvsignore:
23804         * examples/controller/Makefile.am:
23805         * examples/controller/audio-example.c: (main):
23806         * libs/gst/Makefile.am:
23807         * libs/gst/controller/.cvsignore:
23808         * libs/gst/controller/Makefile.am:
23809         * libs/gst/controller/gst-controller.c:
23810         (on_object_controlled_property_changed), (gst_timed_value_compare),
23811         (gst_timed_value_find),
23812         (gst_controlled_property_set_interpolation_mode),
23813         (gst_controlled_property_new), (gst_controlled_property_free),
23814         (gst_controller_find_controlled_property),
23815         (gst_controller_new_valist), (gst_controller_new),
23816         (gst_controller_remove_properties_valist),
23817         (gst_controller_remove_properties), (gst_controller_set),
23818         (gst_controller_set_from_list), (gst_controller_unset),
23819         (gst_controller_get), (gst_controller_get_all),
23820         (gst_controller_sink_values), (gst_controller_get_value_arrays),
23821         (gst_controller_get_value_array),
23822         (gst_controller_set_interpolation_mode),
23823         (_gst_controller_finalize), (_gst_controller_init),
23824         (_gst_controller_class_init), (gst_controller_get_type):
23825         * libs/gst/controller/gst-controller.h:
23826         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23827         (g_object_uncontrol_properties), (g_object_get_controller),
23828         (g_object_set_controller), (g_object_sink_values),
23829         (g_object_get_value_arrays), (g_object_get_value_array):
23830         * libs/gst/controller/gst-interpolation.c:
23831         (gst_controlled_property_find_timed_value_node),
23832         (interpolate_none_get), (interpolate_trigger_get),
23833         (interpolate_trigger_get_value_array):
23834         * libs/gst/controller/lib.c: (gst_controller_init):
23835         * pkgconfig/Makefile.am:
23836         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23837         * pkgconfig/gstreamer-control.pc.in:
23838         * testsuite/Makefile.am:
23839         * testsuite/controller/.cvsignore:
23840         * testsuite/controller/Makefile.am:
23841         * testsuite/controller/interpolator.c: (main):
23842           added controller code
23843           removed dparam pc files
23844
23845 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23846         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23847         (gst_collectpads_stop):
23848           Broadcast the condition when shutting down, to make sure we wake all
23849           threads up. Shut down pads on finalize, for safety.
23850
23851 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23852         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23853         (gst_base_transform_handle_buffer),
23854         (gst_base_transform_change_state):
23855           Handle PAUSED->READY->PAUSED transition after negotiation
23856           occurred already.
23857         * gst/gstmessage.c: (gst_message_init):
23858           Extra piece of debug for new messages.
23859
23860 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23861
23862         * configure.ac:
23863         * docs/gst/tmpl/gstbasesrc.sgml:
23864         * docs/gst/tmpl/gstelement.sgml:
23865         * docs/gst/tmpl/gstevent.sgml:
23866         * docs/gst/tmpl/gstfakesrc.sgml:
23867         * docs/gst/tmpl/gstformat.sgml:
23868         * docs/gst/tmpl/gstghostpad.sgml:
23869         * docs/gst/tmpl/gstpad.sgml:
23870         * docs/gst/tmpl/gstquery.sgml:
23871         * docs/gst/tmpl/gststructure.sgml:
23872         * docs/gst/tmpl/gsttaglist.sgml:
23873         * docs/gst/tmpl/gstvalue.sgml:
23874         * docs/libs/gstreamer-libs-docs.sgml:
23875         * docs/libs/gstreamer-libs-sections.txt:
23876         * docs/libs/gstreamer-libs.types:
23877         * libs/gst/Makefile.am:
23878         * libs/gst/control/.cvsignore:
23879         * libs/gst/control/Makefile.am:
23880         * libs/gst/control/control.c:
23881         * libs/gst/control/control.h:
23882         * libs/gst/control/dparam.c:
23883         * libs/gst/control/dparam.h:
23884         * libs/gst/control/dparam_smooth.c:
23885         * libs/gst/control/dparam_smooth.h:
23886         * libs/gst/control/dparamcommon.h:
23887         * libs/gst/control/dparammanager.c:
23888         * libs/gst/control/dparammanager.h:
23889         * libs/gst/control/dplinearinterp.c:
23890         * libs/gst/control/dplinearinterp.h:
23891         * libs/gst/control/unitconvert.c:
23892         * libs/gst/control/unitconvert.h:
23893         * testsuite/Makefile.am:
23894         * testsuite/dynparams/.cvsignore:
23895         * testsuite/dynparams/Makefile.am:
23896         * testsuite/dynparams/dparamstest.c:
23897         * tools/Makefile.am:
23898         * tools/gst-inspect.c: (print_element_info), (main):
23899         * tools/gst-xmlinspect.c: (print_element_info), (main):
23900           deactivate and remove dparams (libgstcontrol)
23901
23902 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23903
23904         * gst/elements/gsttypefindelement.c:
23905         (gst_type_find_element_have_type), (gst_type_find_element_init),
23906         (stop_typefinding), (gst_type_find_element_handle_event),
23907         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23908         * gst/elements/gsttypefindelement.h:
23909           Set caps on all outgoing buffers, not just the first one.
23910
23911 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23912
23913         * gst/elements/gsttypefindelement.c:
23914         (gst_type_find_element_have_type),
23915         (gst_type_find_element_check_set_buffer_caps),
23916         (gst_type_find_element_init), (stop_typefinding),
23917         (gst_type_find_element_handle_event),
23918         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23919         * gst/elements/gsttypefindelement.h:
23920           Set caps on first outgoing buffer when we've found the type.
23921
23922 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23923
23924         * docs/gst/gstreamer-docs.sgml:
23925         * docs/gst/gstreamer-sections.txt:
23926         * docs/gst/tmpl/gstscheduler.sgml:
23927         * docs/gst/tmpl/gstschedulerfactory.sgml:
23928           Remove some old cruft from docs.
23929
23930 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23931
23932         * gst/gstpad.h:
23933           Fix inline docs for GstPadLinkReturn.
23934           
23935         * gst/gststructure.c: (gst_structure_has_name):
23936         * gst/gststructure.h:
23937         * docs/gst/gstreamer-sections.txt:
23938           New API: gst_structure_has_name().
23939
23940 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23941
23942         * configure.ac:
23943           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23944           and _LARGEFILE_SOURCE in config.h as required. Do not 
23945           export those flags in our .pc files any longer (#142209).
23946
23947           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23948
23949         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23950         (gst_file_sink_do_seek), (gst_file_sink_event),
23951         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23952           Redo seek/tell calls with large file support in mind; add some
23953           debugging messages; add log message that tells us when large
23954           file support is unavailable or not enabled for some reason.
23955
23956         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23957           Add log message that tells us when large file support 
23958           is unavailable or not enabled for some reason.
23959
23960 2005-07-29  Wim Taymans  <wim@fluendo.com>
23961
23962         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23963         Added test for removing an element with ghostpad from a bin.
23964         Fixed test as current implementation does the right thing.
23965
23966         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23967         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23968         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23969         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23970         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23971         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23972         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23973         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23974         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23975         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23976         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23977         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23978         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23979         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23980         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23981         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23982         * gst/gstghostpad.h:
23983         Clean up ghostpads, remove properties for internal stuff.
23984         Make threadsafe.
23985         Fix refcounting.
23986         Prepare for switching targets, not all use cases work yet.
23987
23988 2005-07-29  Wim Taymans  <wim@fluendo.com>
23989
23990         * docs/design/part-gstghostpad.txt:
23991         Small update.
23992
23993         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23994         (gst_bin_remove_func):
23995         Unlinking pads while holding the bin LOCK is not a good
23996         idea.
23997
23998         * gst/gstpad.c: (gst_pad_class_init),
23999         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
24000         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
24001         No prob setting template after creating the pad.
24002
24003 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
24004
24005         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
24006         (gst_bus_peek), (gst_bus_source_dispatch),
24007         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
24008         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
24009           gst_bus_poll may be called from other threads. Handle
24010           this nicely by not making poll_data disappear off the
24011           stack once gst_bus_poll returns.
24012           gst_bus_peek now increments the refcount on the returned
24013           message.
24014
24015 2005-07-29  Wim Taymans  <wim@fluendo.com>
24016
24017         * docs/design/part-gstghostpad.txt:
24018         Overview of current GhostPad datastructures and use
24019         cases for changing the target.
24020
24021 2005-07-28  Wim Taymans  <wim@fluendo.com>
24022
24023         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24024         Added checks for hierarchy consistency whan adding linked
24025         elements to bins.
24026
24027         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24028         Added check to test element scheduling without bin/pipeline.
24029
24030         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24031         First add elements to bin, then link.
24032         
24033         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24034         (gst_bin_remove_func):
24035         Unlink pads from elements added/removed from bin to maintain
24036         hierarchy consistency.
24037
24038 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24039
24040         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24041         (gst_base_transform_handle_buffer):
24042         * gst/base/gstbasetransform.h:
24043           Remove broken delay_configure (fixes renegotiation of software
24044           scaling pipelines); remove some leftover printf()s.
24045
24046 2005-07-28  Wim Taymans  <wim@fluendo.com>
24047
24048         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24049         Added some more tests for wrong hierarchy
24050
24051         * docs/design/part-overview.txt:
24052         Some updates.
24053
24054         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
24055         Cleanups.
24056
24057         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
24058         (gst_element_dispose):
24059         Some more cleanups.
24060
24061         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24062         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
24063         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24064         (gst_pad_set_caps), (gst_pad_send_event):
24065         Check for correct hierarchy when linking pads. Moving to
24066         strict requirement for ghostpads when linking elements in
24067         different bins.
24068
24069         * gst/gstpad.h:
24070         Clean ups. Added WRONG_HIERARCHY return value.
24071
24072 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24073
24074         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24075           Better debug if no transform is possible.
24076
24077 2005-07-27  Wim Taymans  <wim@fluendo.com>
24078
24079         * docs/random/wtay/network-transp:
24080         Some old doc I had.
24081
24082 2005-07-27  Wim Taymans  <wim@fluendo.com>
24083
24084         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24085         (gst_dp_event_from_packet):
24086         Fix serialization of seek events.
24087
24088 2005-07-27  Wim Taymans  <wim@fluendo.com>
24089
24090         * check/gst-libs/gdp.c: (GST_START_TEST):
24091         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24092         Fix compilation and fix event serialization.
24093
24094 2005-07-27  Wim Taymans  <wim@fluendo.com>
24095
24096         * CHANGES-0.9:
24097         * docs/design/part-TODO.txt:
24098         * docs/design/part-events.txt:
24099         Some docs updates
24100
24101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24102         (gst_base_sink_event), (gst_base_sink_do_sync),
24103         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24104         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24105         (gst_base_src_do_seek), (gst_base_src_event_handler),
24106         (gst_base_src_loop):
24107         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24108         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24109         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24110         (gst_base_transform_event), (gst_base_transform_handle_buffer),
24111         (gst_base_transform_set_passthrough),
24112         (gst_base_transform_is_passthrough):
24113         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24114         * gst/elements/gstfilesink.c: (gst_file_sink_event):
24115         Event updates.
24116
24117         * gst/gstbuffer.h:
24118         Use faster casts.
24119
24120         * gst/gstelement.c: (gst_element_seek):
24121         * gst/gstelement.h:
24122         Update gst_element_seek.
24123
24124         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
24125         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
24126         (gst_event_new_flush_start), (gst_event_new_flush_stop),
24127         (gst_event_new_eos), (gst_event_new_newsegment),
24128         (gst_event_parse_newsegment), (gst_event_new_tag),
24129         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
24130         (gst_event_parse_qos), (gst_event_new_seek),
24131         (gst_event_parse_seek), (gst_event_new_navigation):
24132         * gst/gstevent.h:
24133         Make GstEvent use GstStructure. Add parsing code, make sure the
24134         API is sufficiently generic.
24135         Mark possible directions of events and serialization.
24136
24137         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
24138         (_gst_message_copy), (gst_message_new_segment_start),
24139         (gst_message_new_segment_done), (gst_message_new_custom),
24140         (gst_message_parse_segment_start),
24141         (gst_message_parse_segment_done):
24142         Small cleanups.
24143
24144         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24145         (gst_pad_set_caps), (gst_pad_send_event):
24146         Update for new events. 
24147         Catch events sent in wrong directions.
24148
24149         * gst/gstqueue.c: (gst_queue_link_src),
24150         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24151         (gst_queue_handle_src_query):
24152         Event updates.
24153
24154         * gst/gsttag.c:
24155         * gst/gsttag.h:
24156         Remove event code from this file.
24157
24158         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24159         (gst_dp_event_from_packet):
24160         Event updates.
24161
24162 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24163
24164         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
24165         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24166         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
24167           Make debugging actually useful.
24168
24169 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24170
24171         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
24172         (gst_pad_fixate_caps):
24173           Implement default fixation once again, so that gst_pad_fixate()
24174           actually does anything at all. This probably needs to be some
24175           sort of a last resort, and use profile-based fixation first, but
24176           since that doesn't exist yet, this is the best we have. Fixes
24177           visualization in Totem.
24178
24179 2005-07-22  Wim Taymans  <wim@fluendo.com>
24180
24181         * docs/design/part-events.txt:
24182         Small update.
24183
24184         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24185         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
24186         (gst_base_sink_activate_pull):
24187         Some more comments.
24188
24189         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
24190         (gst_fake_src_create):
24191         Fix handoff marshall.
24192
24193         * gst/elements/gstidentity.c: (gst_identity_class_init),
24194         (gst_identity_transform_ip):
24195         We're a real inplace element.
24196
24197         * gst/gstbus.c: (gst_bus_post):
24198         Added some comments.
24199
24200         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
24201         * tests/muxing/case1.c: (main):
24202         * tests/sched/dynamic-pipeline.c: (main):
24203         * tests/sched/interrupt1.c: (main):
24204         * tests/sched/interrupt2.c: (main):
24205         * tests/sched/interrupt3.c: (main):
24206         * tests/sched/runxml.c: (main):
24207         * tests/sched/sched-stress.c: (main):
24208         * tests/seeking/seeking1.c: (event_received), (main):
24209         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24210         (main):
24211         * tests/threadstate/threadstate3.c: (main):
24212         * tests/threadstate/threadstate4.c: (main):
24213         * tests/threadstate/threadstate5.c: (main):
24214         Fix the tests.
24215
24216 2005-07-21  Wim Taymans  <wim@fluendo.com>
24217
24218         * docs/design/part-seeking.txt:
24219         Some small additions.
24220
24221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24222         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24223         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24224         * gst/base/gstbasesink.h:
24225         discont values are gint64, handle the math correctly.
24226
24227         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24228         Make the basesrc report error if the source pad is not linked.
24229
24230         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
24231         (gst_queue_loop), (gst_queue_handle_src_query),
24232         (gst_queue_src_activate_push):
24233         Make queue collect data even if the srcpad is not linked.
24234         Start pushing out data as soon as it is linked.
24235
24236         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
24237         * gst/gstutils.h:
24238         Added gst_flow_get_name() to ease error reporting.
24239
24240 2005-07-20  Wim Taymans  <wim@fluendo.com>
24241
24242         * gst/gstmessage.c: (gst_message_new_segment_start),
24243         (gst_message_new_segment_done), (gst_message_parse_segment_start),
24244         (gst_message_parse_segment_done):
24245         * gst/gstmessage.h:
24246         Added a bunch of messages for advanced seeking.
24247
24248         * gst/parse/grammar.y:
24249         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24250         (gst_dpman_state_changed):
24251         Fix some new-pad -> pad-added signals
24252
24253 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24254
24255         * docs/manual/appendix-porting.xml:
24256         * docs/pwg/appendix-porting.xml:
24257           Document new-pad/state-change signal renames and the FixedList
24258           type rename.
24259
24260 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24261
24262         * docs/manual/advanced-autoplugging.xml:
24263         * docs/manual/basics-helloworld.xml:
24264         * docs/manual/basics-pads.xml:
24265         * docs/random/ds/0.9-suggested-changes:
24266         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24267         * gst/gstelement.h:
24268         * gst/gstevent.h:
24269         * gst/gstformat.h:
24270         * gst/gstquery.h:
24271         * gst/gststructure.c: (gst_structure_value_get_generic_type),
24272         (gst_structure_parse_array), (gst_structure_parse_value):
24273         * gst/gstvalue.c: (gst_type_is_fixed),
24274         (gst_value_list_prepend_value), (gst_value_list_append_value),
24275         (gst_value_list_get_size), (gst_value_list_get_value),
24276         (gst_value_transform_array_string), (gst_value_serialize_array),
24277         (gst_value_deserialize_array), (gst_value_intersect_array),
24278         (gst_value_is_fixed), (_gst_value_initialize):
24279         * gst/gstvalue.h:
24280           GstElement::new-pad -> pad-added, GstElement::state-change ->
24281           state-changed, GstValueFixedList -> GstValueArray, add format and
24282           flags as their own arguments in gst_element_seek() (should improve
24283           "bindeability"), remove function generators since they don't work
24284           under a whole bunch of compilers (they were deprecated already
24285           anyway).
24286
24287 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24288
24289         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24290         (_gst_debug_register_funcptr):
24291         * gst/gstinfo.h:
24292           Fix illegal cast on some platforms (#309253).
24293
24294 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24295
24296         * gst/gstmessage.c: (gst_message_new_custom):
24297         * gst/gstmessage.h:
24298           Add _new_custom, make _new_application a macro to _new_custom.
24299
24300 2005-07-20  Wim Taymans  <wim@fluendo.com>
24301
24302         * gst/base/gstbasesrc.c: (gst_base_src_init),
24303         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24304         * gst/base/gstbasesrc.h:
24305         Add a gboolean to decide when to push out a discont.
24306
24307         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24308         (gst_queue_loop), (gst_queue_handle_src_query),
24309         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24310         (gst_queue_set_property), (gst_queue_get_property):
24311         Some cleanups.
24312
24313         * tests/threadstate/threadstate1.c: (main):
24314         Make a thread test compile and run... very silly..
24315
24316
24317 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24318
24319         * docs/manual/appendix-porting.xml:
24320           Mention removal of libgstgconf-0.9.la and existence of gconf
24321           elements.
24322
24323 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24324
24325         * docs/pwg/advanced-clock.xml:
24326         * docs/pwg/appendix-porting.xml:
24327         * docs/pwg/intro-preface.xml:
24328         * docs/pwg/other-base.xml:
24329         * docs/pwg/other-manager.xml:
24330         * docs/pwg/other-nton.xml:
24331         * docs/pwg/other-ntoone.xml:
24332         * docs/pwg/other-oneton.xml:
24333         * docs/pwg/pwg.xml:
24334           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24335           demuxer), remove n-to-n (was never written), fix some code examples
24336           and links and update the porting section to include all this.
24337
24338 2005-07-19  Wim Taymans  <wim@fluendo.com>
24339
24340         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24341         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24342         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24343         (gst_queue_src_activate_push), (gst_queue_change_state),
24344         (gst_queue_get_property):
24345         * gst/gstqueue.h:
24346         Propagate GstFlowReturn more intelligently upstream and output
24347         an ERROR/EOS when streaming stopped due to fatal error.
24348
24349 2005-07-19  Wim Taymans  <wim@fluendo.com>
24350
24351         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24352         Don't block forever for the state change to complete, the
24353         pipeline already did with a sensible timeout.
24354
24355 2005-07-19  Wim Taymans  <wim@fluendo.com>
24356
24357         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24358         Make sure we never call the create function is we
24359         got deactivated.
24360
24361 2005-07-19  Andy Wingo  <wingo@pobox.com>
24362
24363         * gst/parse/parse.l: Attempt to solve bug #172815.
24364
24365 2005-07-19  Wim Taymans  <wim@fluendo.com>
24366
24367         * docs/design/part-clocks.txt:
24368         * docs/design/part-events.txt:
24369         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24370         Small docs updates.
24371         Only update the seeking values when we are not
24372         busy streaming.
24373
24374 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24375
24376         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24377           Oops, ignore the result of gst_pad_push_event here.
24378
24379 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24380
24381         * gst/base/gstbasesrc.c: (gst_base_src_loop),
24382         (gst_base_src_activate_push):
24383           Send discont event from the loop function, as pads
24384           aren't activated yet in the activate_push handler.
24385
24386         * gst/gstbin.c: (bin_bus_handler):
24387           Don't leak element name.
24388
24389 2005-07-18  Andy Wingo  <wingo@pobox.com>
24390
24391         * configure.ac: Use AS_LIBTOOL_TAGS.
24392
24393 2005-07-18  Wim Taymans  <wim@fluendo.com>
24394
24395         * docs/gst/gstreamer.types:
24396         Remove deleted types.
24397
24398 2005-07-18  Wim Taymans  <wim@fluendo.com>
24399
24400         * check/elements/gstfakesrc.c: (GST_START_TEST):
24401         * configure.ac:
24402         * gst/Makefile.am:
24403         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24404         (init_popt_callback):
24405         * gst/gst.h:
24406         * gst/gst_private.h:
24407         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24408         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24409         * gst/gstbin.h:
24410         * gst/gstbus.h:
24411         * gst/gstconfig.h.in:
24412         * gst/gstelement.c: (gst_element_class_init),
24413         (gst_element_set_base_time), (gst_element_get_base_time),
24414         (iterator_fold_with_resync), (gst_element_change_state),
24415         (gst_element_dispose), (gst_element_get_bus):
24416         * gst/gstelement.h:
24417         * gst/gstelementfactory.h:
24418         * gst/gsterror.c: (_gst_core_errors_init):
24419         * gst/gsterror.h:
24420         * gst/gstevent.h:
24421         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24422         * gst/gstindex.c:
24423         * gst/gstinfo.c: (_gst_debug_init):
24424         * gst/gstmessage.c: (_gst_message_copy):
24425         * gst/gstmessage.h:
24426         * gst/gstminiobject.h:
24427         * gst/gstobject.c:
24428         * gst/gstobject.h:
24429         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24430         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24431         * gst/gstpad.h:
24432         * gst/gstparse.h:
24433         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24434         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24435         (gst_pipeline_get_last_stream_time):
24436         * gst/gstpipeline.h:
24437         * gst/gstpluginfeature.h:
24438         * gst/gstquery.h:
24439         * gst/gstscheduler.c:
24440         * gst/gstscheduler.h:
24441         * gst/gststructure.h:
24442         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24443         (gst_task_finalize), (gst_task_func), (gst_task_create),
24444         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24445         (gst_task_stop), (gst_task_pause):
24446         * gst/gsttask.h:
24447         * gst/gsttypefind.h:
24448         * gst/gsttypes.h:
24449         * gst/registries/gstlibxmlregistry.c: (load_feature),
24450         (gst_xml_registry_load), (gst_xml_registry_save_feature):
24451         * gst/registries/gstxmlregistry.c:
24452         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24453         * gst/schedulers/threadscheduler.c:
24454         * libs/gst/control/dparammanager.h:
24455         * tools/gst-inspect.c: (print_element_list),
24456         (print_plugin_features), (print_element_features):
24457         * tools/gst-xmlinspect.c: (print_element_list),
24458         (print_plugin_info), (main):
24459         Removed plugable schedulers.
24460         Removed Scheduler/Manager from elements.
24461         Removed gsttypes.h, rearranged includes.
24462         Removed dependency pad<->element, element<>pipeline, and
24463         various others,  fix includes.
24464         implement gst_pad_get_parent() with gst_object_get_parent()
24465         Make GstTask sefcontained.
24466         Fix _get_state() on GstBin, it did not return ASYNC with a 0
24467         timeout.
24468         Fix endless loop in iterator_fold_with_resync.
24469
24470
24471 2005-07-18  Wim Taymans  <wim@fluendo.com>
24472
24473         * gst/Makefile.am:
24474         * gst/gstarch.h:
24475         Remove old file.
24476
24477 2005-07-18  Wim Taymans  <wim@fluendo.com>
24478
24479         * gst/Makefile.am:
24480         No more cothreads.h
24481
24482 2005-07-18  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/cothreads.c:
24485         * gst/cothreads.h:
24486         Let's remove these.
24487
24488 2005-07-18  Wim Taymans  <wim@fluendo.com>
24489
24490         * docs/design/part-dynamic.txt:
24491         * docs/design/part-events.txt:
24492         * docs/design/part-seeking.txt:
24493         Some more docs in the works.
24494
24495         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24496         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24497         (gst_base_transform_setcaps), (gst_base_transform_get_size),
24498         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24499         (gst_base_transform_handle_buffer),
24500         (gst_base_transform_sink_activate_push),
24501         (gst_base_transform_src_activate_pull),
24502         (gst_base_transform_set_passthrough),
24503         (gst_base_transform_is_passthrough):
24504         Refcounting fixes.
24505
24506         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24507         Cleanups.
24508
24509         * gst/gstevent.c: (gst_event_finalize):
24510         Set SRC to NULL.
24511
24512         * gst/gstutils.c: (gst_element_unlink),
24513         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24514         (gst_pad_proxy_setcaps):
24515         * gst/gstutils.h:
24516         Add _get_parent_element() to get a pads parent as an element.
24517
24518 2005-07-18  Wim Taymans  <wim@fluendo.com>
24519
24520         * check/gst/gstbin.c: (GST_START_TEST):
24521         Remove bogus test.
24522
24523 2005-07-18  Wim Taymans  <wim@fluendo.com>
24524
24525         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24526         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24527         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24528         (gst_base_sink_event), (gst_base_sink_do_sync),
24529         (gst_base_sink_chain), (gst_base_sink_loop),
24530         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24531         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24532         Refcounting fixes.
24533         Fix logic for returning ASYNC when not prerolled.
24534
24535 2005-07-18  Wim Taymans  <wim@fluendo.com>
24536
24537         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24538         Fix nasty refcount bug.
24539
24540 2005-07-16 Philippe Khalaf <burger@speedy.org>
24541
24542         * gst/elements/gstfdsrc.c:
24543         * gst/elements/gstfdsrc.h:
24544         * gst/elements/gstelements.c:
24545         * gst/elements/Makefile.am:
24546         Ported fdsrc to 0.9.
24547
24548 2005-07-16  Wim Taymans  <wim@fluendo.com>
24549
24550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24551         (gst_base_sink_do_sync):
24552         Fix compile error.
24553
24554 2005-07-16  Wim Taymans  <wim@fluendo.com>
24555
24556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24557         (gst_base_sink_event), (gst_base_sink_get_times),
24558         (gst_base_sink_do_sync), (gst_base_sink_change_state):
24559         * gst/base/gstbasesink.h:
24560         Store and use discont values when syncing buffers as described
24561         in design docs.
24562         
24563         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24564         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24565         (gst_base_src_activate_push):
24566         Push discont event when starting.
24567
24568         * gst/elements/gstidentity.c: (gst_identity_transform):
24569         Small cleanups.
24570
24571         * gst/gstbin.c: (gst_bin_change_state):
24572         Small cleanups in base_time  distribution.
24573
24574         * gst/gstelement.c: (gst_element_set_base_time),
24575         (gst_element_get_base_time), (gst_element_change_state):
24576         * gst/gstelement.h:
24577         Added methods for the base_time of the element.
24578         Some MT fixes.
24579
24580         * gst/gstpipeline.c: (gst_pipeline_send_event),
24581         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24582         (gst_pipeline_get_last_stream_time):
24583         * gst/gstpipeline.h:
24584         MT fixes.
24585         Handle seeking as described in design doc, remove stream_time
24586         hack.
24587         Cleanups clock and stream_time selection code. Added accessors
24588         for the stream_time.
24589         
24590
24591 2005-07-16  Andy Wingo  <wingo@pobox.com>
24592
24593         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24594         (#305291).
24595
24596 2005-07-16  Wim Taymans  <wim@fluendo.com>
24597
24598         * check/gst/gstbin.c: (GST_START_TEST):
24599         Make elements silent as the deep_notify refs the
24600         parent, which might make the test fail.
24601
24602         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24603         Don't hold the lock for too long.
24604
24605 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
24606
24607         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24608           Don't unref the caps we passed to gst_caps_make_writable() after
24609           passing them. gst_caps_make_writable() will do that for us.
24610
24611 2005-07-15  Andy Wingo  <wingo@pobox.com>
24612
24613         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24614         (#157311).
24615
24616         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24617         own marshalling function for the handoff signal. Properly type the
24618         buffer as a buffer. Fixes some warnings. Should do a more general
24619         solution.
24620         (gst_identity_class_init): Plug into the right marshaller.
24621
24622 2005-07-15  Wim Taymans  <wim@fluendo.com>
24623
24624         * docs/design/part-TODO.txt:
24625         * docs/design/part-clocks.txt:
24626         * docs/design/part-element-sink.txt:
24627         * docs/design/part-events.txt:
24628         * docs/design/part-gstpipeline.txt:
24629         Updated docs, mostly DISCONT related.
24630
24631 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
24632
24633         * docs/pwg/building-pads.xml:
24634           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24635
24636 2005-07-15  Andy Wingo  <wingo@pobox.com>
24637
24638         * tools/gst-typefind.c: Update, add copyright block.
24639
24640         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24641         Normalize and truncate caps before fixation.
24642
24643         * gst/gstcaps.h:
24644         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24645         discards all but the first structure from its argument.
24646
24647 2005-07-15  Wim Taymans  <wim@fluendo.com>
24648
24649         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24650         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24651         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24652         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24653         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24654         (gst_base_transform_chain), (gst_base_transform_change_state),
24655         (gst_base_transform_set_passthrough),
24656         (gst_base_transform_is_passthrough):
24657         * gst/base/gstbasetransform.h:
24658         Make passthrough work using the bufferpools.
24659         Changed API a bit, subclasses have to write into a buffer
24660         provided by the base class.
24661         More debug info in nego functions.
24662         
24663         * gst/elements/gstidentity.c: (gst_identity_init),
24664         (gst_identity_transform):
24665         Port to new base class.
24666
24667 2005-07-15  Wim Taymans  <wim@fluendo.com>
24668
24669         * gst/gstmessage.c: (gst_message_new_state_changed):
24670         * tools/gst-launch.c: (event_loop), (main):
24671         Totally dump messages in -launch with the -m option.
24672         Fix message name for State messages,
24673
24674 2005-07-14  Wim Taymans  <wim@fluendo.com>
24675
24676         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24677         Post error messages on errors.
24678
24679 2005-07-14  Wim Taymans  <wim@fluendo.com>
24680
24681         * gst/gstcaps.c: (gst_caps_do_simplify):
24682         Remove debug info.
24683
24684         * gst/gsterror.h:
24685         Define error for stream stopped.
24686
24687         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24688         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24689         Do proper return values.
24690
24691         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24692         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24693         (gst_pad_get_range):
24694         Better return values.
24695
24696         * gst/gstpad.h:
24697         Reorganise return values, add macro to check for fatal errors.
24698
24699         * gst/gstqueue.c: (gst_queue_chain):
24700         Return proper GstFlowReturn values,
24701
24702 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
24703
24704         * docs/gst/gstreamer-sections.txt:
24705         * docs/gst/gstreamer.types:
24706         * docs/gst/tmpl/gst.sgml:
24707         * docs/gst/tmpl/gstbasesink.sgml:
24708         * docs/gst/tmpl/gstbasesrc.sgml:
24709         * docs/gst/tmpl/gstbasetransform.sgml:
24710         * docs/gst/tmpl/gstbin.sgml:
24711         * docs/gst/tmpl/gstbuffer.sgml:
24712         * docs/gst/tmpl/gstcaps.sgml:
24713         * docs/gst/tmpl/gstclock.sgml:
24714         * docs/gst/tmpl/gstcompat.sgml:
24715         * docs/gst/tmpl/gstconfig.sgml:
24716         * docs/gst/tmpl/gstelement.sgml:
24717         * docs/gst/tmpl/gstelementdetails.sgml:
24718         * docs/gst/tmpl/gstelementfactory.sgml:
24719         * docs/gst/tmpl/gstenumtypes.sgml:
24720         * docs/gst/tmpl/gsterror.sgml:
24721         * docs/gst/tmpl/gstevent.sgml:
24722         * docs/gst/tmpl/gstfakesink.sgml:
24723         * docs/gst/tmpl/gstfakesrc.sgml:
24724         * docs/gst/tmpl/gstfilesink.sgml:
24725         * docs/gst/tmpl/gstfilesrc.sgml:
24726         * docs/gst/tmpl/gstfilter.sgml:
24727         * docs/gst/tmpl/gstformat.sgml:
24728         * docs/gst/tmpl/gstghostpad.sgml:
24729         * docs/gst/tmpl/gstimplementsinterface.sgml:
24730         * docs/gst/tmpl/gstindex.sgml:
24731         * docs/gst/tmpl/gstindexfactory.sgml:
24732         * docs/gst/tmpl/gstinfo.sgml:
24733         * docs/gst/tmpl/gstiterator.sgml:
24734         * docs/gst/tmpl/gstmacros.sgml:
24735         * docs/gst/tmpl/gstmemchunk.sgml:
24736         * docs/gst/tmpl/gstminiobject.sgml:
24737         * docs/gst/tmpl/gstobject.sgml:
24738         * docs/gst/tmpl/gstpad.sgml:
24739         * docs/gst/tmpl/gstpadtemplate.sgml:
24740         * docs/gst/tmpl/gstparse.sgml:
24741         * docs/gst/tmpl/gstpipeline.sgml:
24742         * docs/gst/tmpl/gstplugin.sgml:
24743         * docs/gst/tmpl/gstpluginfeature.sgml:
24744         * docs/gst/tmpl/gstquery.sgml:
24745         * docs/gst/tmpl/gstqueue.sgml:
24746         * docs/gst/tmpl/gstregistry.sgml:
24747         * docs/gst/tmpl/gstregistrypool.sgml:
24748         * docs/gst/tmpl/gstscheduler.sgml:
24749         * docs/gst/tmpl/gstschedulerfactory.sgml:
24750         * docs/gst/tmpl/gststructure.sgml:
24751         * docs/gst/tmpl/gstsystemclock.sgml:
24752         * docs/gst/tmpl/gsttaglist.sgml:
24753         * docs/gst/tmpl/gsttagsetter.sgml:
24754         * docs/gst/tmpl/gsttrace.sgml:
24755         * docs/gst/tmpl/gsttrashstack.sgml:
24756         * docs/gst/tmpl/gsttypefind.sgml:
24757         * docs/gst/tmpl/gsttypefindfactory.sgml:
24758         * docs/gst/tmpl/gsttypes.sgml:
24759         * docs/gst/tmpl/gsturihandler.sgml:
24760         * docs/gst/tmpl/gsturitype.sgml:
24761         * docs/gst/tmpl/gstutils.sgml:
24762         * docs/gst/tmpl/gstvalue.sgml:
24763         * docs/gst/tmpl/gstversion.sgml:
24764         * docs/gst/tmpl/gstxml.sgml:
24765         * docs/libs/tmpl/gstcontrol.sgml:
24766         * docs/libs/tmpl/gstdataprotocol.sgml:
24767         * docs/libs/tmpl/gstdparam.sgml:
24768         * docs/libs/tmpl/gstdplinint.sgml:
24769         * docs/libs/tmpl/gstdpman.sgml:
24770         * docs/libs/tmpl/gstdpsmooth.sgml:
24771         * docs/libs/tmpl/gstgetbits.sgml:
24772         * docs/libs/tmpl/gstunitconvert.sgml:
24773         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24774         (gst_push_src_base_init), (gst_push_src_class_init),
24775         (gst_push_src_init), (gst_push_src_create):
24776         * gst/base/gstpushsrc.h:
24777         * gst/elements/gstelements.c:
24778         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24779         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24780         (gst_fake_sink_init), (gst_fake_sink_set_property),
24781         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24782         (gst_fake_sink_event), (gst_fake_sink_preroll),
24783         (gst_fake_sink_render), (gst_fake_sink_change_state):
24784         * gst/elements/gstfakesink.h:
24785         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24786         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24787         (gst_fake_src_base_init), (gst_fake_src_class_init),
24788         (gst_fake_src_init), (gst_fake_src_event_handler),
24789         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24790         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24791         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24792         (gst_fake_src_create_buffer), (gst_fake_src_create),
24793         (gst_fake_src_start), (gst_fake_src_stop):
24794         * gst/elements/gstfakesrc.h:
24795         * gst/elements/gstfilesink.c: (_do_init),
24796         (gst_file_sink_base_init), (gst_file_sink_class_init),
24797         (gst_file_sink_init), (gst_file_sink_dispose),
24798         (gst_file_sink_set_location), (gst_file_sink_set_property),
24799         (gst_file_sink_get_property), (gst_file_sink_open_file),
24800         (gst_file_sink_close_file), (gst_file_sink_query),
24801         (gst_file_sink_event), (gst_file_sink_render),
24802         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24803         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24804         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24805         * gst/elements/gstfilesink.h:
24806         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24807         (gst_file_src_class_init), (gst_file_src_init),
24808         (gst_file_src_finalize), (gst_file_src_set_location),
24809         (gst_file_src_set_property), (gst_file_src_get_property),
24810         (gst_file_src_map_region), (gst_file_src_map_small_region),
24811         (gst_file_src_create_mmap), (gst_file_src_create_read),
24812         (gst_file_src_create), (gst_file_src_is_seekable),
24813         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24814         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24815         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24816         (gst_file_src_uri_handler_init):
24817         * gst/elements/gstfilesrc.h:
24818           more autistic cleanliness in functions/names/defines
24819
24820 2005-07-13  Andy Wingo  <wingo@pobox.com>
24821
24822         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24823         source couldn't negotiate.
24824
24825         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24826         connections again.
24827
24828         * gst/gstutils.h:
24829         * gst/gstutils.c (gst_element_link_pads_filtered): New old
24830         function. I am channeling Hades. Put your boots on suckers!!!
24831
24832 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24833
24834         * testsuite/caps/Makefile.am:
24835         * testsuite/caps/value_compare.c:
24836         * testsuite/caps/value_intersect.c:
24837         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24838           move two testsuite apps over to the check dir
24839
24840 2005-07-12  Wim Taymans  <wim@fluendo.com>
24841
24842         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24843         Added more debug info in the negotiate process.
24844
24845         * gst/gstmessage.h:
24846         Prepare for segment playback.
24847
24848         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24849         Better debugging.
24850
24851         * gst/gstutils.c:
24852         Some more docs.
24853
24854         * tools/gst-launch.c: (main):
24855         NULL pipeline on errors.
24856
24857 2005-07-12  Andy Wingo  <wingo@pobox.com>
24858
24859         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24860         not it comes from a malloc region. Make sure our copy gets freed.
24861
24862 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24863
24864         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24865         * check/gst/gstmessage.c: (GST_START_TEST):
24866         * check/gst/gststructure.c: (GST_START_TEST),
24867         (gst_structure_suite), (main):
24868           more testing
24869         * gst/gstelement.c: (gst_element_message_full):
24870           clean up GError and debug string now that they get copied
24871         * gst/gstmessage.c: (gst_message_new_error),
24872         (gst_message_new_warning), (gst_message_parse_error),
24873         (gst_message_parse_warning):
24874           use GST_TYPE_G_ERROR for structure_new, and take copies of
24875           arguments, so that we don't mess up refcounting
24876
24877 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24878
24879         * check/Makefile.am:
24880           add per-test valgrind targets
24881         * check/gst-libs/gdp.c: (GST_START_TEST),
24882         (gst_data_protocol_suite), (main):
24883           clean up
24884
24885 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24886
24887         * check/Makefile.am:
24888           instate more valgrindable tests
24889         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24890         (GST_START_TEST), (fakesrc_suite):
24891         * check/gst/gstpad.c: (GST_START_TEST):
24892         * check/gst/gststructure.c: (GST_START_TEST):
24893           fix test leaks
24894         * docs/gst/tmpl/gstminiobject.sgml:
24895         * gst/gstpad.c: (gst_pad_finalize):
24896           fix the static mutex leak
24897
24898 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24899
24900         * check/Makefile.am:
24901           add two more tests for valgrinding
24902         * check/gst/gstvalue.c: (GST_START_TEST):
24903           test refcount of deserialized buffer, found a leak
24904         * docs/gst/gstreamer-docs.sgml:
24905         * docs/gst/gstreamer-sections.txt:
24906         * docs/gst/gstreamer.types:
24907         * docs/gst/tmpl/gstminiobject.sgml:
24908           add miniobject to docs
24909         * gst/gstminiobject.c:
24910           add some docs
24911         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24912         (gst_string_unwrap):
24913           fix a hard-to-find invalid write for one of the tests
24914           fix a leak for deserialized buffers
24915
24916 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24917
24918         * docs/pwg/advanced-events.xml:
24919         * docs/pwg/advanced-request.xml:
24920         * docs/pwg/advanced-scheduling.xml:
24921         * docs/pwg/appendix-porting.xml:
24922         * docs/pwg/building-boiler.xml:
24923         * docs/pwg/intro-preface.xml:
24924         * docs/pwg/other-ntoone.xml:
24925           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24926           of example code and explanation for pad activation, loop() and
24927           getrange() functions and a bit more. Remove old comments pointing
24928           to loop-functions.
24929         * examples/pwg/Makefile.am:
24930           Add loop/getrange examples.
24931
24932 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24933
24934         * configure.ac:
24935           check for valgrind binary + some fixes
24936         * check/gst.supp:
24937           valgrind suppressions for the tests
24938         * check/Makefile.am:
24939           add a valgrind: target that valgrinds the unit tests
24940         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24941         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24942         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24943         * check/gst/gstghostpad.c:
24944           added some cleanup
24945         * check/gst/gstdata.c:
24946           removed
24947         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24948         (thread_unref), (gst_mini_object_suite), (main):
24949           added
24950         * gst/gst.c: (gst_deinit):
24951         * gst/gst.h:
24952           add a method to clean up.
24953         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24954         (gst_system_clock_obtain):
24955           allow for disposing the system clock.
24956         * tools/gst-launch.c: (main):
24957           deinit
24958
24959 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24960
24961         * docs/gst/tmpl/gstbasesrc.sgml:
24962         * docs/gst/tmpl/gstfakesrc.sgml:
24963         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24964         (gst_base_src_init), (gst_base_src_set_property),
24965         (gst_base_src_get_property), (gst_base_src_get_range),
24966         (gst_base_src_start):
24967         * gst/base/gstbasesrc.h:
24968           add num-buffers property
24969         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24970         (gst_fakesrc_init), (gst_fakesrc_set_property),
24971         (gst_fakesrc_get_property), (gst_fakesrc_create),
24972         (gst_fakesrc_start):
24973           remove num-buffers property
24974
24975 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24976
24977         * docs/gst/gstreamer-sections.txt:
24978         * docs/gst/tmpl/gstbasesink.sgml:
24979         * docs/gst/tmpl/gstbasesrc.sgml:
24980         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24981         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24982         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24983         (gst_base_sink_set_property), (gst_base_sink_get_property),
24984         (gst_base_sink_handle_object), (gst_base_sink_event),
24985         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24986         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24987         (gst_base_sink_loop), (gst_base_sink_deactivate),
24988         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24989         (gst_base_sink_change_state):
24990         * gst/base/gstbasesink.h:
24991         * gst/base/gstbasesrc.h:
24992         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24993         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24994         (gst_filesink_init):
24995           more macro splitting
24996
24997 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24998
24999         * gst/gstelement.c: (gst_element_get_bus):
25000           add debug
25001         * tools/gst-launch.c: (check_intr), (event_loop):
25002           fix bus leaks
25003
25004 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25005
25006         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
25007           fix a caps leak
25008
25009 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25010
25011         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25012         (gst_base_src_finalize):
25013           add finalize method and clean up properly
25014         * gst/gstpipeline.c: (gst_pipeline_dispose):
25015           add debug
25016
25017 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25018
25019         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
25020         (gst_bin_suite):
25021           add more things to check
25022         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25023         * gst/gstelement.c:
25024           more debug
25025
25026 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25027
25028         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25029         (GST_START_TEST), (fakesrc_suite):
25030         * check/gst-libs/gdp.c: (GST_START_TEST):
25031         * check/gst/gst.c: (GST_START_TEST):
25032         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25033         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25034         * check/gst/gstbus.c: (GST_START_TEST):
25035         * check/gst/gstcaps.c: (GST_START_TEST):
25036         * check/gst/gstdata.c: (GST_START_TEST):
25037         * check/gst/gstelement.c: (GST_START_TEST):
25038         * check/gst/gstghostpad.c: (GST_START_TEST):
25039         * check/gst/gstiterator.c: (GST_START_TEST):
25040         * check/gst/gstmessage.c: (GST_START_TEST):
25041         * check/gst/gstobject.c: (GST_START_TEST):
25042         * check/gst/gstpad.c: (GST_START_TEST):
25043         * check/gst/gststructure.c: (GST_START_TEST):
25044         * check/gst/gstsystemclock.c: (GST_START_TEST),
25045         (gst_systemclock_suite):
25046         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25047         * check/gst/gstvalue.c: (GST_START_TEST):
25048         * check/pipelines/cleanup.c: (GST_START_TEST):
25049         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25050         * check/states/sinks.c: (GST_START_TEST):
25051         * check/gstcheck.c: (gst_check_init):
25052         * check/gstcheck.h:
25053           add debugging category
25054           use GST_START_TEST now, so we add a debug line
25055
25056 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25057
25058         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
25059           add test for state change message on a bin
25060         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
25061           add another test
25062         * gst/gstbin.c: (gst_bin_init):
25063         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
25064         * gst/gstelement.c: (gst_element_post_message),
25065         (gst_element_set_state):
25066         * gst/gstelementfactory.c: (gst_element_factory_create):
25067         * gst/gstmessage.c: (gst_message_new):
25068         * gst/gstscheduler.c:
25069           various debugging additions and cleanups
25070
25071 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25072
25073         * check/Makefile.am:
25074         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
25075         (main):
25076           adding tests for elements
25077         * gst/gstelement.c: (gst_element_dispose):
25078
25079 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25080
25081         * gst/registries/gstlibxmlregistry.c: (load_feature):
25082           plug more leaks.  A simple gst_init() now is leakfree, yay.
25083
25084 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25085
25086         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
25087         (gst_xml_registry_load):
25088           plug another memleak
25089
25090 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25091
25092         * configure.ac:
25093           use GST_SET_ERROR_CFLAGS
25094         * docs/faq/cvs.xml:
25095           change to ERROR_CFLAGS
25096
25097 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25098
25099         * configure.ac:
25100           make GST_ERROR_CFLAGS overridable and re-enable Werror
25101         * docs/faq/cvs.xml:
25102           add a note about error CFLAGS
25103         * docs/gst/tmpl/gstfakesrc.sgml:
25104         * gst/elements/gstfakesrc.c:
25105           comment out some unused code
25106         * gst/gst.c: (split_and_iterate):
25107         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
25108         (load_feature):
25109           plug some memleaks
25110
25111 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25112
25113         * common/Makefile.am:
25114         * common/gtk-doc.mak:
25115         * docs/gst/Makefile.am:
25116           factor out gtk-doc.mak
25117
25118 2005-07-07  Wim Taymans  <wim@fluendo.com>
25119
25120         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
25121         (gst_thread_scheduler_dispose):
25122         Unlock the STREAM_LOCK completely.
25123
25124 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25125
25126         * check/Makefile.am:
25127         * check/elements/.cvsignore:
25128         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25129         (START_TEST), (fakesrc_suite), (main):
25130         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25131         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25132         (gst_fakesrc_create), (gst_fakesrc_start):
25133         * gst/elements/gstfakesrc.h:
25134           adding a first element test
25135
25136 2005-07-07  Andy Wingo  <wingo@pobox.com>
25137
25138         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
25139         debug message.
25140
25141 2005-07-07  Wim Taymans  <wim@fluendo.com>
25142
25143         * gst/gstquery.c:
25144         * gst/gstquery.h:
25145         Remove old types
25146
25147 2005-07-07  Wim Taymans  <wim@fluendo.com>
25148
25149         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
25150         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
25151         Allow subclasses to implement their own negotiation.
25152
25153 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25154
25155         * docs/design/part-gstbin.txt:
25156         * docs/design/part-gstpipeline.txt:
25157           Update design notes to reflect the movement of
25158           responsibility for bus handling from GstPipeline to
25159           GstBin
25160
25161 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25162
25163         * configure.ac:
25164           Remove unnecessary queue2/3/4 examples.
25165
25166 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25167
25168         * examples/Makefile.am:
25169         * examples/helloworld/helloworld.c: (event_loop), (main):
25170         * examples/queue/queue.c: (event_loop), (main):
25171         * examples/queue2/queue2.c: (main):
25172           Update a couple of the examples to work again.
25173
25174         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25175         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
25176          Spelling corrections and extra debug.
25177         
25178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
25179         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
25180         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
25181         * gst/gstbin.h:
25182         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25183         (gst_pipeline_change_state):
25184         * gst/gstpipeline.h:
25185           Move the bus handler for children to the GstBin, and create a
25186           separate bus for receiving messages from children to the one the
25187           bus sends 'upwards' on.
25188
25189 2005-07-06  Wim Taymans  <wim@fluendo.com>
25190
25191         * gst/base/README:
25192         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25193         (gst_base_sink_handle_object), (gst_base_sink_loop),
25194         (gst_base_sink_change_state):
25195         * gst/base/gstbasesink.h:
25196         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25197         (gst_base_src_init), (gst_base_src_setcaps),
25198         (gst_base_src_getcaps), (gst_base_src_loop),
25199         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
25200         (gst_base_src_start), (gst_base_src_change_state):
25201         * gst/base/gstbasesrc.h:
25202         Make basesrc negotiate.
25203         Handle the case where preroll fails in basesink.
25204         Update README.
25205
25206 2005-07-06  Wim Taymans  <wim@fluendo.com>
25207
25208         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
25209         Implement the fixate function.
25210         Clean up acceptcaps.
25211
25212 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25213
25214         * docs/pwg/building-filterfactory.xml:
25215         * docs/pwg/pwg.xml:
25216           Remove never-written filter-factory chapter; I'll add the various
25217           base classes to part 4 ("other element types") later on.
25218
25219 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25220
25221         * docs/pwg/advanced-negotiation.xml:
25222         * docs/pwg/building-boiler.xml:
25223         * docs/pwg/building-pads.xml:
25224         * docs/pwg/pwg.xml:
25225         * examples/pwg/Makefile.am:
25226           Add a chapter on caps negotiation, simplify the original code
25227           samples a bit w.r.t. caps negotiation, add link to the advanced
25228           section. Add a bunch of examples showing different use cases of
25229           different types of caps negotiation. Upstream renegotiation isn't
25230           fully documented yet since nobody knows how that works.
25231
25232 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25233
25234         * check/gst/gstpad.c:
25235         * check/gstcheck.c:
25236         * gst/gstpad.c: (gst_pad_get_internal_links_default):
25237           if pad has no parent, return NULL as list of internal links
25238
25239 2005-07-05  Andy Wingo  <wingo@pobox.com>
25240
25241         * gst/elements/gstfilesrc.c:
25242         * gst/elements/gstfakesrc.c: 
25243         * gst/base/gstpushsrc.c:
25244         * gst/base/gstbasesrc.h: 
25245         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25246         
25247 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
25248
25249         * Makefile.am:
25250           better report generation target (lcov needs a patch)
25251
25252 2005-07-05  Andy Wingo  <wingo@pobox.com>
25253
25254         * gst/elements, testsuite: Null if we got it...
25255
25256 2005-07-05  Wim Taymans  <wim@fluendo.com>
25257
25258         * configure.ac:
25259         * libs/gst/dataprotocol/Makefile.am:
25260         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25261         * libs/gst/dataprotocol/dataprotocol.h:
25262         * pkgconfig/Makefile.am:
25263         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25264         * pkgconfig/gstreamer-dataprotocol.pc.in:
25265         Ported dataprotol to 0.9. 
25266         Added pkgconfig files.
25267
25268 2005-07-05  Andy Wingo  <wingo@pobox.com>
25269
25270         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25271         Default to returning TRUE for the case when tranform_caps returns
25272         a fixed caps, like for identity or volume.
25273
25274         * check/gst/gstbus.c (pound_bus_with_messages): 
25275         * check/gst/gstmessage.c (START_TEST): 
25276         * check/pipelines/simple_launch_lines.c (got_handoff): Application
25277         message API change.
25278
25279         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25280         logic weaks here: always run transform_caps, trying passthrough
25281         operation only if the original caps intersects with the transform.
25282
25283         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25284         source and sink caps.
25285
25286         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25287         Intersect the peer caps with the pad template before going into
25288         transform_caps.
25289         (gst_base_transform_transform_caps): More debugging.
25290
25291         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25292         src argument.
25293
25294 2005-07-04  Edward Hervey  <edward@fluendo.com>
25295
25296         * gst/gstutils.c:
25297         * gst/gstutils.h:
25298         (gst_pad_add_*_probe): now returns the signal id for better wrapping
25299         in bindings.
25300
25301 2005-07-04  Andy Wingo  <wingo@pobox.com>
25302
25303         * check/gst/gstpad.c: Only set explicit caps on pads.
25304
25305 2005-07-01  Andy Wingo  <wingo@pobox.com>
25306
25307         * tests/network-clock.scm: Commentary update.
25308
25309         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25310         Didn't really make sense, not implementable with basetransform,
25311         etc.
25312         (gst_identity_transform): Unref inbuf via make_writable. Feeble
25313         attempt at implementing the sync property, needs an unlock method.
25314
25315         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25316         New func, by default returns the same caps (the identity
25317         transformation).
25318         (gst_base_transform_getcaps): Uses transform_caps to return
25319         something sensible.
25320         (gst_base_transform_setcaps): Complicated logic to get caps on
25321         both pads, even if they are different, and to call set_caps once
25322         for every time both pads get their caps set.
25323         (gst_base_transform_handle_buffer): Give the ref to the transform
25324         function. Allows in-place modification of the buffer.
25325
25326         * gst/base/gstbasetransform.h (transform_caps): New class method.
25327         Given caps on one side, what can I do on the other.
25328         (set_caps): Take two caps, one for each side of the element.
25329
25330         * gst/gstpad.h:
25331         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25332         caps in place. This is safe because we can check the mutability of
25333         the caps, and a good idea because fixate functions are just called
25334         as a matter of last resort. (Not actually implemented.)
25335         (gst_pad_set_caps): If the caps we're setting is actually the same
25336         as the existing pad caps, just update the pointer without calling
25337         setcaps. Assert that caps is either NULL or fixed, as per the
25338         docs.
25339
25340         * gst/gstghostpad.c: Update for fixate changes.
25341
25342 2005-07-02  Andy Wingo  <wingo@pobox.com>
25343
25344         * gst/gstcaps.c:
25345         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25346         two refcounts makes it immutable, which is enough. Doc more.
25347
25348 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
25349
25350         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25351           Put the mini_object into GValue as a mini_object,
25352           not a gpointer, since that's how we declared
25353           the signal.
25354
25355 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25356
25357         * examples/pwg/Makefile.am:
25358           Fix buildbot again.
25359
25360 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25361
25362         * docs/pwg/building-testapp.xml:
25363           Add extra check.
25364         * examples/pwg/Makefile.am:
25365           Fix buildbot.
25366
25367 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25368
25369         * configure.ac:
25370         * examples/Makefile.am:
25371         * examples/pwg/Makefile.am:
25372         * examples/pwg/extract.pl:
25373           Enable building the PWG examples.
25374         * docs/pwg/advanced-interfaces.xml:
25375           Add URI interface stub.
25376         * docs/pwg/advanced-types.xml:
25377         * docs/pwg/other-autoplugger.xml:
25378         * docs/pwg/appendix-porting.xml:
25379         * docs/pwg/pwg.xml:
25380           Add porting guide (mostly stubs), remove autoplugging (see ADM).
25381         * docs/pwg/building-boiler.xml:
25382         * docs/pwg/building-chainfn.xml:
25383         * docs/pwg/building-pads.xml:
25384         * docs/pwg/building-props.xml:
25385         * docs/pwg/building-state.xml:
25386         * docs/pwg/building-testapp.xml:
25387           Update the building-*.xml parts for 0.9 changes. All examples
25388           code blocks compile in examples/pwg/*.
25389
25390 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25391
25392         * docs/manual/advanced-autoplugging.xml:
25393         * docs/manual/appendix-checklist.xml:
25394         * docs/manual/appendix-integration.xml:
25395         * docs/manual/highlevel-components.xml:
25396           Fix playbin/decodebin examples, update docs a bit, mention bus
25397           instead of signals in various places, mention kmplayer and
25398           kaffeine since they have a working GStreamer backend in the KDE
25399           section.
25400
25401 2005-06-30  Wim Taymans  <wim@fluendo.com>
25402
25403         * CHANGES-0.9:
25404         * docs/design/draft-ghostpads.txt:
25405         * docs/design/draft-push-pull.txt:
25406         * docs/design/draft-query.txt:
25407         * docs/design/part-TODO.txt:
25408         * docs/design/part-query.txt:
25409         Added CHANGES-0.9 doc, updated status of other docs.
25410         
25411         * gst/gstquery.h:
25412         Remove "hmm" macro
25413
25414 2005-06-30  Wim Taymans  <wim@fluendo.com>
25415
25416         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25417         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25418         (gst_base_sink_change_state):
25419         * gst/base/gstbasesink.h:
25420         Some tweaks, only EOS and a buffer complete a preroll.
25421
25422 2005-06-30  Andy Wingo  <wingo@pobox.com>
25423
25424         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25425         activate_push down to the internal pad as well.
25426
25427 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
25428
25429         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25430
25431         * gst/gsttaginterface.c:
25432           Some documentation fixes (#307394 and #307397).
25433
25434 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
25435
25436         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25437
25438         * gst/gstvalue.c: (gst_value_intersect_list):
25439           Fix memleak (#309125).
25440
25441 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25442
25443         * docs/manual/advanced-dataaccess.xml:
25444           Fix fakesrc example to compile; doesn't work, bug somewhere...?
25445         * docs/manual/basics-pads.xml:
25446           Add reference for filtered caps to above chapter.
25447
25448 2005-06-30  Wim Taymans  <wim@fluendo.com>
25449
25450         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25451         (gst_bin_change_state):
25452         Probes are gone.
25453         Lame attempt at making the state change function a bit
25454         more readable.
25455
25456 2005-06-30  Wim Taymans  <wim@fluendo.com>
25457
25458         * docs/design/part-clocks.txt:
25459         * docs/design/part-element-sink.txt:
25460         * docs/design/part-events.txt:
25461         * docs/design/part-preroll.txt:
25462         * docs/design/part-states.txt:
25463         Some more tweeks and additions to the docs.
25464
25465 2005-06-30  Wim Taymans  <wim@fluendo.com>
25466
25467         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25468         (default_have_data), (gst_pad_class_init), (gst_pad_init),
25469         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25470         (gst_pad_check_pull_range), (gst_pad_get_range),
25471         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25472         * gst/gstpad.h:
25473         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25474         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25475         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25476         (gst_pad_remove_buffer_probe):
25477         Removed atomic operations, use existing LOCK.
25478         Move exception handling out of main code path.
25479
25480 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25481
25482         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25483         (silly_return_true_function), (gst_pad_class_init),
25484         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25485         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25486         (gst_pad_send_event):
25487           Fix accumulator, add default value by using _emitv() instead
25488           of _emit() for signal emission.
25489
25490 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25491
25492         * docs/manual/advanced-dataaccess.xml:
25493         * examples/manual/Makefile.am:
25494           Add probe example.
25495         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25496           Make work (??).
25497
25498 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
25499
25500         * gst/elements/gstfilesink.c: (gst_filesink_render):
25501           Simplify code so that we don't have to handle short
25502           writes and return GST_FLOW_ERROR if an error occured.
25503
25504 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25505
25506         * docs/gst/gstreamer-docs.sgml:
25507           Remove probes more.
25508
25509 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25510
25511         * docs/gst/gstreamer-sections.txt:
25512         * docs/gst/tmpl/gstpad.sgml:
25513         * docs/gst/tmpl/gstprobe.sgml:
25514         * gst/Makefile.am:
25515         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25516         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25517         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25518         (gst_pad_push_event), (gst_pad_send_event):
25519         * gst/gstpad.h:
25520         * gst/gstutils.c: (gst_pad_add_data_probe),
25521         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25522         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25523         (gst_pad_remove_buffer_probe):
25524         * gst/gstutils.h:
25525           Remove old probes, add new g-signal-based probes and some utility
25526           functions.
25527
25528 2005-06-29  Edward Hervey  <edward@fluendo.com>
25529
25530         * gst/gstelementfactory.c:
25531         * gst/gstutils.h:
25532         * gst/gstutils.c:
25533         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25534         the definition to the header file.
25535
25536 2005-06-29  Andy Wingo  <wingo@pobox.com>
25537
25538         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25539         plugins from the source directory.
25540
25541 2005-06-29  Wim Taymans  <wim@fluendo.com>
25542
25543         * docs/gst/tmpl/gstbuffer.sgml:
25544         * docs/gst/tmpl/gstclock.sgml:
25545         Some fixings for blantently wrong text.
25546
25547 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25548
25549         * check/Makefile.am:
25550         * gst/gst.c: (add_path_func), (init_pre):
25551         * gst/gstregistry.c: (gst_registry_add_path):
25552           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25553           only scan the GST_PLUGIN_PATH locations, and not add
25554           system locations
25555
25556 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25557
25558         * docs/gst/gstreamer-sections.txt:
25559         * docs/gst/tmpl/gstbasesrc.sgml:
25560         * gst/gstelement.c:
25561         * gst/gstelement.h:
25562         * gst/gstevent.c:
25563         * gst/gstutils.c:
25564           doc fixes
25565
25566 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25567
25568         * docs/manual/advanced-autoplugging.xml:
25569           Fix autoplugging example.
25570
25571 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25572
25573         * docs/manual/advanced-autoplugging.xml:
25574         * docs/manual/mime-world.fig:
25575           Try to get autoplugging working, fix type detection. Fix text
25576           in hello-world image.
25577
25578 2005-06-29  Wim Taymans  <wim@fluendo.com>
25579
25580         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25581         (gst_base_sink_change_state):
25582         Small debug line.
25583
25584         * gst/gstclock.h:
25585         map SIGNAL and BROADCAST to the right function.
25586
25587         * gst/gstobject.h:
25588         Remove redundant braces.
25589
25590         * gst/gstpad.c: (gst_pad_set_caps):
25591         Don't call setcaps function when reseting caps to NULL.
25592
25593         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25594         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25595         (gst_system_clock_id_unschedule):
25596         Use BROADCAST as this is what we do.
25597
25598 2005-06-29  Wim Taymans  <wim@fluendo.com>
25599
25600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25601         We are actually prerolling before commiting the state
25602         change. 
25603
25604 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25605
25606         * docs/manual/advanced-clocks.xml:
25607         * docs/manual/advanced-interfaces.xml:
25608         * docs/manual/advanced-metadata.xml:
25609         * docs/manual/advanced-position.xml:
25610         * docs/manual/advanced-schedulers.xml:
25611         * docs/manual/advanced-threads.xml:
25612         * docs/manual/appendix-porting.xml:
25613         * docs/manual/basics-bins.xml:
25614         * docs/manual/basics-bus.xml:
25615         * docs/manual/basics-elements.xml:
25616         * docs/manual/basics-helloworld.xml:
25617         * docs/manual/basics-pads.xml:
25618         * docs/manual/highlevel-components.xml:
25619         * docs/manual/manual.xml:
25620         * docs/manual/thread.fig:
25621           Update (until threads/scheduling) Application Development Manual;
25622           remove GstThread, add GstBus, add simple porting checklist, add
25623           documentation for tag writing, clocks, make all examples until this
25624           part compile and run.
25625         * examples/manual/Makefile.am:
25626           Update from changes to Application Development Manual; add bus
25627           example, remove thread example.
25628
25629 2005-06-28  Wim Taymans  <wim@fluendo.com>
25630
25631         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25632         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25633         (gst_bus_source_dispatch):
25634         Add debugging messages.
25635         Make internal methods static.
25636         Handle the case where the bus is flushed in the handler.
25637         
25638         * gst/gstelement.c: (gst_element_get_bus):
25639         Fix refcount in _get_bus();
25640
25641         * gst/gstpipeline.c: (gst_pipeline_change_state),
25642         (gst_pipeline_get_clock_func):
25643         Clock refcounting fixes.
25644         Handle the case where preroll timed out more gracefully.
25645         
25646         * gst/gstsystemclock.c: (gst_system_clock_dispose):
25647         Clean up the internal thread in dispose. This is needed
25648         for subclasses that actually get disposed.
25649         
25650         * gst/schedulers/threadscheduler.c:
25651         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25652         (gst_thread_scheduler_dispose):
25653         Free thread pool in dispose.
25654
25655 2005-06-28  Andy Wingo  <wingo@pobox.com>
25656
25657         * tests/network-clock-utils.scm (debug, print-event): New utils.
25658
25659         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25660         (*packet-loss*): Unified loss probability.
25661         (network-time): Report out-of-band events.
25662
25663         * tests/plot-data: Add support for out-of-band events. Hack it
25664         into this script instead of passing it down the pipe; should fix
25665         this later.
25666
25667 2005-06-28  Wim Taymans  <wim@fluendo.com>
25668
25669         * docs/gst/gstreamer.types:
25670         * docs/gst/tmpl/gstbasesrc.sgml:
25671         * docs/gst/tmpl/gstpad.sgml:
25672         Docs fixes.
25673
25674 2005-06-28  Wim Taymans  <wim@fluendo.com>
25675
25676         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25677         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25678         (gst_proxy_pad_do_fixatecaps):
25679         Correctly proxy the check_pull_range function.
25680
25681 2005-06-28  Andy Wingo  <wingo@pobox.com>
25682
25683         * tests/network-clock.scm: Removed need for slib.
25684         
25685 2005-06-28  Wim Taymans  <wim@fluendo.com>
25686
25687         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25688         (gst_basesink_preroll_queue_flush):
25689         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25690         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25691         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25692         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25693         (gst_proxy_pad_set_property):
25694         * gst/gstpad.c:
25695         * gst/gstpad.h:
25696         * gst/gstqueue.c: (gst_queue_init):
25697         The deprecated pad loop function is removed now.
25698
25699 2005-06-28  Andy Wingo  <wingo@pobox.com>
25700
25701         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25702         New parameters, simulate network packet loss.
25703
25704         * tests/network-clock-utils.scm: Initialize the RNG.
25705
25706 2005-06-28  Wim Taymans  <wim@fluendo.com>
25707
25708         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25709         (gst_basesink_event), (gst_basesink_deactivate):
25710         Flushing the preroll queue always needs to unlock the waiters.
25711
25712 2005-06-28  Edward Hervey  <edward@fluendo.com>
25713
25714         * gst/gstpipeline.c: (gst_pipeline_send_event): 
25715         Wheen a seek was successful on a pipeline, set the stream_time to the
25716         seek offset in order to have a synchronized stream_time.
25717
25718 2005-06-28  Wim Taymans  <wim@fluendo.com>
25719
25720         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25721         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25722         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25723         (gst_proxy_pad_do_fixatecaps):
25724         Call wrapper function instead of just calling the function
25725         pointers. This takes care of any locking and whatmore.
25726
25727 2005-06-28  Wim Taymans  <wim@fluendo.com>
25728
25729         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25730         (gst_pad_pull_range):
25731         * gst/gstpad.h:
25732         CONNECTED -> LINKED.
25733
25734 2005-06-28  Andy Wingo  <wingo@pobox.com>
25735
25736         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25737         source-munging commit!!!
25738
25739         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
25740         (gst_object_sink): Take gpointer arguments, not GstObject --
25741         avoids casts. Like GLib.
25742
25743         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25744         activate.
25745
25746 2005-06-27  Andy Wingo  <wingo@pobox.com>
25747
25748         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25749         remaining buffer.
25750
25751         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25752         returns a sorted copy of the trace list.
25753         (gst_alloc_trace_print_live): New API, only prints traces with
25754         live objects. Sort the list.
25755         (gst_alloc_trace_print_all): Sort the list.
25756         (gst_alloc_trace_print): Align columns.
25757
25758         * gst/elements/gstttypefindelement.c:
25759         * gst/elements/gsttee.c:
25760         * gst/base/gstbasesrc.c:
25761         * gst/base/gstbasesink.c:
25762         * gst/base/gstbasetransform.c:
25763         * gst/gstqueue.c: Adapt for pad activation changes.
25764
25765         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25766         sched.
25767         (gst_pipeline_dispose): Drop ref on sched.
25768
25769         * gst/gstpad.c (gst_pad_init): Set the default activate func.
25770         (gst_pad_activate_default): Push mode by default.
25771         (pre_activate_switch, post_activate_switch): New stubs, things to
25772         do before and after switching activation modes on pads.
25773         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25774         the pad's activate function to choose which mode to activate.
25775         Shortcut on deactivation and call the right function directly.
25776         (gst_pad_activate_pull): New API, (de)activates a pad in pull
25777         mode.
25778         (gst_pad_activate_push): New API, same for push mode.
25779         (gst_pad_set_activate_function) 
25780         (gst_pad_set_activatepull_function) 
25781         (gst_pad_set_activatepush_function): Setters for new API.
25782
25783         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25784         Trace all miniobjects.
25785         (gst_mini_object_make_writable): Unref the arg if we copy, like
25786         gst_caps_make_writable.
25787
25788         * gst/gstmessage.c (_gst_message_initialize): No trace init.
25789
25790         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
25791         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25792         Adapt for new pad API.
25793
25794         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25795
25796         * gst/gstelement.h:
25797         * gst/gstelement.c (gst_element_iterate_src_pads) 
25798         (gst_element_iterate_sink_pads): New API functions.
25799         
25800         * gst/gstelement.c (iterator_fold_with_resync): New utility,
25801         should fold into gstiterator.c in some form.
25802         (gst_element_pads_activate): Simplified via use of fold and
25803         delegation of decisions to gstpad->activate.
25804
25805         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25806         help in debugging.
25807
25808         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25809         class once in init, like gstmessage. Didn't run into this issue
25810         but it seems correct. Don't initialize a trace, gstminiobject does
25811         that.
25812
25813         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25814         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25815         to the bus.
25816         (assert_live_count): New util function, uses alloc traces to check
25817         cleanup.
25818
25819         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25820         To be modified when unlink drops the internal pad.
25821
25822 2005-06-27  Wim Taymans  <wim@fluendo.com>
25823
25824         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25825         (gst_bin_change_state):
25826         Cleanup the get_state() function a little, make sure it
25827         iterates the same set of elements.
25828         Added stub iterate_state_order().
25829
25830 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
25831
25832         * docs/gst/gstreamer-docs.sgml:
25833         * docs/gst/gstreamer-sections.txt:
25834         * docs/gst/gstreamer.types:
25835         * docs/gst/tmpl/gstbasesink.sgml:
25836         * docs/gst/tmpl/gstbasesrc.sgml:
25837         * docs/gst/tmpl/gstbasetransform.sgml:
25838         * docs/gst/tmpl/gstelement.sgml:
25839         * docs/gst/tmpl/gstiterator.sgml:
25840         * gst/base/gstbasesrc.c:
25841         * gst/base/gstbasesrc.h:
25842         * gst/base/gstbasetransform.h:
25843         * gst/gstelement.c:
25844         * gst/gstiterator.h:
25845           adding basetransform and iterator docs
25846
25847 2005-06-27  Andy Wingo  <wingo@pobox.com>
25848
25849         * docs/design/part-activation.txt: Notes on how activation should
25850         work -- not quite implemented yet.
25851
25852 2005-06-25  Wim Taymans  <wim@fluendo.com>
25853
25854         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25855         At least get the chain function correct, needs more
25856         fixing.
25857
25858 2005-06-25  Wim Taymans  <wim@fluendo.com>
25859
25860         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25861         (gst_basesink_handle_object), (gst_basesink_event),
25862         (gst_basesink_do_sync), (gst_basesink_handle_event),
25863         (gst_basesink_change_state):
25864         * gst/gsttask.h:
25865         Right, two problems here: ghostpads don't take locks and
25866         glib _rec_mutex_lock_full() with depth==0 still locks.
25867         Catch illegal locking and g_warn them.
25868
25869 2005-06-25  Wim Taymans  <wim@fluendo.com>
25870
25871         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25872         Have to check for completion now...
25873
25874 2005-06-25  Wim Taymans  <wim@fluendo.com>
25875
25876         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25877         (gst_basesink_handle_object), (gst_basesink_event),
25878         (gst_basesink_do_sync), (gst_basesink_handle_event),
25879         (gst_basesink_change_state):
25880         * gst/gstpad.h:
25881         Unlock STREAM_LOCK whatever the recursion was.
25882
25883 2005-06-25  Wim Taymans  <wim@fluendo.com>
25884
25885         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25886         (gst_basesink_preroll_queue_empty),
25887         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25888         (gst_basesink_event), (gst_basesink_do_sync),
25889         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25890         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25891         (gst_basesink_change_state):
25892         Reworked the base sink, handle event and buffer serialisation
25893         correctly and removed possible deadlock.
25894         Handle EOS correctly.
25895
25896 2005-06-25  Wim Taymans  <wim@fluendo.com>
25897
25898         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25899         (gst_pipeline_change_state):
25900         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25901         Allow elements to post EOS in the state change function.
25902         Fix up -launch, make it exit the poll loop when the
25903         pipeline actually changed state.
25904         Fix up warning parsing in -launch.
25905
25906 2005-06-25  Wim Taymans  <wim@fluendo.com>
25907
25908         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25909         (gst_tee_sink_activate):
25910         Core takes STREAM_LOCK for us now.
25911
25912 2005-06-25  Wim Taymans  <wim@fluendo.com>
25913
25914         * gst/gstelement.c: (gst_element_get_state_func),
25915         (gst_element_set_state):
25916         * gst/gstelement.h:
25917         * gst/gstmessage.c: (gst_message_parse_error),
25918         (gst_message_parse_warning):
25919         Keep track of current target state while performing a state
25920         change so that subclasses can do something interesting.
25921         Fix parsing of warning/error messages when GError is NULL.
25922
25923 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25924
25925         * docs/gst/Makefile.am:
25926         * docs/gst/gstreamer-docs.sgml:
25927         * docs/gst/gstreamer-sections.txt:
25928         * docs/gst/gstreamer.types:
25929         * docs/gst/tmpl/gstbasesink.sgml:
25930         * docs/gst/tmpl/gstbasesrc.sgml:
25931         * docs/gst/tmpl/gstbin.sgml:
25932         * docs/gst/tmpl/gstcompat.sgml:
25933         * docs/gst/tmpl/gstfakesink.sgml:
25934         * docs/gst/tmpl/gstfakesrc.sgml:
25935         * docs/gst/tmpl/gstfilesink.sgml:
25936         * docs/gst/tmpl/gstfilesrc.sgml:
25937         * docs/gst/tmpl/gstindex.sgml:
25938         * docs/manual/appendix-quotes.xml:
25939         * gst/base/gstbasesrc.h:
25940         * gst/elements/gstfakesrc.h:
25941         * gst/gstmessage.h:
25942           start pulling in base classes and elements in our docs
25943
25944 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25945
25946         * docs/gst/Makefile.am:
25947         * docs/libs/Makefile.am:
25948           fixed make distcheck with gtk-doc 1.3
25949
25950 2005-06-23  Wim Taymans  <wim@fluendo.com>
25951
25952         * gst/gstelement.c: (gst_element_get_state_func),
25953         (gst_element_set_state), (gst_element_change_state):
25954         When the state did not change, also report NO_PREROLL
25955         when it matters.
25956
25957 2005-06-23  Wim Taymans  <wim@fluendo.com>
25958
25959         * gst/gstpad.c: (gst_pad_event_default):
25960         * gst/gstqueue.c: (gst_queue_loop):
25961         No unsafe task pausing please.
25962
25963 2005-06-23  Wim Taymans  <wim@fluendo.com>
25964
25965         * gst/schedulers/threadscheduler.c:
25966         (gst_thread_scheduler_task_start),
25967         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25968         Ref the task before pushing it on the threadpool. This
25969         makes sure that we have a ref when the threadfunction is
25970         actually called.
25971
25972 2005-06-23  Andy Wingo  <wingo@pobox.com>
25973
25974         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25975         offset is greater than the file's size.
25976
25977         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25978         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25979         * gst/gstobject.c (gst_object_class_init): Make the class lock
25980         recursive. Wim won't let me drop deep_notify. Decodebin works
25981         again, whoopdy doo.
25982
25983         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25984         internal pad, and hacks accordingly. Doesn't do it on the target
25985         pad because we change its caps. Probably catches all cases of
25986         interest tho.
25987         (gst_ghost_pad_set_property): Connect to notify::caps as
25988         appropritate.
25989
25990         * tests/network-clock.scm (plot-simulation): Pipe data to the
25991         elite python skript.
25992
25993         * tests/network-clock-utils.scm (define-parameter): New macro,
25994         defines a parameter that can be set via the command line.
25995         (set-parameter!, parse-parameter-arguments): Command line args
25996         parser.
25997
25998         * tests/plot-data: Simple matplotlib-based plotter, takes input on
25999         stdin.
26000
26001 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
26002
26003         * gst/elements/gsttypefindelement.c:
26004         (gst_type_find_element_handle_event):
26005           Don't restart typefinding on a discont.
26006         * gst/gstelement.c: (gst_element_set_state):
26007           Debug spelling fix.
26008         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
26009           Allow changing mode of an active pad.
26010           Debug output fixes.
26011         * gst/registries/gstlibxmlregistry.c: (load_feature):
26012           Don't cast a static pad template to a normal pad template.
26013
26014 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26015
26016         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26017         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26018           remove gst_strtoll completely, since it didn't actually do
26019           anything more than what g_ascii_strtoull already does.
26020           check for range errors when deserializing
26021           do a cast for the unsigned cases; but further fixing needs
26022           a decision on what the interpretation of "(int)" and
26023           deserialization should be for values that fall outside the
26024           type's boundaries (ie, refuse, or interpret as casting)
26025
26026 2005-06-23  Wim Taymans  <wim@fluendo.com>
26027
26028         * check/Makefile.am:
26029         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
26030         * docs/design/part-live-source.txt:
26031         * docs/design/part-states.txt:
26032         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26033         (gst_basesrc_set_live), (gst_basesrc_is_live),
26034         (gst_basesrc_get_range), (gst_basesrc_activate),
26035         (gst_basesrc_change_state):
26036         * gst/base/gstbasesrc.h:
26037         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26038         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26039         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
26040         * gst/gstelement.c: (gst_element_get_state_func),
26041         (gst_element_set_state):
26042         * gst/gstelement.h:
26043         * gst/gsttypes.h:
26044         * tools/gst-launch.c: (event_loop), (main):
26045         Added support for live sources and other elements that
26046         cannot do preroll.
26047         Updated design docs, added live-source design doc.
26048         Implemented live source functionality in basesrc
26049         Fix error condition in _bin_get_state()
26050         Implement live source handling in -launch.
26051         Added check for live sources.
26052         Fixed case in GstBin where elements were changed state
26053         multiple times.
26054
26055
26056 2005-06-23  Andy Wingo  <wingo@pobox.com>
26057
26058         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
26059         borken refcounting.
26060
26061         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
26062         gst_caps_replace takes care of this for us.
26063
26064         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
26065         gst_pad_set_caps on the target, not just its setcaps() function.
26066
26067         * tests/network-clock.scm: 
26068         * tests/network-clock-utils.scm: A network clock simulator.
26069         Something of an algorithmic testbed before doing something in C.
26070
26071 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26072
26073         * check/Makefile.am:
26074         * check/gst/capslist.h:
26075           copy over from 0.8, and add two with bitmasks specified with
26076           (int) 0xFF...
26077         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26078           add test to parse everything from capslist.h
26079         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
26080         (main):
26081           add test for structure deserialization
26082         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26083           add tests for deserialization of strings to int types
26084         * gst/gststructure.c: (gst_structure_nth_field_name):
26085         * gst/gststructure.h:
26086           add a way to get the name of a field referenced by index
26087         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26088           instead of checking if the resulting long long lies between
26089           min and max, we check if the long long would fit into
26090           a number of bytes for the final type.
26091           This fixes cases where a string represents 2^32 - 1, which
26092           when cast to int would be the (valid) -1, but is bigger than
26093           G_MAXINT
26094
26095 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26096
26097         * gst/parse/grammar.y:
26098           add a log line for type deserialization
26099
26100 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26101
26102         * check/gst/gstvalue.c: (START_TEST):
26103         * gst/gstvalue.c: (gst_value_deserialize):
26104           return long long, not int, so gint64 deserialization actually
26105           works.  Is there any flag that makes the compiler check this ?
26106           Fixes #308559
26107
26108 2005-06-22  Wim Taymans  <wim@fluendo.com>
26109
26110         * gst/gstbuffer.h:
26111         Added convenience macros for setting buffers in GValue.
26112
26113 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26114
26115         * check/gst/.cvsignore:
26116         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26117           add a test deserializing int64, and comment part out because
26118           it fails, yay !
26119
26120 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26121
26122         * check/Makefile.am:
26123         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
26124         * testsuite/Makefile.am:
26125         * testsuite/caps/Makefile.am:
26126         * testsuite/caps/value_serialize.c:
26127         * testsuite/test_gst_init.c:
26128           move a value_serialize test over
26129
26130 2005-06-20  Wim Taymans  <wim@fluendo.com>
26131
26132         * gst/gstpad.c:
26133         Small doc updates.
26134         
26135         * gst/gstvalue.c: (gst_value_compare_buffer),
26136         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
26137         (gst_value_compare_flags), (gst_value_serialize_flags),
26138         (gst_value_deserialize_flags), (_gst_value_initialize):
26139         Fix serialisation of buffers, they are not boxed types anymore
26140
26141 2005-06-20  Wim Taymans  <wim@fluendo.com>
26142
26143         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26144         Testcase to show error in buffer-on-caps serialisation.
26145
26146 2005-06-20  Andy Wingo  <wingo@pobox.com>
26147
26148         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
26149         will be adding to later.
26150
26151         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
26152         if its socks fill with rocks.
26153         (gst_system_clock_obtain): Set the name on object construction.
26154         Avoid double-checked locking.
26155
26156 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
26157
26158         * gst/gsturi.c: (gst_element_make_from_uri):
26159           Fix potential endless loop.
26160
26161 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26162
26163         * check/Makefile.am:
26164           add gsttag
26165         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
26166         (main):
26167           move over from testsuite dir and clean up
26168         * configure.ac:
26169         * gst/gsttag.c:
26170         * testsuite/Makefile.am:
26171         * testsuite/tags/.cvsignore:
26172         * testsuite/tags/Makefile.am:
26173         * testsuite/tags/merge.c:
26174           remove testsuite/tags
26175
26176 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26177
26178         * docs/gst/gstreamer-sections.txt:
26179         * docs/gst/tmpl/gstenumtypes.sgml:
26180         * win32/gstenumtypes.c:
26181           clean up documentation build a little
26182
26183 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26184
26185         * check/gstcheck.h:
26186           add macros for checking refcounts on objects and caps
26187         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
26188           add some more unit tests
26189         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26190         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
26191           fix leaked refcounts (I hope :)) so unittest works
26192         * gst/gstpad.h:
26193           whitespace removal
26194
26195 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26196
26197         * configure.ac: back to HEAD
26198
26199 === release 0.9.1 ===
26200
26201 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26202
26203         * NEWS:
26204         * RELEASE:
26205           updated
26206
26207 2005-06-17  Andy Wingo  <wingo@pobox.com>
26208
26209         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
26210         assert; it's always possible that the pad gets deactivated in
26211         between the checks in gstpad.c and the implementation. Rely on
26212         finish_preroll() to return a FLUSHING or similar instead of on the
26213         assert.
26214         
26215         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
26216         clock and post an EOS message if we come out of finish_preroll in
26217         the playing state.
26218
26219 2005-06-16  David Schleef  <ds@schleef.org>
26220
26221         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
26222         (gst_capsfilter_set_property): Allow NULL as possible value
26223         for filter_caps property, indicating GST_CAPS_ANY.
26224
26225 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26226
26227         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
26228           fix debug output
26229         * gst/schedulers/Makefile.am:
26230           use libgst prefix
26231         * gstreamer.spec.in:
26232           fix spec for it
26233
26234 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26235
26236         * gstreamer.spec.in:
26237           clean up
26238
26239 2005-06-08  Andy Wingo  <wingo@pobox.com>
26240
26241         * gst/gstutils.c: RPAD fixes all around.
26242         (gst_element_link_pads): Refcounting fixes.
26243
26244         * tools/gst-inspect.c:
26245         * tools/gst-xmlinspect.c:
26246         * parse/grammar.y:
26247         * gst/base/gsttypefindhelper.c:
26248         * gst/base/gstbasesink.c:
26249         * gst/gstqueue.c: RPAD fixes.
26250
26251         * gst/gstghostpad.h:
26252         * gst/gstghostpad.c: New ghost pad implementation as full proxy
26253         pads. The tricky thing is they provide both source and sink
26254         interfaces, since they proxy the internal pad for the external
26255         pad, and vice versa. Implement with lower-level ProxyPad objects,
26256         with the interior proxy pad as a child of the exterior ghost pad.
26257         Should write a doc on this.
26258         
26259         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26260         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26261         gst_object API.
26262         
26263         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26264         pads are real pads. No ghost pads in this file. Not documenting
26265         the myriad s/RPAD/PAD/ and REALIZE fixes.
26266         (gst_pad_class_init): Add properties for "direction" and
26267         "template". Both are construct-only, so they can't change during
26268         the life of the pad. Fixes properly deriving from GstPad.
26269         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26270         derived objects, just set properties when creating the objects via
26271         g_object_new.
26272         (gst_pad_get_parent): Implement as a function, return NULL if the
26273         parent is not an element.
26274         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26275         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26276         
26277         * gst/gstobject.c (gst_object_class_init): Make name a construct
26278         property. Don't set it in the object init.
26279
26280         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26281         with UNKNOWN direction.
26282         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26283         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26284         (gst_element_remove_pad): Remove ghost-pad special cases.
26285         (gst_element_pads_activate): Remove rpad cruft.
26286
26287         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26288         catch the pad's-parent-not-an-element case.
26289
26290         * gst/gst.h: Include gstghostpad.h.
26291
26292         * gst/gst.c (init_post): No more real, ghost pads.
26293
26294         * gst/Makefile.am: Add gstghostpad.[ch].
26295
26296         * check/Makefile.am:
26297         * check/gst/gstbin.c:
26298         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26299         into a bin creates ghost pads, and that the refcounts are right.
26300         Partly moved from gstbin.c.
26301
26302 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26303
26304         * check/gst-libs/.cvsignore:
26305         * check/gst/.cvsignore:
26306         * check/pipelines/.cvsignore:
26307           ignore more
26308         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26309         (START_TEST), (cleanup_suite), (main):
26310           add some tests related to cleanup after running pipelines
26311
26312 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26313
26314         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26315           add a testsuite for GstBuffer
26316
26317 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26318
26319         * gst/gstminiobject.h:
26320           add defines for accessing the refcount
26321
26322 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
26323
26324         * Makefile.am: added support for html unit test coverage reports
26325
26326 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
26327
26328         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26329           Free existing caps if the capsfilter changes. Add a FIXME about
26330           setting those caps on the pads.
26331
26332         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26333           Before adding a ghost pad to a parent bin, check that there isn't
26334           already one for the element on the bin. Prevents infinite recursion
26335           when using decodebin in parse pipelines. Andy says he'll rewrite the
26336           way this works anyway, so ignore the hack.
26337
26338 2005-06-02  Andy Wingo  <wingo@pobox.com>
26339
26340         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26341         file size, pass it on to the type find helper.
26342
26343         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26344         segment_start and segment_end properly according to the seek
26345         method. Segment_end is still a bit flaky because offset can be
26346         negative for CUR and END cases, but it takes -1 as an "unset"
26347         value.
26348
26349 2005-06-02  Wim Taymans  <wim@fluendo.com>
26350
26351         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26352         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26353         (gst_basesink_activate):
26354         * gst/base/gstbasesink.h:
26355         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26356         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26357         (gst_pad_query), (gst_pad_start_task):
26358         * gst/gstpad.h:
26359         * gst/gstqueue.c: (gst_queue_bufferalloc),
26360         (gst_queue_handle_sink_event), (gst_queue_chain):
26361         Bufferalloc: return GstFlowReturn to more accuratly report
26362         why allocation failed.
26363
26364 2005-06-02  Wim Taymans  <wim@fluendo.com>
26365
26366         * gst/gstpipeline.c: (gst_pipeline_send_event):
26367         Take snapshot of state without blocking.
26368
26369 2005-06-02  Wim Taymans  <wim@fluendo.com>
26370
26371         * docs/design/part-TODO.txt:
26372         * docs/design/part-caps.txt:
26373         * docs/design/part-clocks.txt:
26374         * docs/design/part-negotiation.txt:
26375         * docs/design/part-preroll.txt:
26376         Small doc updates 
26377
26378 2005-05-30  Wim Taymans  <wim@fluendo.com>
26379
26380         * gst/elements/gstidentity.c: (gst_identity_event),
26381         (gst_identity_transform), (gst_identity_get_property):
26382         Protect last_message property as it is accessed from
26383         multiple threads.
26384
26385 2005-05-30  Wim Taymans  <wim@fluendo.com>
26386
26387         * gst/gstelement.c: (gst_element_init),
26388         (gst_element_pads_activate), (gst_element_change_state):
26389         Slicker pad activation code.
26390
26391 2005-05-30  Wim Taymans  <wim@fluendo.com>
26392
26393         * gst/Makefile.am:
26394         * gst/gstelement.h:
26395         * gst/gstelementfactory.h:
26396         * gst/gsttypes.h:
26397         Move elementfactory methods to separate .h file.
26398
26399 2005-05-30  Wim Taymans  <wim@fluendo.com>
26400
26401         * docs/design/part-overview.txt:
26402         * gst/gstsystemclock.h:
26403         Small typo fixes, doc updates.
26404
26405 2005-05-30  Wim Taymans  <wim@fluendo.com>
26406
26407         * gst/gst.c: (gst_init_get_popt_table), (init_post),
26408         (init_popt_callback):
26409         Remove cpu-opt flag.
26410
26411 2005-05-30  Wim Taymans  <wim@fluendo.com>
26412
26413         * gst/gstbuffer.c: (gst_subbuffer_finalize),
26414         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26415         * gst/gstbuffer.h:
26416         Avoid typechecking in places where not needed.
26417         Added accessor for malloc_data.
26418
26419 2005-05-30  Wim Taymans  <wim@fluendo.com>
26420
26421         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26422         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26423         (gst_pad_configure_sink), (gst_pad_configure_src),
26424         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26425         (gst_pad_start_task):
26426         Propagate errors from _set_caps() in configure_src/sink
26427         functions instead of returning TRUE.
26428         FLUSH events can travel up and downstream
26429
26430
26431 2005-05-30  Wim Taymans  <wim@fluendo.com>
26432
26433         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26434         (gst_basesink_activate):
26435         Handle EOS in preroll.
26436
26437 2005-05-30  Wim Taymans  <wim@fluendo.com>
26438
26439         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26440         (gst_queue_loop), (gst_queue_handle_src_event):
26441         Remove old pieces of code
26442         Flushing the queue in an upstream event is a very bad idea.
26443
26444 2005-05-26  Andy Wingo  <wingo@pobox.com>
26445
26446         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26447         gst_value_set_mini_object so as to add a ref on the object (which
26448         will be removed when the value is unset).
26449
26450         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26451         arg type in ::handoff.
26452
26453         * gst/gstelement.c (gst_element_change_state): Also deactivate
26454         pads in READY->NULL, just in case the element didn't make it to
26455         PAUSED. Wingo tested, Wim approved.
26456
26457 2005-05-26  Wim Taymans  <wim@fluendo.com>
26458
26459         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26460         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26461         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26462         A flushing pad cannot be used to alloc_buffer from.
26463
26464 2005-05-26  Wim Taymans  <wim@fluendo.com>
26465
26466         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26467         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26468         (gst_bus_source_dispatch), (gst_bus_source_finalize),
26469         (gst_bus_create_watch), (gst_bus_add_watch_full):
26470         * gst/gstbus.h:
26471         Implement a real GSource and use g_main_context_wakeup() to
26472         signal new messages instead of the socketpair.
26473
26474 2005-05-25  Wim Taymans  <wim@fluendo.com>
26475
26476         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26477         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26478         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26479         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26480         (gst_pad_send_event), (gst_pad_start_task):
26481         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26482         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26483         (gst_queue_sink_activate), (gst_queue_src_activate),
26484         (gst_queue_change_state):
26485         * gst/gstqueue.h:
26486         Fix state changes for non sinks. We now change sinks, then elements
26487         with unconnected srcpads, then the rest.
26488         More efficient queue unlocking in flush and state changes.
26489         Set the pad activate mode even if it does not have an activate
26490         function.
26491
26492 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26493
26494         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26495           Don't go in pull mode for non-seekable sources.
26496         * gst/elements/gsttypefindelement.h:
26497         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26498         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26499         (free_entry), (stop_typefinding),
26500         (gst_type_find_element_handle_event), (find_peek),
26501         (gst_type_find_element_chain), (do_pull_typefind),
26502         (gst_type_find_element_change_state):
26503           Allow typefinding (w/o seeking) in push-mode, simplified version
26504           of what was in 0.8.
26505         * gst/gstutils.c: (gst_buffer_join):
26506         * gst/gstutils.h:
26507           gst_buffer_join() from 0.8.
26508
26509 2005-05-25  Wim Taymans  <wim@fluendo.com>
26510
26511         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26512         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26513         (gst_pad_send_event), (gst_pad_start_task):
26514         Disable attempt at mode switching until it is figured out.
26515
26516 2005-05-25  Wim Taymans  <wim@fluendo.com>
26517
26518         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26519         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26520         (gst_basesink_finish_preroll), (gst_basesink_chain),
26521         (gst_basesink_loop), (gst_basesink_activate),
26522         (gst_basesink_change_state):
26523         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26524         (gst_basesrc_get_range), (gst_basesrc_loop),
26525         (gst_basesrc_activate):
26526         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26527         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26528         (gst_real_pad_init), (gst_real_pad_set_property),
26529         (gst_real_pad_get_property), (gst_pad_set_active),
26530         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26531         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26532         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26533         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26534         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26535         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26536         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26537         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26538         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26539         (gst_pad_stop_task):
26540         * gst/gstpad.h:
26541         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26542         (gst_queue_loop), (gst_queue_src_activate):
26543         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26544         (gst_task_get_state):
26545         * gst/gsttask.h:
26546         * gst/schedulers/threadscheduler.c:
26547         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26548         Implement gst_pad_pause/start/stop_task(), take STREAM lock
26549         in task function.
26550         Remove ACTIVE pad flag, use FLUSHING everywhere
26551         Added _pad_chain(), _pad_get_range() to call chain/getrange 
26552         functions.
26553         Add locks around IS_FLUSHING when reading.
26554         Take STREAM lock in chain(), get_range() functions so plugins
26555         don't need to take it anymore.
26556         
26557
26558
26559 2005-05-25  Wim Taymans  <wim@fluendo.com>
26560
26561         * tools/gst-launch.c: (event_loop):
26562         Unref message after using its contents instead of
26563         before.
26564
26565 2005-05-24  Wim Taymans  <wim@fluendo.com>
26566
26567         * docs/design/draft-ghostpads.txt:
26568         * docs/design/draft-push-pull.txt:
26569         * docs/design/draft-query.txt:
26570         * docs/design/part-overview.txt:
26571         Docs updates, added general overview doc.
26572
26573 2005-05-21  David Schleef  <ds@schleef.org>
26574
26575         * docs/gst/tmpl/old/GstBin.sgml:
26576         * docs/gst/tmpl/old/GstBuffer.sgml:
26577         * docs/gst/tmpl/old/GstCaps.sgml:
26578         * docs/gst/tmpl/old/GstClock.sgml:
26579         * docs/gst/tmpl/old/GstCompat.sgml:
26580         * docs/gst/tmpl/old/GstData.sgml:
26581         * docs/gst/tmpl/old/GstElement.sgml:
26582         * docs/gst/tmpl/old/GstEvent.sgml:
26583         * docs/gst/tmpl/old/GstIndex.sgml:
26584         * docs/gst/tmpl/old/GstStructure.sgml:
26585         * docs/gst/tmpl/old/GstTag.sgml:
26586         * docs/gst/tmpl/old/cothreads.sgml:
26587         * docs/gst/tmpl/old/cothreads_compat.sgml:
26588         * docs/gst/tmpl/old/gettext.sgml:
26589         * docs/gst/tmpl/old/gobject2gtk.sgml:
26590         * docs/gst/tmpl/old/grammar.tab.sgml:
26591         * docs/gst/tmpl/old/gst-i18n-app.sgml:
26592         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26593         * docs/gst/tmpl/old/gst_private.sgml:
26594         * docs/gst/tmpl/old/gstaggregator.sgml:
26595         * docs/gst/tmpl/old/gstarch.sgml:
26596         * docs/gst/tmpl/old/gstatomic_impl.sgml:
26597         * docs/gst/tmpl/old/gstbufferstore.sgml:
26598         * docs/gst/tmpl/old/gstdata_private.sgml:
26599         * docs/gst/tmpl/old/gstdisksink.sgml:
26600         * docs/gst/tmpl/old/gstdisksrc.sgml:
26601         * docs/gst/tmpl/old/gstelementfactory.sgml:
26602         * docs/gst/tmpl/old/gstextratypes.sgml:
26603         * docs/gst/tmpl/old/gstfakesink.sgml:
26604         * docs/gst/tmpl/old/gstfakesrc.sgml:
26605         * docs/gst/tmpl/old/gstfdsink.sgml:
26606         * docs/gst/tmpl/old/gstfdsrc.sgml:
26607         * docs/gst/tmpl/old/gstfilesink.sgml:
26608         * docs/gst/tmpl/old/gstfilesrc.sgml:
26609         * docs/gst/tmpl/old/gsthttpsrc.sgml:
26610         * docs/gst/tmpl/old/gstidentity.sgml:
26611         * docs/gst/tmpl/old/gstindexfactory.sgml:
26612         * docs/gst/tmpl/old/gstmarshal.sgml:
26613         * docs/gst/tmpl/old/gstmd5sink.sgml:
26614         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26615         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26616         * docs/gst/tmpl/old/gstpadtemplate.sgml:
26617         * docs/gst/tmpl/old/gstpipefilter.sgml:
26618         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26619         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26620         * docs/gst/tmpl/old/gstshaper.sgml:
26621         * docs/gst/tmpl/old/gstspider.sgml:
26622         * docs/gst/tmpl/old/gstspideridentity.sgml:
26623         * docs/gst/tmpl/old/gststatistics.sgml:
26624         * docs/gst/tmpl/old/gsttee.sgml:
26625         * docs/gst/tmpl/old/gsttimecache.sgml:
26626         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26627         * docs/gst/tmpl/old/gstxmlregistry.sgml:
26628         * docs/gst/tmpl/old/gthread-cothreads.sgml:
26629         * docs/gst/tmpl/old/types.sgml:
26630           I didn't intend to add these or check them in.
26631
26632 2005-05-19  David Schleef  <ds@schleef.org>
26633
26634         * configure.ac: Use -no-common everywhere.  In a sane world, it
26635           would be the default in libtool, because without it, you can't
26636           build DLLs on Windows.
26637         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26638         * docs/gst/gstreamer-sections.txt:
26639         * docs/gst/tmpl/gstcpu.sgml:
26640         * docs/gst/tmpl/gstdata.sgml:
26641         * docs/gst/tmpl/gstthread.sgml:
26642
26643 2005-05-19  David Schleef  <ds@schleef.org>
26644
26645         * gst/gstminiobject.c: (gst_value_set_mini_object),
26646         (gst_value_take_mini_object), (gst_value_get_mini_object):
26647         * gst/gstminiobject.h: Add GValue set/get functions.
26648
26649 2005-05-19  Wim Taymans  <wim@fluendo.com>
26650
26651         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26652         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26653         (gst_subbuffer_init), (gst_buffer_is_span_fast):
26654         * gst/gstbuffer.h:
26655         * gst/gstbus.c: (gst_bus_post):
26656         * gst/gstelement.c: (gst_element_get_random_pad):
26657         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26658         Make subbufer unref the parent in finalize.
26659         some more debugging info.
26660
26661
26662 2005-05-19  Wim Taymans  <wim@fluendo.com>
26663
26664         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26665         (gst_basesink_init), (gst_basesink_finalize),
26666         (gst_basesink_activate), (gst_basesink_change_state):
26667         Don't free preroll queue too early.
26668
26669 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26670
26671         * gst/Makefile.am:
26672         * gst/ROADMAP:
26673           Hi, I'm outdated. Please shoot me.
26674
26675 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26676
26677         * gst/gstpipeline.c: (gst_pipeline_send_event):
26678           Do not access variables after they have been deleted.
26679
26680 2005-05-19  Wim Taymans  <wim@fluendo.com>
26681
26682         * tools/gst-inspect.c: (print_plugin_features):
26683         A plugin feature does unfortunatly not use the
26684         object name yet...
26685
26686 2005-05-18  Wim Taymans  <wim@fluendo.com>
26687
26688         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26689         Port _span() functions to new subbuffers.
26690
26691 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26692
26693         * gst/gstbin.c: (gst_bin_add_func):
26694           Fix clock settery in bins when adding kids after the clock has
26695           been selected.
26696
26697 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26698
26699         * gst/elements/gstidentity.c: (gst_identity_class_init):
26700           Workaround until signals support GstMiniObject.
26701
26702 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
26703
26704         * gst/gstbuffer.c:
26705         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26706
26707 2005-05-18  Wim Taymans  <wim@fluendo.com>
26708
26709         * gst/base/Makefile.am:
26710         * gst/base/gstadapter.c: (gst_adapter_base_init),
26711         (gst_adapter_class_init), (gst_adapter_init),
26712         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26713         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26714         (gst_adapter_flush), (gst_adapter_available),
26715         (gst_adapter_available_fast):
26716         * gst/base/gstadapter.h:
26717         Ported and added adapter to the base classes.
26718
26719 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26720
26721         * gst/gst.c:
26722         * gst/gstmessage.c:
26723           Make sure the class is reffed/unreffed once before threads can be
26724           used.  Fixes #304551.
26725
26726 2005-05-17  Wim Taymans  <wim@fluendo.com>
26727
26728         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26729         (gst_basesink_chain_unlocked), (gst_basesink_activate):
26730         * gst/gstminiobject.c: (gst_mini_object_get_type),
26731         (gst_mini_object_free):
26732         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26733         (gst_pad_push), (gst_pad_push_event):
26734         * gst/gstqueue.c: (gst_queue_change_state):
26735         Don't queue buffers in basesink when we are flushing.
26736         Unref buffer when flushing in basesink.
26737         Flush queue when going to READY
26738         Unref buffer when _push() returns an error.
26739         Don't free MiniObject instance when refcount is incremented
26740         in _finalize() so that we can recover objects.
26741
26742 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26743
26744         * docs/manual/advanced-schedulers.xml:
26745         * docs/manual/appendix-checklist.xml:
26746         * docs/pwg/advanced-clock.xml:
26747         * docs/pwg/advanced-interfaces.xml:
26748         * docs/pwg/advanced-request.xml:
26749         * docs/pwg/advanced-types.xml:
26750         * docs/pwg/intro-preface.xml:
26751         * examples/plugins/example.c: (gst_example_get_type),
26752         (gst_example_class_init), (gst_example_chain),
26753         (gst_example_set_property), (gst_example_get_property),
26754         (gst_example_change_state), (plugin_init):
26755         * examples/plugins/example.h:
26756           small doc fixes
26757
26758 2005-05-17  Wim Taymans  <wim@fluendo.com>
26759
26760         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26761         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26762         * gst/gstqueue.c: (gst_queue_change_state):
26763         Clear queue when going to READY.
26764         Remove IN_SETCAPS flag too.
26765
26766 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
26767
26768         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26769           Remove implicit cast from gboolean to GstElementStateReturn;
26770           make sure we still return failure in paused => ready case if
26771           the parent class fails to change state and our own stop 
26772           vfunc succeeds.
26773
26774 2005-05-17  Wim Taymans  <wim@fluendo.com>
26775
26776         * tools/gst-launch.c: (event_loop):
26777         Message was unreffed too soon.
26778
26779 2005-05-16  Andy Wingo  <wingo@pobox.com>
26780
26781         * gst/gstbin.c (sink_iterator_filter): Err... um...
26782
26783         * check/gst/gstbin.c (test_ghost_pads): New test for the
26784         ghosting-if-elements-not-in-same-bin behavior.
26785
26786 2005-05-16  David Schleef  <ds@schleef.org>
26787
26788         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26789         accessing refcount directly.
26790
26791 2005-05-15  David Schleef  <ds@schleef.org>
26792
26793         * check/Makefile.am: remove GstData checks
26794         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26795         * gst/Makefile.am: add miniobject, remove data
26796         * gst/gst.h: add miniobject, remove data
26797         * gst/gstdata.c: remove
26798         * gst/gstdata.h: remove
26799         * gst/gstdata_private.h: remove
26800         * gst/gsttypes.h: remove GstEvent and GstMessage
26801         * gst/gstelement.c: (gst_element_post_message): fix for API changes
26802         * gst/gstmarshal.list: change BOXED -> OBJECT
26803
26804         Implement GstMiniObject.
26805         * gst/gstminiobject.c:
26806         * gst/gstminiobject.h:
26807
26808         Modify to be subclasses of GstMiniObject.
26809         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26810         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26811         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26812         (gst_subbuffer_get_type), (gst_subbuffer_init),
26813         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26814         (gst_buffer_span):
26815         * gst/gstbuffer.h:
26816         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26817         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26818         (_gst_event_copy), (gst_event_new):
26819         * gst/gstevent.h:
26820         * gst/gstmessage.c: (_gst_message_initialize),
26821         (gst_message_get_type), (gst_message_class_init),
26822         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26823         (gst_message_new), (gst_message_new_error),
26824         (gst_message_new_warning), (gst_message_new_tag),
26825         (gst_message_new_state_changed), (gst_message_new_application):
26826         * gst/gstmessage.h:
26827         * gst/gstprobe.c: (gst_probe_perform),
26828         (gst_probe_dispatcher_dispatch):
26829         * gst/gstprobe.h:
26830         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26831         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26832         (_gst_query_copy), (gst_query_new):
26833
26834         Update elements for GstData -> GstMiniObject changes
26835         * gst/gstquery.h:
26836         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26837         (gst_queue_chain), (gst_queue_loop):
26838         * gst/elements/gstbufferstore.c:
26839         (gst_buffer_store_add_buffer_func),
26840         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26841         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26842         (gst_fakesink_render):
26843         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26844         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26845         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26846         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26847         (gst_filesrc_create_read):
26848         * gst/elements/gstidentity.c: (gst_identity_class_init):
26849         * gst/elements/gsttypefindelement.c:
26850         (gst_type_find_element_src_event), (free_entry_buffers),
26851         (gst_type_find_element_handle_event):
26852         * libs/gst/dataprotocol/dataprotocol.c:
26853         (gst_dp_header_from_buffer):
26854         * libs/gst/dataprotocol/dataprotocol.h:
26855         * libs/gst/dataprotocol/dp-private.h:
26856
26857 2005-05-15  David Schleef  <ds@schleef.org>
26858
26859         * gst/elements/gstelements.c: Don't include headers that were
26860         just removed.
26861
26862 2005-05-15  David Schleef  <ds@schleef.org>
26863
26864         * gst/elements/Makefile.am: Remove some elements that don't
26865         need to be in the core (or even exist at all).
26866         * gst/elements/gstaggregator.c:
26867         * gst/elements/gstaggregator.h:
26868         * gst/elements/gstmd5sink.c:
26869         * gst/elements/gstmd5sink.h:
26870         * gst/elements/gstmultifilesrc.c:
26871         * gst/elements/gstmultifilesrc.h:
26872         * gst/elements/gstpipefilter.c:
26873         * gst/elements/gstpipefilter.h:
26874         * gst/elements/gstshaper.c:
26875         * gst/elements/gstshaper.h:
26876         * gst/elements/gststatistics.c:
26877         * gst/elements/gststatistics.h:
26878         * po/POTFILES.in: Remove above files.
26879
26880 2005-05-14  Andy Wingo  <wingo@pobox.com>
26881
26882         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26883         so as to get the refs right.
26884         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26885         unreffing objects that don't pass the filter.
26886
26887         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26888         gst_element_set_bus.
26889         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26890         normal cases, this will destroy the bus.
26891
26892         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26893         object.
26894
26895         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26896         has no sinks.
26897
26898 2005-05-13  Andy Wingo  <wingo@pobox.com>
26899
26900         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26901         gst_pad_link, call pad_link_maybe_ghosting,
26902         (pad_link_maybe_ghosting): Links pads, making sure that the
26903         elements being linked are in the same bin.
26904         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26905         Helpers for pad_link_maybe_ghosting.
26906
26907 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26908
26909         * configure.ac:
26910           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26911
26912 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26913
26914         * docs/design/part-element-source.txt:
26915           Mention GstPushSrc
26916
26917 2005-05-12  Wim Taymans  <wim@fluendo.com>
26918
26919         * gst/base/gstbasesink.c: (gst_basesink_init),
26920         (gst_basesink_activate):
26921         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26922         (gst_basesrc_is_seekable):
26923         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26924         (bin_element_is_sink), (gst_bin_change_state):
26925         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26926         * gst/gstelement.h:
26927         Identify sinks by their flag to avoid overly complicated
26928         checks (fow now).
26929         Do state changes even for elements not reachable from the
26930         sinks.
26931         BaseSink is a sink now :)
26932         Some more debugging info in the basesrc.
26933
26934
26935 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26936
26937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26938           Implement _query on a bin, similar to _send_event.
26939
26940 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26941
26942         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26943           Discont event offset format should be GST_FORMAT_BYTES,
26944           not GST_FORMAT_TIME.
26945
26946 2005-05-12  Wim Taymans  <wim@fluendo.com>
26947
26948         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26949         Same fix as Ronald's but without the signal. 
26950
26951 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26952
26953         * gst/gstutils.c: (gst_element_query_position):
26954           No, an element is not a pad.
26955
26956 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26957
26958         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26959         (gst_bin_get_state):
26960           If a child is removed from a bin while we remove the child from
26961           the bin and while we're retrieving its state, signal this to the
26962           get_state function so we abort the wait (instead of waiting for
26963           a timeout) and can immediately re-iterate over all other elements.
26964
26965 2005-05-12  Wim Taymans  <wim@fluendo.com>
26966
26967         * gst/base/Makefile.am:
26968         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26969         (gst_basesrc_start):
26970         * gst/base/gstbasesrc.h:
26971         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26972         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26973         (gst_pushsrc_init), (gst_pushsrc_create):
26974         * gst/base/gstpushsrc.h:
26975         Added is_seekable to BaseSrc
26976         Added simple PushSrc.
26977
26978 2005-05-11  Wim Taymans  <wim@fluendo.com>
26979
26980         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26981         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26982         (gst_element_link_pads), (gst_element_query_position),
26983         (gst_element_query_convert), (intersect_caps_func),
26984         (gst_pad_query_position), (gst_pad_query_convert):
26985         Fix refcounting in utils function.
26986         No point in trying to activate a pad when it's added, it could
26987         be added from the state change function and then we deadlock, the
26988         element has to decide what to do.
26989
26990 2005-05-10  Andy Wingo  <wingo@pobox.com>
26991
26992         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26993         *all* the arguments.
26994
26995         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26996         stream lock if it's a FLUSH_DONE; normal flushes don't get the
26997         lock (according to the docs -- if this is wrong change the docs).
26998
26999         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
27000         flush messages in the NULL state.
27001
27002         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
27003         message immediately and return.
27004         (gst_bus_set_flushing): New function. If a bus is flushing, it
27005         flushes out any queued messages and immediately unrefs new
27006         messages. This is so when an element goes to NULL, all of the
27007         unhandled messages coming from it can be freed, and their
27008         references to the element dropped. In other words: message source
27009         ref considered harmful :P
27010
27011         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
27012         we're finished with it.
27013
27014         * gst/gstmessage.c (gst_message_new_state_changed): 
27015
27016 2005-05-10  Wim Taymans  <wim@fluendo.com>
27017
27018         * gst/gstvalue.c: (gst_value_compare_flags),
27019         (gst_value_serialize_flags), (gst_value_deserialize_flags),
27020         (_gst_value_initialize):
27021         Added flags serialize/deserialize/compare code.
27022
27023 2005-05-09  Andy Wingo  <wingo@pobox.com>
27024
27025         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
27026         Intersect the peer's caps with our caps.
27027
27028 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27029
27030         * gst/base/gsttypefindhelper.c: (helper_find_peek):
27031         * gst/elements/gsttypefindelement.c: (find_peek):
27032           Handle negative offsets better. Fixes decodebin.
27033
27034 2005-05-09  Wim Taymans  <wim@fluendo.com>
27035
27036         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
27037         (gst_base_transform_event):
27038         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
27039         Implement accept_caps.
27040         Fix silly lock/unlock mismatch in base class.
27041
27042 2005-05-09  Wim Taymans  <wim@fluendo.com>
27043
27044         * docs/design/draft-push-pull.txt:
27045         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
27046         * gst/elements/gstfilesink.c: (gst_filesink_init),
27047         (gst_filesink_query):
27048         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27049         (gst_type_find_handle_src_query), (find_element_get_length):
27050         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
27051         * gst/gstelement.h:
27052         * gst/gstmessage.c:
27053         * gst/gstmessage.h:
27054         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
27055         (gst_real_pad_get_caps_unlocked),
27056         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
27057         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27058         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
27059         (gst_real_pad_dispose), (gst_real_pad_finalize),
27060         (gst_pad_load_and_link), (gst_pad_save_thyself),
27061         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
27062         (gst_pad_check_pull_range), (gst_pad_pull_range),
27063         (gst_pad_template_get_type), (gst_pad_template_class_init),
27064         (gst_pad_template_init), (gst_pad_template_dispose),
27065         (name_is_valid), (gst_static_pad_template_get),
27066         (gst_pad_template_new), (gst_static_pad_template_get_caps),
27067         (gst_pad_template_get_caps), (gst_pad_set_element_private),
27068         (gst_pad_get_element_private), (gst_pad_start_task),
27069         (gst_pad_pause_task), (gst_pad_stop_task),
27070         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
27071         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
27072         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
27073         (gst_ghost_pad_new):
27074         * gst/gstpad.h:
27075         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
27076         (gst_query_new_position), (gst_query_set_position),
27077         (gst_query_parse_position), (gst_query_new_convert),
27078         (gst_query_set_convert), (gst_query_parse_convert):
27079         * gst/gstquery.h:
27080         * gst/gstqueryutils.c:
27081         * gst/gstqueryutils.h:
27082         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27083         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27084         (gst_queue_handle_src_query):
27085         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27086         (gst_element_query_position), (gst_element_query_convert),
27087         (intersect_caps_func), (gst_pad_query_position),
27088         (gst_pad_query_convert):
27089         * gst/gstutils.h:
27090         * tools/gst-inspect.c: (print_pad_info):
27091         * tools/gst-xmlinspect.c: (print_element_info):
27092         Remove old query functions. Ported old code.
27093         Added position/convert helper functions to gstutils.
27094         Reordered gstpad.c code, grouping relevant things.
27095         Remove gst_message_new(), always need to speficy a specific
27096         message.
27097
27098
27099 2005-05-09  Andy Wingo  <wingo@pobox.com>
27100
27101         * gst/gstiterator.h: Add some includes.
27102
27103         * gst/gstqueryutils.h: Include more headers.
27104
27105         * gst/gstpad.h:
27106         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
27107         some uses of gst_pad_query.
27108
27109         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
27110         NULL out parameters.
27111         (gst_query_new_position): New proc, allocates a new position
27112         query.
27113
27114         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
27115         gstqueryutils.c to the build.
27116
27117         * gst/gststructure.c (gst_structure_set_valist): Implement with
27118         the generic G_VALUE_COLLECT.
27119         
27120 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
27121
27122         * gst/Makefile.am: (gst_headers):
27123         Added gstqueryutils.h to the list of headers to install, that was
27124         a 'nachty' move wingo :)
27125
27126 2005-05-06  Andy Wingo  <wingo@pobox.com>
27127
27128         * gst/gstquery.h
27129         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
27130         GstData, init a memchunk.
27131         (standard_definitions): Add a few query types, deprecate a few.
27132         (gst_query_get_type): New proc.
27133         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
27134         implementation.
27135         (gst_query_new_application, gst_query_get_structure): New public
27136         procs.
27137
27138         * docs/design/draft-query.txt: Removed LINKS from the query types,
27139         because all the rest can be dispatched to other pads -- seemed
27140         ugly to have a query that couldn't be dispatched. internal_links
27141         is fine as a pad method.
27142
27143         * gst/gstpad.h: Add query2 as a pad method, add the new functions
27144         in gstpad.c, but maintain binary compatibility for the moment.
27145         Will fix before 0.9 is out.
27146
27147         * gst/gstqueryutils.c: 
27148         * gst/gstqueryutils.h: New files, implement 3 methods for each
27149         query type: parse_query, parse_response, and set. Probably need an
27150         allocator as well.
27151
27152         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
27153
27154         * gst/elements/gstfilesink.c (gst_filesink_query2):
27155         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
27156         query_types, and formats methods.
27157
27158         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
27159         (gst_pad_set_query2_function): New functions.
27160         (gst_real_pad_init): Set query2_default as the default query2
27161         function. Basically just dispatches to internally linked pads.
27162
27163         Needs review!
27164         
27165         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
27166         without using the atomic operations. Only one thread can possibly
27167         be accessing the data at this point. Changed so as to avoid
27168         gst_atomic operations.
27169
27170 2005-05-06  Wim Taymans  <wim@fluendo.com>
27171
27172         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
27173         Also set caps if we use the fallback buffer alloc.
27174
27175 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
27176
27177         * docs/gst/Makefile.am:
27178         * docs/gst/gstreamer-docs.sgml:
27179         * docs/gst/gstreamer-sections.txt:
27180         * docs/gst/tmpl/gstatomic.sgml:
27181         * docs/gst/tmpl/gstmemchunk.sgml:
27182         * testsuite/elements/struct_i386.h:
27183         * win32/GStreamer.vcproj:
27184         * win32/Makefile:
27185           Purge GstAtomic stuff from docs and win32 makefiles as well
27186
27187 2005-05-06  Wim Taymans  <wim@fluendo.com>
27188
27189         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
27190         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
27191         * gst/gstpad.c: (gst_pad_peer_get_caps):
27192         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27193         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27194         (gst_queue_src_activate), (gst_queue_change_state):
27195         * gst/gstqueue.h:
27196         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27197         (intersect_caps_func):
27198         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
27199         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
27200         Some fixes for the peer_get_caps() change.
27201
27202 2005-05-06  Wim Taymans  <wim@fluendo.com>
27203
27204         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27205         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
27206         (gst_basesink_activate):
27207         Actually do something with error codes returned from the push
27208         functions.
27209
27210 2005-05-06  Wim Taymans  <wim@fluendo.com>
27211
27212         * docs/design/part-element-sink.txt:
27213         * docs/design/part-element-source.txt:
27214         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27215         (gst_basesink_event), (gst_basesink_activate):
27216         * gst/base/gstbasesink.h:
27217         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
27218         (gst_basesrc_activate):
27219         * gst/base/gstbasesrc.h:
27220         * gst/gstelement.c: (gst_element_pads_activate):
27221         Some more documentation.
27222         Fixed scheduling decision in _pads_activate().
27223
27224 2005-05-05  Andy Wingo  <wingo@pobox.com>
27225
27226         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
27227         the test suite.
27228
27229 2005-05-05  Wim Taymans  <wim@fluendo.com>
27230
27231         * gst/base/Makefile.am:
27232         * gst/base/gstbasesink.h:
27233         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27234         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
27235         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
27236         (gst_collectpads_class_init), (gst_collectpads_init),
27237         (gst_collectpads_finalize), (gst_collectpads_new),
27238         (gst_collectpads_set_function), (gst_collectpads_add_pad),
27239         (find_pad), (gst_collectpads_remove_pad),
27240         (gst_collectpads_is_active), (gst_collectpads_collect),
27241         (gst_collectpads_collect_range), (gst_collectpads_start),
27242         (gst_collectpads_stop), (gst_collectpads_peek),
27243         (gst_collectpads_pop), (gst_collectpads_available),
27244         (gst_collectpads_read), (gst_collectpads_flush),
27245         (gst_collectpads_chain):
27246         * gst/base/gstcollectpads.h:
27247         * gst/elements/Makefile.am:
27248         * gst/elements/gstelements.c:
27249         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27250         (gst_fakesink_get_times), (gst_fakesink_event),
27251         (gst_fakesink_preroll), (gst_fakesink_render):
27252         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27253         (gst_filesink_init), (gst_filesink_set_location),
27254         (gst_filesink_open_file), (gst_filesink_close_file),
27255         (gst_filesink_pad_query), (gst_filesink_event),
27256         (gst_filesink_render), (gst_filesink_change_state):
27257         * gst/elements/gstfilesink.h:
27258         Added object to help in making collect pad based elements.
27259         Ported filesink.
27260         Make event function in sink baseclass return gboolean.
27261
27262 2005-05-05  Wim Taymans  <wim@fluendo.com>
27263
27264         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27265         (gst_bin_get_by_name):
27266         * gst/gstbuffer.h:
27267         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27268         (gst_clock_finalize):
27269         * gst/gstdata.c: (gst_data_replace):
27270         * gst/gstdata.h:
27271         * gst/gstelement.c: (gst_element_request_pad),
27272         (gst_element_pads_activate):
27273         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27274         (gst_object_unref):
27275         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27276         (gst_pad_set_checkgetrange_function),
27277         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27278         (gst_pad_check_pull_range), (gst_pad_pull_range),
27279         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27280         (gst_pad_pause_task), (gst_pad_stop_task):
27281         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27282         (gst_element_request_pad), (gst_pad_proxy_getcaps):
27283         Fix name lookup in GstBin.
27284         Added _data_replace() function and _buffer_replace()
27285         Use finalize method to clean up clock.
27286         Fix refcounting on request pads.
27287         Fix pad schedule mode error.
27288         Some more object refcounting debug info,
27289
27290
27291 2005-05-04  Andy Wingo <wingo@pobox.com>
27292
27293         * check/Makefile.am:
27294         * docs/gst/tmpl/gstatomic.sgml:
27295         * docs/gst/tmpl/gstplugin.sgml:
27296         * gst/base/gstbasesink.c: (gst_basesink_activate):
27297         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27298         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27299         (gst_basesrc_query), (gst_basesrc_set_property),
27300         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27301         (gst_basesrc_activate):
27302         * gst/base/gstbasesrc.h:
27303         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27304         (gst_base_transform_src_activate):
27305         * gst/elements/gstelements.c:
27306         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27307         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27308         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27309         * gst/elements/gsttypefindelement.c: (find_element_get_length),
27310         (gst_type_find_element_checkgetrange),
27311         (gst_type_find_element_activate):
27312         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27313         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27314         (gst_caps_load_thyself):
27315         * gst/gstelement.c: (gst_element_pads_activate),
27316         (gst_element_save_thyself), (gst_element_restore_thyself):
27317         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27318         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27319         * gst/gstpad.h:
27320         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27321         (gst_xml_parse_file), (gst_xml_parse_memory),
27322         (gst_xml_get_element), (gst_xml_make_element):
27323         * gst/indexers/gstfileindex.c: (gst_file_index_load),
27324         (_file_index_id_save_xml), (gst_file_index_commit):
27325         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27326         (read_enum), (load_pad_template), (load_feature), (load_plugin),
27327         (load_paths):
27328         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27329         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27330         * tools/gst-complete.c: (main):
27331         * tools/gst-compprep.c: (main):
27332         * tools/gst-inspect.c: (print_element_properties_info):
27333         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27334         * tools/gst-xmlinspect.c: (print_element_properties):
27335         GCC 4 fixen.
27336         
27337 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
27338
27339         * gst/gstplugin.c: (gst_plugin_check_module),
27340         (gst_plugin_check_file), (gst_plugin_load_file):
27341             apply patch from #172526 to make register work on MacOSX
27342
27343 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27344
27345         * docs/gst/tmpl/gstconfig.sgml:
27346         * gst/gstconfig.h.in:
27347           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
27348         * testsuite/debug/printf_extension.c: (main):
27349           Do not use GST_PTR_FORMAT on pointers to types with
27350           sizeof < sizeof(gpointer).  Fixes test on 64-bit
27351         * testsuite/elements/property.h:
27352           use correct printf format
27353
27354 2005-05-02  Wim Taymans  <wim@fluendo.com>
27355
27356         * docs/design/draft-push-pull.txt:
27357         * docs/design/draft-query.txt:
27358         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27359         (gst_basesrc_start):
27360         Added draft for new query API.
27361         Added draft for better selecting scheduling methods.
27362         Make basesrc ignore length if the subclass does not support
27363         it.
27364
27365 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27366
27367         * gst/Makefile.am:
27368           possible fixes for automake-1.5 - _LIBADD is reserved
27369
27370 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27371
27372         * docs/faq/Makefile.am:
27373         * docs/manual/Makefile.am:
27374         * docs/manuals.mak:
27375         * docs/pwg/Makefile.am:
27376         * gst/Makefile.am:
27377           possible fixes for automake-1.5
27378
27379 2005-04-28  Wim Taymans  <wim@fluendo.com>
27380
27381         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27382         (gst_basesink_pad_getcaps), (gst_basesink_init),
27383         (gst_basesink_do_sync):
27384         * gst/gstclock.c: (gst_clock_entry_new):
27385         * gst/gstevent.c: (gst_event_discont_get_value):
27386         * gst/gstpipeline.c: (pipeline_bus_handler),
27387         (gst_pipeline_change_state):
27388         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27389         Better debugging of clocking info.
27390         Allow NULL values when getting discont values.
27391
27392 2005-04-27  Wim Taymans  <wim@fluendo.com>
27393
27394         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27395         * check/gst/gstpad.c: (gst_pad_suite):
27396         Increase timeout for checks.
27397
27398 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27399
27400         * check/Makefile.am:
27401           fix the broken rule for cleanup.  Apparently this rule is
27402           only needed on FC2, so maybe this warrants further autotool
27403           inspection.
27404
27405 2005-04-26  Wim Taymans  <wim@fluendo.com>
27406
27407         * gst/gsttrashstack.h:
27408         Ooohh. a nasty one! After having a failed pop() from the stack,
27409         it's possible that the stack is empty. In that case, don't
27410         follow the NULL pointer.
27411
27412 2005-04-25  Wim Taymans  <wim@fluendo.com>
27413
27414         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27415         (gst_pad_set_checkgetrange_function),
27416         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27417         (gst_pad_check_pull_range), (gst_pad_pull_range),
27418         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27419         (gst_pad_pause_task), (gst_pad_stop_task):
27420         * gst/gstplugin.c: (gst_plugin_load):
27421         * gst/gstplugin.h:
27422         Remove gst_library_load as it does more harm than good with
27423         the new g_module flags.
27424         Revert bogus caps template check in pad linking, pad caps
27425         are important when linking not the template, which is more
27426         general than the current caps.
27427
27428 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27429
27430         * gst/autoplug/.cvsignore:
27431         * gst/autoplug/Makefile.am:
27432         * gst/autoplug/gstsearchfuncs.c:
27433         * gst/autoplug/gstsearchfuncs.h:
27434         * gst/autoplug/gstspider.c:
27435         * gst/autoplug/gstspider.h:
27436         * gst/autoplug/gstspideridentity.c:
27437         * gst/autoplug/gstspideridentity.h:
27438         * gst/autoplug/spidertest.c:
27439           Die, spider, die.
27440
27441 2005-04-25  Wim Taymans  <wim@fluendo.com>
27442
27443         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27444         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27445         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27446         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27447         * gst/gstpad.h:
27448         Added stubs for unimplemented functions. 
27449
27450 2005-04-24  David Schleef  <ds@schleef.org>
27451
27452         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
27453         please fix.
27454
27455 2005-04-24  David Schleef  <ds@schleef.org>
27456
27457         Convert everything from GstAtomicInt to g_atomic_int_*, and
27458         remove gstatomic.
27459         * gst/Makefile.am:
27460         * gst/gstatomic.c:
27461         * gst/gstatomic.h:
27462         * gst/gstatomic_impl.h:
27463         * gst/gstbuffer.c:
27464         * gst/gstcaps.c:
27465         * gst/gstcaps.h:
27466         * gst/gstclock.c:
27467         * gst/gstclock.h:
27468         * gst/gstdata.c:
27469         * gst/gstdata.h:
27470         * gst/gstdata_private.h:
27471         * gst/gstevent.c:
27472         * gst/gstinfo.c:
27473         * gst/gstinfo.h:
27474         * gst/gstmessage.c:
27475         * gst/gstobject.c:
27476         * gst/gstobject.h:
27477         * gst/gststructure.c:
27478         * gst/gststructure.h:
27479         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27480         * gst/gstutils.h:
27481
27482 2005-04-24  David Schleef  <ds@schleef.org>
27483
27484         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27485         make the regressions tests work.  Remove some code that is no
27486         longer true.
27487         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27488         Disable warning for pads without templates.
27489
27490 2005-04-24  David Schleef  <ds@schleef.org>
27491
27492         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
27493         functions that handle filtered links.
27494         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27495         removed functions.
27496         * gst/gstutils.c: Fix/remove utility functions that handle
27497         filtered caps.
27498         * gst/gstutils.h:
27499         * gst/gstvalue.c: Add serialization/deserialization of caps
27500         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
27501         requires fixing so that the filter caps notation creates
27502         a capsfilter element and sets the filter_caps property.  I
27503         think everyone probably wants to keep the shorthand notation.
27504         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27505         * docs/gst/tmpl/gstpad.sgml:
27506
27507         * gst/elements/gstelements.c: Register capsfilter element.
27508         * gst/Makefile.am: fix spacing
27509         * docs/random/ds/0.9-suggested-changes: random
27510
27511 2005-04-23  David Schleef  <ds@schleef.org>
27512
27513         * gst/elements/Makefile.am:
27514         * gst/elements/gstcapsfilter.c: New element that acts like an
27515         identity, but filters caps.  Will eventually replace filtered
27516         caps in pad linking.
27517         * gst/gstutils.c: (gst_element_create_all_pads): New function
27518         to create all the ALWAYS pads that are registered with an
27519         element class.  This functionality should eventually be
27520         merged in with GstElement initialization.
27521         * gst/gstutils.h:
27522         * testsuite/trigger/README: part of trigger test code that should
27523         have been checked in a long time ago.
27524
27525 2005-04-23  David Schleef  <ds@schleef.org>
27526
27527         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
27528         needed with new versions of libtool (nobody will confirm this),
27529         and hard to carry around.
27530         * gst/autoplug/Makefile.am:
27531         * gst/base/Makefile.am:
27532         * gst/elements/Makefile.am:
27533         * gst/indexers/Makefile.am:
27534         * gst/schedulers/Makefile.am:
27535         * libs/gst/bytestream/Makefile.am:
27536         * libs/gst/control/Makefile.am:
27537         * libs/gst/dataprotocol/Makefile.am:
27538         * libs/gst/getbits/Makefile.am:
27539
27540 2005-04-21  Wim Taymans  <wim@fluendo.com>
27541
27542         * docs/design/draft-push-pull.txt:
27543         * docs/design/part-MT-refcounting.txt:
27544         * docs/design/part-TODO.txt:
27545         * docs/design/part-caps.txt:
27546         * docs/design/part-events.txt:
27547         * docs/design/part-gstbus.txt:
27548         * docs/design/part-gstpipeline.txt:
27549         * docs/design/part-messages.txt:
27550         * docs/design/part-push-pull.txt:
27551         * docs/design/part-query.txt:
27552         Some more docs.
27553
27554 2005-04-21  Wim Taymans  <wim@fluendo.com>
27555
27556         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27557         (gst_message_new), (gst_message_new_error),
27558         (gst_message_new_warning), (gst_message_new_tag),
27559         (gst_message_new_state_changed), (gst_message_new_application),
27560         (gst_message_get_structure):
27561         * gst/gstmessage.h:
27562         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27563         (gst_structure_copy_conditional):
27564         Use parent refcount in GstMessage to ensure GstStructure
27565         consistency.
27566         Cleaned up headers a bit.
27567         
27568
27569 2005-04-20  Wim Taymans  <wim@fluendo.com>
27570
27571         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27572         (gst_basesink_pad_getcaps), (gst_basesink_init),
27573         (gst_basesink_chain_unlocked):
27574         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27575         (gst_type_find_helper):
27576         * gst/elements/gsttypefindelement.c:
27577         (gst_type_find_element_have_type), (gst_type_find_element_init),
27578         (stop_typefinding), (gst_type_find_element_handle_event),
27579         (find_suggest), (gst_type_find_element_chain),
27580         (gst_type_find_element_checkgetrange),
27581         (gst_type_find_element_getrange), (do_typefind),
27582         (gst_type_find_element_activate):
27583         * gst/gstbuffer.c: (_gst_buffer_sub_free),
27584         (gst_buffer_default_free), (gst_buffer_default_copy),
27585         (gst_buffer_set_caps):
27586         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27587         (gst_caps_replace):
27588         * gst/gstmessage.c: (gst_message_new),
27589         (gst_message_new_state_changed):
27590         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27591         (gst_pad_set_checkgetrange_function),
27592         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27593         (gst_pad_set_caps), (gst_pad_check_pull_range),
27594         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27595         * gst/gstpad.h:
27596         * gst/gsttypefind.c: (gst_type_find_register):
27597         Make gst_caps_replace() work like other _replace() functions.
27598         Use _caps_replace() where possible.
27599         Make sure _message_new() initialises its field.
27600         Add gst_static_pad_template_get_caps()
27601
27602
27603 2005-04-18  Andy Wingo  <wingo@pobox.com>
27604
27605         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27606         on the peer, not the pad. I think that was a typo. Pass an extra
27607         arg to see if random access is possible. Activate the pads as
27608         PULL_RANGE if possible.
27609
27610         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27611
27612         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
27613         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27614         to PROP_....
27615
27616 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27617
27618         * docs/faq/using.xml:
27619           Add note on gstreamer-properties (#154996).
27620
27621 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27622
27623         * docs/random/bbb/optional-properties:
27624           Some analysis on optional properties.
27625
27626 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27627
27628         * docs/gst/tmpl/gstelementfactory.sgml:
27629         * gst/gstelement.h:
27630         * gst/gstelementfactory.c: (gst_element_factory_init),
27631         (gst_element_factory_cleanup), (gst_element_register),
27632         (__gst_element_factory_add_static_pad_template),
27633         (gst_element_factory_get_static_pad_templates),
27634         (gst_element_factory_can_src_caps),
27635         (gst_element_factory_can_sink_caps):
27636         * gst/registries/Makefile.am:
27637         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27638         (gst_xml_registry_class_init), (gst_xml_registry_init),
27639         (gst_xml_registry_new), (gst_xml_registry_set_property),
27640         (gst_xml_registry_get_property), (get_time), (make_dir),
27641         (gst_xml_registry_get_perms_func),
27642         (plugin_times_older_than_recurse), (plugin_times_older_than),
27643         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27644         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27645         (add_to_char_array), (read_string), (read_uint), (read_enum),
27646         (load_pad_template), (load_feature), (load_plugin), (load_paths),
27647         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27648         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27649         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27650         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27651         (gst_xml_registry_rebuild):
27652         * gst/registries/gstlibxmlregistry.h:
27653         * tools/gst-compprep.c: (main):
27654         * tools/gst-inspect.c: (print_pad_templates_info):
27655         * tools/gst-xmlinspect.c: (print_element_info):
27656           Use libxml2 for registry parsing, use staticpadtemplates in
27657           elementfactories. Makes gst_init() +/- 10x faster.
27658
27659 2005-04-12  Wim Taymans  <wim@fluendo.com>
27660
27661         * gst/base/Makefile.am:
27662         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27663         (gst_basesink_pad_getcaps), (gst_basesink_init),
27664         (gst_basesink_event), (gst_basesink_change_state):
27665         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27666         (gst_basesrc_init), (gst_basesrc_query),
27667         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27668         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27669         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27670         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27671         (gst_basesrc_stop), (gst_basesrc_activate),
27672         (gst_basesrc_change_state):
27673         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27674         (helper_find_suggest), (gst_type_find_helper):
27675         * gst/base/gsttypefindhelper.h:
27676         * gst/elements/Makefile.am:
27677         * gst/elements/gstelements.c:
27678         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27679         (gst_fakesink_get_times), (gst_fakesink_event),
27680         (gst_fakesink_preroll), (gst_fakesink_render):
27681         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27682         (gst_fakesrc_init), (gst_fakesrc_event_handler),
27683         (gst_fakesrc_get_property), (gst_fakesrc_create),
27684         (gst_fakesrc_start), (gst_fakesrc_stop):
27685         * gst/elements/gstfakesrc.h:
27686         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27687         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27688         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27689         (gst_filesrc_create_read), (gst_filesrc_create),
27690         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27691         (gst_filesrc_start):
27692         * gst/elements/gsttypefindelement.c:
27693         (gst_type_find_element_have_type), (gst_type_find_element_init),
27694         (start_typefinding), (stop_typefinding), (push_buffer_store),
27695         (gst_type_find_element_handle_event),
27696         (gst_type_find_element_chain),
27697         (gst_type_find_element_checkgetrange),
27698         (gst_type_find_element_getrange), (do_typefind),
27699         (gst_type_find_element_activate),
27700         (gst_type_find_element_change_state):
27701         * gst/elements/gsttypefindelement.h:
27702         * gst/gstpipeline.c: (pipeline_bus_handler):
27703         Added typefind helper.
27704         Small preroll fix in the base sink.
27705         Disable typefind code in basesrc.
27706         Crude port of typefindelement.
27707         Fakesrc cleanups.
27708
27709
27710 2005-04-11  Wim Taymans  <wim@fluendo.com>
27711
27712         * check/gst/gstbus.c: (gstbus_suite):
27713         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27714         * check/gstcheck.h:
27715           Fix up the timeout so that the test does not fail.
27716
27717 2005-04-06  Wim Taymans  <wim@fluendo.com>
27718
27719         * gst/base/README:
27720         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27721         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27722         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27723         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27724         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27725         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27726         (gst_basesrc_stop), (gst_basesrc_activate),
27727         (gst_basesrc_change_state), (basesrc_find_peek),
27728         (basesrc_find_suggest), (gst_basesrc_type_find):
27729         * gst/base/gstbasesrc.h:
27730         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27731         (gst_filesrc_class_init), (gst_filesrc_init),
27732         (gst_filesrc_finalize), (gst_filesrc_set_location),
27733         (gst_filesrc_set_property), (gst_filesrc_get_property),
27734         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27735         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27736         (gst_filesrc_create_read), (gst_filesrc_create),
27737         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27738         * gst/elements/gstfilesrc.h:
27739         * gst/gstelement.c: (gst_element_get_state_func),
27740         (gst_element_lost_state), (gst_element_pads_activate):
27741         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27742         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27743         (gst_pad_pull_range):
27744         * gst/gstpad.h:
27745         More work on the generic source base class, implement seeking,
27746         query.
27747         Make filesrc extend the base source class.
27748         Added gst_pad_set_checkgetrange_function to GstPad.
27749
27750 2005-04-06  Andy Wingo  <wingo@pobox.com>
27751
27752         * pkgconfig/gstreamer-base.pc.in:
27753         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27754
27755         * pkgconfig/Makefile.am:
27756         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27757
27758 2005-04-04  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/base/Makefile.am:
27761         * gst/base/README:
27762         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27763         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27764         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27765         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27766         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27767         (gst_basesrc_base_init), (gst_basesrc_class_init),
27768         (gst_basesrc_init), (gst_basesrc_get_formats),
27769         (gst_basesrc_get_query_types), (gst_basesrc_query),
27770         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27771         (gst_basesrc_set_property), (gst_basesrc_get_property),
27772         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27773         (gst_basesrc_loop), (gst_basesrc_activate),
27774         (gst_basesrc_change_state):
27775         * gst/base/gstbasesrc.h:
27776         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27777         (gst_fakesrc_class_init), (gst_fakesrc_init),
27778         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27779         (gst_fakesrc_get_property), (gst_fakesrc_create):
27780         * gst/elements/gstfakesrc.h:
27781         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27782         (gst_filesrc_open_file), (gst_filesrc_loop),
27783         (gst_filesrc_activate), (filesrc_find_peek),
27784         (gst_filesrc_type_find):
27785         Made base source class, make fakesrc extend it.
27786         Add comments to basesink class.
27787         Some filesrc cleanup.
27788
27789 2005-03-31  David Schleef  <ds@schleef.org>
27790
27791         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27792         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27793         expected to link against libgstreamer.
27794         * gst/base/Makefile.am: link against libgstreamer
27795         * gst/elements/Makefile.am: same
27796
27797 2005-03-31  Andy Wingo  <wingo@pobox.com>
27798
27799         * tests/instantiate/Makefile.am:
27800         * tests/instantiate/caps.c: Add test to test speed of caps copy
27801         and free.
27802
27803         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27804         GMemChunk to be fair.
27805
27806         * gst/gsttrashstack.h: Remove warning about using the fallback
27807         trash stack implementation, it's still faster than malloc.
27808
27809 2005-03-30  Andy Wingo  <wingo@pobox.com>
27810
27811         * tests/complexity.c: Add a copyright.
27812
27813 2005-03-31  Wim Taymans  <wim@fluendo.com>
27814
27815         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27816         (gst_base_transform_class_init), (gst_base_transform_init),
27817         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27818         (gst_base_transform_get_property),
27819         (gst_base_transform_sink_activate),
27820         (gst_base_transform_src_activate),
27821         (gst_base_transform_change_state):
27822         * gst/base/gstbasetransform.h:
27823         * gst/elements/gstidentity.c: (gst_identity_class_init),
27824         (gst_identity_event), (gst_identity_check_perfect),
27825         (gst_identity_transform), (gst_identity_start),
27826         (gst_identity_stop):
27827         Added start/stop methods to transform base class so subclasses 
27828         don't need to deal with state changes even.
27829
27830 2005-03-31  Wim Taymans  <wim@fluendo.com>
27831
27832         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27833         (gst_event_new_discontinuous), (gst_event_discont_get_value):
27834         * gst/gstevent.h:
27835         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27836         (gst_pad_pull_range):
27837         Added rate to the discont event to prepare for variable speed
27838         and reverse playback.
27839
27840 2005-03-29  David Schleef  <ds@schleef.org>
27841
27842         * configure.ac:
27843         * testsuite/trigger/Makefile.am:
27844         * testsuite/trigger/trigger.c: A little example program to show
27845         how trigger-based elements can work.
27846
27847 2005-03-29  Wim Taymans  <wim@fluendo.com>
27848
27849         * gst/base/Makefile.am:
27850         * gst/base/README:
27851         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27852         (gst_basesink_base_init), (gst_basesink_class_init),
27853         (gst_basesink_pad_getcaps), (gst_basesink_init),
27854         (gst_basesink_activate), (gst_basesink_change_state):
27855         * gst/base/gstbasesink.h:
27856         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27857         (gst_base_transform_base_init), (gst_base_transform_finalize),
27858         (gst_base_transform_class_init), (gst_base_transform_init),
27859         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27860         (gst_base_transform_event), (gst_base_transform_getrange),
27861         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27862         (gst_base_transform_set_property),
27863         (gst_base_transform_get_property),
27864         (gst_base_transform_sink_activate),
27865         (gst_base_transform_src_activate),
27866         (gst_base_transform_change_state):
27867         * gst/base/gstbasetransform.h:
27868         * gst/elements/gstidentity.c: (gst_identity_finalize),
27869         (gst_identity_class_init), (gst_identity_init),
27870         (gst_identity_event), (gst_identity_check_perfect),
27871         (gst_identity_transform), (gst_identity_set_property),
27872         (gst_identity_get_property), (gst_identity_change_state):
27873         * gst/elements/gstidentity.h:
27874         * gst/gstelement.c: (gst_element_get_state_func),
27875         (gst_element_lost_state), (gst_element_pads_activate):
27876         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27877         (gst_pad_check_pull_range), (gst_pad_pull_range):
27878         * gst/gstpad.h:
27879         Simplify pad activation.
27880         Added function to check if pull_range can be performed.
27881         Error out when pulling inactive or flushing pads.
27882         Removed const from refcounted types as it does not make sense.
27883         Simplify pad templates in basesink
27884         Added base class for simple 1-to-1 transforms.
27885         Make identity subclass the base transform.
27886
27887 2005-03-29  Andy Wingo  <wingo@pobox.com>
27888
27889         * docs/libs/gstreamer-libs-overrides.txt: 
27890         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27891         really don't understand what's going on, but like whatever. I want
27892         green buildbot!
27893
27894         * docs/gst/Makefile.am:
27895         * docs/libs/Makefile.am: Dist the overrides files.
27896
27897         * check/Makefile.am (clean-local): Remove .libs directories.
27898
27899         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27900         elements to EXTRA_DIST, so po/ files are happy.
27901
27902         * po/POTFILES.in: Er, remove it here.
27903
27904         * po/POTFILES: Remove gstspider.c.
27905
27906         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27907
27908         * docs/libs/gstreamer-libs-docs.sgml: 
27909         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27910         bytestream.
27911
27912         * tests/complexity.c (main): Set the length of the preroll queue
27913         on the sinks to prevent a lockup.
27914
27915         * libs/gst/dataprotocol/Makefile.am: 
27916         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27917         the same as the one in check/gst-libs/gdp.c.
27918
27919         * po/, docs/gst/: Commit automatic changes to docs and po files.
27920
27921         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27922         the versioned libgstbase.
27923
27924         * check/Makefile.am: Depend on an unversioned gst-register, seems
27925         to make autoconf happier.
27926
27927         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27928
27929 2005-03-28  Wim Taymans  <wim@fluendo.com>
27930
27931         * configure.ac:
27932         * docs/design/part-gstelement.txt:
27933         * docs/design/part-negotiation.txt:
27934         * docs/design/part-preroll.txt:
27935         * docs/design/part-scheduling.txt:
27936         * docs/design/part-states.txt:
27937         * gst/Makefile.am:
27938         * gst/base/Makefile.am:
27939         * gst/base/README:
27940         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27941         (gst_basesink_base_init), (gst_basesink_class_init),
27942         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27943         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27944         (gst_basesink_set_pad_functions),
27945         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27946         (gst_basesink_set_property), (gst_basesink_get_property),
27947         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27948         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27949         (gst_basesink_preroll_queue_push),
27950         (gst_basesink_preroll_queue_empty),
27951         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27952         (gst_basesink_event), (gst_basesink_get_times),
27953         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27954         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27955         (gst_basesink_loop), (gst_basesink_activate),
27956         (gst_basesink_change_state):
27957         * gst/base/gstbasesink.h:
27958         * gst/elements/Makefile.am:
27959         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27960         (gst_fakesink_class_init), (gst_fakesink_init),
27961         (gst_fakesink_set_property), (gst_fakesink_get_property),
27962         (gst_fakesink_get_times), (gst_fakesink_event),
27963         (gst_fakesink_preroll), (gst_fakesink_render),
27964         (gst_fakesink_change_state):
27965         * gst/elements/gstfakesink.h:
27966         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27967         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27968         * gst/gstelement.c: (gst_element_add_pad),
27969         (gst_element_get_state_func), (gst_element_abort_state),
27970         (gst_element_commit_state), (gst_element_lost_state),
27971         (gst_element_set_state), (gst_element_pads_activate):
27972         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27973         * gst/gstpipeline.c: (gst_pipeline_send_event),
27974         (gst_pipeline_change_state):
27975         Added state change code.
27976         Added/updated docs.
27977         Added sink base class, make fakesink extend the base class.
27978         Small cleanups in GstPipeline.
27979
27980 2005-03-26  David Schleef  <ds@schleef.org>
27981
27982         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27983         is broken and should be implemented in a different library.
27984         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27985         * gst/gst.h: remove gstcpu.h
27986         * gst/gstcpu.c: remove
27987         * gst/gstcpu.h: remove
27988         * gst/Makefile.am.future: Remove this file.  It's ancient.
27989
27990 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27991
27992         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27993         (gst_bin_send_event):
27994           Add default event/set_manager handlers. The set_manager handler
27995           takes care that the manager is distributed over kids that were
27996           already in the bin before the manager was set. The event handler
27997           is a utility virtual function that sends the event over all sinks,
27998           so that gst_element_send_event (bin, event); has the expected
27999           behaviour.
28000         * gst/gstpad.c: (gst_pad_event_default):
28001           Re-install default event handling for discontinuities, so that
28002           seeking works without requiring hacks in applications or extra
28003           code in sinks.
28004         * gst/gstpipeline.c: (gst_pipeline_class_init),
28005         (gst_pipeline_send_event):
28006           Half hack, half utility: set a pipeline to PAUSED for seek events,
28007           since that is the only way we can guarantee a/v sync. Means that
28008           you can do gst_element_seek (pipeline, method, pos); on a pipeline
28009           and it "just works".
28010
28011 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28012
28013         * gst/gstpipeline.c: (gst_pipeline_use_clock):
28014           Lock/unlock mismatch.
28015
28016 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
28017
28018         * docs/faq/gst-uninstalled:
28019           add gst-plugins-base
28020         * docs/gst/Makefile.am:
28021           don't error out until docs are fixed
28022         * docs/gst/gstreamer.types:
28023           remove thread
28024
28025 2005-03-22  Wim Taymans  <wim@fluendo.com>
28026
28027         * check/Makefile.am:
28028         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
28029         * gst/gststructure.c: (gst_structure_set_valist),
28030         (gst_structure_copy_conditional):
28031         Activated more tests.
28032         Added message test.
28033         Added G_TYPE_POINTER to GstStructure.
28034         
28035
28036 2005-03-22  Wim Taymans  <wim@fluendo.com>
28037
28038         * docs/design/part-TODO.txt:
28039         * docs/design/part-events.txt:
28040         * docs/design/part-gstbin.txt:
28041         * docs/design/part-gstbus.txt:
28042         * docs/design/part-gstpipeline.txt:
28043         * docs/design/part-messages.txt:
28044         * gst/gstbus.c:
28045         * gst/gstmessage.c:
28046         Docs updates
28047
28048 2005-03-21  Wim Taymans  <wim@fluendo.com>
28049
28050         * gst/gstbus.c: (gst_bus_post):
28051         Fix copy-and-paste error.
28052
28053 2005-03-21  Wim Taymans  <wim@fluendo.com>
28054
28055         * check/Makefile.am:
28056         * gst/Makefile.am:
28057         * gst/elements/Makefile.am:
28058         * gst/elements/gstelements.c:
28059         * gst/elements/gstfakesink.c: (gst_fakesink_init),
28060         (gst_fakesink_event), (gst_fakesink_chain):
28061         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28062         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
28063         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
28064         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
28065         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28066         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
28067         (gst_fakesrc_loop), (gst_fakesrc_activate),
28068         (gst_fakesrc_change_state):
28069         * gst/elements/gstfakesrc.h:
28070         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
28071         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
28072         (gst_filesrc_open_file), (gst_filesrc_loop),
28073         (gst_filesrc_activate), (gst_filesrc_change_state),
28074         (filesrc_find_peek), (filesrc_find_suggest),
28075         (gst_filesrc_type_find):
28076         * gst/elements/gstidentity.c: (gst_identity_finalize),
28077         (gst_identity_class_init), (gst_identity_init),
28078         (gst_identity_proxy_getcaps), (identity_queue_push),
28079         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
28080         (gst_identity_getrange), (gst_identity_chain),
28081         (gst_identity_sink_loop), (gst_identity_src_loop),
28082         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
28083         (gst_identity_set_property), (gst_identity_get_property),
28084         (gst_identity_change_state):
28085         * gst/elements/gstidentity.h:
28086         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
28087         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
28088         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
28089         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
28090         (gst_tee_sink_activate):
28091         * gst/elements/gsttee.h:
28092         * gst/gst.c: (gst_register_core_elements), (init_post):
28093         * gst/gst.h:
28094         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
28095         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
28096         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
28097         (gst_bin_change_state):
28098         * gst/gstbin.h:
28099         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
28100         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
28101         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
28102         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
28103         (gst_bus_set_sync_handler), (gst_bus_create_watch),
28104         (bus_watch_callback), (bus_watch_destroy),
28105         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
28106         (poll_timeout), (gst_bus_poll):
28107         * gst/gstbus.h:
28108         * gst/gstcaps.h:
28109         * gst/gstdata.h:
28110         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28111         (gst_element_post_message), (gst_element_message_full),
28112         (gst_element_get_state_func), (gst_element_get_state),
28113         (gst_element_abort_state), (gst_element_commit_state),
28114         (gst_element_lost_state), (gst_element_set_state),
28115         (gst_element_pads_activate), (gst_element_change_state),
28116         (gst_element_dispose), (gst_element_set_manager_func),
28117         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
28118         (gst_element_set_manager), (gst_element_get_manager),
28119         (gst_element_set_bus), (gst_element_get_bus),
28120         (gst_element_set_scheduler), (gst_element_get_scheduler):
28121         * gst/gstelement.h:
28122         * gst/gstevent.c: (gst_event_new_segment_seek),
28123         (gst_event_new_flush):
28124         * gst/gstevent.h:
28125         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
28126         (_gst_message_free), (gst_message_get_type), (gst_message_new),
28127         (gst_message_new_eos), (gst_message_new_error),
28128         (gst_message_new_warning), (gst_message_new_tag),
28129         (gst_message_new_state_changed), (gst_message_new_application),
28130         (gst_message_get_structure), (gst_message_parse_tag),
28131         (gst_message_parse_state_changed), (gst_message_parse_error),
28132         (gst_message_parse_warning):
28133         * gst/gstmessage.h:
28134         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
28135         (gst_real_pad_set_property), (gst_pad_set_active),
28136         (gst_pad_is_active), (gst_pad_set_blocked_async),
28137         (gst_pad_set_blocked), (gst_pad_is_blocked),
28138         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
28139         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
28140         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
28141         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
28142         (gst_pad_link_filtered), (gst_pad_relink_filtered),
28143         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
28144         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
28145         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
28146         (gst_pad_set_caps), (gst_pad_configure_sink),
28147         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
28148         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
28149         (gst_real_pad_dispose), (gst_real_pad_finalize),
28150         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
28151         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28152         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
28153         * gst/gstpad.h:
28154         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
28155         (pipeline_bus_handler), (gst_pipeline_change_state),
28156         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
28157         * gst/gstpipeline.h:
28158         * gst/gstprobe.h:
28159         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
28160         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
28161         (gst_queue_link_src), (gst_queue_bufferalloc),
28162         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
28163         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
28164         (gst_queue_loop), (gst_queue_handle_src_event),
28165         (gst_queue_handle_src_query), (gst_queue_src_activate),
28166         (gst_queue_change_state):
28167         * gst/gstqueue.h:
28168         * gst/gstscheduler.c: (gst_scheduler_init),
28169         (gst_scheduler_dispose), (gst_scheduler_create_task),
28170         (gst_scheduler_factory_create):
28171         * gst/gstscheduler.h:
28172         * gst/gststructure.c: (gst_structure_get_type),
28173         (gst_structure_copy_conditional):
28174         * gst/gststructure.h:
28175         * gst/gsttaginterface.h:
28176         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28177         (gst_task_init), (gst_task_dispose), (gst_task_create),
28178         (gst_task_get_state), (gst_task_start), (gst_task_stop),
28179         (gst_task_pause):
28180         * gst/gsttask.h:
28181         * gst/gstthread.c:
28182         * gst/gstthread.h:
28183         * gst/gsttypes.h:
28184         * gst/schedulers/Makefile.am:
28185         * gst/schedulers/cothreads_compat.h:
28186         * gst/schedulers/entryscheduler.c:
28187         * gst/schedulers/faircothreads.c:
28188         * gst/schedulers/faircothreads.h:
28189         * gst/schedulers/fairscheduler.c:
28190         * gst/schedulers/gstbasicscheduler.c:
28191         * gst/schedulers/gstoptimalscheduler.c:
28192         * gst/schedulers/gthread-cothreads.h:
28193         * gst/schedulers/threadscheduler.c:
28194         (gst_thread_scheduler_task_get_type),
28195         (gst_thread_scheduler_task_class_init),
28196         (gst_thread_scheduler_task_init),
28197         (gst_thread_scheduler_task_start),
28198         (gst_thread_scheduler_task_stop),
28199         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
28200         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28201         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
28202         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
28203         (plugin_init):
28204         * libs/gst/Makefile.am:
28205         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
28206         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
28207         (gst_file_pad_parent_set):
28208         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
28209         (gst_dp_event_from_packet):
28210         * tests/complexity.c: (main):
28211         * tests/mass_elements.c: (main):
28212         * testsuite/states/locked.c: (message_received), (main):
28213         * testsuite/states/parent.c: (main):
28214         * tools/gst-inspect.c: (print_element_flag_info),
28215         (print_implementation_info), (print_pad_info):
28216         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
28217         (main):
28218         * tools/gst-md5sum.c: (event_loop), (main):
28219         * tools/gst-typefind.c: (main):
28220         * tools/gst-xmlinspect.c: (print_element_info):
28221         Next big merge.
28222         Added GstBus for mainloop integration.
28223         Added GstMessage for sending notifications on the bus.
28224         Added GstTask as an abstraction for pipeline entry points.
28225         Removed GstThread.
28226         Removed Schedulers.
28227         Simplified GstQueue for multithreaded core.
28228         Made _link threadsafe, removed old capsnego.
28229         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
28230         Added pad blocking functions.
28231         Reworked scheduling functions in GstPad to prepare for
28232         scheduling updates soon.
28233         Moved events out of data stream.
28234         Simplified GstEvent types.
28235         Added return values to push/pull.
28236         Removed clocking from GstElement.
28237         Added prototypes for state change function for next merge.
28238         Removed iterate from bins and state change management.
28239         Fixed some elements, disabled others for now.
28240         Fixed -inspect and -launch.
28241         Added check for GstBus.
28242
28243 2005-03-10  Wim Taymans  <wim@fluendo.com>
28244
28245         * docs/design/part-MT-refcounting.txt:
28246         * docs/design/part-clocks.txt:
28247         * docs/design/part-gstelement.txt:
28248         * docs/design/part-gstobject.txt:
28249         * docs/design/part-standards.txt:
28250         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28251         (gst_bin_remove_func), (gst_bin_remove):
28252         * gst/gstbin.h:
28253         * gst/gstbuffer.c:
28254         * gst/gstcaps.h:
28255         * testsuite/clock/clock1.c: (main):
28256         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28257         (main):
28258         * testsuite/dlopen/loadgst.c: (do_test):
28259         * testsuite/refcounting/bin.c: (add_remove_test1),
28260         (add_remove_test2), (main):
28261         * testsuite/refcounting/element.c: (main):
28262         * testsuite/refcounting/element_pad.c: (main):
28263         * testsuite/refcounting/pad.c: (main):
28264         * tools/gst-launch.c: (sigint_handler_sighandler):
28265         * tools/gst-typefind.c: (main):
28266         Doc updates.
28267         Added doc about clock.
28268         removed gst_bin_iterate_recurse_up(), marked methods
28269         for removal.
28270         Fix more testsuites.
28271
28272 2005-03-09  Wim Taymans  <wim@fluendo.com>
28273
28274         * gst/gstpad.c: (gst_pad_get_direction),
28275         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28276         (gst_pad_collect_valist):
28277         * testsuite/bins/interface.c: (main):
28278         * testsuite/caps/audioscale.c: (test_caps):
28279         * testsuite/caps/caps.c: (test1), (test2), (test3):
28280         * testsuite/caps/deserialize.c: (main):
28281         * testsuite/caps/enumcaps.c: (main):
28282         * testsuite/caps/filtercaps.c: (main):
28283         * testsuite/caps/intersect2.c: (main):
28284         * testsuite/caps/random.c: (main):
28285         * testsuite/caps/renegotiate.c: (my_fixate), (main):
28286         * testsuite/caps/sets.c: (check_caps):
28287         * testsuite/caps/simplify.c: (check_caps), (main):
28288         * testsuite/caps/subtract.c: (check_caps):
28289         Fix _pad_get_direction wrt ghostpads.
28290         Fix caps testsuite.
28291
28292 2005-03-09  Wim Taymans  <wim@fluendo.com>
28293
28294         * check/Makefile.am:
28295         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28296         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28297         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28298         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28299         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28300         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28301         (gst_bin_remove), (gst_bin_iterate_recurse_up),
28302         (bin_element_is_sink), (gst_bin_iterate_sinks),
28303         (gst_bin_iterate_all_by_interface):
28304         * gst/gstbin.h:
28305         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28306         (gst_element_change_state), (gst_element_dispose),
28307         (gst_element_finalize), (gst_element_set_loop_function):
28308         * gst/gstelement.h:
28309         * gst/gstiterator.c: (find_custom_fold_func):
28310         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28311         (gst_pad_collectv), (gst_pad_collect_valist),
28312         (gst_pad_template_new):
28313         * gst/gstpipeline.c: (gst_pipeline_class_init),
28314         (gst_pipeline_dispose), (gst_pipeline_set_property),
28315         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28316         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28317         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28318         * gst/gstutils.h:
28319         * gst/schedulers/entryscheduler.c:
28320         * gst/schedulers/gstbasicscheduler.c:
28321         (gst_basic_scheduler_cothreaded_chain),
28322         (gst_basic_scheduler_chain_add_element):
28323         * testsuite/bins/interface.c: (main):
28324         Added GstBin test.
28325         Added GstSystemClock test.
28326         Implemented clock distribution code in GstBin.
28327         Implemented iterate sinks method for future use.
28328         Rearranged gstelement.h
28329         Fix GstIterator comparison bug.
28330         Moved some code to GstPipeline, mostly clocking related.
28331
28332 2005-03-09  Wim Taymans  <wim@fluendo.com>
28333
28334         * configure.ac:
28335         * gst/gst_private.h:
28336         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28337         (gst_bin_remove_func), (gst_bin_remove),
28338         (gst_bin_get_by_name_recurse_up):
28339         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28340         (gst_clock_id_compare_func), (gst_clock_id_wait),
28341         (gst_clock_id_wait_async), (gst_clock_init),
28342         (gst_clock_adjust_unlocked), (gst_clock_get_time):
28343         * gst/gstelement.h:
28344         * gst/gstinfo.c: (_gst_debug_init):
28345         * gst/gstobject.h:
28346         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28347         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28348         * gst/gstpad.h:
28349         Bump version number, we're now 0.9.0
28350         Add future debugging category.
28351         Fix NULL _unref() in _get_by_name_recurse_up
28352         Rearrange gstpad.h.
28353         Update some docs.
28354
28355 2005-03-08  Wim Taymans  <wim@fluendo.com>
28356
28357         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28358         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28359         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28360         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28361         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28362         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28363         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28364         * gst/elements/gstidentity.c: (gst_identity_class_init):
28365         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28366         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28367         * gst/elements/gstshaper.c: (gst_shaper_class_init):
28368         * gst/elements/gststatistics.c: (gst_statistics_class_init):
28369         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28370         (gst_tee_link):
28371         * gst/gstelement.c: (gst_element_class_init),
28372         (gst_element_base_class_init), (gst_element_init),
28373         (gst_element_get_random_pad), (gst_element_wait_state_change),
28374         (gst_element_change_state), (gst_element_dispose),
28375         (gst_element_finalize), (gst_element_set_loop_function):
28376         * gst/gstelement.h:
28377         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28378         * gst/gstthread.c: (gst_thread_class_init),
28379         (gst_thread_release_children_locks), (gst_thread_change_state):
28380         * gst/schedulers/gstbasicscheduler.c:
28381         (gst_basic_scheduler_loopfunc_wrapper),
28382         (gst_basic_scheduler_chain_wrapper),
28383         (gst_basic_scheduler_src_wrapper),
28384         (gst_basic_scheduler_remove_element):
28385         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28386         Remove threadsafe properties. Fix elements because GObject
28387         complains when installing a property before declaring a
28388         set/get_property handler.
28389         Rearrange gstelement.h file, use STATE macros for state locks.
28390         Free mutexes in the finalize method instead of dispose.
28391
28392 2005-03-08  Wim Taymans  <wim@fluendo.com>
28393
28394         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28395         * gst/gstthread.c: (gst_thread_release_children_locks):
28396         Added parentage check.
28397         Fix build og GstThread again.
28398
28399 2005-03-08  Wim Taymans  <wim@fluendo.com>
28400
28401         * docs/design/part-MT-refcounting.txt:
28402         * docs/design/part-conventions.txt:
28403         * docs/design/part-gstobject.txt:
28404         * docs/design/part-relations.txt:
28405         * docs/design/part-standards.txt:
28406         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28407         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28408         (gst_bin_get_by_name), (gst_bin_get_by_interface),
28409         (gst_bin_iterate_all_by_interface):
28410         * gst/gstbuffer.h:
28411         * gst/gstclock.h:
28412         * gst/gstelement.c: (gst_element_class_init),
28413         (gst_element_change_state), (gst_element_set_loop_function):
28414         * gst/gstelement.h:
28415         * gst/gstiterator.c:
28416         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28417         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28418         (gst_object_dispatch_properties_changed), (gst_object_set_name),
28419         (gst_object_set_parent), (gst_object_unparent),
28420         (gst_object_check_uniqueness):
28421         * gst/gstobject.h:
28422         Docs updates, clean up some headers.
28423
28424 2005-03-07  Wim Taymans  <wim@fluendo.com>
28425
28426         * check/.cvsignore:
28427         * check/Makefile.am:
28428         * check/gst-libs/.cvsignore:
28429         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28430         * check/gst/.cvsignore:
28431         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28432         (START_TEST), (gstbus_suite), (main):
28433         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28434         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28435         (gst_data_suite), (main):
28436         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28437         (add_fold_func), (gstiterator_suite), (main):
28438         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28439         (thread_name_object), (thread_name_object_default),
28440         (gst_object_name_compare), (gst_object_suite), (main):
28441         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28442         (gst_pad_suite), (main):
28443         * check/gstcheck.c: (gst_check_log_message_func),
28444         (gst_check_log_critical_func), (gst_check_init):
28445         * check/gstcheck.h:
28446         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28447         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28448         Added checks.
28449
28450 2005-03-07  Wim Taymans  <wim@fluendo.com>
28451
28452         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28453         (gst_list_iterator_next), (gst_list_iterator_resync),
28454         (gst_list_iterator_free), (gst_iterator_new_list),
28455         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28456         (gst_iterator_free), (gst_iterator_push), (filter_next),
28457         (filter_resync), (filter_uninit), (filter_free),
28458         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28459         (gst_iterator_foreach), (find_custom_fold_func),
28460         (gst_iterator_find_custom):
28461         * gst/gstiterator.h:
28462         Added missing files.
28463
28464 2005-03-07  Wim Taymans  <wim@fluendo.com>
28465
28466         * Makefile.am:
28467         * configure.ac:
28468         * docs/design/part-MT-refcounting.txt:
28469         * docs/design/part-conventions.txt:
28470         * docs/design/part-gstobject.txt:
28471         * docs/design/part-relations.txt:
28472         * examples/mixer/mixer.c: (main):
28473         * examples/thread/thread.c: (eos), (main):
28474         * gst/Makefile.am:
28475         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28476         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28477         (gst_spider_plug_from_srcpad):
28478         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28479         (gst_spider_identity_change_state),
28480         (gst_spider_identity_sink_loop_type_finding):
28481         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28482         * gst/elements/gstidentity.c: (gst_identity_init):
28483         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28484         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28485         * gst/elements/gsttypefindelement.c: (free_entry):
28486         * gst/gst.c:
28487         * gst/gst.h:
28488         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28489         (gst_bin_set_clock_func), (gst_bin_auto_clock),
28490         (gst_bin_set_index), (gst_bin_set_element_sched),
28491         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28492         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28493         (gst_bin_iterate_elements), (iterate_child_recurse),
28494         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28495         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28496         (compare_interface), (gst_bin_get_by_interface),
28497         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28498         * gst/gstbin.h:
28499         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28500         (gst_buffer_default_free), (gst_buffer_default_copy),
28501         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28502         (gst_buffer_create_sub):
28503         * gst/gstbuffer.h:
28504         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28505         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28506         (gst_caps_unref), (gst_static_caps_get),
28507         (gst_caps_remove_and_get_structure), (gst_caps_append),
28508         (gst_caps_append_structure), (gst_caps_remove_structure),
28509         (gst_caps_copy_nth), (gst_caps_set_simple),
28510         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28511         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28512         (gst_caps_structure_intersect_field), (gst_caps_intersect),
28513         (gst_caps_structure_subtract_field), (gst_caps_subtract),
28514         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28515         (gst_caps_structure_figure_out_union),
28516         (gst_caps_switch_structures), (gst_caps_do_simplify),
28517         (gst_caps_replace), (gst_caps_from_string),
28518         (gst_caps_copy_conditional):
28519         * gst/gstcaps.h:
28520         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28521         (_gst_clock_id_free), (gst_clock_id_unref),
28522         (gst_clock_id_compare_func), (gst_clock_id_wait),
28523         (gst_clock_id_wait_async), (gst_clock_class_init),
28524         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28525         (gst_clock_get_time), (gst_clock_set_time_adjust),
28526         (gst_clock_set_property), (gst_clock_get_property):
28527         * gst/gstclock.h:
28528         * gst/gstcompat.h:
28529         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28530         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28531         * gst/gstdata.h:
28532         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28533         (gst_element_requires_clock), (gst_element_provides_clock),
28534         (gst_element_set_clock), (gst_element_clock_wait),
28535         (gst_element_wait), (gst_element_set_time_delay),
28536         (gst_element_is_indexable), (gst_element_add_pad),
28537         (gst_element_add_ghost_pad), (gst_element_remove_pad),
28538         (pad_compare_name), (gst_element_get_static_pad),
28539         (gst_element_request_pad), (gst_element_get_request_pad),
28540         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28541         (gst_element_class_get_pad_template_list),
28542         (gst_element_class_get_pad_template), (gst_element_error_func),
28543         (gst_element_get_random_pad), (gst_element_get_event_masks),
28544         (gst_element_send_event), (gst_element_seek),
28545         (gst_element_get_query_types), (gst_element_query),
28546         (gst_element_get_formats), (gst_element_convert),
28547         (gst_element_is_locked_state), (gst_element_set_locked_state),
28548         (gst_element_sync_state_with_parent), (gst_element_change_state),
28549         (gst_element_finalize), (gst_element_yield),
28550         (gst_element_interrupt), (gst_element_set_scheduler),
28551         (gst_element_get_scheduler), (gst_element_set_loop_function):
28552         * gst/gstelement.h:
28553         * gst/gstevent.h:
28554         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28555         (gst_format_get_by_nick), (gst_format_get_details),
28556         (gst_format_iterate_definitions):
28557         * gst/gstformat.h:
28558         * gst/gstindex.c: (gst_index_gtype_resolver):
28559         * gst/gstinfo.c:
28560         * gst/gstinfo.h:
28561         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28562         (gst_mem_chunk_free):
28563         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28564         (gst_object_ref), (gst_object_unref), (gst_object_sink),
28565         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28566         (gst_object_dispatch_properties_changed),
28567         (gst_object_set_name_default), (gst_object_set_name),
28568         (gst_object_get_name), (gst_object_set_name_prefix),
28569         (gst_object_get_name_prefix), (gst_object_set_parent),
28570         (gst_object_get_parent), (gst_object_unparent),
28571         (gst_object_check_uniqueness), (gst_object_save_thyself),
28572         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28573         (gst_object_set_property), (gst_object_get_property),
28574         (gst_object_get_path_string):
28575         * gst/gstobject.h:
28576         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28577         (gst_real_pad_init), (gst_real_pad_get_property),
28578         (gst_pad_custom_new), (gst_pad_get_direction),
28579         (gst_pad_set_active), (gst_pad_is_active),
28580         (gst_pad_set_event_function), (gst_pad_is_linked),
28581         (gst_pad_link_free), (gst_pad_link_intersect),
28582         (gst_pad_link_fixate), (gst_pad_set_caps),
28583         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28584         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28585         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28586         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28587         (gst_pad_get_caps), (gst_pad_peer_get_caps),
28588         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28589         (gst_pad_realize), (gst_pad_get_allowed_caps),
28590         (gst_real_pad_dispose), (gst_real_pad_finalize),
28591         (gst_pad_collectv), (gst_pad_collect_valist),
28592         (gst_pad_template_dispose), (gst_pad_template_new),
28593         (gst_pad_get_internal_links):
28594         * gst/gstpad.h:
28595         * gst/gstpipeline.c: (gst_pipeline_dispose),
28596         (gst_pipeline_change_state):
28597         * gst/gstpipeline.h:
28598         * gst/gstplugin.c:
28599         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28600         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28601         * gst/gstpluginfeature.h:
28602         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28603         * gst/gstquery.c: (_gst_query_type_initialize),
28604         (gst_query_type_register), (gst_query_type_get_by_nick),
28605         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28606         * gst/gstquery.h:
28607         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28608         * gst/gstscheduler.c: (gst_scheduler_add_element),
28609         (gst_scheduler_factory_create):
28610         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28611         (gst_structure_free), (gst_structure_set_name),
28612         (gst_structure_id_set_value), (gst_structure_set_value),
28613         (gst_structure_set_valist), (gst_structure_remove_field),
28614         (gst_structure_remove_fields),
28615         (gst_structure_remove_fields_valist),
28616         (gst_structure_remove_all_fields), (gst_structure_foreach),
28617         (gst_structure_map_in_place),
28618         (gst_caps_structure_fixate_field_nearest_int),
28619         (gst_caps_structure_fixate_field_nearest_double):
28620         * gst/gststructure.h:
28621         * gst/gstsystemclock.c: (gst_system_clock_class_init),
28622         (gst_system_clock_init), (gst_system_clock_dispose),
28623         (gst_system_clock_async_thread),
28624         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28625         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28626         * gst/gstsystemclock.h:
28627         * gst/gsttag.c: (gst_tag_list_add_value_internal),
28628         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28629         * gst/gsttaginterface.c:
28630         * gst/gstthread.c: (gst_thread_dispose),
28631         (gst_thread_release_children_locks), (gst_thread_change_state),
28632         (gst_thread_main_loop):
28633         * gst/gsttrashstack.h:
28634         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28635         * gst/gsttypes.h:
28636         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28637         (gst_element_request_pad), (gst_element_get_pad_from_template),
28638         (gst_element_request_compatible_pad),
28639         (gst_element_get_compatible_pad_filtered),
28640         (gst_element_get_compatible_pad), (gst_element_state_get_name),
28641         (gst_element_link_pads_filtered), (gst_element_link_filtered),
28642         (gst_element_link_many), (gst_element_link),
28643         (gst_element_link_pads), (gst_element_unlink_pads),
28644         (gst_element_unlink_many), (gst_element_unlink),
28645         (gst_pad_can_link_filtered), (gst_pad_can_link),
28646         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28647         (gst_object_default_error), (gst_bin_add_many),
28648         (gst_bin_remove_many), (gst_element_populate_std_props),
28649         (gst_element_class_install_std_props), (gst_buffer_merge),
28650         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28651         (link_fold_func), (gst_pad_proxy_setcaps):
28652         * gst/gstutils.h:
28653         * gst/gstvalue.c: (gst_value_deserialize_string):
28654         * gst/parse/grammar.y:
28655         * gst/schedulers/gstbasicscheduler.c:
28656         (gst_basic_scheduler_cothreaded_chain),
28657         (gst_basic_scheduler_chain_recursive_add),
28658         (gst_basic_scheduler_pad_link):
28659         * gst/schedulers/gstoptimalscheduler.c:
28660         (get_group_schedule_function),
28661         (gst_opt_scheduler_state_transition),
28662         (gst_opt_scheduler_add_element), (element_get_reachables_func):
28663         * libs/gst/bytestream/bytestream.c:
28664         * libs/gst/dataprotocol/dataprotocol.c:
28665         (gst_dp_header_from_buffer):
28666         * po/nb.po:
28667         * po/ru.po:
28668         * tests/threadstate/threadstate2.c: (eos):
28669         * tools/gst-compprep.c: (main):
28670         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28671         (print_pad_info), (print_children_info):
28672         * tools/gst-launch.c: (idle_func), (main):
28673         * tools/gst-md5sum.c: (idle_func), (main):
28674         * tools/gst-xmlinspect.c: (print_element_info):
28675         First THREADED backport attempt, focusing on adding locks and
28676         making sure the API is threadsafe. Needs more work. More docs
28677         follow this week.
28678
28679 2005-02-24  Andy Wingo  <wingo@pobox.com>
28680
28681         * tests/bench-complexity.scm:
28682         * tests/complexity.gnuplot: New files, good for running complexity
28683         benchmarks.
28684
28685         * tests/Makefile.am:
28686         * tests/complexity.c: New test, sets up N elements, at each level
28687         teeing into M streams per element. Eeeenteresting.
28688
28689         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28690         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28691         running bench-mass_elements.scm.
28692
28693         * tests/bench-mass_elements.scm: New script, runs mass_elements
28694         for various numbers of identities, outputting the results to a
28695         file. Requires guile 1.6. Just for testing.
28696
28697 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28698
28699         * gst/schedulers/fairscheduler.c:
28700           compile with debug disabled
28701
28702 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28703
28704         * configure.ac:
28705           hunting season on 0.9 is now OPEN