docs/: Remove library types fro core docs and have them in libs docs.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/gst/gstreamer.types.in:
4         * docs/libs/gstreamer-libs.types:
5           Remove library types fro core docs and have them in libs docs.
6           Reformat and cleanup. Add comment for miniobject types.
7
8 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
9
10         * gst/gsturi.c: (gst_uri_get_protocol):
11           Fix leak: g_strdown operates on the string in place, while
12           g_ascii_strdown() returns a newly-allocated string.
13
14 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
15
16         * tools/gst-inspect.c: (print_uri_handler_info),
17         (print_element_info):
18         Print the URI protocols and the URI type supported by the element.
19
20 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
21
22         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
23         Use g_value_take_string() instead of the deprecated
24         g_value_set_string_take_ownership().
25
26 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
27
28         * gst/gstregistrybinary.c: (_gst_crc32):
29         Return the old CRC instead of 0 if we give a NULL buffer
30         or a buffer with a length of 0.
31
32 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
33
34         * gst/gsturi.c: (gst_uri_protocol_check_internal),
35         (gst_uri_get_protocol), (gst_uri_has_protocol),
36         (gst_uri_construct), (gst_uri_handler_set_uri):
37         A valid URI scheme can also include '+', '-' and '.' additional
38         to alphanumeric characters as per RFC 3986 Section 3.1.
39
40         Handle URI schemes case insensitive in all places and convert
41         to lower-case when constructing an URI or setting an URI with
42         the GstURIHandler interface. Fixes bug #528868.
43         All elements can still assume (as before) that they will
44         get passed URIs with a lower-case URI scheme by the GstURIHandler
45         interface.
46
47 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
48
49         * gst/gstcaps.c: (gst_static_caps_get):
50         * gst/gstclock.c: (gst_clock_entry_new):
51           Don't use g_atomic_set_int where it's not needed.
52
53 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
54
55         * gst/gstvalue.c: (gst_value_deserialize_caps):
56         * gst/parse/grammar.y:
57         Fix 2 caps leaks.
58
59 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
60
61         * gst/gstutils.c: (gst_atomic_int_set):
62         Use g_atomic_int_set() here too instead of assignment +
63         g_atomic_int_get().
64
65 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
66         
67         * gst/gstutils.c:
68         * gst/gstutils.h:
69         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
70         now that we depend on new enough GLib.
71
72         * gst/gstcaps.c: (gst_static_caps_get):
73         * gst/gstclock.c: (gst_clock_entry_new):
74         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
75         (gst_debug_set_default_threshold), (_gst_debug_category_new),
76         (gst_debug_category_set_threshold):
77         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
78         (gst_base_sink_set_qos_enabled):
79         * libs/gst/net/gstnettimeprovider.c:
80         (gst_net_time_provider_set_property):
81         Use g_atomic_int_set() instead of gst_atomic_int_set().
82
83 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
84
85         * gst/gstquery.c:
86           Also use G_GINT64_CONSTANT for the queries.
87
88 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
89
90         * gst/gstmessage.c:
91           Use G_GINT64_CONSTANT in varargs function.
92
93 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
94
95         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
96         Initialize the registry magic with zeroes.
97
98 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
99
100         * gst/gstregistrybinary.c: (_gst_crc32),
101         (gst_registry_binary_write),
102         (gst_registry_binary_initialize_magic),
103         (gst_registry_binary_write_cache),
104         (gst_registry_binary_check_magic),
105         (gst_registry_binary_read_cache):
106         * gst/gstregistrybinary.h:
107         Add crc32 checksum to the binary registry file and check this before
108         accepting a registry file.
109
110         Also free the data list when writing to the registry file fails.
111
112 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
113
114         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
115         (gst_registry_binary_load_feature),
116         (gst_registry_binary_load_plugin):
117         If an element supports the Uri interface, returns a valid pointer
118         to the supported URI protocols but this pointer contains nothing
119         don't try to save that as it will corrupt the registry.
120
121         Don't unref the plugin if we added it to the registry already but
122         fail to load a feature as gst_registry_add_plugin() takes ownership
123         of the plugin.
124
125         Improve debugging a bit.
126
127 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
128
129         * gst/gsttaglist.h:
130           Clarify some tag item docs after discussion on irc.
131
132 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
133
134         * docs/gst/gstreamer-docs.sgml:
135           Remove commented out plugins (they have their own docs). Update
136           comments.
137
138 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
139
140         * docs/gst/gstreamer-docs.sgml:
141         * docs/gst/gstreamer-sections.txt:
142         * gst/gstparamspecs.c:
143         * gst/gstparamspecs.h:
144           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
145           docs to own section.
146
147         * gst/gstvalue.c:
148           This now only documents GValue.
149           
150         * docs/libs/gstreamer-libs-sections.txt:
151         * libs/gst/controller/gstcontroller.h:
152           Remove GST_PARAM_CONTROLLABLE.
153
154 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
155
156         * docs/README:
157           Correct file path. Tell about how to use -overrides.txt.
158         * docs/design/draft-tagreading.txt:
159           Small design update.
160
161 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
162
163         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
164         (gst_registry_binary_load_plugin):
165         Fix a typo in a debug message and revert change from yesterday as
166         gst_registry_add_plugin() will only fail if something is really wrong
167         already and we can't survive it anyway.
168
169 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
170
171         * gst/gst.c: (init_post), (gst_deinit):
172           Pre-register GstGError GType from a thread-safe context
173           (fixes #527967); unref enum type classes in deinit.
174
175 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
176
177         Patch by: Rene Stadler <mail at renestadler de>
178
179         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
180           Merging an empty list with another list in KEEP_ALL mode should
181           yield an empty list as result and not the second list (#512578).
182
183         * tests/check/gst/gsttagsetter.c:
184           Add unit test for tag merge modes and the aforementioned bug.
185
186 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
187
188         Patch by: Rene Stadler <mail at renestadler de>
189
190         * gst/gsttaglist.h:
191           Fix description to match the order in the table (#512577).
192   
193 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
194
195         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
196
197         * libs/gst/net/gstnettimepacket.h:
198         * docs/libs/gstreamer-libs-sections.txt:
199           Define socklen_t as int if it's not defined yet. Fixes compilation
200           with MSVC6 and other versions where socklen_t is not defined in
201           the windows headers (#518022).
202
203 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
204
205         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
206         If gst_registry_add_plugin() fails our reference to the plugin is
207         invalid so don't try to use it anymore and instead error out.
208
209 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
210
211         * tools/gst-xmlinspect.c: (print_element_info), (main):
212           De-cruft a bit. If no argument is specified, print all elements in
213           XML syntax rather than a freestyle list of elements like gst-inspect.
214           Also, don't print XML header chunk unless we actually have something
215           to print (ie. don't print it before an error message); print error
216           message to stderr not stdout. Remove support for printing plugin
217           info (it would just output something freestyle along the lines of
218           gst-inspect so far), which fixes #514507. Also add license header.
219
220 2008-04-11  Julien Moutte  <julien@fluendo.com>
221
222         Mac OS X love...
223         * configure.ac: Merge platform specific defines, introduce a new
224         define on OS X to remember that forking when updating registry is
225         unsafe.
226         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
227         module.
228         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
229         is defined.
230         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
231         condition that leads to absolutely no plugins being registered on
232         OS X.
233
234 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
235
236         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
237
238         * gst/gstutils.c: (gst_pad_add_data_probe),
239           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
240           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
241           (gst_pad_add_buffer_probe_full):
242         * gst/gstutils.h:
243         * docs/gst/gstreamer-sections.txt:
244         * win32/common/libgstreamer.def:
245           Add gst_pad_add_*_probe_full() functions with a notify callback that
246           lets the caller free the data it passes to the probe functions. This
247           is useful for bindings such as gst-python or gstreamermm (#526814).
248           API: gst_pad_add_data_probe_full
249           API: gst_pad_add_buffer_probe_full
250           API: gst_pad_add_event_probe_full
251
252         * tests/check/gst/gstutils.c:
253           Add minimal unit test to make sure freeing the data actually works
254           as expected.
255
256         * tests/benchmarks/.cvsignore:
257           Random cvsignore addendum.
258
259 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
260
261         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
262           (GST_DEBUG_BIN_TO_DOT_FILE):
263           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
264           to it in the docs (since these are macros the types of the arguments
265           won't be shown in the docs otherwise).
266
267 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
268
269         * gst/gstpad.c:
270           Do not abort on out of memory for pad_alloc_buffer.
271
272 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
273
274         * libs/gst/check/gstcheck.c:
275           Remove blank line between symbol name ad parameters to fix gtkdoc
276           warning.
277
278 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
279
280         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
281
282         * docs/gst/gstreamer-sections.txt:
283         * gst/gstsegment.c:
284         * gst/gstsegment.h:
285         * win32/common/libgstreamer.def:
286           Expose gst_segment_copy() to make things easier for the c++ bindings.
287           Fixes #518932.
288           API: gst_segment_copy()
289
290 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
291
292         * gst/gst.c: (gst_init_get_option_group), (init_post):
293           Fix const position; ref GType classes for enum types to work
294           around thread-safety issues in GLib versions < 2.16.
295
296 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
297
298         * docs/design/part-buffering.txt:
299         Fix some typos and set the estimated total for push mode to -1.
300
301         * gst/gstquery.c: (gst_query_new_buffering):
302         Set buffering-left to 0 as we're not buffering by default.
303
304         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
305         Implement BUFFERING query.
306
307 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
308
309         Based on patch by: Milosz Derezynski <internalerror gmail com>
310
311         * gst/gsterror.c: (_gst_stream_errors_init):
312         * gst/gsterror.h:
313           Add two new error codes for encrypted content. Fixes #524659.
314           API: GST_STREAM_ERROR_DECRYPT
315           API: GST_STREAM_ERROR_DECRYPT_NOKEY
316
317 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
318
319         * gst/gstquery.h:
320           Fix typo.
321
322         * win32/common/libgstreamer.def:
323           Add new functions.
324
325 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
326
327         * plugins/elements/gstidentity.c: (gst_identity_event),
328         (gst_identity_start):
329         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
330         event after processing some data. Fixes bug #526042.
331
332 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
333
334         * docs/gst/gstreamer-sections.txt:
335         * gst/gstquery.c: (gst_query_parse_latency),
336         (gst_query_set_buffering_percent),
337         (gst_query_parse_buffering_percent),
338         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
339         * gst/gstquery.h:
340         Rename _avail -> _range
341         API: gst_query_set_buffering_range
342         API: gst_query_parse_buffering_range
343
344 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         * docs/design/part-buffering.txt:
347         * gst/gstquark.c:
348         * gst/gstquark.h:
349         * gst/gstquery.c: (gst_query_parse_latency),
350         (gst_query_new_buffering), (gst_query_set_buffering_percent),
351         (gst_query_parse_buffering_percent):
352         * gst/gstquery.h:
353         Add busy field and quark for the buffering query so that the app can
354         only use the query to see if buffering is in progress.
355
356 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * docs/gst/gstreamer-sections.txt:
359         * gst/gstmessage.c: (gst_message_set_buffering_stats),
360         (gst_message_parse_buffering_stats):
361         * gst/gstmessage.h:
362         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
363         (gst_query_parse_latency), (gst_query_new_buffering),
364         (gst_query_set_buffering_percent),
365         (gst_query_parse_buffering_percent),
366         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
367         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
368         * gst/gstquery.h:
369         Reorder the message docs and headers for clarity.
370         Add aditional buffering stats API for messages.
371         Add buffering query.
372         Convert some leftover queries to use GstQuark.
373         API: gst_message_set_buffering_stats
374         API: gst_message_parse_buffering_stats
375         API: GST_QUERY_BUFFERING
376         API: GstBufferingMode
377         API: gst_query_new_buffering
378         API: gst_query_set_buffering_percent
379         API: gst_query_parse_buffering_percent
380         API: gst_query_set_buffering_stats
381         API: gst_query_parse_buffering_stats
382
383 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
384
385         * gst/gstmessage.c: (gst_message_new_error),
386         (gst_message_new_warning), (gst_message_new_info),
387         (gst_message_new_buffering), (gst_message_new_state_changed),
388         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
389         (gst_message_new_new_clock), (gst_message_new_segment_start),
390         (gst_message_new_segment_done), (gst_message_new_duration),
391         (gst_message_new_async_start), (gst_message_parse_buffering),
392         (gst_message_parse_state_changed),
393         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
394         (gst_message_parse_new_clock), (gst_message_parse_error),
395         (gst_message_parse_warning), (gst_message_parse_info),
396         (gst_message_parse_segment_start),
397         (gst_message_parse_segment_done), (gst_message_parse_duration),
398         (gst_message_parse_async_start):
399         Use GstQuark for messages.
400
401 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
402
403         * gst/gstquark.c: (_priv_gst_quarks_initialize):
404         * gst/gstquark.h:
405         Add some more quarks needed for messages and queries.
406
407 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
408
409         * docs/design/part-buffering.txt:
410         Remove the "none" buffering mode, STREAM is a good default.
411         Move estimated-time to the avail query, that's when it will be needed.
412         Other small typo fixes and updates.
413
414 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
415
416         * gst/gstindex.c: (gst_index_resolver_get_type):
417           Don't put descriptions into the nick field of a GEnumValue: it's not
418           meant for that and some language bindings rely on the nick field to
419           construct constants and the like. Fixes #526705.
420
421 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
422
423         * NEWS:
424         * RELEASE:
425         * gstreamer.doap:
426           Merge other changes from 0.10.19 release branch.
427
428 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
429
430         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
431
432         * configure.ac:
433         Actually build dlls when cross-compiling with mingw32.
434         Fixes bug #526247.
435
436 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
437
438         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
439
440         * gst/gstpoll.c:
441         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
442
443 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
444
445         * docs/design/draft-latency.txt:
446         Fix typo.
447
448         * docs/design/part-buffering.txt:
449         Update design docs with more buffering ideas.
450
451 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
452
453         * configure.ac:
454           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
455
456 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
457
458         * configure.ac:
459           Revert part that belongs to the preset patch.
460
461 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
462
463         * configure.ac:
464           Add qoutes to the define. Fixes # 525961.
465
466 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
467
468         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
469         (gst_file_index_load), (gst_file_index_add_id),
470         (gst_file_index_get_assoc_entry):
471         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
472         (gst_mem_index_free_id), (gst_mem_index_add_id),
473         (gst_mem_index_index_format):
474         Use GSlice when possible.
475
476 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
477
478         * libs/gst/controller/gstinterpolationcontrolsource.c:
479         (gst_control_point_free),
480         (gst_interpolation_control_source_set_internal):
481         Use GSlice for allocating the control points.
482
483 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * plugins/elements/gsttypefindelement.c:
486         (gst_type_find_element_class_init),
487         (gst_type_find_element_set_property),
488         (gst_type_find_element_get_property),
489         (gst_type_find_element_activate):
490         * plugins/elements/gsttypefindelement.h:
491         Cleanup properties.
492         Fix pad leak when peer query fails.
493         We can still typefind when the peer returns -1.
494         Add property to force caps and bypass typefinding. This will be used in
495         uridecodebin.
496         API::force-caps
497
498 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
499
500         * configure.ac:
501         Require GLib 2.12.
502
503         * gst/glib-compat-private.h:
504         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
505         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
506         Unconditionally use GSlice for allocation.
507
508         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
509         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
510         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
511         (gst_structure_free):
512         Use GSlice for allocation.
513
514 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
515
516         * gst/parse/Makefile.am:
517         * gst/parse/grammar.tab.pre.c:
518         * gst/parse/grammar.tab.pre.h:
519         * gst/parse/lex._gst_parse_yy.pre.c:
520         Require a new enough flex and bison and remove the parser hacks to use
521         a pre-regenerated version.
522
523 2008-04-01  Julien Moutte  <julien@fluendo.com>
524
525         patch by: Jason Zhao <E3423C@motorola.com>
526
527         * configure.ac: Add a configure switch to disable option parsing
528         in gst_init.
529         Fixes #522882.
530
531 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
532
533         * configure.ac:
534         * gst/gstregistry.c:
535           MacOS has plugins under .so or under .dylib. Add detection for MacOS
536           and handle this case.
537
538         * gst/gst.c:
539           Add a comment here describing, why we stat each plugin and not try to
540           be smart.
541
542 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
543
544         * libs/gst/base/gstbasetransform.c:
545         (gst_base_transform_prepare_output_buffer):
546         Also unset the GAP flag on buffers if we're working inplace but
547         the element is not GAP-aware.
548
549         Mark a comment as FIXME 0.11.
550
551 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
552
553         * gst/gst.c:
554           Fix type in log message and add one to ease seeing how long registry
555           cache verification takes.
556
557         * gst/gstregistry.c:
558           Only test plugin filenames against G_MODULE_SUFFIX.
559
560 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
561
562         * gst/gstdebugutils.c:
563           Improve handling ghost/proxy pads.
564
565 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
566
567         * docs/gst/gstreamer-sections.txt:
568         * gst/gstpad.c:
569         * gst/gstpad.h:
570           Expose macro to docs and fix link to it.
571
572 2008-03-27  Michael Smith <msmith@fluendo.com>
573
574         * libs/gst/dataprotocol/dataprotocol.c:
575         (gst_dp_packet_from_event_1_0):
576           When calculating GDP body CRC, use the correct pointer. 
577           Fixes part of #522401.
578
579 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
580
581         Patch by: Mark Nauwelaerts <manauw at skynet be>
582
583         * plugins/elements/gstidentity.c: (gst_identity_class_init),
584         (gst_identity_init), (gst_identity_prepare_output_buffer):
585         Identity is not always a passthrough element, it can modify the buffer
586         timestamps when it has a datarate and operates in single-segment mode.
587         We therefore make it an in_place filter with a custom buffer prepare
588         function that conditionally makes the input buffer metadata writable
589         when needed.  Fixes #523985.
590
591 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
592
593         Patch by: Mark Nauwelaerts <manauw at skynet be>
594
595         * gst/gstclock.h:
596         * libs/gst/base/gstbasesrc.h:
597         * libs/gst/base/gstbasetransform.c:
598         * libs/gst/check/gstcheck.c:
599         Small documentation fixes. Fixes #523978.
600
601 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
602
603         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
604         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
605         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
606
607 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
608
609         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
610         (single_queue_underrun_cb):
611         When trying to make room in the queue, bump the max allowed buffers
612         bigger than the current amount of buffers in the queue. this fixes some
613         nasty deadlocks in multiqueue when dynamically changing the limits of
614         the queue.
615
616 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
617
618         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
619
620         * gst/gstcaps.c: (gst_caps_set_simple),
621         (gst_caps_set_simple_valist), (gst_caps_intersect):
622         * gst/gstcaps.h:
623         Constify the field gchar * params in set_simple and friends.
624         Fixes #522326.
625
626 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
627
628         * gst/gstvalue.c: (gst_value_transform_object_string):
629         Transform a GstObject to a more meaningfull string that includes the
630         object type in addition to its name.
631
632 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
633
634         * ChangeLog:
635           ChangeLog surgery to add bugnumber to commit.
636
637 2008-03-23  Rene Stadler  <mail@renestadler.de>
638
639         * libs/gst/base/gstbasetransform.c:
640         (gst_base_transform_set_gap_aware): Fix confusing documentation.
641
642 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
643
644         * gst/gstregistrybinary.c: (gst_registry_binary_write):
645         Rename constant everywhere and don't forget one occurence.
646
647 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
648
649         * gst/gstregistrybinary.c: (gst_registry_binary_write):
650         Align memory to the pointer size even if the architecture allows
651         unaligned memory access. Unaligned memory access usually comes with
652         performance penality.
653
654 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
655
656         * gst/gstregistrybinary.c: (gst_registry_binary_write),
657         (gst_registry_binary_check_magic),
658         (gst_registry_binary_load_pad_template),
659         (gst_registry_binary_load_feature),
660         (gst_registry_binary_load_plugin):
661         Align memory to the pointer size instead of always 32 bit. Fixes
662         unaligned memory accesses on ia64 and friends.
663
664         * gst/gstregistrybinary.h:
665         Bump binary registry format version for this as it changes the
666         format on those architectures that don't have unaligned access
667         and 64 bit pointers.
668
669 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
670
671         * docs/pwg/advanced-dparams.xml:
672         * docs/pwg/building-props.xml:
673         * docs/pwg/other-source.xml:
674         * gst/glib-compat.h:
675         * gst/gstbin.c: (gst_bin_class_init):
676         * gst/gstclock.c: (gst_clock_class_init):
677         * gst/gstindex.c: (gst_index_class_init):
678         * gst/gstobject.c: (gst_object_class_init):
679         * gst/gstpad.c: (gst_pad_class_init):
680         * gst/gstpipeline.c: (gst_pipeline_class_init):
681         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
682         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
683         * libs/gst/base/gstbasetransform.c:
684         (gst_base_transform_class_init):
685         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
686         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
687         (_gst_check_fault_handler_sighandler),
688         (_gst_check_fault_handler_setup), (gst_check_init):
689         * libs/gst/controller/gstcontroller.c:
690         (_gst_controller_class_init):
691         * libs/gst/controller/gstlfocontrolsource.c:
692         (gst_lfo_control_source_class_init):
693         * libs/gst/net/gstnetclientclock.c:
694         (gst_net_client_clock_class_init):
695         * libs/gst/net/gstnettimeprovider.c:
696         (gst_net_time_provider_class_init):
697         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
698         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
699         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
700         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
701         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
702         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
703         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
704         * plugins/elements/gstidentity.c: (gst_identity_class_init):
705         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
706         * plugins/elements/gstqueue.c: (gst_queue_class_init):
707         * plugins/elements/gsttee.c: (gst_tee_class_init):
708         * plugins/elements/gsttypefindelement.c:
709         (gst_type_find_element_class_init):
710         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
711         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
712         use it everywhere for GParamSpecs that use static strings (i.e. all).
713         This gives us less memory usage, fewer allocations and thus less
714         memory defragmentation. Fixes bug #523806.
715
716 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
717
718         * gst/gstminiobject.c: (gst_value_dup_mini_object),
719         (gst_param_spec_mini_object):
720         * gst/gstminiobject.h:
721         * win32/common/libgstreamer.def:
722         * docs/gst/gstreamer-sections.txt:
723         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
724         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
725         GstParamSpecMiniObject into a public header for this.
726
727         This make GstMiniObject a bit more consistent with GObject and makes
728         it possible to extend the param specs.
729
730         gst_value_dup_mini_object is mainly useful for set_property methods.
731
732         Fixes bug #523798.
733
734         * tools/gst-inspect.c: (print_element_properties_info):
735         Print something useful for GstMiniObject properties and not just
736         "unknown type".
737
738 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
739
740         * docs/gst/gstreamer-sections.txt:
741         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
742         (gst_registry_binary_check_magic):
743         * gst/gstregistrybinary.h:
744         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
745         and add it to the (private part) of the docs to fix the build.
746
747 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
748
749         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
750         (gst_registry_binary_check_magic),
751         (gst_registry_binary_read_cache):
752         * gst/gstregistrybinary.h:
753         Don't use GST_MAJORMINOR for the binary registry version. Instead
754         hardcode a value that must be changed whenever the format changes
755         in an incompatible way.
756         Also don't GST_ERROR when there is a version mismatch, just
757         regenerate the registry silently.
758
759 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
760
761         * configure.ac:
762         Back to development - 0.10.18.1
763
764 === release 0.10.18 ===
765
766 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
767
768         * configure.ac:
769           releasing 0.10.18, "So far away"
770
771 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
772
773         * configure.ac:
774         * win32/common/config.h:
775         0.10.17.4 pre-release
776
777 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
778
779         Patch by: Ole André Vadla Ravnås
780             <ole dot andre dot ravnas at tandberg dot com>
781
782         * docs/gst/gstreamer-sections.txt:
783         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
784         (gst_poll_update_winsock_event_mask),
785         (gst_poll_prepare_winsock_active_sets),
786         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
787         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
788         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
789         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
790         (gst_poll_check_ctrl_commands), (gst_poll_wait):
791         * gst/gstpoll.h:
792         * win32/common/libgstreamer.def:
793         Add new function gst_poll_fd_ignored() for improved Windows
794         compatibility.
795         Various minor fixes and cleanups. See #520808.
796
797 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
798
799         * gst/gstindex.c: (gst_index_entry_free):
800         * gst/gstindex.h:
801           Don't free key strings which we don't own. Fixes crash in
802           gst_index_entry_free() (#522741).
803
804         * tests/check/Makefile.am:
805         * tests/check/gst/.cvsignore:
806         * tests/check/gst/gstindex.c: (test_index_entries),
807           (gst_index_suite), (gst_index):
808           Add unit test for the above.
809
810 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
811
812         * win32/common/libgstreamer.def:
813         Remove symbols that were removed recently. Fixes bug #521740.
814
815 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
816
817         * configure.ac:
818         * win32/common/config.h:
819         0.10.17.3 pre-release
820
821 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
822
823         Patch by: Ole André Vadla Ravnås
824             <ole dot andre dot ravnas at tandberg dot com>
825
826         * docs/gst/gstreamer-sections.txt:
827         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
828         (gst_poll_update_winsock_event_mask), (gst_poll_new),
829         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
830         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
831         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
832         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
833         (gst_poll_fd_can_write), (gst_poll_wait),
834         (gst_poll_set_controllable), (gst_poll_restart),
835         (gst_poll_set_flushing):
836         * gst/gstpoll.h:
837         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
838         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
839         (gst_net_time_provider_new):
840         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
841         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
842         * tests/benchmarks/gstpollstress.c: (main):
843         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
844         Remove GstPollMode from the API, it does not make sense to let the
845         application control this.
846         Add support for Win32.
847         Fix the testsuite. Fixes #520671.
848
849 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
850
851         Patch by: Ole André Vadla Ravnås
852             <ole dot andre dot ravnas at tandberg dot com>
853
854         * gst/gstregistrybinary.c:
855         Include io.h for write() and close() when building with MSVC. Fixes
856         bug #520877.
857
858 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
859
860         * configure.ac:
861         * gst/gst_private.h:
862         * gst/gstconfig.h.in:
863         * gst/gstregistry.h:
864         * gst/gstregistrybinary.c:
865         * win32/common/gstconfig.h:
866           Move registry backend API to private headers where we can. Add
867           fixme-0.11 comments for the others. Add stubs for the xml backend when
868           using the binary to ensure they functions exists (they should not be
869           used though). Fixes #520756.
870
871 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
872
873         * configure.ac:
874         * win32/common/config.h:
875         0.10.17.2 prelease
876
877 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
878
879         * gst/gstregistrybinary.c: (gst_registry_binary_write),
880         (gst_registry_binary_read_cache):
881         * gst/gstregistryxml.c: (gst_registry_save):
882         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
883         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
884         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
885         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
886         Switch to using portabl gsize/gssize instead of size_t/ssize_t
887         Fixes #520152
888
889 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
890
891         * gst/gstminiobject.c:
892         Import gst_private.h before any other header that might include other
893         glib headers. This fixes the build on windows using native compilers.
894
895 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
896
897         * win32/common/gstconfig.h:
898           Add here too, just for completeness.
899
900 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
901
902         * configure.ac:
903         * gst/gstconfig.h.in:
904         * gst/gstregistry.h:
905           Fix broken use of config.h-defined preprocessor directive in a public
906           header file. Add a corresponding define to gstconfig.h, since we can't
907           really remove those function declarations from the header file now
908           (or can we? and why are they there in the first place?).
909
910 2008-03-03  Andy Wingo  <wingo@pobox.com>
911
912         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
913         the new warning.
914
915         * gst/gststructure.c (gst_structure_from_string): Warn if
916         structure_from_string didn't consume the whole string, but the
917         caller did not provide an end pointer.
918
919 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
920
921         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
922
923         * gst/gstregistryxml.c: (read_string), (load_feature):
924           Strings allocated by libxml2 should be freed with xmlFree(), not
925           with g_free(). Fixes issues on windows in certain contexts (#519698).
926
927 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
928
929         * gst/gstinterface.c: (gst_element_implements_interface):
930           Don't crash if the element supports the interface queried, but does
931           not implement GstImplementsInterface. Fixes #519584.
932
933         * tests/check/Makefile.am:
934         * tests/check/gst/.cvsignore:
935         * tests/check/gst/gstinterface.c:
936           Add unit test for the above.
937
938 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
939
940         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
941         Small doc update.
942
943 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
944
945         * gst/gstsegment.c: (gst_segment_set_seek),
946         (gst_segment_to_stream_time):
947         Improve some comment.
948         Update variables where it makes more sense.
949
950 2008-02-29  Rene Stadler  <mail@renestadler.de>
951
952         * gst/gsturi.c: (gst_uri_handler_get_protocols):
953         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
954         URIHandlers implemented using language bindings.
955
956 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
957
958         * gst/gstelementfactory.h:
959         * tests/check/elements/fakesink.c:
960         * tests/check/elements/fakesrc.c: (setup_fakesrc):
961         * tests/check/elements/fdsrc.c: (setup_fdsrc):
962         * tests/check/elements/filesink.c: (setup_filesink):
963         * tests/check/elements/filesrc.c: (setup_filesrc):
964         * tests/check/elements/identity.c: (setup_identity):
965         * tests/check/elements/tee.c:
966         * tests/check/generic/sinks.c:
967         * tests/check/generic/states.c: (setup), (teardown):
968         * tests/check/gst/gst.c:
969         * tests/check/gst/gstabi.c:
970         * tests/check/gst/gstbin.c:
971         * tests/check/gst/gstbus.c: (pull_messages):
972         * tests/check/gst/gstcaps.c:
973         * tests/check/gst/gstelement.c:
974         * tests/check/gst/gstevent.c:
975         * tests/check/gst/gstghostpad.c:
976         * tests/check/gst/gstiterator.c:
977         * tests/check/gst/gstmessage.c:
978         * tests/check/gst/gstminiobject.c: (my_foo_init):
979         * tests/check/gst/gstobject.c: (thread_name_object),
980         (gst_object_suite):
981         * tests/check/gst/gstpad.c:
982         * tests/check/gst/gstplugin.c:
983         * tests/check/gst/gstpoll.c:
984         * tests/check/gst/gstquery.c:
985         * tests/check/gst/gstsegment.c:
986         * tests/check/gst/gststructure.c:
987         * tests/check/gst/gstsystemclock.c:
988         * tests/check/gst/gsttask.c:
989         * tests/check/gst/gstutils.c:
990         * tests/check/gst/gstvalue.c:
991         * tests/check/gst/struct_hppa.h:
992         * tests/check/gst/struct_i386.h:
993         * tests/check/gst/struct_ppc32.h:
994         * tests/check/gst/struct_ppc64.h:
995         * tests/check/gst/struct_x86_64.h:
996         * tests/check/libs/adapter.c: (create_and_fill_adapter):
997         * tests/check/libs/basesrc.c:
998         * tests/check/libs/controller.c: (GST_START_TEST):
999         * tests/check/libs/gdp.c:
1000         * tests/check/libs/gstnetclientclock.c:
1001         * tests/check/libs/gstnettimeprovider.c:
1002         * tests/check/libs/libsabi.c:
1003         * tests/check/libs/struct_hppa.h:
1004         * tests/check/libs/struct_i386.h:
1005         * tests/check/libs/struct_ppc32.h:
1006         * tests/check/libs/struct_ppc64.h:
1007         * tests/check/libs/struct_x86_64.h:
1008         * tests/check/pipelines/cleanup.c:
1009         * tests/check/pipelines/simple-launch-lines.c:
1010         * tests/check/pipelines/stress.c:
1011         And correct even more valid sparse warnings.
1012
1013         * win32/common/libgstreamer.def:
1014         Add gst_poll_fd_init to the list of symbols.
1015
1016 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1017
1018         * gst/gstconfig.h.in:
1019         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1020         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1021         (gst_check_log_critical_func), (gst_check_drop_buffers),
1022         (gst_check_element_push_buffer_list):
1023         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1024         (gst_controller_get_type):
1025         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1026         (gst_object_get_controller), (gst_object_get_control_source):
1027         * libs/gst/controller/gstinterpolationcontrolsource.c:
1028         (gst_interpolation_control_source_new):
1029         * libs/gst/controller/gstlfocontrolsource.c:
1030         (gst_lfo_control_source_new):
1031         * libs/gst/dataprotocol/dataprotocol.c:
1032         (gst_dp_event_from_packet_0_2):
1033         * plugins/elements/gstfdsrc.c:
1034         * plugins/elements/gstmultiqueue.c:
1035         * plugins/elements/gsttee.c:
1036         * plugins/elements/gsttypefindelement.c:
1037         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1038         (gst_file_index_add_association):
1039         * plugins/indexers/gstmemindex.c:
1040         * tests/benchmarks/gstpollstress.c: (mess_some_more):
1041         * tests/check/elements/queue.c: (setup_queue):
1042         * tests/check/gst/gstpipeline.c:
1043         * tests/check/libs/collectpads.c: (setup), (teardown),
1044         (gst_collect_pads_suite):
1045         * tests/examples/adapter/adapter_test.c:
1046         * tests/examples/metadata/read-metadata.c: (make_pipeline):
1047         * tests/examples/xml/createxml.c:
1048         * tests/examples/xml/runxml.c:
1049         * tools/gst-inspect.c:
1050         * tools/gst-run.c:
1051         Correct all relevant warnings found by the sparse semantic code
1052         analyzer. This include marking several symbols static, using
1053         NULL instead of 0 for pointers, not using variable sized arrays
1054         on the stack, moving variable declarations to the beginning of
1055         a block and using "foo (void)" instead of "foo ()" for declarations.
1056
1057 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1058
1059         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1060         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1061         Don't reset GstPollFDs, this is not necessary at all.
1062
1063         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1064         (delayed_restart), (delayed_control):
1065         Use GST_POLL_FD_INIT.
1066
1067 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1068
1069         * gst/gstpoll.c: (gst_poll_fd_init):
1070         * gst/gstpoll.h:
1071         Added Since tags.
1072
1073         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1074         Use some more init macros.
1075
1076 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1077
1078         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1079         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1080         Use init macros and functions.
1081
1082 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1083
1084         * docs/gst/gstreamer-sections.txt:
1085         * gst/gstpoll.c: (gst_poll_fd_init):
1086         * gst/gstpoll.h:
1087         Add INIT macro and _init method for initializing the GstPollFD.
1088
1089 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
1090
1091         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
1092         (gst_fd_sink_update_fd):
1093         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1094         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1095         (delayed_restart), (delayed_control):
1096         Initialize some uninitialized variables as spotted by valgrind.
1097
1098 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1099
1100         * tests/benchmarks/Makefile.am:
1101         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
1102         (main):
1103         Add poll stress test.
1104
1105 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1106
1107         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1108
1109         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1110         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
1111         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
1112         * plugins/elements/gstfdsink.h:
1113         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1114         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
1115         (gst_fd_src_unlock_stop), (gst_fd_src_create),
1116         (gst_fd_src_uri_set_uri):
1117         * plugins/elements/gstfdsrc.h:
1118         Port to GstPoll. See #505417.
1119
1120 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
1121
1122         * win32/common/libgstreamer.def:
1123         Add new gst_poll_ symbols to win32 defs.
1124
1125 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1126
1127         * docs/libs/gstreamer-libs-sections.txt:
1128         * libs/gst/net/gstnetclientclock.c:
1129         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
1130         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1131         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1132         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1133         * libs/gst/net/gstnetclientclock.h:
1134         * libs/gst/net/gstnettimeprovider.c:
1135         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
1136         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1137         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1138         (gst_net_time_provider_new):
1139         * libs/gst/net/gstnettimeprovider.h:
1140         Use a private stuct to not break ABI.
1141
1142 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1143
1144         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1145
1146         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
1147         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1148         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1149         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1150         * libs/gst/net/gstnetclientclock.h:
1151         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
1152         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1153         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1154         (gst_net_time_provider_new):
1155         * libs/gst/net/gstnettimeprovider.h:
1156         Massive code removal and cleanups because of GstPoll.
1157         Fixes #505417.
1158
1159 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1160
1161         * configure.ac:
1162         Add checks for poll, ppoll and pselect.
1163
1164         * docs/gst/gstreamer-docs.sgml:
1165         * docs/gst/gstreamer-sections.txt:
1166         Add docs for GstPoll.
1167
1168         * gst/Makefile.am:
1169         * gst/gst.h:
1170         * gst/gstpoll.c: (find_index), (selectable_fds),
1171         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
1172         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
1173         (gst_poll_set_mode), (gst_poll_get_mode),
1174         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
1175         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1176         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
1177         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
1178         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
1179         (gst_poll_fd_can_write), (gst_poll_wait),
1180         (gst_poll_set_controllable), (gst_poll_restart),
1181         (gst_poll_set_flushing):
1182         * gst/gstpoll.h:
1183         Add generic poll abstraction. We ideally don't want to have this in core
1184         here but in glib intead...
1185         This code will be used in various network elements and ultimately for
1186         the nanosecond precision monotonic clock (that's why it's here in core).
1187         It'll allow us to implement cancelable socket operations for windows too.
1188
1189         * tests/check/Makefile.am:
1190         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1191         (delayed_stop), (delayed_restart), (delayed_flush),
1192         (delayed_control), (gst_poll_suite):
1193         Add GstPoll unit test.
1194
1195 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
1196
1197         * gst/gstfilter.c:
1198           Improve documentation of gst_filter_run(). Fixes #518627.
1199
1200 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1201
1202         * docs/README:
1203           Add a few lines about the new 'check-inspected-versions' target.
1204
1205 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1206
1207         * tests/check/gst/gstevent.c:
1208           Add qos to the event test. Rename tcase/tsuite; is not only about
1209           custom events.
1210
1211 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1212
1213         * plugins/elements/gstqueue.c:
1214           Ensure that buffer metadata is writeable, before modifying. Spotted by
1215           Mike.
1216
1217 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
1218
1219         * plugins/elements/gstqueue.c:
1220         * plugins/elements/gstqueue.h:
1221           When dropping buffers in leaky modes, mark next buffers we sent as
1222           DISCONT.
1223
1224 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1225
1226         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
1227           Also, if mmap() fails that would be a READ error, not OPEN_READ.
1228
1229 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1230
1231         * plugins/elements/Makefile.am:
1232         * plugins/elements/gstbufferstore.c:
1233         * plugins/elements/gstbufferstore.h:
1234         * plugins/elements/gsttypefindelement.h:
1235           Remove GstBufferStore, no idea why we were still building it.
1236           It's not used anywhere and superseded by GstAdapter.
1237
1238         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1239           (gst_file_src_create_mmap):
1240         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
1241           Printf format fixes for 64-bit integers.
1242
1243 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1244
1245         * configure.ac:
1246         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
1247         We're not in 0.8 times anymore.
1248
1249 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
1250
1251         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
1252         (gst_check_element_push_buffer_list):
1253         * libs/gst/check/gstcheck.h:
1254         Make the declaration in the header for
1255         gst_check_element_push_buffer_list match the implementation.
1256
1257         Fix up spelling, grammar and wording of the documentation in a few
1258         places, and add the Since keyword to new API functions.
1259         Use g_list_delete_link instead of g_list_remove in
1260         gst_check_drop_buffers, since it's immeasurably more efficient.
1261
1262         * tests/check/elements/fakesrc.c: (GST_START_TEST):
1263         Use new gst_check_drop_buffers function where appropriate.
1264
1265         * win32/common/libgstbase.def:
1266         * win32/common/libgstreamer.def:
1267         Add new symbols gst_collect_pads_take_buffer, 
1268         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
1269         exports
1270
1271         Changelog surgery to add API keyword to new gst_check API.
1272
1273 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1274
1275         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
1276         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
1277         Update pre-generated flex files with flex 2.3.34.
1278
1279 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1280
1281         * gst/gstminiobject.c:
1282           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
1283           friendly to subclasses and not require them to know all internals
1284           of their parent class.
1285
1286 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * docs/libs/gstreamer-libs-sections.txt:
1289         * libs/gst/base/gstcollectpads.c:
1290         * libs/gst/base/gstcollectpads.h:
1291           Add sub-buffer functions to collectpads. Fixes #516187.
1292           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
1293
1294 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1295
1296         * gst/gstbuffer.c:
1297           Copy selected buffer-flags when creating subbuffers.
1298           Fixes #516395.
1299
1300 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
1301
1302         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
1303         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
1304         * gst/gstmessage.c: (gst_message_class_init),
1305         (gst_message_finalize):
1306         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1307         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1308         (gst_mmap_buffer_finalize):
1309         Properly chain up finalize functions to the parent class.
1310
1311 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
1312
1313         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1314
1315         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1316         (gst_index_set_resolver_full):
1317         * gst/gstindex.h:
1318         Add new function with option to dispose of user_data in resolver.
1319         Actually call the dispose function when finalizing the object and not
1320         just when changing the resolver/filter.
1321         API: GstIndex::gst_index_set_resolver_full()
1322
1323         * docs/gst/gstreamer-sections.txt:
1324         Add new function to docs. Fixes #515469.
1325
1326 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
1327
1328         * gst/gstindex.c: (gst_index_finalize):
1329         Chain up finalize to the parent class. Fixes leaking the GstObject
1330         name and other things.
1331
1332 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
1333
1334         * configure.ac:
1335         Make DISABLE_DEPRECATED defined *only* during CVS, not during
1336         pre-releases or releases.
1337
1338         * docs/faq/gst-uninstalled:
1339         Add gst-plugins-gl
1340
1341         * docs/random/release:
1342         Change one of the steps - we only upload core & base to Gnome FTP
1343
1344 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
1345
1346         * gst/gstconfig.h.in:
1347           Add 'id' for example.
1348
1349         * gst/gstpad.c:
1350         * gst/gstutils.c:
1351         * plugins/elements/gstfdsink.c:
1352           Link to signals. Doc and comment fixes.
1353
1354 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
1355
1356         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1357         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1358           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1359           unused and unimplemented; finally, it is plugin features, not
1360           plugins, that have ranks.
1361           
1362 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1363
1364         * gst/gstpluginfeature.h:
1365           Clarify GstRank range docs.
1366
1367 2008-02-05  David Schleef  <ds@schleef.org>
1368
1369         * gst/gst.c: Add a separate gst_deinitialized that prevents
1370           gst_init() from being called after gst_deinit().  Fixes #509559
1371
1372 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1373
1374         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1375         (gst_bin_class_init):
1376         * gst/gstelement.c: (gst_element_base_class_init),
1377         (gst_element_class_add_pad_template):
1378         * gst/gstpadtemplate.c: (gst_pad_template_init):
1379         * gst/gstpipeline.c: (gst_pipeline_get_type),
1380         (gst_pipeline_base_init), (gst_pipeline_class_init):
1381         * libs/gst/base/gstbasesink.c:
1382         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1383         (gst_base_src_base_init), (gst_base_src_class_init):
1384         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1385         (gst_capsfilter_class_init):
1386         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1387         (gst_fake_sink_class_init):
1388         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1389         (gst_fake_src_class_init):
1390         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1391         (gst_fd_sink_class_init):
1392         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1393         (gst_fd_src_class_init):
1394         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1395         (gst_file_sink_class_init):
1396         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1397         (gst_file_src_class_init):
1398         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1399         (gst_identity_class_init):
1400         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1401         (gst_multi_queue_class_init):
1402         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1403         (gst_queue_class_init):
1404         * plugins/elements/gsttee.c: (gst_tee_base_init),
1405         (gst_tee_class_init):
1406         * plugins/elements/gsttypefindelement.c:
1407         (gst_type_find_element_base_init),
1408         (gst_type_find_element_class_init):
1409         * tests/check/gst/gstelement.c: (gst_element_suite):
1410         Revert previous changes to the behaviour of GstPadTemplates, etc
1411         and the possiblity to call them in class_init as it breaks too
1412         many elements. Reopens bug #491501.
1413
1414         Should be applied again for 0.11, thus added a few FIXME 0.11 at
1415         several places.
1416
1417 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1418
1419         * tools/gst-launch.c:
1420         Dump one graph per pipeline state-change and state change name
1421         (if GST_DEBUG_DUMP_DOT_DIR is set).
1422
1423 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
1424
1425         * gst/gstpad.c:
1426         * tests/check/gst/gstpad.c:
1427         Be sure that we have a new copy of the caps and not
1428         reffed caps from a template
1429
1430 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1431
1432         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1433         * gst/gstpipeline.c: (gst_pipeline_get_type),
1434         (gst_pipeline_class_init):
1435         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1436         (gst_base_sink_class_init):
1437         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1438         (gst_base_src_class_init):
1439         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1440         (gst_base_transform_class_init):
1441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1442         (gst_collect_pads_class_init):
1443         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1444         * libs/gst/net/gstnettimeprovider.c:
1445         (gst_net_time_provider_base_init),
1446         (gst_net_time_provider_class_init):
1447         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1448         (gst_capsfilter_class_init):
1449         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1450         (gst_fake_sink_class_init):
1451         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1452         (gst_fake_src_class_init):
1453         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1454         (gst_fd_sink_class_init):
1455         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1456         (gst_fd_src_class_init):
1457         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1458         (gst_file_sink_class_init):
1459         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1460         (gst_file_src_class_init):
1461         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1462         (gst_identity_class_init):
1463         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1464         (gst_multi_queue_class_init):
1465         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1466         (gst_queue_class_init):
1467         * plugins/elements/gsttee.c: (gst_tee_base_init),
1468         (gst_tee_class_init):
1469         * plugins/elements/gsttypefindelement.c:
1470         (gst_type_find_element_base_init),
1471         (gst_type_find_element_class_init):
1472         Don't use base_init where not absolutely necessary. For example it's
1473         not necessary anymore for adding pad templates or setting element
1474         details.
1475
1476         Leave empty base_init functions in several places as GST_BOILERPLATE
1477         still defines and uses them.
1478
1479 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1480
1481         * gst/gstelement.c: (gst_element_base_class_init),
1482         (gst_element_class_add_pad_template):
1483         * gst/gstpadtemplate.c:
1484         Make it possible (and recommended) to set element details and add
1485         pad templates in the class_init functions by copying the details/pad
1486         templates in GstElement's base_init.
1487
1488         Also make it possible to replace existing pad templates by adding
1489         a new one with the same name. This was done in a hackish fashion
1490         in same elements before already.
1491
1492         Don't reference pad templates that are added a second time. A
1493         new pad template has a refcount of one and is not floating anymore
1494         and to be owned by the element's class. Make this more explicit by
1495         mentioning it in the docs of gst_element_class_add_pad_template().
1496
1497         These changes are backwards compatible. Fixes bug #491501.
1498
1499         * tests/check/gst/gstelement.c:
1500         Add unit test for setting element details, adding pad templates and
1501         replacing them in a subclass.
1502
1503 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1504
1505         * tools/gst-inspect.c: (print_interfaces),
1506         (print_element_properties_info), (print_pad_info),
1507         (print_signal_info), (print_element_info):
1508         Fix a few memory leaks.
1509
1510 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1511
1512         * docs/libs/gstreamer-libs-sections.txt:
1513         * libs/gst/check/gstcheck.c:
1514         * libs/gst/check/gstcheck.h:
1515         Add more functions for unit testing: gst_check_drop_buffers,
1516         gst_check_caps_equal, gst_check_element_push_buffer_list,
1517         gst_check_element_push_buffer
1518         API: gst_check_drop_buffers
1519         API: gst_check_caps_equal
1520         API: gst_check_element_push_buffer_list
1521         API: gst_check_element_push_buffer
1522
1523 2008-02-01  Julien Moutte  <julien@fluendo.com>
1524
1525         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1526         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1527         (gst_index_finalize), (gst_index_entry_free),
1528         (gst_index_add_association): Fix memory leaks.
1529         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1530         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1531         (gst_mem_index_free_format), (gst_mem_index_free_id),
1532         (gst_mem_index_finalize): Fix memory leaks.
1533         * win32/common/config.h: Updated to CVS HEAD.
1534
1535 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * docs/README:
1538           Some more details about how the plugin docs works.
1539
1540         * docs/plugins/gstreamer-plugins-sections.txt:
1541           Whitespace cleanup.
1542
1543 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1544
1545         * gst/parse/grammar.tab.pre.c:
1546         * gst/parse/grammar.tab.pre.h:
1547         * gst/parse/grammar.y:
1548         * gst/parse/lex._gst_parse_yy.pre.c:
1549           Add delayed set-property. This allows to set properties on dynamicaly
1550           created objects (pads in videomxer). Fixes #509391.
1551
1552 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1553
1554         * gst/gstutils.c:
1555         Check if caps are not NULL (fix bug #510194)
1556
1557 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1558
1559         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1560         (gst_base_sink_get_position_paused):
1561         Add fixme regarding EOS in pull mode.
1562         Fix position reporting in PAUSED for negative rates.
1563
1564 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1565
1566         * gst/gstminiobject.c: (gst_mini_object_replace):
1567         When replacing a miniobject, do a quick equality check first so that we
1568         can avoid a ref/unref pair.
1569
1570 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1571
1572         * docs/design/part-synchronisation.txt:
1573         Update some docs.
1574
1575         * docs/plugins/Makefile.am:
1576         * docs/plugins/gstreamer-plugins-docs.sgml:
1577         * docs/plugins/gstreamer-plugins-sections.txt:
1578         * plugins/elements/gstmultiqueue.c:
1579         Add multiqueue to the docs.
1580
1581 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1582
1583         * configure.ac:
1584           Back to CVS
1585
1586 === release 0.10.17 ===
1587
1588 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
1589
1590         * configure.ac:
1591           releasing 0.10.17, "Due Negligence"
1592
1593 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1594
1595         * gst/gstutils.c:
1596         Revert caps != NULL check temporarily for 0.10.17 release.
1597
1598 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1599
1600         * gst/gstutils.c:
1601         Check if caps are not NULL (fix bug #510194)
1602
1603 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1604
1605         * gst/gstutils.c:
1606         Fix compilation on systems that have posix timers but no
1607         monotonic clock.
1608         Fixes: #512715
1609         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1610         dot net>
1611
1612 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1613
1614         * tools/gst-inspect.c:
1615         Revert previous commit in preparation for an impromptu 0.10.17 release
1616
1617 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
1618
1619         * tools/gst-inspect.c: (print_interfaces),
1620         (print_element_properties_info), (print_pad_info),
1621         (print_signal_info), (print_element_info):
1622         Fix a few memory leaks.
1623
1624 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
1625
1626         * configure.ac:
1627         Back to CVS
1628
1629 === release 0.10.16 ===
1630
1631 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
1632
1633         * configure.ac:
1634           releasing 0.10.16, "Special Dispensation"
1635
1636 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
1637
1638         * configure.ac:
1639           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1640           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1641           not fail when trying to crosscompile on OpenEmbedded (#511750).
1642
1643 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
1644
1645         * docs/manuals.mak:
1646         Use $(MAKE) instead of make to fix the build if GNU make is
1647         called different. Fixes bug #510747.
1648
1649 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
1650
1651         * gst/gstplugin.c: (_gst_plugin_initialize):
1652           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1653           again, which I broke two commits ago when changing the API
1654           of gst_plugin_register_static(): the g_list_foreach() in
1655           _gst_plugin_register_static still assumed the old function
1656           signature and would therefore fail (re-fixes #510187).
1657
1658         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1659           (_gst_plugin_register_static), (gst_plugin_register_static):
1660           Revert the (technically correct) change to call g_thread_init() from
1661           the pre-main() constructor. This will break programs which call
1662           g_thread_init() without an if (!g_thread_supported()) guard in their
1663           main function. We could just blame it on GLib or the application, but
1664           it's probably best to just avoid this altogether and simply not use
1665           any GLib functions here and use plain old malloc() with a simple
1666           array to store the plugins to register later when gst_init() is
1667           finally called (re-fixes #510187).
1668
1669         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1670           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1671           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1672           (GST_START_TEST), (gst_plugin_suite):
1673           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1674           works.
1675
1676 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1677
1678         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1679           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1680           This makes gtk-doc complain, but results in slightly better
1681           compiler errors. The old _gst_plugin_register_static() is
1682           still guarded, so there'll be a compiler warning about that
1683           instead. Fixes #510187 too.
1684
1685 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1686
1687         * gst/gst.c: (init_post):
1688         * gst/gstplugin.c: (_gst_plugin_register_static),
1689           (gst_plugin_register_static), (_gst_plugin_initialize):
1690         * gst/gstplugin.h: (GstPluginFilter):
1691           Change API of gst_plugin_register_static() to not take
1692           a GstPluginDesc, but rather just take all the arguments
1693           in a GstPluginDesc directly. This is more intuitive and
1694           avoids certain mistakes when porting code from
1695           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1696           Fixes #510187.
1697
1698         * tests/check/gst/gstplugin.c:
1699           Fix up for changed API.
1700
1701 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1702
1703         * docs/faq/legal.xml:
1704           Update FAQ, Totem actually has an exception these days.
1705
1706 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
1707
1708         * win32/common/libgstreamer.def:
1709         Add new API declarations
1710
1711 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1712
1713         * gst/gstminiobject.c:
1714           Spelling fixes for the API docs.
1715
1716 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1717
1718         * libs/gst/base/gstbasetransform.c:
1719           Fix long property description for QoS.
1720
1721 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
1722
1723         * gst/gst.c:
1724         _gst_trace_on is already provided by gsttrace.h, no need to declare
1725         it ourselves.
1726
1727         * docs/libs/gstreamer-libs-sections.txt:
1728         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1729         and remove strange tcase_add_test which is outputting a warning.
1730
1731         * libs/gst/check/gstcheck.c:
1732         * libs/gst/check/gstcheck.h:
1733         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1734         and define them in gstcheck.c instead of having every .c file whcih
1735         includes gstcheck.h be defining its own copy and relying on symbol
1736         interposing to marry them all, which doesn't work on Solaris.
1737
1738         * tests/check/elements/identity.c: (GST_START_TEST):
1739         Don't define 'buffers' locally, it comes from libgstcheck.
1740
1741         * tests/check/generic/sinks.c: (send_buffer):
1742         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1743
1744         * tests/check/gst/gststructure.c: (GST_START_TEST):
1745         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1746         * tests/check/gst/gstutils.c: (GST_START_TEST):
1747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1748         Add a bunch of casts to make various constants fit the types
1749         they're being assigned to.
1750
1751 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
1752
1753         * gst/gstchildproxy.c:
1754           Improve docs and add some ideas for making this more general-purpose.
1755
1756 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1757
1758         * gst/gst_private.h: (GST_CAT_TYPES):
1759           Add GST_CAT_TYPES, for consistency, and so that the other
1760           debug categories don't make fun of it. Spotted by Saur on IRC.
1761
1762 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1763
1764         * gst/parse/Makefile.am:
1765           Move types.h from EXTRA_DIST to noinst_HEADERS.
1766
1767 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1768
1769         * autogen.sh:
1770           Add -Wno-portability to the automake parameters to stop warnings
1771           about GNU make extensions being used. We require GNU make in almost
1772           every Makefile anyway.
1773
1774         * configure.ac:
1775           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1776           at the same time is required for per target flags.
1777
1778 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * gst/gstmacros.h:
1781           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1782           __GNUC__ is defined before using it.
1783
1784 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1785
1786         * docs/gst/gstreamer-sections.txt:
1787         * gst/gst.c: (init_post):
1788         * gst/gstplugin.c: (_gst_plugin_register_static),
1789           (gst_plugin_register_static), (_gst_plugin_initialize),
1790           (gst_plugin_register_func):
1791         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1792           API: add gst_plugin_register_static() and deprecate
1793           GST_PLUGIN_DEFINE_STATIC, since it's not portable
1794           (#498924).
1795           Also, in _gst_plugin_register_static(), make sure to call
1796           g_thread_init() before calling GLib functions such as
1797           g_list_append() if we're not initialised yet, since that
1798           may lead to random crashes with older GSlice/GLib versions.
1799
1800         * tests/check/gst/gstplugin.c:
1801           Adapt unit test to above changes.
1802
1803 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1804
1805         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1806         * gst/gstcaps.c: (gst_caps_to_string):
1807         * gst/gststructure.c: (GST_ASCII_IS_STRING),
1808           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1809           Yet another gratuitous GString micro-optimisation: add a (private)
1810           function that serialises a structure appending to an existing
1811           GString, so that when we serialise caps we don't need to alloc+free
1812           a throwaway GString for each structure (each of which also entailing
1813           multiple reallocs on the way); also use g_string_sized_new() in
1814           various places with an approximate string length to avoid reallocs
1815           within GString. See #500143.
1816
1817 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1818
1819         * gst/gststructure.c: (gst_structure_id_set_value):
1820           Always check UTF-8 conformance of structure strings and not only
1821           if the debugging system is enabled; reasoning: the behaviour of
1822           the actual code shouldn't really change depending on whether the
1823           debugging system is enabled or not (#508291).
1824
1825 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
1826
1827         * Makefile.am:
1828           Remove old coverage target in favour of "make lcov".
1829
1830 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1831
1832         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1833         (gst_base_src_loop):
1834         The start segment for reverse playback goes from start to last_stop.
1835
1836 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1837
1838         Patch by: Peter Kjellerstedt <pkj axis com>
1839
1840         * gst/gstclock.h:
1841         Cast the results from the timeval/spec_to_time macros to what the
1842         docs say it casts to, a GstClockTime. fixes #508175.
1843
1844 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1845
1846         * gst/gstbuffer.c:
1847         Update some comments.
1848
1849         * tools/gst-inspect.c: (print_element_properties_info):
1850         Improve printing of flags.
1851
1852 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1853
1854         * libs/gst/base/gstbasetransform.c:
1855           (gst_base_transform_transform_size):
1856           Print element name with g_warning() if there's a problem
1857           with the unit size.
1858
1859 2008-01-07  David Schleef  <ds@schleef.org>
1860
1861         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1862
1863         * libs/gst/controller/gstcontroller.h:
1864         * libs/gst/controller/gstcontrolsource.h:
1865         * libs/gst/controller/gstinterpolationcontrolsource.h:
1866         * libs/gst/controller/gstlfocontrolsource.h:
1867         * libs/gst/dataprotocol/dataprotocol.h:
1868           Fix empty prototypes.  Fixes bug #507957.
1869
1870 2008-01-07  David Schleef  <ds@schleef.org>
1871
1872         * docs/faq/dependencies.xml: Fix typo.
1873
1874 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1875
1876         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1877         (gst_base_src_loop):
1878         Don't update the last_stop position in do_seek, that's the position we
1879         did a seek to.
1880         Read backwards when we have a negative rate.
1881
1882         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1883         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1884         (filesrc_suite):
1885         Add check for reverse reading.
1886
1887 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
1888
1889         Patch by: Alexis Ballier <aballier at gentoo org>
1890
1891         * tests/check/gst/gstabi.c:
1892         * tests/check/gst/struct_ppc64.h:
1893         * tests/check/libs/libsabi.c:
1894         * tests/check/libs/struct_ppc64.h:
1895           Decide which header to include based on the userland ABI target
1896           and not the kernel/cpu. Fix up structure sizes of ppc64 header
1897           for 64-bit userland (#503590).  Might need something similar for
1898           x86 too.
1899
1900 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1901
1902         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1903           Log the reason why fopen fails in addition to the fact that it failed.
1904           
1905 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1906
1907         * gst/parse/parse.l:
1908         Use "%option never-interactive" to prevent useless calls to isatty()
1909         on every input when parsing. Also use "%option noinput" to not define
1910         the static input/yyinput functions which we don't use anyway. This
1911         removes a compiler warning with gcc 4.3 and saves some bytes in the
1912         library.
1913         
1914         * gst/parse/lex._gst_parse_yy.pre.c:
1915         Regenerated for the above change.
1916
1917 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1918
1919         * gst/gstpad.c: (fixate_value):
1920         Don't crash when trying to fixate and empty list.
1921         Fixes #506643.
1922
1923 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1924
1925         * docs/faq/gst-uninstalled:
1926         Clarify the comments to make the usage of this script and what it
1927         does easier to understand.
1928
1929 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1930
1931         * tools/gst-plot-timeline.py:
1932         Add more options to gst-plot-timeline
1933
1934 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1935
1936         * docs/design/part-synchronisation.txt:
1937         Some more info on how the stream_time in GstBaseSink is done.
1938
1939 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1940
1941         * tests/check/generic/sinks.c: (gst_sinks_suite):
1942           Put back the tcase_set_timeout(), apparently it's needed after
1943           all; fix it up in a way that makes things work with valgrind too.
1944
1945 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1946
1947         * gst/gstdebugutils.c:
1948           Add warning when failed to open file for writing.
1949
1950 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1953
1954         * gst/gstvalue.c: (gst_value_is_fixed):
1955           Optimisation: bail out of the loop as early as possible (#500143).
1956
1957 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1958
1959         * gst/gstcaps.c: (gst_caps_to_string):
1960         * gst/gstinfo.c: (gst_debug_construct_term_color):
1961         * gst/gstparse.c: (gst_parse_launchv):
1962         * gst/gstutils.c: (gst_util_dump_mem):
1963         * gst/gstvalue.c: (gst_value_serialize_any_list),
1964           (gst_value_transform_any_list_string):
1965           Bunch of gratuitous nano-optimisations.
1966
1967 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1968
1969         * tests/check/generic/sinks.c: (async_done_func),
1970           (async_done_eos_func):
1971           Fix leak in unit test (bus sync handler must unref the message
1972           if it returns GST_BUS_DROP). Don't fiddle with the default test
1973           timeout, this is smaller than the current preconfigured value
1974           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1975           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1976
1977 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1978
1979         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1980
1981         * configure.ac:
1982         Check for stdio_ext.h for the filesink changes.
1983
1984         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1985         (gst_file_sink_class_init), (gst_file_sink_init),
1986         (gst_file_sink_dispose), (gst_file_sink_set_property),
1987         (gst_file_sink_get_property), (gst_file_sink_open_file),
1988         (gst_file_sink_close_file):
1989         * plugins/elements/gstfilesink.h:
1990         Add two properties to control the buffering mode and size.
1991         API: GstFileSink::buffer-mode
1992         API: GstFileSink::buffer-size
1993         Fixes #500150.
1994
1995 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1996
1997         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1998         Add some more docs to explain why a FIXME was wrongly added. 
1999
2000 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2001
2002         * gst/gstobject.c:
2003           Fix typo in the gst_object_{ref,unref} documentation.
2004
2005 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2006
2007         * tests/check/libs/controller.c:
2008         * tests/check/libs/typefindhelper.c:
2009         * tests/check/pipelines/parse-launch.c:
2010           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2011           going to be deprecated (see #498924).
2012
2013 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2014
2015         * gst/gsttypefind.c: (gst_type_find_register):
2016           Make gst_type_find_register work for static typefind functions,
2017           ie. allow passing plugin == NULL (prerequisite for #498924).
2018
2019         * gst/gstelementfactory.c: (gst_element_register):
2020           Small docs addition.
2021
2022 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2023
2024         * gst/gstpad.c: (gst_pad_dispose):
2025         Really unlink the peer pad instead of setting the peer pointer to NULL
2026         when we dispose the pad.
2027         This correctly calls the unlink functions and makes sure that the peer
2028         does not have a handle to invalid memory. See #504671.
2029
2030         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2031         Add testsuite for above case.
2032
2033 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         Patch by: Peter Kjellerstedt <pkj axis com>
2036
2037         * libs/gst/check/gstcheck.h:
2038           Fix detection of the check version we're compiling against (would
2039           otherwise break if check goes v0.10.0); correctly report the
2040           name of the failed test again in case of failure, instead of
2041           just 'tf' (fixes #504499).
2042
2043 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2044
2045         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2046         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2047         (gst_base_src_loop), (gst_base_src_set_flushing),
2048         (gst_base_src_change_state):
2049         Allow sending EOS to the source to make it send out an EOS event from
2050         the streaming thread.
2051         Update docs and deprecate the old NULL/READY shutdown method.
2052
2053         * tests/check/libs/basesrc.c: (GST_START_TEST),
2054         (gst_basesrc_suite):
2055         Add unit test for controlled shutdown.
2056
2057 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2058
2059         * docs/design/part-synchronisation.txt:
2060         Small updates.
2061
2062         * gst/gstsegment.c: (gst_segment_set_seek),
2063         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2064         (gst_segment_to_running_time):
2065         The seek format can be different from the segment format when the start
2066         and stop values are not to be updated, when we only do a rate change for
2067         example.
2068
2069         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2070         (gst_segment_suite):
2071         Add a testcase for the rate-only seeks, checking that the format is
2072         correctly ignored when start and stop are not updated.
2073
2074 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
2075
2076         Patch by: Matthias Bolte <photon at mail dot upb dot de>
2077
2078         * win32/vs8/grammar.vcproj:
2079         * win32/vs8/libgstcontroller.vcproj:
2080         * win32/vs8/libgstreamer.vcproj:
2081         Fix compilation with VS8 and include some missing files.
2082
2083 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
2084
2085         * gst/gsttaglist.c:
2086           Small docs addition: mention that the strings returned by
2087           gst_tag_list_get_string*() are in UTF-8 encoding.
2088
2089 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
2090
2091         * Makefile.am:
2092           The check-exports stuff moved to common/win32.mak, so include that.
2093
2094 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2095
2096         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2097         (gst_base_src_perform_seek), (gst_base_src_get_range),
2098         (gst_base_src_set_playing), (gst_base_src_change_state):
2099         Make _wait_playing() not check any variables so that we can call this
2100         function from subclasses. Move the checks elsewhere similar to
2101         _wait_preroll() in basesink.
2102         Add some debugging.
2103         Only signal the LIVE cond when we are going back to PLAYING.
2104
2105 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2106
2107         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
2108           Use g_remove() and g_rename(). Check result of g_rename(), and
2109           don't leak the open file descriptor if we error out when writing.
2110
2111         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
2112           Must check the return value of close() after writing out the new
2113           registry file.  Sometimes write problems such as out-of-diskspace
2114           are only reported when the file is closed and not already during
2115           the write.  This may have caused partial/broken registry files in
2116           some rare circumstances. Should fix #503675.
2117
2118 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
2119
2120         * docs/gst/.cvsignore:
2121         * docs/libs/.cvsignore:
2122         * docs/plugins/.cvsignore:
2123         Ignore files generated by new common/* modifications
2124
2125 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2126
2127         * win32/common/libgstbase.def:
2128           Yes, you can also have a <TAB> if you want.
2129
2130 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2131
2132         * win32/common/libgstbase.def:
2133           Add new basetransform API to win export file.
2134
2135 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2136
2137         * tests/check/gst/gstbin.c:
2138           Adjust the test to the refcount change two days ago.
2139
2140 2007-12-14  David Schleef  <ds@schleef.org>
2141
2142         * docs/faq/getting.xml: Fix typo.
2143
2144 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
2145
2146         * docs/libs/gstreamer-libs-sections.txt:
2147         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2148           (gst_base_transform_prepare_output_buffer),
2149           (gst_base_transform_set_gap_aware):
2150         * libs/gst/base/gstbasetransform.h:
2151           API: Add gst_base_transform_set_gap_aware() to control whether
2152           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
2153           get buffers with this flag at all. Fixes #503231.
2154
2155 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * libs/gst/base/gstbasesink.c:
2158         * libs/gst/base/gstbasesrc.c:
2159         * libs/gst/base/gstbasetransform.c:
2160           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
2161           thread. Correct log message in gstbasesrc.c.
2162
2163 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2164
2165         * gst/gstutils.c: (element_find_unconnected_pad):
2166           Fix possible compiler warning (#503417).
2167
2168 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2169
2170         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
2171           Don't use GST_CAT_EVENT here for logging, it makes no sense.
2172
2173 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
2174
2175         * tools/gst-inspect.c: (print_element_properties_info):
2176           Add support for GstFraction properties.
2177
2178 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * Makefile.am:
2181           Add check-exports target and run it as part of 'make check'
2182           (see #499140 and #493983).
2183
2184         * gst/gst_private.h:
2185         * gst/gstelementfactory.h:
2186         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
2187         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
2188           (_priv_gst_in_valgrind):
2189         * gst/gstinfo.h: (GstLogFunction):
2190         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
2191           (gst_type_find_register):
2192         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
2193           (gst_type_find_factory_get_type):
2194         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
2195           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
2196           (gst_controller_new_valist), (gst_controller_new_list),
2197           (_gst_controller_dispose), (_gst_controller_class_init):
2198         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
2199         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
2200           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
2201           (gst_object_get_controller), (gst_object_set_controller),
2202           (gst_object_suggest_next_sync), (gst_object_sync_values),
2203           (gst_object_set_control_source), (gst_object_get_control_source),
2204           (gst_object_get_value_arrays), (gst_object_get_value_array),
2205           (gst_object_get_control_rate), (gst_object_set_control_rate):
2206         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
2207         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
2208           Make some functions that should be static static; rename some
2209           private symbols so that they don't get exported; add some FIXME
2210           comments so we can move accidentally exported functions into
2211           our private section in 0.11.
2212
2213         * win32/common/libgstreamer.def:
2214           Add gst_utils_get_timestamp().
2215
2216 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2217
2218         * gst/gstvalue.c:
2219         * gst/gstvalue.h:
2220           Add more missing "Since:" tags to docs.
2221
2222 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * gst/gstutils.c:
2225           Add mising "Since:" to docs.
2226
2227 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2228
2229         * gst/gstplugin.c:
2230           Include "glib-compat-private.h" to fix the build on system with
2231           glib < 2.10. Fixes #503131.
2232
2233 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2234
2235         * gst/gstutils.c:
2236         * gst/gstutils.h:
2237           Actually its not PURE as it gets the time from elsewhere.
2238
2239 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2240
2241         * docs/gst/gstreamer-sections.txt:
2242         * gst/gstclock.h:
2243         * gst/gstdebugutils.c:
2244         * gst/gstinfo.c:
2245         * gst/gstutils.c:
2246         * gst/gstutils.h:
2247         * libs/gst/base/gstbasesink.c:
2248         * tools/gst-launch.c:
2249           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
2250           uses as we don't have HAVE_POSIX_TIMERS in public headers.
2251           Thanks Tim for spotting.
2252           API: gst_util_get_timestamp
2253
2254 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         * configure.ac:
2257           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
2258
2259 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
2260
2261         * gst/gststructure.c: (gst_structure_validate_name),
2262           (gst_structure_new_valist), (gst_structure_parse_value),
2263           (gst_structure_from_string):
2264           Don't crash in _from_string() if the structure name is not valid
2265           (fixes #501560).  Allow structure names to start with a number
2266           again (this apparently broke the ubuntu codec installer).
2267
2268         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
2269           (GST_START_TEST):
2270           Add unit test for the crash; update unit tests for new behaviour.
2271
2272 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
2273
2274         * gst/gstutils.c:
2275         Clarify gst_element_get_compatible_pad() documentation.
2276         Fixes #500919.
2277
2278 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
2279
2280         * tests/check/Makefile.am:
2281           Don't forget to dist {gst,libs}/struct_hppa.h.
2282
2283 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2284
2285         * libs/gst/base/gstbasesink.c:
2286           Use new API to get elapsed time.
2287
2288 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2289
2290         * gst/gstdebugutils.c:
2291         * gst/gstinfo.c:
2292           Fix wrong order of args in GST_CLOCK_DIFF() usage.
2293
2294         * tools/gst-launch.c:
2295           Use new API to get elapsed time.
2296
2297 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2298
2299         * docs/gst/gstreamer-sections.txt:
2300         * gst/gstclock.h:
2301         * gst/gstdebugutils.c:
2302         * gst/gstinfo.c:
2303           Rename new API + ChangeLog surgery to remove old name from last entry..
2304
2305 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * docs/gst/gstreamer-sections.txt:
2308         * gst/gstclock.h:
2309         * gst/gstdebugutils.c:
2310         * gst/gstinfo.c:
2311           Now hide the different clock stuff behind a macro.
2312
2313 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2314
2315         * configure.ac:
2316         * gst/gstdebugutils.c:
2317         * gst/gstinfo.c:
2318           Apply the posix-timer check from #361155. Conditionally use the posix
2319           timer for logging. This gives better timestamp precission, less
2320           overhead and no ntp jitter.
2321
2322 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
2323
2324         * gst/gstminiobject.c: (gst_mini_object_get_type),
2325         (gst_mini_object_class_init), (gst_mini_object_copy_default),
2326         (gst_mini_object_finalize), (gst_mini_object_copy),
2327         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2328         (gst_mini_object_replace), (param_mini_object_validate),
2329         (gst_param_spec_mini_object_get_type):
2330         Some cleanup and checking against invalid function parameters.
2331
2332 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
2333
2334         * docs/gst/gstreamer-sections.txt:
2335         * gst/gstclock.h:
2336         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2337         (gst_systemclock_suite):
2338         Start merging in the easy bits of #361155, the monotonic clock patch.
2339         This one adds a few handy macros with docs and a testsuite.
2340
2341 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
2342
2343         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2344         Be a bit smarter when seeking, like, don't try to do a seek when it's
2345         not needed. This avoids errors when the file is not seekable.
2346         Fixes #499771.
2347
2348 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
2349
2350         * docs/gst/gstreamer-docs.sgml:
2351         * docs/gst/gstreamer-sections.txt:
2352         * docs/gst/gstreamer.types.in:
2353         * gst/Makefile.am:
2354         * gst/gst.h:
2355         * gst/gstpreset.c:
2356         * gst/gstpreset.h:
2357         * plugins/elements/gstqueue.c:
2358           Due to popular request remove preset interface again. :-(.
2359
2360 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2361
2362         * tools/gst-inspect.c:
2363           Print 'default value' for enums and flags too.
2364
2365 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2366
2367         * docs/random/ensonic/profiling.txt:
2368           More ideas.
2369
2370         * gst/gstbin.c:
2371           Fix typo and give better log output.
2372
2373         * gst/gstdebugutils.c:
2374         * gst/gstdebugutils.h:
2375           More ideas, make graphs a bit smaller and fix param name in macro.
2376
2377 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * gst/gstpreset.c:
2380           Try harder to use the return value from fgets().
2381
2382 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
2383
2384         * gst/gstpreset.c:
2385           For theses two fgets we handle the error below.
2386
2387 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2388
2389         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2390         Only send upstream events upstream. Fixes #498746.
2391
2392 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2393
2394         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2395
2396         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2397         (gst_identity_init), (gst_identity_transform_ip),
2398         (gst_identity_set_property), (gst_identity_get_property):
2399         * plugins/elements/gstidentity.h:
2400         Add property to disable handoff signal emission. Fixes #498694.
2401         API: GstIdentity::signal-handoffs
2402
2403 2007-11-21  Julien Moutte  <julien@fluendo.com>
2404
2405         * docs/faq/gst-uninstalled: Yet another missing library for the
2406         uninstalled script (fft)
2407
2408 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
2409
2410         * docs/faq/developing.xml:
2411         Add a question about how to submit new translations.
2412
2413         * docs/random/release:
2414         Update the contact email address for the Translation Project
2415
2416         * plugins/elements/gstfdsrc.c:
2417         The parent_class for fdsrc is pushsrc, not GstElement.
2418
2419 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2420
2421         * gst/gstpreset.c:
2422           Plug a leak and fix saving.
2423
2424 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
2425
2426         * docs/gst/gstreamer-sections.txt:
2427         Add new gst_preset__get_property_names() function to the docs
2428         to fix the build.
2429
2430 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * gst/gstpreset.c:
2433         * gst/gstpreset.h:
2434           Change _get_preset_names API to return a strv with copies. Add
2435           _get_property_names to allow implementations to filter and provide
2436           good default implementation.
2437
2438 2007-11-20  Julien MOUTTE  <julien@moutte.net>
2439
2440         * docs/faq/gst-uninstalled: Add another library to the uninstalled
2441         script (sdp).
2442
2443 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2444
2445         * gst/gstpreset.c:
2446           More cleanups, docs, and TODOs from comments that now slowly come in.
2447
2448 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2449
2450         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
2451         search path.
2452
2453 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2454
2455         * gst/gstpreset.c:
2456           Fix bogus warning and make the property type specific code more
2457           similar.
2458
2459 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2460
2461         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2462         it build on OS X.
2463
2464 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
2465
2466         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2467         (gst_bin_add_func), (gst_bin_remove_func),
2468         (gst_bin_change_state_func), (gst_bin_continue_func):
2469         Change email, cleanups add some more debug and comments.
2470         Also set bus and clock on new elements when the pipeline was in error.
2471
2472 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
2473
2474         * gst/gstbin.c:
2475         * gst/gstdebugutils.c:
2476           Fix build with --disable-gst-debug. Fixes #497859.
2477           Spotted by Sameer Naik.
2478
2479 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * gst/gstevent.c:
2482           Little documentation improvment.
2483
2484         * gst/gstpreset.c:
2485           More TODO cleanups. Remove c++ comments.
2486
2487         * libs/gst/controller/gstcontroller.c:
2488           Add TODO and use quark from static string.
2489
2490         * tests/check/gst/gstmessage.c:
2491         * tests/check/gst/gststructure.c:
2492           Use quark from static string.
2493
2494 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2495
2496         * gst/gstpreset.c:
2497           Add some comments and TODOs.
2498
2499         * gst/gstpreset.h:
2500           Add padding for future changes.
2501
2502         * plugins/elements/gstqueue.c:
2503           Implement the iface.    
2504
2505 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2506
2507         * docs/gst/gstreamer-docs.sgml:
2508         * docs/gst/gstreamer-sections.txt:
2509         * docs/gst/gstreamer.types.in:
2510         * gst/Makefile.am:
2511         * gst/gst.h:
2512         * gst/gstpreset.c:
2513         * gst/gstpreset.h:
2514           Add the preset interface (Fixes #396779). Do some doc cleanups along.
2515
2516 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
2517
2518         * configure.ac:
2519
2520         Back to CVS
2521
2522 === release 0.10.15 ===
2523
2524 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
2525
2526         * configure.ac:
2527           releasing 0.10.15, "October"
2528
2529 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
2530
2531         * win32/vs6/libgstreamer.dsp:
2532         Convert line endings back to DOS.
2533
2534 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
2535
2536         * docs/design/draft-tagreading.txt:
2537         * docs/random/ensonic/profiling.txt:
2538         Update fast tagreading draft and performance profiling ideas.
2539
2540 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2541
2542         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2543         Don't hold the object lock when unreffing a buffer because it could
2544         cause a deadlock when the finalize function wants to grab the object
2545         lock too. Fixes #495133.
2546
2547 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2548
2549         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2550         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2551         Also accumulate time correctly when doing reverse playback. Fixes
2552         #488201,
2553         When converting to running and stream time, use default values for
2554         start/stop/time/accum when comparing different formats. Fixes #494245.
2555
2556         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2557         Do running/stream time in TIME format.
2558
2559         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2560         (gst_segment_suite):
2561         2 new unit tests for segment accumulation.
2562
2563 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2564
2565         * gst/gst.c: (init_pre):
2566         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2567           (_gst_debug_bin_to_dot_file):
2568           Move getenv() back into gst_init, so everyone can live happily
2569           ever after. Make sure the symbol isn't exported though.
2570
2571 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2572
2573         Patch by: Sebastien Moutte  <sebastien moutte net>
2574
2575         * win32/common/gstenumtypes.c:
2576         * win32/common/gstenumtypes.h:
2577           Update enum types.
2578
2579         * win32/vs6/libgstreamer.dsp:
2580           Update vs6 project files (#494343).
2581
2582 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2583
2584         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2585         (gst_base_src_perform_seek), (gst_base_src_default_event),
2586         (gst_base_src_set_flushing), (gst_base_src_activate_push),
2587         (gst_base_src_activate_pull):
2588         Unify flushing code, remove some old unlock code that is no longer used.
2589         Take the streaming lock when seeking to avoid races. Fixes #492729.
2590         Added some more comments.
2591
2592 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * gst/gst.c: (_gst_disable_segtrap):
2595           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
2596           we can use gst_segtrap_is_enabled() there now that we have that API.
2597           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2598           to do the getenv here (and export the variable).
2599
2600         * gst/gstdebugutils.c: (debug_dump_element),
2601           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2602           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2603
2604         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2605           (gst_debug_log_default):
2606           Rename _gst_info_start_time to priv_gst_info_start_time so it
2607           doesn't get exported (was never in any header).
2608
2609         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2610           (gst_plugin_loading_mutex):
2611           Make static mutex gst_plugin_loading_mutex really static (was never
2612           in any header), and use gst_segtrap_is_enabled() instead of
2613           _gst_disable_segtrap.
2614
2615         * gst/gsttrace.c: (_gst_trace_default):
2616           Make local _gst_trace_default static (was never in any header).
2617
2618 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2619
2620         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2621
2622         * win32/common/libgstbase.def:
2623         * win32/common/libgstcontroller.def:
2624         * win32/common/libgstdataprotocol.def:
2625         * win32/common/libgstnet.def:
2626         * win32/common/libgstreamer.def:
2627           Add more missing symbols, remove some duplicates, and sort
2628           as the 'sort' command sorts it (partially fixes #493983).
2629
2630 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2631
2632         * gst/gstelement.c: (gst_element_set_state_func):
2633         Only change the state cookie if a different state was set on the
2634         element. See #492729.
2635
2636 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2637
2638         * gst/gstvalue.c:
2639           Remove unused and uninitialised type variables that were still
2640           exported for some reason (they were never in any header files
2641           though).
2642
2643 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2644
2645         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2646         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2647         (gst_base_sink_event), (gst_base_sink_get_position_last),
2648         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2649         (gst_base_sink_change_state):
2650         Don't try to report a 0 position when we don't know, return -1 and FALSE
2651         instead. This mostly happens when we are prerolling.
2652         Make sure we can report the right position before we post the ASYNC_DONE
2653         message so that a message handler can query position without races.
2654
2655         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2656         (async_done_handoff), (async_done_func), (send_buffer),
2657         (async_done_eos_func), (gst_sinks_suite):
2658         Add two tests for the above.
2659
2660 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2661
2662         * MAINTAINERS:
2663         Update with new email address.
2664
2665         * docs/design/part-TODO.txt:
2666         Add some more info about future pad-block and negotiation changes.
2667
2668         * docs/design/part-buffering.txt:
2669         Add some ideas about buffering reporting.
2670
2671 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
2672
2673         * tests/check/gst/gstobject.c:
2674         Disable silly racy test that always fails on this combination of CPU
2675         and kernel.
2676
2677 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2678
2679         Patch by: Murray Cumming  <murrayc@murrayc.com>
2680
2681         * gst/gstobject.c:
2682           Corrected the registration of the parent-set and parent-unset
2683           signals: The parameter is a GstObject, not a GObject (#493134).
2684
2685 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2686
2687         * gst/gst_private.h:
2688         * gst/gstbuffer.h:
2689         * gst/gstevent.h:
2690         * gst/gstformat.h:
2691         * gst/gstmessage.h:
2692         * gst/gstplugin.h:
2693         * gst/gstquery.h:
2694         * gst/gsttaglist.h:
2695         * gst/gstvalue.h:
2696           Move declaration of private _gst_foo_initialize() functions into
2697           our private header file where they should have been all along.
2698
2699 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2700
2701         * docs/plugins/gstreamer-plugins-sections.txt:
2702         * gst/gstdebugutils.h:
2703         * gst/gstxml.h:
2704         * plugins/elements/gstqueue.c:
2705           gtk-doc fixes; trailing-comma-in-enum fix.
2706
2707 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2708
2709         * gst/gst.c: (gst_deinit):
2710           Clean up on deinit (not the external ones though, doesn't seem to be
2711           needed for some reason).
2712
2713 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2716           Remove __declspec(dllimport) for MSVC that was copied over into core
2717           from a plugin, obviously without ever having been tested (note the
2718           single underscore in _declspec in the initial commit), and that doesn't
2719           really make sense.  See #492077.
2720
2721 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2722
2723         * gst/gst.c: (init_post):
2724         * gst/gstevent.c: (_gst_event_initialize):
2725         * gst/gstquery.c: (_gst_query_initialize):
2726         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2727           g_type_class_ref() other types as well, see #349410 and #64764.
2728
2729         * gst/gstbuffer.c: (_gst_buffer_initialize):
2730         * gst/gstmessage.c: (_gst_message_initialize):
2731           Simplify existing g_type_class_ref().
2732
2733 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2734
2735         * gst/gstformat.c: (_gst_format_initialize):
2736           g_type_class_ref() our GstFormat type to make sure we avoid the
2737           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2738           bug #64764. Should fix intermittent tee unit test failures (#474823).
2739
2740 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2741
2742         * tests/check/elements/tee.c: (test_num_buffers):
2743           Simplify, simplify, simplify - or not.  Rewrite unit test
2744           not to use gst_parse_launch(); allow N sub-streams. Increasing
2745           the number of sub-streams seems to reproduce #474823 more easily.
2746
2747 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2748
2749         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2750
2751         * gst/gsttrace.c:
2752         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2753         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2754         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2755           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2756           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2757           so use _pipe() directly (#492077).
2758
2759         * win32/common/dirent.c: (_treaddir):
2760           Add a couple of casts to make it build without warnings with MSVC.
2761
2762         * win32/common/libgstreamer.def:
2763           Add some more symbols that need to be exported.
2764
2765 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2766
2767         * tests/examples/metadata/read-metadata.c: (message_loop):
2768           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2769           arriving in a second or third tag message are added to
2770           the tag list as well.
2771
2772 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
2773
2774         * libs/gst/base/gstbasesrc.c:
2775           Its "Since:" and not "@Since:". And remove an superflous cast.
2776
2777 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
2778
2779         * docs/libs/gstreamer-libs-sections.txt:
2780         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2781         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2782         (gst_base_sink_get_property), (gst_base_sink_render_object),
2783         (gst_base_sink_preroll_object),
2784         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2785         (gst_base_sink_change_state):
2786         * libs/gst/base/gstbasesink.h:
2787         Add a new last-buffer property that contains the last buffer used in
2788         basesink for preroll or rendering. useful for making snapshots.
2789         API: gst_base_sink_get_last_buffer()
2790         API: GstBaseSink::last-buffer
2791
2792 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2793
2794         * docs/gst/running.xml:
2795         * gst/gst.c:
2796         * gst/gstdebugutils.c:
2797         * gst/gstdebugutils.h:
2798         * tools/gst-launch.c:
2799           Improve bin graph dumping, by using the envvar to specify a path.
2800           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2801
2802 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
2803
2804         * plugins/elements/gsttypefindelement.c:
2805           (gst_type_find_element_handle_event),
2806           (gst_type_find_element_activate):
2807           Post special error message if we can't determine the type of a stream
2808           because it's empty.
2809
2810 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2811
2812         * docs/gst/running.xml:
2813         * gst/gstdebugutils.c:
2814           Document new env-var. Add one log-line after dumpng a graph.
2815
2816 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2817
2818         * configure.ac:
2819           Ugly hack to put the (recently removed and non-portable, apparently)
2820           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2821           GNU ld, because without that 'make check' fails miserably on my debian
2822           stable box.  Someone with more knowledge of linker intricacies and
2823           portability issues than me fix this properly please.
2824
2825 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
2826
2827         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2828         Reset last seen position after flushing so that we don't report the old
2829         position anymore.
2830
2831 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2832
2833         * gst/gstelementfactory.c: (gst_element_register):
2834         * gst/gsturi.h:
2835         Patch from Alessandro Decina adding get_type_full and
2836         get_protocols_full private vfuncs to the URIHandler interface
2837         to allow bindings to support creating URI handlers. 
2838         Partially fixes: #339279
2839         API: GstURIHandlerInterface::get_type_full
2840         API: GstURIHandlerInterface::get_protocols_full
2841
2842 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2843
2844         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2845         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2846         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2847         Make it so that pads are considered linked until a buffer is pushed
2848         and discovered otherwise. This avoids problems with decodebin2 hanging
2849         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2850         case.
2851
2852         Make sure we lock the multiqueue when updating the max-size properties.
2853         
2854         Fix a crash on Solaris in a debug statement in get_request_pad that
2855         passes a NULL string to GST_DEBUG. 
2856
2857         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2858         (run_output_order_test):
2859         Fix the test to allow the first buffer on not-linked pads to come out
2860         of sequence while multiqueue discovers that they are not-linked.
2861
2862 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2863
2864         * configure.ac:
2865         * libs/gst/check/Makefile.am:
2866         Use a custom export symbol regex for libgstcheck, as it needs
2867         to export symbols that don't match the standard GStreamer gst_*
2868         pattern, and  --export-dynamic is not portable (only works on 
2869         GNU ld)
2870
2871         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2872         (gst_check_setup_sink_pad):
2873         Make sure to pass a message parameter to the fail_* macros.
2874
2875         * tests/check/gst/gstinfo.c: (GST_START_TEST):
2876         Fix some compiler warnings.
2877
2878 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
2879
2880         * tests/check/gst/gststructure.c: (test_to_string):
2881           Disable test that checks that white spaces are not allowed
2882           in structure names or field names, since we need to
2883           support that for now for backwards compatibility reasons.
2884
2885 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2886
2887         * docs/gst/gstreamer-sections.txt:
2888         * gst/gsttaglist.c:
2889         * gst/gsttaglist.h:
2890           API: add GST_TAG_ARTIST_SORTNAME
2891           API: add GST_TAG_ALBUM_SORTNAME
2892           API: add GST_TAG_TITLE_SORTNAME
2893           Add tag variants for sorting (#414539).
2894
2895 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * gst/gststructure.c:
2898           Also allow white space for names so we don't break
2899           backwards compatibility.
2900
2901 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2902
2903         * docs/design/part-TODO.txt:
2904         * docs/design/part-segments.txt:
2905         * docs/design/part-streams.txt:
2906         Small updates.
2907
2908 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2909
2910         * docs/gst/gstreamer-sections.txt:
2911          Fixed documentation from my previous commit (added new API add
2912          gst_value_set_structure(), add gst_value_get_structure() and
2913          GST_VALUE_HOLDS_STRUCTURE).
2914
2915 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2916
2917         * gst/gstdebugutils.c:
2918           Reflow code to fix uninitialized variable warning.
2919
2920 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2921
2922         * gst/gstcaps.c: (gst_caps_to_string),
2923         (gst_caps_from_string_inplace):
2924         * gst/gststructure.c: (gst_structure_get_abbrs),
2925         (gst_structure_to_string), (gst_structure_from_string):
2926         * gst/gstvalue.c: (gst_value_set_structure),
2927         (gst_value_get_structure), (gst_value_serialize_structure),
2928         (gst_value_deserialize_structure), (_gst_value_initialize):
2929         * gst/gstvalue.h:
2930         * tests/check/gst/gststructure.c: (GST_START_TEST),
2931         (gst_structure_suite):
2932         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2933          Added GstStructure to gst_value_table and its related functions.
2934          Changed gst_structure_to_string to print ';' in the end.
2935          Changed gst_caps_to_string to not print ';' beteween its
2936          fields (structures) anymore and remove the lastes ';' from latest
2937          structure. Now it is possible to have nested structures.
2938          In addition, backward compatibilty is assured by accepting '\0' as
2939          end delimiter. Fixes: #487969.
2940          API: add gst_value_set_structure()
2941          API: add gst_value_get_structure()
2942          API: add GST_VALUE_HOLDS_STRUCTURE
2943
2944 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * gst/gstbus.c:
2947           When no GSource callback has been set up, tell developer
2948           to use a function that actually exists.
2949
2950 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2951
2952         * docs/gst/gstreamer-sections.txt:
2953         * gst/Makefile.am:
2954         * gst/gst.c:
2955         * gst/gst.h:
2956         * gst/gstdebugutils.c:
2957         * gst/gstdebugutils.h:
2958         * gst/gstinfo.c:
2959         * gst/gstinfo.h:
2960         * tools/gst-launch.c:
2961           Allow dumping pipelines as dot graphs. Fixes #456573.
2962
2963 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * gst/gststructure.c:
2966           Allow '+' as well, it can be part of media or mime types
2967           such as image/svg+xml.
2968
2969 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2970
2971         * docs/gst/gstreamer-sections.txt:
2972         * gst/gstbus.c:
2973         * gst/gstbus.h:
2974           API: add gst_bus_pop_filtered
2975           API: add gst_bus_timed_pop_filtered
2976           Two new functions for waiting for specific message types on the
2977           bus for a specified amount of time without iterating any main
2978           loops or main contexts.
2979
2980         * tests/check/gst/gstbus.c:
2981           Some tests for the new functions.
2982
2983 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2984
2985         * docs/libs/gstreamer-libs-sections.txt:
2986           Make gtk-doc ignore stuff it should ignore.
2987
2988 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * libs/gst/check/gstcheck.c:
2991         * libs/gst/check/gstcheck.h:
2992           Allow runtime selection of unit tests to run via the GST_CHECKS
2993           environment variable (test case function names, comma-separated).
2994
2995 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2996
2997         * gst/gststructure.c:
2998         * tests/check/gst/gststructure.c:
2999           Revert serialisation change and constrain structure-names after
3000           consensus on irc. Update api documentation to reflect the change.
3001
3002 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3003
3004         * gst/gststructure.c:
3005           Improve serialization and fix tests.
3006
3007         * tests/check/gst/gststructure.c:
3008           Add another test that covers why I actually did the previous structure
3009           change.
3010
3011 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3012
3013         * tools/gst-inspect.c: (print_element_info):
3014         Don't crash when inspecting an element.
3015
3016 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3017
3018         * tests/check/gst/gststructure.c:
3019           Add unit test for escaping of structure name when serialising
3020           and deserialising to/from strings.
3021
3022 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3023
3024         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3025         (gst_single_queue_new):
3026         * plugins/elements/gstqueue.c: (gst_queue_init),
3027         (gst_queue_push_one):
3028         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3029         upstream is tricked into thinking it can suggest a format downstream
3030         while downstream does not support that format. The real problem is that
3031         core calls acceptcaps when pushing a buffer with new caps, for which we
3032         do a little workaround by setting the caps on the srcpad ourselves
3033         before pushing the buffer (until this is figured out). Fixes #486758.
3034
3035 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3036
3037         * gst/gststructure.c:
3038         * gst/gstvalue.c:
3039           Add some more comments and debug output. Quote structure name to fix
3040           deserialisation of some strings.
3041
3042 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3043
3044         * gst/gstbuffer.h:
3045           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3046           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3047
3048 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3049
3050         * tools/gst-inspect.c:
3051           Save approx. 400 1 byte allocs when printing. Use API to acces element
3052           details.
3053
3054         * tools/gst-run.c:
3055           Avoid a strdup.
3056
3057         * tools/gst-xmlinspect.c:
3058           Use API to acces element details.
3059
3060 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3061
3062         * gst/gstinfo.c:
3063           Fix some spelling errors.
3064
3065 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
3066
3067         * gst/gstbin.c: (bin_handle_async_done):
3068         Correctly set the next state if all of our async children commited their
3069         state. This makes sure we can actually cancel the state change in
3070         progress. Fixes a regression in Rhythmbox when seeking.
3071
3072 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3073
3074         * gst/gstbin.c:
3075           Don't shadow local variable.
3076
3077         * gst/gstinfo.c:
3078           Don't shadow global function name.
3079
3080 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3081
3082         * gst/gstelementfactory.c:
3083         * gst/gstpluginfeature.c:
3084         * gst/gstpluginfeature.h:
3085         * gst/gstregistrybinary.c:
3086         * gst/gstregistryxml.c:
3087         * gst/gsttypefind.c:
3088           Use already-interned string for the private GstPluginFeature
3089           plugin_name field.
3090
3091 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         * docs/libs/gstreamer-libs-sections.txt:
3094           Add new API to docs; fixes the build.
3095
3096 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
3097         
3098         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
3099
3100         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
3101         (gst_base_sink_event):
3102         * libs/gst/base/gstbasesink.h:
3103         Add function to wait for EOS, subclasses can use this to correctly wait
3104         for devices to drain before performing the EOS logic. Fixes #485343.
3105         API: gst_base_sink_wait_eos()
3106
3107 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/gstplugin.h:
3110           Cast description string constants in GST_PLUGIN_DEFINE macros
3111           to a (gchar*) to make C++ code using these macros compile
3112           without warning with g++-4.2 (see #462737).  Even if slightly
3113           ugly, this seems preferable to putting the description strings
3114           into the GLib quark table or making the structure member a
3115           const gchar * and doing casts in core code that allocs and
3116           frees these strings, or requiring a cast in the C++ code.
3117
3118 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3119
3120         * gst/gstinfo.h:
3121           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
3122           to print the entire class/function signature into the log
3123           file for C++ code.  This only affects C++ code, for C code
3124           everything remains the same.
3125
3126 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
3127
3128         * gst/gstbin.c: (remove_from_queue):
3129         Work around a problem with pipelines containing (semi)loops until a
3130         proper, more complicated solution is ready. See #475455.
3131
3132 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3133
3134         * gst/gstplugin.c:
3135         * gst/gstplugin.h:
3136         * gst/gstregistrybinary.c:
3137         * gst/gstregistryxml.c:
3138           Put more strings into the GLib quark table. No need to keep
3139           a hundred-something copies of identical version strings,
3140           license strings, package name strings and package origin
3141           strings around. 
3142
3143 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3144
3145         * docs/manual/advanced-dataaccess.xml:
3146           Don't imply that it's okay to unconditionally change
3147           buffer data or buffer metadata in a pad probe callback,
3148           and a bunch of other comments. Fixes #430031.
3149
3150 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3151
3152         * win32/common/gstenumtypes.c:
3153         * win32/common/gstenumtypes.h:
3154         * win32/common/gstversion.h:
3155           Update generated files.
3156
3157 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3158
3159         * docs/manual/advanced-autoplugging.xml:
3160           Prefix section with broken code with a warning (see #342432).
3161
3162 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3163
3164         * docs/manual/appendix-integration.xml:
3165         * docs/manual/basics-init.xml:
3166           Call g_thread_init() before g_option_context_new() to
3167           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
3168
3169 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3170
3171         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3172         (gst_base_sink_queue_object_unlocked),
3173         (gst_base_sink_queue_object), (gst_base_sink_event),
3174         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
3175         When we received EOS and are waiting for when to post the EOS message,
3176         our state is prerolled and we should not return ASYNC.
3177         Reorganize some code paths to implement this behavior.
3178
3179         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3180         (gst_sinks_suite):
3181         Add unit test to verify above EOS fix.
3182
3183 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3184
3185         * plugins/elements/gsttypefindelement.c:
3186         (gst_type_find_element_have_type), (gst_type_find_element_init),
3187         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
3188         Move detecting the input caps of the sinkpad to the setcaps function.
3189         This allows us to update the output caps when we receive new input caps
3190         instead of always using the first detected caps.
3191
3192 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3193
3194         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3195         (gst_base_sink_get_position):
3196         Don't try to preroll non-async elements after a flush.
3197         Subtract latency form clock times when reporting position.
3198
3199 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3200
3201         * gst/gstpad.c: (gst_pad_pause_task):
3202         * gst/gstutils.c:
3203         Small comment and documentation update.
3204
3205 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3206
3207         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3208         (gst_base_src_set_live), (gst_base_src_is_live),
3209         (gst_base_src_query_latency), (gst_base_src_perform_seek),
3210         (gst_base_src_default_event), (gst_base_src_wait),
3211         (gst_base_src_do_sync), (gst_base_src_get_range),
3212         (gst_base_src_pad_get_range), (gst_base_src_loop),
3213         (gst_base_src_unlock), (gst_base_src_unlock_stop),
3214         (gst_base_src_set_flushing), (gst_base_src_set_playing),
3215         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3216         (gst_base_src_change_state):
3217         Rework the locking of basesrc in a similar fashion to basesink. We
3218         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
3219         us to handle live sources and semi live ones much better.
3220         Simplify flushing.
3221         Fix unlocking when seeking, shutting down and pausing in live sources.
3222
3223 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3224
3225         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
3226         Fix compilation again.
3227
3228 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3229
3230         * gst/gstelement.c:
3231           Use meaningful categories for the logs to clean the default one.
3232
3233 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3234
3235         * tests/check/pipelines/cleanup.c:
3236           Print message name and not just number.
3237
3238 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3239
3240         * docs/design/draft-tagreading.txt:
3241           Add some more thoughts.
3242
3243 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3244
3245         * tests/check/pipelines/simple-launch-lines.c:
3246           Print message name and not just number.
3247
3248 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3249
3250         * libs/gst/base/gsttypefindhelper.c:
3251           Speedup typefinding. This is work in progress (see #459862).
3252
3253 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3254
3255         * gst/gstplugin.c:
3256           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
3257           Spotted by Josep Torra Valles <josep@fluendo.com>.
3258
3259 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/gstclock.h:
3262           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
3263           field has moved to GstObject.
3264
3265 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
3266
3267         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
3268         (gst_base_src_get_range), (gst_base_src_change_state):
3269         Call unlock for live sources so that they can't get stuck in _create and
3270         produce a buffer before they are set back to PLAYING.
3271
3272 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
3273
3274         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3275         (gst_queue_locked_dequeue):
3276         Comment the segment-related code... in the PROPER function.
3277         See #482147 and my commit from yesterday.
3278
3279 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
3280
3281         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3282         Also initialize the counter that calculates the first timestamp on a
3283         buffer correctly for non-live sources.
3284
3285 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
3286
3287         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
3288         Disable code that's breaking the current-time-level reporting.
3289         See #482147
3290
3291 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
3292
3293         * docs/gst/gstreamer-sections.txt:
3294         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
3295         as they shouldn't show up. Fixes the docs build.
3296
3297 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
3298         
3299         * gst/gstinfo.h:
3300         Add an explicit variable importation needed on VS6 (only for MSC_VER)
3301         Define M_PI which is used in files which are including gstinfo.h. 
3302         VS6 includes doesn't define it.
3303         * win32/common/libgstbase.def:
3304         * win32/common/libgstcontroller.def:
3305         * win32/common/libgstreamer.def:
3306         Add new exported functions and variables.
3307         * win32/vs6/libgstcontroller.dsp:
3308         * win32/vs6/libgstreamer.dsp:
3309         Update the list of files to build.
3310         
3311 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3312
3313         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3314
3315         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3316         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3317         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3318         Improve debugging. Fixes #480858.
3319
3320 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3321
3322         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3323
3324         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3325         First patch of code cleanups, use the macros and right arguments in the
3326         macros to signal and lock the queue. See #480858.
3327
3328 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
3329
3330         * gst/gstbus.c: (poll_func):
3331         Improve debugging when dealing with _poll().
3332
3333 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3334
3335         * gst/gstregistryxml.c:
3336           Fix memory leak I introduced a few days ago.
3337
3338 2007-09-26  Michael Smith <msmith@fluendo.com>
3339
3340         * gst/gstbuffer.c: (gst_buffer_finalize):
3341           Make it once again possible to free GstBuffers in the default
3342           build.
3343           The poisoning scribbles on parts of the miniobject we need in
3344           order to free it.
3345           Fixes #480341
3346
3347 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3348
3349         * docs/gst/gstreamer-sections.txt:
3350         * gst/gsttaglist.c:
3351         * gst/gsttaglist.h:
3352         API: add GST_TAG_COMPOSER, fixes #459809.
3353
3354 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
3355
3356         * gst/gstplugin.c:
3357         * gst/gstplugin.h:
3358         Add the 3-clause BSD license and the MIT/X11 license to the license
3359         list. Fixes #479784.
3360
3361 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
3362
3363         * docs/faq/getting.xml:
3364           Add Q+A about different GStreamer versions (#364056).
3365
3366 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3367
3368         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3369         (gst_base_sink_event), (gst_base_sink_change_state):
3370         Return correct gboolean from query function.
3371
3372 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3373
3374         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3375         (gst_base_sink_event), (gst_base_sink_query),
3376         (gst_base_sink_change_state):
3377         Simplify latency query.
3378         When not synchronizing, we can report latency without querying the peer
3379         element.
3380
3381 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3382
3383         * gst/gstobject.h:
3384         * gst/gstvalue.c:
3385         Fix small typos in the docs.
3386
3387 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3388
3389         * docs/design/draft-latency.txt:
3390         * docs/design/draft-push-pull.txt:
3391         * docs/design/draft-tagreading.txt:
3392         * docs/design/part-MT-refcounting.txt:
3393         * docs/design/part-activation.txt:
3394         * docs/design/part-block.txt:
3395         * docs/design/part-element-source.txt:
3396         * docs/design/part-events.txt:
3397         * docs/design/part-gstbin.txt:
3398         * docs/design/part-gstelement.txt:
3399         * docs/design/part-gstobject.txt:
3400         * docs/design/part-gstpipeline.txt:
3401         * docs/design/part-messages.txt:
3402         * docs/design/part-preroll.txt:
3403         * docs/design/part-push-pull.txt:
3404         * docs/design/part-qos.txt:
3405         * docs/design/part-query.txt:
3406         * docs/design/part-scheduling.txt:
3407         * docs/design/part-seeking.txt:
3408         * docs/design/part-segments.txt:
3409         * docs/design/part-states.txt:
3410         Documentation updates and typo fixes.
3411
3412 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * plugins/elements/gstfakesink.c:
3415           Add some debug text to error message to indicate that
3416           we errored out on request.
3417
3418         * tools/gst-launch.c:
3419           When the state change to PLAYING fails, check for an
3420           error message on the bus and print it.
3421
3422 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3423
3424         translated by: Jorge González González <aloriel@gmail.com>
3425
3426         * po/LINGUAS:
3427         * po/es.po:
3428           Added Spanish translation.
3429
3430 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
3431
3432         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3433         Fix printf arguments.
3434
3435 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3436
3437         * tests/check/generic/states.c:
3438           Improved state change unit test.
3439
3440 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3441
3442         * gst/gstbin.h:
3443           Move priv to the right place.
3444
3445         * gst/gstsystemclock.c:
3446           Add FIXME: and improve log.
3447
3448         * tests/check/Makefile.am:
3449         * tests/examples/manual/Makefile.am:
3450           Work with all types of registries.
3451
3452 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
3453
3454         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3455         Don't unref the event after pushing it. Fixes #478401.
3456
3457 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3458
3459         * .cvsignore:
3460         * tests/examples/manual/.cvsignore:
3461           Ignore registries in any format.
3462
3463 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3464
3465         * gst/glib-compat-private.h:
3466           Add compatibility macro for g_intern_string() for
3467           GLib-2.8 (any reason we can't just bump the
3468           requirement to at least 2.10?)
3469
3470         * gst/gstpadtemplate.h:
3471         * gst/gstelementfactory.c:
3472         * gst/gstregistryxml.c:
3473         * gst/gstregistrybinary.c:
3474           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3475           up the internal code accordingly.  This shouldn't be a problem, since
3476           there is no reason external code could ever assume the string in such
3477           a structure is dynamically allocated unless it did that itself;  the
3478           use of g_strdup() is private to element factories.  The new code also
3479           saves some memory by putting pad template name strings into the GLib
3480           quark table instead of allocating them dynamically.
3481           Declaring this field constant fixes warnings with g++-4.2 when using
3482           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3483
3484 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3485
3486         * gst/gstelementfactory.c:
3487           Release static caps. Fixes #475723.
3488
3489 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
3490
3491         * gst/gstinfo.c:
3492         * gst/gstinfo.h:
3493           Make some internal API take const gchar * instead of just
3494           gchar * to avoid compiler warnings with g++-4.2.2 when
3495           passing string constants (partially fixes #478092).
3496
3497 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3498
3499         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3500         A latency query fails when one of the sinks fail.
3501
3502         * gst/gstelement.c: (gst_element_set_base_time):
3503         Improve debugging.
3504
3505 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3506
3507         * gst/gstbin.c: (gst_bin_continue_func):
3508         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3510         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3511
3512         Fix minor compilation warnings shown with Forte.
3513
3514 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3515
3516         * plugins/elements/gstqueue.c: (apply_buffer),
3517         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3518         Measure queue level based on the diff between head and tail timestamps
3519         even when pushing the first buffer.
3520
3521 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3522
3523         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3524         (gst_base_sink_event), (gst_base_sink_change_state):
3525         Sinks that don't preroll can always be queried for the latency.
3526         Don't post ASYNC start when we are not async.
3527
3528 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3529
3530         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3531         (gst_queue_handle_sink_event), (gst_queue_chain),
3532         (gst_queue_push_one), (gst_queue_handle_src_query),
3533         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3534         * plugins/elements/gstqueue.h:
3535         When downstream returns UNEXPECTED from pushing a buffer, don't try to
3536         push more buffers but allow pushing of EOS and NEWSEGMENT.
3537         Add some more debug info here and there. Fixes #476514.
3538
3539 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3540
3541         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3542         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3543         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3544         (gst_base_sink_set_flushing), (gst_base_sink_query),
3545         (gst_base_sink_change_state):
3546         Latency query is allowed after we are prerolled. Introduce a new flag
3547         for this and stop abusing other variables.
3548
3549 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3550
3551         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3552         Push OOB events downstream when we get them in send_event. This allows
3553         the application to insert events in the pipeline.
3554         Add some more comments.
3555
3556 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3557
3558         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3559         (do_bin_latency), (gst_bin_change_state_func):
3560         * gst/gstpipeline.c: (gst_pipeline_change_state):
3561         Move latency query from GstPipeline to GstBin so that we can also
3562         use it when async-handling is enabled on bins.
3563
3564 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3565
3566         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3567         (gst_base_src_do_sync), (gst_base_src_change_state):
3568         Update docs.
3569         Clean up the timestamping and syncing code for pseudo live sources.
3570
3571 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
3572
3573         Patch by: Steve Fink  <sphink gmail com>
3574
3575         * docs/manual/appendix-checklist.xml:
3576           Mention less -R switch in the section about debug output (#474055).
3577
3578 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3579
3580         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3581         Queue can latency to the pipeline up to the configured max size in time.
3582         Report this fact in the latency query.
3583
3584 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3585
3586         Patch by: Sebastien Moutte <sebastien at moutte dot net>
3587
3588         * libs/gst/controller/gstinterpolation.c:
3589         * libs/gst/controller/gstlfocontrolsource.c:
3590         Use gst_guint64_to_gdouble() when converting from a uint64 or
3591         GstClockTime to double to fix the build on win32. Fixes #474371.
3592
3593 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3594
3595         * gst/gstbuffer.c: (gst_buffer_finalize):
3596         Implement poisoning for GstBuffer if --enable-poisoning is specified.
3597         When finalizing a buffer the complete struct is filled with 0xff,
3598         thus making a use of the buffer after the final unref impossible.
3599
3600 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3601
3602         * tests/check/libs/controller.c: (GST_START_TEST):
3603         Use fail_unless_equals_int(a, b) instead of
3604         fail_unless_equals (a == b) to get better output on failures.
3605
3606 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3607
3608         * tests/check/gst/gsturi.c:
3609           Also check for the other file URI variant on win32.
3610
3611 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3612
3613         * gst/gsturi.c: (gst_uri_get_location):
3614           If there's no hostname, we want to return 'c:/foo/bar.txt'
3615           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3616
3617         * tests/check/gst/gsturi.c:
3618           Unit test for the above and a few more things.
3619
3620 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3621
3622         * docs/design/part-live-source.txt:
3623         Add docs on how live sources should timestamp.
3624
3625         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3626         Add some more debug info.
3627         For subclasses that are live and like to sync, add aditional startup
3628         latency to sync time and timestamps so that we timstamp according to the
3629         design doc.
3630
3631 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3632
3633         * gst/gstbuffer.c:
3634           Also do a g_type_class_ref() for the subbuffer type in
3635           the init function.
3636
3637 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3638
3639         * docs/gst/gstreamer-sections.txt:
3640         * gst/gstpad.c: (gst_pad_peer_query):
3641         * gst/gstpad.h:
3642         Add function to perform a query on the peer of a pad.
3643         API: gst_pad_peer_query()
3644
3645 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
3646
3647         * tests/check/gst/gstsystemclock.c:
3648           Cleanup the test a little (use gst-logging and not g_message). Improve
3649           test to check if a wait reached the target.
3650
3651 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * docs/libs/gstreamer-libs-sections.txt:
3654           Add new API to docs and fix the build.
3655
3656 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
3657
3658         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3659         (gst_base_src_init), (gst_base_src_set_do_timestamp),
3660         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3661         (gst_base_src_get_property), (gst_base_src_do_sync):
3662         * libs/gst/base/gstbasesrc.h:
3663         Add property to make the basesrc timestamp buffers based on the current
3664         running time.
3665         API: GstBaseSrc::do-timestamp
3666         API: gst_base_src_set_do_timestamp()
3667         API: gst_base_src_get_do_timestamp()
3668
3669 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         * docs/random/release:
3672           Really make sure translations are up-to-date before
3673           a release (#465010).
3674
3675 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
3676
3677         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3678         Always destroy the timer, also in error cases.
3679
3680 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3681
3682         * docs/manual/highlevel-xml.xml:
3683         Fix XML example code. Fixes #472714.
3684
3685 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3686
3687         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3688         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3689         (gst_base_sink_query):
3690         Protect eos and have_preroll with the OBJECT lock so we don't need to
3691         take the PREROLL lock when querying the latency. Fixes #473846.
3692
3693 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
3694
3695         * gst/gstelement.c:
3696           Give some log-messages a category.
3697
3698 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
3699
3700         * gst/gststructure.c:
3701         (gst_structure_fixate_field_nearest_fraction):
3702         Fix fraction list fixation code. Take the fraction with the smallest
3703         difference with the target instead of the first one in the list.
3704
3705         * tests/check/gst/gststructure.c: (GST_START_TEST),
3706         (gst_structure_suite):
3707         Added test to verify correct fraction list fixation behaviour.
3708
3709 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * win32/common/libgstreamer.def:
3712           Export gst_bus_add_signal_watch too.
3713
3714 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
3715
3716         * docs/libs/gstreamer-libs-sections.txt:
3717         Add new methods to docs.
3718
3719         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3720         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3721         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3722         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3723         * libs/gst/base/gstbasesink.h:
3724         Add ts-offset property to fine-tune the synchronisation.
3725         API: GstBaseSink::ts-offset property
3726         API: gst_base_sink_set_ts_offset()
3727         API: gst_base_sink_get_ts_offset()
3728
3729 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
3730
3731         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3732         (gst_base_sink_init), (gst_base_sink_set_sync),
3733         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3734         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3735         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3736         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3737         (gst_base_sink_get_property), (gst_base_sink_change_state):
3738         * libs/gst/base/gstbasesink.h:
3739         Add async property to instruct the sink never to inform the parent about
3740         ASYNC state changes, update docs.
3741         Check argument with g_return_* for the public functions.
3742         API: GstBaseSink::async property
3743         API: gst_base_sink_set_async_enabled()
3744         API: gst_base_sink_is_async_enabled()
3745
3746 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
3747
3748         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3749         Improve debugging.
3750
3751         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3752         (gst_base_src_default_query), (gst_base_src_wait),
3753         (gst_base_src_do_sync), (gst_base_src_change_state):
3754         Rearrange some code so that we can add support for measuring the 
3755         startup latency.
3756
3757 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
3758
3759         * docs/random/ensonic/dynlink.txt:
3760           More thoughs on this.
3761
3762         * plugins/elements/gstcapsfilter.c:
3763           Add bugzilla ticket number to FIXME comment.
3764
3765 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
3766
3767         * docs/design/part-TODO.txt:
3768         * docs/design/part-block.txt:
3769         Update some docs.
3770
3771 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3772
3773         * gst/Makefile.am:
3774           Revert patch which uses $(gst_headers) instead of $^ because it
3775           breaks make dist.
3776
3777 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3778
3779         * tests/check/gst/gstbin.c: (GST_START_TEST):
3780           Fix leaks in the new unit test.
3781
3782 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
3783
3784         * gst/gst.c:
3785           Don't use GST_INFO before the debug system is actually initialised
3786           (shouldn't do any harm, but won't print anything either, so we can
3787           just as well remove it).
3788
3789         * gst/gstinfo.h:
3790           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3791           compilers that don't support variadic macros (such as MSVC), should
3792           check for debug_level <= __gst_debug_min as well, since that's the
3793           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3794           inline helper functions. Should improve performance a bit, but also
3795           makes sure uses of GST_INFO et.al are ignored if the debugging
3796           system isn't initialised yet (instead of printing an assertion
3797           failure).
3798
3799 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
3800
3801         patch by: David Nečas <yeti@physics.muni.cz>
3802
3803         * gst/Makefile.am:
3804           Replace some non portable makefile constructs.
3805
3806 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
3807
3808         * common/gtk-doc-plugins.mak:
3809           Grrrrr. Don't remove the types file on make clean.
3810
3811 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
3812
3813         * tools/gst-launch.1.in:
3814         Add colorspace to example pipeline. Fixes #458274.
3815
3816 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * docs/random/release:
3819           The release manager should run 'make download-po' before making a
3820           release to make sure translations are up-to-date.
3821
3822         * po/LINGUAS:
3823         * po/be.po:
3824         * po/pl.po:
3825         * po/rw.po:
3826           Add some new translations.
3827
3828 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
3829
3830         * tools/gst-launch.c: (event_loop), (main):
3831         Don´t try to do any state management when a live pipeline posts
3832         buffering messages.
3833         Also make the buffering string translatable.
3834
3835 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3836
3837         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3838         (bin_handle_async_start), (gst_bin_handle_message_func):
3839         Improve debugging.
3840         When adding elements, insert messages into the bus of the newly added
3841         element and make sure the element is the source of the message. This
3842         allows the parent bin to intercept the message and do the
3843         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3844         messages to the app (which is not allowed).
3845         Update some docs.
3846
3847         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3848         Fix testsuite so that is does not work around messages that should not
3849         have been posted in the first place.
3850
3851 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3852
3853         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3854         (update_degree), (gst_bin_sort_iterator_next):
3855         Fix annoying bug in the sorted iterator where a sink that is not really
3856         a sink (when it has downstream links) screwed up the iterator.
3857
3858         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3859         Unit test to verify the fix.
3860
3861 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3862
3863         * gst/gstmessage.h:
3864         Add some more docs for the messages.
3865
3866         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3867         (gst_base_sink_query):
3868         Add some more debugging.
3869
3870         * tools/gst-launch.c: (event_loop):
3871         When interrupting, don't try to set pipeline to PAUSED twice.
3872
3873 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3874
3875         
3876         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3877         (bin_handle_async_start), (gst_bin_handle_message_func):
3878         Move ASYNC_START message posting to where it belongs, similar to
3879         async_done. 
3880         Don't post ASYNC_START when we are in error. 
3881         Post ASYNC_START when we added an async element to a bin.
3882
3883 2007-08-14  Julien MOUTTE  <julien@moutte.net>
3884
3885         * gst/gstindex.c: (gst_index_add_association): Fix index entry
3886         generation from vargs. Fixes #466595.
3887
3888 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3889
3890         * gst/gstbin.c: (gst_bin_element_set_state):
3891         Always change the state of a NO_PREROLL element even if it has ASYNC
3892         elements inside (in case of a bin).
3893
3894         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3895         Unit test for this case.
3896
3897 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
3898
3899         * libs/gst/check/gstbufferstraw.c:
3900         * libs/gst/check/gstcheck.h:
3901         * libs/gst/controller/gstcontroller.c:
3902         * libs/gst/controller/gstcontrolsource.h:
3903         * libs/gst/controller/gstlfocontrolsource.h:
3904         * plugins/elements/gstcapsfilter.h:
3905         * plugins/elements/gstfdsink.h:
3906         * plugins/elements/gstfdsrc.h:
3907           Add more missing docs.
3908
3909 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3910
3911         * gst/gststructure.c:
3912         Add Since tag to docs.
3913
3914 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3915
3916         * docs/gst/gstreamer-sections.txt:
3917         * gst/gststructure.c: (gst_structure_get_uint):
3918         * gst/gststructure.h:
3919         Add function to get uint from a structure.
3920         API: gst_structure_get_uint()
3921
3922 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3923
3924         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3925         (gst_caps_intersect):
3926         Fix proper check for simple caps.
3927
3928 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3929
3930         * docs/gst/Makefile.am:
3931         * docs/libs/Makefile.am:
3932           Remove cruft and do some cleanups.
3933
3934         * docs/gst/gstreamer-docs.sgml:
3935         * docs/libs/gstreamer-libs-docs.sgml:
3936           Prepare for comming gtkdoc features (rebase against online docs).
3937
3938 2007-08-10  Michael Smith <msmith@fluendo.com>
3939
3940         * docs/gst/gstreamer-sections.txt:
3941           Add gst_registry_add_path to docs.
3942
3943 2007-08-10  Michael Smith <msmith@fluendo.com>
3944
3945         * gst/gstregistry.h:
3946           Add gst_registry_add_path, which was missing from this header.
3947
3948 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3949
3950         * libs/gst/controller/gstlfocontrolsource.c:
3951           Printf format fix.
3952
3953 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3954
3955         * libs/gst/base/gstbasesink.c:
3956           Don't send an async_start message during downwards state change if 
3957           target state is less than READY
3958
3959 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3960
3961         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3962
3963         * po/LINGUAS:
3964         * po/hu.po:
3965           Added Hungarian translation.
3966
3967 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3968
3969         * po/fi.po:
3970         * po/it.po:
3971         * po/nl.po:
3972         * po/sv.po:
3973         * po/uk.po:
3974           Updated translations.
3975
3976 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3977
3978         * libs/gst/controller/Makefile.am:
3979         Dist gstlfocontrolsourceprivate.h
3980
3981 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3982
3983         * docs/libs/gstreamer-libs.types:
3984         Don't register the enum type gst_lfo_waveform_get_type() in the
3985         .types file - only GObject derived types belong.
3986
3987 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3988
3989         Patch by: <arenevier at fdn dot fr>
3990
3991         * gst/gstbuffer.h:
3992         Remove comma from last element in enum to avoid compile errors when
3993         using -pendantic. Fixes #464366.
3994
3995 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3996
3997         * docs/design/part-TODO.txt:
3998         Add some more TODO items
3999
4000         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4001         Improve debugging.
4002
4003         * gst/gstcaps.c: (gst_caps_intersect):
4004         Optimize trivial intersection case between identical caps pointers.
4005
4006         * gst/gstelement.c: (gst_element_continue_state),
4007         (gst_element_set_state_func):
4008         * gst/gstpad.c:
4009         Fix spelling and grammar mistakes.
4010
4011 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4012
4013         * po/POTFILES.in:
4014         * po/POTFILES.skip:
4015           Update POTFILES. Fixes #461599.
4016
4017 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4018
4019         * gst/gst.c:
4020         Fix confusing typo in debug output.
4021
4022 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4023
4024         reviewed by: Stefan Kost <ensonic@users.sf.net>
4025
4026         * libs/gst/controller/Makefile.am:
4027         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4028         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4029         (gst_lfo_control_source_new),
4030         (gst_lfo_control_source_set_waveform),
4031         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4032         (gst_lfo_control_source_finalize),
4033         (gst_lfo_control_source_dispose),
4034         (gst_lfo_control_source_set_property),
4035         (gst_lfo_control_source_get_property),
4036         (gst_lfo_control_source_class_init):
4037         * libs/gst/controller/gstlfocontrolsource.h:
4038         * libs/gst/controller/gstlfocontrolsourceprivate.h:
4039         API: Add GstLFOControlSource, a control source that gives values
4040         for specific timestamps based on several periodic waveforms.
4041         Fixes #459717.
4042
4043         * tests/check/libs/controller.c: (GST_START_TEST),
4044         (gst_controller_suite):
4045         * docs/libs/gstreamer-libs-docs.sgml:
4046         * docs/libs/gstreamer-libs-sections.txt:
4047         * docs/libs/gstreamer-libs.types:
4048         Add documentation and unit tests for GstLFOControlSource.
4049
4050 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
4051
4052         * configure.ac:
4053         Back to CVS
4054
4055 === release 0.10.14 ===
4056
4057 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
4058
4059         * configure.ac:
4060           releasing 0.10.14, "Breathing Vacuum"
4061
4062 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
4063
4064         * gst/gstelement.c: (gst_element_class_set_details_simple):
4065         * gst/gstelement.h:
4066           Make strings passed to gst_element_class_set_details_simple()
4067           constant, as they should be (#462752).
4068
4069 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
4070
4071         * gst/gstbin.c: (gst_bin_change_state_func),
4072         (bin_handle_async_done), (gst_bin_handle_message_func):
4073         Don't forget about the fact that some element went ASYNC even after a
4074         resync. This makes us post the ASYNC_DONE message correctly.
4075         Fixes #462558.
4076
4077 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4078
4079         * gst/gstregistry.c: (gst_registry_add_feature):
4080         When replacing an existing feature in the registry, make sure to
4081         continue holding a reference until we've replaced the name string
4082         within our feature hash table. Make sure to use g_hash_table_replace
4083         instead of g_hash_table_insert to ensure the new name string is used
4084         as a key instead of the old one that we're about to free.
4085         Fixes: #462085
4086
4087 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4088
4089         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4090         (gst_plugin_feature_set_name):
4091         Revert patch from #459466 until after the release and we can work
4092         out exactly what the problem is (if any).
4093
4094 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4095
4096         * docs/gst/gstreamer-sections.txt:
4097         * gst/gsttaglist.c:
4098         * gst/gsttaglist.h:
4099           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
4100
4101 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4102
4103         * docs/libs/Makefile.am:
4104         Include our build-prefix libs and includes before the generic ones to
4105         avoid linking against the installed libs when we want the build-tree
4106         ones.
4107
4108 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4109
4110         Patch by: Steve Fink  <sphink gmail com>
4111
4112         * docs/pwg/building-testapp.xml:
4113           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
4114           if people try to build or install the example from the plugin
4115           template against a GStreamer from package using the configure
4116           defaults.
4117
4118 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         Patch by: Steve Fink  <sphink gmail com>
4121
4122         * tools/gst-inspect.1.in:
4123           Document --print-all and --print-plugin-auto-install-info command
4124           line options in man page.
4125
4126 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4127
4128         * docs/gst/gstreamer-sections.txt:
4129         Add docs for new api function.
4130
4131 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4132
4133         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
4134         * gst/gstelementfactory.h:
4135         API: gst_element_factory_has_interface()
4136         Added method to check if an element factory implements a named
4137         interface.
4138
4139 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * configure.ac:
4142         * docs/gst/gstreamer.types.in:
4143           Another conditional doc check.
4144
4145         * gst/gstmessage.c:
4146         * gst/gstparamspecs.h:
4147         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4148         * gst/gstvalue.c:
4149         * gst/gstxml.h:
4150           API-doc fixes.
4151
4152 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4153
4154         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
4155         (gst_registry_binary_load_feature),
4156         (gst_registry_binary_load_plugin),
4157         (gst_registry_binary_read_cache):
4158           Print error just once and with additional info.
4159
4160 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4161
4162         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4163         (helper_find_suggest), (helper_find_get_length),
4164         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
4165         (gst_type_find_helper_for_buffer):
4166           Cleanup the typefindhelper code and add private doc comments.
4167
4168 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
4169
4170         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4171         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
4172         Fix capsfilter for cases where the caps set on capsfilter will provide
4173         additional information.
4174         Fixes #449197
4175
4176 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4177
4178         * gst/gsttypefindfactory.c:
4179           Fix docs that recommened wrong function to use.
4180
4181 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4182
4183         * tools/gst-inspect.c: (print_plugin_features):
4184           Also give media-type for typefinders in element output.
4185
4186 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4187
4188         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
4189         (gst_registry_remove_features_for_plugin_unlocked),
4190         (gst_registry_add_feature), (gst_registry_remove_feature),
4191         (gst_registry_lookup_feature_locked):
4192         * gst/gstregistry.h:
4193           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
4194           Fixes #459501.
4195
4196 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4197
4198         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4199         (gst_plugin_feature_set_name):
4200           Avoid double memory usage for pluginfeature names. Fixes #459466.
4201
4202 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4203
4204         * gst/gstpad.h:
4205           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
4206           driving the pipeline may need to explicitly check for NOT_LINKED as
4207           well, since IS_FATAL doesn't cover that.
4208
4209 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         * docs/pwg/advanced-types.xml:
4212           Fix typo and duplicate entry in video formats list.
4213
4214 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
4215
4216         * libs/gst/controller/gstinterpolation.c:
4217         Also round to the nearest int when using cubic interpolation.
4218
4219 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
4220
4221         * libs/gst/controller/gstinterpolation.c:
4222         When linearly interpolating integer types, round to the nearest int
4223         by adding 0.5. Don't do it for float/double types.
4224         Fixes the failing controller test on my machine, which is somehow
4225         rounding differently than on the buildbots.
4226
4227 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * tools/gst-plot-timeline.py:
4230           Better log parsing (categories can have -). Adjust text vs. lines, so
4231           that they span the same y-range.        
4232
4233 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * docs/random/ensonic/audiobaseclasses.txt:
4236         * docs/random/ensonic/dynlink.txt:
4237         * docs/random/ensonic/profiling.txt:
4238           Save my thoughts.
4239
4240         * docs/random/moving-plugins:
4241           Add note to use g_assert type macros.
4242
4243 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4244
4245         * configure.ac:
4246         * libs/gst/check/Makefile.am:
4247           Add libm check as we use in for plugins.
4248
4249 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
4250
4251         * gst/gstbin.c: (gst_bin_continue_func):
4252         Check that the state_cookie hasn't changed since the continue_func
4253         was scheduled. Avoids problems where the state changes back to
4254         something it shouldn't be because it was changed in the meantime.
4255
4256 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
4257
4258         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
4259         (gst_registry_binary_save_string),
4260         (gst_registry_binary_save_pad_template),
4261         (gst_registry_binary_save_feature),
4262         (gst_registry_binary_save_plugin),
4263         (gst_registry_binary_load_feature),
4264         (gst_registry_binary_load_plugin),
4265         (gst_registry_binary_read_cache):
4266           Fix memory leak. Be less verbose in the log.
4267
4268 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4269
4270         * tests/check/elements/.cvsignore:
4271         Add file to cvsignore as commanded.
4272
4273 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4274
4275         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4276         (mq_dummypad_event), (run_output_order_test):
4277         Use a GStaticMutex to protect all cases where libcheck
4278         fail_if/fail_unless macros might be called from multiple threads
4279         simultaneously to avoid errors like:
4280           "check_pack.c:107: :-1081725400:Bad message type arg"
4281
4282 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4283
4284         * tests/check/pipelines/stress.c: (GST_START_TEST):
4285         Make sure we set the pipeline back to the NULL state before
4286         dropping our final reference.
4287
4288 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4289
4290         * tests/check/elements/tee.c: (GST_START_TEST):
4291         Make the tee stress-test a little less stressful so it doesn't just
4292         time out on slow-machines, and remove a small race when it's starting 
4293         up by adding a get_state() call.
4294
4295 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
4296
4297         * gst/gst.c:
4298           Avoid reading registry twice on startup. Fixes #457322.
4299
4300 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4301
4302         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4303         * pkgconfig/gstreamer-check.pc.in:
4304         Substitute the CFLAGS for libcheck into our .pc file too so that
4305         dependent modules will pick it up properly if libcheck is installed
4306         into some other prefix.
4307
4308 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4309
4310         * configure.ac:
4311         Revert the pkg-config check for libcheck, since it pulls in the
4312         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4313         a proper solution, either from the check project, or something else.
4314
4315 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
4316
4317         * configure.ac:
4318           Use pkg-config to locate check.
4319
4320 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
4321
4322         * gst/gsttaglist.c:
4323           Fix doc syntax.
4324
4325         * gst/gstutils.c:
4326         * gst/gstutils.h:
4327           Add deprecation guards.
4328
4329         * libs/gst/base/gstcollectpads.h:
4330           Don't document object (this is implicitly private).
4331
4332 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
4333
4334         * gst/gststructure.c: (gst_structure_parse_value):
4335           When deserialising foo=bar without a type cast, check if it's a
4336           boolean before falling back to a string type, otherwise things like
4337           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4338           because the filtercaps end up having a signed=(string)true field,
4339           which causes problems later when intersection caps.
4340
4341         * tests/check/gst/gststructure.c: (GST_START_TEST):
4342           Add a unit test for this.
4343
4344 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
4345
4346         Reviewed by: Stefan Kost <ensonic@users.sf.net>
4347
4348         * libs/gst/controller/Makefile.am:
4349         * libs/gst/controller/gstcontroller.c:
4350         (gst_controlled_property_add_interpolation_control_source),
4351         (gst_controlled_property_new), (gst_controlled_property_free),
4352         (gst_controller_find_controlled_property),
4353         (gst_controller_new_valist), (gst_controller_new_list),
4354         (gst_controller_new), (gst_controller_remove_properties_valist),
4355         (gst_controller_remove_properties_list),
4356         (gst_controller_remove_properties),
4357         (gst_controller_set_property_disabled),
4358         (gst_controller_set_disabled), (gst_controller_set_control_source),
4359         (gst_controller_get_control_source), (gst_controller_get),
4360         (gst_controller_sync_values), (gst_controller_get_value_array),
4361         (_gst_controller_dispose), (gst_controller_get_type),
4362         (gst_controlled_property_set_interpolation_mode),
4363         (gst_controller_set), (gst_controller_set_from_list),
4364         (gst_controller_unset), (gst_controller_unset_all),
4365         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4366         * libs/gst/controller/gstcontroller.h:
4367         * libs/gst/controller/gstcontrollerprivate.h:
4368         * libs/gst/controller/gstcontrolsource.c:
4369         (gst_control_source_class_init), (gst_control_source_init),
4370         (gst_control_source_get_value),
4371         (gst_control_source_get_value_array), (gst_control_source_bind):
4372         * libs/gst/controller/gstcontrolsource.h:
4373         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4374         (gst_object_get_control_source):
4375         * libs/gst/controller/gstinterpolation.c:
4376         (gst_interpolation_control_source_find_control_point_node),
4377         (gst_interpolation_control_source_get_first_value),
4378         (_interpolate_none_get), (interpolate_none_get),
4379         (interpolate_none_get_boolean_value_array),
4380         (interpolate_none_get_enum_value_array),
4381         (interpolate_none_get_string_value_array),
4382         (_interpolate_trigger_get), (interpolate_trigger_get),
4383         (interpolate_trigger_get_boolean_value_array),
4384         (interpolate_trigger_get_enum_value_array),
4385         (interpolate_trigger_get_string_value_array):
4386         * libs/gst/controller/gstinterpolationcontrolsource.c:
4387         (gst_control_point_free), (gst_interpolation_control_source_reset),
4388         (gst_interpolation_control_source_new),
4389         (gst_interpolation_control_source_set_interpolation_mode),
4390         (gst_interpolation_control_source_bind),
4391         (gst_control_point_compare), (gst_control_point_find),
4392         (gst_interpolation_control_source_set_internal),
4393         (gst_interpolation_control_source_set),
4394         (gst_interpolation_control_source_set_from_list),
4395         (gst_interpolation_control_source_unset),
4396         (gst_interpolation_control_source_unset_all),
4397         (gst_interpolation_control_source_get_all),
4398         (gst_interpolation_control_source_get_count),
4399         (gst_interpolation_control_source_init),
4400         (gst_interpolation_control_source_finalize),
4401         (gst_interpolation_control_source_dispose),
4402         (gst_interpolation_control_source_class_init):
4403         * libs/gst/controller/gstinterpolationcontrolsource.h:
4404         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4405         API: Refactor GstController into the core controller which can take
4406         a GstControlSource for providing actual values for timestamps.
4407         Implement a interpolation control source and use this for backward
4408         compatibility, deprecate a bunch of functions that are now handled
4409         by GstControlSource or GstInterpolationControlSource.
4410         Make it possible to disable the controller completely or only for
4411         specific properties. Fixes #450711.
4412         * docs/libs/gstreamer-libs-docs.sgml:
4413         * docs/libs/gstreamer-libs-sections.txt:
4414         * docs/libs/gstreamer-libs.types:
4415         Add new functions and classes to the docs.
4416         * tests/check/libs/controller.c: (GST_START_TEST),
4417         (gst_controller_suite):
4418         * tests/examples/controller/audio-example.c: (main):
4419         Port unit test and example to the new API and add some new
4420         unit tests.
4421
4422 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
4423
4424         Patch by: Mark Nauwelaerts <manauw at skynet be>
4425
4426         * plugins/elements/gstmultiqueue.c:
4427         (gst_multi_queue_get_internal_links), (apply_buffer),
4428         (single_queue_overrun_cb), (gst_single_queue_new):
4429         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4430         the pipeline layout can be tracked correctly. Fixes #453732.
4431
4432 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
4433
4434         * docs/gst/Makefile.am:
4435         * docs/libs/Makefile.am:
4436         * docs/plugins/Makefile.am:
4437           Simplify --extra-dir as gtkdoc scans recursively.
4438
4439 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4440
4441         * tools/gst-launch.c: (main):
4442         When we got an error, there is no point in waiting for preroll when
4443         shutting down.
4444
4445 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4446
4447         * plugins/elements/gsttee.c: (gst_tee_base_init),
4448         (gst_tee_request_new_pad), (gst_tee_release_pad),
4449         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4450         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4451         (gst_tee_chain):
4452         Be a lot smarter when deciding what srcpad to use for proxying
4453         the buffer_alloc. Also handle pad added/removed when doing so.
4454         Fixes #357959.
4455         Keep track of what pads we already pushed on in case we have pads
4456         added/removed while pushing. Fixes #374639 
4457
4458         * tests/check/Makefile.am:
4459         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4460         (tee_suite):
4461         Added unit test for pad resync.
4462
4463 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4464
4465         * po/nl.po:
4466         * po/sv.po:
4467           Updated translations.
4468
4469 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4470
4471         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4472
4473         * po/LINGUAS:
4474         * po/fi.po:
4475           Added new Finnish translation.
4476
4477 2007-06-28  Wim Taymans  <wim@fluendo.com>
4478
4479         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4480         (single_queue_overrun_cb):
4481         When figuring out when a queue is filled, use our internal time estimate
4482         based on segments, just like check_full does.
4483
4484 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4485
4486         * gst/gstminiobject.c: (gst_mini_object_get_type):
4487           Remove 3 do-nothing methods.
4488
4489 2007-06-27  Wim Taymans  <wim@fluendo.com>
4490
4491         Patch by: Tim Angus <tim at ngus dot net>
4492
4493         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4494         (gst_capsfilter_set_property):
4495         Take a reference instead of a copy when setting "caps".
4496         Fix documentation to clarify this behaviour. Fixes #449414.
4497
4498 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4499
4500         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4501         * gst/gstplugin.c: (gst_plugin_init):
4502         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4503         * gst/gstquery.c: (gst_query_get_type):
4504         * gst/gstregistry.c: (gst_registry_init):
4505         * gst/gsturi.c: (gst_uri_handler_base_init):
4506           Remove empty instance_init() functions to save relocs and lessen the
4507           noise. Remove some of the function prototypes that are doubled by
4508           G_DEFINE_TYPE.
4509           
4510 2007-06-27  Wim Taymans  <wim@fluendo.com>
4511
4512         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4513
4514         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4515         Add peer and direction in the XML serialisation of ghostpads.
4516         Fixes #449226.
4517
4518 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4519
4520         * configure.ac:
4521           Preserve useful information, thanks Tim.
4522
4523 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
4524
4525         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4526         (gst_single_queue_flush), (apply_segment), (apply_buffer),
4527         (gst_single_queue_push_one), (gst_multi_queue_loop),
4528         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4529         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4530         (compute_high_id), (gst_single_queue_new):
4531         * plugins/elements/gstmultiqueue.h:
4532         Take the multiqueue lock when updating the fill level so we don't get
4533         confused. 
4534
4535         After applying a buffer or event on the src pad segment, make sure to
4536         call gst_data_queue_limits_changed() to get the data queue to unblock
4537         and check the filled state again.
4538         
4539         Rework the not-linked pad handling so the logic is that not-linked 
4540         pads can push as fast as they like, but only so they never get 
4541         ahead of any linked pads.
4542
4543         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4544         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4545         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4546
4547         Add a test to check that not-linked pads always stay behind
4548         linked pads.
4549
4550         Fixes: #430682
4551
4552 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
4553
4554         * docs/random/release:
4555           Some updates to the release procedure.
4556
4557 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4558
4559         * gst/gstelementfactory.c: (__gst_element_details_clear):
4560           Microoptimization that saves stunning 80 bytes.
4561
4562 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
4563
4564         * docs/plugins/gstreamer-plugins.args:
4565         * docs/plugins/inspect/plugin-coreelements.xml:
4566         * docs/plugins/inspect/plugin-coreindexers.xml:
4567           Update docs with caps info.
4568
4569 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4570
4571         * po/it.po:
4572           Updated Italian translation.
4573
4574 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4575
4576         * ChangeLog:
4577         * po/vi.po:
4578           Update Vietnamese translations.
4579
4580 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4581
4582         * libs/gst/base/gstbasesink.c:
4583           Remove unused signal enum.
4584
4585 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4586
4587         * docs/gst/gstreamer-sections.txt:
4588         * gst/gstelement.c:
4589         * gst/gstutils.c: (gst_type_register_static_full):
4590         Beef up and include the docs for gst_type_register_static_full and
4591         gst_element_class_set_details_simple and add the API keyword
4592         in the ChangeLog.
4593
4594 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4595
4596         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4597         (update_time_level), (gst_single_queue_push_one),
4598         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4599         (single_queue_overrun_cb), (single_queue_underrun_cb),
4600         (single_queue_check_full):
4601         Fix setting max-* properties after adding queues.
4602         Use IS_FILLED for checking visible items.
4603         Signal overrun if multiple queues overrun.
4604         Add extra debug output.
4605         Patch by: Wim Taymans <wim@fluendo.com>
4606
4607 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
4608
4609         * gst/gstelement.c: (gst_element_class_set_details_simple):
4610         * gst/gstelement.h:
4611         * gst/gstutils.c: (gst_type_register_static_full):
4612         * gst/gstutils.h:
4613         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4614         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4615         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4616         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4617         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4618         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4619         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4620         * plugins/elements/gstidentity.c: (gst_identity_base_init):
4621         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4622         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4623         (apply_buffer), (gst_queue_chain):
4624         * plugins/elements/gsttee.c: (gst_tee_base_init):
4625         * plugins/elements/gsttypefindelement.c:
4626         (gst_type_find_element_base_init),
4627         (gst_type_find_element_class_init):
4628           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4629           API: add gst_type_register_static_full
4630           API: add gst_element_class_set_details_simple
4631
4632 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4633
4634         * docs/pwg/advanced-types.xml:
4635           Fix typo in iana.org URI.
4636
4637 2007-06-19  Andy Wingo  <wingo@pobox.com>
4638
4639         * tests/check/pipelines/simple-launch-lines.c
4640         (test_state_change_returns): Enable pull-mode tests now that
4641         basesink has been fixed.
4642
4643         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4644         Changed from gst_base_sink_is_prerolled, reversing the sense of
4645         the return value. Returns FALSE also if the sink is in pull mode,
4646         in which case it needs no preroll.
4647         (gst_base_sink_query, gst_base_sink_change_state): Update for
4648         needs_preroll change.
4649         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4650         chaining up, in which we return SUCCESS directly if we activated
4651         in pull mode instead of ASYNC. Involves countering an async_start
4652         message sent before chaining up; not sure if this is correct, in
4653         an ideal world we only send async-start when activating in push
4654         mode.
4655
4656         * tests/check/pipelines/simple-launch-lines.c
4657         (test_state_change_returns): New test, partially disabled until
4658         basesink is fixed.
4659
4660 2007-06-19  Wim Taymans  <wim@fluendo.com>
4661
4662         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4663         (gst_multi_queue_sink_event):
4664         Fix event leak.
4665
4666 2007-06-19  Wim Taymans  <wim@fluendo.com>
4667
4668         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4669         (gst_bin_change_state_func), (bin_push_state_continue),
4670         (bin_handle_async_start), (bin_handle_async_done),
4671         (gst_bin_handle_message_func):
4672         Move the common code for posting state-change messages into
4673         one function.
4674         Broadcast the state signal after we posted the messages.
4675         Mark the bin as busy when it's doing a state-change.
4676         Make sure async-start/done messages don't interfere with the bin's
4677         state when it's busy.
4678         After the state change, let the bin check which elements completed the
4679         state change while it was busy so that it can update its state.
4680
4681 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
4682
4683         * docs/random/release:
4684         Add a note about updating the doap file to the release checklist
4685
4686 2007-06-18  Wim Taymans  <wim@fluendo.com>
4687
4688         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4689         (gst_single_queue_push_one), (gst_multi_queue_chain),
4690         (gst_multi_queue_sink_event):
4691         Make sure we don't reference the buffer/event after we have given away
4692         ownership in the queue.
4693
4694 2007-06-18  Wim Taymans  <wim@fluendo.com>
4695
4696         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4697         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4698         Update queue state _after_ adding the item in the queue because else we
4699         could end up being full without the element added yet.
4700
4701 2007-06-18  Wim Taymans  <wim@fluendo.com>
4702
4703         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4704         (gst_bin_remove_func), (gst_bin_get_state_func),
4705         (gst_bin_element_set_state), (gst_bin_continue_func),
4706         (bin_push_state_continue), (bin_handle_async_start),
4707         (bin_handle_async_done), (gst_bin_handle_message_func):
4708         * gst/gstbin.h:
4709         Immediatly commit the toplevel bin state when receiving an async-done
4710         message. This enables us to avoid spawning a thread to commit the state
4711         in some common cases and it also avoids some races.
4712         Avoid spawning a state thread when adding/removing async elements to a
4713         toplevel bin. Instead we immediatly update the bin state.
4714         Get rid of iterating all the children when getting the state in the bin
4715         because it is now always up-to-date.
4716         Fix bug where locked elements would always return _SUCCESS even it they
4717         returned NO_PREROLL before being locked.
4718         Fix the order of the state_change, async-start/done messages that was
4719         sometimes incorrect.
4720         Mark the state_dirty field as deprecated, we don't need it anymore as we
4721         are always up-to-date.
4722
4723         * gst/gstelement.c: (gst_element_get_state_func),
4724         (gst_element_continue_state):
4725         Small debug inprovements.
4726         Return the previous element state return when nothing is pending instead
4727         of blindly returning SUCCESS.
4728
4729         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4730         (gst_sinks_suite):
4731         Add a whole bunch of new testcases.
4732
4733 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4734
4735         * po/uk.po:
4736         * po/vi.po:
4737           Update translations.
4738
4739 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
4740
4741         * gst/gstpad.c:
4742         Fix typo in the docs.
4743
4744 2007-06-15  Wim Taymans  <wim@fluendo.com>
4745
4746         * docs/libs/gstreamer-libs-sections.txt:
4747         Add docs for new methods.
4748
4749 2007-06-15  Wim Taymans  <wim@fluendo.com>
4750
4751         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4752         (gst_multi_queue_item_new):
4753         Don't use GSlice because we don't depend on >= 2.10 yet.
4754
4755 2007-06-15  Wim Taymans  <wim@fluendo.com>
4756
4757         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4758         (update_time_level), (apply_segment), (apply_buffer),
4759         (gst_single_queue_push_one), (gst_multi_queue_item_new),
4760         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4761         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4762         (single_queue_underrun_cb), (single_queue_check_full):
4763         Remove debug printf.
4764
4765 2007-06-15  Wim Taymans  <wim@fluendo.com>
4766
4767         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4768         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4769         (gst_data_queue_set_flushing), (gst_data_queue_push),
4770         (gst_data_queue_pop), (gst_data_queue_drop_head),
4771         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4772         * libs/gst/base/gstdataqueue.h:
4773         Various cleanups.
4774         Added methods to get the current levels and to inform the queue that the
4775         'full' limits changed.
4776
4777         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4778         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4779         (gst_single_queue_flush), (update_time_level), (apply_segment),
4780         (apply_buffer), (gst_single_queue_push_one),
4781         (gst_multi_queue_item_steal_object),
4782         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4783         (gst_multi_queue_loop), (gst_multi_queue_chain),
4784         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4785         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4786         (gst_multi_queue_src_query), (single_queue_overrun_cb),
4787         (single_queue_underrun_cb), (single_queue_check_full),
4788         (gst_single_queue_new):
4789         Keep track of time in the queue by measuring the difference between
4790         running_time on input and output. This gives more accurate results and
4791         can compensate for segments correctly.
4792         Make a queue by default only 5 buffers deep. We will now increase the
4793         buffer size depending on the filledness of the other queues.
4794         Factor out commong flush code.
4795         Make sure we don't add additional refcounts to buffers when we can avoid
4796         it.
4797         Propagate GstFlowReturn differently.
4798         Use GSlice for intermediate GstMultiQueueItems.
4799         Keep track of EOS.
4800         Resize queues on over and underruns based on filled level of other
4801         queues.
4802         When checking if the queue is filled, prefer to measure in time if we
4803         can and fall back to bytes when no time is known.
4804
4805         * plugins/elements/gstqueue.c:
4806         Fix return value.
4807
4808 2007-06-15  Wim Taymans  <wim@fluendo.com>
4809
4810         * libs/gst/base/gstbasetransform.c:
4811         (gst_base_transform_sink_event):
4812         Work around the brokenness of the event vmethod in basetransform. Prefer
4813         to return TRUE when the subclass returned FALSE (meaning don't forward
4814         the event). 
4815
4816         * libs/gst/base/gstbasetransform.h:
4817         Clarify the docs.
4818
4819 2007-06-15  Wim Taymans  <wim@fluendo.com>
4820
4821         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4822         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4823         (gst_base_src_default_query), (gst_base_src_get_range),
4824         (gst_base_src_start):
4825         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4826         Improve debugging.
4827
4828 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4829
4830         * docs/pwg/advanced-types.xml:
4831           Added more formats to caps table.
4832
4833 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4834
4835         * tools/gst-launch.c: (main):
4836           Remove crufy code. GOption does not need this workaround.
4837
4838 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4839
4840         * libs/gst/controller/gstcontroller.c:
4841         (gst_controlled_property_set_interpolation_mode):
4842           Fix wrong getter for enums in controller.
4843
4844 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4845
4846         * libs/gst/check/gstcheck.c: (gst_check_init):
4847           Intercept criticals and warnings in the Gst-Phonon log domain, so
4848           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4849           well.
4850         
4851 2007-06-14  Edward Hervey  <edward@fluendo.com>
4852
4853         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4854         Since this file doesn't include "gst.h" it will not go through the
4855         macros that disable GST_LOG if debugging was disabled.
4856
4857 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         * libs/gst/check/Makefile.am:
4860         * libs/gst/check/gstcheck.h:
4861         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4862         * pkgconfig/gstreamer-check.pc.in:
4863           Ugly 'fix' for the controller unit test on the p5 bot: in
4864           fail_unless_equals_float() check whether the values are 'almost
4865           equal' by allowing a small absolute error, which should be good
4866           enough for our use cases (normal numbers and values close to 0).
4867           Proper fixage left to floating point arithmetic aficionados.
4868
4869 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4872         (gst_base_sink_render_object), (gst_base_sink_get_position):
4873           Add two breaks thats where missing.
4874
4875 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4876
4877         * docs/libs/gstreamer-libs-sections.txt:
4878         * libs/gst/check/gstcheck.h:
4879           API: add fail_unless_equals_float() and assert_equals_float().
4880           Add documentation for some of the macros.
4881
4882         * tests/check/libs/controller.c: (GST_START_TEST):
4883           Use newly-added asserts.
4884
4885 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4888           Show the caps change in the log to help spotting the case of not
4889           exactly matching caps.
4890
4891 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * docs/pwg/building-boiler.xml:
4894           Fix typos, spotted by Thijs Vermeir (#447190).
4895
4896 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4897
4898         * docs/plugins/tmpl/.cvsignore:
4899         Ignore file to keep the buildbots happy
4900
4901 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4902
4903         * docs/plugins/Makefile.am:
4904         * docs/plugins/gstreamer-plugins-docs.sgml:
4905         * docs/plugins/gstreamer-plugins-sections.txt:
4906         Pull fdsink into the docs too.
4907
4908 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4909
4910         * libs/gst/controller/gstinterpolation.c:
4911         Actually use the new functions with min/max checks for the trigger and
4912         none interpolation modes for get() and get_value_array() instead of
4913         just the latter.
4914
4915 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4916
4917         * libs/gst/controller/gstcontroller.c:
4918         (gst_controlled_property_free):
4919         Unset the minimum and maximum GValues when freeing the corresponding
4920         GstControllerProperty struct.
4921
4922 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4923
4924         * libs/gst/controller/gstcontroller.c:
4925         (gst_controlled_property_new):
4926         * libs/gst/controller/gstcontrollerprivate.h:
4927         * libs/gst/controller/gstinterpolation.c:
4928         (gst_controlled_property_find_control_point_node),
4929         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4930         (interpolate_none_get_string_value_array),
4931         (interpolate_trigger_get),
4932         (interpolate_trigger_get_enum_value_array),
4933         (interpolate_trigger_get_string_value_array):
4934         Protect against values larger or smaller than the minimum or maximum
4935         allowed value for the property when using values that can be compared.
4936
4937         Optimize trigger interpolator a bit by taking the last requested value
4938         into account instead of always looping through the complete list.
4939
4940         Fix coding style a bit, everywhere else we use "return foo" instead
4941         of "return (foo)".
4942         
4943         * tests/check/libs/controller.c: (GST_START_TEST),
4944         (gst_controller_suite):
4945         Add unit test for the protection against too large or too small
4946         values.
4947
4948 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4949
4950         * docs/random/slomo/controller.txt:
4951         Add some thoughts about the future of the controller.
4952
4953 2007-06-08  Wim Taymans  <wim@fluendo.com>
4954
4955         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4956         Don't overflow in retimestamping code.
4957
4958 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4959
4960         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4961         Use gst_util_guint64_to_gdouble for conversions.
4962         * win32/common/libgstreamer.def:
4963         Add new exported functions.
4964
4965 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * gst/gstutils.c:
4968           Small docs addition.
4969
4970 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4971
4972         * README:
4973           Remove that test line again.
4974
4975 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4976
4977         * README:
4978           Test commit mail sending.
4979
4980 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4981
4982         * configure.ac:
4983           Fix typo and test commit mail sending.
4984
4985 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4986
4987         * tests/examples/controller/audio-example.c:
4988           Improve comment and test commit mail sending.
4989
4990 2007-06-07  Wim Taymans  <wim@fluendo.com>
4991
4992         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4993         (gst_bin_remove_func), (gst_bin_element_set_state),
4994         (bin_handle_async_start), (bin_handle_async_done),
4995         (gst_bin_handle_message_func):
4996         Add helper function to find messages.
4997         Generate the async-done messages together with the state change
4998         messages.
4999         Small cleanups in handling toplevel bins.
5000
5001 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5002
5003         * libs/gst/base/gstdataqueue.c:
5004         * libs/gst/base/gstdataqueue.h:
5005         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5006         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5007         (gst_multi_queue_sink_event):
5008         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5009           Fix multiqueue leaking buffers and events when downstream or the
5010           queue are flushing. Make refcounting assumptions explicit and
5011           document them (shouldn't break existing code that uses it other than
5012           maybe leak miniobjects, but that already happens anyway). Add unit
5013           test for the most common flushing case. Fixes #423700.
5014           
5015 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5016
5017         * libs/gst/controller/gstcontroller.c:
5018         Clarify docs: The get_all, get_value_array(s) functions
5019         don't modify the GObject properties.
5020
5021 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5022
5023         * libs/gst/controller/gstcontroller.c:
5024         (gst_controlled_property_set_interpolation_mode),
5025         (gst_controlled_property_prepend_default),
5026         (gst_controlled_property_new), (gst_controller_set_unlocked),
5027         (gst_controller_set), (gst_controller_set_from_list),
5028         (gst_controller_unset), (gst_controller_unset_all):
5029         * libs/gst/controller/gstcontrollerprivate.h:
5030         * libs/gst/controller/gstinterpolation.c:
5031         Factor out the 'set' logic into gst_controller_set_unlocked for the
5032         gst_controller_set and gst_controller_set_from_list functions.
5033
5034         To make life of the interpolators easier always add a control point
5035         at timestamp zero with the default value.
5036
5037         In the linear interpolator make things more obvious by better variable
5038         naming (slope).
5039
5040         Implement cubic interpolation mode (by using a natural cubic spline)
5041         and map the quadratic interpolation mode to this too (as quadratic
5042         doesn't make much sense, see discussion on the list).
5043
5044         * tests/check/libs/controller.c: (GST_START_TEST),
5045         (gst_controller_suite):
5046         Add unit test for the cubic interpolation mode and check everywhere
5047         if the interpolation mode could be set as expected.
5048
5049 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
5052           Don't use GLib-2.10 functions, we still depend on
5053           GLib-how-old-is-it-again-2.8.
5054
5055 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5056
5057         * docs/gst/gstreamer-sections.txt:
5058         * gst/Makefile.am:
5059         * gst/gst.c:
5060         * gst/gst.h:
5061         * gst/gstparamspecs.c: (_gst_param_fraction_init),
5062         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
5063         (_gst_param_fraction_values_cmp),
5064         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
5065         * gst/gstparamspecs.h:
5066         * gst/gstvalue.c:
5067         * tests/check/Makefile.am:
5068         * tests/check/gst/.cvsignore:
5069         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
5070         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
5071         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
5072         (GST_START_TEST), (gst_param_spec_suite):
5073           API: add GstParamSpecFraction, so elements can have fraction
5074           properties without lots of painful string parsing (#444648).
5075
5076 2007-06-05  Wim Taymans  <wim@fluendo.com>
5077
5078         * gst/gstobject.c: (gst_object_class_init):
5079         Fix signal signature.
5080
5081         * gst/gstsegment.c:
5082         Add small clarification in the api docs.
5083
5084         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
5085         States are protected with object lock.
5086
5087 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5088
5089         * AUTHORS:
5090         I should probably be listed as an author by now.
5091
5092         * docs/random/release:
5093         Update the release doc
5094
5095 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
5096
5097         * gst/gstvalue.c:
5098           Make docs for gst_value_compare() mention return enums that
5099           actually exist.
5100
5101 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5102
5103         * configure.ac:
5104           Back to CVS
5105
5106 === release 0.10.13 ===
5107
5108 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
5109
5110         * configure.ac:
5111           releasing 0.10.13, "With or without you"
5112
5113 2007-05-25  Wim Taymans  <wim@fluendo.com>
5114
5115         * gst/gstbin.c: (bin_handle_async_done):
5116         Make sure that the child bin stops after completing the async state
5117         change so that the parent can continue the state change to PLAYING.
5118         Fixes #441159.
5119
5120 2007-05-25  Wim Taymans  <wim@fluendo.com>
5121
5122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5123         (unref_data), (gst_collect_pads_remove_pad),
5124         (gst_collect_pads_check_pads):
5125         Use additional refcounting to avoid crashes when dynamically adding and
5126         removing pads. Fixes #420206.
5127
5128 2007-05-24  Wim Taymans  <wim@fluendo.com>
5129
5130         * tools/gst-launch.c: (event_loop):
5131         When buffering goes from a two digit to a single digit number, make sure
5132         to remove the old second digit by writing a blank over it.
5133
5134 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5135
5136         * libs/gst/base/gstdataqueue.c:
5137           Eliminate tabs and trailing comma in enum list; fix some typos.
5138
5139 2007-05-24  Wim Taymans  <wim@fluendo.com>
5140
5141         * tests/check/gst/gstbin.c: (GST_START_TEST):
5142         Allow refcount of 3 and 4 because some state thread might still be busy
5143         with it.
5144
5145 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         * plugins/elements/Makefile.am:
5148         * plugins/elements/gstmultiqueue.h:
5149         * plugins/elements/gstqueue.h:
5150           These are not installed headers, no need for padding.
5151
5152 2007-05-24  Wim Taymans  <wim@fluendo.com>
5153
5154         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5155         (gst_bin_continue_func):
5156         Enable latency for next release.
5157         Restore STATE_LOCK around recalc_state that was left out during the
5158         rewrite and could result in racy behaviour when _get_state and
5159         recalc_state are run concurrently. See #440463.
5160
5161 2007-05-23  Wim Taymans  <wim@fluendo.com>
5162
5163         * tests/check/gst/gstsystemclock.c: (store_callback),
5164         (GST_START_TEST):
5165         Improve test_async_order to also work when both timers are already
5166         expired when we get scheduled to check it.
5167
5168 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5169
5170         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
5171         (gst_bin_set_property), (gst_bin_get_property),
5172         (gst_bin_remove_func), (gst_bin_handle_message_func):
5173         * gst/gstbin.h:
5174           'private' is a c++ keyword, let's not use that in header files,
5175           otherwise c++ compilers will throw a tantrum.
5176
5177 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * plugins/elements/gstelements.c:
5180         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
5181         (gst_file_sink_get_current_offset):
5182         * plugins/indexers/gstindexers.c: (plugin_init):
5183           Use #ifdef for HAVE_XYZ for consistency.
5184
5185         * tests/check/Makefile.am:
5186         * tests/check/elements/.cvsignore:
5187         * tests/check/elements/filesink.c: (setup_filesink),
5188         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
5189           Add some unit tests for filesink.
5190
5191 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         Patch by: Mark Nauwelaerts <manauw at skynet be>
5194
5195         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5196         (gst_file_sink_query), (gst_file_sink_do_seek),
5197         (gst_file_sink_get_current_offset), (gst_file_sink_render):
5198         * plugins/elements/gstfilesink.h:
5199           Fix position reporting; rename data_written member to current_pos to
5200           reflect its real meaning (fixes #412648).
5201
5202 2007-05-22  Edward Hervey  <edward@fluendo.com>
5203
5204         * docs/gst/gstreamer-sections.txt:
5205         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5206         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
5207         (gst_bin_remove_func), (gst_bin_handle_message_func):
5208         * gst/gstbin.h:
5209         Add a property for bins that handle the state change of their childs.
5210         Fixes #435880
5211
5212 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
5213
5214         * libs/gst/controller/gstinterpolation.c:
5215         Use an array of the correct type when using _get_value_array with
5216         linear interpolation.
5217
5218 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
5219
5220         * gst/gstelement.c (gst_element_requires_clock,
5221           gst_element_provides_clock, gst_element_request_pad,
5222           gst_element_class_set_details, gst_element_class_set_details_simple,
5223           gst_element_default_send_event, gst_element_abort_state,
5224           gst_element_continue_state, gst_element_set_state,
5225           gst_element_set_state_func, iterator_activate_fold_with_resync):
5226         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
5227           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
5228           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
5229           gst_pad_get_range, gst_pad_pull_range):
5230         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
5231           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
5232           GstPadActivateModeFunction, GstPadChainFunction,
5233           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
5234           GstPadFixateCapsFunction, GstPadTemplate):
5235         * gst/gstpipeline.c (gst_pipeline_change_state,
5236           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
5237           gst_pipeline_set_clock, gst_pipeline_auto_clock,
5238           gst_pipeline_get_delay):
5239           Whitespace and docs fixes.
5240
5241 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5242
5243         * libs/gst/controller/gstinterpolation.c:
5244         (interpolate_trigger_get_enum_value_array),
5245         (interpolate_trigger_get_string_value_array):
5246         Add support for retrieving value arrays when using the trigger
5247         interpolation mode. 
5248
5249 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5250
5251         * libs/gst/controller/gstcontroller.c:
5252         (gst_controller_get_value_array):
5253         * libs/gst/controller/gstcontroller.h:
5254         Clarify the docs of gst_controller_get_value_array(): The array where
5255         the values should be written to must be allocated as there seems to be
5256         no way to get the size of a random GType. This doesn't change any
5257         behaviour. Also fix some typos all over the place and remove an unused,
5258         commented function that is not necessary as g_object_set() could be
5259         used instead.
5260         * tests/check/libs/controller.c: (GST_START_TEST),
5261         (gst_controller_suite):
5262         Add unit test for gst_controller_get_value_array().
5263
5264 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
5265
5266         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5267
5268         Disable part of the gst_buffer_try_new_and_alloc test, because
5269         it can happily succeed on 64-bit systems where there's more address
5270         space available.
5271
5272 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5273
5274         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5275         Add unit test for the improved caps checking from bug #421543.
5276
5277 2007-05-21  Wim Taymans  <wim@fluendo.com>
5278
5279         * docs/design/part-synchronisation.txt:
5280         Small addition.
5281
5282         * gst/gstbin.c: (gst_bin_query):
5283         * plugins/elements/gstqueue.c: (apply_segment):
5284         Improve debugging.
5285
5286         * gst/gstmessage.h:
5287         Improve docs.
5288
5289 2007-05-21  Wim Taymans  <wim@fluendo.com>
5290
5291         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5292         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
5293         (gst_pad_configure_src):
5294         Added simple version of improved caps checking. It was previously
5295         assumed that a setcaps function would check the validity of the caps but
5296         people prefer us to check caps against the template automatically. 
5297         Fixes #421543.
5298
5299 2007-05-21  Wim Taymans  <wim@fluendo.com>
5300
5301         * libs/gst/base/gstbasetransform.h:
5302         Fix macro for locking/unlocking the transform lock.
5303
5304 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5305
5306         * docs/plugins/tmpl/.cvsignore:
5307           Ignore more.
5308
5309 2007-05-18  Edward Hervey  <edward@fluendo.com>
5310
5311         * plugins/elements/gstqueue.c: (gst_queue_loop):
5312         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5313         for the subtle art of warning a potentially blocking thread that it
5314         should check the source pad return value, and relay the information
5315         upstream.
5316
5317 2007-05-18  Edward Hervey  <edward@fluendo.com>
5318
5319         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5320         Release the queue lock !
5321
5322 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5323
5324         * docs/libs/gstreamer-libs-sections.txt:
5325         Add the two new controller functions to the appropiate places.
5326
5327 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5328
5329         reviewed by: Stefan Kost <ensonic@users.sf.net>
5330
5331         * libs/gst/controller/gstcontroller.c:
5332         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5333         (_gst_controller_get_property), (_gst_controller_set_property),
5334         (_gst_controller_init), (_gst_controller_class_init):
5335         * libs/gst/controller/gstcontroller.h:
5336         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5337         (gst_object_get_control_rate), (gst_object_set_control_rate):
5338         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5339         Add API that provides sync suggestion timestamps for elements that
5340         call gst_object_sync_values() from which those elements can subdivide
5341         their processing loop to get the best results for the controlled
5342         properties. For now it just suggests last_sync + control_rate as
5343         new timestamp but this will be improved in the future.
5344
5345         While doing that change the control-rate property to a GstClockTime
5346         from guint and change it's meaning from samples to nanoseconds as
5347         the GstController doesn't know anything about sampling rate. Strictly
5348         speaking this breaks ABI but as the control-rate property didn't do
5349         anything in the past and as such couldn't be used this should be no
5350         problem.        
5351
5352 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5353
5354         reviewed by: Stefan Kost <ensonic@users.sf.net>
5355
5356         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5357         (gst_controller_unset_all):
5358         * libs/gst/controller/gstcontrollerprivate.h:
5359         * libs/gst/controller/gstinterpolation.c:
5360         (gst_controlled_property_find_control_point_node):
5361         Save last synced value from the list to continue searching from there
5362         in future syncs. This speeds everything up a bit.
5363         
5364 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5365
5366         reviewed by: Stefan Kost <ensonic@users.sf.net>
5367
5368         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5369         (gst_control_point_find), (gst_controlled_property_new),
5370         (gst_control_point_free), (gst_controlled_property_free),
5371         (gst_controller_set), (gst_controller_set_from_list),
5372         (gst_controller_unset), (gst_controller_unset_all),
5373         (gst_controller_sync_values):
5374         * libs/gst/controller/gstcontroller.h:
5375         * libs/gst/controller/gstcontrollerprivate.h:
5376         * libs/gst/controller/gstinterpolation.c:
5377         (gst_controlled_property_find_control_point_node),
5378         (interpolate_none_get), (interpolate_trigger_get):
5379         Add a new private GstControlPoint struct which "inherits" from
5380         GstTimedValue to allow different interpolators to store internal
5381         values next to each control point. From the outside everything is
5382         still a GstControlPoint so we don't loose binary compatibility.
5383         Also fixup all the GValue handling to not leak GValues or list nodes.
5384         * tests/check/libs/controller.c: (GST_START_TEST):
5385         Free the list nodes and GValues in the controller_misc test.
5386
5387 2007-05-17  Edward Hervey  <edward@fluendo.com>
5388
5389         * gst/gstsegment.c:
5390         Small doc fix.
5391
5392 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gstplugin.c: (gst_plugin_load_file):
5395           If we fail to load a plugin because of unresolved symbols or missing
5396           libraries and spew a warning to stderr, we may just as well mention
5397           which plugin it was that failed to load.
5398
5399 2007-05-13  David Schleef  <ds@schleef.org>
5400
5401         * docs/Makefile.am: the gtk-doc makefile snippet correctly
5402           handles the case when ENABLE_GTK_DOC is false, and installs
5403           the prebuilt documentation.  So gtk-doc subdirs are 
5404           unconditionally enabled.  Fixes: #349099.
5405
5406 2007-05-13  David Schleef  <ds@schleef.org>
5407
5408         * gst/gstutils.h: Reword some documentation.
5409
5410 2007-05-12  David Schleef  <ds@schleef.org>
5411
5412         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5413           do anything with the passed "module" parameter, so remove it.
5414           Allows removal of additional vestigal code.
5415
5416 2007-05-12  David Schleef  <ds@schleef.org>
5417
5418         * gst/gstplugin.c:
5419           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5420           Switch to using g_stat() because it's more portable.
5421
5422 2007-05-12  David Schleef  <ds@schleef.org>
5423
5424         * gst/gst.c:
5425           Add GST_DISABLE_OPTION_PARSING, in order to disable option
5426           parsing for embedded systems.
5427         * gst/gstelementfactory.c:
5428           Allow gst_element_register() to be called with plugin==NULL.
5429           Did nobody notice that static elements were broken?
5430
5431 2007-05-12  Wim Taymans  <wim@fluendo.com>
5432
5433         * tools/gst-launch.c: (event_loop):
5434         Give more interesting info when buffering starts and stops.
5435         Fix case where buffering starts but we fail to update the buffering flag
5436         because the target state is not PLAYING.
5437
5438 2007-05-12  Wim Taymans  <wim@fluendo.com>
5439
5440         * plugins/elements/gstqueue.c: (gst_queue_init),
5441         (gst_queue_finalize), (update_time_level), (apply_segment),
5442         (apply_buffer), (gst_queue_locked_flush),
5443         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5444         (gst_queue_handle_sink_event), (gst_queue_chain),
5445         (gst_queue_push_one), (gst_queue_loop):
5446         * plugins/elements/gstqueue.h:
5447         Refactor an cleanup queue a bit.
5448         Do better time level calculations that also work when the srcpad is not
5449         yet running.
5450         Remove some unneeded debug lines.
5451
5452         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5453         Added testcase for time level measurement.
5454         Try to make some stuff more racefree.
5455
5456 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5457
5458         * gst/gsturi.c: (gst_element_make_from_uri):
5459           Don't leak plugin feature.
5460
5461         * tests/check/Makefile.am:
5462         * tests/check/gst/.cvsignore:
5463         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5464           Add brain-dead unit test.
5465
5466 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5467
5468         Patch by: Jeroen Wouters <woutersj at gmail com>
5469
5470         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5471           Treat protocol strings in a case-insensitive way (#437563).
5472
5473 2007-05-11  Michael Smith <msmith@fluendo.com>
5474
5475         * gst/gstplugin.c: (gst_plugin_load_file):
5476         * gst/gstregistry.c: (gst_registry_scan_path_level):
5477           Don't print a g_warning for any failure to load a shared object.
5478           Instead, push this down into gstplugin.c, and warn _only_ if we
5479           failed to open the module (i.e. failure to link).
5480           Avoids warnings on normal, working, non-plugin .so files.
5481
5482 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
5483
5484         * gst/gstplugin.c (gst_plugin_load_file):
5485         * gst/gstregistry.c (GST_CAT_DEFAULT,
5486           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5487           Print a g_warning if there was an error when loading a plugins during
5488           registry scan. The shuld help beginners starting with gst-plugin
5489           template.
5490
5491 2007-05-10  Wim Taymans  <wim@fluendo.com>
5492
5493         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5494         (update_time_level), (gst_queue_locked_flush),
5495         (gst_queue_handle_sink_event), (gst_queue_chain),
5496         (gst_queue_push_one), (gst_queue_loop):
5497         * plugins/elements/gstqueue.h:
5498         Be smarter when calculating the current amount of data in the queue by
5499         measuring the difference between start and end timestamps (in running
5500         time) inside the queue. Fixes #432876.
5501         API: GstQueue::pushing to notify elements that we are pushing data again
5502         since the running signal is rather broken for this purpose.
5503
5504 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5507           gst_queue_base_init, gst_queue_init):
5508           use GST_BOILERPLATE
5509
5510 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
5511
5512         * win32/common/libgstreamer.def:
5513         Add new exported functions.
5514         * win32/vs6/grammar.dsp:
5515         Use grammar pre-generated files.
5516
5517 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
5520
5521         * gst/Makefile.am:
5522         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5523         * gst/gstparse.h:
5524         * gst/gstutils.c: (gst_parse_bin_from_description):
5525         * gst/gstutils.h:
5526           Maintain API and ABI when --disable-parse is used. Now that
5527           we have an appropriate error code, we can just return NULL and the
5528           appropriate error when gst_parse_launch() is used despite it having
5529           been disabled (#342564).
5530
5531         * tests/check/Makefile.am:
5532         * tests/check/pipelines/.cvsignore:
5533         * tests/check/pipelines/parse-disabled.c:
5534           Make sure these functions exist and return NULL plus a GError when
5535           --disable-parse is used.
5536
5537 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * tests/benchmarks/complexity.c: (main):
5540         * tests/benchmarks/mass-elements.c: (main):
5541           Set a good example and don't leak messages.
5542
5543 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
5544
5545         * docs/gst/Makefile.am:
5546         * docs/libs/Makefile.am:
5547           Correct fixxrefs options.
5548
5549         * docs/plugins/Makefile.am:
5550         * docs/plugins/gstreamer-plugins-docs.sgml:
5551         * docs/plugins/gstreamer-plugins-sections.txt:
5552         * plugins/elements/Makefile.am:
5553         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5554         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5555           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5556           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5557           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5558           _GstCapsFilterClass, trans_class):
5559         * plugins/elements/gstelements.c (name, rank, type, _elements):
5560         * plugins/elements/gstidentity.c
5561           (gst_identity_check_imperfect_timestamp,
5562           gst_identity_check_imperfect_offset):
5563           Document capsfilter and add doc-blurb to identity.
5564
5565 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * libs/gst/controller/gstcontroller.c:
5568         (gst_controlled_property_set_interpolation_mode):
5569         * libs/gst/controller/gstinterpolation.c:
5570           Don't crash if someone tries to set an interpolation mode that
5571           is invalid or that isn't supported yet. Fixes #422295.
5572
5573         * tests/check/libs/controller.c: (GST_START_TEST),
5574         (gst_controller_suite):
5575           Add a test case for the above.
5576
5577 2007-05-03  Edward Hervey  <edward@fluendo.com>
5578
5579         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5580         Properly set the last_stop position on GstSegment. This will only happen
5581         if there is a buffer to push out.
5582
5583 2007-05-03  Wim Taymans  <wim@fluendo.com>
5584
5585         * libs/gst/base/gstbasetransform.c:
5586         (gst_base_transform_buffer_alloc):
5587         always_in_place does not mean that the sink and source caps are the
5588         same! Make sure we don't blindly proxy the buffer_alloc in this case.
5589
5590 2007-05-03  Wim Taymans  <wim@fluendo.com>
5591
5592         * docs/libs/gstreamer-libs-sections.txt:
5593         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5594         (gst_base_src_default_query), (gst_base_src_get_range):
5595         * libs/gst/base/gstbasesrc.h:
5596         API: gst_base_src_query_latency(). Added method so that subclasses can
5597         easily get the latency values of the base source class.
5598
5599 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
5600
5601         * tools/gst-inspect.c (print_implementation_info):
5602         Remove 0.8 cruft.
5603
5604 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         * tools/Makefile.am:
5607         * tools/gst-launch.1.in:
5608           Don't create a customised man page based on the host architecture,
5609           describe the default registry path generically. That way the man
5610           page is the same for all architectures and packagers have one
5611           multilib issue less to deal with. Fixes #434926.
5612
5613 2007-05-02  Wim Taymans  <wim@fluendo.com>
5614
5615         * gst/gstpad.c:
5616         Fix documentation as spotted by rg on IRC. 
5617
5618 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
5619
5620         * gst/gstutils.c:
5621           Improve docs for gst_element_{link,unlink}.
5622
5623 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
5624
5625         * docs/design/part-events.txt:
5626         * docs/design/part-overview.txt:
5627         * gst/gstevent.c:
5628         * gst/gsturi.c:
5629         * gst/gsturi.h:
5630         * libs/gst/base/gstbasesink.c:
5631           Typo fixes; minor docs addition.
5632
5633 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5634
5635         * docs/gst/gstreamer-sections.txt:
5636         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5637         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5638         * gst/gsturi.h:
5639         API: Add gst_uri_protocol_is_supported(), which checks if a sink
5640         or src that supports a given URI protocol exists.
5641
5642 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5643
5644         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5645         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5646         Set the location to NULL if "file://" is set as URI. Otherwise
5647         some random previous URI would still be set if "file://" is
5648         set on an already used filesink/filesrc.
5649
5650 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5651
5652         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5653         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5654         Special case the "file://" URI as as this is used by some
5655         applications to test with gst_element_make_from_uri if there's
5656         an element that supports the URI protocol.
5657         Also move the g_path_is_absolute() check for the location part
5658         of the URI to also check this for "file://localhost/bla" URIs.
5659
5660 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
5661
5662         * docs/gst/gstreamer-sections.txt:
5663         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5664         * gst/gstbuffer.h:
5665         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5666         (gst_buffer_suite):
5667           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5668
5669 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
5670
5671         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5672         (gst_registry_binary_load_pad_template),
5673         (gst_registry_binary_load_plugin),
5674         (gst_registry_binary_read_cache):
5675         * gst/gstregistrybinary.h:
5676           Implement no-mmap alternative for registry reading. Do code cleanups.
5677           Add more comments about avoiding strdups for all text data. Comments
5678           welcome.
5679
5680 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5681
5682         * gst/gstregistrybinary.h (GstBinaryPluginElement,
5683           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5684           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5685           Comment structs and reformat to fix the build (that stuff should go
5686           into a priv. header).
5687
5688 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5689
5690         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5691         (gst_registry_binary_load_feature):
5692         * gst/gstregistrybinary.h:
5693           Refactor so that we can implement multiple features. Add support for
5694           TypeFindFactory features.
5695
5696 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
5697
5698         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5699
5700         * configure.ac:
5701           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5702
5703 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * gst/gstbin.c: (gst_bin_element_set_state),
5706         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5707         (bin_handle_async_done), (gst_bin_handle_message_func):
5708           Fix build with --gst-disable-gst-debug
5709
5710 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
5711
5712         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5713           Make sure streaming has finished before calling the ::stop() vfunc,
5714           since that vfunc might clear state which is being used in the
5715           streaming thread. This fixes a race that caused crashes in
5716           audioresample when shutting down a pipeline (#420106).
5717
5718 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * docs/gst/gstreamer-sections.txt:
5721           That was one byte missing.
5722
5723 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * configure.ac:
5726         * docs/gst/gstreamer-sections.txt:
5727         * gst/Makefile.am:
5728         * gst/gstconfig.h.in:
5729         * gst/gstobject.c: (gst_object_class_init),
5730         (gst_signal_object_class_init):
5731         * gst/gstobject.h:
5732           2nd attempt to have a xml-less build as a joined effort of #413123
5733           and #421480.
5734
5735 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5736
5737         * docs/design/draft-tagreading.txt:
5738           Added open issues/thoughts to draft.
5739
5740 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5741
5742         * gst/parse/grammar.tab.pre.c:
5743         * gst/parse/grammar.tab.pre.h:
5744         * gst/parse/lex._gst_parse_yy.pre.c:
5745         Update the prebuild parser sources.
5746
5747 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5748
5749         * gst/parse/Makefile.am:
5750         And now fix the building of the flex sources. Now everything should
5751         work as expected.
5752
5753 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5754
5755         * gst/parse/Makefile.am:
5756         Now hopefully fix the build failures by setting proper rule
5757         dependencies and moving instead of copying.
5758
5759 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * tests/benchmarks/complexity.gnuplot:
5762         * tests/benchmarks/complexity.scm:
5763         * tests/benchmarks/mass-elements.gnuplot:
5764         * tests/benchmarks/mass-elements.scm:
5765           Total licensification.
5766
5767 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * gst/parse/Makefile.am:
5770           Fix the build by correcting the rule that gave wrong files to flex.
5771
5772 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * tests/benchmarks/complexity.c:
5775         * tests/benchmarks/mass-elements.c:
5776           Change licence to LGPL as granted by Benjamin and Andy.
5777
5778 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5779
5780         * gst/parse/Makefile.am:
5781         Add correct grammar.tab.h dependency if compiling without new enough
5782         flex. Fixes #431150.
5783
5784 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5785
5786         * gst/parse/Makefile.am:
5787         Fix typo and use outdated sources if the flex/bison sources are newer
5788         than the pregenerated ones but flex is too old. Print a warning in
5789         that case. This should fix the build on the build bot.
5790
5791 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5792
5793         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5794         * gst/parse/Makefile.am:
5795         * gst/parse/grammar.y:
5796         * gst/parse/parse.l:
5797         Make the parser reentrant and recursively callable. This requires flex
5798         >= 2.5.31, for older versions pregenerated sources are used as we
5799         can't bump the build dependency. Finally fixes #349180.
5800
5801         * gst/gstparse.c: (gst_parse_launch):
5802         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5803         now anyway.
5804
5805         * docs/gst/Makefile.am:
5806         * docs/gst/Makefile.am:
5807         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5808         (__gst_parse_strfree), (__gst_parse_link_new),
5809         (__gst_parse_link_free), (__gst_parse_chain_new),
5810         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5811         (gst_parse_element_set), (gst_parse_free_link),
5812         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5813         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5814         (_gst_parse_launch):
5815         * gst/parse/grammar.tab.pre.h:
5816         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5817         (yy_get_previous_state), (yy_try_NUL_trans), (input),
5818         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5819         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5820         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5821         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5822         (_gst_parse_yypop_buffer_state),
5823         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5824         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5825         (yy_fatal_error), (_gst_parse_yyget_extra),
5826         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5827         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5828         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5829         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5830         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5831         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5832         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5833         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5834         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5835         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5836         (_gst_parse_yyfree):
5837         If the installed flex version is too old use pre-generated parser
5838         sources. These pre-generated parser sources are always updated when
5839         the actual flex/bison sources change but require everybody who wants
5840         to change something in the parser to have flex >= 2.5.31 installed.
5841
5842 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
5843
5844         * common/m4/gst-gettext.m4:
5845         * gst/gst-i18n-lib.h:
5846           Make --disable-nls to work
5847
5848 2007-04-17  Wim Taymans  <wim@fluendo.com>
5849
5850         * gst/gstconfig.h.in:
5851         Revert previous change that broke the build.
5852
5853 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * configure.ac:
5856         * gst/Makefile.am:
5857         * gst/gstconfig.h.in:
5858           Drop libxml2 dependency when building with 
5859           --enable-binary-registry --disable-loadsave
5860
5861 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
5862
5863         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5864         (gst_registry_binary_read_cache):
5865         * gst/gstregistrybinary.h:
5866           Remove unnecessary <sys/mman.h> include which broke the win32 build
5867           with MingW; move includes from header file to .c file, even if the
5868           header file isn't installed; use g_strerror() where UTF-8 strings
5869           are expected, such as in GST_DEBUG messages.
5870
5871 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5872
5873         * docs/libs/gstreamer-libs-sections.txt:
5874         Remove bogus addition for API I didn't end up keeping.
5875
5876         * libs/gst/base/gstbasesrc.h:
5877         Mention Since: 0.10.13 in the documentation.
5878
5879         Add the API keyword to the previous ChangeLog entry.
5880
5881 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5882
5883         * docs/libs/gstreamer-libs-sections.txt:
5884         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5885         (gst_base_src_default_prepare_seek_segment),
5886         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5887         * libs/gst/base/gstbasesrc.h:
5888         Allow basesrc derived classes to execute seeks in other formats
5889         by providing a prepare_seek_segment vmethod. Sub-classes can choose
5890         to prepare the GstSegment in any format that their perform_seek method
5891         will be able to understand. The default implementation provides the
5892         old behaviour of attempting to convert the seek offsets to the 
5893         configured native format.
5894
5895         API: basesrc::prepare_seek_segment vmethod.
5896
5897 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5898
5899         * gst/gstelement.c: (gst_element_get_state_func):
5900         Don't output the same debug statement twice.
5901
5902         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5903         (gst_adapter_peek), (gst_adapter_take_buffer):
5904         Optimise the case where we have buffers at the head of the queue that
5905         can be joined quickly (because they're contiguous sub-buffers) by
5906         merging them together rather than copying data out into new memory.
5907
5908         * gst/parse/grammar.y:
5909         * tests/check/pipelines/parse-launch.c:
5910         Fix a leak in an error path for parse_launch, and add a check 
5911         for it to the testsuite.
5912
5913 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5914
5915         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5916           Don't deadlock when releasing a pad - gst_pad_set_active may try
5917           and take the multiqueue lock too.
5918
5919 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5920
5921         * gst/gsterror.c: (_gst_core_errors_init):
5922         * gst/gsterror.h:
5923           API: add GST_CORE_ERROR_DISABLED (#392804).
5924
5925 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * docs/faq/gst-uninstalled:
5928           don't get empty paths on the PATH variables
5929         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5930           Don't format for the uncommon terminal width of 84 characters.
5931
5932 2007-04-06  Wim Taymans  <wim@fluendo.com>
5933
5934         * gst/gstpipeline.c: (reset_stream_time),
5935         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5936         Only try to select a different pipeline clock when we went back to
5937         PAUSED and not when we merely got flushed.
5938
5939 2007-04-05  Michael Smith  <msmith@fluendo.com>
5940
5941         * tools/gst-launch.1.in:
5942           fractions are better supported in gstreamer than ractions, so
5943           suggest using those.
5944
5945 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5946
5947         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5948
5949         * po/LINGUAS:
5950         * po/da.po:
5951           Added Danish translation.
5952
5953 2007-04-05  Wim Taymans  <wim@fluendo.com>
5954
5955         * libs/gst/base/gstbasesink.c:
5956         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5957         Fix leak caused when refusing newsegment after EOS.
5958
5959         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5960         (gst_fake_sink_init), (gst_fake_sink_set_property),
5961         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5962         (gst_fake_sink_render), (gst_fake_sink_change_state):
5963         * plugins/elements/gstfakesink.h:
5964         Add num-buffers property to make the element generate EOS after a
5965         configurable amount of buffers.
5966         API: fakesink::num-buffers property.
5967
5968         * tests/check/elements/fakesink.c: (GST_START_TEST),
5969         (fakesink_suite):
5970         Fix GstBus leak in test.
5971         Test for fakesink num-buffers.
5972
5973 2007-04-05  Wim Taymans  <wim@fluendo.com>
5974
5975         * libs/gst/base/gstbasesink.c:
5976         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5977         (gst_base_sink_change_state):
5978         Don't accept anything after an EOS, return UNEXPECTED instead.
5979
5980         * tests/check/elements/fakesink.c: (GST_START_TEST),
5981         (fakesink_suite):
5982         Unit test for new EOS behaviour.
5983
5984 2007-04-05  Wim Taymans  <wim@fluendo.com>
5985
5986         * gst/gstelement.c: (gst_element_get_request_pad):
5987         Make padtemplates also work when they don't contain %s or %d.
5988
5989 2007-04-05  Wim Taymans  <wim@fluendo.com>
5990
5991         * docs/gst/gstreamer-sections.txt:
5992         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5993         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5994         * gst/gstclock.h:
5995         Improve _adjust_unlocked() so that it overflows less.
5996         Add gst_clock_unadjust_unlocked to convert from external time to
5997         internal time based on calibration.
5998         Add some more debug.
5999         API: GstClock::gst_clock_unadjust_unlocked()
6000
6001 2007-04-03  Wim Taymans  <wim@fluendo.com>
6002
6003         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6004
6005         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6006         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6007         when releasing sink pad. Fixes #425400.
6008
6009 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6010
6011         * docs/random/ensonic/dynlink.txt:
6012           More work on proposal for new core api.
6013
6014         * docs/libs/gstreamer-libs-sections.txt:
6015         * libs/gst/base/gstbasetransform.h:
6016           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6017           
6018         * libs/gst/controller/gstcontroller.c:
6019         (on_object_controlled_property_changed),
6020         (gst_controller_sync_values),
6021         (gst_controller_set_interpolation_mode):
6022         * libs/gst/controller/gstcontroller.h:
6023           Less verbose logging add docs for unimplemented parts and correctly
6024           return when using unavailable parts.
6025
6026 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6027
6028         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6029         Move all the debug to the CLOCK category, and associate it with
6030         the clock object.
6031
6032 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6033
6034         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6035         Make take_buffer a bit quicker by removing redundant checks
6036         caused by calling gst_adapter_take.
6037
6038 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6041           Don't leak GCond.
6042
6043         * tests/check/Makefile.am:
6044         * tests/check/elements/.cvsignore:
6045         * tests/check/elements/multiqueue.c: (setup_multiqueue),
6046         (GST_START_TEST), (multiqueue_suite):
6047           Add some dead simple unit tests for the 'multiqueue' element
6048           (some bits don't work yet and are disabled for now).
6049
6050 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6051
6052         * gst/gstelement.c: (gst_element_get_request_pad),
6053         (gst_element_class_get_request_pad_template):
6054           Make gst_element_get_request_pad() create request pads only for
6055           request pad templates and not for, say, sometimes pad templates.
6056
6057 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
6058
6059         * docs/design/draft-klass.txt:
6060           Add example that needs more thinking.
6061         
6062         * docs/design/draft-missing-plugins.txt:
6063           More thoughts about wrapper plugins.
6064         
6065         * docs/random/ensonic/embedded.txt:
6066         * docs/random/ensonic/profiling.txt:
6067           More design work.
6068
6069 2007-03-25  Wim Taymans  <wim@fluendo.com>
6070
6071         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
6072         (gst_base_src_loop):
6073         Only push the segment events in the PLAYING state for live sources.
6074
6075 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
6076
6077         * gst/gstpipeline.c: (gst_pipeline_change_state):
6078         Modify the clock distribution path in PAUSED->PLAYING so that we 
6079         never attempt to choose a new clock unless we're actually leaving
6080         the PAUSED state for the first time. This prevents choosing a
6081         different clock when the state_change gets called for a 2nd time due
6082         to some element doing an async state change.
6083
6084 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6085
6086         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
6087         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
6088         (gst_pad_chain_unchecked), (gst_pad_push):
6089         Revert last commit. This needs some more thoughts.
6090
6091 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6092
6093         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
6094         (gst_pad_chain_unchecked), (gst_pad_push):
6095         Check in set_caps if the caps are compatible with the pad and remove
6096         two functions that are redundant now. Fixes #421543.
6097
6098 2007-03-22  Wim Taymans  <wim@fluendo.com>
6099
6100         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
6101         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
6102         Unref some more to make valgrind happy.
6103
6104 2007-03-22  Wim Taymans  <wim@fluendo.com>
6105
6106         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
6107         (gst_system_clock_id_wait_jitter),
6108         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6109         Fix anoying regression that survived a few releases. When adding an
6110         async entry while blocking on a sync entry, the sync entry will unblock
6111         but still be busy, so it should continue to wait instead of returning
6112         _BUSY to the app.
6113         Add some comments here and there.
6114
6115         * tests/check/gst/gstsystemclock.c: (mixed_thread),
6116         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
6117         Add testcase for this.
6118
6119 2007-03-22  Wim Taymans  <wim@fluendo.com>
6120
6121         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6122         Handle errors from the clock sync better, only UNSCHEDULED indicates a
6123         WRONG_STATE and can silently pause the task. All other cases should
6124         error out.
6125
6126 2007-03-22  Wim Taymans  <wim@fluendo.com>
6127
6128         Patch by: Ville Syrjala <syrjala at sci dot fi>
6129
6130         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
6131         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
6132         Improve debugging.
6133
6134 2007-03-21  Michael Smith  <msmith@fluendo.com>
6135
6136         * docs/pwg/advanced-types.xml:
6137           Fix some errors in the typefinding docs pointed out on irc.
6138
6139 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
6140
6141         * libs/gst/base/gstbasesrc.c:
6142         Clarify FIXME comment in the face of having added unlock_stop()
6143
6144 2007-03-21  Wim Taymans  <wim@fluendo.com>
6145
6146         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
6147         Prepare for release where we warn against possible app breakage in the
6148         case of live pipelines along with an env var to enable/disable live
6149         preroll mode (GST_COMPAT=[no-]live-preroll).
6150
6151 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6152
6153         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
6154         So we should use correct constants for checking for None offset.
6155
6156 2007-03-20  Wim Taymans  <wim@fluendo.com>
6157
6158         * docs/design/part-block.txt:
6159         Mention the fact that the newly switched element should be set to at
6160         least PAUSED.
6161
6162 2007-03-20  Wim Taymans  <wim@fluendo.com>
6163
6164         * gst/gst.c:
6165         Fix compilation with registry disabled as spotted by Saur.
6166
6167 2007-03-20  Wim Taymans  <wim@fluendo.com>
6168
6169         Patch by: Olivier Crete <tester at tester dot ca>
6170
6171         * gst/gstelement.c: (gst_element_sync_state_with_parent):
6172         Look at the pending state too when syncing the element state to the
6173         parent. Fixes #420133.
6174
6175 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
6176
6177         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6178         (gst_base_sink_change_state):
6179         * libs/gst/base/gstbasesink.h:
6180         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6181         (gst_base_src_default_event), (gst_base_src_unlock_stop),
6182         (gst_base_src_deactivate):
6183         * libs/gst/base/gstbasesrc.h:
6184         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
6185         for sub-classes to correctly clear any state they set trying to
6186         unlock, such as clearing out unlock commands from a command fd.
6187         API: basesrc::unlock_stop
6188         API: basesink::unlock_stop
6189
6190         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
6191         (gst_fd_sink_render), (gst_fd_sink_unlock),
6192         (gst_fd_sink_unlock_stop):
6193         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
6194         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
6195         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
6196
6197         Implement unlock_stop in fdsrc and fdsink.
6198         Implement seeking in fdsrc when a seekable fd is passed, as in
6199         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
6200
6201 2007-03-19  Wim Taymans  <wim@fluendo.com>
6202
6203         Patch by: Evan Nemerson <evan at coeus dash group dot com>
6204
6205         * gst/gstelement.c: (gst_element_class_init):
6206         Fix pad-added and pad-removed signal signatures so that the pad type is
6207         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
6208
6209 2007-03-19  Wim Taymans  <wim@fluendo.com>
6210
6211         * docs/gst/gstreamer-sections.txt:
6212         Add new element field and method.
6213
6214         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6215         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
6216         (gst_bin_recalc_state), (gst_bin_get_state_func),
6217         (gst_bin_element_set_state), (gst_bin_change_state_func),
6218         (gst_bin_continue_func), (bin_bus_handler),
6219         (bin_push_state_continue), (bin_handle_async_start),
6220         (bin_handle_async_done), (gst_bin_handle_message_func):
6221         Make async state changes a bit smarter by using new ASYNC_START and
6222         ASYNC_DONE messages. This reduces the number of times we run the state
6223         recalculation thread.
6224         Don't change state of element with a pending ASYNC_START message.
6225         Deprecate STATE_DIRTY messages.
6226         
6227         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
6228         (gst_element_get_state_func), (gst_element_continue_state),
6229         (gst_element_lost_state), (gst_element_set_state_func),
6230         (gst_element_change_state):
6231         * gst/gstelement.h:
6232         Keep the state that was last set by the app in a new element field.
6233         Don't allow state changes when handling an element event.
6234         Post ASYNC_START and ASYNC_DONE messages.
6235         Change lost_state so that we go to PAUSED and wait for the parent to set
6236         us to PLAYING again (so latency calculation can be performed)
6237         Export gst_element_change_state() method so that subclasses can use it.
6238         API: gst_element_change_state()
6239         API: GST_STATE_TARGET
6240
6241         * gst/gstpipeline.c: (gst_pipeline_class_init),
6242         (reset_stream_time), (gst_pipeline_change_state),
6243         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
6244         Using the new ASYNC_START message we can reset the base_time when
6245         needed. This can then be used to implement base_time redistribution in
6246         flushing seeks so that we can remove the explicit seek handling.
6247         Perform latency query and configuration when going to PLAYING.
6248
6249         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6250         (gst_base_sink_query), (gst_base_sink_change_state):
6251         Post new ASYNC_START/ASYNC_DONE messages.
6252
6253         * tests/check/generic/sinks.c: (GST_START_TEST):
6254         Fix test because the bin will not set the async element to PLAYING right
6255         away.
6256
6257         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
6258         Make the message check a little stronger.
6259         Handle ASYNC messages.
6260
6261         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
6262         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
6263         Expect ASYNC_DONE messages.
6264
6265 2007-03-19  Wim Taymans  <wim@fluendo.com>
6266
6267         * docs/gst/gstreamer-sections.txt:
6268         * gst/gstmessage.c: (gst_message_new_async_start),
6269         (gst_message_new_async_done), (gst_message_parse_info),
6270         (gst_message_parse_async_start):
6271         * gst/gstmessage.h:
6272         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
6273         support.
6274
6275 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
6276
6277         * tools/gst-inspect.c:
6278         (print_plugin_automatic_install_info_codecs):
6279           Now that we don't check for the 'Codec' keyword any longer in the
6280           klass, we shouldn't spew a warning if the klass isn't a decoder or
6281           encoder (since it might be a Source/Network, for example).
6282
6283 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * tools/gst-inspect.c:
6286         (print_plugin_automatic_install_info_codecs):
6287           Don't require decoder/demuxer/depayloader elements or
6288           encoder/muxer/paylader elements to have 'Codec' as part of their
6289           factory class string when introspecting a plugin's capabilities.
6290           draft-klass.txt mentions that it might be removed in future, and
6291           flump3dec doesn't have it as part of its class string, so chances
6292           are others might also not have it.
6293
6294 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6295
6296         * po/af.po:
6297         * po/az.po:
6298         * po/bg.po:
6299         * po/ca.po:
6300         * po/cs.po:
6301         * po/de.po:
6302         * po/en_GB.po:
6303         * po/fr.po:
6304         * po/it.po:
6305         * po/nb.po:
6306         * po/nl.po:
6307         * po/ru.po:
6308         * po/sq.po:
6309         * po/sr.po:
6310         * po/sv.po:
6311         * po/tr.po:
6312         * po/uk.po:
6313         * po/vi.po:
6314         * po/zh_CN.po:
6315         * po/zh_TW.po:
6316           Update translations from translation project
6317
6318 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
6319
6320         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6321         (gst_child_proxy_set_property):
6322           Invert precondition check to be alike the ones in the mimiced gobject
6323           api.
6324
6325 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
6326
6327         * docs/design/draft-tagreading.txt:
6328         * docs/random/ensonic/audiobaseclasses.txt:
6329           Do some Architect work.
6330
6331         * gst/gstobject.c: (gst_object_set_name):
6332           Add a WARNING.
6333
6334         * gst/gstpad.c:
6335           Add docs that point from gst_pad_get_range to gst_pad_pull_range
6336
6337 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
6338
6339         * gst/gstsystemclock.c: (gst_system_clock_init),
6340         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6341         Defer starting the async system clock thread until the first async
6342         wait is scheduled. Fixes #414986.
6343
6344 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
6345
6346         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6347         (gst_single_queue_free):
6348           Fix small leak (free GstSingleQueue structure too, not only contents).
6349
6350 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
6351
6352         * gst/gstbin.c:(gst_bin_add):
6353         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6354         * win32/common/libgstbase.def:
6355         * win32/common/libgstreamer.def:
6356         Add new exported functions.
6357
6358 2007-03-09  Wim Taymans  <wim@fluendo.com>
6359
6360         * docs/plugins/gstreamer-plugins-sections.txt:
6361         Fix GstTee docs.
6362
6363 2007-03-09  Wim Taymans  <wim@fluendo.com>
6364
6365         * docs/gst/gstreamer-sections.txt:
6366         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6367         * gst/gstbuffer.h:
6368         Add metadata copy functions. Fixes #393099.
6369         API: gst_buffer_copy_metadata()
6370
6371         * gst/gstutils.c: (gst_buffer_stamp):
6372         * libs/gst/base/gstbasetransform.c:
6373         (gst_base_transform_prepare_output_buffer):
6374         Use new metadata copy functions.
6375
6376 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6377
6378         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6379         (gst_identity_init), (gst_identity_check_perfect),
6380         (gst_identity_check_imperfect_timestamp),
6381         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6382         (gst_identity_set_property), (gst_identity_get_property):
6383         * plugins/elements/gstidentity.h:
6384         Separate out check-imperfect-timestamp and check-imperfect-offset.
6385         Put back check-perfect as it was to keep compatibility.
6386
6387 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
6388
6389         * gst/gstelement.c: (gst_element_dispose):
6390         There's no need to warn if VOID_PENDING is not NONE here, as
6391         long as the state is NULL it's ok, and that's checked immediately
6392         above.
6393
6394 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6395
6396         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6397         Fix check for perfect stream to ignore buffers with -1 
6398         offsets/offset ends when checking data contiguity.
6399
6400 2007-03-08  Wim Taymans  <wim@fluendo.com>
6401
6402         * tools/gst-launch.c: (event_loop):
6403         Print INFO messages.
6404
6405 2007-03-08  Wim Taymans  <wim@fluendo.com>
6406
6407         * libs/gst/base/gstbasetransform.c:
6408         (gst_base_transform_sink_eventfunc),
6409         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6410         (gst_base_transform_activate):
6411         * libs/gst/base/gstbasetransform.h:
6412         Add support for dropping buffers with custom GstFlowReturn.
6413         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6414         buffers or dropped buffers.
6415
6416         * docs/libs/gstreamer-libs-sections.txt:
6417         docs for new custom return code.
6418
6419         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6420         Use drop support in base class to implement drop-probability.
6421
6422 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gst.c: (load_plugin_func):
6425         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6426         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6427         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6428           Remove newlines at end of debug log strings.
6429
6430 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6431
6432         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6433         Only post bus message at max, once per buffer received.
6434
6435 2007-03-07  Wim Taymans  <wim@fluendo.com>
6436
6437         * docs/design/Makefile.am:
6438         * docs/design/part-synchronisation.txt:
6439         Add doc about synchronisation
6440
6441         * docs/design/draft-latency.txt:
6442         * docs/design/part-TODO.txt:
6443         * docs/design/part-clocks.txt:
6444         * docs/design/part-events.txt:
6445         * docs/design/part-gstbus.txt:
6446         * docs/design/part-gstpipeline.txt:
6447         * docs/design/part-live-source.txt:
6448         * docs/design/part-messages.txt:
6449         * docs/design/part-overview.txt:
6450         * docs/design/part-streams.txt:
6451         * docs/design/part-trickmodes.txt:
6452         Documentation updates.
6453
6454 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6455
6456         * gstreamer.doap:
6457         Update the doap file.
6458
6459 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6460
6461         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6462         Rename non-perfect to imperfect for Mike and for the sanctity of the
6463         language.
6464         Also make sure bus message gets emitted for data-incontiguities.
6465
6466 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6467
6468         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6469         (gst_identity_start):
6470         * plugins/elements/gstidentity.h:
6471         Emit bus message if check-perfect is true and we encounter a
6472         non-perfect stream between 2 consecutive buffers.
6473         Fixes #415394.
6474
6475 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6476
6477         * configure.ac:
6478         Back to CVS
6479
6480 === release 0.10.12 ===
6481
6482 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
6483
6484         * configure.ac:
6485           releasing 0.10.12, "Inevitable Demise"
6486
6487 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
6488
6489         * configure.ac:
6490          Version 0.10.11.2 (0.10.12 pre-release)
6491          Bump libtool versioning.
6492
6493 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
6494
6495         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6496           Log flow-names and not numbers.
6497
6498 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6499
6500         * configure.ac:
6501           Convert to new AG_GST style.
6502
6503 2007-02-28  Wim Taymans  <wim@fluendo.com>
6504
6505         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6506         Don't unref query twice.
6507
6508 2007-02-28  Wim Taymans  <wim@fluendo.com>
6509
6510         * gst/gstvalue.c: (gst_value_transform_object_string),
6511         (_gst_value_initialize):
6512         Implement GstObject -> string transform so we print object names
6513         when serializing GValues containing GstObjects.
6514
6515 2007-02-28  Wim Taymans  <wim@fluendo.com>
6516
6517         * docs/gst/gstreamer-sections.txt:
6518         Add new stuff to docs.
6519
6520 2007-02-28  Wim Taymans  <wim@fluendo.com>
6521
6522         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6523         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6524         (gst_base_sink_change_state):
6525         Improve latency query code.
6526         Don't leak latency events.
6527
6528         * tests/check/gst/gstbin.c: (GST_START_TEST):
6529         Improve debugging.
6530
6531 2007-02-28  Wim Taymans  <wim@fluendo.com>
6532
6533         * gst/gstelement.c: (gst_element_message_full),
6534         (gst_element_get_state_func):
6535         * gst/gstelement.h:
6536         Improve docs a little. Added Since: for new macro.
6537
6538         * gst/gstobject.c: (gst_object_sink):
6539         * gst/gstpipeline.c: (gst_pipeline_change_state),
6540         (gst_pipeline_set_new_stream_time):
6541         * gst/gstpipeline.h:
6542         Improve debugging and docs.
6543
6544         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6545         Improve debugging.
6546
6547 2007-02-28  Wim Taymans  <wim@fluendo.com>
6548
6549         * gst/gstelement.c: (gst_element_message_full),
6550         (gst_element_set_locked_state), (gst_element_get_state_func),
6551         (gst_element_change_state):
6552         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6553         Documentation updates.
6554         Small code cleanups.
6555
6556         * gst/gstmessage.c: (gst_message_new_info),
6557         (gst_message_parse_info):
6558         * gst/gstmessage.h:
6559         API: gst_message_new_info()
6560         API: gst_message_parse_info()
6561         Add INFO message create and parse code.
6562
6563 2007-02-28  Wim Taymans  <wim@fluendo.com>
6564
6565         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6566         (bin_query_latency_done):
6567         Also report the live parameter of a latency query.
6568
6569 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6570
6571         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6572           Copy the current generic/states example from -base and adapt so
6573           we can use the exact same code everywhere.
6574           Check a STATES_IGNORE_ELEMENTS env var which can be used
6575           to ignore certain element factories for this test, which is
6576           what is being done in -base
6577         * tests/check/Makefile.am:
6578           Mention this environment variable.
6579
6580 2007-02-27  Wim Taymans  <wim@fluendo.com>
6581
6582         * docs/gst/gstreamer-sections.txt:
6583         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6584         (gst_bus_timed_pop), (gst_bus_pop):
6585         * gst/gstbus.h:
6586         API: gst_bus_timed_pop()
6587         Implement gst_bus_timed_pop() to do a blocking timed wait for a
6588         message to arrive on the bus.
6589
6590         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6591         (gst_bus_suite):
6592         Two unit tests for new _timed_pop() function.
6593
6594 2007-02-23  Wim Taymans  <wim@fluendo.com>
6595
6596         * gst/gstpipeline.c: (gst_pipeline_change_state),
6597         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6598         Don't ref a NULL clock in _provide_clock_func().
6599         Don't allow an INVALID delay.
6600         Don't try to calculate base_time with an invalid start_time.
6601         Also distribute and notify a NULL clock when it was selected.
6602
6603         * tools/gst-launch.c: (event_loop):
6604         Don't crash when a NULL clock was selected in the pipeline.
6605
6606 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * docs/design/Makefile.am:
6609         * docs/design/draft-missing-plugins.txt:
6610         * docs/random/draft-missing-plugins.txt:
6611           Some small updates: update plugin system identifier prefix
6612           ('gstreamer.net' to 'gstreamer'), mention our new install
6613           API in libgstbaseutils rather than libgimme-codec, add
6614           reference to the online docs.
6615
6616 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6617
6618         * win32/common/config.h:
6619           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
6620           use moap cl ci to only check in what is mentioned in the ChangeLog.
6621
6622 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6623
6624         * docs/gst/gstreamer-sections.txt:
6625         * gst/gstelement.h:
6626           Fix up documentation to link to the correct GstGError section.
6627           Add GST_ELEMENT_INFO macro since someone else added a Info message.
6628
6629 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * tools/gst-launch.c: (event_loop):
6632           Make sure that we actually show the important message part of a
6633           warning message.
6634           No need to check if the gerror is not NULL to free; first of all
6635           g_free accepts NULL; and second the default error handler would
6636           segfault if gerror was NULL.
6637
6638 2007-02-21  Wim Taymans  <wim@fluendo.com>
6639
6640         * docs/gst/gstreamer-sections.txt:
6641         Removed docs as well.
6642
6643 2007-02-21  Wim Taymans  <wim@fluendo.com>
6644
6645         * gst/gstmessage.c: (gst_message_parse_duration):
6646         * gst/gstmessage.h:
6647         Remove new messages for release.
6648
6649 2007-02-20  Wim Taymans  <wim@fluendo.com>
6650
6651         * docs/design/part-gstghostpad.txt:
6652         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6653         (gst_ghost_pad_new_full):
6654         Make the ghostpad a parent of the internal pad again for better backward
6655         compatibility. Don't write code that relies on this however.
6656
6657         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6658         (gst_pad_link_check_hierarchy):
6659         Require that parents should be GstElements in the hierarchy check.
6660
6661 2007-02-20  Wim Taymans  <wim@fluendo.com>
6662
6663         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6664         (gst_bin_change_state_func), (bin_query_min_max_init),
6665         (bin_query_latency_fold), (bin_query_latency_done),
6666         (gst_bin_query):
6667         Improve debug info.
6668         Implement latency query.
6669
6670 2007-02-20  Wim Taymans  <wim@fluendo.com>
6671
6672         * docs/design/part-gstghostpad.txt:
6673         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6674         (gst_ghost_pad_internal_do_activate_push),
6675         (gst_ghost_pad_internal_do_activate_pull),
6676         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6677         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6678         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6679         Do not set the internal pad as a parent anymore so we can avoid
6680         hierarchy linking errors when the ghostpad has no parent yet. This also
6681         fixes failed activation because of unlinked internal pads, which in
6682         turn fixes the impossible case where you have to activate a pad before
6683         you can add it to a running element.
6684         Also fix the docs.
6685
6686         * gst/gstpad.c: (pre_activate), (post_activate),
6687         (gst_pad_set_active), (gst_pad_activate_pull),
6688         (gst_pad_activate_push), (gst_pad_check_pull_range):
6689         Add some more debug info.
6690         Mark activation mode in pre_activate so that we don't try to activate in
6691         endless loops. Fixes #385084.
6692
6693 2007-02-19  Wim Taymans  <wim@fluendo.com>
6694
6695         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6696         (gst_base_transform_check_get_range):
6697         Implement a checkgetrange function instead of relying on the default
6698         core behaviour that assumes we can operate in pull mode if we have a
6699         getrange function. First step at fixing #385084.
6700
6701 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
6702
6703         * gst/gstchildproxy.h:
6704         * libs/gst/base/gstbasesink.h:
6705         * libs/gst/base/gstbasesrc.h:
6706         * libs/gst/base/gstbasetransform.h:
6707         More docs coverage and some ChangeLog surgery (add missing names)
6708
6709 2007-02-15  Wim Taymans  <wim@fluendo.com>
6710
6711         * docs/design/part-TODO.txt:
6712         * docs/design/part-activation.txt:
6713         * docs/design/part-block.txt:
6714         * docs/design/part-buffering.txt:
6715         * docs/design/part-clocks.txt:
6716         * docs/design/part-element-source.txt:
6717         * docs/design/part-events.txt:
6718         * docs/design/part-gstbin.txt:
6719         * docs/design/part-gstbus.txt:
6720         * docs/design/part-gstpipeline.txt:
6721         * docs/design/part-live-source.txt:
6722         * docs/design/part-messages.txt:
6723         * docs/design/part-overview.txt:
6724         * docs/design/part-qos.txt:
6725         * docs/design/part-query.txt:
6726         * docs/design/part-states.txt:
6727         * docs/design/part-trickmodes.txt:
6728         Some doc updates. Start renaming from stream_time to running_time where
6729         it was used wrongly.
6730
6731 2007-02-15  Wim Taymans  <wim@fluendo.com>
6732
6733         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6734         Answer LATENCY query.
6735
6736 2007-02-15  Wim Taymans  <wim@fluendo.com>
6737
6738         * tests/check/gst/gstevent.c: (event_probe), (test_event),
6739         (GST_START_TEST):
6740         Improve debugging.
6741
6742 2007-02-15  Wim Taymans  <wim@fluendo.com>
6743
6744         * gst/gstpad.c: (gst_pad_get_internal_links_default),
6745         (gst_pad_dispatcher):
6746         Improve debugging of default pad dispatcher and query functions.
6747
6748 2007-02-15  Wim Taymans  <wim@fluendo.com>
6749
6750         * docs/gst/gstreamer-sections.txt:
6751         Remove old unused method.
6752
6753 2007-02-13  Wim Taymans  <wim@fluendo.com>
6754
6755         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6756         Fix check
6757
6758 2007-02-13  Wim Taymans  <wim@fluendo.com>
6759
6760         * docs/design/part-seeking.txt:
6761         Some small update.
6762
6763         * gst/gstsegment.c: (gst_segment_set_seek):
6764         Revert old bogus change that should make seeking work again.
6765
6766 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6767
6768         * docs/random/ensonic/dynlink.txt:
6769         * docs/random/ensonic/interfaces.txt:
6770         * docs/random/ensonic/receipies.txt:
6771           Possible dynamic reconnection api, plus some type fixes the other two
6772           docs.
6773
6774 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
6775
6776         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6777         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6778         Also check for an absolute path following file:// in the filesrc
6779         element. Remove redundant check and call g_path_is_absolute() on the
6780         unescaped location.
6781
6782 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6783
6784         * docs/design/draft-klass.txt:
6785           Add existing category analysis.
6786           
6787         * gst/gstcaps.c:
6788           Fix doc example, framerate is a fraction.
6789
6790 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6791
6792         * configure.ac:
6793         * docs/gst/Makefile.am:
6794         * docs/gst/gstreamer-sections.txt:
6795         * docs/libs/Makefile.am:
6796           Erm, forgot a bunch of --extra-dir.
6797
6798 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6799
6800         * configure.ac:
6801         * docs/gst/Makefile.am:
6802         * docs/libs/Makefile.am:
6803         * docs/plugins/Makefile.am:
6804           Add crossreferences to glib/gobject docs.
6805
6806 2007-02-12  Wim Taymans  <wim@fluendo.com>
6807
6808         * docs/design/draft-latency.txt:
6809         Small update.
6810
6811         * docs/libs/gstreamer-libs-sections.txt:
6812         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6813         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6814         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6815         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6816         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6817         (gst_base_sink_get_position), (gst_base_sink_query),
6818         (gst_base_sink_change_state):
6819         * libs/gst/base/gstbasesink.h:
6820         API: gst_base_sink_query_latency() to let subclasses query the upstream
6821         latency.
6822         API: gst_base_sink_get_latency() to let subclasses query the configured
6823         latency in the sink.
6824         Implement query and set latency.
6825         Update some docs.
6826         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6827         don't continue preroll when we are flushing. Fixes #405284.
6828
6829         * tests/check/pipelines/stress.c: (change_state_timeout),
6830         (quit_timeout), (GST_START_TEST), (stress_suite):
6831         Test for #405284.
6832
6833 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6834
6835         Patch by: René Stadler <mail at renestadler de>
6836
6837         * docs/gst/gstreamer-sections.txt:
6838         * gst/gsttaglist.c: (_gst_tag_initialize):
6839         * gst/gsttaglist.h:
6840           API: add GST_TAG_REFERENCE_LEVEL (#403597).
6841
6842 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
6843
6844         * docs/libs/Makefile.am:
6845           Fix path to core docs.
6846
6847         * gst/gstbin.c: (gst_bin_get_by_interface),
6848         (gst_bin_iterate_all_by_interface):
6849           Refix docs by also renaming 'interface' to 'iface' in implementation.
6850
6851         * docs/gst/gstreamer-sections.txt:
6852         * gst/gstcaps.c:
6853         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6854         * gst/gstchildproxy.h:
6855         * gst/gstelementfactory.c:
6856         * gst/gstpadtemplate.h:
6857         * libs/gst/controller/gstcontroller.c:
6858         (gst_controlled_property_new):
6859           Document more.
6860
6861 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
6862
6863         * gst/gstbin.h:(gst_bin_get_by_interface),
6864         (gst_bin_iterate_all_by_interface):
6865         Replace interface parameter name by iface as interface is 
6866         a reserved keyword in Visual Studio for C++ projects so it removes
6867         a build error for application developpers using VS.
6868         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6869         Fix a bug on Windows in uri format check. Now the prefix checked
6870         is file:// and next we check if the path after file:// is absolute.
6871         * win32/common/libgstbase.def:
6872         * win32/common/libgstdataprotocol.def:
6873         * win32/common/libgstgstreamer.def:
6874         Add new exported functions.
6875
6876 2007-02-09  Andy Wingo  <wingo@pobox.com>
6877
6878         * tests/check/pipelines/simple-launch-lines.c
6879         (simple_launch_lines_suite, test_tee): Disable tee test until I
6880         have time to fix it :-(
6881
6882         * tests/check/Makefile.am (noinst_HEADERS): 
6883         * tests/check/libs/libsabi.c: 
6884         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6885         * tests/check/gst/gstabi.c: 
6886         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6887
6888         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6889         tests for push and pull tee behavior.
6890
6891         * plugins/elements/gsttee.h: 
6892         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6893         mark as deprecated as well as unimplemented. It was a crack idea.
6894         Add support for tee operating in pull mode, off by default.
6895
6896         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6897         normal-case logs down to LOG, raise errors to WARNING.
6898         (gst_registry_xml_read_cache): Don't log before calling a function
6899         that logs.
6900
6901         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6902         exit (registry finalize).
6903         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6904         DEBUG log when we emit signals that people don't even have the
6905         chance to connect to.
6906         (gst_registry_scan_path_level): Less logging in the normal case.
6907
6908 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6909
6910         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6911
6912         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6913         Correctly generate EOS for non-seekable files. We don't have a total
6914         length for them and would get an unexpected end of file if we only
6915         special-cased for regular files. (Fixes: #404569)
6916
6917 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6918
6919         * tests/check/elements/filesrc.c: (GST_START_TEST),
6920         (filesrc_suite):
6921         Add unit test for the GstURIHandler interface in filesrc. This also
6922         tests the newly added file://localhost/foo/bar support.
6923
6924 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6925
6926         * gst/gstelementfactory.h:
6927           The klass string is not a hierarchy. Add reference to the design doc
6928           for more information and common types.
6929
6930 2007-02-02  Wim Taymans  <wim@fluendo.com>
6931
6932         * gst/gstquery.c: (gst_query_new_latency):
6933         Remove old structure field.
6934
6935 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6936
6937         * tools/gst-launch.1.in:
6938           Give example for network streaming (#351998)
6939
6940 2007-02-02  Wim Taymans  <wim@fluendo.com>
6941
6942         * docs/gst/gstreamer-sections.txt:
6943         Add docs for new methods.
6944
6945         * gst/gstevent.c: (gst_event_new_latency),
6946         (gst_event_parse_latency):
6947         * gst/gstevent.h:
6948         Add new LATENCY event to configure latency in a pipeline.
6949         API: gst_event_new_latency
6950         API: gst_event_parse_latency
6951
6952         * gst/gstmessage.c: (gst_message_new_buffering),
6953         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6954         (gst_message_new_latency), (gst_message_parse_buffering),
6955         (gst_message_parse_lost_preroll):
6956         * gst/gstmessage.h:
6957         Added messages used in draft-latency.
6958         API: gst_message_new_lost_preroll
6959         API: gst_message_parse_lost_preroll
6960         API: gst_message_new_prerolled
6961         API: gst_message_new_latency
6962
6963         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6964         (gst_query_parse_latency):
6965         * gst/gstquery.h:
6966         Implemented new latency query as in design doc.
6967         API: gst_query_new_latency
6968         API: gst_query_set_latency
6969         API: gst_query_parse_latency
6970
6971 2007-02-02  Wim Taymans  <wim@fluendo.com>
6972
6973         * docs/design/draft-latency.txt:
6974         Slight redesign to allow for dynamic latency adjustments.
6975
6976         * docs/design/part-negotiation.txt:
6977         Fix some typos.
6978
6979 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6980
6981         reviewed by: Wim Taymans <wim@fluendo.com>
6982
6983         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6984         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6985         Allow file://localhost/foo/bar URLs and correctly fail for every other
6986         hostname that one sets. This was gnomevfssrc is linked for those if
6987         installed as it can handle it (#403172)
6988
6989 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6990
6991         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6992
6993         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6994         (unref_data), (gst_collect_pads_add_pad_full):
6995         * libs/gst/base/gstcollectpads.h:
6996         Don't put the previously added destroy notify in the GstCollectData
6997         struct as all it's padding is already used and we don't want to break
6998         ABI. Instead put in the pad's GObject data for now. This should be
6999         cleaned up for 0.11 (#402393).
7000
7001 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7002
7003         reviewed by: Wim Taymans <wim@fluendo.com>
7004
7005         * docs/libs/gstreamer-libs-sections.txt:
7006         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7007         (unref_data), (gst_collect_pads_add_pad),
7008         (gst_collect_pads_add_pad_full):
7009         * libs/gst/base/gstcollectpads.h:
7010         API: Add function to specify a destroy notification for custom
7011         GstCollectData when adding new pads in GstCollectPads (#402393).
7012
7013 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7014
7015         * po/sv.po:
7016           Update Swedish translation (#378255).
7017
7018 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7019
7020         * docs/design/draft-klass.txt:
7021           Fix the previous change, this is a list of categories and not a hierarchy.
7022
7023 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7024
7025         * docs/design/draft-klass.txt:
7026           Add info about how to get a list of used classes.
7027
7028 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
7029
7030         * plugins/elements/gsttypefindelement.c:
7031         (gst_type_find_element_chain_do_typefinding),
7032         (gst_type_find_element_change_state):
7033           Don't leak found caps in chain function (no idea why that never
7034           showed up as a leak anywhere).
7035
7036 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
7037
7038         * gst/gstplugin.h:
7039           Fix and expand GstPluginDesc API docs.
7040
7041 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7042
7043         * gst/gstcaps.c:
7044         * gst/gstelementfactory.c:
7045         * gst/gstpadtemplate.h:
7046           api doc fixes
7047
7048         * libs/gst/controller/gstcontroller.c:
7049         (gst_controlled_property_new):
7050         * tests/examples/controller/audio-example.c:
7051           comment fixes
7052
7053 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7054
7055         * configure.ac:
7056           comment about refining the xml deps
7057
7058         * docs/manuals.mak:
7059           comments about moving away from jade for docs
7060         
7061         * gst/gst.c:
7062           recommit the ifdefs to use the binary registry
7063         
7064         * gst/gstbin.c: (gst_bin_change_state_func):
7065           this break is obsolete
7066
7067         * gst/gstelementfactory.h:
7068           better GST_ELEMENT_DETAILS docs, add comment about translation
7069
7070         * gst/gstinfo.h:
7071           remove eol slash
7072
7073         * gst/gstobject.c: (gst_signal_object_get_type):
7074           add G_UNLIKELY as usual
7075
7076         * gst/gstpad.c: (gst_pad_event_default):
7077           add fall trhu comment
7078
7079         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7080         (gst_registry_binary_initialize_magic),
7081         (gst_registry_binary_save_string),
7082         (gst_registry_binary_save_pad_template),
7083         (gst_registry_binary_save_feature),
7084         (gst_registry_binary_save_plugin),
7085         (gst_registry_binary_write_cache),
7086         (gst_registry_binary_check_magic),
7087         (gst_registry_binary_load_pad_template),
7088         (gst_registry_binary_load_feature),
7089         (gst_registry_binary_load_plugin),
7090         (gst_registry_binary_read_cache):
7091           comment typo and formatting
7092
7093         * gst/gstutils.c: (gst_element_state_get_name),
7094         (gst_element_state_change_return_get_name):
7095           remove obsolete breaks
7096
7097         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7098           add FIXME 0.11 and remove cpp comment
7099
7100 2007-01-29  Edward Hervey  <edward@fluendo.com>
7101
7102         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7103         Fix print statement in an even more portable way.
7104
7105 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
7106
7107         * docs/gst/gstreamer-sections.txt:
7108         * gst/gstutils.h:
7109           API: add GST_ROUND_DOWN_* macros (#401781).
7110
7111 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
7112
7113         * docs/gst/gstreamer.types.in:
7114         * gst/gstregistry.c: (gst_registry_class_init):
7115           Document registry signals and make gtk-doc pick them up (#401381).
7116
7117 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7118
7119         * docs/pwg/building-testapp.xml:
7120           Add some audioconverts and audioresample to the pipeline, and some
7121           more comments and error handling.
7122
7123 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7124
7125         * docs/manual/manual.xml:
7126         * docs/pwg/pwg.xml:
7127           Fix typo (#400987).
7128
7129 2007-01-26  Wim Taymans  <wim@fluendo.com>
7130
7131         * gst/gstcaps.c: (gst_static_caps_get):
7132         Init caps flags too.
7133
7134 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
7135
7136         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
7137
7138         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7139         If not using mmap'ed files try to seek to the end instead of the
7140         start to determine whether we can seek at all. This fixes the case
7141         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
7142         seeks for everything afterwards fail. Fixes #400656
7143
7144 2007-01-25  Wim Taymans  <wim@fluendo.com>
7145
7146         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
7147         Add some refcount debugging.
7148         Make gst_static_caps_get threadsafe, which is needed when autoplugging
7149         in multiple streaming threads.
7150
7151 2007-01-25  Wim Taymans  <wim@fluendo.com>
7152
7153         Patch by: David Schleef <ds at schleef dot org>
7154
7155         * docs/libs/gstreamer-libs-sections.txt:
7156         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
7157         * libs/gst/base/gstadapter.h:
7158         API: gst_adapter_copy() that can reduce the amount of memcpy when
7159         getting data from the adapter. Fixes #388201.
7160
7161 2007-01-25  Edward Hervey  <edward@fluendo.com>
7162
7163         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7164         In print statements, "%x" is for guint. Fixes build on macosx.
7165
7166 2007-01-24  Edward Hervey  <edward@fluendo.com>
7167
7168         * plugins/elements/gstmultiqueue.c:
7169         (gst_multi_queue_loop):
7170         Small fix.
7171         (single_queue_overrun_cb), (single_queue_underrun_cb),
7172         (single_queue_check_full), (gst_single_queue_new):
7173         Implement single queue growth system.
7174         This uses the extra-size properties, and will grow single queues by
7175         that much if one goes full whereas there are others empty. This is
7176         called extra-mode in the code.
7177         When a single queue's levels go back below the initial max-size
7178         limits, it is no longer in extra-mode. This is to ensure we don't
7179         consume too much memory.
7180         Fixes #399875
7181
7182 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
7183
7184         * gst/gst.c: (gst_init_get_option_group):
7185           Make warning about late g_thread_init() calls a bit more explicit,
7186           so that it's more obvious to application developers what they need
7187           to do if a user files a bug against their application.
7188
7189 2007-01-22  Edward Hervey  <edward@fluendo.com>
7190
7191         * plugins/elements/gstmultiqueue.c:
7192         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
7193         Remove previous hack of unsetting the flushing flag for the source pad
7194         instead of activating it. Instead, fix the source pad activate function
7195         so that it no longer depends on having a parent set or not.
7196
7197 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
7198
7199         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
7200
7201         * docs/manual/basics-bus.xml:
7202           Fix example code, gst_element_unref() doesn't exist any longer.
7203
7204 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
7205
7206         Patch by: Mark Nauwelaerts <manauw at skynet be>
7207
7208         * gst/gstpad.c:
7209           Fix two docs typoes (#399094).
7210
7211 2007-01-19  Edward Hervey  <edward@fluendo.com>
7212
7213         * docs/faq/gst-uninstalled:
7214         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
7215         depending on libgstbaseutils can work in uninstalled environment.
7216
7217 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
7218
7219         * gst/gsttaglist.h:
7220         * gst/gsttagsetter.c:
7221         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
7222         statement for new tag.
7223
7224 2007-01-17  Edward Hervey  <edward@fluendo.com>
7225
7226         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
7227         When dynamically creating single queues, activate sinkpad before adding
7228         it.
7229         We should be doing the same thing for the source pad, but we can't
7230         since it would call a method which needs the parent to be set in order
7231         to work propertly. Instead of activating the source pad, we just unset
7232         the flushing flag, which is the minimal requirement for adding a pad
7233         to an element in a state greater than READY.
7234
7235 2007-01-17  Edward Hervey  <edward@fluendo.com>
7236
7237         * docs/faq/gst-uninstalled:
7238         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
7239         Mac OS X.
7240
7241 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
7242
7243         * tests/check/gst/gstabi.c:
7244         * tests/check/gst/struct_hppa.h:
7245         * tests/check/libs/libsabi.c:
7246         * tests/check/libs/struct_hppa.h:
7247           Add ABI structs for HPPA (see #393796).
7248
7249 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7252           Actually write ABI structs to the file specified in the GST_ABI
7253           environment variable, as the message we print claims we would.
7254
7255 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7256
7257         * tests/check/gst/gsttask.c:
7258           Fix header comment.
7259
7260 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7261
7262         * gst/gsttaglist.c: (_gst_tag_initialize):
7263           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
7264           previous two entries.
7265
7266 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7267
7268         * docs/gst/gstreamer-sections.txt:
7269         * gst/gsttaglist.c: (_gst_tag_initialize):
7270         * gst/gsttaglist.h:
7271           Add tag support for beat-per-minute.
7272
7273 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7274
7275         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7276         (gst_registry_binary_initialize_magic),
7277         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
7278         (gst_registry_binary_save_pad_template),
7279         (gst_registry_binary_save_feature),
7280         (gst_registry_binary_save_plugin),
7281         (gst_registry_binary_write_cache),
7282         (gst_registry_binary_check_magic),
7283         (gst_registry_binary_load_pad_template),
7284         (gst_registry_binary_load_feature),
7285         (gst_registry_binary_load_plugin),
7286         (gst_registry_binary_read_cache):
7287         * gst/gstregistrybinary.h:
7288           Use glib types, cleanup comments, impement interfaces and uri-types.
7289
7290 2007-01-13  Andy Wingo  <wingo@pobox.com>
7291
7292         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
7293         getrange() to return buffers with other caps, while we fix
7294         demuxers and typefind, or otherwise change part-negotiation.txt.
7295
7296 2007-01-12  Andy Wingo  <wingo@pobox.com>
7297
7298         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
7299         Factor start/stop into this private function instead of partially
7300         in activate functions and partially in the change_state function.
7301         Fixes setup before the element has changed from READY->PAUSED, as
7302         is the case in pull-mode pipelines.
7303         (gst_base_transform_sink_activate_push)
7304         (gst_base_transform_src_activate_pull): Refactor to use
7305         gst_base_transform_activate().
7306         (gst_base_transform_change_state): Removed, not needed any more.
7307
7308         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7309         Truncate before fixating.
7310         
7311         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7312         Don't set_caps() if the result of fixating is ANY, as it's not
7313         supported, and not necessary in the case of a link with no
7314         template caps on either side. Fixes tests/check/libs/basesrc in
7315         some pull-mode tests.
7316
7317         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7318         (gst_base_transform_init, gst_base_transform_sink_activate_push)
7319         (gst_base_transform_src_activate_pull): 
7320         Track the activation mode.
7321         (gst_base_transform_setcaps): In pull mode, when activating the
7322         src pad, after activating the sink pad, activate the sink pad's
7323         peer, as discussed in part-negotiation.txt.
7324
7325         * libs/gst/base/gstbasesrc.h: 
7326         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7327         vmethod, as in basesink.
7328
7329         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7330
7331         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7332         mode, first proxy the setcaps to the peer pad.
7333         (gst_base_sink_pad_fixate): Add a fixate function that calls the
7334         new fixate vmethod.
7335         (gst_base_sink_default_activate_pull): Rename from
7336         gst_base_sink_activate_pull.
7337         (gst_base_sink_negotiate_pull): New function, performs negotiation
7338         in pull mode before calling ::activate_pull().
7339         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7340         vmethod instead of the default implementation. I have no idea how
7341         this worked before. Negotiate before calling activate_pull.
7342
7343         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7344         sink pads in pull mode. In addition to being correct, fixes
7345         filesrc ! decodebin ! identity ! fakesink.
7346         (gst_pad_get_range, gst_pad_pull_range): Don't call
7347         gst_pad_set_caps() if the caps changes; instead error out with
7348         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7349
7350 2007-01-12  Andy Wingo  <wingo@pobox.com>
7351
7352         * docs/design/part-negotiation.txt: Update with more policy.
7353
7354 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7355
7356         * libs/gst/check/gstbufferstraw.h:
7357         * libs/gst/check/gstcheck.h:
7358           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7359           belongs.
7360
7361 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7362
7363         * tests/check/Makefile.am:
7364         * tests/check/gst/.cvsignore:
7365         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7366         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7367         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7368         (GST_START_TEST), (gst_tag_setter_suite):
7369           Add minimal unit test for beforementioned GstTagSetter bug.
7370
7371 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7372
7373         Patch by: René Stadler <mail at renestadler dot de>
7374
7375         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7376           gst_tag_list_merge() returns a new list, so it's not the best idea
7377           to ingore its return value. Effectively meant that tags could only
7378           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7379           Also add function guard to require a non-NULL taglist as input (has
7380           always been so due to gst_tag_list_copy(), just making it explicit).
7381
7382 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7383
7384         * docs/random/draft-missing-plugins.txt:
7385           Some additions: mention new API that is supposed to be used at the
7386           various stages; short blob about new gst-inspect introspection
7387           option; mention potential future problem with plugins that have
7388           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7389
7390 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7391
7392         * tools/gst-inspect.c:
7393         (print_plugin_automatic_install_info_codecs),
7394         (print_plugin_automatic_install_info_protocols),
7395         (print_plugin_automatic_install_info), (main):
7396         Add --print-plugin-auto-install-info option to gst-inspect, so we can
7397         introspect plugin files and get machine-parsable output that corresponds
7398         to the last bit of the missing-plugin installer string (small gotcha:
7399         doesn't take into account ranks).
7400
7401 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
7402
7403         * configure.ac:
7404         * docs/gst/gstreamer-sections.txt:
7405         * gst/Makefile.am:
7406         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7407         (gst_registry_lookup_locked):
7408         * gst/gstregistry.h:
7409         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7410         (gst_registry_binary_initialize_magic),
7411         (gst_registry_binary_save_string),
7412         (gst_registry_binary_save_pad_template),
7413         (gst_registry_binary_save_feature),
7414         (gst_registry_binary_save_plugin),
7415         (gst_registry_binary_write_cache),
7416         (gst_registry_binary_check_magic),
7417         (gst_registry_binary_load_pad_template),
7418         (gst_registry_binary_load_feature),
7419         (gst_registry_binary_load_plugin),
7420         (gst_registry_binary_read_cache):
7421         * gst/gstregistrybinary.h:
7422         * gst/gstregistryxml.c: (load_feature),
7423         (gst_registry_xml_read_cache):
7424           commit binary registry (disabled by default, see #359653)
7425
7426 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7427
7428         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7429           Fix 'make check' too.
7430
7431 2007-01-10  Andy Wingo  <wingo@pobox.com>
7432
7433         * docs/design/part-negotiation.txt: Fix a typo, add a couple
7434         notes.
7435         
7436         * docs/design/part-negotiation.txt: Update with, um, one way that
7437         pull-mode negotiation might work?
7438
7439         * gst/gstpad.h: 
7440         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7441         that the pad must be a src pad; makes sense to call it the other
7442         way in pull mode, and the logic is symmetric anyway.
7443
7444 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
7445
7446         * plugins/elements/gstfilesink.c:
7447           Include <stdio.h> for fseeko().
7448
7449 2007-01-10  Wim Taymans  <wim@fluendo.com>
7450
7451         * gst/gstevent.c:
7452         * gst/gstevent.h:
7453         Reserve LATENCY event.
7454
7455 2007-01-09  Wim Taymans  <wim@fluendo.com>
7456
7457         * docs/design/draft-latency.txt:
7458         Updates.
7459
7460 2007-01-09  Wim Taymans  <wim@fluendo.com>
7461
7462         * docs/design/draft-latency.txt:
7463         Updates.
7464
7465         * gst/gstelement.h:
7466         * gst/gststructure.c:
7467         * gst/gsttrace.c:
7468         Small typo fixes.
7469
7470 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
7471
7472         * tests/check/.cvsignore:
7473           Ignore test-registry.xml as well.
7474
7475 2007-01-09  Wim Taymans  <wim@fluendo.com>
7476
7477         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7478         unref data at the end when we are done with the pad.
7479
7480 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7481
7482         * docs/gst/gstreamer-sections.txt:
7483         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7484         (init_post), (gst_deinit), (gst_update_registry):
7485         * gst/gst.h:
7486           API: add gst_update_registry() (#391296).
7487
7488         * tests/check/Makefile.am:
7489         * tests/check/gst/gstregistry.c:
7490         * tests/check/gst/.cvsignore:
7491           Simple unit test for the above.
7492
7493 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7494
7495         * gst/gstregistry.c: (gst_registry_scan_path_level):
7496           Plugin extension on HP-UX is .sl, add that to the list of approved
7497           plugin extensions (see #393796).
7498
7499         * tests/check/gst/gstpad.c: (GST_START_TEST):
7500           ulong => gulong. Fixes compilation with HP-UX compiler.
7501
7502         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7503           Fix compilation if valgrind headers are not available.
7504
7505 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
7506
7507         * win32/common/libgstreamer.def: 
7508           Add new exported function.
7509         * win32/vs6/libgstbase.dsp: 
7510           Add gstdataqueue.c to the build.
7511         * win32/vs6/libgstcoreelements.dsp:
7512           Add gstmultiqueue.c to the build.
7513         
7514 2007-01-06  Andy Wingo  <wingo@pobox.com>
7515
7516         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7517         activate_pull(), providing for a way to specialize the process of
7518         spawning a thread to pull on the sink pad. There is a default
7519         implementation.
7520
7521         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7522         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7523         (gst_base_sink_init): Renamed pad activation functions (inserting
7524         "_pad" in their names). Refactor to use the new activate_pull
7525         vmethod, as appropriate.
7526         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7527         default activate_pull function to start a task pulling from the
7528         sink pad, as before.
7529
7530         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7531         on the pads if necessary, as in push()/chain(). Update docs.
7532         Shouldn't affect existing pull() usage as it is currently only
7533         being used on buffers without caps.
7534
7535 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7536
7537         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7538         (init_pre):
7539           Call g_thread_init() first thing in gst_init() / gst_check_init().
7540           When initialisation is done via gst_init_get_option_group() and
7541           GOption parsing, issue a warning if the GLib thread system has not
7542           been initialised yet by the time gst_init_get_option_group() is
7543           called, as it's quite likely other GLib functions such as
7544           g_option_context_new() have been called already then, and
7545           g_thread_init() must be called before any other GLib function. The
7546           application in question must be fixed in that case, since memory
7547           corruption might happen otherwise.
7548           We issue the warning because even if the GLib folks decide to work
7549           around the problem on their end in future, this is still an issue
7550           with all GLib versions >= 2.10.0, so we should warn until we depend
7551           on a GLib version we know to be safe.
7552           Update documentation as well.
7553           Closes bug #391278.
7554
7555 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * tools/gst-inspect.c: (main):
7558         * tools/gst-launch.c: (main):
7559         * tools/gst-typefind.c: (main):
7560         * tools/gst-xmlinspect.c: (main):
7561           Call g_thread_init() really really early, before any other GLib
7562           function (see #342564 and recent discussion on gtk-devel-list).
7563
7564 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7565
7566         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
7567
7568         * gst/gst_private.h:
7569         * gst/gstconfig.h.in:
7570         * gst/gstinfo.h:
7571           On win32, all the __declspec stuff for symbol exporting is
7572           apparently only needed with MSVC, but doesn't work with MingW.
7573           Fixes compilation with MingW and #391909.
7574
7575 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7576
7577         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7578           Change some GST_ERROR_OBJECT that aren't really errors to
7579           GST_WARNING_OBJECT in order to reduce terminal spam.
7580
7581 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7582
7583         * tests/check/Makefile.am:
7584           disable test again, as there seem to be still race problems
7585
7586 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7587
7588         * tests/check/Makefile.am:
7589         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7590         (GST_START_TEST), (queue_suite):
7591           enable queue test again, add tests for the leaky behaviour
7592
7593 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
7594
7595         * configure.ac:
7596         * tests/examples/Makefile.am:
7597           Compile adapter test/example only if the required headers are
7598           available (fixes #391915).
7599
7600 2007-01-01  David Schleef  <ds@schleef.org>
7601
7602         * gst/gstplugin.c:
7603           Restore the previous signal handler for SIGSEGV instead of
7604           setting to default, since we may have stolen it away from
7605           someone.  (i.e., Mono)
7606
7607 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7608
7609         * docs/random/draft-missing-plugins.txt:
7610           Some small additions and clarifications.
7611
7612 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7613
7614         * gst/gstregistryxml.c: (gst_registry_save_escaped):
7615           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7616           since that can lead to random memory corruptions and crashes
7617           (may or may not be related to #383244, #386711, and #386711).
7618
7619 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7620
7621         * tests/check/.cvsignore:
7622         * tests/check/Makefile.am:
7623           sync .cvsignome and CLEANFILES
7624
7625 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7626
7627         * tests/check/Makefile.am:
7628           fix distcheck
7629
7630 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7631
7632         * docs/design/part-states.txt:
7633           two tiny additional comments
7634         
7635         * gst/gststructure.c:
7636           doc fixing
7637
7638         * tests/check/Makefile.am:
7639         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7640         (GST_START_TEST):
7641           disable test for now, unless it gets fixed
7642
7643 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7644
7645         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7646         (GST_START_TEST):
7647           fix race in underrun test
7648
7649 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7650
7651         * tests/check/elements/.cvsignore:
7652           ignore more
7653
7654         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7655         (GST_START_TEST):
7656           try to narrow test failure
7657
7658 2006-12-21  David Schleef  <ds@schleef.org>
7659
7660         * plugins/elements/gstfakesrc.c:
7661           Use g_random_int_range(), since it produces better random
7662           numbers in a range than almost-correct floating point code.
7663
7664 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7665
7666         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7667         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7668         (gst_check_teardown_sink_pad):
7669           do not automatically (de)activate pads
7670
7671         * tests/check/Makefile.am:
7672         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7673         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7674           add new, yet simple tests for queue
7675
7676         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7677         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7678         * tests/check/elements/filesrc.c: (cleanup_filesrc),
7679         (GST_START_TEST):
7680         * tests/check/elements/identity.c: (cleanup_identity):
7681           consistent pad (de)activation
7682
7683 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
7684
7685         Patch by: Sebastian Dröge  <slomo ubuntu com>
7686
7687         * libs/gst/base/gstcollectpads.c:
7688           Fix two doc typos (#387866).
7689
7690 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7691
7692         * docs/manual/advanced-dparams.xml:
7693           Fix typo (g_object_control_properties() doesn't exist).
7694
7695 2006-12-19  Edward Hervey  <edward@fluendo.com>
7696
7697         * gst/gstsegment.c: (gst_segment_set_seek):
7698         Fine tune the cases where the segment start/stop values are really
7699         updated.
7700         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7701         Add tests for the return values of gst_segment_set_seek().
7702
7703 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7704
7705         * gst/gst.c:
7706           Docs typo fix.
7707
7708         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7709         (gst_queue_init):
7710           Fix incorrect documentation and flesh it out a bit more.
7711           Set default values for the max properties on the GParamSpec as well,
7712           so it shows up correctly in gst-inspect.
7713
7714 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
7715
7716         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7717           Correct docs of queue, add more detail and crosslink it more.
7718
7719 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7720
7721         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7722           Print additional debug info when the stream isn't perfectly
7723           timestamped; don't try to use invalid durations.
7724
7725 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7726
7727         * docs/design/Makefile.am:
7728           Dist new design docs.
7729
7730 2006-12-16  Wim Taymans  <wim@fluendo.com>
7731
7732         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7733
7734         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7735         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7736         (gst_collect_pads_stop), (gst_collect_pads_event),
7737         (gst_collect_pads_chain):
7738         * libs/gst/base/gstcollectpads.h:
7739         Add refcounting to the collectpads data so we can track when it's safe
7740         to free the data. Fixes #383382.
7741
7742 2006-12-15  Wim Taymans  <wim@fluendo.com>
7743
7744         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7745         (gst_collect_pads_remove_pad):
7746         Automatically activate/deactivate pads when they are added to a
7747         started/stoped collectpads.
7748
7749 2006-12-15  Wim Taymans  <wim@fluendo.com>
7750
7751         * gst/gstelement.c: (gst_element_add_pad):
7752         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7753         * gst/gstpad.c: (gst_pad_init):
7754         Set pads to FLUSHING when they are created. Check, warn and fix when a
7755         demuxer adds an inactive pad to itself when running. Fixes #339326.
7756
7757 2006-12-15  Wim Taymans  <wim@fluendo.com>
7758
7759         * gst/gstelement.c: (gst_element_class_init),
7760         (gst_element_default_send_event), (gst_element_send_event),
7761         (gst_element_default_query), (gst_element_query):
7762         Expose default element send_event and query handling as vmethods that
7763         subclasses can chain up to.
7764
7765 2006-12-15  Wim Taymans  <wim@fluendo.com>
7766
7767         * gst/gstelement.c: (gst_element_set_state_func):
7768         Small documentation fixes.
7769
7770 2006-12-15  Wim Taymans  <wim@fluendo.com>
7771
7772         * docs/design/draft-latency.txt:
7773         Checked in draft for handling latency in pipelines.
7774
7775 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7776
7777         * Makefile.am:
7778         * gstreamer.doap:
7779         * gstreamer.spec.in:
7780           adding .doap file
7781
7782 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
7783
7784         * gst/gst.c: (init_pre), (init_post):
7785           init_pre() and init_post() might be called via our GOptionGroup or
7786           from gst_init(), and we should skip both of them if we've already
7787           been initialised, otherwise we will init some things twice or add
7788           two default log functions.
7789
7790 2006-12-13  Edward Hervey  <edward@fluendo.com>
7791
7792         * docs/manual/basics-bus.xml:
7793         No, gst_main_loop does not exist. Its g_main_loop.
7794         Discovered by somebody who abused the copy-paste technique of coding :)
7795
7796 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
7797
7798         * gst/gstghostpad.c:
7799           Log ghostpad debug stuff to the GST_PADS category as well rather
7800           than just to the default category.
7801
7802 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7803
7804         * configure.ac:
7805         * gst/gst.c: (init_pre):
7806           Add some basic system details such as OS and architecture
7807           to the debug output if possible, courtesy of uname().
7808
7809 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7810
7811         * docs/gst/running.xml:
7812           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7813           environment variables.
7814
7815 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7816
7817         * tests/check/gst/gstbin.c: (GST_START_TEST):
7818         It is acceptable to have a refcount of 2 or 3 at this point in the
7819         test, because the pipeline might be just posting its state_change
7820         message. The next line then waits for that message to appear using
7821         bus_poll, so that should be fine too.
7822
7823 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7824
7825         * gst/gst.c: (ensure_current_registry_forking):
7826         Ignore EINTR when reading from the child registry pipe.
7827         Explicitly ignore the return value from close, since it makes no
7828         difference.
7829
7830         * gst/gstminiobject.c: (gst_mini_object_ref),
7831         (gst_mini_object_unref):
7832         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7833
7834         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7835         When removing cached plugins, remove their features too, so they're
7836         not visible after they've disappeared.
7837
7838         * gst/gstutils.c: (prepare_link_maybe_ghosting):
7839         In the unlikely case that we are linking pads with no parents, don't
7840         crash trying to get the non-existent parent bin.
7841
7842         * gst/parse/grammar.y:
7843         Output debug in the PIPELINE category
7844
7845 2005-03-08  Wim Taymans  <wim@fluendo.com>
7846
7847         Patch by: René Stadler <mail at renestadler dot de>
7848
7849         * gst/gstclock.c: (gst_clock_new_periodic_id):
7850         Reject invalid clock times for interval of periodic ids.
7851         Fixes ##383506.
7852
7853 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7854
7855         * gst/gstelementfactory.c: (gst_element_factory_create):
7856         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7857         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7858         * tools/gst-inspect.c: (print_element_info):
7859         Fix refcounting of gst_plugin_feature_load to match the docs. 
7860         Fixes: #380129
7861
7862 2006-12-07  Wim Taymans  <wim@fluendo.com>
7863
7864         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7865         (gst_base_sink_get_position):
7866         Improve debugging of events.
7867
7868 2006-12-07  Wim Taymans  <wim@fluendo.com>
7869
7870         Patch by: René Stadler <mail at renestadler dot de>
7871
7872         * gst/gstclock.c: (gst_clock_id_wait):
7873         Make period ids add the interval to the origial requested time instead
7874         of the possibly updated time which can be wrong when there are multiple
7875         waiters for the same id. Fixes #382592.
7876
7877         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7878         (gst_system_clock_id_wait_jitter_unlocked),
7879         (gst_system_clock_id_wait_jitter):
7880         Fix restart in the async notify thread when an async entry is added to
7881         the front of the list. Fixes #381492. 
7882
7883         * tests/check/gst/gstsystemclock.c: (store_callback),
7884         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7885         Added test for multiple async waits.
7886         Added test for async wait order.
7887
7888 2006-12-07  Wim Taymans  <wim@fluendo.com>
7889
7890         * gst/gstbin.c: (gst_bin_query):
7891         Add some more docs about the POSITION query.
7892
7893 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7894
7895         * configure.ac:
7896         Bump version nano - back to CVS.
7897
7898 === release 0.10.11 ===
7899
7900 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7901
7902         * configure.ac:
7903           releasing 0.10.11, "Love never runs on time"
7904
7905 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7906
7907         * win32/common/libgstbase.def:
7908         * win32/common/libgstreamer.def:
7909         * win32/vs8/libgstbase.vcproj:
7910         * win32/vs8/libgstcoreelements.vcproj:
7911         * win32/vs8/libgstreamer.vcproj:
7912         Fix compilation on win32 under VS8
7913         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7914         Partially fixes #381175
7915
7916 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7917
7918         * gst/gstvalue.c: (gst_value_compare_fraction):
7919         If someone is foolish enough to compare 2 fractions with denominator =
7920         0, return UNORDERED rather than aborting.
7921
7922 2006-11-28  Edward Hervey  <edward@fluendo.com>
7923
7924         * libs/gst/base/Makefile.am:
7925         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7926         (gst_data_queue_base_init), (gst_data_queue_class_init),
7927         (gst_data_queue_init), (gst_data_queue_new),
7928         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7929         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7930         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7931         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7932         (gst_data_queue_set_flushing), (gst_data_queue_push),
7933         (gst_data_queue_pop), (gst_data_queue_drop_head),
7934         (gst_data_queue_set_property), (gst_data_queue_get_property):
7935         * libs/gst/base/gstdataqueue.h:
7936         New GstDataQueue object for threadsafe queueing. Most useful for
7937         elements that need some queueing functionnality.
7938         * docs/libs/gstreamer-libs-docs.sgml:
7939         * docs/libs/gstreamer-libs-sections.txt:
7940         Insert documentation for GstDataQueue
7941         * plugins/elements/Makefile.am:
7942         * plugins/elements/gstelements.c:
7943         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7944         (gst_multi_queue_class_init), (gst_multi_queue_init),
7945         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7946         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7947         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7948         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7949         (gst_multi_queue_loop), (gst_multi_queue_chain),
7950         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7951         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7952         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7953         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7954         (wake_up_next_non_linked), (compute_next_non_linked),
7955         (single_queue_overrun_cb), (single_queue_underrun_cb),
7956         (single_queue_check_full), (gst_single_queue_new):
7957         * plugins/elements/gstmultiqueue.h:
7958         New multiqueue element, using GstDataQueue. Used for queuing multiple
7959         streams.
7960         Closes #344639 and #347785
7961
7962 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7963
7964         * docs/pwg/advanced-types.xml:
7965           add more missing type details
7966
7967         * tools/gst-run.c: (main):
7968           remove unused variable
7969
7970 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7971
7972         * docs/libs/Makefile.am:
7973         * docs/libs/gstreamer-libs.types:
7974           add types of base classes to enable gobject specific stuff in the docs
7975
7976         * docs/random/ensonic/embedded.txt:
7977           more ideas about isolating platform specific things
7978
7979 2006-11-20  Wim Taymans  <wim@fluendo.com>
7980
7981         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7982
7983         * libs/gst/check/gstcheck.h:
7984         Fix compilation and running against 0.9.4. Fixes #377332.
7985
7986 2006-11-20  Wim Taymans  <wim@fluendo.com>
7987
7988         * gst/gstsegment.c: (gst_segment_set_seek),
7989         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7990         (gst_segment_to_running_time):
7991         Fix boundary checking in to_running_time() and to_stream_time().
7992         Fixes #377183.
7993
7994         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7995         stream and running time can now be calculated for the complete
7996         clipped segment.
7997
7998 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7999
8000         * gst/gstpad.c: (gst_pad_push_event):
8001           Can't access event structure after giving away ownership of
8002           the event.
8003
8004 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8005
8006         * docs/random/ensonic/embedded.txt:
8007         * docs/random/ensonic/profiling.txt:
8008         * docs/random/ensonic/receipies.txt:
8009           more thinking
8010
8011 2006-11-13  Wim Taymans  <wim@fluendo.com>
8012
8013         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8014
8015         * gst/gstpad.c:
8016         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8017
8018 2006-11-13  Wim Taymans  <wim@fluendo.com>
8019
8020         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8021
8022         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8023         Store new length in segment duration so we don't keep on calling the
8024         potentially expensize get_size() call. Fixes #370865.
8025
8026 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
8029
8030         * win32/common/libgstreamer.def:
8031           Add two missing symbols (#366492).
8032
8033 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
8034
8035         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8036         (gst_adapter_take_buffer):
8037         Fix format string to use all its arguments.
8038         Remove useless >= check on a guint
8039
8040 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8041
8042         * tests/examples/adapter/.cvsignore:
8043         Ignore build file as commanded by the build-bot
8044
8045 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8046
8047         * tests/examples/adapter/Makefile.am:
8048         * tests/examples/adapter/adapter_test.c: (run_test_take),
8049         (run_test_take_buffer), (run_tests), (main):
8050
8051         Add new files from the previous commit
8052
8053 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8054
8055         * Makefile.am:
8056         * configure.ac:
8057         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
8058         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
8059         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
8060         * libs/gst/base/gstadapter.h:
8061         * tests/check/libs/adapter.c: (create_and_fill_adapter),
8062         (GST_START_TEST), (gst_adapter_suite):
8063         * tests/examples/Makefile.am:
8064         Do some optimisation work in GstAdapter to avoid copies in more cases.
8065         It could still do slightly better by merging buffers when
8066         gst_buffer_is_span_fast is true, but is already faster. 
8067
8068         Also, avoid traversing a single-linked list to append each incoming 
8069         buffer inside the adapter.
8070
8071         Add simple test app that times the adapter behaviour in different
8072         situations, and extend the unit test to check that bytes enter and
8073         exit the adapter in their original order.
8074
8075 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
8076
8077         * docs/random/draft-missing-plugins.txt:
8078           Update: use element message instead of adding a new message
8079           type to the core; don't provide GStreamer API to initiate the
8080           plugin download, just provide API to compose the strings needed
8081           and let an external libgimmestuff handle the rest.
8082
8083 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
8084
8085         * tools/gst-inspect.c: (print_element_properties_info):
8086         Print a string instead of 'unknown type' for GValueArray properties
8087
8088 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
8089
8090         * docs/random/draft-missing-plugins.txt:
8091         More small fixes.
8092
8093 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8094
8095         * tests/examples/typefind/typefind.c: (type_found), (main):
8096           Make typefind element example work again (#371894); add a
8097           license header.
8098
8099 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8100
8101         * docs/random/draft-missing-plugins.txt:
8102           Commit initial draft about how to deal with missing plugins,
8103           needs work (API too).
8104
8105 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
8106
8107         * docs/pwg/advanced-types.xml:
8108           documents the new caps elements (see #363118)
8109
8110 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8111
8112         * gst/gstplugin.c: (gst_plugin_load_file):
8113         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
8114         (gst_file_src_map_region), (gst_file_src_start):
8115         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
8116         (gst_file_index_commit):
8117           Use g_strerror() instead of strerror() - we want UTF-8.
8118
8119 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8120
8121         Patch by: Peter Kjellerstedt <pkj at axis com>
8122
8123         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8124           Another printf fix (#371493).
8125
8126 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8127
8128         * tests/check/gst/gsttag.c:
8129           relicence (okay with author=company)
8130
8131 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8132
8133         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8134         (gst_pad_push_event):
8135           Enhance debug and improve docs
8136         
8137         * gst/gsturi.c:
8138           Fix docs
8139
8140 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8141
8142         * docs/random/ensonic/distributed.txt:
8143         * docs/random/ensonic/profiling.txt:
8144           more ideas
8145
8146 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8147
8148         * docs/gst/gstreamer-sections.txt:
8149           add new API and fix the build
8150           
8151         * gst/gstbin.c: (gst_bin_recalc_state):
8152         * gst/gstelement.c: (gst_element_message_full),
8153         (gst_element_get_state_func), (gst_element_set_state_func):
8154           use new API and improve logging
8155         
8156         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8157         * gst/gstutils.h:
8158           API: add function to get StateChangereturn names to improve logs 
8159
8160 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
8161
8162         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8163           I'm considering shooting the next person to put strerror stuff
8164           in the translateable part of the message.
8165
8166 2006-11-03  Wim Taymans  <wim@fluendo.com>
8167
8168         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8169         Get the type and printf conversion specifiers right.
8170
8171 2006-11-03  Wim Taymans  <wim@fluendo.com>
8172
8173         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8174
8175         * gst/gstpad.c: (gst_pad_init), (pre_activate),
8176         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
8177         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
8178         Some small cleanups. Improve debugging.
8179         * gst/gstpad.h:
8180         Signal all waiting threads with a broadcast instead of just one.
8181         Fixes #369942.
8182
8183 2006-11-03  Wim Taymans  <wim@fluendo.com>
8184
8185         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
8186         (gst_fd_src_create):
8187         Add some debugging. 
8188         Only update fd when it's different from the old.
8189
8190 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8191
8192         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
8193           Printf fixes for PPC/OSX, take two (#369366).
8194
8195 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8196
8197         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
8198
8199         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8200         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8201         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
8202           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
8203           don't cast to long long for portability reasons, but use
8204           GLib's types instead.
8205
8206 2006-10-30  Michael Smith  <msmith@fluendo.com>
8207
8208         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8209           Get the arguments to lseek() the right way around.
8210           Fixes 367677.
8211
8212 2006-10-30  Wim Taymans  <wim@fluendo.com>
8213
8214         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
8215
8216         * gst/gstinfo.h:
8217         _declspec should be __declspec (two underscores, not one). Fixes 366572.
8218
8219 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8220
8221         Patch by: Kjartan Maraas  <kmaraas at gnome org>
8222
8223         * docs/design/part-MT-refcounting.txt:
8224         * docs/random/wtay/capsnego2-docs:
8225         * gst/gstclock.c:
8226         * gst/gstxml.c:
8227           Typo fixes (#366212).
8228
8229 2006-10-28  Wim Taymans  <wim@fluendo.com>
8230
8231         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8232
8233         * gst/gst.c:
8234         * win32/common/libgstbase.def:
8235         * win32/common/libgstreamer.def:
8236         * win32/vs8/libgstbase.vcproj:
8237         * win32/vs8/libgstcontroller.vcproj:
8238         Add needed entries in .def files.
8239         Use HAVE_UNISTD_H.
8240         Rearrange def files in vs8 solutions. Fixes #366286.
8241
8242 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8243
8244         * win32/common/gstconfig.h:
8245           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
8246           hand-made win32 gstconfig.h. Fixes #366321.
8247
8248 2006-10-27  Wim Taymans  <wim@fluendo.com>
8249
8250         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
8251         (gst_ghost_pad_new_full):
8252         Make acceptcaps return TRUE when we don't have a target, just like
8253         setcaps does.
8254
8255 2006-10-27  Wim Taymans  <wim@fluendo.com>
8256
8257         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8258         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
8259
8260 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
8261
8262         * gst/gststructure.c: (gst_structure_id_set_value):
8263           If someone tries to set a non-UTF8 string field on a structure,
8264           don't just print a warning, but also ignore the request and do
8265           not change/add that field to the structure.
8266
8267         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8268           Test for the above.
8269
8270 2006-10-25  David Schleef  <ds@schleef.org>
8271
8272         * gst/gstinfo.c:
8273           g_hash_table_insert() needs a cast to a non-const pointer duh.
8274
8275 2006-10-25  David Schleef  <ds@schleef.org>
8276
8277         * gst/gstinfo.c:
8278         * gst/gstinfo.h:
8279           Change name parameter of _gst_debug_register_funcptr to const
8280           to reflect the constness of its use in the function as well
8281           as to quiet a gcc warning.
8282
8283 2006-10-25  Edward Hervey  <edward@fluendo.com>
8284
8285         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8286         Don't push the buffer if it's empty.
8287         Closes #363095
8288
8289 2006-10-24  Wim Taymans  <wim@fluendo.com>
8290
8291         * gst/gstevent.h:
8292         Add small comment.
8293
8294         * libs/gst/base/gstbasetransform.c:
8295         (gst_base_transform_sink_eventfunc):
8296         Debug segment values *after* updating them as this is more
8297         interesting.
8298
8299 2006-10-23  Wim Taymans  <wim@fluendo.com>
8300
8301         * docs/design/part-events.txt:
8302         Update some docs.
8303
8304         * docs/design/part-block.txt:
8305         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8306         (gst_pad_push_event):
8307         Revert BLOCKING patch, it tries to be smart without really having a
8308         clear idea what or how. So, now we discard all FLUSHING events again on
8309         a blocking pad. Should fix gnonlin again.
8310
8311 2006-10-23  Wim Taymans  <wim@fluendo.com>
8312
8313         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8314
8315         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8316         (gst_base_src_start), (gst_base_src_activate_push):
8317         Make sure size is always initialized. Fixes #364388.
8318
8319 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
8320
8321         * docs/random/ensonic/distributed.txt:
8322           add some ideas about doing distributed processing
8323
8324         * docs/random/ensonic/profiling.txt:
8325           get_rusage look promising
8326
8327 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8328
8329         * docs/manual/basics-helloworld.xml:
8330           Add a cast in example to fix compile warning
8331
8332 2006-10-18  Wim Taymans  <wim@fluendo.com>
8333
8334         * gst/gstsegment.c: (gst_segment_set_last_stop),
8335         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8336         Relax arg checking again, -1 is allowed.
8337
8338 2006-10-18  Wim Taymans  <wim@fluendo.com>
8339
8340         * gst/gstsegment.c: (gst_segment_set_last_stop),
8341         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8342         _set_last_stop() must be with a value != -1
8343         A _TYPE_SET to -1 means seek to 0.
8344         Calc last_stop correctly for negative rates.
8345         Make sure we work with positive durations when updating a segment.
8346
8347 2006-10-18  Wim Taymans  <wim@fluendo.com>
8348
8349         * docs/design/part-live-source.txt:
8350         * gst/gstclock.h:
8351         Small docs fixes.
8352
8353 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
8354
8355         * gst/gstbuffer.h:
8356           Add an explicit cast to GstBuffer** to keep old code that added an
8357           explicit cast to GstMiniObject** for gst_mini_object_replace()
8358           compiling without warning.
8359
8360 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8361
8362         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8363           check for validity of dates
8364
8365 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8366
8367         * docs/gst/gstreamer-sections.txt:
8368           Forgot this one, makes gtk-doc shut up.
8369
8370 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8371
8372         Patch by: Peter Kjellerstedt <pkj at axis com>
8373
8374         * gst/gstobject.h:
8375           Don't define xmlNodePtr to gpointer if the core was built with
8376           --disable-loadsave and --disable-registry, this will break
8377           applications that want to use libxml2 but are buildling against a
8378           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8379           instead so we don't have to mess with the libxml2 namespace
8380           (#361675).
8381
8382 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8383
8384         * gst/gstbuffer.h:
8385           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8386           type-punned pointer warnings.
8387
8388 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
8389
8390         * gst/gstelement.h:
8391           Add casts to the correct return type to state <=> state transition
8392           macros.
8393
8394 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
8395
8396         * docs/design/part-live-source.txt:
8397           describe howto handle latency
8398         
8399         * docs/random/ensonic/profiling.txt:
8400           more ideas
8401
8402         * tools/gst-plot-timeline.py:
8403           fix log parsing for solaris, remove unused function
8404
8405 2006-10-16  Wim Taymans  <wim@fluendo.com>
8406
8407         * docs/design/part-trickmodes.txt:
8408         * gst/gstevent.c:
8409         Update some docs regarding reverse playback.
8410
8411 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8412
8413         Patch by: Marcus Granado  <mrc dot gran at gmail com>
8414
8415         * win32/vs8/grammar.vcproj:
8416           Error out with a warning if glib-genmarshal.exe is not in path,
8417           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8418
8419 2006-10-13  Wim Taymans  <wim@fluendo.com>
8420
8421         * gst/gstsegment.c: (gst_segment_set_seek):
8422         When seeking to stop -1, set last_stop (current position) to the
8423         duration of the segment.
8424
8425 2006-10-13  Wim Taymans  <wim@fluendo.com>
8426
8427         * gst/gstelement.h:
8428         Clarify _NO_PREROLL a bit more.
8429
8430         * gst/gstevent.c:
8431         Fix docs.
8432
8433         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8434         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8435         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8436         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8437         due to wrong locking order. Fixes #361769.
8438         Remove some redundant/misplaced checks in pad_block.
8439
8440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8441         For negative rates, count backwards from the duration.
8442
8443 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8444
8445         * gst/gsterror.c: (_gst_library_errors_init):
8446           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8447           up with something better).
8448
8449 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8450
8451         * win32/vs6/libgstreamer.dsp:
8452         * win32/vs7/libgstreamer.vcproj:
8453         * win32/vs8/libgstreamer.vcproj:
8454           Don't reference glib-compat.c which is currently not used and not
8455           disted; add gstquark.c which was recently added. Fixes #361730.
8456
8457 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8458
8459         * win32/common/libgstbase.def:
8460         * win32/common/libgstcontroller.def:
8461         * win32/common/libgstreamer.def:
8462           Add gst_caps_merge() and a bunch of other recently-added functions.
8463           Fixes #361732.
8464
8465 2006-10-11  Wim Taymans  <wim@fluendo.com>
8466
8467         * docs/plugins/gstreamer-plugins.args:
8468         * docs/plugins/inspect/plugin-coreelements.xml:
8469         * docs/plugins/inspect/plugin-coreindexers.xml:
8470         Update element args.
8471
8472         * gst/gstsystemclock.c:
8473         Small comment update.
8474
8475         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8476         (gst_tee_request_new_pad), (gst_tee_release_pad),
8477         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8478         (gst_tee_sink_activate_pull):
8479         * plugins/elements/gsttee.h:
8480         Some tee loving:
8481         Add default property defines.
8482         Implement release pad function.
8483         Give properties better blubs etc.
8484         Activate pads before adding them to a running tee.
8485         Do simple buffer_alloc on the first requested pad.
8486         Post error when activation fails.
8487
8488 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8489
8490         * gst/gst.c: (ensure_current_registry_forking):
8491           Check return value of write() to make compiler happy.
8492
8493 2006-10-11  Wim Taymans  <wim@fluendo.com>
8494
8495         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8496
8497         * plugins/elements/gstqueue.c: (gst_queue_chain):
8498         Recheck queue filledness after signalling the overrun when we're about
8499         to leak downstream because we released the lock when emitting the signal
8500         and the queue could be empty again. Fixes #352345.
8501
8502 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8503
8504         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8505           Fix refcounting here too, just like we did for _new_valist() a few
8506           days ago (#357180) (thanks to René Stadler). Also remove all those
8507           'Since: 0.9' from the gtk-doc blobs.
8508
8509         * tests/check/libs/controller.c: (controller_refcount_new_list),
8510         (gst_controller_suite):
8511           Unit test for the above.
8512
8513 2006-10-10  Wim Taymans  <wim@fluendo.com>
8514
8515         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8516
8517         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8518         (gst_pad_save_thyself):
8519         Update some docs.
8520         Write pad direction in XML output. Fixes #345496.
8521
8522 2006-10-10  Wim Taymans  <wim@fluendo.com>
8523
8524         Patch by: René Stadler <mail at renestadler dot de>
8525
8526         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8527         (gst_controller_new_list), (_gst_controller_dispose),
8528         (_gst_controller_finalize), (_gst_controller_class_init):
8529         Take ref to controlled object so that it cannot disappear. 
8530         Fixes #357432.
8531
8532 2006-10-10  Wim Taymans  <wim@fluendo.com>
8533
8534         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8535         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8536         (gst_check_teardown_sink_pad):
8537         Activate/deactivate pads in setup/teardown respectively.
8538
8539 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8540
8541         Patch by: Josep Torra Valles <josep@fluendo.com>
8542
8543         * gst/Makefile.am:
8544         Cast values when making gstenumtypes.h.  This pacifies Forte
8545         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8546         in the enumeration.
8547
8548 2006-10-09  Wim Taymans  <wim@fluendo.com>
8549
8550         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8551         Rename some more @cur to @start to fix docs. 
8552
8553         * gst/gstsegment.c: (gst_segment_set_seek):
8554         Fix typo.
8555         time and start must always stay in sync as defined in design doc.
8556
8557         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8558         Rename param to fix docs.
8559
8560         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8561         Check that start and time are in sync.
8562
8563         * tests/check/pipelines/parse-launch.c:
8564         (gst_parse_test_element_change_state):
8565         Activate pad before adding to the element.
8566
8567 2006-10-09  Wim Taymans  <wim@fluendo.com>
8568
8569         * docs/design/part-qos.txt:
8570         Fix typo.
8571
8572         * gst/gstevent.c:
8573         * gst/gstevent.h:
8574         Update seek event docs regarding negative rates.
8575         Rename @cur to @start. 
8576
8577         * gst/gstsegment.c: (gst_segment_set_seek):
8578         * gst/gstsegment.h:
8579         Update set_seek docs regarding negative rates.
8580         Correctly update last_stop to @stop when dealing with negative
8581         rates.
8582         Rename @cur to @start. 
8583
8584         * tests/check/gst/gstpad.c: (GST_START_TEST):
8585         Activate pads before trying to use them.
8586
8587         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8588         (gst_segment_suite):
8589         Add simple check for segments and negative rates.
8590
8591 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
8592
8593         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8594         * gst/gsttaglist.h:
8595         * docs/gst/gstreamer-sections.txt:
8596           API: add gst_tag_list_is_empty() (#360467).
8597
8598         * tests/check/gst/gsttag.c: (GST_START_TEST):
8599           And a test case.
8600
8601 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8602
8603         * gst/gstmessage.h:
8604         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8605         a value that doesn't fit on enumeration.
8606
8607 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8608
8609         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8610         Remove local debugging system and use Gstreamer's instead.
8611
8612 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8613
8614         Patch by: Josep Torra Valles <josep@fluendo.com>
8615
8616         * common/m4/gst-error.m4:
8617         Disable warning of statement not reached on Forte.
8618         * gst/gstmessage.h:
8619         Fix warning on Forte (value doesn't fit on enumeration).
8620         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8621         Fix warning on Forte (value doesn't fit on enumeration).
8622         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8623         DEBUG macro says it takes minimum of 2 args and so Forte
8624         complains about the use with just 1 arg.
8625         * plugins/elements/gstfdsink.c:
8626         * plugins/elements/gstfdsrc.c:
8627         * plugins/elements/gstfilesink.c:
8628         * plugins/elements/gstfilesrc.c:
8629         Use correct return type for the uri handler implementations.
8630
8631         All these fix warnings in Forte.  Fixes bug #360860.
8632
8633 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * gst/gstelement.h:
8636           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8637           format string, so don't use G_GNUC_PRINTF for those versions.
8638
8639 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8640
8641         * gst/gsttaglist.c: (gst_is_tag_list):
8642         * gst/gsttaglist.h:
8643           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8644
8645         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8646           Small test for the above.
8647
8648 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8649
8650         * gst/gsttaglist.h:
8651           Less tabs, more spaces.
8652
8653 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * gst/gstinfo.h:
8656           Those two function declarations do actually belong there, revert
8657           commit from yesterday that turned them intro macros.
8658
8659 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8660
8661         Patch by: Josep Torra Valles <josep@fluendo.com>
8662
8663         * gst/gst.c: (gst_init_get_option_group):
8664         Fix empty declaration and type mismatch.
8665         * gst/gstbin.c: (gst_bin_change_state_func):
8666         Fix type mismatch.
8667         * gst/gstelement.c: (gst_element_continue_state),
8668         (gst_element_set_state_func), (gst_element_change_state),
8669         (gst_element_change_state_func):
8670         Fix type mismatches.
8671         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8672         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8673         Cast as appropriate.
8674         * gst/gstobject.c: (gst_class_signal_connect):
8675         Cast as appropriate.  The function pointer parameter really
8676         has the wrong type but would break API if we change it.
8677         * gst/gstquery.c:
8678         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8679         order of including string.h.
8680         * gst/gstutils.c: (gst_element_state_get_name):
8681         Remove unreachable line.
8682         * gst/gstxml.c: (gst_xml_parse_doc):
8683         Fix type mismatch.
8684         All these caught by Forte.
8685
8686 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8687
8688         Patch by: Josep Torra Valles <josep@fluendo.com>
8689
8690         * common/m4/gst-error.m4:
8691         Fixed bug #360151.
8692         We need to disable warnings on Forte for empty declarations
8693         due to gst-indent adding ;s to lines that just use macros
8694         where the macro actually doesn't need a ; at end to end
8695         statement.
8696
8697 2006-10-06  Wim Taymans  <wim@fluendo.com>
8698
8699         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8700         (gst_file_sink_close_file), (gst_file_sink_event),
8701         (gst_file_sink_render):
8702         Add some FIXME for the NEWSEGMENT handling.
8703
8704 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8705
8706         * gst/parse/grammar.y:
8707         Remove static function gst_parse_element_lock as all it does
8708         is return.  Looks like cruft from 0.8.
8709
8710 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8711
8712         Patch by: Josep Torra Valles <josep@fluendo.com>
8713
8714         * common/m4/gst-error.m4:
8715         * configure.ac:
8716         * libs/gst/net/Makefile.am:
8717         Fix a compilation issue with Forte on Solaris.  inet_aton is in
8718         libresolv.
8719
8720 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8721
8722         * gst/gstpad.c: (pre_activate):
8723         * gst/gstregistry.c: (gst_registry_scan_path_level):
8724         * gst/gstregistryxml.c: (load_plugin):
8725         * libs/gst/controller/gstcontroller.c:
8726         (gst_controlled_property_set_interpolation_mode):
8727         * libs/gst/dataprotocol/dataprotocol.c:
8728         (gst_dp_packet_from_event_1_0):
8729         * libs/gst/net/gstnetclientclock.c:
8730         (gst_net_client_clock_observe_times):
8731         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8732           Printf fixes.
8733
8734 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8735
8736         * configure.ac:
8737         * docs/gst/gstreamer-sections.txt:
8738         * gst/gstconfig.h.in:
8739         * gst/gstelement.h:
8740         * gst/gstinfo.h:
8741           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8742           whether we can use G_GNUC_PRINTF in other header files and at
8743           least check the printf format/arguments of debug messages and
8744           GST_ELEMENT_ERROR messages when the printf extension is not
8745           being used.
8746           Replace more tabs with spaces in gstinfo.h and remove two spurious
8747           function declarations in GST_DISABLE_DEBUG part with macros.
8748
8749 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
8750
8751         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8752           More docs for the sync-message signal (mention that it is not
8753           emitted by default); log message structures of messages posted on
8754           the bus as well.
8755
8756 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
8757
8758         * gst/gst.c: (ensure_current_registry_forking):
8759         Use a pipe pair to receive status results from the forked child, and
8760         ignore the result from waitpid. Fixes #355499
8761
8762 2006-10-02  Wim Taymans  <wim@fluendo.com>
8763
8764         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8765         (gst_ghost_pad_suite):
8766         Fix leak in check.
8767
8768 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8769
8770         * gst/gstpad.c:
8771           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8772
8773 2006-10-02  Edward Hervey  <edward@fluendo.com>
8774
8775         * docs/design/part-block.txt:
8776         Further explain the use of flushing on blocked pads.
8777         * docs/gst/gstreamer-sections.txt:
8778         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8779         (gst_pad_push_event):
8780         * gst/gstpad.h:
8781         Added new GstPadFlag : GST_PAD_BLOCKING.
8782         Adds the notion of pads really blocking, which enables to properly
8783         handle FLUSH_START/FLUSH_STOP events on blocked pads.
8784         Fixes #358999
8785         API: gst_pad_is_blocking()
8786         API: GST_PAD_IS_BLOCKING() macro
8787         API: GST_PAD_BLOCKING GstPadFlag
8788         
8789 2006-10-02  Wim Taymans  <wim@fluendo.com>
8790
8791         Patch by: mrcgran <mrc.gran at gmail dot com>
8792
8793         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8794         Filter the proxied caps against the padtemplate if we have one.
8795
8796         * gst/gstquery.c: (gst_query_new_segment):
8797         Add include for gstinfo.h so that compilation with
8798         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8799
8800 2006-10-02  Wim Taymans  <wim@fluendo.com>
8801
8802         Patch by: Alessandro Decina  <alessandro at nnva org>
8803
8804         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8805         (gst_file_sink_set_location), (gst_file_sink_open_file),
8806         (gst_file_sink_close_file), (gst_file_sink_event),
8807         (gst_file_sink_render):
8808         Set file to NULL when closing filesink so that we can set a new filename
8809         in READY. Fixes #358613.
8810
8811 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         Patch by: Alessandro Decina  <alessandro at nnva org>
8814
8815         * gst/gstevent.c: (_gst_event_copy):
8816           Fix gst_mini_object_make_writable() and gst_event_copy() for events
8817           with event structures by setting the parent refcount address of the
8818           copied structure to the address of the refcount member of the newly
8819           copied event rather than the address of the refcount member of the
8820           original event. Fixes #358737.
8821
8822         * tests/check/gst/gstevent.c: (GST_START_TEST):
8823           Unit test for the above.
8824
8825 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
8826
8827         * docs/design/Makefile.am:
8828           Dist some more files.
8829
8830 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8831
8832         * tests/check/libs/controller.c: (GST_START_TEST),
8833         (gst_controller_suite):
8834           Add test for the previous fix; add some more tests
8835           for correct refcounting behaviour; fix a few leaks
8836           in test cases; call gst_controller_init() at start
8837           of all tests.
8838
8839 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8840
8841         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8842         (gst_controller_set_from_list):
8843           Don't g_return_val_if_fail() on timed values with invalid timestamps
8844           inside a critical section without unlocking the mutex. Spotted by
8845           René Stadler. (#357617)
8846           Also, fix up refcounting properly: when returning an existing
8847           controller, we should increase the reference only once and not
8848           once per property and when trying to control a property again
8849           we should also increase the refcount.
8850
8851 2006-09-29  Wim Taymans  <wim@fluendo.com>
8852
8853         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8854         * libs/gst/net/gstnettimeprovider.c:
8855         (gst_net_time_provider_thread):
8856         Stop reading commands when EOF as well.
8857
8858         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8859         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8860         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8861         Unify description of the dump property.
8862
8863 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8864
8865         * tests/examples/manual/.cvsignore:
8866         OK, so it's actually cvsignore that needs changing. Stop laughing.
8867
8868 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8869
8870         * tests/examples/manual/Makefile.am:
8871         Gah, declare vars *before* using them
8872
8873 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8874
8875         * gst/gst.c: (init_pre), (scan_and_update_registry),
8876         (ensure_current_registry_nonforking),
8877         (ensure_current_registry_forking), (ensure_current_registry),
8878         (init_post), (gst_debug_help), (gst_deinit):
8879         * gst/gst_private.h:
8880         * gst/gstregistry.c: (gst_registry_finalize),
8881         (gst_registry_remove_features_for_plugin_unlocked),
8882         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8883         (gst_registry_scan_path),
8884         (_priv_gst_registry_remove_cache_plugins),
8885         (_priv_gst_registry_cleanup):
8886         * gst/gstregistry.h:
8887         Re-commit the registry changes, along with an extra fix:
8888           When a cached plugin is encountered at a different file path,
8889           update the stored path in the registry cache so that the parent
8890           process knows where it actually is now when it re-reads the registry
8891           cache. Fixes the thing that broke distcheck with the previous commit.
8892
8893         * tests/check/Makefile.am:
8894         Clean up files named 'core' too when running make clean.
8895
8896         * tests/examples/manual/Makefile.am:
8897         Set up a registry path for running these tests, and clean it properly
8898         for distcheck.
8899
8900 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8901
8902         * configure.ac:
8903         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8904         want gmodule-no-export-2.0.pc instead so that we don't drag in
8905         --export-dynamic on every project that links to GStreamer.
8906
8907         Also, make our export regex only match the start of symbols, rather 
8908         than any symbol that contains '_gst' somewhere.
8909
8910         * libs/gst/check/Makefile.am:
8911         The libgstcheck we build does however need export-dynamic, as it
8912         produces some symbols that don't match our _gst... style regex.
8913         Fixes: #318031
8914
8915 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8916
8917         * gst/gst.c: (init_pre), (scan_and_update_registry),
8918         (ensure_current_registry_nonforking),
8919         (ensure_current_registry_forking), (ensure_current_registry),
8920         (init_post), (gst_debug_help), (gst_deinit):
8921         * gst/gst_private.h:
8922         * gst/gstregistry.c: (gst_registry_finalize),
8923         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8924         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8925         (_gst_registry_cleanup):
8926         * gst/gstregistry.h:
8927           Revert previous change until I figure out why it breaks distcheck.
8928
8929 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8930
8931         * gst/gst.c: (init_pre), (scan_and_update_registry),
8932         (ensure_current_registry_nonforking),
8933         (ensure_current_registry_forking), (ensure_current_registry),
8934         (init_post), (gst_debug_help), (gst_deinit):
8935
8936           Make init_pre and init_post take the full complement of GOptionFunc
8937           args so they can return useful GErrors. Make the registry updating
8938           functions do so.
8939
8940           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8941           ensure that the registry we're about to write out doesn't contain
8942           stale information about old-deleted plugin files.
8943
8944           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8945           that deletion of plugin files is considered a registry change.
8946
8947         * gst/gst_private.h:
8948         * gst/gstregistry.c: (gst_registry_finalize),
8949         (gst_registry_remove_features_for_plugin_unlocked),
8950         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8951         (gst_registry_scan_path),
8952         (_priv_gst_registry_remove_cache_plugins),
8953         (_priv_gst_registry_cleanup):
8954         * gst/gstregistry.h:
8955         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8956         by adding _priv prefix, so that they won't appear in the global
8957         symbol table. They still do atm though because of #318031. Move the
8958         prototypes to gst_private.h
8959
8960         When removing a plugin, remove all features for that plugin too. 
8961         Fixes #340878.
8962
8963 2006-09-27  Wim Taymans  <wim@fluendo.com>
8964
8965         * docs/random/moving-plugins:
8966         Make it clear that the "compiled-in descriptions" really mean
8967         the element details.
8968
8969         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8970         (gst_base_sink_wait_preroll):
8971         Update docs.
8972
8973         * docs/libs/gstreamer-libs-sections.txt:
8974         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8975         (gst_base_src_get_range), (gst_base_src_activate_push):
8976         * libs/gst/base/gstbasesrc.h:
8977         Added function to block while waiting for PLAYING, this function
8978         is used by live sources that block on the clock.
8979         API: gst_base_src_wait_playing()
8980
8981 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8982
8983         Patch by: Peter Kjellerstedt <pkj at axis com>
8984
8985         * Makefile.am:
8986           gst-element-check.m4 is generated and should therefore be
8987           copied from the build dir rather than the source dir (#357593).
8988           'make distcheck' hasn't noticed this because we were disting
8989           the file as well, so stop doing that.
8990
8991 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8992
8993         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8994           Add some tests for gst_caps_intersect().
8995
8996         * tools/gst-launch.c: (event_loop):
8997           Print all buffering percentages we get, even the 100% one.
8998
8999 2006-09-26  Wim Taymans  <wim@fluendo.com>
9000
9001         * tools/gst-inspect.c: (print_element_properties_info),
9002         (print_signal_info):
9003         Fix printing of flags to match the look of enums.
9004
9005 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9006
9007         * gst/gstelementfactory.c:
9008           Fix typo in docs blurb.
9009
9010 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9011
9012         * gst/gsturi.c: (search_by_entry):
9013           Don't assert/crash here if a uri handler doesn't return any
9014           supported protocols. The list of protocols could be generated
9015           dynamically at runtime or at plugin registration, and an error
9016           in the underlying library shouldn't be fatal (#353301).
9017
9018 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * gst/gstinfo.c:
9021           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9022           (spotted by Peter Kjellerstedt).
9023
9024 2006-09-23  Wim Taymans  <wim@fluendo.com>
9025
9026         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9027
9028         * libs/gst/base/gstbasesrc.c:
9029         (gst_base_src_default_check_get_range), (gst_base_src_start),
9030         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9031         (gst_base_src_change_state):
9032         Match _start/_stop calls in the activate functions. Remove redundant
9033         _stop call from the state change function. Fixes #356910.
9034         Turn failure DEBUG into ERROR. 
9035
9036 2006-09-22  Wim Taymans  <wim@fluendo.com>
9037
9038         * docs/design/part-buffering.txt:
9039         * gst/gstmessage.c: (gst_message_new_buffering),
9040         (gst_message_parse_buffering):
9041         Update docs about buffering.
9042
9043         * docs/design/part-trickmodes.txt:
9044         Fix typo.
9045
9046 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
9047
9048         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9049         (gst_controller_new_list):
9050           Ref instances when returning them again (fixes #357180)
9051
9052 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
9053
9054         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
9055           Don't forget to release proxy lock when there's an error.
9056
9057 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
9058
9059         * gst/gstcaps.h:
9060           Add extra initialisers for Caps things, to fix some plugin warnings
9061           when using -Wextra
9062
9063 2006-09-18  Wim Taymans  <wim@fluendo.com>
9064
9065         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9066           Also set template on the internal pad so that a getcaps from the 
9067           target pad returns the template caps.
9068
9069 2006-09-18  Wim Taymans  <wim@fluendo.com>
9070
9071         * gst/gstelement.c: (gst_element_post_message),
9072         (gst_element_dispose):
9073         Use _DEBUG_OBJECT some more.
9074
9075         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9076         Avoid typechecks.
9077
9078         * tools/gst-launch.c: (main):
9079         If the toplevel element is not a GstPipeline, it must be put in a
9080         pipeline so that a bus and clock is selected.
9081
9082 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9085           JITTER, RATE, and LATENCY query should be handled by the
9086           default case and not by the CONVERT query code.
9087
9088 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9089
9090         * gst/gstformat.c: (gst_format_register):
9091           Fix locking order (must take lock before using n_values).
9092
9093         * gst/gstvalue.c: (gst_value_serialize_enum),
9094         (gst_value_deserialize_enum_iter_cmp),
9095         (gst_value_deserialize_enum):
9096           Fix serialisation/deserialisation of custom registered GstFormats.
9097
9098         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9099           Unit test for custom format serialisation/deserialisation.
9100
9101 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
9102
9103         * docs/pwg/building-boiler.xml:
9104         * plugins/elements/gstcapsfilter.c:
9105         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
9106         section.
9107
9108 2006-09-16  Edward Hervey  <edward@fluendo.com>
9109
9110         * libs/gst/base/gstbasetransform.c:
9111         (gst_base_transform_buffer_alloc):
9112         Check if requested caps are the same as the sinks caps IF
9113         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
9114         is FALSE.
9115         This fixes the renegotiation issues stated in #352827.
9116
9117 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9118
9119         * configure.ac:
9120         * docs/manual/advanced-autoplugging.xml:
9121         * tests/examples/Makefile.am:
9122         * tests/examples/manual/.cvsignore:
9123         * tests/examples/manual/Makefile.am:
9124         * tests/examples/manual/extract.pl:
9125           Extract the manual examples again like we used to do.
9126           Fix one of them.
9127
9128 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9129
9130         * win32/common/config.h:
9131           update for version
9132
9133 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
9134
9135         * gst/gsterror.c:
9136           Documents how to receive errors.
9137
9138 2006-09-15  Wim Taymans  <wim@fluendo.com>
9139
9140         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
9141         (event_loop), (main):
9142         Added some comments here and there.
9143         Post an application message when an interrupt is caught instead of doing
9144         an uncontrolled state change.
9145         Clean up the event loop.
9146         Handle buffering messages, pause/resume the pipeline.
9147         Make shutdown because of an interrupt more reliable.
9148
9149 2006-09-15  Wim Taymans  <wim@fluendo.com>
9150
9151         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9152         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
9153         (gst_base_sink_preroll_object):
9154         Make sure that our internal state is correct when we commit our state
9155         asynchronously. This solves a race where a state change to PLAYING
9156         could cause the sink to remain blocked in preroll in some situations.
9157
9158 2006-09-15  Wim Taymans  <wim@fluendo.com>
9159
9160         * tools/gst-inspect.c: (print_element_properties_info),
9161         (print_signal_info):
9162         List flags as hex so it's easier to deal with.
9163
9164 2006-09-15  Wim Taymans  <wim@fluendo.com>
9165
9166         * docs/libs/gstreamer-libs-sections.txt:
9167         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
9168         (gst_base_sink_do_sync):
9169         * libs/gst/base/gstbasesink.h:
9170         Expose logic to wait for preroll so that subclasses such as audiosink
9171         can also use this method.
9172         API: gst_base_sink_wait_preroll()
9173
9174 2006-09-15  Wim Taymans  <wim@fluendo.com>
9175
9176         * gst/gstobject.c: (gst_object_set_parent):
9177         * gst/gstpipeline.c: (do_pipeline_seek):
9178         Small cleanups in docs and code.
9179
9180         * gst/gstsegment.c: (gst_segment_clip):
9181         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9182         if stop == start and start is in the segment, no clipping should be
9183         done. Also add a test for this.
9184
9185 2006-09-15  Wim Taymans  <wim@fluendo.com>
9186
9187         * docs/design/part-buffering.txt:
9188         * docs/gst/gstreamer-sections.txt:
9189         * gst/gstmessage.c: (gst_message_new_buffering),
9190         (gst_message_parse_buffering):
9191         * gst/gstmessage.h:
9192         Added methods to create and parse BUFFERING messages.
9193         Added preliminary docs about buffering.
9194         API: gst_message_new_buffering
9195         API: gst_message_parse_buffering
9196
9197 2006-09-06  Wim Taymans  <wim@fluendo.com>
9198
9199         * gst/gstbin.c:
9200         Update documentation.
9201
9202         * gst/gstelement.c: (gst_element_class_init),
9203         (gst_element_release_request_pad), (gst_element_set_clock),
9204         (gst_element_get_index), (gst_element_add_pad),
9205         (gst_element_remove_pad), (gst_element_get_random_pad),
9206         (gst_element_send_event), (gst_element_get_query_types),
9207         (gst_element_query), (gst_element_post_message),
9208         (gst_element_message_full), (gst_element_continue_state),
9209         (gst_element_lost_state), (gst_element_save_thyself),
9210         (gst_element_restore_thyself):
9211         Documentation updates.
9212         Rename last bit of the new-pad -> pad-added signal rename.
9213         Fix the case where an element query would only work if the source
9214         pad was linked.
9215         Avoid some useless type checking in message handling.
9216
9217         * gst/gstevent.c:
9218         * gst/gstevent.h:
9219         * gst/gstutils.c:
9220         Documentation updates.
9221
9222 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9223
9224         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9225           add an INFO line for when we actually update the fd
9226
9227 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9228
9229         * configure.ac:
9230           back to TRUNK
9231
9232 === release 0.10.10 ===
9233
9234 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
9235
9236         * configure.ac:
9237           releasing 0.10.10, "Pais"
9238
9239 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
9240
9241         * docs/manual/advanced-position.xml:
9242           Fix typo in sample code.
9243
9244 2006-09-05  Wim Taymans  <wim@fluendo.com>
9245
9246         * libs/gst/net/gstnetclientclock.c: (inet_aton),
9247         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9248         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
9249         * libs/gst/net/gstnetclientclock.h:
9250         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9251         * libs/gst/net/gstnettimepacket.h:
9252         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
9253         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
9254         (gst_net_time_provider_thread), (gst_net_time_provider_new):
9255         * libs/gst/net/gstnettimeprovider.h:
9256         Make stuff compile on windows. Fixes #345295.
9257
9258 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9259
9260         * gst/gst.c: (ensure_current_registry_forking):
9261           Print better details when child was terminated by signal.
9262
9263 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9264
9265         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
9266           Print a warning rather than g_assert() if a plugin feature
9267           is a URI handler but returns no protocols (#353976).
9268
9269 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
9270
9271         * docs/random/moving-plugins:
9272         Fix two typos.         
9273
9274 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
9275
9276         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
9277           Fix locking order, handle NULL function values properly.
9278
9279         * gst/gstinfo.h:
9280           Fix docs.
9281
9282         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
9283           Initialise variable before using it and fix debug statement to
9284           print the address of the function rather than the address of the
9285           variable on the stack holding the address of the function.
9286
9287 2006-09-01  Wim Taymans  <wim@fluendo.com>
9288
9289         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
9290         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
9291         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9292         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
9293         (gst_ghost_pad_parent_unset),
9294         (gst_ghost_pad_internal_do_activate_push),
9295         (gst_ghost_pad_internal_do_activate_pull),
9296         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9297         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9298         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9299         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
9300         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
9301         (gst_ghost_pad_new_no_target_from_template),
9302         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9303         More cleanups.
9304         Avoid needless typechecking in macros.
9305         Since the internal pad is always present and never changes, there is
9306         no need to locking or ref when retrieving it.
9307         Improve debugging a bit.
9308         Handle link errors when setting the target. Fixes #341029.
9309
9310 2006-09-01  Wim Taymans  <wim@fluendo.com>
9311
9312         * docs/libs/gstreamer-libs-sections.txt:
9313         * docs/plugins/gstreamer-plugins-sections.txt:
9314         Fix docs some more.
9315
9316         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9317         (gst_collect_pads_event):
9318         * libs/gst/base/gstcollectpads.h:
9319         Documentation updates.
9320         Free queued buffer when removing a pad.
9321
9322 2006-08-31  Michael Smith  <msmith@fluendo.com>
9323
9324         * gst/gstutils.c: (gst_element_link_pads),
9325         (gst_element_link_pads_filtered):
9326           Ensure that we set a capsfilter to NULL if we failed to link it
9327           when doing filtered linking, to avoid criticals.
9328
9329           No need to check for unreffing srcpad, which is explicly NULLed
9330           above (a trivial code cleanup).
9331
9332 2006-08-31  Wim Taymans  <wim@fluendo.com>
9333
9334         * docs/design/part-gstghostpad.txt:
9335         Update ascii art in documentation.
9336
9337         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9338         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9339         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9340         (gst_ghost_pad_internal_do_activate_push),
9341         (gst_ghost_pad_internal_do_activate_pull),
9342         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9343         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9344         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9345         (gst_ghost_pad_set_target):
9346         Small cleanups and leak fixes.
9347         Remove some checks now that the internal pad is never NULL.
9348         Fix the case where linking pads without a target would create nasty
9349         criticals. Fixes #341029.
9350         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9351         value of _set_target().
9352
9353         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9354         (gst_ghost_pad_suite):
9355         Some more tests for creating and linking untargeted ghostpads.
9356
9357 2006-08-31  Edward Hervey  <edward@fluendo.com>
9358
9359         * docs/gst/gstreamer-sections.txt:
9360         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9361         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9362         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9363         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9364         (gst_ghost_pad_new_from_template),
9365         (gst_ghost_pad_new_no_target_from_template):
9366         * gst/gstghostpad.h:
9367         Refactored *_new() functions.
9368         Templates are now used as a g_object_new() parameter.
9369         Use template in _do_getcaps() if we don't have a target.
9370         Small documentation cleanups.
9371         Added two new constructors:
9372         gst_ghost_pad_new_from_template()
9373         gst_ghost_pad_new_no_target_from_template()
9374         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9375         (gst_ghost_pad_suite):
9376         Added tests for new ghostpad instanciation functions.
9377
9378         API additions: gst_ghost_pad_new_from_template,
9379         gst_ghost_pad_new_no_target_from_template
9380
9381 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
9382
9383         * docs/random/ensonic/profiling.txt:
9384           Ideas about qos profiling.
9385
9386 2006-08-29  Wim Taymans  <wim@fluendo.com>
9387
9388         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9389         Code cleanups.
9390         Fix memleak.
9391
9392 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
9393
9394         * gst/gstxml.c:
9395           Improve and detypofy docs.
9396
9397         * tests/check/Makefile.am:
9398         * tests/check/gst/.cvsignore:
9399         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9400           Add a basic test suite for GstXML.
9401
9402 2006-08-29  Wim Taymans  <wim@fluendo.com>
9403
9404         * gst/gstelement.c: (activate_pads), (clear_caps),
9405         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9406         Clear the pad caps when the element shut down all of the pads and
9407         is not streaming data that could modify the caps. 
9408         Fixes #352958.
9409
9410 2006-08-28  Michael Smith  <msmith@fluendo.com>
9411
9412         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9413           Revert previous change; I misunderstood single-segment mode.
9414
9415 2006-08-28  Michael Smith  <msmith@fluendo.com>
9416
9417         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9418           Unset DISCONT on buffers when using single-segment mode.
9419
9420 2006-08-28  Wim Taymans  <wim@fluendo.com>
9421
9422         * gst/gstcaps.c: (gst_caps_merge_structure):
9423         * gst/gstcaps.h:
9424         Fix docs and indentation again.
9425
9426         * tests/check/gst/gstquery.c: (GST_START_TEST):
9427         Fix leak in tests and add some more tests.
9428
9429 2006-08-28  Edward Hervey  <edward@fluendo.com>
9430
9431         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9432         Inform GstSegment of the last stop position in order for the current
9433         segment to have a proper duration if it doesn't have a specific stop
9434         position from which a duration could be calculated.
9435         This bug was noticeable when a non-flushing, non-update new segment was
9436         followed by another segment (all buffers from the new segment were being
9437         dropped).
9438
9439 2006-08-28  Wim Taymans  <wim@fluendo.com>
9440
9441         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9442         Small comment update.
9443
9444         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9445         (gst_identity_transform_ip):
9446         Drop-probability is broken, mention this in the code with a 
9447         FIXME and also in the property description.
9448         Make silent also be silent about the drop messages.
9449
9450 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
9451
9452         * docs/manual/appendix-win32.xml:
9453           Remove mention of popt, we don't depend on that any
9454           longer (#353136). Add some comments pointing out that
9455           this section is slightly outdated.
9456
9457 2006-08-28  Wim Taymans  <wim@fluendo.com>
9458
9459         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9460
9461         * gst/gstquery.c: (gst_query_new_segment):
9462         * tests/check/gst/gstquery.c: (GST_START_TEST):
9463         Initialize variables when creating a new segment query.
9464         Fixes #353121.
9465
9466 2006-08-28  Wim Taymans  <wim@fluendo.com>
9467
9468         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9469
9470         * gst/gstelement.c: (gst_element_get_bus):
9471         * tests/check/gst/gstelement.c: (GST_START_TEST):
9472         Check for NULL before _reffing the bus. Fixes #353122.
9473
9474 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
9475
9476         * docs/manual/basics-bus.xml:
9477           Docs update: fix wrong callback return value explanation; add
9478           some lines about the implicit relationship between main loop
9479           and main context; remove duplicate main loop variable declaration.
9480
9481 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
9482
9483         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9484           Don't leak caps in unit test; add a few more simple
9485           checks. 
9486
9487 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
9488
9489         * docs/gst/gstreamer-sections.txt:
9490         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9491         (gst_caps_structure_is_subset), (gst_caps_merge),
9492         (gst_caps_merge_structure):
9493         * gst/gstcaps.h:
9494         * libs/gst/base/gstbasetransform.c:
9495         (gst_base_transform_transform_caps):
9496         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9497           implement caps merging (fixes #352580)
9498
9499 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
9500
9501         * tools/Makefile.am:
9502         * tools/gst-plot-timeline.py:
9503           add debug-log plotting developer tool (#340674)
9504
9505 2006-08-23  Wim Taymans  <wim@fluendo.com>
9506
9507         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9508         (gst_pad_stop_task):
9509         Improve debugging for task functions.
9510
9511         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9512         (gst_task_start), (gst_task_pause), (gst_task_join):
9513         Make sure that the task function started and finished after a 
9514         join(). 
9515         Don't try to push the task function on the threadpool multiple
9516         times.
9517         Improve the g_warning message with some useful suggestions
9518         about how to fix the problem. 
9519
9520 2006-08-23  Wim Taymans  <wim@fluendo.com>
9521
9522         * gst/gstutils.c: (gst_pad_proxy_getcaps):
9523         Handle RESYNC correctly in _proxy_getcaps.
9524
9525 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
9526
9527         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9528         (gst_xml_parse_memory), (gst_xml_get_element):
9529           Chain up to parent class in dispose function and also
9530           unref the elements in the toplevel_elements GList.
9531           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9532           Always return a reference in gst_xml_get_element() rather
9533           than only sometimes.
9534
9535         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9536           Don't leak GstXml object.
9537
9538 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
9539
9540         * docs/gst/gstreamer-sections.txt:
9541         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9542         (gst_caps_merge):
9543         * gst/gstcaps.h:
9544         * libs/gst/base/gstbasetransform.c:
9545         (gst_base_transform_transform_caps):
9546           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9547           in a better way
9548
9549 2006-08-21  Edward Hervey  <edward@fluendo.com>
9550
9551         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9552         Implement GObject::dispose virtual method in GstXML so we can free the
9553         top_elements GList.
9554
9555 2006-08-21  Wim Taymans  <wim@fluendo.com>
9556
9557         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9558         (gst_buffer_create_sub):
9559         Copy duration/offset_end/caps when creating a subbuffer of the
9560         complete parent.
9561         Make the subbuffer read-only when we make the metadata writable for
9562         now. Fixes #351768.
9563
9564         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9565         Added check for metadata copy when creating subbuffers.
9566
9567 2006-08-21  Edward Hervey  <edward@fluendo.com>
9568
9569         * libs/gst/base/gstbasetransform.c:
9570         (gst_base_transform_buffer_alloc):
9571         Only call downstream buffer_alloc if transform element is passthrough
9572         or always_in_place. Closes #350449.
9573
9574 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9575
9576         * ChangeLog:
9577           ChangeLog surgery to add comments to previous changes
9578
9579 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9580
9581         * gst/gst.c:
9582           Add comments
9583
9584         * gst/gstpad.c: (gst_pad_set_active):
9585           Be more verbose in the log
9586
9587         * libs/gst/base/gstbasetransform.c:
9588         (gst_base_transform_transform_caps):
9589           Simplify caps to get rid of duplicates, fixes #345444
9590
9591 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9592
9593         * gst/gstvalue.c:
9594         * gst/gstvalue.h:
9595           Use these optimizations only internally.
9596
9597 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9598
9599         * gst/gstvalue.c: (gst_value_compare_list),
9600         (gst_value_compare_fraction_range),
9601         (gst_value_intersect_fraction_fraction_range),
9602         (gst_value_intersect_fraction_range_fraction_range),
9603         (gst_value_subtract_fraction_fraction_range),
9604         (gst_value_subtract_fraction_range_fraction_range),
9605         (gst_value_get_compare_func), (gst_value_compare),
9606         (gst_value_compare_with_func):
9607         * gst/gstvalue.h:
9608           Saves the expensive lookup of the compare function in many cases
9609          (#345444)
9610
9611 2006-08-18  Edward Hervey  <edward@fluendo.com>
9612
9613         * tests/check/gst/gstinfo.c: (gst_info_suite):
9614         Disable test that require gstdebug if it wasn't built in core.
9615
9616 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9617
9618         * docs/random/ensonic/logging.txt:
9619           update ideas
9620           
9621         * gst/gstinfo.c: (gst_debug_log_default):
9622           reorder fields, save some columns, add optional color codes for log
9623           levels
9624
9625 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9626
9627         * docs/random/ensonic/logging.txt:
9628           add ideas about making the logs a bit more useful
9629
9630 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9631
9632         * docs/pwg/advanced-events.xml:
9633         * docs/pwg/titlepage.xml:
9634           Update for 0.10 API (#340627). Add myself
9635           to authors list.
9636
9637 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9638
9639         * docs/libs/gstreamer-libs-docs.sgml:
9640         * docs/libs/gstreamer-libs-sections.txt:
9641         * libs/gst/check/gstbufferstraw.c:
9642           Make gstcheck stuff show up in docs (still needs to
9643           be documented properly though).
9644
9645 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
9646
9647         * docs/gst/gstreamer-sections.txt:
9648         * gst/Makefile.am:
9649         * gst/gst.c: (init_post):
9650         * gst/gst_private.h:
9651         * gst/gstquark.c: (_priv_gst_quarks_initialize):
9652         * gst/gstquark.h:
9653         * gst/gstquery.c: (gst_query_new_position),
9654         (gst_query_set_position), (gst_query_parse_position),
9655         (gst_query_new_duration), (gst_query_set_duration),
9656         (gst_query_parse_duration), (gst_query_new_convert),
9657         (gst_query_set_convert), (gst_query_parse_convert),
9658         (gst_query_new_segment), (gst_query_set_segment),
9659         (gst_query_parse_segment), (gst_query_new_seeking),
9660         (gst_query_set_seeking), (gst_query_parse_seeking):
9661         Add internal helpers for pre-registering quarks from static strings
9662         and using the quark values directly instead of looking them up when
9663         creating and parsing queries. Can be used for event construction too.
9664         Closes #350432.
9665
9666 2006-08-16  Wim Taymans  <wim@fluendo.com>
9667
9668         * gst/gstbin.c:
9669         Fix bogus docs.
9670
9671 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9672
9673         * gst/gstutils.c: (gst_util_set_value_from_string):
9674           Fix memleak (#351502).
9675
9676         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9677           Add unit test for most of gst_util_set_value_from_string()
9678           (not that one would want to encourage use of this function).
9679
9680 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9681
9682         * libs/gst/check/gstcheck.h:
9683           Use const gchar * variables in fail_unless_equals_string
9684           macro to avoid compiler warnings (and don't use tabs for
9685           indenting).
9686
9687 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9688
9689         * tools/gst-launch.c: (print_tag):
9690           More space on the left for the tag names, to cater
9691           for the 'extended comment' tag (not touching the
9692           string for the first line since it's translated).
9693
9694 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9695
9696         * libs/gst/check/gstcheck.h:
9697           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9698           print something when they fail.
9699
9700 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9701
9702         * docs/gst/gstreamer-sections.txt:
9703         * gst/gsttaglist.c: (_gst_tag_initialize):
9704         * gst/gsttaglist.h:
9705           API: add GST_TAG_EXTENDED_COMMENT (#350935).
9706           Also change merge function for GST_TAG_COMMENT to
9707           use_first.
9708
9709 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9710
9711         * gst/gstinfo.c: (gst_debug_print_object):
9712           Make GST_PTR_FORMAT print messages as well.
9713
9714         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9715         (GST_START_TEST), (gst_info_suite):
9716           More tests.
9717
9718 2006-08-14  Edward Hervey  <edward@fluendo.com>
9719
9720         * gst/gstelementfactory.c: (gst_element_register):
9721         If the GstElementClass doesn't have a GstElementDetails with all fields
9722         filled up correctly (longname, description AND author), then error out
9723         nicely instead of crashing.
9724
9725 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9726
9727         * gst/gststructure.c:
9728           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9729
9730         * gst/gstvalue.h:
9731           Expand on the difference between arrays and lists as we use them.
9732           
9733 2006-08-14  Wim Taymans  <wim@fluendo.com>
9734
9735         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9736         If the parent state change function failed, don't assume we can safely
9737         stop the source, this will be done when the pads are deactivated.
9738
9739 2006-08-14  Wim Taymans  <wim@fluendo.com>
9740
9741         * gst/gstbuffer.c:
9742         * gst/gsttask.c: (gst_task_join):
9743         Small doc updates.
9744
9745         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9746         (gst_pad_stop_task):
9747         When pad (de)activation failed for some reason, restore the old
9748         activation mode and set the pad to flushing instead of assuming the
9749         pad is deactivated.
9750         If the _task_join() failed, reinstall the task on the pad so that it can
9751         be stopped later and return an error.
9752
9753 2006-08-11  Andy Wingo  <wingo@pobox.com>
9754
9755         * configure.ac:
9756         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9757         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9758         is only for users of API that don't want to see deprecated
9759         functions in the headers; people that want to compile out
9760         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9761         CFLAGS. Fixes the build of multifdsink, or will soon..
9762
9763 2006-08-11  Wim Taymans  <wim@fluendo.com>
9764
9765         * docs/gst/gstreamer-sections.txt:
9766         Add GstClockClass vmethod docs.
9767
9768         * gst/gstcaps.h:
9769         Mark #endif with comment for associated #if
9770
9771         * gst/gstclock.c: (gst_clock_id_wait):
9772         * gst/gstclock.h:
9773         Add vmethod wait_jitter to avoid an unneeded _get_time() for
9774         most clock implementations.
9775         Document vmethods.
9776         Flesh out docs about resolution methods.
9777         API: GstClockClass::wait_jitter
9778
9779         * gst/gstsystemclock.c: (gst_system_clock_class_init),
9780         (gst_system_clock_async_thread),
9781         (gst_system_clock_id_wait_jitter_unlocked),
9782         (gst_system_clock_id_wait_jitter):
9783         Use base class wait_jitter variant for improved performance
9784         due to less clock polling.
9785
9786 2006-08-11  Edward Hervey  <edward@fluendo.com>
9787
9788         * gst/gst.c: (gst_init_check), (init_post):
9789         Set gst as being initialized before scanning/updating the registry,
9790         since there might be my python plugin loader that calls gst_init() and
9791         we don't want to loop back in.
9792         Closes #350879
9793
9794 2006-08-11  Wim Taymans  <wim@fluendo.com>
9795
9796         * docs/design/part-qos.txt:
9797         Bring docs in line with the code. Mostly the sign of the jitter was
9798         wrong in the docs. Fixes #349943.
9799
9800         * gst/gstclock.c:
9801         Fix the docs for the jitter.
9802
9803         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9804         (gst_event_parse_tag), (gst_event_new_buffer_size),
9805         (gst_event_parse_buffer_size), (gst_event_parse_qos),
9806         (gst_event_new_seek), (gst_event_parse_seek),
9807         (gst_event_new_navigation):
9808         Make sure the GstStructure has no parent when creating custom
9809         events.
9810         Add some more argument checking so that we avoid 0.0 rates.
9811         Flesh out the docs for the QoS event some more.
9812
9813 2006-08-11  Wim Taymans  <wim@fluendo.com>
9814
9815         * docs/gst/gstreamer-sections.txt:
9816         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9817         (ensure_current_registry_forking), (ensure_current_registry),
9818         (parse_one_option), (parse_goption_arg), (gst_deinit),
9819         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9820         * gst/gst.h:
9821         Doc updates.
9822         Added API and command line option to disable registry forking in
9823         addition to the environment variable.
9824         Constify some static arrays.
9825         Added some more debug.
9826         Don't deinit twice.
9827         API: gst_registry_fork_is_enabled()
9828         API: gst_registry_fork_set_enabled()
9829         API: --gst-disable-registry-fork command line option
9830         Fixes #348918.
9831
9832 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
9833
9834         * gst/gst.c: (gst_init):
9835           Fix typo in error message.
9836
9837 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9838
9839         * libs/gst/controller/gstcontroller.h:
9840           fix ABI size-correction
9841
9842         * tests/check/libs/gdp.c: (gst_dp_suite):
9843           make tests that use deprecated API conditional
9844
9845 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9846
9847         * docs/libs/gstreamer-libs-sections.txt:
9848         * libs/gst/controller/gstcontroller.c:
9849         (_gst_controller_get_property), (_gst_controller_set_property),
9850         (_gst_controller_init), (_gst_controller_class_init):
9851         * libs/gst/controller/gstcontroller.h:
9852         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9853         (gst_object_set_control_rate):
9854           API: add gst_object_{s,g}et_control_rate(), add private data section,
9855           fix docs
9856
9857         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9858         * libs/gst/dataprotocol/dataprotocol.h:
9859           add deprecation guards to make gtk-doc happy and allow disabling cruft
9860
9861 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9862
9863         * tests/check/Makefile.am:
9864         * tests/check/gst/.cvsignore:
9865           Let's enable the new unit test as well.
9866
9867 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9868
9869         * configure.ac:
9870         * docs/gst/gstreamer-sections.txt:
9871         * gst/gstconfig.h.in:
9872         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9873         (_gst_info_printf_extension_ptr),
9874         (_gst_info_printf_extension_segment):
9875           API: add GST_SEGMENT_FORMAT, which is a printf extension we
9876           register that lets us easily dump GstSegments into debug
9877           logs (#350419).
9878
9879         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9880         (info_segment_format_printf_extension), (gst_info_suite):
9881           Add simple unit test that logs a bunch of different segments (not
9882           valgrinded at the moment because of leaks in
9883           gst_debug_add_log_function).
9884
9885 2006-08-09  Edward Hervey  <edward@fluendo.com>
9886
9887         * libs/gst/base/gstbasetransform.c:
9888         (gst_base_transform_buffer_alloc):
9889         Even if we can't figure out the proper format to request downstream,
9890         call buffer_alloc() downstream with the input parameters without setting
9891         the caps on the srcpad. This will force negotiation in the chain
9892         function.
9893         Closes #350449
9894
9895 2006-08-08  Edward Hervey  <edward@fluendo.com>
9896
9897         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9898         Unlinking from a pad without a target is now a perfectly valid case
9899         which should NOT raise an assertion.
9900         This case would happen if a linked ghostpad its target set to NULL after
9901         it was previously linked.
9902
9903 2006-08-08  Edward Hervey  <edward@fluendo.com>
9904
9905         * tests/check/libs/gdp.c:
9906         Also comment out the test (see below).
9907
9908 2006-08-08  Edward Hervey  <edward@fluendo.com>
9909
9910         * tests/check/libs/gdp.c: (gst_dp_suite):
9911         Use the architecture information from config.h and not gcc macros
9912         in order to properly disable a test that fails on PPC64.
9913
9914 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9915
9916         * gst/gstelement.c: (gst_element_remove_pad):
9917           Don't crash printing the warning if the pad has no parent.
9918
9919 2006-08-02  Wim Taymans  <wim@fluendo.com>
9920
9921         * libs/gst/dataprotocol/dataprotocol.c:
9922         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9923         (gst_dp_crc), (gst_dp_header_payload_length),
9924         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9925         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9926         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9927         (gst_dp_event_from_packet), (gst_dp_validate_header),
9928         (gst_dp_validate_payload):
9929         Make debug category static
9930         Constify the crc table.
9931         Do some more arg checking in public functions.
9932         Fix some docs and do some small cleanups.
9933
9934         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9935         Add some more checks to see if GDP deals with bogus input.
9936
9937 2006-07-31  Wim Taymans  <wim@fluendo.com>
9938
9939         * gst/gstvalue.c: (gst_value_compare_list):
9940         Fix GstValueList comparison code. Fixes #347293.
9941
9942         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9943         Check to test GstValueList comparison.
9944
9945 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9946
9947         * gst/gstelementfactory.c: (gst_element_factory_create):
9948         Remove unnecessary ref/unref pair
9949
9950         * gst/parse/grammar.y:
9951         Make sure to free the parse buffer on all code paths.
9952         Move a g_free up to the error handler where it's easier to see.
9953
9954         * tests/check/gst/gstevent.c: (test_event):
9955         Extending timeout for downstream travelling events to 10 seconds to
9956         hopefully avoid intermittent failure on the buildbots.
9957
9958         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9959         Don't manually set the state of the src element - it will happen as a
9960         natural consequence of the pipeline changing state, and that way it
9961         will do it in the right order too.
9962
9963 2006-07-31  Wim Taymans  <wim@fluendo.com>
9964
9965         * libs/gst/base/gstbasetransform.c:
9966         (gst_base_transform_buffer_alloc):
9967         Use OBJECT_LOCK and refcounting to get the pad caps in the
9968         buffer_alloc function because the caps could change while we are
9969         busy with them. Fixes #349105
9970
9971 2006-07-31  Wim Taymans  <wim@fluendo.com>
9972
9973         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9974         Protect _PAD_CAPS with OBJECT_LOCK.
9975
9976 2006-07-31  Wim Taymans  <wim@fluendo.com>
9977
9978         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9979         (gst_pad_get_property), (gst_pad_activate_pull),
9980         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9981         (gst_pad_set_activate_function),
9982         (gst_pad_set_activatepull_function),
9983         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9984         (gst_pad_set_getrange_function),
9985         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9986         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9987         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9988         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9989         (gst_pad_set_acceptcaps_function),
9990         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9991         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9992         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9993         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9994         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9995         (gst_pad_configure_sink), (gst_pad_configure_src),
9996         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9997         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9998         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9999         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10000         (gst_pad_send_event):
10001         Use _DEBUG_OBJECT when it makes sense.
10002         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10003         Small cleanups and code reflows.
10004         Avoid caps refcounting in _accept_caps.
10005         Refactor alloc_buffer so that the code performed on the peer is in a
10006         separate function. Also if the pad does not implement a buffer alloc
10007         function, we should still check if the pad is flushing before falling
10008         back to the default allocator.
10009
10010 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10011
10012         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10013         Make all uses of identity and fakesink have silent=true to avoid
10014         serialising every passing data structure, which is breaking tests
10015         on FC4 for some unknown reason.
10016
10017 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10018
10019         * gst/parse/Makefile.am:
10020         * gst/parse/grammar.y:
10021         * gst/parse/parse.l:
10022           Reverted previous patch as it required to bump the flex dependency to
10023           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10024
10025 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10026
10027         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10028
10029         * gst/parse/Makefile.am:
10030         * gst/parse/grammar.y:
10031         * gst/parse/parse.l:
10032           push & pop the state of the lexer for reentrant use case
10033           Fixes #349180
10034
10035 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
10036
10037         * libs/gst/base/gstbasesrc.h:
10038           Note in the docs that the ::newsegment vfunc is not actually used by
10039           GstBaseSrc.
10040
10041 2006-07-28  Wim Taymans  <wim@fluendo.com>
10042
10043         * libs/gst/base/gstcollectpads.c:
10044         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10045         (gst_collect_pads_clear), (gst_collect_pads_flush),
10046         (gst_collect_pads_event), (gst_collect_pads_chain):
10047         When flushing a pad, also clear the queued buffer so that we don't
10048         accidentally use it when we shouldn't.
10049         Fix leaks by inreffing incomming buffer.
10050         Flush out queued buffers in case of errors.
10051         Fixes #347452.
10052
10053 2006-07-28  Wim Taymans  <wim@fluendo.com>
10054
10055         * docs/random/phonon-gst:
10056         Random notes about a Phonon backend.
10057
10058 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
10059
10060         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10061         Extra debug output
10062         * tests/check/libs/gdp.c: (gst_dp_suite):
10063         Take a whack at fixing the ppc compile using a different define to
10064         disable the broken test.
10065
10066         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10067         Remove excess g_print()
10068
10069 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10070
10071         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10072         Oops, meant to uncomment this line too to dampen the noise a bit.
10073
10074 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10075
10076         * gst/parse/grammar.y:
10077         * gst/parse/parse.l:
10078         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10079         (GST_START_TEST), (parse_suite):
10080         Fix some of the leaks exposed by extending the parse-launch testsuite,
10081         and move the 3 I can't figure out into a separate test that won't run
10082         the pipelines unless the appropriate line is uncommented.
10083
10084 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10085
10086         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10087           Requesting 0 bytes before the end of the file should result in
10088           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
10089           unit test.
10090
10091 2006-07-27  Wim Taymans  <wim@fluendo.com>
10092
10093         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
10094         Fix useless assert, a uint is always positive.
10095
10096         * gst/gststructure.c: (gst_structure_nth_field_name),
10097         (gst_structure_foreach), (gst_structure_map_in_place):
10098         Check input arguments for public functions to avoid obvious crashes.
10099
10100         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
10101         * plugins/elements/gstfakesink.h:
10102         Do less useless typechecking.
10103
10104 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10105
10106         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10107           Do not use mmap() by default since there are a number of error
10108           conditions that we would like to handle in a non-fatal way that
10109           will result in a SIGBUS if we use mmap(). Examples: external
10110           devices (USB harddrive, portable music player) being unplugged
10111           while in use; file on mounted CD/DVD that can't be read because
10112           the medium is partly damaged. Fixes #348455 and #348475.
10113
10114 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
10115
10116         * gst/gstquery.h:
10117         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
10118         rates are a gdouble
10119
10120 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
10121
10122         * gst/gstregistry.c:
10123           Move big documentation comment into class section header, so that it
10124           appears in the API docs.
10125
10126 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10127
10128         * docs/gst/gstreamer-sections.txt:
10129         Oops. Commit the docs additions too for new API.
10130         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
10131
10132 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10133
10134         * gst/gststructure.c: (gst_structure_id_set),
10135         (gst_structure_id_set_valist):
10136         * gst/gststructure.h:
10137         Add API for setting values into structures without performing
10138         a quark lookup, if the appropriate quark is already known.
10139
10140         API: gst_structure_id_set
10141         API: gst_structure_id_set_valist
10142
10143         * gst/parse/grammar.y:
10144         * gst/parse/parse.l:
10145         Remove some dead code shown by the coverage information.
10146         Don't throw a critical g_warning when encountering a syntax error,
10147         just warn and let the normal error path handle it.
10148
10149         * plugins/elements/gstelements.c:
10150         Bump the rank of filesink up to PRIMARY so that it is preferred over
10151         gnomevfssink for file:// sink uri's
10152
10153         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10154         (GST_START_TEST), (run_delayed_test),
10155         (gst_parse_test_element_base_init),
10156         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
10157         (gst_parse_test_element_change_state),
10158         (gst_register_parse_element), (parse_suite):
10159         Beef up the tests for parse syntax to check that more error cases
10160         fail as they are supposed to. Increases the test coverage a bit.
10161
10162 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
10163
10164         * docs/manual/basics-elements.xml:
10165           Fix gst_element_link() example.
10166
10167         * gst/gstutils.c:
10168           Mention in API docs that one should usually gst_bin_add()
10169           elements to a bin or pipeline before doing the linking.
10170           
10171 2006-07-26  Wim Taymans  <wim@fluendo.com>
10172
10173         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
10174         (gst_subbuffer_get_type), (gst_buffer_create_sub):
10175         Avoid function call for known types by keeping the buffer and
10176         subbuffer GType global.
10177
10178         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10179         Random silly optimisations in read() path.
10180
10181 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10182
10183         * tools/gst-launch.c: (main):
10184           If the top-level of the parse is a normal bin, it doesn't do the
10185           right logic to run as a top-level element, so place it inside a
10186           pipeline.
10187
10188 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
10189
10190         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
10191           Remove superfluous g_object_notify() calls, GObject does
10192           that for us automatically.
10193
10194 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
10195
10196         * gst/gstinfo.h:
10197           on Win32, use dllspec to export the debug category symbols
10198
10199 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
10200
10201         * gst/gsttaglist.c: (_gst_tag_initialize):
10202           Allow more than one GST_TAG_IMAGE per taglist.
10203
10204 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10205
10206         * gst/gstminiobject.c:
10207           update docs
10208         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
10209         (gst_fd_src_create):
10210           log recurring events at LOG level
10211           add more debug for when the fd gets set
10212
10213 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10214
10215         * gst/gstparse.c: (gst_parse_launch):
10216           Also remove reentrance checks if flex is MT safe (#348179)
10217          Fix my empty ChangeLog entry below
10218
10219 2006-07-21  Andy Wingo  <wingo@pobox.com>
10220
10221         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
10222
10223         * libs/gst/check/Makefile.am
10224         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
10225         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
10226         * libs/gst/check/gstbufferstraw.h:
10227         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
10228         functions, thus proving I am still a GStreamer haxor. OK I wrote
10229         them a long time ago, but anyways.
10230
10231 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10232
10233         * configure.ac:
10234         * gst/gstparse.c: (gst_parse_launch):
10235           Check for flex version and omit mutex if we have a MT save flex
10236           (fixes #348179)
10237
10238 2006-07-21  Wim Taymans  <wim@fluendo.com>
10239
10240         * gst/gstparse.c: (gst_parse_launch):
10241         Protect recursive calls to _parse with a recursive mutex
10242         and busy flag.
10243
10244 2006-07-21  Wim Taymans  <wim@fluendo.com>
10245
10246         * tests/check/gst/gstpad.c: (GST_START_TEST):
10247         Fix leak in test.
10248
10249 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
10250
10251         * gst/gstparse.c: (gst_parse_launch):
10252           Do not hang on recursive usage of gst_parse_launch()
10253
10254 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10255
10256         * gst/gsttaglist.c:
10257           Add some more docs, comments and FIXME 0.11s here and there
10258           and also fix some typos.
10259
10260 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10261
10262         * gst/gstsegment.h:
10263           Convert tabs to spaces for better readability. 
10264
10265 2006-07-20  Edward Hervey  <edward@fluendo.com>
10266
10267         * tests/check/libs/gdp.c: (gst_dp_suite):
10268         the test_buffer test fails at line 140 on ppc64 at the following
10269         check:
10270         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
10271                 GST_BUFFER_FLAG_IN_CAPS),
10272                 "GST_BUFFER_IN_CAPS flag should have been copied !");
10273         See bug #348114 for more details.
10274
10275 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
10276
10277         * docs/pwg/advanced-scheduling.xml:
10278         * gst/gstpad.c:
10279           Fix typos (#348000).
10280
10281 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
10282
10283         * docs/pwg/intro-basics.xml:
10284           Fix wrong links (#347927).
10285
10286 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
10287
10288         * gst/gstregistry.h:
10289         * gst/gstregistryxml.c: (load_feature),
10290         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
10291         * win32/common/config.h:
10292           make --disable-index work (#342564)
10293
10294 2006-07-18  Wim Taymans  <wim@fluendo.com>
10295
10296         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10297
10298         * gst/Makefile.am:
10299         * gst/gsttrace.h:
10300         The attached patch adds two missing defines to gsttrace.h when tracing
10301         is disabled.  It also corrects one existing define.
10302         Fixes #347756.
10303
10304 2006-07-17  Wim Taymans  <wim@fluendo.com>
10305
10306         * docs/gst/gstreamer-sections.txt:
10307         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10308         * gst/gst.h:
10309         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10310         Add two functions to check and change the SIGSEGV behaviour
10311         when loading plugins.
10312         Don't mess with the SIGSEGV handler when we were told not to.
10313         Fixes #347794.
10314         API: gst_segtrap_is_enabled
10315         API: gst_segtrap_set_enabled
10316
10317 2006-07-14  Wim Taymans  <wim@fluendo.com>
10318
10319         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10320         * tests/check/elements/filesrc.c: (GST_START_TEST):
10321         Revert fix for regression in #347408 after release.
10322
10323 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         Patch by: Antoine Tremblay <hexa00 at gmail com>
10326
10327         * gst/gstutils.c: (gst_element_unlink):
10328           Free iterator when done (#347311).
10329
10330         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10331           And add a test case for this.
10332
10333 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
10334
10335         * configure.ac:
10336         Bump nano back to CVS
10337
10338 === release 0.10.9 ===
10339
10340 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
10341
10342         * configure.ac:
10343           releasing 0.10.9, "On the road again"
10344
10345 2006-07-13  Wim Taymans  <wim@fluendo.com>
10346
10347         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10348         * tests/check/elements/filesrc.c: (GST_START_TEST):
10349         Revert pull-0 fix for release. Disable check. Fixes #347408.
10350
10351 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10352
10353         * libs/gst/dataprotocol/dataprotocol.c:
10354         (gst_dp_event_from_packet_1_0):
10355           Fixes #347337: failure to deserialize event packets with
10356           empty payload (only event type)
10357
10358 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10359
10360         * gst/Makefile.am:
10361           do not install a .c file in the header directory
10362
10363 2006-07-13  Edward Hervey  <edward@fluendo.com>
10364
10365         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10366         GhostPad no longer implicitely use the padtemplates of the targets.
10367         Fixes #347384
10368
10369 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
10370
10371         * gst/gstvalue.c: (gst_value_compare_list),
10372         (gst_value_compare_array), (_gst_value_initialize):
10373         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10374         Make GstValueArray comparison be order dependent as designed.
10375         Add checks for value lists and value array comparisons.
10376         Fixes #347221
10377
10378 2006-07-11  Edward Hervey  <edward@fluendo.com>
10379
10380         * gst/gstbin.c: (activate_pads),
10381         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10382         (gst_bin_change_state_func):
10383         (de)activate src pads before calling state_change on the childs.
10384         This is to avoid the case where a src ghostpad is blocked (holding the
10385         stream lock), which would block the deactivation of the ghostpad's
10386         target pad.
10387         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10388         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10389         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10390         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10391         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10392         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10393         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10394         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10395         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10396         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10397         (gst_ghost_pad_class_init),
10398         (gst_ghost_pad_internal_do_activate_push),
10399         (gst_ghost_pad_internal_do_activate_pull),
10400         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10401         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10402         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10403         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10404         GhostPads now create their internal GstProxyPad at creation (and not
10405         when they're linked, as it was being done previously).
10406         The internal and target pads are linked straight away.
10407         The data will also travel through the other pad in order to make
10408         pad blocking and probes non-hackish (the probe/block now really happens
10409         on the GhostPad and not on the target).
10410         * gst/gstpad.c: (gst_pad_set_blocked_async),
10411         (gst_pad_link_prepare), (gst_pad_push_event):
10412         Remove previous ghostpad cruft.
10413         * gst/gstutils.c: (gst_pad_add_data_probe),
10414         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10415         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10416         (gst_pad_remove_buffer_probe):
10417         Remove previous ghost pad cruft.
10418         Added more detailed debug statements.
10419         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10420         Fix the testsuite for refcounting changes.
10421         The comments about who has references were correct, but the refcount
10422         being checked wasn't the same (!?!).
10423
10424         Fixes #341029
10425
10426 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10427
10428         * docs/gst/gstreamer-sections.txt:
10429         * gst/gstconfig.h.in:
10430         More docs for configuration options, add docs to gtk-doc.
10431
10432 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10433
10434         * gst/Makefile.am:
10435         * gst/gstconfig.h.in:
10436         * win32/common/config.h:
10437         Fix build when disabling tracing (fixes #344016). Also start to document
10438         the defines that disable the sub-systems.
10439
10440 2006-07-10  Edward Hervey  <edward@fluendo.com>
10441
10442         * gst/gst.c: (ensure_current_registry_forking):
10443         let's make valgrind happy...
10444
10445 2006-07-09  Wim Taymans  <wim@fluendo.com>
10446
10447         * gst/gstelement.c: (activate_pads),
10448         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10449         Better pad activation code: Reset the collect value too on resync.
10450         Add some comments.
10451
10452 2006-07-09  Wim Taymans  <wim@fluendo.com>
10453
10454         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10455         (gst_pad_activate_push):
10456         Use some more macros where it makes sense.
10457         Allow pad mode switching instead of asserting. When a pad
10458         is activated in one mode and we activate it in another, 
10459         deactivate it first before activating it in a different mode.
10460         Fixes #329198.
10461
10462 2006-07-08  Andy Wingo  <wingo@pobox.com>
10463
10464         * tools/gst-launch.c (main): Handle err == NULL.
10465
10466         * gst/gst.c (init_post, ensure_current_registry)
10467         (ensure_current_registry_forking)
10468         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10469         factoring out the registry scanning into separate functions. Don't
10470         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10471         Better environment var name/interface suggestions accepted.
10472
10473 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10474
10475         * gst/gstobject.c: (gst_object_set_name_default),
10476         (gst_object_set_name):
10477           Random micro-optimisation: don't use a hash table
10478           with strings as keys and the usual strdup/strcmp
10479           involved, but rather just use the GQuark of the
10480           type name as key, since it needs to be looked up
10481           anyway to get the type name string.
10482
10483         * tests/check/gst/gstobject.c: (GST_START_TEST):
10484           Fix various leaks.
10485
10486 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10487
10488         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10489         (gst_bin_iterate_all_by_interface):
10490           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10491           GTypes are gulongs and thus the top 4 bytes might be cut
10492           off on some platforms when doing GPOINTER_TO_INT, leading
10493           to invalid GTypes and bad things happening (see RH bug #179654).
10494           Also add a check to make sure the type passed in is really
10495           an interface type.
10496
10497 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10498
10499         * .cvsignore:
10500           Ignore more.
10501
10502 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10503
10504         * Makefile.am:
10505         * configure.ac:
10506         * gst-element-check.m4:
10507         * gst-element-check.m4.in:
10508           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10509           instead of the unversioned gst-inspect (#324176, #168659).
10510
10511 2006-07-06  Wim Taymans  <wim@fluendo.com>
10512
10513         * gst/gstmessage.h:
10514         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10515         warnings.
10516
10517 2006-07-06  Wim Taymans  <wim@fluendo.com>
10518
10519         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10520         (gst_base_src_wait), (gst_base_src_update_length),
10521         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10522         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10523         (gst_base_src_loop), (gst_base_src_start),
10524         (gst_base_src_activate_pull):
10525         Update docs.
10526         blocksize == 0 now means the default blocksize when working in push
10527         based mode.
10528         Remove some pointless asserts in _wait function.
10529         Fix offset/length calculations and EOS handling. We can now pull 0
10530         bytes as well, which is allowed.
10531         use _check_get_range() to decide if we can operate in _pull based
10532         mode.
10533         Fix refcounting leak when check_get_range function was not 
10534         implemented.
10535         API GstBaseSrc::blocksize range can be 0 too now (default)
10536
10537         * tests/check/elements/filesrc.c: (GST_START_TEST),
10538         (filesrc_suite):
10539         Added check to test _get_range() behaviour.
10540
10541 2006-07-06  Wim Taymans  <wim@fluendo.com>
10542
10543         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10544         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10545         (gst_pad_pull_range):
10546         * gst/gstpad.h:
10547         Lots of comments and docs added to the pad functions.
10548         Flesh out the expected behaviour of the get_range() functions.
10549
10550 2006-07-06  Wim Taymans  <wim@fluendo.com>
10551
10552         * gst/gstbus.h:
10553         * gst/gstclock.h:
10554         * gst/gstevent.h:
10555         * gst/gstiterator.h:
10556         * gst/gstpad.h:
10557         * gst/gstplugin.h:
10558         * gst/gsttask.h:
10559         Remove comma at end of enumerator list. 
10560
10561 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
10562
10563         * win32/common/libgstbase.def:
10564         * win32/common/libgstdataprotocol.def:
10565         * win32/common/libsgtreamer.def:
10566         Add new exported functions.
10567
10568 2006-07-05  Wim Taymans  <wim@fluendo.com>
10569
10570         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10571         Add some more docs here and there.
10572
10573 2006-07-05  Wim Taymans  <wim@fluendo.com>
10574
10575         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10576         (gst_base_sink_loop), (gst_base_sink_get_position):
10577         When operating in pull mode update the offset so that we
10578         read sequentially.
10579
10580 2006-07-05  Wim Taymans  <wim@fluendo.com>
10581
10582         * gst/gstregistryxml.c: (read_string):
10583         Avoid strdup. (will happen in libxml, but hey!)
10584
10585         * gst/gsturi.c:
10586         Add some more docs.
10587
10588 2006-07-05  Wim Taymans  <wim@fluendo.com>
10589
10590         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10591         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10592         (gst_buffer_suite):
10593         No point in checking if the size of the subbuffer > 0, the
10594         code handles it correclty as demonstrated by unit test.
10595         Also add a unit test for the zero sized _new_and_alloc and
10596         _copy. Fixes #346663.
10597
10598 2006-07-05  Wim Taymans  <wim@fluendo.com>
10599
10600         * libs/gst/base/gstbasetransform.c:
10601         (gst_base_transform_prepare_output_buffer),
10602         (gst_base_transform_buffer_alloc),
10603         (gst_base_transform_handle_buffer):
10604         Make sure the buffer we pass to transform_ip has a refcount of
10605         1 and thus is writable. Fixes #343196
10606
10607 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
10608
10609         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10610         (gst_file_src_init), (gst_file_src_set_property),
10611         (gst_file_src_get_property), (gst_file_src_map_region):
10612         * plugins/elements/gstfilesrc.h:
10613         Add "sequential" property, off by default, to use madvise and hint
10614         to the kernel that sequential access is desired.
10615         Touch all retrieved pages by default to ensure they are pulled
10616         into memory. (Closes #345720)
10617
10618 2006-07-03  Wim Taymans  <wim@fluendo.com>
10619
10620         * docs/design/part-block.txt:
10621         * docs/design/part-dynamic.txt:
10622         Small docs updates.
10623
10624 2006-07-03  Wim Taymans  <wim@fluendo.com>
10625
10626         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10627         (gst_caps_unref), (gst_static_caps_get),
10628         (gst_caps_append_structure):
10629         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10630         Use GSlice when the glib we build against is >= 2.10
10631
10632 2006-07-03  Wim Taymans  <wim@fluendo.com>
10633
10634         * gst/gstelement.c: (gst_element_pads_activate):
10635         Small cleanup in pad activation code.
10636
10637 2006-07-03  Wim Taymans  <wim@fluendo.com>
10638
10639         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10640
10641         * gst/gst-i18n-app.h:
10642         * gst/gst-i18n-lib.h:
10643         * tools/gst-inspect.c: (print_signal_info):
10644         The attached patch will make the inclusion of gettext.h unconditional in
10645         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10646         libintl.h in tools/gst-inspect.c.
10647         This allows use of --disable-nls again and fixes #344642.
10648
10649 2006-07-03  Edward Hervey  <edward@fluendo.com>
10650
10651         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10652         Implement pad blocking on events according to part-block.txt.
10653         More comments on behaviour.
10654         * tests/check/gst/gstevent.c: (test_event):
10655         Send event to peer pad of blocked pad (else it will block).
10656
10657 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10658
10659         * libs/gst/check/gstcheck.c: (gst_check_message_error),
10660         (gst_check_run_suite):
10661           if we get the wrong message, give us the types as string
10662         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10663           Fix a translatable
10664         * tests/check/elements/filesrc.c: (GST_START_TEST):
10665           add a test for trying to open a non-existing file
10666
10667 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10670           add a test for adding self
10671
10672 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10673
10674         * libs/gst/check/gstcheck.h:
10675           add some assert_ as alias for fail_unless_*
10676         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10677           increase test coverage
10678
10679 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10680
10681         * Makefile.am:
10682           include lcov.mak for lcov coverage generation
10683         * tools/Makefile.am:
10684           add to CLEANFILES
10685
10686 2006-07-02  Edward Hervey  <edward@fluendo.com>
10687
10688         * tests/check/elements/.cvsignore:
10689         moaping
10690
10691 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10692
10693         * configure.ac:
10694           don't set CFLAGS and friends for gcov, done from GST_GCOV now
10695         * tests/check/Makefile.am:
10696           clean up gcov files
10697
10698 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10699
10700         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10701           remove gst_caps_simplify; it was not declared and not used
10702           and deprecated in 0.8
10703
10704 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10705
10706         * docs/faq/gst-uninstalled:
10707           don't put empty paths on PYTHONPATH
10708         * docs/gst/gstreamer-sections.txt:
10709           remove some symbols that are not there
10710
10711 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10712
10713         * gst/gstcaps.c: (gst_caps_compare_structures):
10714           whitespace fixes
10715         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10716         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10717           add more tests
10718
10719 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10720
10721         * libs/gst/dataprotocol/Makefile.am:
10722           build dataprotocol test by linking to the lib, instead of
10723           compiling the source, so we get coverage
10724         * tests/check/Makefile.am:
10725         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10726         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10727           add a test for filesrc
10728
10729 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10730
10731         * tests/check/gst/gststructure.c: (GST_START_TEST),
10732         (gst_structure_suite):
10733           Push coverage from 59.04% to 70.00%
10734
10735 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10736
10737         * tests/check/Makefile.am:
10738           gst-inspect every element; this makes sure that we also get
10739           coverage on element's get/set functions
10740
10741 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10742
10743         * configure.ac:
10744           set CFLAGS and friends to -O0 if gcov is being used
10745           add GCOV LIBS
10746         * gst/Makefile.am:
10747         * libs/gst/base/Makefile.am:
10748         * libs/gst/check/Makefile.am:
10749         * libs/gst/controller/Makefile.am:
10750         * libs/gst/dataprotocol/Makefile.am:
10751         * libs/gst/net/Makefile.am:
10752         * plugins/elements/Makefile.am:
10753         * plugins/indexers/Makefile.am:
10754           add makefile rules to generate gcov data and clean up
10755         * tests/check/Makefile.am:
10756           add a coverage target that generates an html overview
10757           of coverage data
10758
10759 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10760
10761         * tests/check/elements/fakesink.c:
10762         * tests/check/elements/fakesrc.c:
10763         * tests/check/elements/fdsrc.c:
10764         * tests/check/elements/identity.c:
10765         * tests/check/generic/sinks.c: (gst_sinks_suite):
10766         * tests/check/generic/states.c:
10767         * tests/check/gst/gst.c:
10768         * tests/check/gst/gstabi.c:
10769         * tests/check/gst/gstbin.c:
10770         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10771         * tests/check/gst/gstbus.c: (gst_bus_suite):
10772         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10773         * tests/check/gst/gstelement.c:
10774         * tests/check/gst/gstevent.c: (gst_event_suite):
10775         * tests/check/gst/gstghostpad.c:
10776         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10777         * tests/check/gst/gstmessage.c: (gst_message_suite):
10778         * tests/check/gst/gstminiobject.c:
10779         * tests/check/gst/gstobject.c:
10780         * tests/check/gst/gstpad.c:
10781         * tests/check/gst/gstpipeline.c:
10782         * tests/check/gst/gstplugin.c:
10783         * tests/check/gst/gstquery.c: (gst_query_suite):
10784         * tests/check/gst/gstsegment.c: (gst_segment_suite):
10785         * tests/check/gst/gststructure.c:
10786         * tests/check/gst/gstsystemclock.c:
10787         * tests/check/gst/gsttag.c:
10788         * tests/check/gst/gsttask.c: (gst_task_suite):
10789         * tests/check/gst/gstutils.c:
10790         * tests/check/gst/gstvalue.c:
10791         * tests/check/libs/adapter.c:
10792         * tests/check/libs/basesrc.c:
10793         * tests/check/libs/collectpads.c:
10794         * tests/check/libs/controller.c:
10795         * tests/check/libs/gdp.c: (gst_dp_suite):
10796         * tests/check/libs/gstnetclientclock.c:
10797         * tests/check/libs/gstnettimeprovider.c:
10798         * tests/check/libs/libsabi.c: (libsabi_suite):
10799         * tests/check/libs/typefindhelper.c:
10800         * tests/check/pipelines/cleanup.c:
10801         * tests/check/pipelines/parse-launch.c:
10802         * tests/check/pipelines/simple-launch-lines.c:
10803         * tests/check/pipelines/stress.c: (stress_suite):
10804           use the new macro
10805
10806 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10807
10808         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10809         * libs/gst/check/gstcheck.h:
10810           create a macro and function so that the simple unit test
10811           case can be just one macro to create main()
10812
10813 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
10814
10815         * gst/gstbin.c: (gst_bin_restore_thyself):
10816         * gst/gstxml.c: (gst_xml_make_element):
10817           Fix deserialisation from XML. Set parent manually
10818           instead of using gst_bin_add(), since gst_bin_add()
10819           will unlink all pads of the element being added.
10820           Fixes #341667.
10821
10822 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
10823
10824         Patch by: Peter Kjellerstedt <pkj at axis com>
10825
10826         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10827           Fix missing g_strdup() and double free when using the
10828           --gst-plugin-load command line option (#346097).
10829
10830 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10831
10832         * gst/gstinfo.c:
10833           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10834
10835         * libs/gst/net/gstnetclientclock.c:
10836         * libs/gst/net/gstnettimeprovider.c:
10837           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10838
10839 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * docs/manual/advanced-dataaccess.xml:
10842           Fix buffer probe example compilation in
10843           ADM (#345708).
10844         
10845 2006-06-22  Edward Hervey  <edward@fluendo.com>
10846
10847         * gst/gstelement.c: (gst_element_pads_activate):
10848         We need to deactivate src pads first and then sink pads.
10849         The reason is the src pads might be blocking while holding the streaming
10850         lock, so we need to deactivate them first so that deactivating the sink
10851         pads doesn't block (since it will require the streaming lock).
10852
10853 2006-06-22  Wim Taymans  <wim@fluendo.com>
10854
10855         * libs/gst/base/gstbasetransform.c:
10856         (gst_base_transform_buffer_alloc):
10857         Forgot to remove two unneeded unrefs.
10858         Simplify a check _is_equal allready checks the obvious case.
10859
10860 2006-06-22  Wim Taymans  <wim@fluendo.com>
10861
10862         * docs/design/part-block.txt:
10863         Some docs about what pad_block should do.
10864
10865 2006-06-22  Wim Taymans  <wim@fluendo.com>
10866
10867         * gst/gstcaps.c: (gst_caps_replace):
10868         Fix crasher when passed NULL. Doc clarification.
10869         Optimize for the trivial case.
10870
10871         * gst/gstpipeline.c: (gst_pipeline_change_state):
10872         Small cleanups.
10873
10874         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10875         Small documentation cleanup.
10876
10877         * libs/gst/base/gstbasetransform.c:
10878         (gst_base_transform_buffer_alloc):
10879         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10880         is what we need and it avoids a whole lot of redundant 
10881         refcount operations.
10882
10883 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
10884
10885         Patch by: Philip Jägenstedt  <philip at lysator liu se>
10886
10887         * docs/manual/advanced-dataaccess.xml:
10888           Fix 'Embedding static elements' section to use
10889           GST_PLUGIN_DEFINE_STATIC (#345607).
10890
10891 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10892
10893         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10894           Attempt to 'fix' spuriously failing test case: it seems like the
10895           timeout of half a second is simply too small when the system is under
10896           load otherwise, and the timeout doesn't really seem to serve any
10897           particular purpose here. Give the pipeline a few seconds to preroll
10898           first, and then give it another half a second to go from PAUSED to
10899           PLAYING and marshal the message into the main thread.
10900
10901 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10902
10903         * tools/gst-feedback-m.m:
10904           Don't only use unversioned tools, try versioned tools as well
10905           (#345086).
10906
10907 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10908
10909         * gst/gstbus.c: (gst_bus_class_init):
10910           Fix some typos, make docs more explicit.
10911
10912 2006-06-20  Wim Taymans  <wim@fluendo.com>
10913
10914         * tests/check/gst/gstghostpad.c: (block_callback),
10915         (GST_START_TEST), (gst_ghost_pad_suite):
10916         Added some more ghostpad tests, mainly blocking
10917         and probes.
10918
10919 2006-06-16  Wim Taymans  <wim@fluendo.com>
10920
10921         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10922         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10923         (gst_file_sink_event), (gst_file_sink_render):
10924         * plugins/elements/gstfilesink.h:
10925         Check if we can seek in the file instead of assuming
10926         we always can. Post an error when we are asked to seek in a
10927         non-seekable file (like a fifo). Fixes #343312.
10928         Some cleanups.
10929
10930 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10931
10932         * tools/gst-launch.1.in:
10933           Un-garble (fourcc) bit in filtered caps section.
10934
10935 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10936
10937         * docs/manual/advanced-autoplugging.xml:
10938         * docs/manual/basics-helloworld.xml:
10939         * docs/manual/highlevel-components.xml:
10940           Don't leak bus reference in sample code.
10941
10942 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10943
10944         * autogen.sh:
10945           Add default for new --enable-plugin-docs switch.
10946
10947         * configure.ac:
10948           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10949           Fixes #344039.
10950
10951         * docs/Makefile.am:
10952           Use new ENABLE_PLUGIN_DOCS conditional.
10953
10954 2006-06-14  Wim Taymans  <wim@fluendo.com>
10955
10956         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10957         Make it clear with a FIXME and a real define what the #if 0
10958         previously disabled.
10959
10960 2006-06-14  Wim Taymans  <wim@fluendo.com>
10961
10962         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10963         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10964         * libs/gst/base/gstbasetransform.c:
10965         (gst_base_transform_sink_eventfunc):
10966         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10967         Don't randomly and silently reset a segment when the format 
10968         changes as this is a bug somewhere upstream. Fixes #330379.
10969
10970 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         Patch by: Wouter Paesen  <wouter at kangaroot net>
10973
10974         * libs/gst/controller/gstcontroller.c:
10975         (gst_controlled_property_new):
10976           Fix controlling of float properties (#344849).
10977
10978         * tests/check/libs/controller.c:
10979         (gst_test_mono_source_get_property),
10980         (gst_test_mono_source_set_property),
10981         (gst_test_mono_source_class_init), (GST_START_TEST):
10982           While we're at it, add some float stuff to unit test.
10983
10984 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10985
10986         * docs/README:
10987         * docs/images/gdp-header.svg:
10988           add a gdp image
10989         * docs/libs/Makefile.am:
10990         * docs/libs/gdp-header.png:
10991         * libs/gst/dataprotocol/dataprotocol.c:
10992           add it to the API docs
10993         * docs/manual/intro-motivation.xml:
10994           fix typo
10995
10996 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10997
10998         * gst/gst.c: (scan_and_update_registry), (init_post):
10999           If the fork()'ed child process can't write the updated registry cache
11000           file to disk for some reason, make it exit with a failure exit code,
11001           so that the parent can then re-scan the plugins itself and update the
11002           registry structures in memory and work with that (rather than failing
11003           when creating elements because seemingly no plugins are available).
11004           Refactor registry scanning code into separate function for this and
11005           also separate fork() and non-fork() code paths. Fixes #344748.
11006
11007 2006-06-13  Wim Taymans  <wim@fluendo.com>
11008
11009         * docs/manual/advanced-dataaccess.xml:
11010         Fix wrong PluginDesc. Fixes #344755.
11011
11012 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11013
11014         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11015           Fix silly bug that prevented us from creating
11016           ~/.gstreamer-0.10 and writing the registry in one
11017           go (the first call to g_mkstemp() would overwrite the
11018           placeholder in the template string, so the second call
11019           to g_mkstemp() after creating the missing directory
11020           would then error out with 'invalid argument').
11021
11022 2006-06-13  Edward Hervey  <edward@fluendo.com>
11023
11024         * gst/gst.c: (init_post):
11025         Free string.
11026
11027 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11028
11029         * gst/glib-compat-private.h:
11030         * gst/glib-compat.c:
11031         * gst/glib-compat.h:
11032         * gst/gstvalue.c: (gst_value_serialize_flags):
11033           remove GLib 2.6 compatibility code
11034
11035 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
11036
11037         * gst/parse/Makefile.am:
11038           Fix build with 'make -j N' even more (#340016).
11039
11040 2006-06-12  Wim Taymans  <wim@fluendo.com>
11041
11042         * docs/gst/gstreamer-sections.txt:
11043         Fix docs.
11044
11045 2006-06-12  Wim Taymans  <wim@fluendo.com>
11046
11047         * gst/gstsegment.c: (gst_segment_set_duration),
11048         (gst_segment_set_last_stop), (gst_segment_set_seek),
11049         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11050         (gst_segment_to_running_time), (gst_segment_clip):
11051         Use G_UNLIKELY to help the compiler a bit.
11052
11053 2006-06-12  Wim Taymans  <wim@fluendo.com>
11054
11055         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11056
11057         * gst/gstevent.c: (gst_event_get_type):
11058         * gst/gstmessage.c:
11059         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11060         (gst_pad_push):
11061         constify quark registration strings. Fixes #344115
11062         Avoid unneeded type checking is _pad_push() by internally
11063         calling gst_pad_chain_unchecked().
11064
11065 2006-06-12  Wim Taymans  <wim@fluendo.com>
11066
11067         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
11068         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
11069         (gst_subbuffer_finalize), (gst_buffer_create_sub),
11070         (gst_buffer_is_span_fast), (gst_buffer_span):
11071         Init _type for consistency.
11072         Use _FLAGS macro to avoid type check.
11073         Avoid unneeded type checks in subbufer code.
11074
11075 2006-06-12  Wim Taymans  <wim@fluendo.com>
11076
11077         * gst/gst.c: (gst_debug_help):
11078         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
11079         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11080         (gst_plugin_feature_list_free):
11081         * gst/gstregistry.c: (gst_registry_add_plugin),
11082         (gst_registry_add_feature), (gst_registry_plugin_filter),
11083         (gst_registry_feature_filter), (gst_registry_find_plugin),
11084         (gst_registry_find_feature), (gst_registry_get_plugin_list),
11085         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
11086         * gst/gstregistryxml.c: (load_feature),
11087         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
11088         * gst/gstminiobject.c: (gst_mini_object_unref),
11089         (gst_mini_object_replace), (gst_value_mini_object_free),
11090         (gst_value_mini_object_copy):
11091         Use _CAST macros to avoid unneeded type checking.
11092         Added some more G_UNLIKELY.
11093
11094 2006-06-12  Wim Taymans  <wim@fluendo.com>
11095
11096         * gst/gstbuffer.h:
11097         Avoid unneeded type checking.
11098         API: GST_BUFFER_IS_DISCONT
11099
11100         * gst/gstminiobject.h:
11101         Avoid type check in flag accessor.
11102
11103         * gst/gstelementfactory.h:
11104         * gst/gstplugin.h:
11105         * gst/gstpluginfeature.h:
11106         Add _CAST macros.
11107         API: GST_ELEMENT_FACTORY_CAST
11108         API: GST_PLUGIN_CAST
11109         API: GST_PLUGIN_FEATURE_CAST
11110
11111 2006-06-12  Wim Taymans  <wim@fluendo.com>
11112
11113         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
11114         (gst_object_unref):
11115         Add G_UNLIKELY in type registration.
11116         Avoid type check in _ref/_unref since that is also
11117         done in glib.
11118
11119 2006-06-12  Wim Taymans  <wim@fluendo.com>
11120
11121         * gst/gsterror.c: (gst_g_error_get_type):
11122         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11123         (gst_static_pad_template_get_type):
11124         * gst/gsttaglist.c: (gst_tag_list_get_type):
11125         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
11126         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
11127         * gst/gsturi.c: (gst_uri_handler_get_type):
11128         * gst/gstvalue.c: (gst_date_get_type):
11129         * gst/gstxml.c: (gst_xml_get_type):
11130         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
11131         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11132         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
11133         Add G_UNLIKELY in type registration.
11134
11135 2006-06-12  Wim Taymans  <wim@fluendo.com>
11136
11137         * tools/gst-inspect.c: (print_signal_info):
11138         Properly print enum values.
11139
11140 2006-06-12  Wim Taymans  <wim@fluendo.com>
11141
11142         * gst/gstinfo.c: (gst_debug_set_active),
11143         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
11144         * gst/gstinfo.h:
11145         Add some G_[UN]LIKELY.
11146         Maintain __gst_debug_min to avoid formatting the arguments of
11147         debug messages that will be dropped anyway to avoid a lot of 
11148         overhead from the debugging system.
11149
11150 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11151
11152         * po/POTFILES.in:
11153         * po/POTFILES.skip:
11154           add missing files containing translatable strings, tell intltool about
11155           one exception
11156
11157 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11158
11159         * tests/check/libs/.cvsignore:
11160         add test-binary to ignore list
11161
11162 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11163
11164         * docs/libs/gstreamer-libs-docs.sgml:
11165         reorder (put dp into a chapter) and indent
11166
11167 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11168
11169         * configure.ac:
11170           back to HEAD
11171
11172 === release 0.10.8 ===
11173
11174 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
11175
11176         * configure.ac:
11177           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
11178
11179 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11180
11181         * gst/gst.c: (init_post):
11182           move pid declaration to declaration block
11183
11184 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11185
11186         * gst/gst.c: (init_post):
11187           use _exit() instead of exit() in our forked child; this ensures
11188           that none of the registered exit handlers from whatever is using
11189           GStreamer get executed.  This fixes gnome-mixer-applet failing
11190           to load, because ORBit would shut down.
11191           Spotted by: Edward Hervey  <edward@fluendo.com>
11192           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
11193           Fixes #344474
11194
11195 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * configure.ac:
11198           back to TRUNK
11199
11200 === release 0.10.7 ===
11201
11202 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
11203
11204         * configure.ac:
11205           releasing 0.10.7, "Soepeke, ik zie ou"
11206
11207 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11208
11209         * configure.ac:
11210         * po/af.po:
11211         * po/az.po:
11212         * po/bg.po:
11213         * po/ca.po:
11214         * po/cs.po:
11215         * po/de.po:
11216         * po/en_GB.po:
11217         * po/fr.po:
11218         * po/it.po:
11219         * po/nb.po:
11220         * po/nl.po:
11221         * po/ru.po:
11222         * po/sq.po:
11223         * po/sr.po:
11224         * po/sv.po:
11225         * po/tr.po:
11226         * po/uk.po:
11227         * po/vi.po:
11228         * po/zh_CN.po:
11229         * po/zh_TW.po:
11230         * win32/common/config.h:
11231           0.10.6.2 prerelease
11232
11233 2006-06-07  Wim Taymans  <wim@fluendo.com>
11234
11235         * gst/gstindex.c: (gst_index_gtype_resolver):
11236         * tools/gst-xmlinspect.c: (print_plugin_info):
11237         Fix leak spotted by coverity checker. Fixes #343827
11238         Fix another other leak found by paolo borelli.
11239
11240 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11241
11242         * libs/gst/dataprotocol/dataprotocol.c:
11243         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11244         (gst_dp_version_get_type), (gst_dp_init),
11245         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
11246         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
11247         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
11248         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
11249         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
11250         (gst_dp_packetizer_free):
11251         * libs/gst/dataprotocol/dataprotocol.h:
11252           API: add a GstDPPacketizer object, and create/free functions
11253           API: add GstDPVersion enum
11254           Add 1.0 event function that uses the string serialization
11255           Serialize more useful buffer flags
11256           Fixes #343988
11257
11258 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11259
11260         * tests/check/Makefile.am:
11261         * tests/check/gst/gstabi.c:
11262         * tests/check/gst/struct_ppc64.h:
11263         * tests/check/libs/libsabi.c:
11264         * tests/check/libs/struct_ppc64.h:
11265           add ppc64 structure sizes
11266
11267 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11268
11269         * tests/check/Makefile.am:
11270         * tests/check/gst/gstabi.c:
11271         * tests/check/gst/struct_x86_64.h:
11272         * tests/check/libs/libsabi.c:
11273         * tests/check/libs/struct_x86_64.h:
11274           generate and add structure size lists for x86_64
11275
11276 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11277
11278         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
11279         * libs/gst/check/gstcheck.h:
11280           factor out the method from tests that checks size of structures,
11281           and add code to generate the header containing these sizes
11282         * tests/check/gst/gstabi.c: (GST_START_TEST):
11283         * tests/check/gst/struct_i386.h:
11284         * tests/check/libs/libsabi.c: (GST_START_TEST):
11285         * tests/check/libs/struct_i386.h:
11286           use it
11287
11288 2006-06-06  Michael Smith  <msmith@fluendo.com>
11289
11290         * gst/gstsegment.h:
11291           Don't use c++-style comments, fixes #343929
11292
11293 2006-06-05  Edward Hervey  <edward@fluendo.com>
11294
11295         * gst/gst.c:
11296         plugin_paths is not used if we build without registry support.
11297
11298         * gst/gstsegment.c: (gst_segment_copy): 
11299         _copy() was always returning NULL...
11300
11301 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * libs/gst/dataprotocol/dataprotocol.c:
11304         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11305         (gst_dp_packet_from_event):
11306           factor out CRC code
11307
11308 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11309
11310         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11311           make sure we unset caps
11312
11313 2006-06-02  Michael Smith  <msmith@fluendo.com>
11314
11315         * libs/gst/check/gstcheck.c: (gst_check_init),
11316         (gst_check_chain_func):
11317         * libs/gst/check/gstcheck.h:
11318           Add a cond/mutex to the check support lib, signal this whenever we
11319           add to the buffers list. This will allow tests to not busy-wait on
11320           the buffer-list.
11321
11322 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11323
11324         * libs/gst/dataprotocol/dataprotocol.c:
11325         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11326         (gst_dp_packet_from_event):
11327           factor out some common header init code
11328
11329 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11330
11331         * docs/libs/gstreamer-libs-sections.txt:
11332         * docs/libs/tmpl/gstdataprotocol.sgml:
11333         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11334         * libs/gst/dataprotocol/dataprotocol.h:
11335           API: make gst_dp_crc() public
11336
11337 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11338
11339         * plugins/indexers/gstindexers.c: (plugin_init):
11340         conditionally register fileindexer (fixes #343598)
11341
11342 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11343
11344         * gst/gsttagsetter.h:
11345         Can't cast ifaces to a class
11346
11347         * libs/gst/net/gstnetclientclock.h:
11348         * libs/gst/net/gstnettimeprovider.h:
11349         * plugins/elements/gstfakesink.h:
11350         * plugins/elements/gstfakesrc.h:
11351         * plugins/elements/gstfdsink.h:
11352         * plugins/elements/gstfdsrc.h:
11353         * plugins/elements/gstfilesink.h:
11354         * plugins/elements/gstfilesrc.h:
11355         * plugins/elements/gstidentity.h:
11356         * plugins/elements/gstqueue.h:
11357         * plugins/elements/gsttee.h:
11358         * plugins/indexers/gstfileindex.c:
11359         * plugins/indexers/gstmemindex.c:
11360         * tests/old/examples/plugins/example.h:
11361         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11362
11363 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11364
11365         * libs/gst/dataprotocol/dataprotocol.c:
11366         (gst_dp_header_from_buffer):
11367           make sure we zero the whole ABI-compatible area
11368
11369 2006-06-01  Wim Taymans  <wim@fluendo.com>
11370
11371         Patch by: Alessandro Decina <alessandro at nnva dot org>
11372
11373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11374         Make sure the EOS flag is cleared from pads after a flush
11375         or stop. Fixes #343538.
11376
11377         * tests/check/libs/collectpads.c: (GST_START_TEST),
11378         (gst_collect_pads_suite):
11379         Added test for collectpads reusage after EOS.
11380
11381 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
11382
11383         * gst/gst.c:
11384          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11385         * win32/common/libgstbase.def:
11386          export gst_collect_pads_set_flushing
11387         * win32/common/libgstreamer.def:
11388          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11389          gst_value_fraction_multiply
11390         * win32/vs6/gst_inspect.dsp:
11391          add a link to intl.lib
11392
11393 2006-05-30  Wim Taymans  <wim@fluendo.com>
11394
11395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11396         (gst_collect_pads_chain):
11397         Handle the case where a pad is removed from the collection
11398         that could cause the other pads to become collectable.
11399
11400 2006-05-30  Wim Taymans  <wim@fluendo.com>
11401
11402         * gst/gstelement.c:
11403         Clarify the use of _release_request_pad() and
11404         _get_request_pad() a bit better.
11405
11406         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11407         (gst_adapter_take_buffer):
11408         Fix some doc and comment typos.
11409
11410 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11411
11412         * docs/gst/gstreamer-sections.txt:
11413         * docs/libs/gstreamer-libs-sections.txt:
11414           add declared symbols
11415
11416 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
11417
11418         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11419         Add debug that can be enabled using a #define at the top of the file,
11420         for dumping stats about how late/early we were when waking up from
11421         waiting on the clock.
11422
11423 2006-05-30  Wim Taymans  <wim@fluendo.com>
11424
11425         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11426         When rebuilding the pad list, don't leak the previous list.
11427
11428 2006-05-30  Wim Taymans  <wim@fluendo.com>
11429
11430         Patch by: Lutz Mueller <lutz at topfrose dot de>
11431
11432         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11433         (gst_base_src_get_query_types), (gst_base_src_update_length):
11434         Publish supported query types.
11435         Update last_stop field in get_range mode so the position
11436         query works. Fixes #342321.
11437
11438 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
11439
11440         * docs/gst/gstreamer-sections.txt:
11441         * gst/gsttaglist.c: (_gst_tag_initialize):
11442         * gst/gsttaglist.h:
11443           API: add GST_TAG_PREVIEW_IMAGE (#343341).
11444
11445 2006-05-30  Wim Taymans  <wim@fluendo.com>
11446
11447         Patch by: Alessandro Decina <alessandro at nnva dot org>
11448
11449         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11450         Unlock mutex when removing an unknown pad.
11451         Fixes #343334.
11452
11453         * tests/check/Makefile.am:
11454         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11455         (push_event), (setup), (teardown), (GST_START_TEST),
11456         (gst_collect_pads_suite), (main):
11457         Added collecpads check, disabled for now as check crashes for
11458         some reason.
11459
11460 2006-05-29  Wim Taymans  <wim@fluendo.com>
11461
11462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11463         Don't leak pads lists.
11464
11465 2006-05-29  Wim Taymans  <wim@fluendo.com>
11466
11467         * docs/libs/gstreamer-libs-sections.txt:
11468         * libs/gst/base/gstcollectpads.c:
11469         (gst_collect_pads_set_flushing_unlocked),
11470         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11471         (gst_collect_pads_stop):
11472         * libs/gst/base/gstcollectpads.h:
11473         API: gst_collect_pads_set_flushing()
11474         Added api to set the pads to flushing, useful for seeking
11475         code in elements using collectpads.
11476         Clear segment when receiving a flush.
11477
11478 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * gst/gst.c: (add_path_func), (init_post):
11481           Don't scan registry paths passed via --gst-plugin-path immediately
11482           (will crash, because absolutely nothing is set up and no types are
11483           registered etc.); do this later in init_post(). Fixes #343057.
11484
11485 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11486
11487         * gst/gst.c: (init_post):
11488           if we have fork, fork while reading/rebuilding the registry
11489           so the parent doesn't take the hit of having all plugins loaded
11490           in memory.  Fixes #342777.
11491         * configure.ac:
11492           Check if we have fork()
11493         * win32/common/config.h.in:
11494           no fork() on win32
11495
11496 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11497
11498         * plugins/elements/gstelements.c:
11499         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11500         (gst_file_src_init), (gst_file_src_set_property),
11501         (gst_file_src_get_property), (gst_file_src_start):
11502         * plugins/elements/gstfilesrc.h:
11503           API: GstFileSrc::use-mmap
11504
11505         Add a use-mmap property to enable easier testing of all code paths.
11506         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11507         in the absence of gnomevfssrc. (Closes #340501)
11508
11509 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11510
11511         * tools/gst-inspect.c:
11512         Add missing include, removes warning of ngettext not being defined on
11513         some arches.
11514
11515 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11516
11517         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11518         Handle NULL input and output pointers silently as a failed conversion,
11519         rather than g_warnings.
11520
11521 2006-05-25  Wim Taymans  <wim@fluendo.com>
11522
11523         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11524         Initialize variable before using. Fixes #342820.
11525
11526 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
11527
11528         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11529           Fix off-by-one bug that would only allow peeks of N-1 bytes
11530           from the start even if the buffer to typefind on contains
11531           in fact N bytes of data (makes vorbis typefinding from a
11532           vorbis identification header buffer work).
11533
11534         * tests/check/Makefile.am:
11535         * tests/check/libs/.cvsignore:
11536         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11537         (gst_typefindhelper_suite), (main), (foobar_typefind),
11538         (plugin_init):
11539           Add very basic unit test for gst_type_find_helper_for_buffer()
11540           that checks for the problem fixed above.
11541
11542 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11543
11544         * tools/gst-inspect.c: (print_interfaces),
11545         (print_element_properties_info), (print_element_list), (main):
11546           add more translatable strings
11547
11548 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
11549
11550         Patch by: Julien Moutte  <julien at moutte net>
11551
11552         * docs/gst/gstreamer-sections.txt:
11553           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11554           
11555         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11556         (gst_fake_sink_preroll):
11557         * plugins/elements/gstfakesink.h:
11558           API: Add new GstFakeSink::preroll-handoff signal (#337100).
11559
11560 2006-05-23  Wim Taymans  <wim@fluendo.com>
11561
11562         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11563         * gst/gstpad.h:
11564         Added _CUSTOM error and success GstFlowReturn that can be
11565         used be elements internally. 
11566         Added macro to check for SUCCESS flowreturns.
11567         API: GST_FLOW_CUSTOM_SUCCESS
11568         API: GST_FLOW_CUSTOM_ERROR
11569         API: GST_FLOW_IS_SUCCESS
11570
11571         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11572         Added check for GstFlowReturn sanity.
11573
11574 2006-05-23  Wim Taymans  <wim@fluendo.com>
11575
11576         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11577
11578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11579         (gst_collect_pads_event):
11580         clear/reset segment info in FLUSH_STOP.
11581         Fixes #336929.
11582
11583 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
11584
11585         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11586         (gst_collect_pads_check_collected):
11587         Flush queued buffer on _stop(), fixes playing again (#342454)
11588
11589 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11590
11591         * tests/check/gst/gststructure.c: (GST_START_TEST),
11592         (gst_structure_suite):
11593           add a test for a complete structure
11594
11595 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11596
11597         * docs/faq/developing.xml:
11598         * docs/faq/faq.xml:
11599         * docs/faq/troubleshooting.xml:
11600         * docs/faq/using.xml:
11601           Some minor FAQ updates that won't change the fact that
11602           our FAQ is badly structured, full of information hardly
11603           anyone new to GStreamer needs to know and lacking lots
11604           of information people constantly ask for.
11605           
11606 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
11607
11608         * gst/gstpad.c: (gst_pad_set_caps):
11609           Short-circuit gst_pad_set_caps if setting the existing
11610           caps pointer again, and avoid printing debug and 
11611           reffing/unreffing the caps.
11612
11613         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11614           There's actually no need to set the caps before pushing -
11615           the acceptcaps method will handle it anyway.
11616
11617 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * docs/gst/gstreamer-sections.txt:
11620         * win32/common/libgstreamer.def:
11621         * gst/gstutils.c: (gst_element_seek_simple):
11622         * gst/gstutils.h:
11623           API: add gst_element_seek_simple() (#342238).
11624
11625 2006-05-18  Edward Hervey  <edward@fluendo.com>
11626
11627         * gst/gsttypefind.c: (gst_type_find_get_type):
11628         * gst/gsttypefind.h:
11629         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11630         registered for GstTypeFind pointers. This allows wrapping the structure
11631         in bindings (i.e. gst-python).
11632
11633 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11634
11635         * gst/gsttagsetter.c:
11636           Docs additions and fixes (see #339918).
11637
11638 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11639
11640         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11641         The caps intersection algorithm can produce multiple copies of the
11642         caps. Until that is fixed, we need to simplify the result to be
11643         sure whether the allowed caps are fixed or not.
11644
11645         * plugins/elements/gstqueue.c: (gst_queue_init),
11646         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11647         (gst_queue_push_one):
11648         Proxied buffer alloc should not set the caps on the source pad.
11649         When pushing buffers, we always accept the caps change that triggers.
11650         This prevents negotiation errors caused by caps changing mid-stream 
11651         and then being refused on our source pad (because upstream is now
11652         refusing those caps).
11653
11654 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11655
11656         * tests/examples/helloworld/helloworld.c: (main):
11657           Must plug audioconvert and audioresample between decoder
11658           and audio sink.
11659
11660 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
11661
11662         * gst/gstregistryxml.c: (read_string), (load_pad_template),
11663         (load_feature), (load_plugin):
11664         Allow empty strings for some of the plugin fields so we don't 
11665         drop valid plugin entries that were written out correctly
11666         (Fixes #341479)
11667
11668 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
11669         
11670         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11671           Use g_remove and g_rename instead of remove and rename that don't 
11672           handle utf8 characters. rename was failing for users who had specific
11673           characters in their name then the registry was built at each 
11674           gstreamer init.
11675         * win32/vs6/gst_inspect.dsp:
11676         * win32/vs6/gst_launch.dsp:
11677         * win32/vs6/libgstbase.dsp:
11678         * win32/vs6/libgstcoreelements.dsp:
11679         * win32/vs6/libgstreamer.dsp:
11680           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
11681           build of libgstreamer and clean unused libraries in projects link 
11682           settings.
11683
11684 2006-05-17  Edward Hervey  <edward@fluendo.com>
11685
11686         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11687         The queue is not responsible for pushing an EOS when receiving a fatal
11688         flow error. It's up to the real element driving the pipeline to do that.
11689
11690 2006-05-16  Edward Hervey  <edward@fluendo.com>
11691
11692         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11693         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11694         buffer returned a fatal error. It should just send an EOS and stop
11695         its task.
11696         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11697         when pushing buffers on the queue and will be able to handle the event.
11698
11699 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
11700
11701         * docs/manual/basics-bins.xml:
11702         * docs/manual/basics-init.xml:
11703           Fix typos and minor errors in sample code (#341856).
11704
11705 2006-05-16  Wim Taymans  <wim@fluendo.com>
11706
11707         * docs/design/part-qos.txt:
11708         Fix indexes in formulas to make more sense.
11709
11710 2006-05-15  Wim Taymans  <wim@fluendo.com>
11711
11712         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11713         Don't report POSITION based on clock time if sync is
11714         disabled in a sink.
11715
11716 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * gst/gstobject.h:
11719           Add cast to make compiler happy - refcount variable was a gint
11720           in GstObject but is a guint in GObject and g_atomic_int_get()
11721           wants a gint *.
11722
11723 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11724
11725         * gst/parse/Makefile.am:
11726           chain commands using &&, which also makes parallel make work
11727
11728 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
11729
11730         * docs/gst/gstreamer-sections.txt:
11731         * gst/gstevent.c:
11732         * gst/gstevent.h:
11733         * gst/gstmessage.h:
11734           Minor docs fixes.
11735
11736 === release 0.10.6 ===
11737
11738 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
11739
11740         * configure.ac:
11741           releasing 0.10.6, "Take the cannoli"
11742
11743 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11744
11745         * tools/gst-launch.c: (print_tag):
11746           Fix use of uninitialized variable in the hypothetical
11747           case that some broken plugin creates a GST_TAG_IMAGE
11748           tag containing a NULL buffer (#341667).
11749
11750 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11751
11752         * tools/gst-launch.c: (print_tag):
11753           Print something more intelligible for image tags when
11754           using the -t switch (#341556).
11755
11756 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11757
11758         * Makefile.am:
11759           updates for win32
11760         * configure.ac:
11761           define GST_MAJORMINOR so we have it available in win32/common/config.h
11762           Possibly remove it from our Makefile.am files later
11763         * win32/common/config.h:
11764         * win32/common/config.h.in:
11765           added GST_MAJORMINOR
11766         * win32/common/gstenumtypes.c: (register_gst_resource_error):
11767         * win32/common/gstversion.h:
11768           updated
11769
11770 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
11771
11772         * win32/MANIFEST:
11773           Update win32 files listing.
11774         * win32/common/gstversion.h:
11775           Add GST_MAJORMINOR definition.
11776         * win32/common/libgstreamer.def:
11777           Add new exported functions.
11778           
11779 2006-05-12  Michael Smith  <msmith@fluendo.com>
11780
11781         * gst/gstplugin.c: (gst_plugin_load_file):
11782           If an so file has no plugin entry point, unload the module.
11783
11784 2006-05-11  Wim Taymans  <wim@fluendo.com>
11785
11786         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11787         (gst_queue_set_property):
11788         Don't forget to signal the _chain or _loop function 
11789         when the queue size or thresholds change since that might
11790         cause them to make progres again.
11791
11792 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
11793
11794         * gst/gstclock.c: (gst_clock_class_init):
11795         * gst/gstindex.c: (gst_index_class_init):
11796         * gst/gstobject.c: (gst_object_class_init):
11797         * gst/gstpad.c: (gst_pad_class_init):
11798         * gst/gstpipeline.c: (gst_pipeline_class_init):
11799         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11800         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11801         * libs/gst/base/gstbasetransform.c:
11802         (gst_base_transform_class_init):
11803         * libs/gst/net/gstnetclientclock.c:
11804         (gst_net_client_clock_class_init):
11805         * libs/gst/net/gstnettimeprovider.c:
11806         (gst_net_time_provider_class_init):
11807         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11808         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11809         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11810         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11811         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11812         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11813         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11814         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11815         * plugins/elements/gsttee.c: (gst_tee_class_init):
11816         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11817         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11818           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11819
11820 2006-05-11  Wim Taymans  <wim@fluendo.com>
11821
11822         * gst/gstbuffer.c: (_gst_buffer_initialize):
11823         Register subbufer along with the buffer type so that
11824         it does not accidentally gets registered from N
11825         different streaming threads in a non threadsafe way.
11826
11827 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11828
11829         * gst/gstbuffer.h:
11830         * gst/gstevent.h:
11831         * gst/gstmessage.h:
11832           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11833           gst_event_ref() and gst_message_ref() functions again
11834           (ugly hack, please do fix if there's a better way besides
11835           overrides.txt, which doesn't seem to work).
11836
11837 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11838
11839         * libs/gst/check/gstcheck.h:
11840           add an assert for setting state to avoid lots of repetitive code
11841           in the future
11842
11843 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11844
11845         * gst/gstvalue.c: (gst_value_serialize_flags):
11846           fix a leak if no flags are set
11847         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11848           fix leak in tests
11849
11850 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11851
11852         * docs/manual/basics-pads.xml:
11853           Expand a bit on caps and filtered links and update
11854           examples that were still using the no longer existing
11855           gst_pad_link_filtered() (#338206).
11856
11857 2006-05-10  Wim Taymans  <wim@fluendo.com>
11858
11859         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11860         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11861         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11862         (gst_collect_pads_stop):
11863         * libs/gst/base/gstcollectpads.h:
11864         No need to call _stop in _finalize.
11865         Iterate the main pad list in _finalize.
11866         Added some more debug.
11867         Free lists and data in the right order.
11868         Also free data whem doing _remove_pad when stopped for
11869         backward compatibility protect ::started with PAD_LOCK as
11870         well.
11871
11872 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11873
11874         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11875         (gst_structure_parse_value):
11876           add some comments
11877           rename a method so that it actually says what it does better
11878
11879 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11880
11881         * gst/gstevent.c: (_gst_event_initialize):
11882         * gst/gstformat.c: (_gst_format_initialize):
11883           make sure some essential types used by events are registered
11884           as part of gst_init()
11885         * gst/gstvalue.c: (gst_value_serialize_flags):
11886           if no flags are set, serialize them to a value that represents NONE
11887           so that deserializing them works
11888         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11889           add tests for serialization and deserialization of flags
11890
11891 2006-05-10  Wim Taymans  <wim@fluendo.com>
11892
11893         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11894         (gst_collect_pads_collect_range), (gst_collect_pads_available),
11895         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11896         (gst_collect_pads_event), (gst_collect_pads_chain):
11897         Update docs.
11898         Better debug info.
11899         Catch and return errors from the collect function
11900         Refuse data on eos pads.
11901
11902 2006-05-10  Edward Hervey  <edward@fluendo.com>
11903
11904         * gst/gstinterface.h:
11905         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11906         GInterface type checking.
11907         They were previously using non-defined macros.
11908
11909 2006-05-09  Wim Taymans  <wim@fluendo.com>
11910
11911         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11912         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11913         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11914         (gst_collect_pads_start), (gst_collect_pads_stop),
11915         (gst_collect_pads_peek), (gst_collect_pads_pop),
11916         (gst_collect_pads_available), (gst_collect_pads_read),
11917         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11918         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11919         (gst_collect_pads_chain):
11920         * libs/gst/base/gstcollectpads.h:
11921         Clean up the mess that is collectpads, add comments and
11922         FIXMEs where needed.
11923         Maintain a separate pad list so we can add pads while
11924         collecting the other ones. For this we need a new separate 
11925         lock (see comics).
11926         Fix memory leak in finalize.
11927         Refactor some weird code to set/unset pad flushing flags, mark
11928         with comments.
11929         Don't crash in _available, _read, _flush when we're EOS.
11930
11931         * tests/check/libs/.cvsignore:
11932         Ignore adapter check binary.
11933
11934 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11935
11936         * gst/gstindex.c: (gst_index_resolver_get_type):
11937         * plugins/elements/gstfakesink.c:
11938         (gst_fake_sink_state_error_get_type):
11939         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11940         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11941         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11942           Const-ify GEnumValue arrays.
11943
11944 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11945
11946         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11947           Add test case for flags + gst_buffer_make_metadata_writable().
11948
11949 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11950
11951         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11952           gst_buffer_make_metadata_writable() should maintain the
11953           buffer flags (those that make sense at least) (see #340859).
11954
11955 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11956
11957         * tools/gst-inspect.c:
11958         * tools/gst-launch.c:
11959         * tools/gst-typefind.c:
11960         * tools/gst-xmlinspect.c:
11961         * tools/tools.h:
11962           Fix up includes: need to include stdlib.h in tools.h for exit().
11963
11964 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11965
11966         * gst/gsttaglist.c: (_gst_tag_initialize):
11967         * gst/gsttaglist.h:
11968           API: add GST_TAG_IMAGE tag (#340721).
11969
11970 2006-05-08  Wim Taymans  <wim@fluendo.com>
11971
11972         * gst/gstquery.c:
11973         Added some docs for the segment query.
11974
11975 2006-05-08  Wim Taymans  <wim@fluendo.com>
11976
11977         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11978         (gst_base_src_loop), (gst_base_src_change_state):
11979         Always push non-flushing serialized events in the streaming 
11980         thread.
11981
11982 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11983
11984         * gst/gsterror.c: (_gst_stream_errors_init):
11985           Add a missing error string.
11986
11987 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11988
11989         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11990         Add applied_rate to the debug
11991
11992         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11993         Copy applied_rate into the outgoing NEWSEGMENT event
11994
11995 2006-05-08  Wim Taymans  <wim@fluendo.com>
11996
11997         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11998
11999         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12000         (gst_base_sink_change_state):
12001         call ::unlock before taking the PREROLL_LOCK so we can safely
12002         handle elements that lock in ::render.
12003         Fixes #340174.
12004
12005 2006-05-08  Edward Hervey  <edward@fluendo.com>
12006
12007         * autogen.sh: (CONFIGURE_DEF_OPT): 
12008         Darwin's libtoolize is in fact called glibtoolize.
12009         Adding glibtoolize to the list of accepted names for libtoolize.
12010
12011 2006-05-08  Wim Taymans  <wim@fluendo.com>
12012
12013         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12014         Unify error handling, don't post an error message
12015         when a push() returns EOS but perform our normal EOS
12016         handling code. Fixes #340772.
12017
12018 2006-05-08  Wim Taymans  <wim@fluendo.com>
12019
12020         * docs/design/part-overview.txt:
12021         Make upsteam/downstream concepts more clear.
12022         Give an example of serialized/non-serialized events.
12023
12024         * docs/design/part-events.txt:
12025         * docs/design/part-streams.txt:
12026         Mention applied_rate.
12027
12028         * docs/design/part-trickmodes.txt:
12029         Mention applied rate, flesh out some more use cases.
12030
12031         * gst/gstevent.c: (gst_event_new_new_segment),
12032         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12033         (gst_event_parse_new_segment_full), (gst_event_new_tag),
12034         (gst_event_parse_tag), (gst_event_new_buffer_size),
12035         (gst_event_parse_buffer_size), (gst_event_new_qos),
12036         (gst_event_parse_qos), (gst_event_parse_seek),
12037         (gst_event_new_navigation):
12038         * gst/gstevent.h:
12039         Add applied_rate field to NEWSEGMENT event.
12040         API: gst_event_new_new_segment_full()
12041         API: gst_event_parse_new_segment_full()
12042
12043         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12044         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12045         (gst_segment_to_stream_time), (gst_segment_to_running_time):
12046         * gst/gstsegment.h:
12047         Add applied_rate to GstSegment structure.
12048         Make calculation of stream_time and running_time more correct
12049         wrt rate/applied_rate.
12050         Add some more docs.
12051         API: GstSegment::applied_rate field
12052         API: gst_segment_set_newsegment_full();
12053
12054         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12055         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
12056         * libs/gst/base/gstbasetransform.c:
12057         (gst_base_transform_sink_eventfunc),
12058         (gst_base_transform_handle_buffer):
12059         Parse and use applied_rate in the GstSegment field.
12060
12061         * tests/check/gst/gstevent.c: (GST_START_TEST):
12062         Add check for applied_rate field.
12063
12064         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12065         (gstsegments_suite):
12066         Add more checks for various GstSegment operations.
12067
12068 2006-05-08  Wim Taymans  <wim@fluendo.com>
12069
12070         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12071         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
12072         (gst_base_sink_get_position), (gst_base_sink_change_state):
12073         Store the sync time of the buffer end position separatly in a
12074         new variable eos_rtime so we can properly sync the EOS event.
12075         Fixes #340697.
12076         Fix the docs for gst_base_sink_set_qos_enabled().
12077         Don't set segment start to invalid value when we receive a 
12078         non TIME newsegment.
12079         get closer to handling position reporting for negative rates 
12080         correctly.
12081
12082 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12083
12084         * gst/gstcaps.c:
12085         Docs about how to print caps for debug purposes.
12086
12087         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
12088         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
12089
12090 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12091
12092         * gst/gstelement.c:
12093           use full enum names and preprend a '%' in docs strings to make recent 
12094           gtk-doc turn that into a link
12095
12096 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12097
12098         * docs/manual/basics-bins.xml:
12099         * docs/manual/basics-bus.xml:
12100         * docs/manual/basics-pads.xml:
12101           Some typo fixes, some additions, some clarifications. 
12102
12103 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * tools/gst-inspect.c: (main):
12106         * tools/gst-launch.c: (main):
12107         * tools/gst-run.c: (main):
12108         * tools/gst-typefind.c: (main):
12109         * tools/gst-xmlinspect.c: (main):
12110           Use the string passed to g_option_context_new() for
12111           what it's intended for - the program name is already
12112           printed elsewhere.
12113
12114 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * tools/Makefile.am:
12117         * tools/gst-inspect.c: (main):
12118         * tools/gst-launch.c: (main):
12119         * tools/gst-xmlinspect.c: (main):
12120         * tools/tools.h:
12121           Add back --version command line option (#340460).
12122
12123         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
12124           Add --version option and use GOption for argument parsing; refactor a
12125           bit; accept directories as arguments and recurse into them; lastly,
12126           print a decent error message when things go wrong.
12127
12128 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12129
12130         * docs/manual/basics-bins.xml:
12131         Don't mention GstThread (#340611)
12132         * docs/manual/basics-elements.xml:
12133         Update link to GObject tutorial (#340607)
12134         
12135 2006-05-05  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/gstbuffer.h:
12138         * gst/gstminiobject.c:
12139         Add note about refcounting and miniobject/buffer writeability
12140         to docs. Fixes #340604
12141
12142         * gst/gstelementfactory.h:
12143         Added some explanation about @klass.
12144
12145 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12146
12147         * docs/manual/intro-motivation.xml:
12148         * docs/manual/manual.xml:
12149         Avoid CORBA & Bonobo references (#340598)
12150
12151 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12152
12153         * docs/manual/basics-bus.xml:
12154         * docs/manual/basics-pads.xml:
12155         Fix up some inaccuracies and omissions (#340609)
12156         
12157 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12158
12159         * gst/gstghostpad.c:
12160           Small typo in docs (#340625)
12161
12162 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12163
12164         * gst/parse/Makefile.am:
12165           Make 'make -j' proof (see #340698).
12166
12167 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12168
12169         * configure.ac:
12170           Require GLib-2.8 here as well.
12171
12172 2006-05-05  Wim Taymans  <wim@fluendo.com>
12173
12174         * gst/glib-compat.c:
12175         * gst/gst.c: (init_pre):
12176         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12177         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
12178         (gst_object_dispatch_properties_changed):
12179         * gst/gstobject.h:
12180         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12181         * gst/gststructure.c: (gst_structure_set_valist):
12182         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
12183         Remove pre glib2.8 compatibility, fixes #340508
12184
12185 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         * gst/gsttaglist.h:
12188           Mention type of tags in doc blurbs.
12189
12190 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
12191
12192         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12193         (gst_pad_configure_src), (gst_pad_push):
12194         Restore acceptcaps checking behaviour now that good plugins have
12195         been released.
12196
12197 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12198
12199         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
12200
12201         * gst/gst.c:
12202         * gst/gstbus.c:
12203         * gst/gstclock.c:
12204         * gst/gstevent.c:
12205         * gst/gstformat.c:
12206         * gst/gstmessage.c:
12207         * gst/gstparse.c:
12208         * gst/gstquery.c:
12209         * gst/gstutils.c:
12210         * gst/parse/Makefile.am:
12211         * libs/gst/base/gstadapter.c:
12212         * libs/gst/base/gstbasesrc.c:
12213         * libs/gst/base/gstpushsrc.c:
12214         * libs/gst/base/gsttypefindhelper.c:
12215         * plugins/elements/gstfakesrc.c:
12216         * plugins/elements/gstidentity.c:
12217           Make sure gstprivate.h and/or config.h are
12218           always included first, otherwise some of our
12219           defines (like _FILE_OFFSET_BITS) might be
12220           redefined in the system headers. Fixes build
12221           on opensolaris (#340016).
12222
12223 2006-05-04  Wim Taymans  <wim@fluendo.com>
12224
12225         * docs/libs/gstreamer-libs-sections.txt:
12226         API: addition: gst_adapter_take_buffer()
12227         
12228         * libs/gst/base/gstadapter.c: (gst_adapter_push),
12229         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
12230         (gst_adapter_available_fast):
12231         * libs/gst/base/gstadapter.h:
12232         Prepare for optimizing the hell out of this hugely inefficient
12233         piece of code. 
12234         Added gst_adapter_take_buffer() so we can at least start thinking
12235         about subbuffering and merging.
12236         Added some comments.
12237
12238         * tests/check/Makefile.am:
12239         * tests/check/libs/adapter.c: (GST_START_TEST),
12240         (gst_adapter_suite), (main):
12241         Added GstAdapter check.
12242
12243 2006-05-04  Wim Taymans  <wim@fluendo.com>
12244
12245         * docs/design/part-overview.txt:
12246         Fix some typos, add blurb about buffer flags.
12247
12248 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12249
12250         * docs/libs/gstreamer-libs-sections.txt:
12251           make sure GstBaseTransformClass shows up in the docs
12252         * libs/gst/base/gstbasetransform.c:
12253         * libs/gst/base/gstbasetransform.h:
12254           move docs so gtk-doc picks it up now
12255
12256 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12257
12258         * docs/libs/gstreamer-libs-sections.txt:
12259           add missing symbols to docs
12260
12261 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12262
12263         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12264           back out the newsegment handling change, see #340060 for ongoing
12265           discussion
12266
12267 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
12268
12269         * tools/gst-run.c: (get_candidates), (main):
12270           Fix wrong g_file_test() usage (see glib docs for why it doesn't
12271           work); fix typo in error message. Fixes #340079.
12272
12273 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12274
12275         * common/Makefile.am:
12276         * docs/Makefile.am:
12277         * docs/faq/Makefile.am:
12278         * docs/gst/Makefile.am:
12279         * docs/libs/Makefile.am:
12280         * docs/manual/Makefile.am:
12281         * docs/plugins/Makefile.am:
12282         * docs/pwg/Makefile.am:
12283         * docs/slides/Makefile.am:
12284         * docs/upload.mak:
12285         * common/upload.mak:
12286           move upload.mak to common
12287
12288 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12289
12290         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12291           add more asserts on refcounts
12292           do more cleanup at end of tests
12293           fix test leaks showing in FC5
12294
12295 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
12296
12297         * plugins/elements/gsttypefindelement.c:
12298         (gst_type_find_element_handle_event):
12299         reverted wrong change and reflowed code to avoid others falling into
12300         this trap
12301
12302 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12303
12304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12305           fix changelog entry about last collectpads change,
12306           add notes about proper fix
12307
12308 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12309
12310         * gst/gst.c:
12311         * gst/gstregistry.c: (gst_registry_scan_path_level),
12312         (gst_registry_scan_path):
12313         * gst/gstregistry.h:
12314           only write out registry if it has changed, fixes #338339
12315
12316 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12317
12318         * gst/gstbin.c:
12319         * gst/gstpipeline.c:
12320         * plugins/elements/gstcapsfilter.c:
12321         * plugins/elements/gstfakesink.c:
12322         * plugins/elements/gstfakesrc.c:
12323         * plugins/elements/gstfdsink.c:
12324         * plugins/elements/gstfdsrc.c:
12325         * plugins/elements/gstfilesink.c:
12326         * plugins/elements/gstfilesrc.c:
12327         * plugins/elements/gstidentity.c:
12328         * plugins/elements/gstqueue.c:
12329         * plugins/elements/gsttee.c:
12330         * plugins/elements/gsttypefindelement.c:
12331         (gst_type_find_element_handle_event):
12332           make GstElementDetails const
12333
12334 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12335
12336         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12337         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12338         (gst_collect_pads_is_collected), (gst_collect_pads_event):
12339           more detailed debug and formatting cleanup,
12340           forward newsegments to src-pad (so that e.g. adder not eats them)
12341
12342 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12343
12344         * gst/gstutils.c: (gst_element_link_pads):
12345           cleanup double code
12346
12347 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12348
12349         * libs/gst/controller/gstcontroller.c:
12350         (gst_controller_sync_values):
12351           some little tuning
12352         * tests/check/libs/controller.c: (GST_START_TEST),
12353         (gst_controller_suite):
12354           a new test for live value handling
12355
12356 2006-04-28  Wim Taymans  <wim@fluendo.com>
12357
12358         * gst/gstutils.c: (push_and_ref):
12359         Added some more docs.
12360         Fix refcount issue whith gst_element_found_tags() helper 
12361         function. Fixes #338335
12362
12363         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12364         Added testsuite for gst_element_found_tags().
12365
12366 2006-04-28  Michael Smith  <msmith@fluendo.com>
12367
12368         * gst/gstvalue.c: (gst_value_serialize_flags):
12369           Avoid NULL dereference when trying to serialize flags containing
12370           invalid values.
12371
12372 2006-04-28  Michael Smith  <msmith@fluendo.com>
12373
12374         * plugins/elements/gsttypefindelement.c:
12375         (gst_type_find_element_handle_event):
12376           If we get EOS before any data is accumulated, don't use
12377           uninitialised local variables.
12378
12379 2006-04-28  Michael Smith  <msmith@fluendo.com>
12380
12381         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12382         (gst_dp_event_from_packet):
12383           Fixes in reading/writing events over GDP (not currently used?) - 
12384           dereferencing NULL events for unknown/invalid event types, memory
12385           leak, and change g_warning to GST_WARNING.
12386
12387 2006-04-28  Wim Taymans  <wim@fluendo.com>
12388
12389         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12390         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12391         (gst_base_sink_get_position), (gst_base_sink_change_state):
12392         When frame dropping is enabled, we should not ignore frames
12393         without a duration.
12394         Update some documentation.
12395
12396 2006-04-28  Wim Taymans  <wim@fluendo.com>
12397
12398         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12399         (gst_base_src_send_event), (gst_base_src_change_state):
12400         Documentation updates.
12401
12402 2006-04-28  Wim Taymans  <wim@fluendo.com>
12403
12404         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12405         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12406         handle EAGAIN, EINTR and short writes correctly. Also clean
12407         up some error cases, avoid a deadlock on bad file descriptors and
12408         use GST_DEBUG_OBJECT.
12409         Fixes #339843
12410
12411 2006-04-28  Wim Taymans  <wim@fluendo.com>
12412
12413         * gst/gstvalue.c: (gst_value_serialize_buffer),
12414         (gst_value_deserialize_buffer):
12415         Don't try to serialize a GValue with a NULL buffer. 
12416         Fixes #339821.
12417
12418         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12419         Added check for serialisation of NULL buffers.
12420
12421 2006-04-28  Wim Taymans  <wim@fluendo.com>
12422
12423         * gst/gstminiobject.c: (gst_value_take_mini_object):
12424         Taking a NULL miniobject is valid, fix the case where
12425         we try to unref the NULL miniobject.
12426
12427 2006-04-28  Wim Taymans  <wim@fluendo.com>
12428
12429         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12430
12431         * gst/gstbin.c: (gst_bin_handle_message_func):
12432         Update docs.
12433         Don't leak bin refcount when a state recalc is
12434         in progress and we delay another one #339808.
12435
12436 2006-04-28  Wim Taymans  <wim@fluendo.com>
12437
12438         * docs/design/part-TODO.txt:
12439         Mention QoS as an ongoing work item.
12440
12441         * docs/design/part-buffering.txt:
12442         New doc about buffering that needs to be fleshed out
12443         at some point.
12444
12445         * docs/design/part-qos.txt:
12446         More QoS policy for decoders/demuxers/transforms
12447
12448         * docs/design/part-trickmodes.txt:
12449         Small update.
12450
12451 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12452
12453         * configure.ac:
12454           back to HEAD
12455
12456 === release 0.10.5 ===
12457
12458 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
12459
12460         * configure.ac:
12461           releasing 0.10.5, "Fogo"
12462
12463 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12464
12465         patch by: Wim Taymans
12466
12467         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12468         (gst_pad_configure_src), (gst_pad_push):
12469         * gst/gstpipeline.c: (gst_pipeline_init):
12470           Fix internal data flow errors.  Fixes #338711.
12471
12472 2006-04-12  Wim Taymans  <wim@fluendo.com>
12473
12474         * tests/check/gst/gstelement.c: (GST_START_TEST):
12475         Don't leak the factory.
12476
12477 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12478
12479         * configure.ac:
12480         * win32/common/config.h:
12481           prerelease
12482
12483 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
12484
12485         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12486         (gst_controller_unset_all):
12487           Free allocated GstTimedValues when freeing list nodes.
12488           Should fix leaks 'make check-valgrind' complains about.
12489
12490         * win32/common/libgstcontroller.def:
12491           Add gst_controller_unset_all.
12492
12493 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
12494
12495         * docs/libs/gstreamer-libs-sections.txt:
12496         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12497         (gst_controller_unset_all):
12498         * libs/gst/controller/gstcontroller.h:
12499         API: Added new method gst_controller_unset_all()
12500         fixed gst_controller_unset()
12501         * tests/check/libs/controller.c: (GST_START_TEST),
12502         (gst_controller_suite):
12503         Added two testcases for new and fixed method
12504
12505 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
12506
12507         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12508           MSG_DONTWAIT is not defined on Cygwin, so work
12509           around that (fixes #317048).
12510           
12511 2006-04-11  Wim Taymans  <wim@fluendo.com>
12512
12513         * gst/gstelementfactory.c: (gst_element_register),
12514         (gst_element_factory_create), (gst_element_factory_make):
12515         Some cleanups.
12516         Fixed a FIXME.
12517         Updated docs (Fixes #131079)
12518
12519         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12520         Small cleanups.
12521
12522         * tests/check/gst/gstelement.c: (GST_START_TEST),
12523         (gst_element_suite):
12524         Added testcase for elementfactory class field.
12525
12526 2006-04-10  Wim Taymans  <wim@fluendo.com>
12527
12528         * gst/gstsegment.c:
12529         Added some more docs.
12530
12531         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12532         (gst_base_sink_reset_qos):
12533         Calculate more accurate rate values.
12534
12535 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
12536
12537         * gst/gst_private.h:
12538           add a new #ifdef to use __declspec(dllimport) only for
12539           other modules and not for gstreamer core
12540         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12541           use gst_guint64_to_gdouble for conversion
12542         * win32/common/libgstreamer.def:
12543           add new exported functions
12544         * win32/vs6/gst_inspect.dsp:
12545         * win32/vs6/gst_launch.dsp:
12546         * win32/vs6/libgstbase.dsp:
12547         * win32/vs6/libgstcontroller.dsp:
12548         * win32/vs6/libgstcoreelements.dsp:
12549         * win32/vs6/libgstdataprotocol.dsp:
12550         * win32/vs6/libgstnet.dsp:
12551           update project files
12552
12553 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12554
12555         * gst/gstbuffer.c: (gst_subbuffer_class_init):
12556         * gst/gstclock.c: (gst_clock_class_init):
12557         * gst/gstelement.c: (gst_element_class_init):
12558         * gst/gstindex.c: (gst_index_class_init):
12559         * gst/gstindexfactory.c: (gst_index_factory_class_init):
12560         * gst/gstobject.c: (gst_object_class_init),
12561         (gst_signal_object_class_init):
12562         * gst/gstpad.c: (gst_pad_class_init):
12563         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12564         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12565         * gst/gstregistry.c: (gst_registry_class_init):
12566         * gst/gstsystemclock.c: (gst_system_clock_class_init):
12567         * gst/gsttask.c: (gst_task_class_init):
12568         * gst/gstxml.c: (gst_xml_class_init):
12569         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12570         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12571         (gst_base_src_loop):
12572         * libs/gst/controller/gstcontroller.c:/
12573         (_gst_controller_class_init):
12574         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12575         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12576         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12577         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12578         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12579         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12580
12581 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
12582
12583         * gst/gstpad.c: (gst_pad_link):
12584           Must set peer pads before calling the link function, otherwise
12585           a task started from a link function might get a flow-not-linked
12586           result when trying to push because the other thread where the
12587           linking happens hasn't had a chance to set the peers yet. This
12588           might happen for example when a queue gets linked to a downstream
12589           element, as queue starts a streaming task when its source pad
12590           gets linked. Happens in real life when playing back flac/musepack
12591           files in playbin (#332390).
12592           
12593 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12594
12595         * gst/gstindex.h:
12596         * gst/gstxml.h:
12597         * libs/gst/base/gstadapter.h:
12598         * libs/gst/base/gstbasesink.h:
12599         * libs/gst/base/gstbasesrc.h:
12600         * libs/gst/base/gstbasetransform.h:
12601         * libs/gst/base/gstcollectpads.h:
12602         * libs/gst/base/gstpushsrc.h:
12603         Fix broken GObject macros
12604
12605 2006-04-07  Wim Taymans  <wim@fluendo.com>
12606
12607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12608         Initialize start and stop times, thanks valgrind.
12609
12610 2006-04-07  Wim Taymans  <wim@fluendo.com>
12611
12612         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12613         Be a bit nicer to badly behaving upstream elements that expect
12614         us to deal with non TIME segments and timestamps (such as fakesrc
12615         in the testsuite).
12616
12617 2006-04-07  Wim Taymans  <wim@fluendo.com>
12618
12619         * gst/gstbus.c:
12620         Small documentation clarification about the signal watch.
12621
12622         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12623         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12624         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12625         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12626         (gst_base_sink_get_position_last),
12627         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12628         Convert and store timestamps in stream time and running time, the
12629         raw timestamps are not useful, also document this better.
12630         Use different window sizes for good and bad QoS observations so
12631         we react to badness a little quicker.
12632         Keep track of the amount of rendered and dropped buffers.
12633         Send QoS timestamps in running time.
12634
12635         * libs/gst/base/gstbasetransform.c:
12636         (gst_base_transform_sink_eventfunc),
12637         (gst_base_transform_handle_buffer):
12638         Compare QoS timestamps against running time.
12639
12640 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12641
12642         * gst/gstpad.c:
12643           Typo fixes in docs.
12644
12645 2006-04-06  Michael Smith  <msmith@fluendo.com>
12646
12647         * gst/gstpad.c: (gst_pad_set_property):
12648           Use g_value_get_object() instead of g_value_dup_gst_object(),
12649           to avoid double-reffing the pad template (which we then sink,
12650           so this worked previously if (and only if) the pad template
12651           was floating.
12652
12653         * gst/gstpadtemplate.c: (gst_pad_template_init),
12654         (gst_pad_template_pad_created):
12655           Never return floating references to pad templates, create
12656           them as initially-sunken.
12657
12658           Document an extra function (and make this stop sinking our
12659           pad template, since that is now guaranteed to do nothing,
12660           since we created it sunken).
12661
12662         * gst/gstghostpad.c:
12663           Fix docs typo.
12664
12665 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12666
12667         * gst/gstinfo.c: (__gst_in_valgrind):
12668           Add some newlines.
12669
12670         * plugins/elements/gsttypefindelement.c:
12671         (gst_type_find_element_chain):
12672           Don't leak buffer caps.
12673
12674 2006-04-06  Michael Smith  <msmith@fluendo.com>
12675
12676         * gst/parse/grammar.y:
12677           Fix a leak in parse-launch for any source-or-sink named element 
12678           references used.
12679
12680         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12681           Unref the pipeline if it exists after we've failed parsing.
12682
12683 2006-04-05  Michael Smith  <msmith@fluendo.com>
12684
12685         * gst/gstpipeline.c: (gst_pipeline_init):
12686           When we create a pipeline bus, initially create it in flushing mode.
12687           Fixes leaks in at least one test, and makes a new pipeline work the
12688           same as one that has gone to READY and then back to NULL.
12689
12690         * gst/gstelement.c:
12691           Typo fix in docs.
12692
12693 2006-04-05  Michael Smith  <msmith@fluendo.com>
12694
12695         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12696           Unref a pad we reffed.
12697         * tests/check/gst/gstutils.c: (GST_START_TEST):
12698           Unref bins
12699
12700 2006-04-05  Michael Smith  <msmith@fluendo.com>
12701
12702         * gst/gstquery.c: (gst_query_set_formats),
12703         (gst_query_set_formatsv):
12704           Fix leaking GValues in queries, as shown by valgrind/testsuite.
12705
12706 2006-04-05  Michael Smith  <msmith@fluendo.com>
12707
12708         * tests/check/generic/sinks.c: (GST_START_TEST):
12709           Fix a variety of memleaks in sinks check, which are only sometimes 
12710           shown by running the tests under valgrind (weird?).
12711
12712 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
12713
12714         * docs/version.entities.in:
12715           Fix the substituted entity name after thomas' changes on the
12716           weekend.
12717
12718 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12719
12720         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12721         VALGRIND_PRINTF
12722         
12723 2006-04-05  Andy Wingo  <wingo@pobox.com>
12724
12725         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12726
12727         * libs/gst/base/gstbasetransform.c
12728         (gst_base_transform_sink_eventfunc): When resetting our segment on
12729         FLUSH_STOP, also update the flag saying we haven't seen a
12730         newsegment.
12731
12732 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12733
12734         Patch by: Paolo Borelli  <pborelli at katamail dot com>
12735
12736         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12737         (gst_plugin_check_license):
12738           minor clean-ups: G_DEFINE_TYPE already takes care of the
12739           parent_class stuff, no need to do it twice. Mark array of
12740           license strings as constant. (#337103)
12741           
12742 2006-04-04  Michael Smith  <msmith@fluendo.com>
12743
12744         * tools/gst-inspect.c: (print_element_list):
12745           Free the right plugin list; fixes a memory leak.
12746
12747 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12748
12749         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
12750
12751         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12752           Don't error out on empty buffers (#336945).
12753           
12754 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
12755
12756         * docs/libs/gstreamer-libs-sections.txt:
12757         * gst/gsttaglist.c:
12758         * libs/gst/base/gstbasesink.c:
12759         * libs/gst/base/gstbasesink.h:
12760         * libs/gst/base/gstbasesrc.c:
12761         * libs/gst/base/gstbasesrc.h:
12762           Documentation updates. Make BaseSink and BaseSrc docs contain the
12763           class structure so that people can actually see the prototypes for
12764           virtual functions they're supposed to be overriding.
12765
12766 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12767
12768         * plugins/elements/gsttypefindelement.c:
12769         (gst_type_find_element_chain):
12770           More debug info; when skipping typefinding, send cached
12771           events in all cases.
12772
12773 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12774
12775         * configure.ac:
12776           use new AS_VERSION and AS_NANO macros
12777         * gst/gst-i18n-lib.h:
12778         * gst/gst.c:
12779         * gst/gsterror.c:
12780         * gst/gstversion.h.in:
12781         * win32/common/config.h:
12782         * win32/common/config.h.in:
12783           update accordingly
12784
12785 2006-03-31  Michael Smith  <msmith@fluendo.com>
12786
12787         * plugins/elements/gsttypefindelement.c:
12788         (gst_type_find_element_chain):
12789           Do not typefind content if the buffers already have caps.
12790           Neccesary for icydemux (#333657), and the right thing to do anyway.
12791
12792 2006-03-30  Wim Taymans  <wim@fluendo.com>
12793
12794         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12795         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12796         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12797         (gst_base_sink_record_qos_observation),
12798         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12799         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12800         (gst_base_sink_change_state):
12801         More QoS measurements as described in the design doc.
12802         Get rid of ringbuffer with observations, running average is
12803         more simple and equally good.
12804         Calculates valid proportion now.
12805         Added beginning of flood measurement.
12806
12807 2006-03-29  Wim Taymans  <wim@fluendo.com>
12808
12809         * docs/design/part-qos.txt:
12810         * gst/gstclock.c:
12811         Small documentation updates and additions.
12812
12813 2006-03-29  Wim Taymans  <wim@fluendo.com>
12814
12815         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12816         (gst_base_src_send_event), (gst_base_src_loop),
12817         (gst_base_src_change_state):
12818         Perform the EOS logic when we reach the segment stop position.
12819         Fix compilation on gcc4.1
12820
12821 2006-03-29  Wim Taymans  <wim@fluendo.com>
12822
12823         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12824
12825         * plugins/elements/gstqueue.c: (gst_queue_init),
12826         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12827         (gst_queue_set_property):
12828         * plugins/elements/gstqueue.h:
12829         In queue, when EOS is received, if minimum threshold > max_size -
12830         current_level, there is chance that queue blocks forever in conditional
12831         item del wait. This is because the queue is not emptied completely due
12832         to minimum threshold.  Here is another approach. Instead of setting
12833         cur_levels to max in EOS, just zero all minimum threshold levels. This
12834         should make sure that queue gives out all data. When going to READY
12835         (stop) state, just reset the original minimum threshold levels.
12836         Fixes #336336.
12837
12838 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
12839
12840         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12841         (gst_type_find_element_handle_event),
12842         (gst_type_find_element_send_cached_events),
12843         (gst_type_find_element_change_state):
12844         * plugins/elements/gsttypefindelement.h:
12845           When typefinding is done in push mode, we should cache
12846           events we receive during typefinding instead of just
12847           dropping them (e.g. newsegment, custom events from
12848           dvdreadsrc etc.) and then send them out once we've
12849           determined the type of the stream (and decodebin
12850           has had a chance to plug in a decoder/demuxer).
12851           
12852 2006-03-27  Wim Taymans  <wim@fluendo.com>
12853
12854         * docs/design/part-qos.txt:
12855         First QoS ideas.
12856
12857 2006-03-27  Wim Taymans  <wim@fluendo.com>
12858
12859         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12860
12861         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12862         (gst_base_src_send_event), (gst_base_src_change_state):
12863         Handle element seek correctly when we are streaming.
12864         Fixes #326998.
12865
12866 2006-03-24  Michael Smith  <msmith@fluendo.com>
12867
12868         * docs/faq/gst-uninstalled:
12869           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12870           allow you to correctly run intalled applications built against old 
12871           core, using plugins that require updated core (e.g. running
12872           installed totem against a full uninstalled gstreamer stack)
12873
12874 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12875
12876         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12877         more debug details
12878
12879 2006-03-24  Wim Taymans  <wim@fluendo.com>
12880
12881         * docs/gst/gstreamer-sections.txt:
12882         Rearrange the order of the methods so that related methods
12883         are grouped together in sections.
12884
12885 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12886
12887         * gst/gstelement.c:
12888           Little clarification in the docs
12889
12890 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12891
12892         * docs/README:
12893         formatting fix
12894         * plugins/elements/gstidentity.c:
12895         * plugins/elements/gstqueue.c:
12896         * plugins/elements/gsttee.c:
12897         * plugins/elements/gsttypefindelement.c:
12898         GST_ELEMENT_DETAILS formatting
12899
12900 2006-03-24  Wim Taymans  <wim@fluendo.com>
12901
12902         * libs/gst/base/gstbasesink.h:
12903         Only add fields, not insert or we break ABI.
12904
12905 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12906
12907         * win32/common/libgstbase.def:
12908         * win32/common/libgstreamer.def:
12909           Update, add recently added functions.
12910
12911 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12912
12913         * docs/gst/gstreamer-sections.txt:
12914         * gst/gstutils.c: (gst_pad_query_peer_position),
12915         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12916         * gst/gstutils.h:
12917           API: add some new utility functions:
12918            - gst_pad_query_peer_position()
12919            - gst_pad_query_peer_duration()
12920            - gst_pad_query_peer_convert()
12921           
12922 2006-03-23  Wim Taymans  <wim@fluendo.com>
12923
12924         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12925         (gst_base_sink_init), (gst_base_sink_finalize),
12926         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12927         (gst_base_sink_set_property), (gst_base_sink_get_property),
12928         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12929         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12930         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12931         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12932         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12933         (gst_base_sink_preroll_object), (gst_base_sink_event),
12934         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12935         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12936         (gst_base_sink_query), (gst_base_sink_change_state):
12937         Decouple max-lateness and the fact that QoS messages are generated
12938         with a new property (qos).
12939         added API: GstBaseSink::async_play()
12940         Add vmethod so subclasses can be notified of ASYNC playing
12941         state changes.
12942         Collect timestamp start and stop to report better current
12943         position in EOS/PLAYING/PAUSED/READY/NULL.
12944         Refactor QoS/frame dropping and other measurements.
12945         API: GstBaseSrc::qos
12946         Fixes #326311
12947
12948         * libs/gst/base/gstbasesink.h:
12949         Added Private struct.
12950         API: gst_base_sink_set_qos_enabled()
12951         API: gst_base_sink_is_qos_enabled()
12952
12953 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12954
12955         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12956           If compiling against GLib-2.8 or newer, try to read the
12957           registry file using GMappedFile first before falling back
12958           to fopen() + fread() (#332151).
12959
12960 2006-03-22  Wim Taymans  <wim@fluendo.com>
12961
12962         * gst/gstinfo.c: (gst_debug_set_active),
12963         (gst_debug_category_set_threshold):
12964         Disable debugging unless explicitly activated.
12965         Fixes #335480.
12966
12967 2006-03-22  Wim Taymans  <wim@fluendo.com>
12968
12969         * gst/gstelement.c: (gst_element_set_locked_state),
12970         (gst_element_dispose):
12971         Cleanup the error case.
12972
12973         * gst/gstobject.c: (gst_object_dispose):
12974         print a critical when some object was disposed with
12975         a parent, also revive the object since it might
12976         crash the parent.
12977
12978 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12979
12980         * tools/gst-launch.1.in:
12981           Fix another typo.
12982
12983 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12984
12985         * configure.ac:
12986         * tests/check/Makefile.am:
12987           disable some tests when we don't have a registry
12988         * tests/check/gst/gstutils.c: (gst_utils_suite):
12989           don't build the part that needs parsing
12990
12991 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12992
12993         * gst/Makefile.am
12994         * tests/examples/Makefile.am:
12995           fix --disable-parse build
12996
12997 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12998
12999         * tools/gst-feedback.1.in:
13000           Fix typo: s/feeback/feedback/ (#133494).
13001
13002 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13003
13004         * tools/Makefile.am:
13005         * tools/gst-launch.1.in:
13006           Add FILES section and correct entry about GST_REGISTRY_PATH
13007           environment variable (#133495; #133494).
13008
13009 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13010
13011         * tools/Makefile.am:
13012         * tools/gst-md5sum.1.in:
13013         * tools/gst-md5sum.c:
13014           Remove gst-md5sum and man page (the md5sink element
13015           required was removed ages ago)
13016
13017 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13018
13019         * gst/gststructure.c: (gst_structure_id_set_value):
13020           Make sure that string fields in structures/taglists
13021           contain valid UTF-8 - we don't want to pass rubbish to
13022           applications because of a buggy plugin (cp. #334167).
13023
13024 2006-03-21  Edward Hervey  <edward@fluendo.com>
13025
13026         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13027         (gst_bin_handle_message_func):
13028         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13029         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13030         (gst_element_set_bus_func):
13031         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13032         * gst/gstminiobject.c: (gst_value_set_mini_object),
13033         (gst_value_take_mini_object):
13034         * gst/gstpad.c: (gst_pad_set_pad_template):
13035         * gst/gstpipeline.c: (gst_pipeline_dispose),
13036         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13037         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13038         (gst_collect_pads_chain):
13039         * libs/gst/net/gstnettimeprovider.c:
13040         (gst_net_time_provider_set_property):
13041         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13042         It's in fact all issues with gst_*object_replace().
13043
13044 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13045
13046         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
13047         
13048         * pkgconfig/gstreamer-check-uninstalled.pc.in:
13049         * pkgconfig/gstreamer-check.pc.in:
13050           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
13051
13052 2006-03-21  Edward Hervey  <edward@fluendo.com>
13053
13054         * gst/gstbuffer.h:
13055         * gst/gstevent.h:
13056         * gst/gstmessage.h:
13057         gst_[buffer|event|message]_ref() macros are replaced by a static
13058         inline functions because gcc-4.1 will about if the return value
13059         isn't used.
13060         * tests/check/gst/gstevent.c: (event_probe):
13061         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
13062
13063 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
13064
13065         * gst/gstutils.h:
13066         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
13067         the type' case. (Closes: #335195 for now). In the future, when we
13068         depend on GLib 2.10, we could also intern the type name using
13069         g_intern_static_string()
13070
13071 2006-03-20  Wim Taymans  <wim@fluendo.com>
13072
13073         * gst/gstbin.c: (gst_bin_handle_message_func),
13074         (bin_query_max_init), (bin_query_position_fold),
13075         (bin_query_position_done), (gst_bin_query):
13076         Position query should also take max of all streams.
13077
13078 2006-03-20  Wim Taymans  <wim@fluendo.com>
13079
13080         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13081         (gst_fake_src_finalize):
13082         Fix leaks in fakesrc.
13083
13084         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13085         Fix leaks in the testcase.
13086
13087 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
13088
13089         * gst/gst_private.h:
13090           add win32 specific import decoration(__declspec(dllimport)) 
13091           for all extern GstDebugCategory * variables
13092         * win32/common/libgstbase.def:
13093         * win32/common/libgstcontroller.def:
13094         * win32/common/libgstreamer.def:
13095           Add some exports, remove empty lines
13096         * win32/common/libgstdataprotocol.def:
13097         * win32/common/libgstdataprotocol.dsp:
13098         * win32/common/libgstnet.def:
13099         * win32/common/libgstnet.dsp:
13100           new project files and exportation files added
13101         
13102 2006-03-19  Wim Taymans  <wim@fluendo.com>
13103
13104         * tests/check/libs/basesrc.c: (eos_event_counter):
13105         Use proper return value for probe.
13106
13107 2006-03-17  Wim Taymans  <wim@fluendo.com>
13108
13109         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13110         (gst_pad_push):
13111         Don't leak buffers, caps and pads on negotiation errors.
13112
13113 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
13114
13115         * docs/faq/cvs.xml:
13116         * docs/faq/dependencies.xml:
13117         * docs/faq/developing.xml:
13118         * docs/faq/faq.xml:
13119         * docs/faq/general.xml:
13120         * docs/faq/getting.xml:
13121         * docs/faq/legal.xml:
13122         * docs/faq/troubleshooting.xml:
13123         * docs/faq/using.xml:
13124         Faq review and update.
13125
13126 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
13127
13128         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13129         (gst_pad_push):
13130         Don't pound the cpu to pieces by checking get_caps when accept_caps
13131         is called with the same caps as the pad already has.
13132         Use GST_DEBUG_OBJECT when outputting caps change information.
13133
13134 2006-03-15  Wim Taymans  <wim@fluendo.com>
13135
13136         * gst/gstclock.c: (gst_clock_class_init):
13137         Fix docs.
13138
13139 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
13140
13141         * gst/gstbuffer.h:
13142         Documentation fix.
13143
13144         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
13145         (gst_pad_accept_caps), (gst_pad_configure_sink),
13146         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
13147         Make the default acceptcaps behaviour be to check the requested 
13148         caps against the gst_pad_get_caps output. 
13149
13150         Ensure that gst_pad_accept_caps is used to check caps when a pad
13151         doesn't have a setcaps function, so that pads automatically refuse 
13152         caps that they don't allow in their pad template. (Fixes #332986)
13153
13154         When a buffer with attached caps is pushed, ensure that the source 
13155         pad receives those caps even if the element didn't call
13156         gst_pad_set_caps first.
13157
13158 2006-03-15  Wim Taymans  <wim@fluendo.com>
13159
13160         * libs/gst/base/gstadapter.c:
13161         Add some docs.
13162
13163 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
13164
13165         * win32/common/libgstbase.def:
13166         * win32/common/libgstcontroller.def:
13167         * win32/common/libgstreamer.def:
13168           Add a whole bunch of missing functions (#334434).
13169
13170 2006-03-14  Wim Taymans  <wim@fluendo.com>
13171
13172         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13173         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13174         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
13175         Better debug info when we receive a segment event.
13176         Reorganize a bit so we can pass the get_times() results around.
13177         Use the segment format when calculating the running time.
13178         Don't do QoS is sync is disabled or we have no clock or the
13179         element does not want us to sync to the clock.
13180         Don't drop buffers if QoS is disabled for now.
13181
13182 2006-03-14  Wim Taymans  <wim@fluendo.com>
13183
13184         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
13185         Marked the stats property as unimplemented so people don't get
13186         wild ideas.
13187         Add debug message when regression goes wrong.
13188         Added some more docs.
13189
13190 2006-03-14  Wim Taymans  <wim@fluendo.com>
13191
13192         * gst/gstsegment.c: (gst_segment_to_stream_time):
13193         Return correct return type in case of errors.
13194
13195 2006-03-14  Wim Taymans  <wim@fluendo.com>
13196
13197         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
13198           Don't segfault on invalid formats.
13199
13200 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13201
13202         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13203           Can't use gst_segment_to_running_time() when the segment
13204           is not in GST_TIME_FORMAT (like with filesink, for example).
13205           Stops flac encoding pipelines from spewing critical warnings
13206           at EOS (#331248).
13207           
13208 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13209
13210         * gst/gstpipeline.c: (gst_pipeline_class_init):
13211           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
13212
13213         * plugins/elements/gsttypefindelement.c:
13214         (gst_type_find_element_handle_event):
13215           Don't try to typefind empty streams.
13216
13217 2006-03-14  Wim Taymans  <wim@fluendo.com>
13218
13219         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13220         (gst_base_sink_do_qos):
13221         Separate QoS calculation.
13222         Only drop buffers when lateness is bigger than the 
13223         duration of the buffer.
13224
13225 2006-03-13  Wim Taymans  <wim@fluendo.com>
13226
13227         * gst/gstpipeline.c: (gst_pipeline_set_property),
13228         (gst_pipeline_get_property), (do_pipeline_seek),
13229         (gst_pipeline_change_state), (gst_pipeline_set_delay),
13230         (gst_pipeline_get_delay):
13231         Don't deadlock when reading properties.
13232
13233 2006-03-13  Wim Taymans  <wim@fluendo.com>
13234
13235         * libs/gst/base/gstbasetransform.c:
13236         (gst_base_transform_class_init), (gst_base_transform_init),
13237         (gst_base_transform_sink_event),
13238         (gst_base_transform_sink_eventfunc),
13239         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
13240         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13241         (gst_base_transform_set_property),
13242         (gst_base_transform_get_property),
13243         (gst_base_transform_change_state), (gst_base_transform_update_qos),
13244         (gst_base_transform_set_qos_enabled),
13245         (gst_base_transform_is_qos_enabled):
13246         * libs/gst/base/gstbasetransform.h:
13247         Make basetransform virtual method for src events too.
13248         Handle QOS in basetransform.
13249         API: gst_base_transform_update_qos()
13250         API: gst_base_transform_set_qos_enabled()
13251         API: gst_base_transform_is_qos_enabled()
13252
13253 2006-03-13  Wim Taymans  <wim@fluendo.com>
13254
13255         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13256         (gst_base_sink_do_sync):
13257         Small cleanups.
13258         Use QOS debug category.
13259
13260 2006-03-13  Wim Taymans  <wim@fluendo.com>
13261
13262         * plugins/elements/gstqueue.c:
13263         Very small doc update.
13264
13265 2006-03-13  Wim Taymans  <wim@fluendo.com>
13266
13267         * gst/gst_private.h:
13268         * gst/gstinfo.c: (_gst_debug_init):
13269         Added QOS debug category
13270
13271 2006-03-13  Wim Taymans  <wim@fluendo.com>
13272
13273         * docs/gst/gstreamer-sections.txt:
13274         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
13275         * gst/gstbin.h:
13276         * gst/gstbus.c: (gst_bus_class_init):
13277         * gst/gstbus.h:
13278         * gst/gstclock.c:
13279         * gst/gstelement.c: (gst_element_set_locked_state):
13280         * gst/gstsegment.c:
13281         Documentation updates.
13282
13283         * gst/gstpipeline.c: (gst_pipeline_get_type),
13284         (gst_pipeline_class_init), (gst_pipeline_init),
13285         (gst_pipeline_dispose), (gst_pipeline_set_property),
13286         (gst_pipeline_get_property), (do_pipeline_seek),
13287         (gst_pipeline_send_event), (gst_pipeline_change_state),
13288         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
13289         (gst_pipeline_get_delay):
13290         * gst/gstpipeline.h:
13291         Added methods for setting the delay.
13292         API: gst_pipeline_set_delay()
13293         API: gst_pipeline_get_delay()
13294         Add pipeline debug category
13295         Various cleanups.
13296         Updated docs.
13297         Don't reset stream time when seek failed.
13298
13299 2006-03-13  Wim Taymans  <wim@fluendo.com>
13300
13301         * docs/design/draft-klass.txt:
13302         * docs/design/part-clocks.txt:
13303         * docs/design/part-events.txt:
13304         * docs/design/part-gstbin.txt:
13305         * docs/design/part-gstpipeline.txt:
13306         * docs/design/part-messages.txt:
13307         * docs/design/part-negotiation.txt:
13308         * docs/design/part-overview.txt:
13309         * docs/design/part-preroll.txt:
13310         * docs/design/part-seeking.txt:
13311         * docs/design/part-states.txt:
13312         * docs/design/part-streams.txt:
13313         Documentation updates.
13314
13315 2006-03-12  Julien MOUTTE  <julien@moutte.net>
13316
13317         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13318         us to leak strings...
13319
13320 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13321
13322         * libs/gst/net/gstnettimeprovider.c:
13323           fix docs
13324         * win32/common/config.h:
13325           update
13326
13327 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
13328
13329         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13330
13331         * configure.ac:
13332           Don't check for libgnomeui (leftover from old examples
13333           that aren't built or disted any longer) (#334303).
13334           
13335 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
13336
13337         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13338         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13339           Emit RESOURCE_NO_SPACE_LEFT error here as well when
13340           there's no space left on the device.
13341
13342 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
13343
13344         * gst/gstclock.h:
13345           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13346           to cast the input to GstClockTime before comparing with
13347           another GstClockTime value.
13348
13349 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13350
13351         * configure.ac:
13352           back to trunk
13353
13354 === release 0.10.4 ===
13355
13356 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
13357
13358         * configure.ac:
13359           releasing 0.10.4, "Light"
13360
13361 2006-03-10  Michael Smith  <msmith@fluendo.com>
13362
13363         * libs/gst/dataprotocol/dataprotocol.c:
13364           Fix docs for dataprocotol to not get the return types completely
13365           wrong for a few functions.
13366
13367 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13368
13369         * docs/gst/gstreamer-sections.txt:
13370         * gst/gstpipeline.c: (gst_pipeline_class_init),
13371         (gst_pipeline_init), (gst_pipeline_set_property),
13372         (gst_pipeline_get_property), (gst_pipeline_change_state),
13373         (gst_pipeline_set_auto_flush_bus),
13374         (gst_pipeline_get_auto_flush_bus):
13375         * gst/gstpipeline.h:
13376           Add new API: gst_pipeline_set_auto_flush_bus() and
13377           gst_pipeline_get_auto_flush_bus() to disable automatic
13378           flushing of the pipeline's GstBus when going from READY
13379           to NULL state (#332045).
13380
13381 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13382
13383         * docs/gst/gstreamer-sections.txt:
13384         * gst/gsturi.c: (gst_uri_has_protocol):
13385         * gst/gsturi.h:
13386            Add new API: gst_uri_has_protocol() (#333779).
13387
13388 2006-03-09  Wim Taymans  <wim@fluendo.com>
13389
13390         * gst/gstclock.c: (gst_clock_entry_new),
13391         (gst_clock_id_compare_func), (gst_clock_id_wait),
13392         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13393         (gst_clock_init), (gst_clock_get_internal_time),
13394         (gst_clock_set_master), (do_linear_regression),
13395         (gst_clock_add_observation), (gst_clock_set_property):
13396         * gst/gstclock.h:
13397         Review docs.
13398         Small cleanups.
13399         Fix a possible segfault when the window-size is made smaller.
13400         Calculate jitter before performing the clock wait. Ideally
13401         the clock implementation should calculate jitter but we need
13402         API breakage for that.
13403
13404         * gst/gstsystemclock.c: (gst_system_clock_init):
13405         Docs review.
13406         
13407         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13408         Remove leftover else
13409
13410         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13411         (gst_systemclock_suite):
13412         Added check to test GST_CLOCK_DIFF.
13413
13414 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13415
13416         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13417         (gst_type_find_helper_get_range):
13418           If we are provided with the size, we should implement
13419           GstTypeFind::get_length, so that typefind functions who
13420           want to can actually peek at the middle of a file.
13421
13422 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
13423
13424         * docs/manual/advanced-dataaccess.xml:
13425           Add some very very basic error checking.
13426
13427         * docs/pwg/appendix-checklist.xml:
13428           Some updates to the list of things to check when writing an element.
13429
13430 2006-03-08  Wim Taymans  <wim@fluendo.com>
13431
13432         * docs/design/part-element-transform.txt:
13433         Added some docs about the design of tranform elements.
13434
13435         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13436         (gst_base_src_loop), (gst_base_src_change_state):
13437         Mark buffers with the DISCONT flag.
13438
13439 2006-03-08  Michael Smith  <msmith@fluendo.com>
13440
13441         * gst/gstregistry.h:
13442         * gst/gstregistryxml.c: (gst_registry_save),
13443         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13444         (gst_registry_xml_save_pad_template),
13445         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13446         (gst_registry_xml_write_cache):
13447           Rewrite registry-saving to avoid race conditions and check for
13448           failed writes.
13449
13450 2006-03-08  Wim Taymans  <wim@fluendo.com>
13451
13452         * libs/gst/base/gstbasetransform.c:
13453         (gst_base_transform_transform_caps),
13454         (gst_base_transform_transform_size),
13455         (gst_base_transform_prepare_output_buffer),
13456         (gst_base_transform_get_unit_size),
13457         (gst_base_transform_buffer_alloc),
13458         (gst_base_transform_handle_buffer),
13459         (gst_base_transform_change_state):
13460         Cleanups, separate normal flow from errors, add sensible
13461         DEBUG lines.
13462         Don't try to renegotiate when allocating an output buffer.
13463         Also copy DISCONT buffer flag when copying a buffer.
13464         Reset the transform after we finish streaming, not during.
13465
13466 2006-03-08  Wim Taymans  <wim@fluendo.com>
13467
13468         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13469         Use last buffer timestamp in qos message.
13470
13471 2006-03-07  Wim Taymans  <wim@fluendo.com>
13472
13473         Patch by: Christophe Fergeau
13474
13475         * docs/pwg/advanced-tagging.xml:
13476         * docs/pwg/building-pads.xml:
13477           fixes #333416
13478
13479 2006-03-07  Wim Taymans  <wim@fluendo.com>
13480
13481         * docs/libs/gstreamer-libs-sections.txt:
13482         Added basesink new methods.
13483
13484         * gst/gstevent.c:
13485         * gst/gstevent.h:
13486         Docs updates. Flesh out the QoS docs.
13487
13488         * libs/gst/base/gstadapter.c:
13489         Small doc clarification about ownership and flushing.
13490
13491         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13492         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13493         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13494         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13495         * libs/gst/base/gstbasesink.h:
13496         API additions: 
13497         Added new methods to allow subclass to control max-lateness 
13498         and sync.
13499         Generate very basic QoS events based on last sync observation.
13500         Updated docs, fix typo, added some QoS blurb.
13501
13502         * libs/gst/base/gstbasesrc.c:
13503         Remove obsolete _get_state() calls from docs.
13504
13505 2006-03-07  Wim Taymans  <wim@fluendo.com>
13506
13507         * docs/libs/gstreamer-libs-sections.txt:
13508         * libs/gst/base/gstbasetransform.h:
13509         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13510         Fix docs for GstBaseSrc.
13511
13512 2006-03-07  Wim Taymans  <wim@fluendo.com>
13513
13514         * docs/gst/gstreamer-sections.txt:
13515         * gst/gstbuffer.h:
13516         * gst/gstvalue.c:
13517         * libs/gst/base/gstbasetransform.h:
13518         Small documentation fixes.
13519
13520 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13521
13522         * gst/gstvalue.c:
13523           Document thread-unsafety of gst_value_register_foo_func()
13524           when used at the same time as gst_value_foo() (#322628).
13525
13526 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13527
13528         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13529         (gst_push_src_check_get_range):
13530           Push sources don't support pull mode by default.
13531
13532 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13533
13534         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13535         (gst_base_src_init), (gst_base_src_pad_check_get_range),
13536         (gst_base_src_default_check_get_range):
13537         * libs/gst/base/gstbasesrc.h:
13538           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13539           provide default implementation, and rename
13540           gst_base_src_check_get_range() to
13541           gst_base_src_pad_check_get_range() for clarity.
13542
13543 2006-03-06  Wim Taymans  <wim@fluendo.com>
13544
13545         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13546         Make property overridable.
13547
13548 2006-03-06  Wim Taymans  <wim@fluendo.com>
13549
13550         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13551         (gst_base_sink_init), (gst_base_sink_set_property),
13552         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13553         * libs/gst/base/gstbasesink.h:
13554         API addition: Make max-lateness a property.
13555
13556 2006-03-06  Wim Taymans  <wim@fluendo.com>
13557
13558         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13559         (gst_base_sink_do_sync), (gst_base_sink_render_object):
13560         Don't ever draw a frame that is >10ms late.
13561
13562 2006-03-06  Michael Smith  <msmith@fluendo.com>
13563
13564         * gst/gstmessage.c: (_gst_message_copy):
13565           When copying a message, set the parent_refcount of the enclosed
13566           structure to point at the copy, not the original message.
13567
13568 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13569
13570         Patch by: Christophe Fergeau
13571
13572         * gst/gstutils.h:
13573           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13574           usable in c++ code (#333417)
13575
13576 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13577
13578         * gst/gstclock.h:
13579           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13580
13581 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
13582
13583         * libs/gst/base/gstbasetransform.c:
13584         (gst_base_transform_transform_caps):
13585           Make sure caps are writable before passing them to
13586           gst_caps_append().
13587
13588 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13589
13590         * gst/gsterror.h:
13591           Fix some minor docs errors.
13592
13593 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13594
13595           Patch by: Ross Burton <ross at burtonini dot com>
13596
13597         * gst/gsterror.c: (_gst_resource_errors_init):
13598         * gst/gsterror.h:
13599           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13600
13601 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13602
13603         * gst/gst.c:
13604         Add a check and output a g_warning when GStreamer is built
13605         against GLib 2.6 but running against 2.8 or higher, and vice 
13606         versa. (Closes: #323542)
13607
13608 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13609
13610         * gst/parse/parse.l:
13611           Commit patch for parse_launch syntax from #331255. Removes 
13612           support for quoted strings and mimetypes when writing filtered 
13613           caps. See the bug report for more details - I'm pretty sure this
13614           obscure feature is not in use by _anyone_ anywhere.
13615
13616           With this simple change, the size of the gstreamer.so here 
13617           drops from 2193KB to 1565KB.
13618
13619 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13620
13621         * plugins/elements/gsttypefindelement.h:
13622         * plugins/elements/gsttypefindelement.c:
13623         (gst_type_find_element_src_event), (start_typefinding),
13624         (stop_typefinding), (gst_type_find_element_handle_event),
13625         (gst_type_find_element_chain),
13626         (gst_type_find_element_chain_do_typefinding):
13627           Use gst_type_find_helper_for_buffer() for chain-based
13628           typefinding.
13629
13630 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13631
13632         * plugins/elements/gsttypefindelement.c:
13633         (gst_type_find_element_class_init),
13634         (gst_type_find_element_set_property),
13635         (gst_type_find_element_get_property):
13636           Deprecate "maximum" property (not only was it only taken into
13637           account for typefinding in push-mode anyway, it also was never
13638           actually possible to set it in the first place because the
13639           property was registered with the numeric property ID for the
13640           "minimum" property). Register "maximum" property correctly,
13641           for the sake of future copy'n'pasters. Remove some cruft
13642           from property get/set functions.
13643
13644 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13645
13646         * plugins/elements/gsttypefindelement.c:
13647         (gst_type_find_element_activate):
13648           Use gst_type_find_helper_get_range() here, so we
13649           can honour the "minimum" property and also emit
13650           the signal with the correct probability of the found caps.
13651
13652 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
13653
13654         * docs/libs/gstreamer-libs-sections.txt:
13655         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13656         (helper_find_suggest), (gst_type_find_helper_get_range),
13657         (gst_type_find_helper):
13658         * libs/gst/base/gsttypefindhelper.h:
13659           New API: gst_type_find_helper_get_range() (#333042).
13660
13661 2006-03-02  Michael Smith  <msmith@fluendo.com>
13662
13663         * gst/gstregistryxml.c: (load_feature):
13664           Asserting on a failure to read part of the registry is Not Cool.
13665           Just log a warning and return NULL (which is already handled)
13666
13667 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
13668
13669         * win32/common/libgstbase.def:
13670           added export of gst_type_find_helper_for_buffer
13671         * win32/common/libgstbase.def:
13672           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13673           gst_ghost_pad_get_target
13674
13675 2006-02-28  Wim Taymans  <wim@fluendo.com>
13676
13677         * docs/design/draft-klass.txt:
13678         We use Filter now.
13679         Added Connector to mark elements that are only used to
13680         allow pipeline connections.
13681         Moved Debug to extra feature since most of them are 
13682         functionally something else.
13683
13684 2006-02-28  Wim Taymans  <wim@fluendo.com>
13685
13686         * docs/design/draft-klass.txt:
13687         Some updates and clarifications.
13688
13689 2006-02-28  Wim Taymans  <wim@fluendo.com>
13690
13691         * docs/design/draft-klass.txt:
13692         Proposal for klass field values.
13693
13694         * docs/design/part-streams.txt:
13695         Start of a doc describing stream anatomy.
13696
13697 2006-02-28  Wim Taymans  <wim@fluendo.com>
13698
13699         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13700         Help the compiler a bit with type registration.
13701         Use existing forward cod path instead of duplicating it when 
13702         handling a message.
13703         
13704         * gst/gstbus.c: (gst_bus_get_type):
13705         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13706         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13707         * gst/gstclock.c: (gst_clock_get_type):
13708         * gst/gstelement.c: (gst_element_get_type),
13709         * gst/gstelementfactory.c: (gst_element_factory_get_type):
13710         * gst/gstindexfactory.c: (gst_index_factory_get_type):
13711         * gst/gstminiobject.c: (gst_mini_object_get_type):
13712         * gst/gstpad.c: (gst_pad_get_type):
13713         * gst/gstsegment.c: (gst_segment_get_type):
13714         * gst/gststructure.c: (gst_structure_get_type):
13715         * gst/gstsystemclock.c: (gst_system_clock_get_type):
13716         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13717         * gst/gstvalue.c:
13718         Help compiler with type registration.
13719
13720         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13721         Small doc update.
13722
13723 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13724
13725         * plugins/elements/gsttypefindelement.c:
13726         (gst_type_find_element_handle_event):
13727           When we get an EOS event and have not found a type yet
13728           (most likely because we had not yet accumulated
13729           TYPE_FIND_MIN_SIZE of data yet), try to determine the
13730           type given the data we have so far. Fixes typefinding
13731           for very short streams again, most notably quicktime
13732           redirections as used on Apple's trailer site (#331701).
13733
13734 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13735
13736         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13737         (gst_type_find_helper):
13738           Try typefinding factories with the highest rank first.
13739
13740 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13741
13742         * docs/libs/gstreamer-libs-docs.sgml:
13743         * docs/libs/gstreamer-libs-sections.txt:
13744         * libs/gst/base/gsttypefindhelper.c:
13745           Add section for typefind helper and add documentation
13746           for the old and the new function.
13747
13748 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13749
13750         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13751         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13752         (gst_type_find_helper_for_buffer):
13753         * libs/gst/base/gsttypefindhelper.h:
13754           New API: gst_type_find_helper_for_buffer() (#332723).
13755           
13756 2006-02-27  Michael Smith  <msmith@fluendo.com>
13757
13758         Patch by: Loïc Minier
13759
13760         * configure.ac:
13761         * docs/Makefile.am:
13762         * docs/slides/Makefile.am:
13763           prevent CVS directories getting disted.
13764
13765 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13766
13767         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13768           Use the REFCOUNTING category for caps refcounting.
13769           
13770 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13771
13772         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13773           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13774
13775 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13776
13777         * plugins/elements/gsttypefindelement.c:
13778         (gst_type_find_element_activate):
13779           Use gst_pad_check_pull_range() before _activate_pull()
13780           to avoid unnecessary open/close (see #331690).
13781
13782 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13783
13784         * gst/gstutils.c:
13785           Docs enhancement: make it crystal clear what the
13786           gst_pad_add_*_probe() callbacks should look like.
13787
13788 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13789
13790         * libs/gst/base/gstbasesrc.c:
13791           Document how applications can stop recording from
13792           live sources (see #330996).
13793
13794 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13795
13796         * tests/check/Makefile.am:
13797         * tests/check/libs/basesrc.c: (eos_event_counter),
13798         (basesrc_eos_events_pull), (basesrc_eos_events_push),
13799         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13800         (gst_basesrc_suite), (main):
13801           ... and add some tests for the base source EOS stuff.
13802
13803 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13804
13805         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13806           Test case originally showed the problem fixed below,
13807           but was then amended. Add checks back at the place
13808           where they used to be.
13809
13810 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13811
13812         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13813         (gst_base_src_init), (gst_base_src_loop),
13814         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13815         (gst_base_src_change_state):
13816         * libs/gst/base/gstbasesrc.h:
13817           Don't unconditionally send EOS when going from PAUSED to
13818           READY state, esp. make sure we don't send two EOS events
13819           in some cases (e.g. one when reaching EOS and one when
13820           going from PAUSED to READY). Also, we don't want to send
13821           EOS events when operating in pull mode. However, we do
13822           want to send an EOS event when shutting down a live
13823           source explicitly, for example (fixes #330996).
13824           
13825 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13826
13827         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13828           Update src->read_position after a seek when not using mmap.
13829           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13830
13831 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
13832
13833         * gst/Makefile.am:
13834         * gst/gstparse.h:
13835         * gst/gstutils.c:
13836         * gst/gstutils.h:
13837         Make things work with --disable-parse as they do with 
13838         --disable-load-save - the symbols involved disappear, but the
13839         header is still installed and GST_DISABLE_PARSE is included via
13840         gstconfig.h
13841
13842 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13843
13844         * libs/gst/base/gstbasetransform.c:
13845         (gst_base_transform_change_state): Fix a stupid bug. I was 
13846         sure I compiled that.
13847
13848 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13849
13850         * gst/gstpad.c: (gst_pad_set_blocked_async):
13851         * gst/gstutils.c: (gst_pad_add_data_probe),
13852         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13853         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13854         (gst_pad_remove_buffer_probe): Make those function act on the
13855         ghostpad target when it's a ghostpad. (Closes #331727)
13856
13857 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13858
13859         * libs/gst/base/gstbasetransform.c:
13860         (gst_base_transform_change_state): Make basetransform reusable.
13861         (Closes #331898)
13862
13863 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
13864
13865         * docs/random/release:
13866         Move the current documentation of how to do a release to the top
13867         of the file.
13868
13869         * gst/gstbin.c: (gst_bin_class_init),
13870         (gst_bin_handle_message_func):
13871         Allow multiple state-recalculation threads. (Closes #328873)
13872
13873 2006-02-19  Julien MOUTTE  <julien@moutte.net>
13874
13875         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13876         * gst/gstpad.c: (gst_pad_set_event_function),
13877         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13878         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13879         2 strings. You can't use the STR_NULL macro on that.
13880
13881 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
13882
13883         * gst/gstpad.c: (gst_pad_set_event_function),
13884         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13885         (gst_pad_set_getcaps_function)
13886         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13887           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13888           So now, we can use --gst-debug-level=5 on Windows
13889         * win32/common/libgstcontroller.def:
13890           Added export of gst_controller_init
13891         * win32/vs6/libgstcontroller.dsp:
13892           Fixed Release post build configuration
13893
13894 2006-02-17  Wim Taymans  <wim@fluendo.com>
13895
13896         * tests/check/gst/gstquery.c: (GST_START_TEST):
13897         Added another check.
13898
13899 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13900
13901         * plugins/elements/gsttypefindelement.c: (find_peek):
13902           We can do peeks at non-zero offsets, as long as they
13903           fall within the buffer we have.
13904
13905 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13906
13907         * tests/check/Makefile.am:
13908         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13909         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13910         (parse_suite), (main):
13911           Add testsuite for parse launch syntax
13912
13913 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13914
13915         * plugins/elements/gsttypefindelement.c:
13916         (gst_type_find_element_chain):
13917           When typefinding is unsuccessful in the chain function, don't
13918           error out immediately. Only error out with NO_CAPS_FOUND if
13919           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13920           otherwise simply wait for more data so we can try typefinding
13921           again with more data later. Also, don't attempt to typefind
13922           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13923           this should improve typefinding from network sources where the
13924           size of the first buffer can be somewhat random.
13925
13926 2006-02-14  Wim Taymans  <wim@fluendo.com>
13927
13928         * docs/gst/gstreamer-sections.txt:
13929         * gst/gstpadtemplate.c:
13930         * gst/gstpadtemplate.h:
13931         Fix padtemplate docs, fixes #328805.
13932
13933 2006-02-14  Wim Taymans  <wim@fluendo.com>
13934
13935         * tools/gst-launch.c: (main):
13936         NO_PREROLL is not an ERROR so don't send confusing messages
13937         to the user.
13938
13939 2006-02-14  Wim Taymans  <wim@fluendo.com>
13940
13941         Patch by: Torsten Schoenfeld
13942
13943         * gst/gstregistry.c: (gst_registry_get_default),
13944         (_gst_registry_cleanup):
13945         Protect default registry with lock and ref/sink it.
13946         Fixes #324818
13947
13948 2006-02-14  Wim Taymans  <wim@fluendo.com>
13949
13950         * gst/gstbuffer.c:
13951         * gst/gstquery.c: (gst_query_list_add_format),
13952         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13953         (gst_query_parse_formats_nth):
13954         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13955         Docs fixes.
13956
13957 2006-02-14  Wim Taymans  <wim@fluendo.com>
13958
13959         * docs/gst/gstreamer-sections.txt:
13960         Reworked query docs.
13961
13962         * gst/gstquery.c: (gst_query_new_formats),
13963         (gst_query_list_add_format), (gst_query_set_formats),
13964         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13965         (gst_query_parse_formats_nth):
13966         * gst/gstquery.h:
13967         Flesh out formats query, added some new methods.
13968         Fix part of #324398.
13969
13970         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13971         Added query creation tests.
13972
13973 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13974
13975         * gst/gstpad.c: (fixate_value):
13976         Add a default fixation for fraction lists.
13977
13978 2006-02-13  Wim Taymans  <wim@fluendo.com>
13979
13980         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13981         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13982         (gst_task_join):
13983         * gst/gsttask.h:
13984         Detect and warn for obvious deadlocks. fixes #320340
13985         Fix error case where lock was not released.
13986
13987         * tests/check/Makefile.am:
13988         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13989         (task_func), (gst_element_suite), (main):
13990         Add task check.
13991
13992 2006-02-13  Wim Taymans  <wim@fluendo.com>
13993
13994         * docs/gst/gstreamer-sections.txt:
13995         * gst/gstbus.c:
13996         Add new functions to docs.
13997
13998 2006-02-13  Wim Taymans  <wim@fluendo.com>
13999
14000         * docs/design/part-TODO.txt:
14001         Updated TODO list, basesrc supports seeking to non-bytes
14002         formats.
14003
14004         * docs/design/part-element-sink.txt:
14005         Update docs.
14006
14007         * gst/gstbin.c: (bin_replace_message),
14008         (gst_bin_handle_message_func):
14009         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14010         * gst/gstevent.c: (gst_event_finalize):
14011         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14012         (gst_pad_send_event):
14013         Use shiny new _TYPE_NAME macros.
14014
14015         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14016         Move debug statement up.
14017
14018         * gst/gstelement.c: (gst_element_set_locked_state):
14019         Add some debugging.
14020
14021 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14022
14023         * docs/gst/gstreamer-sections.txt:
14024         * gst/gstmessage.h:
14025         * gst/gstquery.h:
14026           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14027           macros (#330906). Also, document the already existing
14028           GST_QUERY_TYPE macro.
14029
14030 2006-02-13  Wim Taymans  <wim@fluendo.com>
14031
14032         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14033         (event_probe), (GST_START_TEST):
14034         Only events up to the pipeline EOS are counted, there are
14035         some more when going to NULL currently which we don't care
14036         about for now.
14037
14038 2006-02-13  Wim Taymans  <wim@fluendo.com>
14039
14040         * gst/gstpad.c: (gst_pad_send_event):
14041         Correctly check flushing and emit probes. fixes #330125
14042
14043 2006-02-10  Andy Wingo  <wingo@pobox.com>
14044
14045         * gst/gstbus.c (gst_bus_class_init): Declare our private data
14046         structure.
14047         (gst_bus_init): Cache the location of the private data in the
14048         instance structure.
14049         (gst_bus_enable_sync_message_emission) 
14050         (gst_bus_disable_sync_message_emission): Implement new public
14051         functions.
14052         (gst_bus_post): Emit the sync-message signal if the user asked for
14053         it. Fixes #330684.
14054
14055         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
14056         location of the bus-private structure.
14057         (gst_bus_enable_sync_message_emission)
14058         (gst_bus_disable_sync_message_emission): API addition
14059
14060 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
14061
14062         Patch by: Vincent Torri
14063
14064         * docs/pwg/building-boiler.xml:
14065         PWG patch from #326800
14066
14067 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
14068
14069         * configure.ac:
14070         * docs/Makefile.am:
14071         * docs/design/Makefile.am:
14072           Dist design docs.
14073
14074 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14075
14076         * configure.ac:
14077           back to CVS
14078
14079 === release 0.10.3 ===
14080
14081 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
14082
14083         * configure.ac:
14084           releasing 0.10.3, "Like a virgin"
14085
14086 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14087
14088         * configure.ac:
14089           2nd prerelease of 0.10.3
14090           Bump libtool versioning.
14091
14092 2006-02-07  Andy Wingo  <wingo@pobox.com>
14093
14094         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
14095         update last_stop if we're in TIME format and the timestamp is
14096         valid.
14097
14098         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
14099         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
14100         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
14101         If we get a new newsegment with a different format, adapt
14102         accordingly.
14103
14104         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
14105         of 0. Not a problem, really.
14106
14107         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
14108         warn if sync=true.
14109
14110 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
14111
14112         * configure.ac:
14113           Prelease of 0.10.3
14114
14115 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
14116
14117         * win32/vs7:
14118           project files updated to the default vs7 configuration
14119         * win32/common/libgstbase.def:
14120         * win32/common/libgstreamer.def:
14121           added new symbols,
14122           removed empty lines,
14123           sorted all exported symbols alphabetically
14124         * win32/common/dirent.c:
14125         * win32/common/dirent.h:
14126         * win32/common/gchar.h:
14127           use windows line end.
14128           
14129 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14130
14131         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
14132           Send EOS event when stopping.
14133
14134 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14135
14136         * docs/README:
14137           Tell folks what to do if the plugin-foobar.xml file
14138           hasn't been generated for a newly-added plugin.
14139
14140 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14141
14142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14143         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14144         (gst_collect_pads_start), (gst_collect_pads_stop),
14145         (gst_collect_pads_event): Collectpads now holds a reference
14146         to the GstPad that was added. Indeed we don't want to look
14147         at pads that might just go away with no warning...
14148
14149 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14150
14151         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14152         (gst_collect_pads_start), (gst_collect_pads_stop),
14153         (gst_collect_pads_event), (gst_collect_pads_chain):
14154         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
14155         Mark Nauwelaerts's patch on bug #328491.
14156
14157 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14158
14159         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
14160         (gst_utils_suite):
14161           Add some simple tests for gst_parse_bin_from_description() and
14162           gst_bin_find_unconnected_pad() (#329069).
14163
14164 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14165
14166         * tools/gst-launch.c: (event_loop), (main):
14167           Catch errors during preroll (#320084).
14168
14169 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
14170
14171         * plugins/elements/gsttypefindelement.c:
14172         (gst_type_find_element_activate):
14173           Post TYPE_NOT_FOUND error message when typefinding
14174           is unsuccessful in the activate function as well.
14175
14176 2006-02-02  Wim Taymans  <wim@fluendo.com>
14177
14178         * docs/design/part-element-sink.txt:
14179         Updated doc.
14180
14181 2006-02-02  Wim Taymans  <wim@fluendo.com>
14182
14183         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14184         (gst_base_sink_render_object),
14185         (gst_base_sink_queue_object_unlocked):
14186         Only keep track of prerollable items when we are 
14187         prerolling.
14188         Before rendering after preroll, always check if we
14189         have queued items.
14190         Added some more debugging.
14191
14192 2006-02-02  Wim Taymans  <wim@fluendo.com>
14193
14194         * gst/gstelement.c: (gst_element_continue_state),
14195         (gst_element_set_state_func), (gst_element_change_state):
14196         Fixed #326576, been running this for quite some time with
14197         no regressions at all.
14198
14199 2006-02-02  Wim Taymans  <wim@fluendo.com>
14200
14201         * common/gst.supp:
14202         Added more suppressions
14203
14204 2006-02-02  Wim Taymans  <wim@fluendo.com>
14205
14206         * docs/design/part-element-sink.txt:
14207         Updated document.
14208
14209         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14210         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
14211         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
14212         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14213         (gst_base_sink_do_sync), (gst_base_sink_render_object),
14214         (gst_base_sink_preroll_object),
14215         (gst_base_sink_queue_object_unlocked),
14216         (gst_base_sink_queue_object), (gst_base_sink_event),
14217         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
14218         (gst_base_sink_loop), (gst_base_sink_activate_pull),
14219         (gst_base_sink_get_position), (gst_base_sink_change_state):
14220         * libs/gst/base/gstbasesink.h:
14221         Totally refactored matching the design doc.
14222         Use two segments, one to clip incomming buffers and another to
14223         perform sync.
14224         Handle queueing correctly, bypass the queue when playing.
14225         Make EOS cancelable.
14226         Handle errors correctly when operating in pull based mode.
14227
14228         * tests/check/elements/fakesink.c: (GST_START_TEST),
14229         (fakesink_suite):
14230         Added new check for sinks.
14231
14232 2006-02-02  Wim Taymans  <wim@fluendo.com>
14233
14234         * gst/gstsegment.c: (gst_segment_clip):
14235         No reason to refuse to clip when start == -1
14236
14237 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
14238
14239         * docs/README:
14240         * docs/manual/intro-basics.xml:
14241         * docs/manual/intro-preface.xml:
14242         * docs/manual/manual.xml:
14243         * docs/pwg/advanced-dparams.xml:
14244         * docs/pwg/intro-basics.xml:
14245         * docs/pwg/intro-preface.xml:
14246         * docs/pwg/pwg.xml:
14247           describe dparams (controller) for plugins
14248           unify docs a little more
14249
14250 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
14251
14252         * docs/gst/gstreamer-sections.txt:
14253         * gst/gstutils.c: (element_find_unconnected_pad),
14254         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
14255         * gst/gstutils.h:
14256           Add new API: gst_parse_bin_from_description() and
14257           gst_bin_find_unconnected_pad() (#329069).
14258
14259 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
14260
14261         * docs/manual/README:
14262           uncover a nasty detail of the docs build
14263
14264 2006-01-31  Wim Taymans  <wim@fluendo.com>
14265
14266         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
14267         Don't cache duration messages if we're not going to use or
14268         free them.
14269
14270 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
14271
14272         * docs/manual/advanced-dparams.xml:
14273         * docs/pwg/advanced-dparams.xml:
14274           more dparam docs
14275         * gst/gstindex.c:
14276           fix docs
14277         * libs/gst/controller/lib.c: (gst_controller_init):
14278           init just once
14279
14280 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14281
14282         * gst/gstelement.c: (gst_element_message_full):
14283           also show file/line/func if no additional debug was given
14284
14285 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
14286         
14287         * win32/vs7/grammar.vcproj:
14288           activate copy of autogenerated files for Release mode
14289
14290 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14291         
14292         * win32/common/libgstreamer.def:
14293           export gst_value_compare
14294
14295 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
14296
14297         * plugins/elements/Makefile.am:
14298         * plugins/elements/gstelements.c:
14299         * plugins/elements/gstfdsink.c: (_do_init),
14300         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
14301         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
14302         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
14303         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
14304         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
14305         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14306         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14307         * plugins/elements/gstfdsink.h:
14308         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14309
14310 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
14311
14312         * docs/manual/advanced-dparams.xml:
14313           describe controller
14314         * docs/manual/advanced-position.xml:
14315         * docs/manual/basics-init.xml:
14316         * docs/manual/manual.xml:
14317         * docs/manual/titlepage.xml:
14318         * docs/pwg/pwg.xml:
14319         * docs/pwg/titlepage.xml:
14320           cleanup xml (more to come)
14321         * libs/gst/controller/gstcontroller.c:
14322           fix typo
14323
14324 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14325         
14326         * win32/vs6/grammar.dsp:
14327           add autogen of gstmarshal.c,h for Release mode
14328                 
14329 2006-01-30  Wim Taymans  <wim@fluendo.com>
14330
14331         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14332         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14333         (gst_base_sink_handle_object), (gst_base_sink_event),
14334         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14335         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14336         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14337         (gst_base_sink_deactivate), (gst_base_sink_activate),
14338         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14339         (gst_base_sink_query), (gst_base_sink_change_state):
14340         Basesink cleanups, remove some old code.
14341         Handle the case where a subclass can preroll in the render
14342         method (mostly audiosinks).
14343         Handle more events.
14344         Remove some locks around variables that are now protected
14345         with the PREROLL_LOCK (clock_id, flushing, ..).
14346         Optimize position query some more, do correct locking.
14347         Remove old code to push queue in state change, this is not
14348         needed anymore since preroll blocks on all prerollable items 
14349         now.
14350         Almost implemented as described in design doc.
14351
14352 2006-01-30  Wim Taymans  <wim@fluendo.com>
14353
14354         * tests/check/gst/gstbin.c: (GST_START_TEST):
14355         Wait for refcount to settle down before checking.
14356
14357 2006-01-30  Wim Taymans  <wim@fluendo.com>
14358
14359         * docs/design/part-element-sink.txt:
14360         Pseudo code overview of desired sink behaviour regarding
14361         preroll.
14362
14363 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14364         * win32/vs6/grammar.dsp:
14365           fix some bugs in Release mode for autogenerated files
14366                 
14367 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14368         * win32/common/libgstbase.def:
14369         * win32/common/libgstreamer.def:
14370           export some new symbols: gst_base_src_set_format,
14371           gst_iterator_next, gst_structure_set_valist
14372
14373 2006-01-29  Julien MOUTTE  <julien@moutte.net>
14374
14375         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14376         Set pad functions unconditionally. Fixes #329105.
14377
14378 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14379         * win32/vs8:
14380           add vs8 project files created by Sergey Scobich
14381
14382 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
14383
14384         * gst/gstutils.c: (gst_element_unlink_pads):
14385         Don't leak pad references.
14386
14387         * tests/check/elements/fakesink.c: (GST_START_TEST):
14388         * tests/check/generic/sinks.c: (GST_START_TEST):
14389         * tests/check/generic/states.c: (GST_START_TEST):
14390         * tests/check/gst/gstbin.c: (GST_START_TEST):
14391         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14392         * tests/check/gst/gstelement.c: (GST_START_TEST):
14393         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14394         * tests/check/gst/gstiterator.c: (GST_START_TEST):
14395         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14396         Fix a bunch of leaks. Make generic/sinks.c
14397         use a bit less cpu by slowing the buffer rate
14398         between fakesrc and fakesink.
14399         
14400 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
14401         * gst/gstcaps.c:
14402         * gst/gstelement.c: (gst_element_send_event):
14403         * gst/gstevent.c:
14404         * gst/gstinfo.c:
14405         * gst/gstiterator.c:
14406         * gst/gstiterator.h:
14407         * gst/gstpad.c: (gst_pad_send_event):
14408         * gst/gststructure.c:
14409         * gst/gsturi.c:
14410         * gst/gstutils.c:
14411         * gst/gstvalue.c:
14412         * libs/gst/base/gstadapter.c:
14413           doc fixes, to link to function, just write gst_cool_function(), don't
14414           prefix with '#'
14415
14416 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14417
14418         * plugins/elements/gsttee.c: (gst_tee_do_push),
14419         (gst_tee_handle_buffer):
14420         Always prefer an actual return value from a src
14421         pad in place of NOT_LINKED. This means we return
14422         WRONG_STATE when all src pads are WRONG_STATE
14423         instead of NOT_LINKED.
14424
14425         Lock when replacing the last message to prevent
14426         racing with the get_property method.
14427
14428         Add debug output
14429
14430 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14431
14432         * tests/check/Makefile.am:
14433         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14434         (main):
14435         Add a very simple check that should have caught the memleak I fixed
14436         last night (if not for the slice allocator hiding it)
14437
14438 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14439
14440         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14441         (gst_bin_remove_func), (gst_bin_handle_message_func),
14442         (bin_query_duration_fold), (bin_query_generic_fold):
14443         Clean up references to the clock provider when disposed or when
14444         handling a clock-lost message from it.
14445
14446         Unref sinks when performing a query via gst_iterator_fold, as the
14447         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14448
14449         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14450         (gst_clock_set_master):
14451         Drop our reference to the master clock, if any, when we are disposed.
14452
14453         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14454         Chain up in dispose. 
14455
14456 2006-01-26  Wim Taymans  <wim@fluendo.com>
14457
14458         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14459         Add some debugging.
14460
14461 2006-01-26  Julien MOUTTE  <julien@moutte.net>
14462
14463         * plugins/elements/gsttee.c: (gst_tee_do_push),
14464         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14465         handles pad being NOT_LINKED or in WRONG_STATE.
14466
14467 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14468
14469         * win32/MANIFEST:
14470           more updating
14471
14472 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14473
14474         * win32/MANIFEST:
14475           remove obsolete entry
14476
14477 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14478
14479         * docs/gst/gstreamer-sections.txt:
14480         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14481         (gst_bin_iterate_sources), (gst_bin_send_event):
14482         * gst/gstbin.h:
14483         * gst/gstelement.c: (gst_element_send_event):
14484         * gst/gstevent.c:
14485         * gst/gstpad.c: (gst_pad_send_event):
14486           added code for downstream events, reviewed docs in gstevent.c
14487
14488 2006-01-25  Julien MOUTTE  <julien@moutte.net>
14489
14490         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14491         We only query position using the clock in the playing state.
14492         Query peer in the other cases.
14493         * win32/common/config.h: Updates.
14494
14495 2006-01-24  Wim Taymans  <wim@fluendo.com>
14496
14497         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14498         A clock entry that is scheduled for the exact time of the
14499         clock is still in time.
14500
14501         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14502         (gst_base_sink_do_sync):
14503         Add some more debug info.
14504
14505 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14506
14507         * win32/vs7:
14508           Add new vs7 project files and solution.
14509
14510 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14511
14512         * win32/vs7:
14513           all files removed as they were out-dated.
14514
14515 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14516
14517         * docs/random/release:
14518           update notes
14519         * gst/gstbin.c: (gst_bin_init):
14520         * gst/gstbus.c: (gst_bus_new):
14521         * gst/gstbus.h:
14522         * gst/gstpipeline.c: (gst_pipeline_init):
14523           use gst_bus_new(), improve logging, fix docs
14524         * win32/common/config.h:
14525           update for cvs build
14526
14527 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14528
14529         * autogen.sh:
14530           up required version of automake to 1.7
14531
14532 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
14533
14534         * win32/common/libgstreamer.def:
14535           export gst_buffer_is_metadata_writable
14536
14537 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
14538
14539         * docs/gst/gstreamer-sections.txt:
14540         * gst/gstevent.h:
14541           Add gst_event_replace() (#327001)
14542
14543 2006-01-20  Wim Taymans  <wim@fluendo.com>
14544
14545         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14546         Make it actually compile too..
14547
14548 2006-01-20  Wim Taymans  <wim@fluendo.com>
14549
14550         * gst/gstcaps.c:
14551         Clarify behaviour of _is_equal() when passing NULL parameters.
14552
14553         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14554         (gst_pad_set_caps):
14555         Cleanups. Don't unref NULL caps.
14556         When setting the same caps, protect caps of the pad with
14557         proper lock.
14558         Use full functionality of _is_equal() when comparing caps.
14559
14560 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14561
14562         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14563         Don't loop infinitely if there are no buffers to present. Partially
14564         fixes #327197, but collectpads is just broken for reusing elements
14565         to do multiple encodes atm.
14566
14567 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14568
14569         * tools/gst-inspect.c: (print_element_features):
14570         * tools/gst-xmlinspect.c: (main):
14571         URL_HANDLER is not a plugin feature we can search for in
14572         the registry.
14573
14574 2006-01-19  Edward Hervey  <edward@fluendo.com>
14575
14576         * gst/gstelement.c: (gst_element_pads_activate): 
14577         When activating, do src pads first, then sink pads.
14578         When de-activating, do sink pads first, then src pads.
14579
14580 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14581
14582         * docs/gst/gstreamer-sections.txt:
14583         Add gst_index_add_associationv to the docs
14584
14585 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14586
14587         * gst/gstevent.c:
14588           Fix docs typo
14589
14590         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14591         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14592           Do some refactoring. Doesn't actually change functionality,
14593           but makes landing the DRAIN event easier later.
14594
14595 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
14596
14597         * docs/pwg/advanced-scheduling.xml:
14598           Update from 0.9.x to 0.10 API and make example a bit
14599           clearer.
14600
14601 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14602
14603         * docs/gst/gstreamer-sections.txt:
14604         Add gst_buffer_(is|make)_metadata_writable methods.
14605
14606 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14607
14608         * docs/design/part-sparsestreams.txt:
14609         Update sparse streams doc, hopefully for greater clarity
14610
14611 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
14612
14613         * docs/design/part-events.txt:
14614         Remove mention of FILLER events.
14615         Add DRAIN event.
14616
14617         * docs/design/part-sparsestreams.txt:
14618         Write some things about using NEWSEGMENT to keep sparse streams
14619         flowing.
14620
14621 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14622
14623         * gst/gstbin.c: (gst_bin_dispose):
14624           Guard gst_object_unref call against a NULL object (dispose
14625           can theoretically be called multiple times).
14626           
14627 2006-01-18  Wim Taymans  <wim@fluendo.com>
14628
14629         * gst/gstbin.c: (gst_bin_element_set_state):
14630         * gst/gstclock.c: (gst_clock_id_wait):
14631         Added some more debug info.
14632
14633         * libs/gst/base/gstadapter.c:
14634         Added more docs.
14635
14636         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14637         (gst_base_sink_do_sync), (gst_base_sink_chain):
14638         Added some comments.
14639
14640 2006-01-18  Wim Taymans  <wim@fluendo.com>
14641
14642         * tests/check/Makefile.am:
14643         * tests/check/elements/fakesink.c: (chain_async_buffer),
14644         (chain_async), (chain_async_return), (GST_START_TEST),
14645         (fakesink_suite), (main):
14646         Added fakesink test that checks prerolling and clipping
14647         behaviour.
14648
14649         * tests/check/gst/gstutils.c: (GST_START_TEST):
14650         Make check run faster so that buildbots don't timeout.
14651
14652 2006-01-18  Wim Taymans  <wim@fluendo.com>
14653
14654         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14655         (gst_base_sink_do_sync):
14656         Some cleanups.
14657         When the sink finishes blocking on the preroll buffer, it can
14658         immediatly render it instead of rendering when the next buffer
14659         arrives.
14660
14661 2006-01-18  Wim Taymans  <wim@fluendo.com>
14662
14663         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14664         (gst_base_sink_get_property), (gst_base_sink_do_sync),
14665         (gst_base_sink_chain):
14666         Small cleanups.
14667         GST_ELEMENT_CLOCK and sync are protected with LOCK.
14668         Don't store _last_stop if the buffer is dropped.
14669
14670 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14671
14672         * plugins/elements/gsttypefindelement.c:
14673         (gst_type_find_element_class_init):
14674           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14675           object method handler that sets the caps on the pad and we want
14676           that to happen before we emit the signal (fixes e.g. feeding a
14677           plain text file to decodebin).
14678
14679 2006-01-18  Christian Schaller  <Christian@fluendo.com>
14680
14681         * gst/gstplugin.c: Add MPL and Proprietary as license options
14682
14683 2006-01-18  Andy Wingo  <wingo@pobox.com>
14684
14685         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14686         symbol was exported before, it appears this was just an oversight.
14687         Fixes #168703.
14688         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14689
14690         * gst/gstindex.c (gst_index_add_associationv): Changed int in
14691         prototype to gint. OK since this prototype was not in the header.
14692
14693 2006-01-17  Andy Wingo  <wingo@pobox.com>
14694
14695         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14696         registry while we remove plugins.
14697
14698         * tools/gst-inspect.c (print_element_info): Don't unref the
14699         factory arg, that should be the responsibility of whatever code
14700         received the ref. Fixes a double-free when called from
14701         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14702         (main): Unref the factory if we have one.
14703         (print_element_list): No change -- relies on the
14704         plugin_feature_list_free to free the list of features.
14705
14706 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
14707
14708         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14709         (gst_buffer_make_metadata_writable):
14710         * gst/gstbuffer.h:
14711         * libs/gst/base/gstbasetransform.c:
14712         (gst_base_transform_prepare_output_buf):
14713         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14714         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14715           Replace gst_buffer_(make|is)_metadata_writable patch now
14716           that the release is out.
14717
14718 2006-01-17  Andy Wingo  <wingo@pobox.com>
14719
14720         * gst/gstregistry.c: Reflow design comment. Update so as to speak
14721         in the present tense without reference to versions.
14722
14723         * gst/gstregistry.c (gst_registry_add_plugin)
14724         (gst_registry_remove_plugin, gst_registry_remove_feature)
14725         (gst_registry_find_feature, gst_registry_get_feature_list)
14726         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14727         (gst_registry_lookup, gst_registry_scan_path)
14728         (_gst_registry_remove_cache_plugins)
14729         (gst_registry_get_feature_list_by_plugin): Add argument
14730         validation.
14731
14732 === release 0.10.2 ===
14733
14734 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
14735
14736         * configure.ac:
14737           releasing 0.10.2, "If man is five"
14738
14739 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14740
14741         * gst/gstbuffer.c:
14742         * gst/gstbuffer.h:
14743         * libs/gst/base/gstbasetransform.c:
14744         (gst_base_transform_prepare_output_buf):
14745         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14746         * tests/check/gst/gstbuffer.c: (gst_test_suite):
14747           Back out patch until after the release.
14748
14749 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14750
14751         * gst/gstminiobject.c:
14752           Spelling fix in docs.
14753         * ChangeLog - remove conflict indicator
14754
14755 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14756
14757         Reviewed By: Andy Wingo
14758
14759         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14760         (gst_buffer_make_metadata_writable):
14761         * gst/gstbuffer.h:
14762           Add gst_buffer_(is|make)_metadata_writable as analogues of
14763           gst_buffer_(is|make)_writable.
14764
14765         * libs/gst/base/gstbasetransform.c:
14766         (gst_base_transform_prepare_output_buf):
14767         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14768           Use name gst_buffer_(is|make)_metadata_writable functions.
14769
14770         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14771           Test gst_buffer_(is|make)_metadata_writable
14772         
14773           (Closes: #324162)
14774
14775 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14776
14777         * docs/manual/Makefile.am:
14778           don't do parallel make
14779         * configure.ac:
14780           AC_SUBST HOST_CPU
14781         * win32/common/config.h.in:
14782           add generations for HOST_CPU and GST_MAJORMINOR
14783         * win32/common/config.h:
14784           commit generated result
14785
14786 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
14787
14788         * docs/manual/appendix-integration.xml:
14789           Update GNOME integration section to use gst_init_get_option_group()
14790           instead of the old popt stuff (#322911). Also, GNOME applications
14791           should  now use gconf*sink and gconf*src instead of the old gconf
14792           helper lib we had.
14793
14794 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
14795
14796
14797         * docs/gst/gstreamer-docs.sgml:
14798         * docs/gst/gstreamer-sections.txt:
14799         * docs/libs/gstreamer-libs-sections.txt:
14800           add new API entries to the docs
14801         * libs/gst/controller/Makefile.am:
14802         * libs/gst/controller/gstcontroller.c:
14803         * libs/gst/controller/gstcontroller.h:
14804         * libs/gst/controller/gstcontrollerprivate.h:
14805         * libs/gst/controller/gsthelper.c:
14806         * libs/gst/controller/gstinterpolation.c:
14807           move private structs to private header
14808         * po/README:
14809           gstreamer-0.7 -> gstreamer-0.10
14810         * tests/check/libs/struct_i386.h:
14811           remove private structs
14812
14813 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14814
14815         * plugins/indexers/Makefile.am:
14816           Fixes as part of #317048
14817
14818 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14819
14820         * plugins/indexers/Makefile.am:
14821           fix #316086 - compilation when mmap is missing
14822
14823 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
14824
14825         * libs/gst/base/gstbasesink.c:
14826           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
14827           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14828         * win32/common/config.h:
14829           added some defines GST_MAJORMINOR and HOST_CPU
14830         * win32/common/libgstbase.def:
14831         * win32/common/libgstreamer.def:
14832           added some exported functions.
14833
14834 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14835
14836         * libs/gst/controller/gstcontroller.c:
14837         (gst_controlled_property_set_interpolation_mode),
14838         (gst_controlled_property_new):
14839         * libs/gst/controller/gstcontroller.h:
14840         * libs/gst/controller/gstinterpolation.c:
14841         (interpolate_none_get_string_value_array):
14842           make G_TYPE_STRING controlable
14843
14844 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14845
14846         * tools/README:
14847         * tools/gst-feedback.1.in:
14848         * tools/gst-inspect.1.in:
14849         * tools/gst-launch.1.in:
14850         * tools/gst-md5sum.1.in:
14851         * tools/gst-typefind.1.in:
14852         * tools/gst-xmlinspect.1.in:
14853         * tools/gst-xmllaunch.1.in:
14854           cleanup man-pages, remove reference to gst-register, document env-vars
14855
14856 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
14857
14858         * gst/gstbuffer.c: (gst_buffer_span):
14859           gst_buffer_span should copy the timestamp of the first buffer
14860           if they were both originally overlapping subbuffers of the 
14861           same parent, using the same logic as the 'slow copy' case.
14862
14863 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
14864
14865         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14866           Need to awaken ALL the pads when we pop a buffer, otherwise
14867           collectpads only works when there is 2 input streams.
14868
14869 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
14870
14871         * docs/random/ensonic/media-device-daemon.txt:
14872           more ideas (dbus)
14873         * gst/gstbuffer.c:
14874           fix doc example, add clarification
14875         * tools/gst-launch.1.in:
14876           add initial info about GST_PLUGIN_PATH, needs more work
14877
14878 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
14879
14880         * docs/manual/basics-bins.xml:
14881         * docs/manual/basics-elements.xml:
14882         * docs/manual/intro-basics.xml:
14883           Some more minor docs additions and updates.
14884
14885 2006-01-11  Wim Taymans  <wim@fluendo.com>
14886
14887         * docs/manual/basics-bins.xml:
14888         * docs/manual/basics-elements.xml:
14889         Some small fixes as pointed out by Ser-ver on IRC.
14890
14891 2006-01-10  Edward Hervey  <edward@fluendo.com>
14892
14893         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14894         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14895         the single-segment mode.
14896
14897 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
14898
14899         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14900
14901         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14902         (gst_base_src_perform_seek), (gst_base_src_send_event),
14903         (gst_base_src_set_property), (gst_base_src_get_property),
14904         (gst_base_src_loop), (gst_base_src_start),
14905         (gst_base_src_activate_push):
14906         * libs/gst/base/gstbasesrc.h:
14907           Name (private) union; makes Sun's Forte compiler happy (#324900).
14908
14909 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14910
14911         * README:
14912           gst-register is gone.
14913
14914 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14915
14916         * gst/gstvalue.c: (_gst_value_initialize):
14917           make the G_TYPE_DATE instantiation work if debug is disabled
14918
14919 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         * gst/gstmessage.c: (gst_message_parse_tag),
14922         (gst_message_parse_error), (gst_message_parse_warning):
14923           Don't crash when return location for error/warning debug
14924           string is NULL; add fact that return locations can be
14925           NULL to docs where appropriate.
14926
14927 2006-01-05  Wim Taymans  <wim@fluendo.com>
14928
14929         * gst/gstplugin.c: (gst_plugin_load_file):
14930         Replace strdup by g_strdup.
14931
14932 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14933
14934         * docs/pwg/advanced-types.xml:
14935           fix doc borkage
14936
14937 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14938
14939         submitted by: Abel Cheung
14940
14941         * po/LINGUAS:
14942         * po/zh_TW.po:
14943           Added Chinese (traditional) translation
14944
14945 2006-01-04  Wim Taymans  <wim@fluendo.com>
14946
14947         * docs/manual/basics-pads.xml:
14948         * docs/plugins/Makefile.am:
14949         * docs/plugins/gstreamer-plugins-docs.sgml:
14950         * docs/plugins/gstreamer-plugins-sections.txt:
14951         * docs/pwg/advanced-clock.xml:
14952         * docs/pwg/advanced-scheduling.xml:
14953         * docs/pwg/advanced-types.xml:
14954         * plugins/elements/gstfdsink.c:
14955         * plugins/elements/gstfdsrc.c:
14956         * plugins/elements/gstfdsrc.h:
14957         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14958         * plugins/elements/gstidentity.h:
14959         * plugins/elements/gstqueue.h:
14960         * plugins/elements/gsttee.c:
14961         * plugins/elements/gsttee.h:
14962         * plugins/elements/gsttypefindelement.c:
14963         (gst_type_find_element_class_init):
14964         * plugins/elements/gsttypefindelement.h:
14965         Small updates to various docs.
14966         Added core plugins to docs.
14967
14968 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14969
14970         * common/gst.supp:
14971           add a suppression for liboil's uninitialized variable
14972
14973 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14974
14975         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14976
14977         * gst/gstutils.h:
14978           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14979           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14980           compiler switch is being used (#325429).
14981
14982 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14983
14984         * gst/gstbin.c: (gst_bin_query):
14985           Disable duration query caching in bins until it gets
14986           fixed (see #324807).
14987
14988 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * tools/gst-inspect.c: (print_element_properties_info):
14991           Handle properties of POINTER and BOXED type.
14992
14993 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14994
14995         * gst/gst.c: (init_post):
14996           Init tags stuff and some other things before loading
14997           any static plugins (there may be other static plugins
14998           than just the GStreamer ones, and they may want to
14999           register their own tags or formats or whatever, and
15000           preferably without segfaulting).
15001
15002         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15003           Print at least a warning in the debug logs if we drop a
15004           query just because we don't know how to adjust the value
15005           in the particular format.
15006
15007 2005-12-24  David Schleef  <ds@schleef.org>
15008
15009         * tools/gstreamer-completion:
15010           Replacement for gst-complete written in sh and sed.  Only
15011           completes names of features, but that's 90% of what I want
15012           it for.  Properties are not available in registry.xml.  (Maybe
15013           they should be...)
15014
15015 === release 0.10.1 ===
15016
15017 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15018
15019         * configure.ac:
15020           releasing 0.10.1, "Nollaig chridheil"
15021
15022 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15023
15024         * docs/faq/cvs.xml:
15025           Add missing quote, should be make ERROR_CFLAGS="".
15026
15027 2005-12-20  Wim Taymans  <wim@fluendo.com>
15028
15029         * docs/design/part-trickmodes.txt:
15030         More documentation on trickmodes.
15031
15032 2005-12-20  Edward Hervey  <edward@fluendo.com>
15033
15034         * gst/gstcaps.c: (gst_static_caps_get_type):
15035         * gst/gstcaps.h:
15036           API addition: GST_TYPE_STATIC_CAPS
15037         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15038         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15039         * gst/gstpadtemplate.h:
15040           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15041         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15042         bindings.
15043
15044 2005-12-18  Wim Taymans  <wim@fluendo.com>
15045
15046         * libs/gst/base/gstadapter.c:
15047         * libs/gst/base/gstadapter.h:
15048         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15049         (gst_base_sink_get_position):
15050         * libs/gst/base/gstbasesink.h:
15051         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15052         (gst_base_src_default_query), (gst_base_src_default_do_seek),
15053         (gst_base_src_do_seek), (gst_base_src_perform_seek),
15054         (gst_base_src_send_event), (gst_base_src_update_length),
15055         (gst_base_src_get_range), (gst_base_src_loop),
15056         (gst_base_src_start):
15057         * libs/gst/base/gstbasesrc.h:
15058         * libs/gst/base/gstbasetransform.h:
15059         * libs/gst/base/gstcollectpads.h:
15060         * libs/gst/base/gstpushsrc.c:
15061         * libs/gst/base/gstpushsrc.h:
15062         * libs/gst/dataprotocol/dataprotocol.c:
15063         * libs/gst/dataprotocol/dataprotocol.h:
15064         * libs/gst/net/gstnetclientclock.h:
15065         * libs/gst/net/gstnettimeprovider.h:
15066         Documentation updates.
15067
15068 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
15069
15070         * docs/manual/basics-helloworld.xml:
15071           Remove superfluous closing bracket in helloworld example.
15072
15073 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
15074
15075         * tools/gst-launch.1.in:
15076           Update gst-launch man page; add a section with useful
15077           environment variables. Fixes #323882.
15078
15079 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
15080
15081         * gst/gst.c:
15082         * gst/gst_private.h:
15083           change some char* into char[]
15084
15085 2005-12-16  Wim Taymans  <wim@fluendo.com>
15086
15087         * gst/gstregistryxml.c: (load_feature):
15088         Cleanups.
15089         Don't use g_object_unref on GstObjects so that we avoid
15090         leaks on unsafe glibs.
15091
15092 2005-12-16  Wim Taymans  <wim@fluendo.com>
15093
15094         * gst/gstbin.c: (gst_bin_recalc_state):
15095         Small doc updates.
15096
15097 2005-12-16  Wim Taymans  <wim@fluendo.com>
15098
15099         * common/check.mak:
15100         Added make forever target for check.
15101
15102 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15103
15104         * gst/gst.c: (init_post):
15105           make the registry cache file HOST_CPU-dependent
15106
15107 2005-12-16  Andy Wingo  <wingo@pobox.com>
15108
15109         * plugins/elements/gstbufferstore.c
15110         (gst_buffer_store_cleared_func): Pay attention to g_list_append
15111         return value.
15112
15113         * tests/check/gst/gstobject.c
15114         (test_fake_object_name_threaded_unique): Pay attention to
15115         g_list_sort return value.
15116
15117 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * tools/gst-feedback-m.m:
15120           Update for 0.9/0.10 (fixes #323870).
15121
15122 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
15125           Fix lcopy for mini objects, the mini object needs to be ref'ed.
15126           
15127         * tests/check/gst/gstminiobject.c: (my_foo_init),
15128         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
15129         (test_value_collection), (gst_mini_object_suite):
15130           Add test to ensure refcounts end up as expected when passing
15131           GstMiniObjects through g_object_get() and g_object_set().
15132
15133 2005-12-14  Julien MOUTTE  <julien@moutte.net>
15134
15135         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15136         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
15137         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
15138         of collectpads. This version removes a lot of races without
15139         touching API/ABI. Yay !
15140
15141 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
15142
15143         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
15144           Don't allow activation of a srcpad in pull_range if it has no
15145           getrange function.
15146           Change some debug statements to be a little clearer
15147
15148         * plugins/elements/gsttypefindelement.c:
15149         (gst_type_find_handle_src_query):
15150           Check that we have a peer before executing queries thereupon.
15151
15152         * tests/examples/metadata/read-metadata.c: (message_loop):
15153           Use gst_bus_pop instead of gst_bus_poll when we just want it to
15154           immediately return us any available message with 0 timeout.
15155
15156 2005-12-12  Michael Smith  <msmith@fluendo.com>
15157
15158         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
15159           Don't unref factories after calling them.
15160         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
15161         * plugins/elements/gsttypefindelement.c:
15162         (gst_type_find_element_chain):
15163           Free lists of factories after using them. Fixing typefinding memory
15164           leaks.
15165
15166 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15167
15168         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
15169         (gst_plugin_feature_load):
15170           more meaningful debug output
15171         * configure.ac:
15172         * tests/Makefile.am:
15173         * tests/old/examples/Makefile.am:
15174           make make distcheck happy again
15175
15176 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15179           Catch the special case where we are operating chain-based,
15180           but the downstream peer pad has no chain function. Emit a
15181           custom error message in this case instead of letting the
15182           core generate one implying that this is some sort of core
15183           bug. It's not, it just means that whatever got plugged
15184           into the pipeline downstream when we announced the type
15185           can only operate pull-based, while our source can only
15186           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
15187           Error string has not been marked for translation yet, as
15188           it probably needs some more work first.
15189
15190         (gst_type_find_element_get_best_possibility):
15191           Add helper function to find the best of all available
15192           found possibilities that qualify given the min. threshold.
15193
15194         (gst_type_find_element_handle_event):
15195           Fix the case where we get an EOS while still in TYPEFIND
15196           mode (we want to chose the best of all possible types,
15197           not just the first type that happens to be in our unsorted
15198           list of possible types).
15199
15200         (gst_type_find_element_chain):
15201           Make sure we return GST_FLOW_ERROR when we errored out
15202           in stop_typefinding(); also, don't just find the best of
15203           all found type entries and then use the last examined
15204           type entry, but actually use the best entry.
15205
15206 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * tests/examples/typefind/typefind.c: (type_found):
15209         * tests/examples/xml/runxml.c: (xml_loaded):
15210           More gcc4 fixes and a mem leak fix.
15211
15212 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15213
15214         * tests/examples/xml/createxml.c: (object_saved):
15215           gcc 4 fixes
15216
15217 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15218
15219         * tests/Makefile.am:
15220           enable the examples even more
15221
15222 2005-12-12  Andy Wingo  <wingo@pobox.com>
15223
15224         * libs/gst/net/gstnettimeprovider.c
15225         (gst_net_time_provider_class_init, gst_net_time_provider_init)
15226         (gst_net_time_provider_set_property)
15227         (gst_net_time_provider_get_property):
15228         API addition: Export "active" as a GObject property.
15229         (gst_net_time_provider_thread): Only respond to time queries if
15230         the time provider is active.
15231
15232         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
15233         NetTimeProvider, preserving binary compat.
15234
15235 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15236
15237         * tests/examples/controller/audio-example.c: (main):
15238         * tests/examples/launch/Makefile.am:
15239           convert comments again
15240
15241 2005-12-12  Wim Taymans  <wim@fluendo.com>
15242
15243         * libs/gst/base/gstpushsrc.c:
15244         Fix typo.
15245
15246 2005-12-12  Wim Taymans  <wim@fluendo.com>
15247
15248         * docs/libs/gstreamer-libs-sections.txt:
15249         Added new symbol to docs.
15250
15251         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15252         (gst_base_src_init), (gst_base_src_set_format),
15253         (gst_base_src_default_query), (gst_base_src_query),
15254         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
15255         (gst_base_src_perform_seek), (gst_base_src_send_event),
15256         (gst_base_src_default_event), (gst_base_src_event_handler),
15257         (gst_base_src_set_property), (gst_base_src_get_property),
15258         (gst_base_src_wait), (gst_base_src_do_sync),
15259         (gst_base_src_update_length), (gst_base_src_get_range),
15260         (gst_base_src_check_get_range), (gst_base_src_loop),
15261         (gst_base_src_default_negotiate), (gst_base_src_start),
15262         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15263         (gst_base_src_change_state):
15264         * libs/gst/base/gstbasesrc.h:
15265         Implement seeking to other formats than _BYTES.
15266         Implement more seeking methods correctly.
15267         Doc updates.
15268         Added query vmethod.
15269         Added do_seek vmethod to make life easier for subclasses
15270         when seeking.
15271         API addition: gst_base_src_set_format()
15272
15273 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15274
15275         * tests/examples/Makefile.am:
15276           added that too
15277
15278 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15279
15280         * configure.ac:
15281         * docs/random/ensonic/media-device-daemon.txt:
15282         * tests/examples/controller/.cvsignore:
15283         * tests/examples/controller/Makefile.am:
15284         * tests/examples/controller/audio-example.c: (main):
15285         * tests/examples/helloworld/.cvsignore:
15286         * tests/examples/helloworld/Makefile.am:
15287         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
15288         * tests/examples/launch/.cvsignore:
15289         * tests/examples/launch/Makefile.am:
15290         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
15291         * tests/examples/metadata/.cvsignore:
15292         * tests/examples/metadata/Makefile.am:
15293         * tests/examples/metadata/read-metadata.c: (message_loop),
15294         (make_pipeline), (print_tag), (main):
15295         * tests/examples/queue/.cvsignore:
15296         * tests/examples/queue/Makefile.am:
15297         * tests/examples/queue/queue.c: (event_loop), (main):
15298         * tests/examples/typefind/.cvsignore:
15299         * tests/examples/typefind/Makefile.am:
15300         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
15301         (main):
15302         * tests/examples/xml/.cvsignore:
15303         * tests/examples/xml/Makefile.am:
15304         * tests/examples/xml/createxml.c: (object_saved), (main):
15305         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15306         * tests/old/examples/Makefile.am:
15307         * tests/old/examples/TODO:
15308         * tests/old/examples/controller/.cvsignore:
15309         * tests/old/examples/controller/Makefile.am:
15310         * tests/old/examples/controller/audio-example.c:
15311         * tests/old/examples/helloworld/.cvsignore:
15312         * tests/old/examples/helloworld/Makefile.am:
15313         * tests/old/examples/helloworld/helloworld.c:
15314         * tests/old/examples/launch/.cvsignore:
15315         * tests/old/examples/launch/Makefile.am:
15316         * tests/old/examples/launch/mp3parselaunch.c:
15317         * tests/old/examples/launch/mp3play:
15318         * tests/old/examples/manual/Makefile.am:
15319         * tests/old/examples/metadata/Makefile.am:
15320         * tests/old/examples/metadata/read-metadata.c:
15321         * tests/old/examples/queue/.cvsignore:
15322         * tests/old/examples/queue/Makefile.am:
15323         * tests/old/examples/queue/queue.c:
15324         * tests/old/examples/typefind/.cvsignore:
15325         * tests/old/examples/typefind/Makefile.am:
15326         * tests/old/examples/typefind/typefind.c:
15327         * tests/old/examples/xml/.cvsignore:
15328         * tests/old/examples/xml/Makefile.am:
15329         * tests/old/examples/xml/createxml.c:
15330         * tests/old/examples/xml/runxml.c:
15331           applied some simple fixing to some examples
15332           re-enabled the working examples
15333
15334 2005-12-12  Wim Taymans  <wim@fluendo.com>
15335
15336         * gst/gstsegment.c: (gst_segment_init),
15337         (gst_segment_set_last_stop), (gst_segment_set_seek),
15338         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15339         (gst_segment_to_running_time):
15340         Added more documentation.
15341         Make sure the last_pos value is updated properly.
15342         Make sure to_stream_time and to_running_time don't
15343         operate on wrong values.
15344
15345         * tests/check/gst/gstsegment.c: (GST_START_TEST):
15346         Update check.
15347
15348 2005-12-12  Michael Smith  <msmith@fluendo.com>
15349
15350         * plugins/elements/gsttypefindelement.c: (free_entry),
15351         (gst_type_find_element_chain):
15352           Now that we're not leaking factories, make sure we keep references
15353           to them while we need them.
15354
15355 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * tests/check/gst/struct_i386.h:
15358           ifdef out the XML structs
15359
15360 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15361
15362         * gst/gstvalue.c: (gst_value_transform_double_fraction):
15363           floor is not needed, F is always positive; this obviates the
15364           need for adding -lm when building without libxml
15365
15366 2005-12-12  Wim Taymans  <wim@fluendo.com>
15367
15368         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15369         Take current playback rate into account when reporting
15370         the position.
15371
15372 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15373
15374         * docs/manual/mime-world.fig:
15375           Let's try this again, this time with a file that is
15376           actually in XFig format.
15377
15378 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15379
15380         * docs/manual/mime-world.fig:
15381           Add audioconvert element to diagram so that it
15382           matches the text and the code (fixes #319526).
15383
15384 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15385
15386         * docs/pwg/building-chainfn.xml:
15387         * docs/pwg/building-pads.xml:
15388         * docs/pwg/building-state.xml:
15389         * docs/pwg/other-source.xml:
15390           Update state change stuff for 0.10 (fixes #322969).
15391
15392 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15393
15394         * docs/manual/advanced-dataaccess.xml:
15395         * docs/manual/appendix-checklist.xml:
15396         * docs/manual/appendix-programs.xml:
15397         * docs/manual/basics-pads.xml:
15398         * docs/manual/highlevel-components.xml:
15399         * docs/manual/manual.xml:
15400           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15401           add converters in front of pipelines; remove curly
15402           brackets for threads stuff, they no longer exist; use
15403           GST_TYPE_FRACTION for framerates; update some pieces of
15404           code to 0.10, but there's plenty more to do.
15405
15406         * docs/manual/appendix-porting.xml:
15407           Expand on asynchroneous state changes; s/0.9/0.10/;
15408           mention disappearance of gst_init_get_popt_table()
15409           (fixes #322916).
15410
15411 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15412
15413         * docs/faq/using.xml:
15414           Spider no longer exists, and neither does gst-launch-ext.
15415           Update examples to use decodebin and playbin and put
15416           converters in front of sinks (fixes #323726).
15417
15418 2005-12-09  Michael Smith  <msmith@fluendo.com>
15419
15420         * plugins/elements/gsttypefindelement.c: (find_peek),
15421         (gst_type_find_element_chain):
15422           Fix leaking element factories in typefinding.
15423           Fix problem where we forgot about a probable type on non-seekable
15424           files, and thus later mis-typefound it.
15425
15426 2005-12-09  Michael Smith  <msmith@fluendo.com>
15427
15428         * common/m4/gst-makecontext.m4:
15429         * common/m4/gst-mcsc.m4:
15430         * configure.ac:
15431         * win32/common/config.h:
15432         * win32/common/config.h.in:
15433           Remove makecontext stuff; not used in 0.10 and causes problems on
15434           HPUX according to bug #322441
15435
15436 2005-12-07  Wim Taymans  <wim@fluendo.com>
15437
15438         * tests/check/Makefile.am:
15439         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15440         (main):
15441         * tests/check/libs/struct_i386.h:
15442         Added ABI check for libs
15443
15444 2005-12-07  Wim Taymans  <wim@fluendo.com>
15445
15446         * tests/check/Makefile.am:
15447         And add the struct_i386.h to dist.
15448
15449 2005-12-07  Wim Taymans  <wim@fluendo.com>
15450
15451         * tests/check/Makefile.am:
15452         * tests/check/gst/.cvsignore:
15453         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15454         (main):
15455         * tests/check/gst/struct_i386.h:
15456         Added check for ABI compatibility.
15457
15458 2005-12-07  Wim Taymans  <wim@fluendo.com>
15459
15460         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15461         (gst_fake_src_get_times), (gst_fake_src_create):
15462         Fix broken sync option, fixes #323259
15463
15464 2005-12-07  Wim Taymans  <wim@fluendo.com>
15465
15466         * gst/gstbuffer.c:
15467         Small docs update.
15468
15469         * gst/gstcaps.c: (gst_caps_is_equal):
15470         Don't assert on NULL <--> X. Fixes #323260
15471
15472         * gst/gstminiobject.c: (gst_mini_object_replace):
15473         If we're doing atomic operations, we might just as well use
15474         the proper way to get an atomic pointer.
15475
15476         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15477         Clean up debugging.
15478
15479 2005-12-07  Michael Smith  <msmith@fluendo.com>
15480
15481         * gst/parse/grammar.y:
15482           Remove handling of { } for threads.
15483
15484 2005-12-06  David Schleef  <ds@schleef.org>
15485
15486         * libs/gst/base/gstbasetransform.c: speling fix.
15487
15488 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15489
15490         * docs/libs/tmpl/gstdataprotocol.sgml:
15491         * docs/random/omega/testing/gstobject.c:
15492         * gst/gst.c:
15493         * gst/gstclock.c:
15494         * gst/gstelement.c:
15495         * gst/gstelementfactory.c:
15496         * gst/gsterror.c:
15497         * gst/gstevent.c:
15498         * gst/gstghostpad.c:
15499         * gst/gstinfo.c:
15500         * gst/gstpadtemplate.c:
15501         * gst/gstregistryxml.c:
15502         * gst/gsttaglist.c:
15503         * gst/gsttagsetter.c:
15504         * gst/gsttypefind.c:
15505         * gst/gstvalue.c:
15506         * libs/gst/base/gstbasesrc.c:
15507         * libs/gst/net/gstnetclientclock.c:
15508         * libs/gst/net/gstnettimeprovider.c:
15509         * plugins/elements/gstfakesrc.c:
15510         * plugins/elements/gstfdsrc.c:
15511         * plugins/elements/gstfilesrc.c:
15512         * plugins/elements/gstidentity.c:
15513         * plugins/elements/gstqueue.c:
15514         * plugins/elements/gsttypefindelement.c:
15515         * plugins/indexers/gstfileindex.c:
15516         * plugins/indexers/gstmemindex.c:
15517         * tests/check/gst/gsttag.c:
15518         * tests/old/examples/cutter/cutter.c:
15519         * tests/old/examples/mixer/mixer.c:
15520         * tests/old/examples/xml/runxml.c: (main):
15521         * tests/old/testsuite/caps/normalisation.c:
15522         * tests/old/testsuite/debug/global.c:
15523         * tests/old/testsuite/parse/parse1.c:
15524         * tools/gst-xmlinspect.c:
15525         * win32/common/dirent.c:
15526           expand tabs
15527
15528 === release 0.10.0 ===
15529
15530 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15531
15532         * configure.ac:
15533           releasing 0.10.0, "Maroilles"
15534
15535 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15536
15537         submitted by: Funda Wang <fundawang@linux.net.cn>
15538
15539         * po/LINGUAS:
15540         * po/zh_CN.po:
15541           added Chinese (Traditional) translation
15542
15543 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15544
15545         * docs/gst/gstreamer-sections.txt:
15546         * docs/libs/tmpl/gstdataprotocol.sgml:
15547         * docs/random/thomasvs/TODO:
15548         * gst/gstutils.c:
15549         * gst/gstutils.h:
15550           fix docs
15551
15552 2005-12-05  Andy Wingo  <wingo@pobox.com>
15553
15554         patch by: Wim Taymans <wim@fluendo.com>
15555
15556         * libs/gst/base/gstbasetransform.c
15557         (gst_base_transform_prepare_output_buf)
15558         (gst_base_transform_buffer_alloc):
15559         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15560         alloc_buffer_and_set_caps.
15561
15562         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15563         set_caps on the source pad.
15564         (gst_pad_alloc_buffer_and_set_caps): New function, does what
15565         alloc_buffer used to do. Fixes #322874.
15566
15567         * docs/gst/gstreamer-sections.txt: 
15568         * docs/design/part-negotiation.txt: 
15569         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15570         changes.
15571
15572 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15573
15574         patch by: Sebastien Moutte
15575
15576         * win32/MANIFEST:
15577         * win32/common/config.h.in:
15578         * win32/vs6/libgstcontroller.dsp:
15579           win32 build fixes
15580
15581 2005-12-05  Wim Taymans  <wim@fluendo.com>
15582
15583         * gst/gstcaps.c: (gst_caps_is_equal):
15584         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15585         (gst_fake_src_create):
15586         Back out previous code changes, leave doc updates, file bugs 
15587         instead. 
15588
15589 2005-12-05  Wim Taymans  <wim@fluendo.com>
15590
15591         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15592         (gst_fake_src_get_times), (gst_fake_src_create):
15593         * plugins/elements/gstfakesrc.h:
15594         Fix broken sync code.
15595
15596 2005-12-05  Wim Taymans  <wim@fluendo.com>
15597
15598         * gst/gstcaps.c: (gst_caps_is_equal):
15599         Comparing NULL against !NULL yields different caps, not a
15600         failure.
15601
15602 2005-12-05  Wim Taymans  <wim@fluendo.com>
15603
15604         * gst/gstpipeline.c:
15605         Fix small typo in docs.
15606
15607 2005-12-05  Andy Wingo  <wingo@pobox.com>
15608
15609         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
15610
15611         * gst/gst.c (init_post): remove hard-coded 0.9 location for
15612         registries/plugins with a MAJORMINOR one.
15613         (plugin_desc): Rename library from gstcoreleements to
15614         staticelements. Fixes #323222.
15615
15616 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
15617
15618         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15619           Change debug category to 'collectpads' from 'collect_pads'
15620           (fixes #323250).
15621
15622 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15623
15624         patch by: Sebastien Moutte
15625
15626         * libs/gst/controller/gstinterpolation.c:
15627           use convert function for uint64/double
15628         * win32/vs6/libgstcontroller.dsp:
15629           link to GLib
15630
15631 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15632
15633         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15634         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15635         * gst/gstutils.h:
15636         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15637           add tests that seem to show that the guint64/gdouble conversions
15638           are correct.
15639
15640 2005-12-02  Wim Taymans  <wim@fluendo.com>
15641
15642         * gst/gstregistry.c: (gst_registry_add_path):
15643         * gst/gstregistry.h:
15644         * gst/gstregistryxml.c:
15645         Fix docs again.
15646
15647 2005-12-02  Wim Taymans  <wim@fluendo.com>
15648
15649         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15650         (gst_util_uint64_scale_int):
15651         Small cleanup.
15652
15653         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15654         Add debug log line.
15655
15656         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15657         Add FIXME.
15658
15659 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15660
15661         * win32/MANIFEST:
15662         * win32/common/config.h:
15663         * win32/vs6/gstreamer.dsw:
15664         * win32/vs6/libgstcoreelements.dsp:
15665         * win32/vs6/libgstelements.dsp:
15666           renamed core elements plugin
15667
15668 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15669
15670         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15671         (get_candidates):
15672           do piece-wise major/minor comparison so 0.9 < 0.10
15673           also allow .exe extensions for tools
15674
15675 2005-12-02  Michael Smith  <msmith@fluendo.com>
15676
15677         * gst/gst.c:
15678           Escape a % to make gtkdoc happier; bug 322958.
15679
15680 === release 0.9.7 ===
15681
15682 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15683
15684         * configure.ac:
15685           releasing 0.9.7, "My Dog Has No Nose"
15686
15687 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15688
15689         * common/gst-xmlinspect.py:
15690         * configure.ac:
15691         * docs/libs/tmpl/gstdataprotocol.sgml:
15692         * docs/random/release:
15693         * po/af.po:
15694         * po/az.po:
15695         * po/bg.po:
15696         * po/ca.po:
15697         * po/cs.po:
15698         * po/de.po:
15699         * po/en_GB.po:
15700         * po/fr.po:
15701         * po/it.po:
15702         * po/nb.po:
15703         * po/nl.po:
15704         * po/ru.po:
15705         * po/sq.po:
15706         * po/sr.po:
15707         * po/sv.po:
15708         * po/tr.po:
15709         * po/uk.po:
15710         * po/vi.po:
15711         * win32/common/config.h:
15712         * win32/common/config.h.in:
15713         * win32/vs6/gst_inspect.dsp:
15714         * win32/vs6/gst_launch.dsp:
15715         * win32/vs6/libgstbase.dsp:
15716         * win32/vs6/libgstelements.dsp:
15717         * win32/vs6/libgstreamer.dsp:
15718         * win32/vs7/GStreamer.vcproj:
15719         * win32/vs7/gst-inspect.vcproj:
15720         * win32/vs7/gst-launch.vcproj:
15721         * win32/vs7/libgstbase.vcproj:
15722           bump GST_MAJORMINOR to 0.10
15723           reset libtool version
15724
15725 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15726
15727         * po/LINGUAS:
15728         * po/bg.po:
15729           Added Bulgarian translation by (Alexander Shopov)
15730
15731 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15732
15733         * tests/check/gst/gstplugin.c:
15734           fix test
15735
15736 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15737
15738         * common/gst-xmlinspect.py:
15739         * common/gtk-doc-plugins.mak:
15740         * configure.ac:
15741         * docs/Makefile.am:
15742         * docs/gst/Makefile.am:
15743         * docs/gst/gstreamer-docs.sgml:
15744         * docs/gst/gstreamer-sections.txt:
15745         * docs/gst/gstreamer.types:
15746         * docs/gst/gstreamer.types.in:
15747         * docs/plugins/Makefile.am:
15748         * docs/plugins/gstreamer-plugins-docs.sgml:
15749         * docs/plugins/gstreamer-plugins-sections.txt:
15750         * docs/plugins/gstreamer-plugins.types:
15751         * docs/plugins/inspect.stamp:
15752         * docs/plugins/inspect/plugin-coreelements.xml:
15753         * docs/plugins/inspect/plugin-coreindexers.xml:
15754         * docs/plugins/scanobj-build.stamp:
15755         * gstreamer.spec.in:
15756         * plugins/elements/Makefile.am:
15757         * plugins/elements/gstelements.c:
15758         * plugins/elements/gstfakesink.c:
15759         * plugins/elements/gstfakesrc.c:
15760         * plugins/elements/gstfilesink.c:
15761         * plugins/elements/gstfilesrc.c:
15762         * plugins/elements/gstqueue.c:
15763         * plugins/indexers/Makefile.am:
15764         * plugins/indexers/gstindexers.c:
15765           document core plugins in a separate document just like all the
15766           others
15767           rename these plugins to something starting with core
15768
15769 2005-12-01  Andy Wingo  <wingo@pobox.com>
15770
15771         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15772         padding here before, but it missed the commit.
15773
15774 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15775
15776         * libs/gst/controller/gstinterpolation.c:
15777           whitespace prices have crashed, we should feel free to use some now
15778           use gst_guint64_to_gdouble
15779
15780 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15781
15782         * libs/gst/controller/gstcontroller.c:
15783         * libs/gst/controller/gsthelper.c:
15784         * libs/gst/controller/gstinterpolation.c:
15785         * libs/gst/controller/lib.c:
15786           wrap config.h include
15787
15788 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15789
15790         * docs/gst/gstreamer-sections.txt:
15791           update docs
15792
15793 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15794
15795         * plugins/elements/gstelements.c:
15796         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15797         (gst_fd_sink__class_init), (gst_fd_sink__init),
15798         (gst_fd_sink__chain), (gst_fd_sink__set_property),
15799         (gst_fd_sink__get_property):
15800         * plugins/elements/gstfdsink.h:
15801         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15802         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15803         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15804         (gst_fd_src_unlock), (gst_fd_src_set_property),
15805         (gst_fd_src_get_property), (gst_fd_src_create),
15806         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15807         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15808         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15809         (gst_fd_src_uri_handler_init):
15810         * plugins/elements/gstfdsrc.h:
15811         * plugins/elements/gstqueue.c: (gst_queue_get_type):
15812           more anal cleanup
15813
15814 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15815
15816         * docs/gst/Makefile.am:
15817         * docs/gst/gstreamer.types.in:
15818         * gst/Makefile.am:
15819           fix the docs build
15820
15821 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15822
15823         * configure.ac:
15824         * gst/Makefile.am:
15825         * gst/gst.c:
15826         * gst/gstplugin.h:
15827         * gst/gstregistry.h:
15828         * tests/benchmarks/complexity.c:
15829         * tests/benchmarks/mass-elements.c:
15830         * tests/check/Makefile.am:
15831         * tools/Makefile.am:
15832         * tools/gst-inspect.c:
15833         * tools/gst-xmlinspect.c:
15834           various fixes to make
15835           --disable-nls --disable-registry --disable-loadsave
15836           --disable-parse --disable-gst-debug
15837           work and get the core .so down to 360444 bytes after stripping
15838
15839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15840
15841         * Makefile.am:
15842         * configure.ac:
15843           descend into tests
15844         * docs/random/thomasvs/TODO:
15845         * tests/Makefile.am:
15846         * tests/README:
15847           add a README
15848
15849 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15850
15851         * win32/GStreamer.vcproj:
15852         * win32/MANIFEST:
15853         * win32/Makefile:
15854         * win32/Makefile.inspect:
15855         * win32/Makefile.launch:
15856         * win32/Makefile.register:
15857         * win32/README.txt:
15858         * win32/gst-inspect.vcproj:
15859         * win32/gst-launch.vcproj:
15860         * win32/gst-register.vcproj:
15861         * win32/gstelements.vcproj:
15862         * win32/gstgetbits.def:
15863         * win32/gstgetbits.vcproj:
15864         * win32/gstreamer-dbg.def:
15865         * win32/gstreamer.def:
15866         * win32/libgstbase.def:
15867         * win32/libgstbase.vcproj:
15868         * win32/link_oldruntime.c:
15869         * win32/mman.c:
15870         * win32/mman.h:
15871         * win32/mman.inl:
15872         * win32/msvc71.sln:
15873           move even more stuff, win32/ is nice and clean now
15874
15875 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15876
15877         * libs/gst/control/.cvsignore:
15878         * win32/MANIFEST:
15879         * win32/config.h:
15880         * win32/dirent.c:
15881         * win32/dirent.h:
15882         * win32/gstbytestream.def:
15883         * win32/gstbytestream.vcproj:
15884         * win32/gstconfig.h:
15885         * win32/gstenumtypes.c:
15886         * win32/gstenumtypes.h:
15887         * win32/gstoptimalscheduler.vcproj:
15888         * win32/gstversion.h:
15889         * win32/gtchar.h:
15890         * win32/testsuite/bins.vcproj:
15891         * win32/testsuite/bytestream.vcproj:
15892         * win32/testsuite/caps.vcproj:
15893         * win32/testsuite/cleanup.vcproj:
15894         * win32/testsuite/clock.vcproj:
15895         * win32/testsuite/debug.vcproj:
15896         * win32/testsuite/dlopen.vcproj:
15897         * win32/testsuite/dynparams.vcproj:
15898         * win32/testsuite/elements.vcproj:
15899         * win32/testsuite/ghostpads.vcproj:
15900         * win32/testsuite/indexers.vcproj:
15901         * win32/testsuite/negotiation.vcproj:
15902         * win32/testsuite/parse.vcproj:
15903         * win32/testsuite/plugin.vcproj:
15904         * win32/testsuite/refcounting.vcproj:
15905         * win32/testsuite/schedulers.vcproj:
15906         * win32/testsuite/states.vcproj:
15907         * win32/testsuite/tags.vcproj:
15908         * win32/testsuite/threads.vcproj:
15909           remove old win32 stuff that isn't maintained and should be
15910           reorganized
15911
15912 2005-11-30  Andy Wingo  <wingo@pobox.com>
15913
15914         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15915         loading the gst.interfaces python module bork.
15916
15917         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15918         available since GLib 2.2. Fixes #318031.
15919
15920 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15921
15922         * Makefile.am:
15923         * check/.cvsignore:
15924         * check/Makefile.am:
15925         * check/elements/.cvsignore:
15926         * check/elements/fakesrc.c:
15927         * check/elements/fdsrc.c:
15928         * check/elements/identity.c:
15929         * check/generic/.cvsignore:
15930         * check/generic/states.c:
15931         * check/gst-libs/.cvsignore:
15932         * check/gst-libs/controller.c:
15933         * check/gst-libs/gdp.c:
15934         * check/gst/.cvsignore:
15935         * check/gst/capslist.h:
15936         * check/gst/gst.c:
15937         * check/gst/gstbin.c:
15938         * check/gst/gstbuffer.c:
15939         * check/gst/gstbus.c:
15940         * check/gst/gstcaps.c:
15941         * check/gst/gstelement.c:
15942         * check/gst/gstevent.c:
15943         * check/gst/gstghostpad.c:
15944         * check/gst/gstiterator.c:
15945         * check/gst/gstmessage.c:
15946         * check/gst/gstminiobject.c:
15947         * check/gst/gstobject.c:
15948         * check/gst/gstpad.c:
15949         * check/gst/gstpipeline.c:
15950         * check/gst/gstplugin.c:
15951         * check/gst/gstsegment.c:
15952         * check/gst/gststructure.c:
15953         * check/gst/gstsystemclock.c:
15954         * check/gst/gsttag.c:
15955         * check/gst/gstutils.c:
15956         * check/gst/gstvalue.c:
15957         * check/net/.cvsignore:
15958         * check/net/gstnetclientclock.c:
15959         * check/net/gstnettimeprovider.c:
15960         * check/pipelines/.cvsignore:
15961         * check/pipelines/cleanup.c:
15962         * check/pipelines/simple_launch_lines.c:
15963         * check/pipelines/stress.c:
15964         * check/states/.cvsignore:
15965         * check/states/sinks.c:
15966         * configure.ac:
15967         * examples/Makefile.am:
15968         * examples/appreader/.cvsignore:
15969         * examples/appreader/Makefile.am:
15970         * examples/appreader/appreader.c:
15971         * examples/controller/.cvsignore:
15972         * examples/controller/Makefile.am:
15973         * examples/controller/audio-example.c:
15974         * examples/cutter/.cvsignore:
15975         * examples/cutter/Makefile.am:
15976         * examples/cutter/cutter.c:
15977         * examples/cutter/cutter.h:
15978         * examples/events/Makefile.am:
15979         * examples/events/seek.c:
15980         * examples/helloworld/.cvsignore:
15981         * examples/helloworld/Makefile.am:
15982         * examples/helloworld/helloworld.c:
15983         * examples/helloworld2/.cvsignore:
15984         * examples/helloworld2/Makefile.am:
15985         * examples/helloworld2/helloworld2.c:
15986         * examples/launch/.cvsignore:
15987         * examples/launch/Makefile.am:
15988         * examples/launch/mp3parselaunch.c:
15989         * examples/launch/mp3play:
15990         * examples/manual/.cvsignore:
15991         * examples/manual/Makefile.am:
15992         * examples/manual/extract.pl:
15993         * examples/metadata/Makefile.am:
15994         * examples/metadata/read-metadata.c:
15995         * examples/mixer/.cvsignore:
15996         * examples/mixer/Makefile.am:
15997         * examples/mixer/mixer.c:
15998         * examples/mixer/mixer.h:
15999         * examples/pingpong/.cvsignore:
16000         * examples/pingpong/Makefile.am:
16001         * examples/pingpong/pingpong.c:
16002         * examples/plugins/.cvsignore:
16003         * examples/plugins/Makefile.am:
16004         * examples/plugins/example.c:
16005         * examples/plugins/example.h:
16006         * examples/pwg/.cvsignore:
16007         * examples/pwg/Makefile.am:
16008         * examples/pwg/extract.pl:
16009         * examples/queue/.cvsignore:
16010         * examples/queue/Makefile.am:
16011         * examples/queue/queue.c:
16012         * examples/queue2/.cvsignore:
16013         * examples/queue2/Makefile.am:
16014         * examples/queue2/queue2.c:
16015         * examples/queue3/.cvsignore:
16016         * examples/queue3/Makefile.am:
16017         * examples/queue3/queue3.c:
16018         * examples/queue4/.cvsignore:
16019         * examples/queue4/Makefile.am:
16020         * examples/queue4/queue4.c:
16021         * examples/retag/.cvsignore:
16022         * examples/retag/Makefile.am:
16023         * examples/retag/retag.c:
16024         * examples/retag/transcode.c:
16025         * examples/thread/.cvsignore:
16026         * examples/thread/Makefile.am:
16027         * examples/thread/thread.c:
16028         * examples/typefind/.cvsignore:
16029         * examples/typefind/Makefile.am:
16030         * examples/typefind/typefind.c:
16031         * examples/xml/.cvsignore:
16032         * examples/xml/Makefile.am:
16033         * examples/xml/createxml.c:
16034         * examples/xml/runxml.c:
16035         * tests/Makefile.am:
16036         * tests/check/Makefile.am:
16037         * testsuite/.cvsignore:
16038         * testsuite/Makefile.am:
16039         * testsuite/Rules:
16040         * testsuite/caps/.cvsignore:
16041         * testsuite/caps/Makefile.am:
16042         * testsuite/caps/app_fixate.c:
16043         * testsuite/caps/audioscale.c:
16044         * testsuite/caps/caps.c:
16045         * testsuite/caps/caps.h:
16046         * testsuite/caps/caps_strings:
16047         * testsuite/caps/compatibility.c:
16048         * testsuite/caps/deserialize.c:
16049         * testsuite/caps/enumcaps.c:
16050         * testsuite/caps/eratosthenes.c:
16051         * testsuite/caps/filtercaps.c:
16052         * testsuite/caps/fixed.c:
16053         * testsuite/caps/fraction-convert.c:
16054         * testsuite/caps/fraction-multiply-and-zero.c:
16055         * testsuite/caps/intersect2.c:
16056         * testsuite/caps/intersection.c:
16057         * testsuite/caps/normalisation.c:
16058         * testsuite/caps/random.c:
16059         * testsuite/caps/renegotiate.c:
16060         * testsuite/caps/sets.c:
16061         * testsuite/caps/simplify.c:
16062         * testsuite/caps/string-conversions.c:
16063         * testsuite/caps/structure.c:
16064         * testsuite/caps/subtract.c:
16065         * testsuite/caps/union.c:
16066         * testsuite/debug/.cvsignore:
16067         * testsuite/debug/Makefile.am:
16068         * testsuite/debug/category.c:
16069         * testsuite/debug/commandline.c:
16070         * testsuite/debug/global.c:
16071         * testsuite/debug/output.c:
16072         * testsuite/debug/printf_extension.c:
16073         * testsuite/dlopen/.cvsignore:
16074         * testsuite/dlopen/Makefile.am:
16075         * testsuite/dlopen/dlopen_gst.c:
16076         * testsuite/dlopen/loadgst.c:
16077         * testsuite/elements/.cvsignore:
16078         * testsuite/elements/Makefile.am:
16079         * testsuite/elements/gst-inspect-check.in:
16080         * testsuite/elements/struct_i386.h:
16081         * testsuite/elements/struct_size.c:
16082         * testsuite/indexers/.cvsignore:
16083         * testsuite/indexers/Makefile.am:
16084         * testsuite/indexers/cache1.c:
16085         * testsuite/indexers/indexdump.c:
16086         * testsuite/parse/.cvsignore:
16087         * testsuite/parse/Makefile.am:
16088         * testsuite/parse/parse1.c:
16089         * testsuite/parse/parse2.c:
16090         * testsuite/plugin/.cvsignore:
16091         * testsuite/plugin/Makefile.am:
16092         * testsuite/plugin/README:
16093         * testsuite/plugin/dynamic.c:
16094         * testsuite/plugin/linked.c:
16095         * testsuite/plugin/loading.c:
16096         * testsuite/plugin/registry.c:
16097         * testsuite/plugin/static.c:
16098         * testsuite/plugin/static2.c:
16099         * testsuite/plugin/testplugin.c:
16100         * testsuite/plugin/testplugin2.c:
16101         * testsuite/plugin/testplugin2_s.c:
16102         * testsuite/plugin/testplugin_s.c:
16103         * testsuite/refcounting/.cvsignore:
16104         * testsuite/refcounting/Makefile.am:
16105         * testsuite/refcounting/bin.c:
16106         * testsuite/refcounting/element.c:
16107         * testsuite/refcounting/element_pad.c:
16108         * testsuite/refcounting/mainloop.c:
16109         * testsuite/refcounting/mem.c:
16110         * testsuite/refcounting/mem.h:
16111         * testsuite/refcounting/object.c:
16112         * testsuite/refcounting/pad.c:
16113         * testsuite/refcounting/sched.c:
16114         * testsuite/refcounting/thread.c:
16115         * testsuite/states/.cvsignore:
16116         * testsuite/states/Makefile.am:
16117         * testsuite/states/bin.c:
16118         * testsuite/states/locked.c:
16119         * testsuite/states/parent.c:
16120         * testsuite/threads/.cvsignore:
16121         * testsuite/threads/159566.c:
16122         * testsuite/threads/159852.c:
16123         * testsuite/threads/Makefile.am:
16124         * testsuite/threads/queue.c:
16125         * testsuite/threads/signals.c:
16126         * testsuite/threads/staticrec.c:
16127         * testsuite/threads/thread.c:
16128         * testsuite/threads/threadb.c:
16129         * testsuite/threads/threadc.c:
16130         * testsuite/threads/threadd.c:
16131         * testsuite/threads/threade.c:
16132         * testsuite/threads/threadf.c:
16133         * testsuite/threads/threadg.c:
16134         * testsuite/threads/threadh.c:
16135         * testsuite/threads/threadi.c:
16136           move all of these under tests
16137
16138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16139
16140         * configure.ac:
16141         * tests/Makefile.am:
16142           fix distcheck
16143
16144 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16145
16146         * docs/gst/gstreamer-sections.txt:
16147         * tests/sched/.cvsignore:
16148         * tests/sched/Makefile.am:
16149         * tests/sched/cases/(fs-fs).xml:
16150         * tests/sched/cases/(fs-i-fs).xml:
16151         * tests/sched/cases/(fs-i-i-fs).xml:
16152         * tests/sched/cases/(fs-i-q[i-fs]).xml:
16153         * tests/sched/dynamic-pipeline.c:
16154         * tests/sched/interrupt1.c:
16155         * tests/sched/interrupt2.c:
16156         * tests/sched/interrupt3.c:
16157         * tests/sched/runtestcases:
16158         * tests/sched/runxml.c:
16159         * tests/sched/sched-stress.c:
16160         * tests/sched/sort.c:
16161         * tests/sched/testcases:
16162         * tests/sched/testcases1.tc:
16163         * tests/seeking/.cvsignore:
16164         * tests/seeking/Makefile.am:
16165         * tests/seeking/seeking1.c:
16166         * tests/threadstate/.cvsignore:
16167         * tests/threadstate/Makefile.am:
16168         * tests/threadstate/test1.c:
16169         * tests/threadstate/test2.c:
16170         * tests/threadstate/threadstate1.c:
16171         * tests/threadstate/threadstate2.c:
16172         * tests/threadstate/threadstate3.c:
16173         * tests/threadstate/threadstate4.c:
16174         * tests/threadstate/threadstate5.c:
16175           remove obsolete tests
16176         * configure.ac:
16177         * tests/bench-complexity.scm:
16178         * tests/bench-mass_elements.scm:
16179         * tests/complexity.c:
16180         * tests/complexity.gnuplot:
16181         * tests/instantiate/.cvsignore:
16182         * tests/instantiate/Makefile.am:
16183         * tests/instantiate/caps.c:
16184         * tests/mass_elements.c:
16185         * tests/network-clock-utils.scm:
16186         * tests/network-clock.scm:
16187         * tests/plot-data:
16188         First pass at cleaning up tests/ dir before moving the rest
16189         Combined with CVS surgery
16190
16191 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16192
16193         * po/POTFILES.in:
16194           queue has moved, update
16195
16196 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         * docs/gst/gstreamer-sections.txt:
16199           remove double entries from the docs
16200         * gst/gst_private.h:
16201         * gst/gstinfo.c: (_gst_debug_init):
16202           remove the THREAD debug category
16203         * gst/Makefile.am:
16204         * gst/gstqueue.c:
16205         * gst/gstqueue.h:
16206         * docs/gst/gstreamer.types:
16207         * plugins/elements/gstqueue.c: (gst_queue_get_type),
16208         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
16209           completely move queue and fix up debugging categories
16210
16211 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16212
16213         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16214           make initialization portable, using LL is not
16215
16216 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16217
16218         * win32/common/gstconfig.h:
16219           add large padding
16220
16221 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16222
16223         * win32/common/libgstreamer.def:
16224           rename symbols; sort base section
16225
16226 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16227
16228         * gst/gstclock.c: (do_linear_regression):
16229           remove crack non-portable handrolled DEBUG macro
16230
16231 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16232
16233         * docs/random/release:
16234           update notes
16235         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16236         (gst_object_flags_get_type), (register_gst_bin_flags),
16237         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16238         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16239         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16240         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
16241         (gst_caps_flags_get_type), (register_gst_clock_return),
16242         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16243         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16244         (gst_clock_flags_get_type), (register_gst_state),
16245         (gst_state_get_type), (register_gst_state_change_return),
16246         (gst_state_change_return_get_type), (register_gst_state_change),
16247         (gst_state_change_get_type), (register_gst_element_flags),
16248         (gst_element_flags_get_type), (register_gst_core_error),
16249         (gst_core_error_get_type), (register_gst_library_error),
16250         (gst_library_error_get_type), (register_gst_resource_error),
16251         (gst_resource_error_get_type), (register_gst_stream_error),
16252         (gst_stream_error_get_type), (register_gst_event_type_flags),
16253         (gst_event_type_flags_get_type), (register_gst_event_type),
16254         (gst_event_type_get_type), (register_gst_seek_type),
16255         (gst_seek_type_get_type), (register_gst_seek_flags),
16256         (gst_seek_flags_get_type), (register_gst_format),
16257         (gst_format_get_type), (register_gst_index_certainty),
16258         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16259         (gst_index_entry_type_get_type),
16260         (register_gst_index_lookup_method),
16261         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16262         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16263         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16264         (gst_index_flags_get_type), (register_gst_debug_level),
16265         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16266         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16267         (gst_iterator_result_get_type), (register_gst_iterator_item),
16268         (gst_iterator_item_get_type), (register_gst_message_type),
16269         (gst_message_type_get_type), (register_gst_mini_object_flags),
16270         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16271         (gst_pad_link_return_get_type), (register_gst_flow_return),
16272         (gst_flow_return_get_type), (register_gst_activate_mode),
16273         (gst_activate_mode_get_type), (register_gst_pad_direction),
16274         (gst_pad_direction_get_type), (register_gst_pad_flags),
16275         (gst_pad_flags_get_type), (register_gst_pad_presence),
16276         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16277         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16278         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16279         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16280         (gst_plugin_flags_get_type), (register_gst_rank),
16281         (gst_rank_get_type), (register_gst_query_type),
16282         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16283         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16284         (gst_tag_flag_get_type), (register_gst_task_state),
16285         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16286         (gst_alloc_trace_flags_get_type),
16287         (register_gst_type_find_probability),
16288         (gst_type_find_probability_get_type), (register_gst_uri_type),
16289         (gst_uri_type_get_type), (register_gst_parse_error),
16290         (gst_parse_error_get_type):
16291         * win32/common/gstenumtypes.h:
16292         * win32/common/gstversion.h:
16293           update visual studio generated files
16294
16295 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16296
16297         * win32/vs6/libgstbase.dsp:
16298         * win32/vs6/libgstelements.dsp:
16299           update project files for new locations
16300
16301 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16302
16303         * Makefile.am:
16304           remove some files
16305         * README:
16306           reinstate and update
16307         * DEVEL:
16308         * REQUIREMENTS:
16309           removed
16310         * LICENSE:
16311         * docs/random/LICENSE:
16312           moved to random
16313
16314 2005-11-30  Edward Hervey  <edward@fluendo.com>
16315
16316         * gst/gsttypefind.c: (gst_type_find_register):
16317         * gst/gsttypefind.h:
16318         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16319         (gst_type_find_factory_dispose):
16320         * gst/gsttypefindfactory.h:
16321         Fix memory leak in GstTypeFindFactory.
16322
16323 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16324
16325         * gst/gst.c:
16326         * plugins/elements/Makefile.am:
16327         * plugins/elements/gstelements.c:
16328         * plugins/elements/gstqueue.c:
16329           move queue from core to the elements plugin
16330
16331 2005-11-29  Andy Wingo  <wingo@pobox.com>
16332
16333         * libs/gst/base/gstbasetransform.h: 
16334         * libs/gst/base/gstbasesrc.h: 
16335         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16336
16337         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16338         of pointers by which to pad very extensible base classes (like the
16339         ones in libs/gst/base).
16340
16341 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16342
16343         * docs/gst/gstreamer-docs.sgml:
16344         * docs/gst/gstreamer-sections.txt:
16345         * docs/libs/gstreamer-libs-docs.sgml:
16346         * docs/libs/gstreamer-libs-sections.txt:
16347           moving documentation from core to lib
16348
16349 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16350
16351         * check/Makefile.am:
16352         * configure.ac:
16353         * docs/gst/Makefile.am:
16354         * gst/Makefile.am:
16355         * gst/base/.cvsignore:
16356         * gst/base/Makefile.am:
16357         * gst/base/README:
16358         * gst/base/gstadapter.c:
16359         * gst/base/gstadapter.h:
16360         * gst/base/gstbasesink.c:
16361         * gst/base/gstbasesink.h:
16362         * gst/base/gstbasesrc.c:
16363         * gst/base/gstbasesrc.h:
16364         * gst/base/gstbasetransform.c:
16365         * gst/base/gstbasetransform.h:
16366         * gst/base/gstcollectpads.c:
16367         * gst/base/gstcollectpads.h:
16368         * gst/base/gstpushsrc.c:
16369         * gst/base/gstpushsrc.h:
16370         * gst/base/gsttypefindhelper.c:
16371         * gst/base/gsttypefindhelper.h:
16372         * gst/check/Makefile.am:
16373         * gst/check/gstcheck.c:
16374         * gst/check/gstcheck.h:
16375         * gst/net/Makefile.am:
16376         * gst/net/gstnet.h:
16377         * gst/net/gstnetclientclock.c:
16378         * gst/net/gstnetclientclock.h:
16379         * gst/net/gstnettimepacket.c:
16380         * gst/net/gstnettimepacket.h:
16381         * gst/net/gstnettimeprovider.c:
16382         * gst/net/gstnettimeprovider.h:
16383         * libs/gst/Makefile.am:
16384         * libs/gst/base/Makefile.am:
16385         * libs/gst/base/gstbasetransform.c:
16386         * libs/gst/check/Makefile.am:
16387         * plugins/elements/Makefile.am:
16388         * po/POTFILES.in:
16389           CVS surgery + support to move base, check, and net out of gst
16390           and into libs/gst
16391
16392 2005-11-29  Andy Wingo  <wingo@pobox.com>
16393
16394         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16395
16396         * gst/gststructure.h (struct _GstStructure): Only one pointer of
16397         padding.
16398
16399         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16400
16401         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16402
16403         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16404
16405         * gst/gstobject.h: (struct _GstObject): Only one pointer of
16406         padding; reduces object size by about 30%. We don't expect
16407         anything else to go into gstobject.
16408
16409         * gst/gstminiobject.h (struct _GstMiniObject)
16410         (struct _GstMiniObjectClass): Only one pointer of padding; the
16411         payload is only a pointer and two ints anyway. For the class there
16412         are only two methods as well.
16413         
16414         * gst/gstelement.h (struct _GstElementClass): Removed
16415         the state_changed signal callback, it is not used.
16416
16417 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16418
16419         * docs/gst/gstreamer.types:
16420           fix includes, though they are a little dinky
16421
16422 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16423
16424         * check/Makefile.am:
16425           look in the right place for elements, a lot more chance of
16426           success
16427         * gst/Makefile.am:
16428           remove indexers and elements subdirs
16429         * plugins/Makefile.am:
16430           make indexers conditional
16431
16432 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16433
16434         * Makefile.am:
16435         * configure.ac:
16436         * plugins/elements/Makefile.am:
16437         * plugins/elements/gstcapsfilter.c:
16438         * plugins/elements/gstfilesink.c:
16439         * plugins/elements/gstfilesrc.c:
16440         * plugins/elements/gstidentity.c:
16441         * plugins/indexers/Makefile.am:
16442           do CVS surgery and related build fixery to move elements
16443           and indexers in a new gstreamer/plugins directory, out of the
16444           gst/ directory
16445
16446 2005-11-29  Andy Wingo  <wingo@pobox.com>
16447
16448         * check/Makefile.am:
16449         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16450         * pkgconfig/gstreamer-net.pc.in:
16451         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16452         #322257.
16453
16454 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16455
16456         * tools/Makefile.am:
16457         * tools/gst-complete.1.in:
16458         * tools/gst-complete.c:
16459         * tools/gst-compprep.1.in:
16460         * tools/gst-compprep.c:
16461           removing -compprep and -complete
16462
16463 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * gst/gstevent.c: (gst_event_new_new_segment),
16466         (gst_event_parse_new_segment):
16467         * gst/gstevent.h:
16468           fix #320529 - clean up new_segment API and structure.
16469           Let's hope everyone was using the methods, and not the structure.
16470
16471 2005-11-29  Edward Hervey  <edward@fluendo.com>
16472
16473         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16474         (gst_base_sink_event), (gst_base_sink_do_sync),
16475         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16476         Properly handle non GST_FORMAT_TIME segment
16477         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16478         Properly handle non GST_FORMAT_TIME segment
16479         * gst/gstsegment.c:
16480         This function is valid if the accumulator is 0 and the format
16481         is different from the requested format.
16482         
16483 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16484
16485         * docs/gst/gstreamer-sections.txt:
16486         Add gst_query_new_seeking and gst_query_parse_seeking to the
16487         docs.
16488
16489 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16490
16491         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16492           Treat a pad alloc with new caps the same as if we were not
16493           negotiated, in order to allow a changing upstream output
16494           to produce a new format of data.
16495
16496 2005-11-29  Edward Hervey  <edward@fluendo.com>
16497
16498         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16499         (gst_base_transform_event), (gst_base_transform_eventfunc):
16500         The event virtual method is now properly implemented, with a default
16501         handler
16502         Sub classes should call the parent_class event method. They should
16503         return FALSE if they had a problem handling the given event, or don't
16504         want GstBaseTransform to send that even downstream
16505         * gst/elements/gstidentity.c: (gst_identity_class_init),
16506         (gst_identity_init), (gst_identity_event),
16507         (gst_identity_transform_ip), (gst_identity_set_property),
16508         (gst_identity_get_property):
16509         * gst/elements/gstidentity.h:
16510         Added the single-segment boolean property.
16511         If set to TRUE, it will output a single segment of data, starting from
16512         0, will eat up all incoming newsegment, and modify the timestamp of the
16513         buffers accordingly
16514
16515 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
16516
16517         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16518           Don't ref NULL target pad (#322751). Improve docs.
16519
16520 2005-11-29  Michael Smith  <msmith@fluendo.com>
16521
16522         * gst/gstregistryxml.c: (load_plugin):
16523           Don't crash if we failed to load a feature from a plugin. 
16524
16525 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16526
16527         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16528         (GST_START_TEST):
16529           use more check API and less GLib API
16530
16531 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16532
16533         * Makefile.am:
16534           don't run checks if we don't have check
16535         * common/check.mak:
16536           remove the registry when running make torture
16537         * docs/gst/gstreamer-sections.txt:
16538           remove second multiply
16539         * gst/gstqueue.c: (gst_queue_loop):
16540           fix a compile warning when disabling debug
16541
16542 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16543
16544         * gst/gstinfo.h:
16545         Hey! Let's print the pad name if the pointer != NULL instead
16546         of when it == NULL :-)
16547
16548 2005-11-28  Wim Taymans  <wim@fluendo.com>
16549
16550         * check/gst/gstutils.c: (GST_START_TEST):
16551         Updated check, add some scaling accuracy checking code.
16552
16553         * gst/gstutils.c: (gst_util_div128_64),
16554         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16555         (gst_util_uint64_scale_int):
16556         Fix 6 times faster division code. Optimize for common 
16557         1/1 and less common X/1 cases.
16558
16559 2005-11-28  Wim Taymans  <wim@fluendo.com>
16560
16561         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16562         More checks.
16563
16564         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16565         (do_linear_regression), (gst_clock_add_observation):
16566         Cleanups.
16567         Release lock when the clock cannot be slaved.
16568         Catch the case where the regression returned an invalid denominator.
16569
16570         * gst/gstutils.c: (gst_util_div128_64_iterate),
16571         (gst_util_div128_64), (gst_util_uint64_scale_int64),
16572         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16573         Add protentially more performant non-iterative 128/64 divide function
16574         that unfortunatly does not work yet.
16575         Shortcut the trivial 0/X = 0 case.
16576         Remove the warnings on overflow.
16577
16578 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16579
16580         * gst/gstplugin.c: (gst_plugin_register_func):
16581           everything causing a plugin not to load should be at least a WARNING
16582
16583 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
16584
16585         * docs/random/ensonic/dparams.txt:
16586           some TODOs for the next dev cycle
16587         * libs/gst/controller/gstcontroller.c:
16588         (gst_controlled_property_set_interpolation_mode),
16589         (gst_controlled_property_new):
16590         * libs/gst/controller/gstcontroller.h:
16591           use base type to assign acccessor functions
16592
16593 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16594
16595         * check/Makefile.am:
16596         Oops, that should have been top_srcdir
16597
16598 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16599
16600         * check/Makefile.am:
16601         * check/elements/fdsrc.c: (GST_START_TEST):
16602         Use a cmdline define to specify the location of a file to use for
16603         testing, to avoid breaking distcheck.
16604
16605 2005-11-28  Andy Wingo  <wingo@pobox.com>
16606
16607         * gst/gstpad.c (fixate_value): Use array functions for arrays.
16608
16609 2005-11-28  Edward Hervey  <edward@fluendo.com>
16610
16611         * tools/gst-launch.c: (main):
16612         Clarify the output strings, makes it easier to translate.
16613         Fixes #322626
16614
16615 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16616
16617         * gst/Makefile.am:
16618           don't try and build net if we don't even have <sys/socket.h>
16619
16620 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
16621
16622         * check/Makefile.am:
16623         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16624         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16625           Add tests for fdsrc seekability
16626
16627         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16628         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16629         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16630         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16631         * gst/elements/gstfdsrc.h:
16632           fdsrc should not be a 'live' source.
16633           Implement seeking on seekable fd's.
16634
16635         * gst/gstquery.c: (gst_query_new_seeking),
16636         (gst_query_parse_seeking):
16637         * gst/gstquery.h:
16638           Implement SEEKING query functions: 
16639             *_new_seeking and *_parse_seeking
16640
16641 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
16642
16643         * gst/gstelement.c: (gst_element_dispose):
16644           don't loop forever
16645
16646         * gst/gstiterator.c:
16647         * gst/gststructure.c:
16648           doc fixes
16649
16650         * libs/gst/controller/gstcontroller.c:
16651         (gst_controlled_property_set_interpolation_mode):
16652         * libs/gst/controller/gstcontroller.h:
16653         * libs/gst/controller/gstinterpolation.c:
16654         (interpolate_none_get_enum_value_array):
16655           support controlling enums
16656
16657 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16658
16659         * gst/gstvalue.c:
16660           Improve documentation for gst_value_union().
16661
16662         * gst/gstvalue.h:
16663           Change return value for union, intersect and subtract functions
16664           from gint to gboolean.
16665
16666 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16667
16668         * gst/gstvalue.c: (gst_value_serialize_any_list),
16669         (gst_value_transform_any_list_string),
16670         (gst_value_deserialize_list), (gst_value_deserialize_array),
16671         (gst_value_set_int_range), (gst_value_deserialize_int_range),
16672         (gst_value_set_double_range), (gst_value_deserialize_double_range),
16673         (gst_value_set_fraction_range_full),
16674         (gst_value_deserialize_fraction_range),
16675         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16676         (gst_value_deserialize_boolean),
16677         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16678         (gst_value_serialize_float), (gst_value_deserialize_float),
16679         (gst_string_wrap), (gst_value_deserialize_string),
16680         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16681         (gst_value_union_int_range_int_range),
16682         (gst_value_intersect_int_range_int_range),
16683         (gst_value_intersect_double_range_double_range),
16684         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16685         (gst_value_subtract_int_range_int_range),
16686         (gst_value_subtract_double_double_range),
16687         (gst_value_subtract_double_range_double_range),
16688         (gst_value_deserialize_fraction):
16689         * gst/gstvalue.h:
16690           Use gint, gdouble and gchar in our API instead of int, double and
16691           char (and make usage in gstvalue.c more consistent).
16692
16693 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16694
16695         * check/Makefile.am:
16696         * libs/gst/controller/Makefile.am:
16697         * libs/gst/dataprotocol/Makefile.am:
16698           fix up Makefile.am and remove GST_ENABLE_NEW
16699
16700 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16701
16702         * configure.ac:
16703         * gst/Makefile.am:
16704         * gst/base/Makefile.am:
16705         * gst/check/Makefile.am:
16706         * gst/elements/Makefile.am:
16707         * gst/net/Makefile.am:
16708           update LDFLAGS use some more
16709
16710 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16711
16712         * common/m4/gst-doc.m4:
16713           Fixes #312589
16714
16715 2005-11-26  Edward Hervey  <edward@fluendo.com>
16716
16717         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16718         This shouldn't issue a g_warning since it returns NULL if it
16719         couldn't find the plugin, and all functions using this behave
16720         properly on a NULL return. Switching to a GST_WARNING.
16721
16722 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
16723
16724         * gst/gstbin.c: (gst_bin_handle_message_func):
16725         Don't leak clock messages.
16726
16727 2005-11-25  Wim Taymans  <wim@fluendo.com>
16728
16729         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16730         (gst_util_uint64_scale_int):
16731         Optimisations, remove unneeded vars.
16732
16733 2005-11-25  Wim Taymans  <wim@fluendo.com>
16734
16735         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16736         Added more checks for the high precision uint64 cases.
16737
16738         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16739         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16740         Implement high precision (guint64 * guint64) / guint64.
16741
16742 2005-11-24  Wim Taymans  <wim@fluendo.com>
16743
16744         * gst/base/gstbasesrc.c: (gst_base_src_query):
16745         Fix wrong percentage query.
16746
16747         * gst/gstutils.c: (gst_util_uint64_scale),
16748         (gst_util_uint64_scale_int):
16749         Add some more common cases that can be handled 
16750         efficiently to _scale.
16751
16752 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16753
16754         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16755         (gst_mini_object_suite):
16756           don't use check calls from threads; check probably isn't
16757           threadsafe and using a lock to make it threadsafe would
16758           defeat the purpose of this check
16759         * gst/check/gstcheck.c:
16760         * gst/check/gstcheck.h:
16761           use GST_DEBUG some more
16762
16763 2005-11-24  Wim Taymans  <wim@fluendo.com>
16764
16765         * gst/gstutils.c: (gst_util_uint64_scale),
16766         (gst_util_uint64_scale_int):
16767         Chain trivial case to _scale_int.
16768
16769 2005-11-24  Wim Taymans  <wim@fluendo.com>
16770
16771         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16772         Added test for scaling.
16773
16774         * gst/gstclock.h:
16775         Small doc fix.
16776
16777         * gst/gstutils.c: (gst_util_uint64_scale_int):
16778         Implemented high precision scaling code.
16779
16780 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
16781
16782         * gst/gstinfo.h:
16783           do not crash on pad==NULL
16784
16785 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16786
16787         Patch by: Stefan Kost
16788
16789         * common/gtk-doc.mak:
16790         * docs/gst/Makefile.am:
16791         * docs/libs/Makefile.am:
16792           Fix distcheck issues for the libraries docs build
16793           Closes #319599.
16794
16795 2005-11-24  Michael Smith <msmith@fluendo.com>
16796
16797         * docs/manual/basics-helloworld.xml:
16798           Fix bug #315027: memory leak in example code in docs.
16799
16800 2005-11-24  Michael Smith <msmith@fluendo.com>
16801
16802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16803           Unlock the PREROLL_LOCK in a failure case.
16804
16805 2005-11-24  Wim Taymans  <wim@fluendo.com>
16806
16807         * docs/gst/gstreamer-sections.txt:
16808         * gst/base/gstadapter.h:
16809         * gst/base/gstbasesink.h:
16810         * gst/base/gstbasesrc.h:
16811         * gst/base/gstbasetransform.h:
16812         * gst/base/gstpushsrc.h:
16813         * gst/elements/gstfakesink.h:
16814         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16815         * gst/elements/gstfakesrc.h:
16816         * gst/elements/gstfilesink.h:
16817         * gst/elements/gstfilesrc.h:
16818         * gst/gst.c:
16819         * gst/gstbin.c:
16820         * gst/gstbuffer.c: (_gst_buffer_copy):
16821         * gst/gstbus.h:
16822         * gst/gstcaps.c:
16823         * gst/gstchildproxy.c:
16824         * gst/gstclock.c:
16825         * gst/gstelement.c:
16826         * gst/gstelementfactory.c:
16827         * gst/gstelementfactory.h:
16828         * gst/gstevent.c:
16829         * gst/gstghostpad.h:
16830         * gst/gstindex.h:
16831         * gst/gstinterface.h:
16832         * gst/gstminiobject.c:
16833         * gst/gstminiobject.h:
16834         * gst/gstpad.c:
16835         * gst/gstpad.h:
16836         * gst/gstpadtemplate.h:
16837         * gst/gstpipeline.h:
16838         * gst/gstpluginfeature.h:
16839         * gst/gstquery.h:
16840         * gst/gstqueue.h:
16841         * gst/gsttaglist.c:
16842         * gst/gsttaglist.h:
16843         * gst/gsttagsetter.c:
16844         * gst/gsttagsetter.h:
16845         * gst/gsttrace.c:
16846         * gst/gsttrace.h:
16847         * gst/gsttypefind.h:
16848         * gst/gsturi.h:
16849         * gst/gstvalue.c:
16850         * gst/net/gstnetclientclock.c:
16851         * gst/net/gstnetclientclock.h:
16852         * gst/net/gstnettimepacket.c:
16853         * gst/net/gstnettimeprovider.c:
16854         * gst/net/gstnettimeprovider.h:
16855         Doc fixes.
16856
16857 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16858
16859         * configure.ac: back to HEAD
16860
16861 === release 0.9.6 ===
16862
16863 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
16864
16865         * configure.ac:
16866           releasing 0.9.6, "Always On Time"
16867
16868 2005-11-23  Wim Taymans  <wim@fluendo.com>
16869
16870         * docs/gst/gstreamer-sections.txt:
16871         * gst/glib-compat.c:
16872         * gst/gsttagsetter.c:
16873         * gst/gstvalue.c:
16874         * gst/net/gstnetclientclock.c:
16875         * gst/net/gstnettimepacket.h:
16876         Doc updates.
16877
16878 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16879
16880         * docs/faq/using.xml:
16881         * docs/libs/tmpl/gstcontrol.sgml:
16882         * docs/manual/advanced-dparams.xml:
16883         * docs/manual/appendix-checklist.xml:
16884         * docs/manual/basics-elements.xml:
16885         * docs/pwg/other-source.xml:
16886         * docs/random/moving-plugins:
16887         * gst/gstpad.c:
16888         * tools/gst-launch.1.in:
16889           remove mentions of sinesrc
16890
16891 2005-11-23  Michael Smith <msmith@fluendo.com>
16892
16893         * docs/gst/gstreamer-sections.txt:
16894           Update for new API and API changes.
16895         * gst/gstobject.h:
16896           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16897         * gst/gstvalue.c:
16898           Documentation typo fix.
16899         * gst/net/gstnettimepacket.c:
16900           Documentation fixes for arguments.
16901
16902 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16903
16904         * gst/gststructure.c: (gst_structure_get_fraction),
16905         (gst_structure_parse_value),
16906         (gst_structure_fixate_field_nearest_fraction):
16907         * gst/gststructure.h:
16908         * gst/gstutils.c: (gst_util_uint64_scale_int):
16909         * gst/gstutils.h:
16910         * scripts/update-funcnames:
16911         API Changes. 
16912         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16913         Make gst_structure_fixate_field_nearest_fraction take a numerator
16914         and denominator argument instead of a GValue
16915         add gst_structure_get_fraction helper function.
16916
16917 2005-11-23  Wim Taymans  <wim@fluendo.com>
16918
16919         * docs/design/part-TODO.txt:
16920         Update TODO.
16921
16922         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16923         * gst/net/gstnetclientclock.h:
16924         Use parent fields for timeout and window_size.
16925
16926 2005-11-23  Andy Wingo  <wingo@pobox.com>
16927
16928         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16929         rate_num/rate_denom change.
16930
16931         * gst/net/gstnetclientclock.c
16932         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16933         OBJECT_LOCK. Don't call add_observation with the lock.
16934
16935         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16936         fraction.
16937         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16938         rate fraction.
16939         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16940         deal with rate as a fraction whose numerator and denominator are
16941         GstClockTime values.
16942         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16943         master; the other fields are protected by the SLAVE_LOCK.
16944         (do_linear_regression): Note that this must be called with the
16945         SLAVE_LOCK.
16946         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16947         OBJECT_LOCK. Call set_calibration instead of touching the
16948         variables directly.
16949         (gst_clock_set_property, gst_clock_get_property): Protect
16950         master/slave parameters with the SLAVE_LOCK.
16951
16952         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16953         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16954         note that all of the instance variables that add_observation and
16955         the set_master functions use are protected by that lock and not
16956         the OBJECT_LOCK.
16957         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16958
16959         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16960         the caller to take the object lock.
16961
16962 2005-11-23  Wim Taymans  <wim@fluendo.com>
16963
16964         * gst/gsterror.c: (_gst_core_errors_init):
16965         * gst/gsterror.h:
16966         Add error for clock stuff.
16967
16968         * gst/gstpipeline.c: (gst_pipeline_change_state),
16969         (gst_pipeline_set_clock):
16970         Post clock error when clock cannot be used in a pipeline.
16971
16972 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16973
16974         * docs/gst/gstreamer-sections.txt:
16975           make two symbols from gstinfo private for the docs
16976         * gst/base/gstcollectpads.h:
16977         * gst/gstutils.c:
16978           fix doc typos, update docs
16979
16980 2005-11-22  Wim Taymans  <wim@fluendo.com>
16981
16982         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16983         (gst_base_sink_wait), (gst_base_sink_do_sync),
16984         (gst_base_sink_handle_event):
16985         * gst/base/gstbasesink.h:
16986         No need to store the clock, the parent element class already
16987         has it.
16988
16989         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16990         Updates for clock_set returning a gboolean
16991
16992         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16993         (gst_clock_id_wait_async), (gst_clock_class_init),
16994         (gst_clock_init), (gst_clock_finalize),
16995         (gst_clock_get_internal_time), (gst_clock_get_time),
16996         (gst_clock_slave_callback), (gst_clock_set_master),
16997         (gst_clock_get_master), (do_linear_regression),
16998         (gst_clock_add_observation), (gst_clock_set_property),
16999         (gst_clock_get_property):
17000         * gst/gstclock.h:
17001         Implement master/slave. When setting a clock as a slave, a
17002         periodic timeout is scheduled to sample master and slave times.
17003         Then the slave clock is recalibrated to match offset and rate
17004         of the master clock.
17005         Update logging a bit.
17006         Add flag so that a clock can state that is cannot be slaved to
17007         another clock.
17008
17009         * gst/gstelement.c: (gst_element_set_clock):
17010         * gst/gstelement.h:
17011         The set clock returns a gboolean for when an element cannot
17012         deal with the selected clock in the pipeline. 
17013
17014         * gst/gstpipeline.c: (gst_pipeline_change_state),
17015         (gst_pipeline_set_clock):
17016         * gst/gstpipeline.h:
17017         Handle the case where the selected clock cannot be set on
17018         the pipeline.
17019
17020         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17021         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17022         (gst_net_client_clock_set_property),
17023         (gst_net_client_clock_get_property),
17024         (gst_net_client_clock_observe_times):
17025         * gst/net/gstnetclientclock.h:
17026         Use regression code in GstClock parent, remove duplicated
17027         functionality.
17028
17029 2005-11-22  Michael Smith <msmith@fluendo.com>
17030
17031         * gst/gstutils.c: (gst_util_clock_time_scale):
17032         * gst/gstutils.h:
17033         * docs/gst/gstreamer-sections.txt:
17034           Rename method to have extra underscore.
17035
17036 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17037
17038         * gst/elements/Makefile.am:
17039         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17040         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17041         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17042         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17043         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17044         * gst/elements/gstfakesrc.h:
17045         * gst/gstqueue.c: (queue_leaky_get_type):
17046           correctly fix GEnumValues so that nick is the short lowercase
17047           dashed tag
17048         * tools/gst-inspect.c: (print_element_properties_info):
17049           also show the nick, since it's useful to use from parse_launch
17050           syntax
17051           Fixes #322139
17052
17053 2005-11-22  Michael Smith <msmith@fluendo.com>
17054
17055         * gst/gstutils.c: (gst_util_clocktime_scale):
17056         * gst/gstutils.h:
17057         * docs/gst/gstreamer-sections.txt:
17058           Add util method for scaling a clocktime by a fraction. Useful 
17059           implementation is left as an exercise for the reader.
17060
17061 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17062
17063         * gst/gstvalue.c: (gst_value_collect_fraction_range):
17064         If needed, allocate storage in the destination value during
17065         collection.
17066
17067 2005-11-22  Edward Hervey  <edward@fluendo.com>
17068
17069         * docs/gst/gstreamer-sections.txt:
17070         * gst/Makefile.am:
17071         * gst/gst.h:
17072         * gst/gsturitype.c:
17073         * gst/gsturitype.h:
17074         * gst/gstutils.c: (gst_util_set_object_arg):
17075         * tools/gst-compprep.c: (main):
17076         * tools/gst-inspect.c: (print_element_properties_info):
17077         Removed GstURI, closes bug #321061
17078
17079 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17080
17081         * check/gst/gststructure.c: (GST_START_TEST):
17082         * gst/gststructure.c: (gst_structure_parse_value):
17083           Oops, broke automatic string type parsing.
17084           Add a test to catch it in future.
17085
17086 2005-11-22  Andy Wingo  <wingo@pobox.com>
17087
17088         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
17089         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
17090         Actually rename the function implementations. Grr.
17091
17092 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17093
17094         * check/gst/capslist.h:
17095           Comment test cases
17096         * check/gst/gststructure.c: (GST_START_TEST),
17097         (gst_structure_suite):
17098           Test automatic value type detection in gst_structure_from_string.
17099         * gst/gststructure.c: (gst_structure_parse_value):
17100           Add fraction as a type we try and guess automatically in
17101           caps/structure strings.
17102
17103 2005-11-22  Andy Wingo  <wingo@pobox.com>
17104
17105         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
17106
17107         * gst/gsttagsetter.h:
17108         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
17109         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
17110         (gst_tag_setter_add_tag_valist)
17111         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
17112         _add_values, _add_valist, and _add_valist_values. Since this is an
17113         interface the function suffixes should be more explicit so
17114         language binding don't end up with element.add_valist ->
17115         gst_tag_setter_add_valist, for example. Fixes #322069.
17116
17117 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17118
17119         * check/gst/gstcaps.c: (GST_START_TEST):
17120           Extend caps string tests to check that a caps to string
17121           conversion is reversible and produces the same caps.
17122
17123         * gst/gststructure.c: (gst_structure_value_get_generic_type):
17124           Output "fraction" as the generic type fraction range, so caps
17125           serialisation and deserialisation works.
17126         * check/gst/capslist.h:
17127         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17128           Support 'MIN' and 'MAX' for deserialising fractions.
17129
17130 2005-11-22  Andy Wingo  <wingo@pobox.com>
17131
17132         * gst/gstevent.h (gst_event_new_new_segment)
17133         (gst_event_parse_new_segment, gst_event_new_buffer_size)
17134         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
17135         Renamed from *_newsegment, *_buffersize, *_notarget.
17136
17137         * scripts/update-funcnames: New script, performs the changes
17138         listed above.
17139
17140 2005-11-22  Wim Taymans  <wim@fluendo.com>
17141
17142         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17143         Make sure the GstFlowReturn is returned.
17144
17145         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
17146         (gst_bus_add_signal_watch):
17147         * gst/gstbus.h:
17148         add gst_bus_add_signal_watch_full.
17149
17150         * gst/gstplugin.c: (gst_plugin_load_file):
17151         Small style cleanup.
17152
17153 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17154
17155         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
17156           Block the fakesrc srcpad when we send an event, to avoid
17157           contention on the stream_lock causing random test failures.
17158
17159 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17160
17161         * check/gst/gstvalue.c: (GST_START_TEST):
17162         * gst/gstvalue.c: (gst_value_fraction_subtract):
17163           Fix subtraction.
17164
17165 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
17166
17167         * gst/gst.h:
17168           include "gstchildproxy.h"
17169         * gst/gstchildproxy.h:
17170         * libs/gst/controller/gstcontroller.h:
17171           use G_GNUC_NULL_TERMINATED
17172
17173 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17174
17175         * check/gst/capslist.h:
17176         * check/gst/gstcaps.c: (GST_START_TEST):
17177         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17178         * gst/gststructure.c: (gst_structure_parse_range),
17179         (gst_structure_fixate_field_nearest_fraction):
17180         * gst/gststructure.h:
17181         * gst/gstvalue.c: (gst_value_init_fraction_range),
17182         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
17183         (gst_value_collect_fraction_range),
17184         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
17185         (gst_value_set_fraction_range_full),
17186         (gst_value_get_fraction_range_min),
17187         (gst_value_get_fraction_range_max),
17188         (gst_value_serialize_fraction_range),
17189         (gst_value_transform_fraction_range_string),
17190         (gst_value_compare_fraction_range),
17191         (gst_value_deserialize_fraction_range),
17192         (gst_value_intersect_fraction_fraction_range),
17193         (gst_value_intersect_fraction_range_fraction_range),
17194         (gst_value_subtract_fraction_fraction_range),
17195         (gst_value_subtract_fraction_range_fraction),
17196         (gst_value_subtract_fraction_range_fraction_range),
17197         (gst_value_collect_fraction), (gst_value_fraction_multiply),
17198         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
17199         (gst_value_transform_string_fraction), (_gst_value_initialize):
17200         * gst/gstvalue.h:
17201           Implement fraction ranges and extend GstFraction to support
17202           arithmetic subtraction, as well as deserialization from integer
17203           strings such as "100"
17204           Add a testsuite as for int and double range set operations
17205
17206 2005-11-21  Andy Wingo  <wingo@pobox.com>
17207
17208         * gst/gsttaglist.h: 
17209         * gst/gstcaps.h: 
17210         * gst/gststructure.h: Add glib-compat.h.
17211
17212 2005-11-21  Wim Taymans  <wim@fluendo.com>
17213
17214         * gst/gstbin.c: (gst_bin_change_state_func):
17215         Fix for #321595
17216
17217 2005-11-21  Wim Taymans  <wim@fluendo.com>
17218
17219         * gst/gstsegment.h:
17220         And add a nice define too.
17221
17222 2005-11-21  Wim Taymans  <wim@fluendo.com>
17223
17224         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
17225         (gst_segment_new), (gst_segment_free), (gst_segment_init),
17226         (gst_segment_set_duration), (gst_segment_set_last_stop),
17227         (gst_segment_set_seek), (gst_segment_set_newsegment),
17228         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17229         (gst_segment_clip):
17230         * gst/gstsegment.h:
17231         Make binding friendly.
17232
17233 2005-11-21  Andy Wingo  <wingo@pobox.com>
17234
17235         * gst/gsttagsetter.h: 
17236         * gst/gsttaglist.h: 
17237         * gst/gststructure.h: 
17238         * gst/gstcaps.h: 
17239         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
17240         #319940.
17241
17242         * gst/gsterror.c (_gst_core_errors_init):
17243         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
17244         category.
17245
17246         * gst/Makefile.am (gst_headers): Add glib-compat.h.
17247         (noinst_HEADERS): noinst the -private.
17248
17249 2005-11-21  Michael Smith <msmith@fluendo.com>
17250
17251         * gst/gstplugin.h:
17252         * gst/gstregistry.h:
17253           Remove unimplemented declarations for which we can see no sensible
17254           use.
17255
17256 2005-11-21  Andy Wingo  <wingo@pobox.com>
17257
17258         * gst/gst.h: Include glib-compat.h.
17259
17260         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
17261
17262         * gst/glib-compat.c: Include the public and the private header.
17263
17264         * gst/glib-compat-private.h: Copied here from glib-compat.h.
17265
17266         * gst/gstvalue.c: 
17267         * gst/gstpad.c: 
17268         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
17269
17270         * check/gst/gstevent.c (create_custom_events): Check that
17271         FLUSH_STOP is serialized.
17272
17273         * check/elements/identity.c (event_func): 
17274         * check/elements/fakesrc.c (event_func): No stream lock, the core
17275         takes it.
17276
17277         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
17278         stream lock taking, yay.
17279
17280         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
17281         ensure that core takes the stream lock.
17282
17283         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
17284         lock name change.
17285
17286         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
17287         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
17288         it already. For the flush start we do take it though so we get the
17289         right preroll state change messages.
17290
17291         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
17292         the stream lock here, the core does it for us.
17293
17294         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
17295         GST_STREAM_GET_LOCK.
17296         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
17297         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
17298         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
17299         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
17300         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
17301         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
17302
17303         * gst/gstpad.c: Update for stream lock name change.
17304
17305         * gst/base/gstbasesink.c: Update for preroll lock name change.
17306
17307 2005-11-21  Wim Taymans  <wim@fluendo.com>
17308
17309         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17310         (gst_clock_get_master):
17311         * gst/gstclock.h:
17312         * gst/gstsystemclock.c: (gst_system_clock_init):
17313         Convert Clock flags to object flags.
17314         Added methods to manage master/slave clocks.
17315
17316 2005-11-21  Wim Taymans  <wim@fluendo.com>
17317
17318         * check/gst/gstsegment.c: (GST_START_TEST):
17319         * docs/design/part-TODO.txt:
17320         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17321         (gst_base_sink_event), (gst_base_sink_do_sync),
17322         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17323         (gst_base_sink_query), (gst_base_sink_change_state):
17324         * gst/base/gstbasesink.h:
17325         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17326         (gst_base_src_default_newsegment),
17327         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17328         (gst_base_src_get_range), (gst_base_src_loop),
17329         (gst_base_src_change_state):
17330         * gst/base/gstbasesrc.h:
17331         * gst/base/gstbasetransform.c:
17332         (gst_base_transform_prepare_output_buf),
17333         (gst_base_transform_event), (gst_base_transform_change_state):
17334         * gst/base/gstbasetransform.h:
17335         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17336         (gst_collect_pads_event):
17337         * gst/base/gstcollectpads.h:
17338         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17339         (gst_fake_src_create):
17340         * gst/elements/gstfakesrc.h:
17341         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17342         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17343         (gst_segment_set_last_stop), (gst_segment_set_seek),
17344         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17345         (gst_segment_to_running_time), (gst_segment_clip):
17346         * gst/gstsegment.h:
17347         More segment updates, replace code in plugins with segment
17348         helper functions.
17349
17350 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17351
17352         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17353         Don't ignore sscanf results
17354
17355 2005-11-21  Andy Wingo  <wingo@pobox.com>
17356
17357         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17358
17359         * *.h:
17360         * *.c: Ran scripts/update-macros. Oh yes.
17361
17362         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17363         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17364         GST_GET_LOCK, etc.
17365
17366         * scripts/update-macros: New script. Run it on your files to
17367         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17368         well.
17369
17370 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17371
17372         * docs/gst/Makefile.am:
17373         * docs/gst/gstreamer-docs.sgml:
17374         * docs/gst/gstreamer-sections.txt:
17375         * docs/gst/gstreamer.types:
17376         * gst/gstinfo.h:
17377           more docs fixes, add new api to the docs
17378
17379 2005-11-21  Andy Wingo  <wingo@pobox.com>
17380
17381         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17382         state_broadcast call.
17383
17384         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17385
17386 2005-11-21  Julien MOUTTE  <julien@moutte.net>
17387
17388         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17389         function calls for arrays.
17390
17391 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17392
17393         * docs/random/ensonic/media-device-daemon.txt:
17394           wild idea, can this be done?
17395         * docs/gst/gstreamer-sections.txt:
17396         * gst/gsterror.h:
17397         * gst/gstfilter.c:
17398         * gst/gstfilter.h:
17399         * gst/gstplugin.h:
17400         * gst/gstpluginfeature.c:
17401         * gst/gsttrace.c:
17402         * gst/gstvalue.c:
17403         * gst/gstvalue.h:
17404           doc fixes and additions
17405
17406 2005-11-21  Andy Wingo  <wingo@pobox.com>
17407
17408         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
17409         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
17410         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
17411         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17412         private to the basesrc implementation.
17413
17414         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17415         behalf of event function if necessary. It should no longer be
17416         necessary to take the stream lock in pad's event functions. Fixes
17417         #320299.
17418
17419 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17420         * docs/gst/gstreamer-sections.txt:
17421         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17422         (gst_structure_fixate_field_nearest_double),
17423         (gst_structure_fixate_field_boolean):
17424         * gst/gststructure.h:
17425         * win32/common/libgstreamer.def:
17426         * win32/gstreamer.def:
17427
17428         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17429         (#322027)
17430
17431 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17432
17433         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17434         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17435         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17436         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17437         (gst_fdsrc_uri_handler_init):
17438         * gst/elements/gstfdsrc.h:
17439           Port fd:// URI handler from 0.8 to fdsrc
17440
17441 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17442
17443         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17444         (gst_value_serialize_fourcc):
17445         * gst/gstvalue.h:
17446           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17447           consistent with our other format defines (#320324).
17448
17449 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17450
17451         * gst/gstvalue.c: (gst_value_is_fixed):
17452           Revert previous commit. Value lists are by definition
17453           not fixed, as they are a list of possible values.
17454
17455 2005-11-21  Andy Wingo  <wingo@pobox.com>
17456
17457         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17458         during the stable series if we need it. Fixes #319178.
17459
17460         * gst/gstevent.c (gst_event_new_filler): Removed.
17461
17462         * check/gst/gstevent.c: Update comment about filler events.
17463
17464 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17465
17466         * gst/gstvalue.c: (gst_value_is_fixed):
17467           Should handle both value arrays and value lists.
17468
17469 2005-11-21  Andy Wingo  <wingo@pobox.com>
17470
17471         patch by: Alessandro Dessina <alessandro nnva org>
17472
17473         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17474         functions to access arrays. Fixes #321962.
17475
17476 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17477
17478         * docs/gst/gstreamer.types:
17479           gst_collectpads_get_type => gst_collect_pads_get_type.
17480           
17481         * gst/base/gstbasetransform.c:
17482           Remove unused SIGNAL_HANDOFF enum.
17483
17484 2005-11-21  Andy Wingo  <wingo@pobox.com>
17485
17486         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17487         the event type (upstream, downstream, serialized). Renamed
17488         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17489         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17490         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17491
17492         * gst/gstevent.c: Update for new CUSTOM event names.
17493
17494         * check/gst/gstevent.c: Update check for new CUSTOM event names.
17495
17496         * gst/gstevent.h:
17497         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17498         bug #319392.
17499
17500 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17501
17502         * docs/gst/gstreamer-sections.txt:
17503         * win32/common/libgstbase.def:
17504         * win32/libgstbase.def:
17505         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17506         (gst_collect_pads_class_init), (gst_collect_pads_init),
17507         (gst_collect_pads_finalize), (gst_collect_pads_new),
17508         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17509         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17510         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17511         (gst_collect_pads_start), (gst_collect_pads_stop),
17512         (gst_collect_pads_peek), (gst_collect_pads_pop),
17513         (gst_collect_pads_available), (gst_collect_pads_read),
17514         (gst_collect_pads_flush), (gst_collect_pads_event),
17515         (gst_collect_pads_chain):
17516         * gst/base/gstcollectpads.h:
17517           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17518           unimplemented functions as unimplemented. Add padding to
17519           GstCollectData. (#320766, #320423)
17520
17521 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17522
17523         * gst/gstmessage.c:
17524           Improve docs for DURATION message (usage of duration parameter)
17525           (#320113)
17526
17527 2005-11-20  Wim Taymans  <wim@fluendo.com>
17528
17529         * check/Makefile.am:
17530         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17531         (main):
17532         * gst/Makefile.am:
17533         * gst/gst.h:
17534         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17535         (gst_segment_set_seek), (gst_segment_set_newsegment),
17536         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17537         (gst_segment_clip):
17538         * gst/gstsegment.h:
17539         Added segment helper structure and methods. Not fully implemented
17540         yet.
17541         Added segment check.
17542
17543 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
17544
17545         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17546           Add a deserialisation test for fractions
17547         * examples/metadata/read-metadata.c: (message_loop),
17548         (make_pipeline), (main):
17549           Fix up metadata reading sample.
17550         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17551           Debug format fix
17552         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17553           Don't try and fixate empty caps
17554         * gst/gst_private.h:
17555           Wrap in G_BEGIN_DECLS/G_END_DECLS
17556         * gst/gstvalue.c: (gst_value_collect_fraction),
17557         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17558         (gst_value_transform_string_fraction),
17559         (gst_value_compare_fraction):
17560           Add some extra guards to ensure that we don't end up 
17561           with an invalid denominator of 0 in a gstfraction and
17562           that fractions always get reduced.
17563
17564 2005-11-20  Wim Taymans  <wim@fluendo.com>
17565
17566         * docs/gst/gstreamer-sections.txt:
17567         * gst/gstbuffer.h:
17568         * gst/gstelement.c:
17569         * gst/gstformat.c:
17570         * gst/gstformat.h:
17571         * gst/gstindex.h:
17572         * gst/gstquery.c:
17573         * gst/gstquery.h:
17574         * gst/gstvalue.c:
17575         Doc fixes.
17576
17577 2005-11-20  Wim Taymans  <wim@fluendo.com>
17578
17579         * docs/design/part-TODO.txt:
17580         * gst/gstcaps.h:
17581         Make a proper enum of the flag.
17582
17583 2005-11-19  Wim Taymans  <wim@fluendo.com>
17584
17585         * docs/design/part-TODO.txt:
17586         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17587         (gst_format_to_quark), (gst_format_register):
17588         * gst/gstformat.h:
17589         * gst/gstquery.c: (_gst_query_initialize),
17590         (gst_query_type_get_name), (gst_query_type_to_quark),
17591         (gst_query_type_register):
17592         * gst/gstquery.h:
17593         Add type to quark and type to string conversions.
17594
17595 2005-11-19  Andy Wingo  <wingo@pobox.com>
17596
17597         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17598         #320097.
17599
17600 2005-11-19  Wim Taymans  <wim@fluendo.com>
17601
17602         * docs/design/part-TODO.txt:
17603         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17604         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17605         (gst_bin_handle_message_func):
17606         * gst/gstbin.h:
17607         Make message handling overridable.
17608
17609 2005-11-19  Andy Wingo  <wingo@pobox.com>
17610
17611         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17612
17613         * gst/gstclock.h:
17614         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17615         be a GstClockTime.
17616         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17617         is a GstClockTime. Fixes #321710.
17618
17619         * gst/gstclock.h (GstClock): Remove offset property. Add
17620         internal_calibration and external_calibration. Fix padding. Pad
17621         also by GstClockTime so we don't run into problems.
17622
17623         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17624         (gst_clock_get_rate_offset): Remove.
17625         (gst_clock_set_time_adjust): Remove. Fixes #321712.
17626
17627         * gst/gstutils.h:
17628         * gst/gstutils.c (g_static_rec_cond_wait)
17629         (g_static_rec_cond_timed_wait): Removed, no longer needed.
17630
17631         * gst/gstbin.c: Remove terrible continue_state prototype.
17632
17633         * gst/gstelement.h (gst_element_continue_state): Make public.
17634
17635         * gst/gstelement.h:
17636         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17637         by continue_state. Fixes #319389.
17638
17639         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17640         Really fixes #168438. However I don't see anywhere where the
17641         filter function is called... stupid GStreamer...
17642         
17643         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17644         don't have a dispose function, so it won't get called when the
17645         object is unreffed, but oh well!
17646
17647         * gst/gstindex.c (gst_index_set_filter_full): New API function,
17648         allows a destroy function to be set so user_data can be freed.
17649         Fixes #168438.
17650         (gst_index_set_filter): Call gst_index_set_filter_full.
17651
17652         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17653
17654         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17655         string should produce an error, given the lack of a way to
17656         represent NULL strings. Fixes #165650.
17657         
17658         * gst/gstvalue.h: 
17659         * gst/gstvalue.c (gst_value_array_append_value) 
17660         (gst_value_array_prepend_value, gst_value_array_get_size) 
17661         (gst_value_array_get_value): New API, copied from
17662         gst_value_list_*, only operates on arrays.
17663         (gst_value_list_append_value, gst_value_list_prepend_value) 
17664         (gst_value_list_concat, gst_value_list_get_size) 
17665         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17666
17667         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17668         init_list, because it works on both.
17669         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17670         (gst_value_copy_list_or_array): Renamed from copy_list.
17671         (gst_value_free_list_or_array): Renamed from free_list.
17672         (gst_value_collect_list_or_array): Renamed from collect_list.
17673         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17674         (gst_value_list_or_array_peek_pointer): Renamed from
17675         list_peek_pointer.
17676         (_gst_value_array_value_table, _gst_value_list_value_table):
17677         Update value table functions.
17678         (gst_value_compare_list_or_array): Renamed from compare_list.
17679
17680         * gsttaglist.h: Whoops, foreach function returns void. Also fix
17681         some constness.
17682
17683         * gst/gsttaglist.c:
17684         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17685         GstTagList*. Fixes #143472.
17686
17687         * gst/gststructure.h: Clarify what the foreach/map functions can
17688         or can't do to their arguments.
17689
17690 2005-11-18  Wim Taymans  <wim@fluendo.com>
17691
17692         * gst/gstclock.c: (gst_clock_set_calibration),
17693         (gst_clock_get_calibration):
17694         Doc and API fixes.
17695         Calibration can be set with internal time equal to current
17696         internal time too.
17697
17698 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17699
17700         * gst/gsterror.c:
17701         * gst/gsterror.h:
17702           document
17703
17704 2005-11-18  Andy Wingo  <wingo@pobox.com>
17705
17706         * configure.ac: 
17707         * pkgconfig/gstreamer-net.pc.in:
17708         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17709         * pkgconfig/Makefile.am: Add net pkgconfig files.
17710
17711 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
17712
17713         * gst/gstcaps.c:
17714         * gst/gstghostpad.c:
17715         * gst/gsttrace.c:
17716         * gst/gstvalue.c:
17717         * gst/gstvalue.h:
17718           docs fixes
17719
17720 2005-11-18  Andy Wingo  <wingo@pobox.com>
17721
17722         * gst/net/gstnetclientclock.c: Turn off debugging.
17723
17724         * check/net/gstnetclientclock.c (test_functioning): Assert that the
17725         times connverge somewhat. Can't make a real test.
17726
17727         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17728         integer arithmetic. Return the minimum of the domain, which can be
17729         set as "internal" for gst_clock_set_calibration.
17730         (gst_net_client_clock_observe_times): Call _set_calibration.
17731         (gst_net_client_clock_new): Call _set_calibration instead of
17732         rate_offset.
17733
17734         * check/net/gstnetclientclock.c (test_functioning): Use the right
17735         adjustment api.
17736
17737         * gst/gstclock.h:
17738         * gst/gstclock.c (gst_clock_get_calibration) 
17739         (gst_clock_set_calibration): New functions, obsolete the ones I
17740         added yesterday. Doh. Precision issues mean we have to extrapolate
17741         from a point in the more recent past than 1970.
17742         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17743         obsolete.
17744         (gst_clock_adjust_unlocked): Use the right calibration data.
17745
17746 2005-11-18  Edward Hervey  <edward@fluendo.com>
17747
17748         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
17749         Also reset the ->current_* values in READY->PAUSED
17750
17751 2005-11-18  Andy Wingo  <wingo@pobox.com>
17752
17753         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17754         Whoops, check the right fd. Also add some debugging.
17755         (gst_net_client_clock_observe_times): Adjust for int64 offset.
17756         (do_linear_regression): Add a crapload of debugging. Subtract off
17757         the minimum values from the input series to discard unneeded bits.
17758         Use only int arithmetic. There is still double arithmetic when
17759         calculating the intercept that needs fixing. Return boolean to
17760         indicate success; FALSE would mean the domain or range is too
17761         great. Still needs fixes.
17762
17763 2005-11-18  Wim Taymans  <wim@fluendo.com>
17764
17765         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17766         For the current position in stream time, we need to subtract
17767         accumulated time.
17768         
17769         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17770         Release lock before calling the callback function of async
17771         entries.
17772
17773 2005-11-18  Andy Wingo  <wingo@pobox.com>
17774
17775         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17776         Port goes all the way to MAXUINT16.
17777
17778         * gst/net/gstnettimeprovider.c: Make the port range the same as
17779         for the kernel: 0 assigns, otherwise ports are less than
17780         MAXUINT16.
17781
17782         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17783         port change.
17784
17785         * check/net/gstnetclientclock.c (test_functioning): Add the start
17786         of another test. 
17787
17788 2005-11-18  Wim Taymans  <wim@fluendo.com>
17789
17790         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17791         (gst_bin_remove_func), (bin_bus_handler):
17792         * gst/gstbin.h:
17793         Removing a clock provider from a bin, triggers a clock lost message
17794         so that a new clock will be selected.
17795         Adding a clock to a bin triggers a clock provider message.
17796         Make sure we reselect a clock when we received a clock lost message.
17797         Keep a reference to the element that provided the clock.
17798
17799 2005-11-18  Andy Wingo  <wingo@pobox.com>
17800
17801         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17802         the clock initially so it produces values around the base time.
17803         (gst_net_client_clock_class_init): Typo fix.
17804         (gst_net_client_clock_thread): Add note on when the socket gets
17805         closed.
17806
17807 2005-11-17  Wim Taymans  <wim@fluendo.com>
17808
17809         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17810         Free remote and local time arrays.
17811
17812 2005-11-17  Wim Taymans  <wim@fluendo.com>
17813
17814         * gst/net/gstnetclientclock.c: (do_linear_regression),
17815         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17816         Fix compilation, uninitialized vars and a forgotten continue.
17817
17818 2005-11-17  Andy Wingo  <wingo@pobox.com>
17819
17820         * check/Makefile.am (check_PROGRAMS): 
17821         * check/net/gstnetclientclock.c: Add a most minimal test for the
17822         net client clock. More to come later.
17823
17824         * gst/net/gstnet.h: 
17825         * gst/net/Makefile.am: Add netclientclock.
17826
17827         * gst/net/gstnetclientclock.h:
17828         * gst/net/gstnetclientclock.c: New files, implement an untested
17829         GstClock that takes its time from a network time provider.
17830         Implements the algorithm in network-clock.scm.
17831
17832         * tests/network-clock.scm (*window-size*): Rename from
17833         *queue-length*.
17834         * tests/network-clock.scm (network-time): 
17835         * tests/network-clock-utils.scm (q-push): Update callers.
17836
17837 2005-11-17  Wim Taymans  <wim@fluendo.com>
17838
17839         * gst/gstbin.c: (gst_bin_provide_clock_func),
17840         (gst_bin_sort_iterator_new):
17841         And unref the child too..
17842
17843 2005-11-17  Wim Taymans  <wim@fluendo.com>
17844
17845         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17846         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17847         Refactor the sort iterator so it can be used while holding the
17848         LOCK too.
17849         Make clock selection select a clock closest to the source.
17850
17851 2005-11-17  Michael Smith <msmith@fluendo.com>
17852
17853         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17854         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17855         * gst/gstclock.h:
17856           Anonymous structs are a gcc (and some other compilers) extension, so
17857           don't use them. Since this is only for ABI-compatibility, and our
17858           API/ABI freeze is over in a few days, this whole thing will only
17859           last a few days, so don't bother trying to think up a meaningful
17860           name for the struct.
17861
17862 2005-11-17  Andy Wingo  <wingo@pobox.com>
17863
17864         * gst/gstclock.h (GstClock): Add rate and offset properties,
17865         preserving ABI stability. Add rate/offset accessors. Will file bug
17866         for the freeze break.
17867
17868         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17869         and offset, trying to keep precision and avoiding
17870         underflow/overflow.
17871         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17872         functions. Make gst_clock_set_time_adjust obsolete.
17873         (gst_clock_set_time_adjust): Note that this function is obsolete.
17874         Will file bug soon.
17875
17876         * gst/base/gstbasetransform.h: Make the ABI-stability hack
17877         greppable by using GST_PADDING-1+1.
17878
17879 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
17880
17881         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17882
17883         * gst/gstmessage.c: (gst_message_parse_clock_lost):
17884           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17885
17886         * gst/gstpadtemplate.h:
17887         * gst/gstpluginfeature.h:
17888           Don't use c++ style comments in headers (#321638).
17889
17890 2005-11-16  Andy Wingo  <wingo@pobox.com>
17891
17892         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17893         buffer.
17894
17895         * check/net/gstnettimeprovider.c: Check to see that the time
17896         provider actually provides times. Works, yo!
17897
17898 2005-11-16  Wim Taymans  <wim@fluendo.com>
17899
17900         * check/Makefile.am:
17901         Enable more tests.
17902
17903         * check/elements/fakesrc.c: (GST_START_TEST):
17904         Set element to NULL before disposing it.
17905
17906 2005-11-16  Andy Wingo  <wingo@pobox.com>
17907
17908         * gst/net/Makefile.am:
17909         * gst/net/gstnet.h:
17910         * gst/net/gstnettimeprovider.c: 
17911         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17912         provider, include it from gstnet.h, and add it to the build.
17913
17914         * gst/net/gstnettimepacket.h: 
17915         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17916         sending and receiving.
17917
17918 2005-11-16  Wim Taymans  <wim@fluendo.com>
17919
17920         * check/Makefile.am:
17921         Enable valgrind check.
17922
17923         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17924         (gst_fake_src_alloc_buffer):
17925         Fix memleak.
17926
17927 2005-11-16  Wim Taymans  <wim@fluendo.com>
17928
17929         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17930         Call parent finalize too.
17931
17932 2005-11-16  Wim Taymans  <wim@fluendo.com>
17933
17934         * check/Makefile.am:
17935         Enable valgrind check that should work fine now.
17936
17937         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17938         * gst/gstqueue.c: (gst_queue_init):
17939         Fix memleaks in pad allocation.
17940
17941 2005-11-16  Andy Wingo  <wingo@pobox.com>
17942
17943         * gst/net/Makefile.am:
17944         * gst/net/gstnet.h: New part of core to hold network elements and
17945         objects. Put in core because it exposes API that applications want
17946         to use. The library is named libgstnet-tempname right now because
17947         of the existing libgstnet in gst-plugins-base. Solution is
17948         probably to rename the one in plugins-base; will file a bug for
17949         the freeze break.
17950
17951         * gst/net/gstnettimeprovider.c: 
17952         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17953         get_time call over the network.
17954
17955         * configure.ac: 
17956         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17957
17958         * check/Makefile.am:
17959         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17960         get additions shortly.
17961
17962 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17963
17964         * gst/gstpad.c: (gst_pad_new_from_static_template):
17965         * gst/gstpad.h:
17966           add gst_pad_new_from_static_template functions
17967         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17968         (gst_check_setup_sink_pad):
17969         * gst/elements/gsttee.c: (gst_tee_init):
17970           and use them
17971
17972 2005-11-16  Wim Taymans  <wim@fluendo.com>
17973
17974         * gst/gstpad.c: (gst_pad_pause_task):
17975         Removed warning, it's not really an error either.
17976
17977 2005-11-16  Wim Taymans  <wim@fluendo.com>
17978
17979         * gst/base/gstbasetransform.c:
17980         (gst_base_transform_prepare_output_buf),
17981         (gst_base_transform_event):
17982         Check if the caps are NULL, this can happen if the element
17983         is shutting down and the pad caps are set to NULL.
17984
17985 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17986
17987         * gst/elements/gsttee.c: (gst_tee_init):
17988           fix pad template leak in tee
17989
17990 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17991
17992         * gst/glib-compat.c: (g_value_dup_gst_object):
17993         * gst/glib-compat.h:
17994         * gst/gstpad.c: (gst_pad_set_property):
17995           use gst_object_ref when setting the pad template; this will
17996           trigger the pad template leaks on GLib 2.6 and the slaves
17997
17998 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17999
18000         * gst/glib-compat.c: (gst_flags_get_first_value):
18001         * gst/glib-compat.h:
18002         * gst/gstregistryxml.c:
18003           remove functions copied from GLib 2.6
18004
18005 2005-11-16  Michael Smith <msmith@fluendo.com>
18006
18007         * gst/Makefile.am:
18008           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18009           do, but only breaks with newer valgrind versions. We're not a
18010           valgrind tool, we have no link-time dependencies on libcoregrind.
18011
18012 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18013
18014         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18015           some debug changes
18016         * gst/gstmessage.h:
18017           typo fixes
18018
18019 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18020
18021         * gst/base/gstbasesrc.c: (gst_base_src_init):
18022         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18023         * gst/gstqueue.c: (gst_queue_init):
18024         * gst/gstregistryxml.c: (load_feature):
18025           Revert all these unrefs, they don't even pass make check !
18026
18027 2005-11-15  Johan Dahlin  <johan@gnome.org>
18028
18029         * gst/base/gstbasesrc.c: (gst_base_src_init):
18030         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18031         * gst/gstqueue.c: (gst_queue_init): 
18032         Free pad templates, fixes a couple of leaks.
18033
18034 2005-11-15  Daniel Fischer  <dan at f3c dot com>
18035
18036         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18037
18038         * gst/gstpad.c: (gst_pad_get_property):
18039           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18040           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18041           (#321452)
18042
18043 2005-11-15  Wim Taymans  <wim@fluendo.com>
18044
18045         * gst/gstevent.c:
18046         Small doc update.
18047
18048 2005-11-15  Andy Wingo  <wingo@pobox.com>
18049
18050         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
18051
18052         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
18053         using GST_CLOCK_TIME_NONE to disable base time management.
18054         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
18055         time if it was NONE before.
18056         (gst_pipeline_change_state): Only munge the base time if
18057         stream_time != GST_CLOCK_TIME_NONE.
18058
18059         * check/gst/gstpipeline.c (test_base_time): Punt around the
18060         problem of the probe not being called, because that's not the
18061         issue I'm looking at. Add a check that setting stream_time to NONE
18062         disables base time management.
18063         
18064 2005-11-15  Wim Taymans  <wim@fluendo.com>
18065
18066         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18067         segment_stop == -1 at startup.
18068
18069         * gst/base/gstbasetransform.c: (gst_base_transform_event),
18070         (gst_base_transform_change_state):
18071         Init segment values at start.
18072
18073 2005-11-15  Wim Taymans  <wim@fluendo.com>
18074
18075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18076         0 segment values are 0 in any format.
18077
18078         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18079         * gst/base/gstbasetransform.h:
18080         Parse newsegment correctly in basetransform
18081
18082         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18083         Sync to clock using updated segment values.
18084
18085 2005-11-15  Andy Wingo  <wingo@pobox.com>
18086
18087         * check/gst/gstpipeline.c (test_base_time): Add check that the
18088         base time and stream time are reset correctly.
18089
18090 2005-11-15  Wim Taymans  <wim@fluendo.com>
18091
18092         * docs/design/part-TODO.txt:
18093         Some more TODO items.
18094
18095 2005-11-15  Andy Wingo  <wingo@pobox.com>
18096
18097         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
18098         error if the user selected "no clock" as the clocking method.
18099
18100         * check/gst/gstpipeline.c (test_base_time): New test for buffer
18101         timestamps with live capture.
18102
18103         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
18104         is 0 but we are a live source, timestamp the buffers using the
18105         element's clock.
18106
18107 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
18108
18109         * docs/gst/gstreamer-sections.txt:
18110         * gst/gsterror.c:
18111         * gst/gstghostpad.c:
18112         * gst/gstobject.h:
18113         * gst/gstxml.c:
18114           more section docs
18115
18116 2005-11-14  Wim Taymans  <wim@fluendo.com>
18117
18118         * common/gst.supp:
18119           add suppressions from Wim's Debian machine
18120
18121 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18122
18123         * common/gst.supp:
18124           add suppressions from Andy's AMD64 Ubuntu machine
18125
18126 2005-11-14  Andy Wingo  <wingo@pobox.com>
18127
18128         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
18129         STATE_LOCK not necessary. Fixes #311489.
18130
18131         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
18132         #305291.
18133
18134         * gst/gstindex.c (gst_index_add_object): Note in the docs that
18135         this function is not implemented.
18136
18137 2005-11-14  Julien MOUTTE  <julien@moutte.net>
18138
18139         * gst/base/gstbasetransform.c:
18140         (gst_base_transform_prepare_output_buf):
18141         Ref the source pad caps while we need them.
18142         Fixes (#321386)
18143
18144 2005-11-11  Wim Taymans  <wim@fluendo.com>
18145
18146         * docs/gst/gstreamer-sections.txt:
18147         Added some docs for GstCollectData.
18148
18149         * gst/base/gstadapter.c:
18150         Some small code example fix.
18151
18152         * gst/base/gstcollectpads.c:
18153         * gst/base/gstcollectpads.h:
18154         Document some more.
18155
18156 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18157
18158         * configure.ac: back to HEAD
18159
18160 === release 0.9.5 ===
18161
18162 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
18163
18164         * configure.ac:
18165           releasing 0.9.5, "Bike Lunch Day"
18166
18167 2005-11-11  Wim Taymans  <wim@fluendo.com>
18168
18169         * gst/gstbuffer.c: (_gst_buffer_copy):
18170         Copy more flags.
18171
18172         * gst/gstcaps.c: (gst_caps_is_equal):
18173         Fix some docs.
18174         Make _is_equal fast in the trivial cases.
18175
18176         * gst/gstminiobject.c:
18177         * gst/gstminiobject.h:
18178         More docs. Spifify .h file.
18179
18180         * gst/gstutils.c:
18181         Small doc update.
18182
18183 2005-11-11  Wim Taymans  <wim@fluendo.com>
18184
18185         * gst/base/gstbasetransform.c:
18186         (gst_base_transform_prepare_output_buf),
18187         (gst_base_transform_handle_buffer):
18188         Small cleanups.
18189         If we're processing a buffer and need to allocate an output
18190         buffer, we cannot accept a format change. If we did get a 
18191         format change, we have to alloc a buffer ourselves of the 
18192         right size.
18193
18194 2005-11-11  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
18197         While checking the flag for reentrancy in the gstcaps function
18198         is nice to detect recursive invocations, it also makes it 
18199         impossible to call getcaps from multiple threads, which must be
18200         possible. So, checking for recursive calls has to go.
18201
18202 2005-11-11  Michael Smith <msmith@fluendo.com>
18203
18204         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18205           Don't sync on buffers that fall partially outside our current
18206           segment. Prevents an assertion failure/abort playing some files.
18207
18208 2005-11-10  Andy Wingo  <wingo@pobox.com>
18209
18210         * check/gst/gstbin.c (test_message_state_changed_children): Style
18211         fix..
18212
18213         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
18214         gst_bus_poll with the signal watch. Ensures that poll and a signal
18215         watch see the same messages.
18216
18217         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
18218         a poll and a watch at the same time get the same messages.
18219
18220 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18221
18222         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
18223         * gst/gstcaps.c: (gst_caps_intersect):
18224           Don't call gst_caps_do_simplify - it doesn't respect order of caps
18225           and it's not needed.
18226
18227 2005-11-10  Wim Taymans  <wim@fluendo.com>
18228
18229         * docs/design/part-TODO.txt:
18230         Updated todo.
18231
18232 2005-11-10  Wim Taymans  <wim@fluendo.com>
18233
18234         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18235         * gst/base/gstbasesrc.c: (gst_base_src_wait),
18236         (gst_base_src_do_sync), (gst_base_src_get_range):
18237         Implement clock sync in base class.
18238
18239 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18240
18241         patch by: Tim-Philipp Müller <tim at centricular dot net>
18242
18243         * gst/gststructure.c: (gst_structure_parse_field),
18244         (gst_structure_from_string):
18245           Forward-port a 0.8 patch to handle escaped spaces in structure string,
18246           so that gst_parse_launch() can deal with spaces in filtered link
18247           caps (fixes #164479)
18248         * check/gst/capslist.h:
18249         * check/gst/gststructure.c: (GST_START_TEST):
18250           add unit tests for this change
18251
18252 2005-11-10  Wim Taymans  <wim@fluendo.com>
18253
18254         * docs/gst/gstreamer-sections.txt:
18255         * gst/gstelement.c:
18256         * gst/gstelement.h:
18257         Fix docs, move some STATE macros to private.
18258
18259 2005-11-10  Wim Taymans  <wim@fluendo.com>
18260
18261         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18262         Added check for bug #317341
18263
18264         * gst/gstbuffer.c:
18265         * gst/gstbuffer.h:
18266         Some more spiffifying.
18267
18268         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
18269         Call peer linkfunction if we are a source pad. Totally fixes
18270         #317341
18271
18272         * gst/gstpad.c:
18273         Update docs, source pads should call the peer linkfunction
18274         so they can atomically perform the pad link.
18275
18276 2005-11-09  Wim Taymans  <wim@fluendo.com>
18277
18278         * gst/gstbuffer.c:
18279         * gst/gstbuffer.h:
18280         Uber-spiffy-spiffify some more.
18281
18282 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
18283
18284         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
18285         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18286         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18287         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
18288         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
18289         * gst/gstpad.c: (gst_pad_init):
18290           Use GST_DEBUG_FUNCPTR() more extensively.
18291
18292 2005-11-09  Wim Taymans  <wim@fluendo.com>
18293
18294         * gst/gstobject.c: (gst_object_class_init):
18295         * gst/gstobject.h:
18296         Documentation fixes.
18297
18298 2005-11-09  Edward Hervey  <edward@fluendo.com>
18299
18300         * gst/gsttypefindfactory.c:
18301         Fix docs.
18302         
18303 2005-11-09  Edward Hervey  <edward@fluendo.com>
18304
18305         * gst/base/gsttypefindhelper.c:
18306         * gst/gsttypefind.c:
18307         * gst/gsttypefind.h:
18308         Fix docs.
18309
18310 2005-11-09  Wim Taymans  <wim@fluendo.com>
18311
18312         * gst/gstiterator.c:
18313         Fix revision data.
18314
18315         * gst/gsttask.c:
18316         * gst/gsttask.h:
18317         Fix docs.
18318
18319 2005-11-09  Wim Taymans  <wim@fluendo.com>
18320
18321         * gst/gstevent.h:
18322         * gst/gsturi.h:
18323         Fix docs.
18324
18325 2005-11-09  Wim Taymans  <wim@fluendo.com>
18326
18327         * docs/gst/gstreamer-sections.txt:
18328         Moved the message async delivery private lock and cond
18329         to the private section.
18330
18331         * gst/gstmessage.c:
18332         * gst/gstmessage.h:
18333         Fixed docs.
18334
18335 2005-11-09  Edward Hervey  <edward@fluendo.com>
18336
18337         * docs/gst/gstreamer-sections.txt:
18338         * gst/gsturi.c:
18339         * gst/gsturi.h:
18340         Document GstURIHandler
18341
18342 2005-11-09  Wim Taymans  <wim@fluendo.com>
18343
18344         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18345         (gst_iterator_find_custom):
18346         * gst/gstiterator.h:
18347         Fix iterator docs.
18348
18349 2005-11-09  Wim Taymans  <wim@fluendo.com>
18350
18351         * gst/gstbin.h:
18352         Document another field.
18353
18354         * gst/gststructure.c:
18355         * gst/gststructure.h:
18356         Document.
18357
18358 2005-11-09  Wim Taymans  <wim@fluendo.com>
18359
18360         * gst/gstbin.h:
18361         Documented structs.
18362
18363 2005-11-09  Wim Taymans  <wim@fluendo.com>
18364
18365         * docs/gst/gstreamer-sections.txt:
18366         Added some new macros.
18367
18368         * gst/gstclock.c:
18369         * gst/gstclock.h:
18370         * gst/gstobject.h:
18371         Docs updates.
18372
18373 2005-11-09  Wim Taymans  <wim@fluendo.com>
18374
18375         * docs/design/part-TODO.txt:
18376         Some more items for the TODO
18377
18378         * gst/gstcaps.c:
18379         * gst/gstcaps.h:
18380         Document GstCaps.
18381
18382 2005-11-09  Andy Wingo  <wingo@pobox.com>
18383
18384         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18385         to work on something else now tho...
18386
18387         * gst/base/gstadapter.c: More adapter docs.
18388
18389         * gst/elements/gstfilesink.c (gst_file_sink_start) 
18390         (gst_file_sink_stop): New functions, replace the state change
18391         handler.
18392         (gst_file_sink_class_init): Hook up the start and stop functions.
18393         (gst_file_sink_base_init): Don't set the state change handler any
18394         more. It was a bit ugly too, being set from here...
18395         (gst_file_sink_get_property, gst_file_sink_set_property):
18396         Cleanups...
18397         (gst_file_sink_set_location): More robust check that doesn't call
18398         GST_STATE. Ugggggg.
18399
18400 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
18401
18402         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18403           Hold STREAM_LOCK while pushing newsegment or tag events as well.
18404
18405 2005-11-08  Wim Taymans  <wim@fluendo.com>
18406
18407         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18408         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18409         (gst_base_sink_chain), (gst_base_sink_change_state):
18410         * gst/base/gstbasesink.h:
18411         * gst/base/gstbasesrc.h:
18412         * gst/gstelement.h:
18413         * gst/gstevent.h:
18414         Avoid excessive typechecking in macros.
18415
18416         * gst/gstminiobject.c: (gst_mini_object_get_type),
18417         (gst_mini_object_init), (gst_mini_object_new),
18418         (gst_mini_object_free):
18419         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18420         (gst_object_finalize):
18421         Remove cruft code, optimize alloc_trace.
18422
18423 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18424
18425         * docs/faq/gst-uninstalled:
18426           fix up PS1 for systems that try to reset it
18427
18428 2005-11-07  Wim Taymans  <wim@fluendo.com>
18429
18430         * gst/base/gstbasesrc.c: (gst_base_src_init),
18431         (gst_base_src_get_range):
18432         Set the segment_end to -1 initially. Fixed typefind.
18433
18434 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
18435
18436         * gst/base/gstadapter.c:
18437           Debug category should be 'adapter', not 'GstAdapter'.
18438           
18439         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18440         (gst_collectpads_class_init), (gst_collectpads_init),
18441         (gst_collectpads_peek), (gst_collectpads_pop),
18442         (gst_collectpads_event), (gst_collectpads_chain):
18443           Add debug category and some debugging output. Use boilerplate
18444           macros. Remove some extraneous words from docs.
18445
18446 2005-11-05  Andy Wingo  <wingo@pobox.com>
18447
18448         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18449         macro.
18450
18451 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18452
18453         * docs/gst/gstreamer-sections.txt:
18454         * gst/gstcaps.h:
18455         * gst/gstinfo.c:
18456         * gst/gstminiobject.h:
18457         * gst/gstobject.h:
18458         * gst/gstutils.h:
18459           more docs added
18460
18461 2005-11-04  Wim Taymans  <wim@fluendo.com>
18462
18463         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18464         Small update to stop at the configured segment_end
18465         position.
18466
18467 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18468
18469         * gst/gstregistry.c:
18470         * gst/gstregistry.h:
18471           added missing docs
18472
18473 2005-11-04  Edward Hervey  <edward@fluendo.com>
18474
18475         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18476         Check if we are doing a segment seek and have arrived at the
18477         end of that segment.
18478
18479 2005-11-04  Wim Taymans  <wim@fluendo.com>
18480
18481         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18482         Don't leak a mutex unlock in case of an error.
18483
18484         * gst/gstbus.h:
18485         Doc fixes.
18486
18487 2005-11-04  Wim Taymans  <wim@fluendo.com>
18488
18489         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18490         (gst_bus_post):
18491         Get the context to wake up only once.
18492
18493 2005-11-03  Wim Taymans  <wim@fluendo.com>
18494
18495         * check/states/sinks.c: (GST_START_TEST):
18496         Uncomment fixed check.
18497
18498         * docs/design/part-TODO.txt:
18499         Updated TODO.
18500
18501         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18502         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18503         (gst_base_sink_get_position):
18504         If we are going to PLAYING, post the right pending state
18505         when we post the intermediate paused message.
18506
18507         * gst/gstelement.c: (gst_element_continue_state),
18508         (gst_element_set_state_func), (gst_element_change_state):
18509         Don't post state changes that were between the same state
18510         and were not ASYNC.
18511
18512 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18513
18514         * docs/gst/gstreamer-sections.txt:
18515         * gst/gstcaps.h:
18516         * gst/gstinfo.c:
18517         * gst/gstminiobject.h:
18518         * gst/gstobject.h:
18519         * gst/gstutils.h:
18520           more docs and doc style fixes
18521
18522 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18523
18524         * docs/gst/gstreamer-sections.txt:
18525         * gst/gstelement.c:
18526         * gst/gstminiobject.c:
18527         doc fixes
18528
18529 2005-11-03  Andy Wingo  <wingo@pobox.com>
18530
18531         * check/states/sinks.c (test_livesrc_sink): Add checks that the
18532         state-changed messages actually have the right order and the right
18533         values.
18534
18535 2005-11-03  Wim Taymans  <wim@fluendo.com>
18536
18537         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18538         Added some more checks. Specifically the case where NO_PREROLL
18539         elements are in the pipeline.
18540
18541         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18542         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18543         (gst_base_sink_get_position):
18544         Post READY->PAUSED state change messages too.
18545         Fix bug where VOID was posted as pending state...
18546
18547         * gst/gstbin.c: (gst_bin_recalc_state):
18548         use _element_continue_state() to continue the state change.
18549
18550         * gst/gstelement.c: (gst_element_continue_state),
18551         (gst_element_commit_state), (gst_element_set_state_func),
18552         (gst_element_change_state), (gst_element_change_state_func):
18553         Lots of state change cleanups, assign the STATE_RETURN in
18554         a new continue_state() function that also propagates the
18555         last return value from a state change to the app.
18556         Update some debug statements with proper category.
18557
18558 2005-11-03  Wim Taymans  <wim@fluendo.com>
18559
18560         * docs/design/part-events.txt:
18561         * docs/design/part-gstpipeline.txt:
18562         * docs/design/part-messages.txt:
18563         * docs/design/part-overview.txt:
18564         * docs/design/part-seeking.txt:
18565         * docs/design/part-states.txt:
18566         * docs/design/part-trickmodes.txt:
18567         * docs/manual/advanced-position.xml:
18568         Small docs updates.
18569
18570         * gst/gstobject.h:
18571         People think !! is ugly, this looks better.
18572
18573         * gst/gstpad.c: (gst_pad_set_blocked_async):
18574         Remove !! since it's fixed elsewhere now.
18575
18576 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18577
18578         * gst/gstminiobject.h:
18579         * gst/gstobject.h:
18580           Add !! to _FLAG_IS_SET macros to make the result boolean.
18581
18582 2005-11-03  Edward Hervey  <edward@fluendo.com>
18583
18584         * gst/gstpad.c: (gst_pad_set_blocked_async):
18585         comparing a flag and a gboolean rarely returns coherent results...
18586         Added two characters (!!) to make that work correctly.
18587         
18588 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18589
18590         * gst/gstbus.c: (gst_bus_class_init):
18591           Fix some typos.
18592           
18593         * gst/gstqueue.c: (gst_queue_loop):
18594           Don't assume a miniobject that isn't a buffer is an
18595           event (it could be that there is a refcounting
18596           problem somewhere and the pointer is stale and
18597           refers to an already destroyed miniobject).
18598
18599 2005-11-03  Julien MOUTTE  <julien@moutte.net>
18600
18601         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18602
18603 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18604
18605         * docs/manual/advanced-position.xml:
18606           Update seek example and explanations to current 0.9 API.
18607
18608         * gst/elements/gsttypefindelement.c:
18609         (gst_type_find_element_activate):
18610           Remove FIXME comment now that the found caps
18611           are unreffed.
18612
18613 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18614
18615         * gst/gstregistryxml.c: (load_feature):
18616           Add another GST_STR_NULL instance
18617
18618 2005-11-02  Edward Hervey  <edward@fluendo.com>
18619
18620         * gst/gstpad.c: (handle_pad_block):
18621         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18622         
18623 2005-11-02  Wim Taymans  <wim@fluendo.com>
18624
18625         * gst/gstbin.c:
18626         Fix typo in docs.
18627
18628         * gst/gstelement.c: (gst_element_commit_state):
18629         Remove unused value.
18630
18631         * gst/gstiterator.c:
18632         Mention that the returned element is reffed in the docs.
18633
18634 2005-11-02  Wim Taymans  <wim@fluendo.com>
18635
18636         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18637         (gst_pad_push), (gst_pad_push_event):
18638         Unlock blocked pads when they are flushed.
18639
18640 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18641
18642         * docs/README:
18643         * docs/gst/gstreamer-sections.txt:
18644         * gst/gstbin.c:
18645           doc updates
18646         * gst/gstregistry.c: (gst_registry_scan_path_level):
18647           fix for a nasty little missed situation where an installed plug-in
18648           which was in the cache did not get overridden by an uninstalled one
18649           which was earlier in the plugin path because the newly created plugin
18650           for the uninstalled one (not in the registry) didn't get its
18651           ->registered set to TRUE
18652
18653 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18654
18655         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18656         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18657         (gst_collectpads_is_active), (gst_collectpads_collect),
18658         (gst_collectpads_collect_range), (gst_collectpads_start),
18659         (gst_collectpads_stop), (gst_collectpads_peek),
18660         (gst_collectpads_pop), (gst_collectpads_available),
18661         (gst_collectpads_read), (gst_collectpads_flush):
18662           Guard public API with assertions.
18663         
18664         * gst/gstpad.c:
18665           Fix docs for gst_pad_set_link_function().
18666
18667 2005-11-02  Johan Dahlin  <johan@gnome.org>
18668
18669         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
18670         Unref found_caps after we used it.
18671
18672 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18673
18674         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18675           Don't try to ref NULL.
18676
18677 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18678
18679         * win32/common/config.h.in:
18680           provide a GST_FUNCTION that just gives a string for now
18681
18682 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18683
18684         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18685         (gst_object_flags_get_type), (register_gst_bin_flags),
18686         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18687         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18688         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18689         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18690         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18691         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18692         (gst_clock_flags_get_type), (register_gst_state),
18693         (gst_state_get_type), (register_gst_state_change_return),
18694         (gst_state_change_return_get_type), (register_gst_state_change),
18695         (gst_state_change_get_type), (register_gst_element_flags),
18696         (gst_element_flags_get_type), (register_gst_core_error),
18697         (gst_core_error_get_type), (register_gst_library_error),
18698         (gst_library_error_get_type), (register_gst_resource_error),
18699         (gst_resource_error_get_type), (register_gst_stream_error),
18700         (gst_stream_error_get_type), (register_gst_event_type),
18701         (gst_event_type_get_type), (register_gst_seek_type),
18702         (gst_seek_type_get_type), (register_gst_seek_flags),
18703         (gst_seek_flags_get_type), (register_gst_format),
18704         (gst_format_get_type), (register_gst_index_certainty),
18705         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18706         (gst_index_entry_type_get_type),
18707         (register_gst_index_lookup_method),
18708         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18709         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18710         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18711         (gst_index_flags_get_type), (register_gst_debug_level),
18712         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18713         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18714         (gst_iterator_result_get_type), (register_gst_iterator_item),
18715         (gst_iterator_item_get_type), (register_gst_message_type),
18716         (gst_message_type_get_type), (register_gst_mini_object_flags),
18717         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18718         (gst_pad_link_return_get_type), (register_gst_flow_return),
18719         (gst_flow_return_get_type), (register_gst_activate_mode),
18720         (gst_activate_mode_get_type), (register_gst_pad_direction),
18721         (gst_pad_direction_get_type), (register_gst_pad_flags),
18722         (gst_pad_flags_get_type), (register_gst_pad_presence),
18723         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18724         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18725         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18726         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18727         (gst_plugin_flags_get_type), (register_gst_rank),
18728         (gst_rank_get_type), (register_gst_query_type),
18729         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18730         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18731         (gst_tag_flag_get_type), (register_gst_task_state),
18732         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18733         (gst_alloc_trace_flags_get_type),
18734         (register_gst_type_find_probability),
18735         (gst_type_find_probability_get_type), (register_gst_uri_type),
18736         (gst_uri_type_get_type), (register_gst_parse_error),
18737         (gst_parse_error_get_type):
18738         * win32/common/gstversion.h:
18739           update win32 copies
18740
18741 2005-11-01  Luca Ognibene  <luogni@tin.it>
18742
18743         * gst/gst.c:
18744           fix docs. popt is dead, long live GOption.
18745
18746 2005-10-31  Wim Taymans  <wim@fluendo.com>
18747
18748         * gst/gstbuffer.h:
18749         Small doc fix.
18750
18751 2005-10-31  Andy Wingo  <wingo@pobox.com>
18752
18753         * Boo!
18754
18755         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18756
18757         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18758         need to serialize property notifications on GLib 2.8. GLib 2.6 has
18759         the possibility of deadlocks here if code calling notify() or
18760         set() has a lock that can be taken in another notify handler (ABBA
18761         with class lock and e.g. python GIL state lock).
18762
18763 2005-10-28  Julien MOUTTE  <julien@moutte.net>
18764
18765         * gst/gstbus.c: Doc updates.
18766
18767 2005-10-28  Wim Taymans  <wim@fluendo.com>
18768
18769         * docs/design/part-TODO.txt:
18770         * gst/gstiterator.c:
18771         * gst/gstsystemclock.c:
18772         * gst/gstsystemclock.h:
18773         Doc updates.
18774
18775 2005-10-28  Edward Hervey  <edward@fluendo.com>
18776
18777         * docs/gst/gstreamer-docs.sgml:
18778         * docs/gst/gstreamer-sections.txt:
18779         the GstURIType documentation page is private, it only defines GstURIType
18780         which should be defined in the GstURIHandler page
18781         
18782 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18783
18784         * gst/gstbin.c: (gst_bin_class_init):
18785         * gst/gstbin.h:
18786         * gst/gstutils.c:
18787         Documentation updates.
18788
18789 2005-10-28  Wim Taymans  <wim@fluendo.com>
18790
18791         * docs/gst/gstreamer-sections.txt:
18792         * gst/gstclock.c:
18793         * gst/gstclock.h:
18794         Documented the clocks.
18795
18796 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
18797
18798         * docs/gst/gstreamer-sections.txt:
18799           move some macros to private sections
18800         * gst/gstminiobject.c:
18801         * gst/gstminiobject.h:
18802           add descriptions provided by ds and some more
18803         * gst/gstpad.h:
18804           mark macro as to be removed
18805
18806 2005-10-28  Wim Taymans  <wim@fluendo.com>
18807
18808         * docs/design/part-TODO.txt:
18809         Add an item to TODO.
18810
18811         * gst/gstiterator.c: (gst_iterator_fold),
18812         (gst_iterator_find_custom):
18813         * gst/gstiterator.h:
18814         Add iterator docs.
18815
18816 2005-10-28  Wim Taymans  <wim@fluendo.com>
18817
18818         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18819         (gst_base_transform_init):
18820         Don't leak class.
18821
18822         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18823         An EOS event marks the queue as completely filled.
18824
18825 2005-10-27  Wim Taymans  <wim@fluendo.com>
18826
18827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18828         (gst_base_sink_do_sync), (gst_base_sink_get_position):
18829         Some more debugging.
18830
18831         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18832         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18833         (gst_base_transform_event), (gst_base_transform_getrange),
18834         (gst_base_transform_chain):
18835         * gst/base/gstbasetransform.h:
18836         Fix debugging,
18837         Protect transform and concurrent buffer alloc with a new lock.
18838         Try not to break ABI/API.
18839
18840 2005-10-27  Wim Taymans  <wim@fluendo.com>
18841
18842         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18843         (gst_base_src_init), (gst_base_src_query),
18844         (gst_base_src_default_newsegment),
18845         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18846         (gst_base_src_send_event), (gst_base_src_event_handler),
18847         (gst_base_src_pad_get_range), (gst_base_src_loop),
18848         (gst_base_src_unlock), (gst_base_src_default_negotiate),
18849         (gst_base_src_start), (gst_base_src_deactivate),
18850         (gst_base_src_activate_push), (gst_base_src_change_state):
18851         Move some stuff around and cleanup things.
18852
18853 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
18854
18855         * gst/base/gstbasesrc.c: (gst_base_src_query):
18856           Add missing break statements.
18857
18858 2005-10-27  Wim Taymans  <wim@fluendo.com>
18859
18860         * check/gst/gstbin.c: (GST_START_TEST):
18861         An extra refcount is taken in basesrc.
18862
18863         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18864         (gst_base_src_get_range), (gst_base_src_pad_get_range),
18865         (gst_base_src_loop):
18866         Small cleanups, check for flushing after being unlocked from the 
18867         LIVE_LOCK. take refcounts correctly (not yet everywhere).
18868         Don't send out EOS when going to READY.
18869
18870 2005-10-27  Wim Taymans  <wim@fluendo.com>
18871
18872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18873         (gst_base_sink_get_position):
18874         Some more debug.
18875
18876         * gst/gstbin.c: (message_check), (bin_replace_message),
18877         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18878         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18879         (bin_query_duration_init), (bin_query_duration_fold),
18880         (bin_query_duration_done), (bin_query_generic_fold),
18881         (gst_bin_query):
18882         * tools/gst-launch.c: (main):
18883         Remove old option.
18884
18885 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
18886
18887         * examples/controller/audio-example.c: (main):
18888         * examples/queue/queue.c: (event_loop):
18889         * gst/base/gstbasetransform.h:
18890         * gst/gstelement.c: (gst_element_send_event):
18891         * gst/gstevent.h:
18892         * gst/gstpad.c: (gst_pad_send_event):
18893           fixing examples
18894           fixing docs typos
18895           changing log priority in error situations
18896
18897 2005-10-25  Wim Taymans  <wim@fluendo.com>
18898
18899         * gst/gstbin.c: (message_check), (bin_replace_message),
18900         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18901         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18902         (bin_query_duration_init), (bin_query_duration_fold),
18903         (bin_query_duration_done), (bin_query_generic_fold),
18904         (gst_bin_query):
18905         Some doc and debug updates.
18906         Cache previously requested query DURATION for speed. invalidate
18907         cached duration if element posts a DURATION message.
18908
18909 2005-10-25  Wim Taymans  <wim@fluendo.com>
18910
18911         * docs/design/part-TODO.txt:
18912         Update TODO.
18913
18914         * gst/gstbin.c: (message_check), (bin_replace_message),
18915         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18916         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18917         (bin_query_duration_init), (bin_query_duration_fold),
18918         (bin_query_duration_done), (bin_query_generic_fold),
18919         (gst_bin_query):
18920         Handle SEGMENT_START/DONE messages correctly.
18921         More evolved query algorithm that handles duration queries
18922         correctly.
18923
18924         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18925         (gst_element_get_state_func), (gst_element_abort_state),
18926         (gst_element_commit_state), (gst_element_lost_state):
18927         Some more debugging.
18928
18929         * gst/gstmessage.h:
18930         Added doc.
18931
18932 2005-10-25  Wim Taymans  <wim@fluendo.com>
18933
18934         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18935         Don't use invalid stream_time.
18936
18937         * gst/gstevent.c: (gst_event_new_newsegment):
18938         stream_time in newsegment cannot be undefined.
18939
18940 2005-10-24  Wim Taymans  <wim@fluendo.com>
18941
18942         * gst/gstbus.c:
18943         Doc fix.
18944
18945         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18946         (gst_queue_loop):
18947         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18948
18949 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18950
18951         * docs/libs/tmpl/gstdparam.sgml:
18952         * docs/libs/tmpl/gstdplinint.sgml:
18953         * docs/libs/tmpl/gstdpman.sgml:
18954         * docs/libs/tmpl/gstdpsmooth.sgml:
18955         * docs/libs/tmpl/gstunitconvert.sgml:
18956           these are obsolete
18957
18958 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * configure.ac:
18961           back to HEAD
18962
18963 === release 0.9.4 ===
18964
18965 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18966
18967         * configure.ac:
18968           releasing 0.9.4, "Tyrannosaurus Rex"
18969
18970 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18971
18972         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18973         (gst_file_sink_get_current_offset):
18974           Use fseeko() and ftello() if available. When falling back on
18975           lseek() to get the current offset, fflush() first to make sure
18976           everything is up-to-date and we get the right offset.
18977
18978 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18979
18980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18981         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18982         * gst/gsterror.c: (_gst_stream_errors_init):
18983         * gst/gsterror.h:
18984         * gst/gstqueue.c: (gst_queue_loop):
18985         * po/POTFILES.in:
18986           remove prematurely added error category and clean up the instances
18987
18988 2005-10-21  Wim Taymans  <wim@fluendo.com>
18989
18990         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18991         (gst_base_sink_get_position), (gst_base_sink_query),
18992         (gst_base_sink_change_state):
18993         Simply set the right flag when going to playing, that's all
18994         we need to do instead of calling a function inside the object
18995         lock (that could take the lock as well and deadlock)
18996
18997 2005-10-21  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19000         (gst_base_src_loop):
19001         Don't warn, the peer element knows what to do best when
19002         the seek failed, it might try something else.
19003
19004 2005-10-21  Wim Taymans  <wim@fluendo.com>
19005
19006         * gst/base/gstbasesrc.c: (gst_base_src_init),
19007         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19008         Fix seeking.
19009
19010 2005-10-21  Wim Taymans  <wim@fluendo.com>
19011
19012         * docs/design/part-segments.txt:
19013         More docs.
19014
19015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19016         Correctly set caps, even on the subbufer.
19017
19018 2005-10-21  Wim Taymans  <wim@fluendo.com>
19019
19020         * docs/gst/gstreamer-docs.sgml:
19021         * docs/gst/gstreamer-sections.txt:
19022         * gst/gstelement.h:
19023         * gst/gstevent.c:
19024         * gst/gstevent.h:
19025         * gst/gstmessage.h:
19026         * gst/gstpad.h:
19027         * gst/gstparse.h:
19028         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19029         * gst/gsttask.h:
19030         * gst/gstutils.c:
19031         * gst/gstutils.h:
19032         And 2% more doc coverage.
19033
19034 2005-10-21  Andy Wingo  <wingo@pobox.com>
19035
19036         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19037         position reporting.
19038
19039 2005-10-20  Wim Taymans  <wim@fluendo.com>
19040
19041         * gst/gsterror.c: (gst_error_get_message):
19042         * gst/gstparse.h:
19043         * gst/gstquery.h:
19044         * gst/gststructure.c:
19045         * gst/gsttrace.c:
19046         * gst/gstutils.c:
19047         More docs.
19048
19049 2005-10-20  Wim Taymans  <wim@fluendo.com>
19050
19051         * gst/gstbuffer.h:
19052         * gst/gstpad.c:
19053         * gst/gstparse.c:
19054         Another 1% more coverage.
19055
19056 2005-10-20  Wim Taymans  <wim@fluendo.com>
19057
19058         * docs/gst/gstreamer-sections.txt:
19059         * gst/gstelement.c: (gst_element_get_state_func),
19060         (gst_element_abort_state), (gst_element_commit_state),
19061         (gst_element_lost_state):
19062         * gst/gstevent.h:
19063         * gst/gstquery.c: (gst_query_set_position),
19064         (gst_query_parse_position), (gst_query_set_duration),
19065         (gst_query_parse_duration), (gst_query_new_convert):
19066         * gst/gstutils.c:
19067         Yay! 1% more docs coverage.
19068
19069 2005-10-20  Wim Taymans  <wim@fluendo.com>
19070
19071         * gst/gstpad.h:
19072         * gst/gstquery.c: (gst_query_set_position),
19073         (gst_query_parse_position), (gst_query_set_duration),
19074         (gst_query_parse_duration), (gst_query_new_convert):
19075         * gst/gstquery.h:
19076         * gst/gstutils.c: (gst_element_query_convert):
19077         * gst/gstutils.h:
19078         Docs and consistency fixes.
19079
19080 2005-10-20  Wim Taymans  <wim@fluendo.com>
19081
19082         * gst/gsttask.c:
19083         * gst/gsttask.h:
19084         More docs.
19085
19086 2005-10-20  Wim Taymans  <wim@fluendo.com>
19087
19088         * gst/gstbin.c: (message_check), (bin_replace_message),
19089         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19090         (update_degree), (gst_bin_sort_iterator_next),
19091         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
19092         Reworked the message handling a bit, cache the messages instead of
19093         only the senders. alows us to do more in the future.
19094
19095 2005-10-20  Wim Taymans  <wim@fluendo.com>
19096
19097         * docs/design/part-TODO.txt:
19098         Update TODO
19099
19100         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19101         (gst_base_sink_query):
19102         Don't use clock time to report position when in EOS.
19103
19104 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
19105
19106         * tools/gst-inspect.c: (print_interfaces),
19107         (print_element_properties_info), (print_element_info):
19108           Fix interface output with gst-inspect -a; don't print
19109           newlines after double/float properties.
19110
19111 2005-10-20  Wim Taymans  <wim@fluendo.com>
19112
19113         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19114         (gst_base_sink_query):
19115         Speed up current position calculation.
19116
19117         * gst/base/gstbasesrc.c: (gst_base_src_query),
19118         (gst_base_src_default_newsegment):
19119         Correctly set stream position in newsegment.
19120
19121         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
19122         (update_degree), (gst_bin_sort_iterator_next),
19123         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
19124         * gst/gstmessage.c: (gst_message_new_custom):
19125         Clean up debugging info
19126
19127         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19128         (gst_queue_loop), (gst_queue_handle_src_query):
19129         Pause task faster.
19130
19131 2005-10-19  Wim Taymans  <wim@fluendo.com>
19132
19133         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19134         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19135         Fix query handling again.
19136
19137 2005-10-19  Wim Taymans  <wim@fluendo.com>
19138
19139         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19140         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19141         * gst/base/gstbasesrc.c: (gst_base_src_query):
19142         * gst/elements/gstfilesink.c: (gst_file_sink_query):
19143         * gst/elements/gsttypefindelement.c:
19144         (gst_type_find_handle_src_query), (find_element_get_length),
19145         (gst_type_find_element_activate):
19146         API change fix.
19147
19148         * gst/gstquery.c: (gst_query_new_position),
19149         (gst_query_set_position), (gst_query_parse_position),
19150         (gst_query_new_duration), (gst_query_set_duration),
19151         (gst_query_parse_duration), (gst_query_set_segment),
19152         (gst_query_parse_segment):
19153         * gst/gstquery.h:
19154         Bundling query position/duration is not a good idea since duration
19155         does not change much and we don't want to recalculate it for every
19156         position query, so they are separated again..
19157         Base value in segment query is not needed.
19158
19159         * gst/gstqueue.c: (gst_queue_handle_src_query):
19160         * gst/gstutils.c: (gst_element_query_position),
19161         (gst_element_query_duration), (gst_pad_query_position),
19162         (gst_pad_query_duration):
19163         * gst/gstutils.h:
19164         Updates for query API change.
19165         Added some docs here and there.
19166
19167 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19168
19169         * check/gst/gstbin.c: (GST_START_TEST):
19170         * check/gst/gstghostpad.c: (GST_START_TEST):
19171         * check/pipelines/cleanup.c: (GST_START_TEST):
19172           wait on thread to die so we can check refcount correctly
19173
19174 2005-10-18  Wim Taymans  <wim@fluendo.com>
19175
19176         * check/pipelines/stress.c: (GST_START_TEST):
19177         Make check a little more time consuming.
19178
19179 2005-10-18  Wim Taymans  <wim@fluendo.com>
19180
19181         * check/Makefile.am:
19182         * check/pipelines/stress.c: (GST_START_TEST),
19183         (simple_launch_lines_suite), (main):
19184         Small state change torture test.
19185
19186         * docs/design/part-states.txt:
19187         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19188         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
19189         (gst_base_sink_change_state):
19190         Never take state lock from streaming thread, clean up ugly
19191         hacks. Unfortunatly core does not yet support nice ways to
19192         async commit state.
19193         
19194         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
19195         (bin_bus_handler):
19196         Start state recalc if a STATE_DIRTY message is posted, but only
19197         on the toplevel bin.
19198
19199         * gst/gstelement.c: (gst_element_sync_state_with_parent),
19200         (gst_element_get_state_func), (gst_element_abort_state),
19201         (gst_element_commit_state), (gst_element_lost_state),
19202         (gst_element_set_state_func), (gst_element_change_state):
19203         * gst/gstelement.h:
19204         State variables are now protected with the LOCK, the state
19205         lock is only used to serialize _set_state().
19206
19207 2005-10-18  Wim Taymans  <wim@fluendo.com>
19208
19209         * check/gst/gstbin.c: (GST_START_TEST):
19210         * check/gst/gstmessage.c: (GST_START_TEST):
19211         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19212         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
19213         (bin_bus_handler):
19214         * gst/gstelement.c: (gst_element_abort_state),
19215         (gst_element_commit_state), (gst_element_lost_state):
19216         * gst/gstmessage.c: (gst_message_new_state_changed),
19217         (gst_message_new_state_dirty), (gst_message_new_segment_start),
19218         (gst_message_new_segment_done), (gst_message_new_duration),
19219         (gst_message_parse_state_changed),
19220         (gst_message_parse_segment_start),
19221         (gst_message_parse_segment_done), (gst_message_parse_duration):
19222         * gst/gstmessage.h:
19223         * tools/gst-launch.c: (event_loop):
19224         Seriously, this is better than a previous commit as we only need
19225         to notify the fact that an element changed state in a streaming
19226         thread, marking the state of the parents dirty, hence the 
19227         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
19228         message.
19229
19230 2005-10-18  Wim Taymans  <wim@fluendo.com>
19231
19232         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
19233         (gst_bin_recalc_func):
19234         * gst/gstelement.c: (gst_element_set_clock),
19235         (gst_element_abort_state), (gst_element_lost_state):
19236         Cleanups, prepare for state change fixes.
19237
19238 2005-10-18  Wim Taymans  <wim@fluendo.com>
19239
19240         * gst/gstbin.h:
19241         * gst/gstelement.c: (gst_element_class_init),
19242         (gst_element_set_state), (gst_element_set_state_func):
19243         * gst/gstelement.h:
19244         Pending ABI changes.
19245         GThreadPool in GstBinClass to monitor async state changes.
19246         state_cookie in GstElement to detect concurrent gst/set state.
19247         set_state is now virtual too in case a very complicated element
19248         has to be constructed.
19249
19250 2005-10-18  Wim Taymans  <wim@fluendo.com>
19251
19252         * check/gst/gstbin.c: (GST_START_TEST):
19253         * check/gst/gstmessage.c: (GST_START_TEST):
19254         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19255         * gst/gstbin.c: (bin_bus_handler):
19256         * gst/gstelement.c: (gst_element_commit_state),
19257         (gst_element_lost_state):
19258         * gst/gstmessage.c: (gst_message_new_state_changed),
19259         (gst_message_new_segment_start), (gst_message_new_segment_done),
19260         (gst_message_new_duration), (gst_message_parse_state_changed),
19261         (gst_message_parse_segment_start),
19262         (gst_message_parse_segment_done), (gst_message_parse_duration):
19263         * gst/gstmessage.h:
19264         * tools/gst-launch.c: (event_loop):
19265         Make messages future proof.
19266         state-change gets a flag if it was a message comming from the
19267         streaming thread.
19268         segment-start/stop can also be specified in other formats.
19269         A message to notify an app that a pipeline changed playback 
19270         duration.
19271         Also fix a GstMessage leak in -launch
19272
19273 2005-10-18  Andy Wingo  <wingo@pobox.com>
19274
19275         * gst/gstelement.c (gst_element_dispose): More helpful message.
19276
19277 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19278
19279         reviewed by: <delete if not using a buddy>
19280
19281         * common/gtk-doc.mak:
19282
19283 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19284
19285         * gst/gstregistry.c: (gst_registry_scan_path_level):
19286           unref a plug-in we get that was already initialized
19287
19288 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
19289
19290         * docs/gst/gstreamer-sections.txt:
19291         * docs/libs/gstreamer-libs-sections.txt:
19292         * gst/gstelement.h:
19293           add new api entries
19294           hide internal macro
19295
19296 2005-10-17  Andy Wingo  <wingo@pobox.com>
19297
19298         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
19299         cleanup.
19300
19301         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
19302
19303         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
19304
19305         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19306         (gst_element_get_state_func): Better debug message.
19307         (gst_element_commit_state): s/INFO/DEBUG/.
19308         (gst_element_lost_state, gst_element_change_state): 
19309
19310         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19311         (gst_message_new_custom): s/INFO/LOG/.
19312
19313 2005-10-17  Michael Smith <msmith@fluendo.com>
19314
19315         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19316           Check if end time is valid using end time, not start time.
19317
19318 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
19319
19320         * check/gst-libs/controller.c: (GST_START_TEST),
19321         (gst_controller_suite):
19322         * libs/gst/controller/gstcontroller.c:
19323         (gst_controlled_property_set_interpolation_mode):
19324         * libs/gst/controller/gstcontroller.h:
19325         * libs/gst/controller/gstinterpolation.c:
19326         * testsuite/controller/.cvsignore:
19327         * testsuite/controller/Makefile.am:
19328         * testsuite/controller/interpolator.c:
19329           merge controller testsuites
19330           fix broken tests
19331           remove mem-chunk from docs
19332
19333 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19334
19335         * gst/gstmemchunk.c:
19336         * gst/gstmemchunk.h:
19337         * gst/gsttrashstack.c:
19338         * gst/gsttrashstack.h:
19339           out.  get out.  you're fired.  to the Attic !
19340
19341 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * gst/gstcaps.c: (gst_caps_intersect):
19344           fix signedness issues in a (hopefully) correct way
19345         * gst/gstelement.c: (gst_element_pads_activate):
19346           some debugging
19347         * gst/gstobject.c: (gst_object_set_parent):
19348           some debugging
19349
19350 2005-10-17  Julien MOUTTE  <julien@moutte.net>
19351
19352         * gst/gstvalue.h: Fix prototypes.
19353
19354 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * docs/gst/gstreamer-sections.txt:
19357         * gst/gst.c: (gst_version_string):
19358         * gst/gst.h:
19359         * gst/gstversion.h.in:
19360         * win32/common/libgstreamer.def:
19361           add gst_version_string ()
19362
19363 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19364
19365         * configure.ac:
19366           clean up further
19367         * gst/gst.c: (init_post):
19368         * win32/common/config.h.in:
19369           it's PLUGINDIR now
19370         * gst/gstcaps.c: (gst_caps_intersect):
19371           use gint64, the range could be bigger than a guint
19372
19373 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19374
19375         * gst/gstclock.h:
19376           document potential problem in 2038
19377
19378 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19379
19380         * gst/gstcaps.c: (gst_caps_intersect):
19381           Fix guint j diving under 0
19382
19383 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19384
19385         * configure.ac:
19386         * win32/common/config.h:
19387         * win32/common/config.h.in:
19388           check for process.h, declares getpid() on Windows
19389         * gst/gstinfo.c:
19390           include process.h if we have it
19391         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19392         * gst/gstmemchunk.h:
19393           fix signedness issues
19394         * win32/common/libgstreamer.def:
19395           fix get_type's
19396
19397 2005-10-16  Julien MOUTTE  <julien@moutte.net>
19398
19399         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19400         fix. Because of unsigned ints, caps intersection was going nuts and
19401         trying to access structures with G_MAXUINT index. That fixes
19402         videotestsrc ! ffmpegcolorspace ! fakesink
19403         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19404         consistency.
19405
19406 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19407
19408         * configure.ac:
19409           use the gettext macro
19410         * gst/elements/gstelements.c:
19411         * gst/gst.c:
19412         * gst/indexers/gstindexers.c:
19413           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19414         * win32/common/config.h:
19415           updated config.h
19416         * win32/common/config.h.in:
19417           add the template to generate config.h
19418         * win32/common/gstenumtypes.c:
19419         * win32/common/gstversion.h:
19420           updated copies
19421
19422 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19423
19424         * gst/gst.c: (gst_version):
19425         * gst/gstversion.h.in:
19426           add the nano
19427
19428 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19429
19430         * gst/gstevent.h:
19431           Oops, add missing closing bracket.
19432
19433 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19434
19435         * configure.ac:
19436           use common m4's for argument checking
19437
19438 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19439
19440         * docs/gst/gstreamer-sections.txt:
19441         * gst/gstevent.h:
19442           Add GST_EVENT_TYPE_NAME() macro.
19443
19444 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * gst/gstinfo.c:
19447         * gst/gstpluginfeature.c:
19448         * gst/gsttask.c:
19449           privatize more symbols
19450
19451 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19452
19453         * configure.ac:
19454           add srcdir, builddir includes to GST_ALL_CFLAGS, since
19455           everything that uses GStreamer API should have the includes
19456
19457 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * docs/gst/gstreamer-sections.txt:
19460         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19461         * gst/gstvalue.h:
19462           give each value a _get_type, removes the DATA exports
19463
19464 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19465
19466         * gst/gst.c:
19467         * gst/gst.h:
19468           remove _gst_registry_auto_load, not used anymore
19469         * gst/gstbin.c: (gst_bin_get_type):
19470         * gst/gstbin.h:
19471         * gst/gstelement.c: (gst_element_get_type):
19472         * gst/gstelement.h:
19473         * gst/gstobject.c: (gst_object_get_type):
19474         * gst/gstobject.h:
19475         * gst/gstpad.c: (gst_pad_get_type):
19476         * gst/gstpad.h:
19477           make _get_type functions similar, fixes data export from library
19478
19479 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19480
19481         * configure.ac:
19482           correctly make conditionals
19483         * gst/elements/Makefile.am:
19484         * gst/elements/gstelements.c:
19485           fix typo causing fdsrc not to build
19486
19487 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19488
19489         * testsuite/Makefile.am:
19490         * testsuite/bytestream/.cvsignore:
19491         * testsuite/bytestream/Makefile.am:
19492         * testsuite/bytestream/filepadsink.c:
19493         * testsuite/bytestream/gstbstest.c:
19494         * testsuite/bytestream/test1.c:
19495         * testsuite/bytestream/testfile1:
19496         * testsuite/caps/normalisation.c:
19497         * testsuite/caps/random.c: (main):
19498         * testsuite/cleanup/.cvsignore:
19499         * testsuite/cleanup/Makefile.am:
19500         * testsuite/cleanup/cleanup1.c:
19501         * testsuite/cleanup/cleanup2.c:
19502         * testsuite/cleanup/cleanup3.c:
19503         * testsuite/cleanup/cleanup4.c:
19504         * testsuite/cleanup/cleanup5.c:
19505         * testsuite/controller/interpolator.c:
19506         * testsuite/debug/printf_extension.c: (main):
19507         * testsuite/elements/tee.c:
19508         * testsuite/negotiation/.cvsignore:
19509         * testsuite/negotiation/Makefile.am:
19510         * testsuite/negotiation/pad_link.c:
19511         * testsuite/pad/Makefile.am:
19512         * testsuite/pad/chainnopull.c:
19513         * testsuite/pad/getnopush.c:
19514         * testsuite/pad/link.c:
19515         * testsuite/refcounting/sched.c: (create_pipeline):
19516         * testsuite/registry/Makefile.am:
19517         * testsuite/registry/gst-print-formats.c:
19518         * testsuite/schedulers/.cvsignore:
19519         * testsuite/schedulers/142183-2.c:
19520         * testsuite/schedulers/142183.c:
19521         * testsuite/schedulers/143777-2.c:
19522         * testsuite/schedulers/143777.c:
19523         * testsuite/schedulers/147713.c:
19524         * testsuite/schedulers/147819.c:
19525         * testsuite/schedulers/147894-2.c:
19526         * testsuite/schedulers/147894.c:
19527         * testsuite/schedulers/Makefile.am:
19528         * testsuite/schedulers/group_link.c:
19529         * testsuite/schedulers/queue_link.c:
19530         * testsuite/schedulers/relink.c:
19531         * testsuite/schedulers/unlink.c:
19532         * testsuite/schedulers/unref.c:
19533         * testsuite/schedulers/useless_iteration.c:
19534         * testsuite/states/bin.c:
19535           clean out/remove some stuff from the testsuite directories
19536
19537 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19538
19539         * configure.ac:
19540           check for some headers
19541         * gst/elements/Makefile.am:
19542         * gst/elements/gstelements.c:
19543           don't compile fdsrc without sys/socket.h
19544         * gst/indexers/Makefile.am:
19545         * gst/indexers/gstindexers.c: (plugin_init):
19546           don't compile fileindex without mmap
19547
19548 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19549
19550         * configure.ac:
19551           reorganize
19552           clean up
19553           document more
19554           remove cruft
19555         * check/Makefile.am:
19556         * docs/gst/Makefile.am:
19557         * examples/helloworld/Makefile.am:
19558         * gst/Makefile.am:
19559         * gst/base/Makefile.am:
19560         * gst/check/Makefile.am:
19561         * gst/elements/Makefile.am:
19562         * gst/indexers/Makefile.am:
19563         * gst/parse/Makefile.am:
19564         * libs/gst/controller/Makefile.am:
19565         * libs/gst/dataprotocol/Makefile.am:
19566         * examples/helloworld/helloworld.c: (event_loop):
19567           compile fixes, though it's not being compiled currently
19568
19569 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19570
19571         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19572           Add some simple tests for the new taglist date API.
19573
19574 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19575
19576         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19577         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19578           Beautify 'last-message' output: print 'none' for buffer timestamps
19579           and durations if none is set; improve alignment with next messages.
19580
19581 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19582
19583         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19584         * gst/gstpluginfeature.h:
19585         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19586         * gst/gstregistry.h:
19587         * docs/gst/gstreamer-sections.txt:
19588           Add new API to check plugin feature version requirements.
19589
19590         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19591           Some basic tests for the above.         
19592
19593 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19594
19595         * gst/gststructure.c: (gst_structure_to_string):
19596           guard against NULL printf - happens when for example
19597           a message structure with GstClock gets serialized
19598
19599 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19600
19601         * gst/base/gstcollectpads.c: (gst_collectpads_event):
19602           Fix presumable copy'n'pasto.
19603
19604 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19605
19606         * gst/elements/gstfakesrc.h:
19607         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19608         * gst/elements/gsttypefindelement.c:
19609           fix some signedness
19610         * gst/elements/gstfilesink.c: (gst_file_sink_render):
19611           I wonder if this could actually write +2GB files before
19612
19613 2005-10-13  Andy Wingo  <wingo@pobox.com>
19614
19615         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19616         Fix Timmeke Waymans bug.
19617         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19618         string of the proper length to gst_caps_from_string. There's a
19619         potential for, before this fix, that this could cause someone
19620         connecting over the network to cause a segfault if the payload is
19621         not NUL-terminated.
19622
19623 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19624
19625         * docs/design/draft-push-pull.txt:
19626         * docs/design/part-overview.txt:
19627         * docs/random/TODO-pre-0.9:
19628         * docs/random/old/ChangeLog.gstreamer:
19629         * gst/base/gstpushsrc.c:
19630         * gst/gstclock.c:
19631           fixed typos
19632
19633 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19634
19635         * gst/glib-compat.c: (gst_flags_get_first_value):
19636         * gst/glib-compat.h:
19637         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19638         (gst_value_compare_double), (gst_value_serialize_flags):
19639           GLib 2.6 g_flags_get_first_value has a bug that triggers an
19640           infinite loop
19641
19642 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19643
19644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19645         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19646           fix up debugging
19647         * tools/gst-launch.c: (event_loop):
19648           print out clock nicely
19649
19650 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19651
19652         * docs/gst/gstreamer-sections.txt:
19653         * gst/gsttaglist.h:
19654         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19655         (gst_tag_list_get_date_index):
19656           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19657           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19658
19659 2005-10-13  Julien MOUTTE  <julien@moutte.net>
19660
19661         * gst/base/gstcollectpads.c: (gst_collectpads_event),
19662         (gst_collectpads_chain):
19663         * gst/base/gstcollectpads.h: Handle newsegment and store informations
19664         in CollectData.
19665
19666 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19667
19668         * docs/gst/gstreamer-sections.txt:
19669         * gst/gst.c:
19670         * gst/gsterror.h:
19671         * tools/gst-inspect.c: (main):
19672         * tools/gst-launch.c: (main):
19673         * tools/gst-run.c: (main):
19674         * tools/gst-xmlinspect.c: (main):
19675           fix GOption context leaks
19676           doc fixes
19677
19678 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19679
19680         * gst/gstbus.c:
19681           use HAVE_UNISTD_H
19682         * win32/common/config.h:
19683           update config
19684         * win32/vs6/grammar.dsp:
19685         * win32/vs6/libgstelements.dsp:
19686         * win32/vs6/libgstreamer.dsp:
19687           update vs6 files
19688
19689 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19690
19691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19692         * gst/base/gstbasesrc.c: (gst_base_src_query):
19693           fix more guint64<->gdouble conversions
19694
19695 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19696
19697         * Makefile.am:
19698           add win32-update target
19699         * win32/common/gstconfig.h:
19700         * win32/common/gstenumtypes.c:
19701         * win32/common/gstenumtypes.h:
19702         * win32/common/gstversion.h:
19703           add files that visual studio can't generate
19704
19705 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * Makefile.am:
19708           add a win32-update target
19709         * configure.ac:
19710
19711 2005-10-12  Wim Taymans  <wim@fluendo.com>
19712
19713         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19714         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19715         * gst/gstelement.c: (gst_element_commit_state),
19716         (gst_element_set_state):
19717         Protect flags with proper lock.
19718         unref provided cached clock in dispose.
19719
19720 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19721
19722         * gst/gst.c:
19723         * gst/gstminiobject.h:
19724         * gst/gstpad.h:
19725         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19726           removed unused flags from miniobject
19727           doc fixes
19728
19729 2005-10-12  Wim Taymans  <wim@fluendo.com>
19730
19731         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19732         (gst_file_sink_event), (gst_file_sink_render):
19733         Flush before seeking.
19734
19735 2005-10-12  Andy Wingo  <wingo@pobox.com>
19736
19737         * gst/gst.c (gst_init_check): Ignore unknown options, as has
19738         always been the case.
19739
19740 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19741
19742         * check/gst/gstbin.c: (GST_START_TEST):
19743         * docs/gst/gstreamer-sections.txt:
19744         * gst/base/gstbasesink.c: (gst_base_sink_init):
19745         * gst/base/gstbasesrc.c: (gst_base_src_init),
19746         (gst_base_src_get_range), (gst_base_src_check_get_range),
19747         (gst_base_src_start), (gst_base_src_stop):
19748         * gst/base/gstbasesrc.h:
19749         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19750         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19751         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19752         (bin_bus_handler):
19753         * gst/gstbin.h:
19754         * gst/gstbuffer.h:
19755         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19756         * gst/gstbus.h:
19757         * gst/gstelement.c: (gst_element_is_locked_state),
19758         (gst_element_set_locked_state), (gst_element_commit_state),
19759         (gst_element_set_state):
19760         * gst/gstelement.h:
19761         * gst/gstindex.c: (gst_index_init):
19762         * gst/gstindex.h:
19763         * gst/gstminiobject.h:
19764         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19765         (gst_object_set_parent):
19766         * gst/gstobject.h:
19767         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19768         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19769         * gst/gstpad.h:
19770         * gst/gstpadtemplate.h:
19771         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19772         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19773         * gst/gstpipeline.h:
19774         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19775         (gst_file_index_commit):
19776         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19777         * testsuite/pad/link.c: (gst_test_src_init),
19778         (gst_test_filter_init), (gst_test_sink_init):
19779         * testsuite/states/locked.c: (main):
19780           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19781           moved bitshift from macro to enum definition
19782
19783 2005-10-12  Wim Taymans  <wim@fluendo.com>
19784
19785         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19786         * gst/elements/gstfilesink.c: (gst_file_sink_event),
19787         (gst_file_sink_render):
19788         Some more debugging info.
19789
19790 2005-10-12  Wim Taymans  <wim@fluendo.com>
19791
19792         * docs/design/part-states.txt:
19793         * tools/gst-launch.c: (main):
19794         Some doc updates.
19795         Revert non-intentional change.
19796
19797 2005-10-12  Wim Taymans  <wim@fluendo.com>
19798
19799         * check/gst/gstbin.c: (GST_START_TEST):
19800         * check/gst/gstelement.c: (GST_START_TEST):
19801         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19802         * check/gst/gstghostpad.c: (GST_START_TEST):
19803         * check/gst/gstpipeline.c: (GST_START_TEST):
19804         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19805         * check/states/sinks.c: (GST_START_TEST):
19806         * gst/elements/gsttypefindelement.c: (stop_typefinding):
19807         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19808         (gst_bin_remove_func), (gst_bin_get_state_func),
19809         (gst_bin_recalc_state), (gst_bin_change_state_func),
19810         (bin_bus_handler):
19811         * gst/gstelement.c: (gst_element_get_state_func),
19812         (gst_element_get_state), (gst_element_abort_state),
19813         (gst_element_commit_state), (gst_element_set_state),
19814         (gst_element_change_state), (gst_element_change_state_func):
19815         * gst/gstelement.h:
19816         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19817         (gst_pipeline_provide_clock_func):
19818         * gst/gstutils.c: (gst_element_link_pads_filtered):
19819         * tools/gst-launch.c: (main):
19820         * tools/gst-typefind.c: (main):
19821         Use GstClockTime in _get_state() instead of GTimeVal.
19822         Remove old code in gstutils.c
19823
19824 2005-10-12  Andy Wingo  <wingo@pobox.com>
19825
19826         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19827         removed.
19828
19829         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19830         there is no task. Shouldn't affect any code, as nothing in our
19831         plugins checks this return value.
19832         (gst_pad_stop_task): Also take the stream lock if the pad has no
19833         task. Docs updated.
19834
19835 2005-10-12  Wim Taymans  <wim@fluendo.com>
19836
19837         * gst/gstpad.c: (pre_activate), (post_activate),
19838         (gst_pad_activate_pull), (gst_pad_activate_push):
19839         Cleanup activation code. Reset old state if
19840         activation failed.
19841
19842 2005-10-12  Wim Taymans  <wim@fluendo.com>
19843
19844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19845         (gst_base_sink_change_state):
19846         No need to prerol after receiving EOS.
19847
19848         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19849         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19850         * gst/elements/gstidentity.c: (gst_identity_event):
19851         Print events more verbosely.
19852
19853 2005-10-12  Wim Taymans  <wim@fluendo.com>
19854
19855         * check/Makefile.am:
19856         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19857         * check/states/sinks2.c:
19858         Moved sinks2 testcode in sinks check.
19859
19860         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19861         (gst_bin_remove_func), (gst_bin_recalc_state),
19862         (gst_bin_change_state_func), (bin_bus_handler):
19863         Fix potential race condition when _get_state() iterated over an
19864         ASYNC element right before it posted a state completion.
19865
19866         * gst/gstclock.h:
19867         Do proper cast here.
19868
19869         * gst/gstevent.c: (gst_event_new_newsegment),
19870         (gst_event_parse_newsegment):
19871         A playback rate of 0.0 is not allowed.
19872
19873 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * win32/common/config.h:
19876         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19877         (_trewinddir), (_ttelldir), (_tseekdir):
19878         * win32/common/dirent.h:
19879         * win32/common/gtchar.h:
19880         * win32/common/libgstbase.def:
19881         * win32/common/libgstreamer.def:
19882         * win32/vs6/grammar.dsp:
19883         * win32/vs6/gst_inspect.dsp:
19884         * win32/vs6/gst_launch.dsp:
19885         * win32/vs6/gstreamer.dsw:
19886         * win32/vs6/libgstbase.dsp:
19887         * win32/vs6/libgstelements.dsp:
19888         * win32/vs6/libgstreamer.dsp:
19889           Visual Studio 6 project files, and a new common directory.
19890           Phear.
19891
19892 2005-10-11  Wim Taymans  <wim@fluendo.com>
19893
19894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19895         (gst_base_sink_do_sync), (gst_base_sink_query),
19896         (gst_base_sink_change_state):
19897         * gst/base/gstbasesink.h:
19898         Correctly parse newsegment info.
19899
19900 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19901
19902         * gst/gst.c: (init_post):
19903           split plugin paths correctly
19904
19905 2005-10-11  Wim Taymans  <wim@fluendo.com>
19906
19907         * check/gst/gstevent.c: (GST_START_TEST):
19908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19909         (gst_base_sink_change_state):
19910         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19911         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19912         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19913         * gst/gstevent.c: (gst_event_new_newsegment),
19914         (gst_event_parse_newsegment):
19915         * gst/gstevent.h:
19916         Added extra flag to newsegment for future API freeze.
19917         Updated check and base elements.
19918
19919 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19920
19921         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19922         (gst_collectpads_add_pad), (gst_collectpads_pop),
19923         (gst_collectpads_event), (gst_collectpads_chain):
19924         * gst/base/gstcollectpads.h: Handle EOS correctly.
19925
19926 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19927
19928         * tools/gst-launch.c: (main):
19929           more null protecting
19930
19931 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19932
19933         * gst/gst-i18n-lib.h:
19934           check for ENABLE_NLS, not GETTEXT_PACKAGE
19935         * gst/gstregistry.c: (gst_registry_add_plugin),
19936         (gst_registry_scan_path_level),
19937         (_gst_registry_remove_cache_plugins):
19938           protect possibly NULL strings
19939         * gst/parse/types.h:
19940           config.h already included before
19941         * tools/gst-inspect.c: (main):
19942           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19943           check for ENABLE_NLS, not GETTEXT_PACKAGE
19944         * tools/gst-launch.c: (main):
19945           check for ENABLE_NLS, not GETTEXT_PACKAGE
19946
19947 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19948
19949         * configure.ac:
19950           if we don't have glib, fail before testing 2.8
19951         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19952           fix a leak, should fix plugins-base testsuite
19953
19954 2005-10-11  Andy Wingo  <wingo@pobox.com>
19955
19956         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19957         take the mode we're going to as an arg. Go head and set the mode
19958         and flushing flags now, so that if the activate function starts a
19959         thread all the flags will be in the right state.
19960         (post_activate): Renamed also. Just handle making sure streaming
19961         finishes for the deactivation case, and setting the deactivated
19962         mode.
19963         (gst_pad_set_active): Complain loudly if deactivation fails.
19964         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19965         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19966         remove the terrible hack.
19967
19968 2005-10-11  Wim Taymans  <wim@fluendo.com>
19969
19970         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19971         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19972         (gst_bin_recalc_state), (gst_bin_change_state_func),
19973         (gst_bin_dispose), (bin_bus_handler):
19974         * gst/gstbin.h:
19975         Prepare to make current EOS message queue more generic.
19976         Fix some typos.
19977
19978         * gst/gstevent.c: (gst_event_new_newsegment),
19979         (gst_event_parse_newsegment):
19980         * gst/gstevent.h:
19981         Rename base to stream_time.
19982
19983         * gst/gstmessage.h:
19984         Fix typo in docs.
19985
19986 2005-10-11  Wim Taymans  <wim@fluendo.com>
19987
19988         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19989         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19990         (gst_bin_change_state_func), (bin_bus_handler):
19991         * gst/gstbin.h:
19992         Work on proper clock selection.
19993
19994 2005-10-11  Edward Hervey  <edward@fluendo.com>
19995
19996         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19997         * libs/gst/controller/gstcontroller.h:
19998         Added GList* version of _remove_properties() in order to be able to wrap
19999         it in bindings.
20000
20001 2005-10-11  Wim Taymans  <wim@fluendo.com>
20002
20003         * docs/design/part-states.txt:
20004         Some more docs.
20005
20006         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20007         (gst_bin_change_state_func), (bin_bus_handler):
20008         Doc updates. Don't distribute the same clock over and over again.
20009
20010         * gst/gstclock.c:
20011         * gst/gstclock.h:
20012         Doc updates.
20013
20014         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20015         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20016         (gst_pad_send_event):
20017         * gst/gstpad.h:
20018         Make probe emission threadsafe again.
20019         Register quarks and move _get_name() from utils.
20020         Doc updates.
20021
20022         * gst/gstpipeline.c: (gst_pipeline_class_init),
20023         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20024         Only redistribute the clock of it changed.
20025
20026         * gst/gstsystemclock.h:
20027         Doc updates. 
20028
20029         * gst/gstutils.c:
20030         * gst/gstutils.h:
20031         Moved the _flow_get_name() to GstPad.
20032
20033 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20034
20035         * check/gst-libs/gdp.c: (GST_START_TEST):
20036         * check/gst/gstcaps.c: (GST_START_TEST):
20037         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20038         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20039         (gst_dp_packet_from_caps):
20040           fix more valgrind warnings before turning up the heat
20041
20042 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20043
20044         * gst/parse/grammar.y:
20045           some cleanup before the hacking
20046
20047 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20048
20049         * gst/base/gstbasesrc.c: (gst_base_src_query):
20050           use conversions
20051         * gst/gstutils.c: (gst_guint64_to_gdouble),
20052         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
20053         * gst/gstutils.h:
20054           externalize, basesrc uses it
20055           obviously the implementation needs testing
20056
20057 2005-10-10  Wim Taymans  <wim@fluendo.com>
20058
20059         * tests/sched/Makefile.am:
20060         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
20061         (make_pipeline3), (make_pipeline4), (print_elem), (main):
20062
20063 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20064
20065         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
20066           apparently converting from guint64 to double is not implemented
20067           on MSVC
20068
20069 2005-10-10  Wim Taymans  <wim@fluendo.com>
20070
20071         * check/Makefile.am:
20072         * check/generic/states.c: (GST_START_TEST):
20073         * check/gst/gstbin.c: (GST_START_TEST):
20074         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20075         * check/states/sinks.c: (GST_START_TEST):
20076         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
20077         (main):
20078         Check fixes, use API as stated in design docs, remove hacks.
20079
20080         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20081         (gst_base_sink_change_state):
20082         Catch stopping our task while we're shutting down.
20083
20084         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
20085         (gst_bin_remove_func), (gst_bin_get_state_func),
20086         (gst_bin_recalc_state), (gst_bin_change_state_func),
20087         (bin_bus_handler):
20088         * gst/gstbin.h:
20089         * gst/gstelement.c: (gst_element_init),
20090         (gst_element_get_state_func), (gst_element_abort_state),
20091         (gst_element_commit_state), (gst_element_lost_state),
20092         (gst_element_set_state), (gst_element_change_state),
20093         (gst_element_change_state_func):
20094         * gst/gstelement.h:
20095         New state change algorithm (see #318116)
20096
20097         * gst/gstpipeline.c: (gst_pipeline_class_init),
20098         (gst_pipeline_init), (gst_pipeline_set_property),
20099         (gst_pipeline_get_property), (do_pipeline_seek),
20100         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20101         * gst/gstpipeline.h:
20102         Remove crude state change hacks.
20103
20104         * gst/gstutils.h:
20105         Remove crude hacks.
20106
20107         * tools/gst-launch.c: (main):
20108         Fixes for state change. Needs some more work to fully use the
20109         new stuff.
20110
20111 2005-10-10  Andy Wingo  <wingo@pobox.com>
20112
20113         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
20114
20115         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
20116         this flag, but it's not even in GLib 2.6. Odd. Hack around the
20117         issue.
20118
20119 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20120
20121         * gst/gstiterator.c: (gst_iterator_new):
20122           Fix my previous commit: GTypes passed to gst_iterator_new()
20123           can be fundamental types.
20124
20125 2005-10-10  Wim Taymans  <wim@fluendo.com>
20126
20127         * gst/gstelement.c: (gst_element_iterate_pad_list),
20128         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
20129         (gst_element_iterate_sink_pads):
20130         Use src/sink pads lists for the respective iterators instead
20131         of filtering.
20132
20133 2005-10-10  Andy Wingo  <wingo@pobox.com>
20134
20135         Merged in popt removal + GOption addition patch from Ronald, bug
20136         #169772.
20137
20138         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
20139         GstElement macros around, remove popt-related symbols, add goption
20140         stuff.
20141
20142         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
20143         
20144         * docs/gst/Makefile.am:
20145         * docs/libs/Makefile.am: No POPT_CFLAGS.
20146         
20147         * examples/manual/Makefile.am:
20148         * docs/manual/basics-init.xml: Doc updates with an example.
20149         
20150         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
20151         (gst_init), (parse_one_option), (parse_goption_arg):
20152         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
20153         bit of hand merging and debugging to get the GOption stuff working
20154         tho.
20155         
20156         * tests/Makefile.am:
20157         * tools/Makefile.am:
20158         * tools/gst-inspect.c: (main):
20159         * tools/gst-launch.c: (main):
20160         * tools/gst-run.c: (main):
20161         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
20162
20163 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20164
20165         * gst/gstiterator.c: (gst_iterator_new):
20166           Add assertions to make sure passed GType is likely to really
20167           be a GType (as the compiler won't catch it if the size and
20168           GType arguments get mixed up, see #318447).
20169
20170 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
20171
20172         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20173
20174         * gst/gstbin.c: (gst_bin_iterate_sorted):
20175           Pass GType and size arguments to gst_iterator_new() in the right
20176           order (maybe we should make _new() take the GType as first argument
20177           just like _new_list()?) (#318447).
20178           
20179
20180 2005-10-10  Wim Taymans  <wim@fluendo.com>
20181
20182         * gst/gstelement.c: (gst_element_finalize):
20183         And free the GStaticRecMutex too
20184
20185 2005-10-10  Andy Wingo  <wingo@pobox.com>
20186
20187         * gst/gstelement.c (gst_element_init, gst_element_finalize):
20188         Allocate and free the mutex properly.
20189
20190         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
20191         New macros.
20192         (GstElement): The state_lock is now recursive. Rebuild your
20193         plugins, suckers. Old macros adapted.
20194
20195         * docs/gst/gstreamer-sections.txt: Doc updates.
20196
20197         * gst/gstutils.h:
20198         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
20199         (g_static_rec_cond_wait): Ported from state changes patch, while
20200         we wait on bug #317802 to be solved in a well-distributed GLib.
20201
20202         * gst/gstelement.c (gst_element_change_state_func): Renamed from
20203         gst_element_change_state, variable name changes.
20204         (gst_element_change_state): Split out of gst_element_set_state in
20205         preparation for the state change merge. Doesn't pay attention to
20206         the 'transition' argument.
20207         (gst_element_set_state): Updates, hopefully purely cosmetic.
20208         (gst_element_sync_state_with_parent): MT-safety. Ported from the
20209         state change patch.
20210         (gst_element_get_state_func): Renamed from get_state, cosmetic
20211         changes.
20212
20213 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20214
20215         * gst/elements/gstelements.c:
20216         * win32/GStreamer.vcproj:
20217         * win32/config.h:
20218         * win32/dirent.c: (_tseekdir):
20219         * win32/gst-inspect.vcproj:
20220         * win32/gst-launch.vcproj:
20221         * win32/gstconfig.h:
20222         * win32/gstelements.vcproj:
20223         * win32/gstenumtypes.c: (gst_object_flags_get_type):
20224         * win32/gstreamer.def:
20225         * win32/msvc71.sln:
20226           updates for the win32 build (patch from Sebastien Moutte)
20227
20228 2005-10-10  Andy Wingo  <wingo@pobox.com>
20229
20230         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
20231         gst_bin_get_state, cleaned up (but no logic changes).
20232         (bin_element_is_sink): Comment updates.
20233         (sink_iterator_filter): Remove needless cast.
20234         (gst_bin_iterate_sinks): Doc update.
20235         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
20236         cleaned up (but no logic changes).
20237
20238         * check/states/sinks.c (test_src_sink): Cleanups from the state
20239         change patch.
20240         (test_livesrc_sink): Sync on the state.
20241
20242         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
20243         the state change patch.
20244
20245         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
20246         change patch.
20247
20248         * check/gst/gstbin.c: Merge in some style fixes and additional
20249         checks from Wim's state change patch.
20250
20251 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20252
20253         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20254         (gst_type_find_helper):
20255           Check whether we have the requested data already in our list of
20256           cached buffers before pulling a new buffer; also make the buffer
20257           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
20258
20259 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20260
20261         * gst/gstcaps.c:
20262         * gst/gstevent.c:
20263           doc updates
20264         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20265           don't use long long, it's not portable.  Replacing with
20266           gint64 seems to work; let's hope no skeletons fall out of the closet.
20267
20268 2005-10-10  Andy Wingo  <wingo@pobox.com>
20269
20270         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
20271
20272 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
20273
20274         * docs/gst/gstreamer-sections.txt:
20275         * gst/gstevent.c:
20276         * gst/gstevent.h:
20277         * gst/gstinfo.c:
20278         * gst/gstinfo.h:
20279         * gst/gstmessage.c: (gst_message_parse_state_changed):
20280         * gst/gstpad.c:
20281         * gst/gstpad.h:
20282           more docs, fix compilation
20283
20284 2005-10-09  Philippe Khalaf <burger@speedy.org>
20285         * gst/gstmessage.c:
20286           Fixed a few forgotten variables on previous commit
20287
20288 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
20289
20290         * gst/base/gsttypefindhelper.c: (helper_find_peek):
20291           Fix evil typefind crasher: getrange() might return a short
20292           buffer at the end of a file, but gst_type_find_peek() must
20293           either return the full data as requested or NULL, but
20294           never a short buffer.
20295
20296 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20297
20298         * gst/gstmessage.c: (gst_message_new_state_changed),
20299         (gst_message_parse_state_changed):
20300         * gst/gstmessage.h:
20301           don't use "new", it's a C++ keyword
20302
20303 2005-10-08  Wim Taymans  <wim@fluendo.com>
20304
20305         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20306         * gst/gstelement.c: (gst_element_post_message):
20307         * gst/gstpipeline.c: (gst_pipeline_change_state):
20308         Small docs and debug updates.
20309
20310 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20311
20312         * docs/gst/gstreamer-sections.txt:
20313         * gst/gstelementfactory.c:
20314         * gst/gstevent.c:
20315         * gst/gsttaglist.c:
20316           more docs
20317
20318 2005-10-08  Wim Taymans  <wim@fluendo.com>
20319
20320         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20321         (gst_bin_dispose), (bin_bus_handler):
20322         Fix typos, add comments.
20323         Clear EOS list when going to PAUSED from any direction and do it
20324         in a threadsafe way.
20325         Get base time in a threadsafe way too.
20326         Fix confusing debug in the change_state function.
20327         Various other small cleanups.
20328         
20329         * gst/gstelement.c: (gst_element_post_message):
20330         Fix very verbose bus posting code.
20331
20332         * gst/gstpipeline.c: (gst_pipeline_class_init),
20333         (gst_pipeline_set_property), (gst_pipeline_get_property),
20334         (gst_pipeline_change_state):
20335         Small ARG_ -> PROP_ cleanup
20336
20337 2005-10-08  Wim Taymans  <wim@fluendo.com>
20338
20339         * gst/gstbin.c: (is_eos), (bin_bus_handler):
20340         Do a less CPU demanding EOS check because we can.
20341
20342 2005-10-08  Wim Taymans  <wim@fluendo.com>
20343
20344         * libs/gst/dataprotocol/dataprotocol.c:
20345         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20346         (gst_dp_packet_from_event):
20347         * libs/gst/dataprotocol/dataprotocol.h:
20348         * libs/gst/dataprotocol/dp-private.h:
20349         It's about time we bump the version number.
20350         Since event types don't fit in the guint8 anymore describing
20351         the payload type, make payload type 16 bits wide.
20352
20353 2005-10-08  Wim Taymans  <wim@fluendo.com>
20354
20355         * docs/design/part-TODO.txt:
20356         * docs/design/part-clocks.txt:
20357         * docs/design/part-events.txt:
20358         * docs/design/part-gstbin.txt:
20359         * docs/design/part-gstelement.txt:
20360         * docs/design/part-gstpipeline.txt:
20361         * docs/design/part-live-source.txt:
20362         * docs/design/part-messages.txt:
20363         * docs/design/part-overview.txt:
20364         * docs/design/part-states.txt:
20365         Many doc updates.
20366
20367 2005-10-08  Wim Taymans  <wim@fluendo.com>
20368
20369         * gst/gstevent.c:
20370         * gst/gstevent.h:
20371         Fix event quark registration.
20372         Add some space between events so we can insert them in the
20373         right groups.
20374
20375 2005-10-08  Wim Taymans  <wim@fluendo.com>
20376
20377         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20378         (gst_base_sink_handle_buffer):
20379         Better log message.
20380
20381         * gst/gstbus.h:
20382         * gst/gstelement.h:
20383         More docs.
20384
20385         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20386         (gst_queue_set_property), (gst_queue_get_property):
20387         * gst/gstqueue.h:
20388         Remove old unused properties.
20389
20390 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20391         * docs/gst/gstreamer-sections.txt:
20392         * gst/gstmessage.c:
20393         * gst/gstmessage.h:
20394         * gst/gstminiobject.c:
20395         * gst/gstminiobject.h:
20396         * gst/gstobject.h:
20397         * gst/gstpad.h:
20398         * gst/gstutils.h:
20399           lots of new docs and doc fixes
20400
20401 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20402
20403         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20404         * gst/gstplugin.h:
20405         * gst/gstregistry.c: (gst_registry_lookup_locked),
20406         (gst_registry_scan_path_level):
20407         * gst/gstregistryxml.c: (load_plugin):
20408           Only ever load one plugin for a given plugin basename.
20409           This ensures correct overriding of GST_PLUGIN_PATH over
20410           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20411           system installed plugins.
20412
20413 2005-10-08  Wim Taymans  <wim@fluendo.com>
20414
20415         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20416         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20417         Prepare for doing QOS.
20418
20419 2005-10-08  Wim Taymans  <wim@fluendo.com>
20420
20421         * check/gst/gstbin.c: (GST_START_TEST):
20422         * check/pipelines/cleanup.c: (GST_START_TEST):
20423         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20424         Allow new clock message too.
20425
20426 2005-10-08  Wim Taymans  <wim@fluendo.com>
20427
20428         * gst/gstmessage.c: (gst_message_new_error),
20429         (gst_message_new_warning), (gst_message_new_tag),
20430         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20431         (gst_message_new_clock_lost), (gst_message_new_new_clock),
20432         (gst_message_new_segment_start), (gst_message_new_segment_done),
20433         (gst_message_parse_state_changed),
20434         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20435         (gst_message_parse_new_clock):
20436         * gst/gstmessage.h:
20437         Also carry the clock in question.
20438
20439 2005-10-08  Wim Taymans  <wim@fluendo.com>
20440
20441         * gst/gstmessage.c: (gst_message_new_custom),
20442         (gst_message_new_eos), (gst_message_new_error),
20443         (gst_message_new_warning), (gst_message_new_tag),
20444         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20445         (gst_message_new_new_clock), (gst_message_new_segment_start),
20446         (gst_message_new_segment_done), (gst_message_parse_state_changed),
20447         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20448         * gst/gstmessage.h:
20449         Clean up.
20450         Added clock related messages.
20451
20452         * gst/gstpipeline.c: (gst_pipeline_change_state):
20453         Post message when the clock changed.
20454
20455         * tools/gst-launch.c: (event_loop):
20456         Print new clock.
20457
20458 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
20459
20460         * tools/gst-inspect.c: (print_element_properties_info):
20461           Can't pass NULL strings to g_print() on windows.
20462
20463 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20464
20465         * docs/Makefile.am:
20466         * docs/gst/Makefile.am:
20467         * docs/gst/gstreamer-docs.sgml:
20468         * docs/gst/running.xml:
20469         * docs/version.entities.in:
20470           add a chapter on running GStreamer.
20471           document GST_DEBUG and GST_PLUGIN* env vars
20472
20473 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20474
20475         * Makefile.am:
20476           remove include dir
20477         * configure.ac:
20478           remove PLUGINS_BUILDDIR stuff
20479         * gst/gst.c: (init_post):
20480           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20481         * idiottest.mak:
20482           remove, it was condescending and not needed
20483
20484 2005-10-08  Wim Taymans  <wim@fluendo.com>
20485
20486         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20487         (gst_base_sink_handle_object), (gst_base_sink_event),
20488         (gst_base_sink_wait), (gst_base_sink_handle_event),
20489         (gst_base_sink_change_state):
20490         * gst/base/gstbasesink.h:
20491         Repost EOS message while going to PLAYING if still EOS.
20492         Make sure that when receiving a FLUSH_START we don't attempt
20493         to sync on the clock anymore.
20494
20495 2005-10-08  Wim Taymans  <wim@fluendo.com>
20496
20497         * tools/gst-launch.c: (event_loop):
20498         Better message printout.
20499
20500 2005-10-08  Wim Taymans  <wim@fluendo.com>
20501
20502         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20503         (gst_bin_child_proxy_get_children_count):
20504         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20505         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20506         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20507         (gst_child_proxy_set_valist):
20508         * gst/parse/grammar.y:
20509         Make ChildProxy threadsafe and fix mem leaks.
20510
20511 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20512
20513         * gst/gst.c: (init_post):
20514           debug the GST_PLUGIN_ env vars
20515
20516 2005-10-08  Wim Taymans  <wim@fluendo.com>
20517
20518         * check/gst/gstbin.c: (GST_START_TEST):
20519         * check/gst/gstmessage.c: (GST_START_TEST):
20520         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20521         * gst/gstelement.c: (gst_element_commit_state),
20522         (gst_element_lost_state):
20523         * gst/gstmessage.c: (gst_message_new_state_changed),
20524         (gst_message_parse_state_changed):
20525         * gst/gstmessage.h:
20526         * tools/gst-launch.c: (event_loop):
20527         Added extra field to STATE_CHANGE message with the pending
20528         state, which will be different from the new state soon.
20529
20530 2005-10-08  Wim Taymans  <wim@fluendo.com>
20531
20532         * gst/gstbus.c: (gst_bus_pop):
20533         * gst/gstclock.c:
20534         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20535         Small cleanups and doc updates.
20536
20537 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20538
20539         * gst/gst.c: (init_pre):
20540         * gst/gstbin.c: (gst_bin_add_func):
20541           log distributing clocks and base time
20542         * gst/gstregistry.c: (gst_registry_add_plugin),
20543         (gst_registry_scan_path_level), (gst_registry_scan_path):
20544           clean up the debugging output a little
20545         * gst/gstutils.c: (gst_element_state_get_name):
20546           warn about a memleak (I've actually seen this be used, though
20547           it was probably a bug)
20548
20549 2005-10-07  Wim Taymans  <wim@fluendo.com>
20550
20551         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20552         (gst_base_src_init), (gst_base_src_default_newsegment),
20553         (gst_base_src_newsegment), (gst_base_src_do_seek),
20554         (gst_base_src_loop), (gst_base_src_start):
20555         * gst/base/gstbasesrc.h:
20556         Make the newsegment event customizable by subclasses.
20557
20558 2005-10-07  Wim Taymans  <wim@fluendo.com>
20559
20560         * gst/gstevent.c: (gst_event_new_buffersize),
20561         (gst_event_parse_buffersize):
20562         * gst/gstevent.h:
20563         New event for future idea.
20564
20565 2005-10-07  Andy Wingo  <wingo@pobox.com>
20566
20567         * gst/gstelement.c (gst_element_post_message): Doc update.
20568
20569         * docs/gst/gstreamer-sections.txt: Update.
20570
20571         * gst/gstmessage.c (gst_message_new_application): Made into a
20572         function like honest API calls.
20573         (gst_message_new_element): New message type.
20574
20575         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20576
20577         * check/elements/fakesrc.c (test_no_preroll): New check, checks
20578         that setting a live fakesrc to PAUSED returns NO_PREROLL both
20579         times.
20580
20581         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20582         NO_PREROLL from gst_element_change_state to fall through.
20583
20584 2005-10-07  Wim Taymans  <wim@fluendo.com>
20585
20586         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20587         (gst_ghost_pad_do_activate_push):
20588         Activating a ghostpad with no internal pad in push mode
20589         is ok.
20590
20591 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20592
20593         * gst/gstobject.h:
20594           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20595           Fixes compilation on Windows.
20596
20597 2005-10-07  Michael Smith <msmith@fluendo.com>
20598
20599         * tools/gst-inspect.c:
20600           Print out feature and plugin count at the end when printing out
20601           all features.
20602
20603 2005-10-04  Michael Smith <msmith@fluendo.com>
20604
20605         * gst/gsterror.c: (_gst_stream_errors_init):
20606           Add another error string used in a few existing plugins.
20607
20608         * gst/gstplugin.c:
20609         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20610         * tools/gst-inspect.c: (print_element_info):
20611           When a feature disappears from a plugin (and the feature exists in
20612           the cached registry file), things went horribly wrong. This isn't a
20613           complete fix, we should actually be removing the 'missing' features
20614           from the features list when we load the actual plugin. That's not
20615           yet implemented. 
20616
20617 2005-10-04  Johan Dahlin  <johan@gnome.org>
20618
20619         * check/gst/gstiterator.c: (GST_START_TEST):
20620         * gst/gstbin.c: (gst_bin_iterate_elements),
20621         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20622         * gst/gstelement.c: (gst_element_iterate_pads):
20623         * gst/gstformat.c: (gst_format_iterate_definitions):
20624         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20625         (gst_iterator_new_list), (gst_iterator_filter):
20626         * gst/gstiterator.h:
20627         * gst/gstquery.c: (gst_query_type_iterate_definitions):
20628         Add a GType to GstIterator, update callsites and tests.
20629
20630 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20631
20632         * gst/gstpad.c: (gst_pad_event_default_dispatch):
20633           give events a chance to be handled by event probes when the pad
20634           is not linked
20635
20636 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20637
20638         * gst/gstevent.c: (gst_event_type_get_name),
20639         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20640         * gst/gstevent.h:
20641           add string representations for event types
20642
20643 2005-10-06  Wim Taymans  <wim@fluendo.com>
20644
20645         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20646         Don't use NULL pointers.
20647
20648 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20649
20650         * gst/gst_private.h:
20651         * gst/gstbus.c:
20652         * gst/gstelement.c:
20653         * gst/gstinfo.c:
20654         * gst/gstpluginfeature.c:
20655           widen the debug category in output to fit the biggest one we have
20656           add a bus category and use it
20657           play with the colors
20658           fix up some categories
20659
20660 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20661
20662         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20663           add push activation of sink ghost pads.
20664           Andye, please verify
20665
20666 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * gst/gstutils.c: (gst_element_link_pads):
20669           fix a bug in the case where neither element has a pad
20670         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20671           add a test for that case
20672
20673 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20674
20675         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20676           emit have-data before checking for peers.  This allows
20677           for probe handlers to connect elements.  This helps autopluggers.
20678         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20679         (gst_pad_suite):
20680           add six checks, linked/unlinked with no/true/false probe
20681
20682 2005-10-04  Wim Taymans  <wim@fluendo.com>
20683
20684         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20685         (gst_fake_sink_event), (gst_fake_sink_preroll),
20686         (gst_fake_sink_render), (gst_fake_sink_change_state):
20687         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20688         (gst_fake_src_get_property), (gst_fake_src_create),
20689         (gst_fake_src_stop):
20690         * gst/elements/gstidentity.c: (gst_identity_stop):
20691         Protect last_message with lock.
20692
20693 2005-10-04  Edward Hervey  <edward@fluendo.com>
20694
20695         * gst/gstformat.h: 
20696         Added precision in the comments for GST_FORMAT_DEFAULT
20697
20698 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
20699
20700         * tools/gst-launch.c: (main):
20701           Don't try to run erroneous pipelines.
20702
20703 2005-10-04  Julien MOUTTE  <julien@moutte.net>
20704
20705         * gst/gstbus.c: We don't need this header.
20706
20707 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20708
20709         * configure.ac:
20710           back to development
20711
20712 === release 0.9.3 ===
20713
20714 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20715
20716         * README:
20717         * configure.ac:
20718           Releasing 0.9.3, "Unregistered"
20719
20720 2005-10-03  Andy Wingo  <wingo@pobox.com>
20721
20722         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20723         whereby calling a pad's activatepush() function can start a thread
20724         that starts to push or pull before the pad gets the FLUSHING flag
20725         unset. Hack around it by holding the stream lock until the flag is
20726         set. Need to replace this with a proper solution. Together with
20727         the ghost pad fixes, this fixes mp3 playing/tagreading.
20728
20729         * docs/design/part-gstghostpad.txt: Add a note about activation of
20730         proxy pads outside of ghost pads.
20731
20732         * gst/gstghostpad.c: Implement the ghost pad activation design.
20733
20734 2005-10-02  Andy Wingo  <wingo@pobox.com>
20735
20736         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20737         It is volatile, after all.
20738
20739         * docs/design/part-gstghostpad.txt: Flesh out activation with
20740         ghost pads.
20741
20742         * gst/base/gstbasesrc.c (gst_base_src_init): Use
20743         GST_DEBUG_FUNCPTR.
20744
20745 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
20746
20747         * configure.ac:
20748           Fix (unused) AM_CONDITIONAL tests.
20749
20750 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
20751
20752         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20753
20754         * gst/gstutils.c: (gst_pad_query_convert):
20755           Add assertion that makes sure src_val is >=0, just like
20756           gst_query_new_convert() has. (#315895)
20757
20758 2005-09-30  Edward Hervey  <edward@fluendo.com>
20759
20760         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20761         Let's not iterate pads we're not interested in, it avoids getting 
20762         sky-high refcounts on sinkpad.
20763
20764 2005-09-30  Wim Taymans  <wim@fluendo.com>
20765
20766         * gst/gstelement.c: (gst_element_set_state),
20767         (gst_element_change_state):
20768         Small tweak, element in ASYNC remains ASYNC.
20769
20770 2005-09-30  Wim Taymans  <wim@fluendo.com>
20771
20772         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20773         Only error is an error.
20774
20775         * gst/gstbin.c: (gst_bin_change_state):
20776         Better debugging.
20777
20778         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20779         Also call pad_block in pad alloc.
20780
20781         * gst/gstutils.c: (gst_flow_get_name):
20782         Better debugging.
20783
20784 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20785
20786         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20787         (gst_base_src_get_range):
20788           Fix documentation typos. Add some more debug info.
20789
20790 2005-09-29  David Schleef  <ds@schleef.org>
20791
20792         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20793           more end-user friendly.
20794         * tools/gst-inspect.c: (main): Check if command-line argument is
20795           a file and attempt to load that file as a plugin.
20796
20797 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20798
20799         * check/gst/gstbin.c:
20800         * check/states/sinks.c:
20801           fix tests for the new warning
20802         * check/gst/gstpipeline.c:
20803           add a test for pipeline and bus interaction
20804         * gst/gstelement.c:
20805           elements should be NULL if they get disposed; add a warning if not
20806
20807 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20808
20809         * gst/gstobject.c:
20810           for 2.6 refcounting, make debug log more correct by printing
20811           the actual refcounts at the time of swap (Wim)
20812
20813 2005-09-29  Andy Wingo  <wingo@pobox.com>
20814
20815         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20816         removes signal watches previously added via
20817         gst_bus_add_signal_watch.
20818         (gst_bus_add_signal_watch): Don't return the source id, just store
20819         it on the bus if there wasn't an id already.
20820
20821         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20822         add_signal_watch and remove_signal_watch.
20823
20824 2005-09-29  Edward Hervey  <edward@fluendo.com>
20825
20826         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
20827         Better if we actually iterate the list :)
20828
20829 2005-09-29  Wim Taymans  <wim@fluendo.com>
20830
20831         * check/gst/gstbin.c: (GST_START_TEST):
20832         Change for new bus API.
20833
20834         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20835         (send_messages), (GST_START_TEST), (gstbus_suite):
20836         Change for new bus signal API.
20837
20838         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20839         (gst_bus_source_prepare), (gst_bus_source_check),
20840         (gst_bus_create_watch), (gst_bus_add_watch_full),
20841         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20842         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20843         * gst/gstbus.h:
20844         Remove support for multiple GSources operating on different
20845         message types as it is too complex and unneeded when using
20846         signals.
20847         Added support for receiving signals from the bus.
20848
20849 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20850
20851         * docs/libs/tmpl/gstdataprotocol.sgml:
20852         * docs/manual/advanced-dataaccess.xml:
20853         * gst/elements/gstcapsfilter.c:
20854         * gst/gstutils.c:
20855           rename filter-caps to caps property
20856
20857 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20858
20859         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20860           More robust fraction string parsing.
20861
20862         * docs/pwg/appendix-porting.xml:
20863           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20864
20865 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20866
20867         * gst/gstcaps.c: (gst_caps_do_simplify):
20868           Thou shalt not free a structure and then continue using it
20869           in the next loop iteration.
20870
20871         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20872         (gst_caps_suite):
20873           Add test case for caps simplification.
20874
20875 2005-09-29  Wim Taymans  <wim@fluendo.com>
20876
20877         * check/gst/gstbin.c: (GST_START_TEST):
20878         Oops.
20879
20880 2005-09-29  Wim Taymans  <wim@fluendo.com>
20881
20882         * check/gst/gstbin.c: (GST_START_TEST):
20883         Add bus to bin.
20884
20885         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20886         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20887         (find_element), (gst_bin_sort_iterator_next),
20888         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20889         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20890         (gst_bin_change_state), (gst_bin_dispose):
20891         A bin does not have a bus, it gets the bus from the parent.
20892
20893         * gst/gstelement.c: (gst_element_requires_clock),
20894         (gst_element_provides_clock), (gst_element_is_indexable),
20895         (gst_element_is_locked_state), (gst_element_change_state),
20896         (gst_element_set_bus_func):
20897         Small cleanups.
20898
20899         * gst/gstpipeline.c: (gst_pipeline_class_init),
20900         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20901         The pipeline provides a bus.
20902
20903 2005-09-28  Johan Dahlin  <johan@gnome.org>
20904
20905         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20906         gst_structure_get_enum instead of gst_structure_get_int
20907
20908         * gst/gststructure.c (gst_structure_get_enum): Impl.
20909
20910         * gst/gststructure.h (gst_structure_get_enum): Add
20911
20912         * docs/gst/gstreamer-sections.txt: Ditto
20913
20914         * gst/gstmessage.c (gst_message_new_state_changed): Use
20915         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20916         which does introspection.
20917         Reviewed by Christian Schaller
20918
20919 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20920
20921         * gst/gstinfo.c: (gst_debug_log_default):
20922           don't do dummy g_strdup()s
20923         * libs/gst/controller/gstcontroller.c:
20924         (on_object_controlled_property_changed),
20925         (gst_controlled_property_new), (gst_controller_new_valist),
20926         (gst_controller_new_list),
20927         (gst_controller_remove_properties_valist), (gst_controller_set),
20928         (gst_controller_get), (gst_controller_sync_values),
20929         (gst_controller_get_value_array), (_gst_controller_class_init),
20930         (gst_controller_get_type):
20931         * libs/gst/controller/gstcontroller.h:
20932         * libs/gst/controller/gstinterpolation.c:
20933         (gst_controlled_property_find_timed_value_node):
20934           convert // to /**/ comments
20935
20936 2005-09-28  Wim Taymans  <wim@fluendo.com>
20937
20938         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20939         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20940         (gst_bus_sync_signal_handler):
20941         * gst/gstbus.h:
20942         Added async-message and sync-message signals to the bus.
20943         Added helper BusFunc to emit signals for all posted messages.
20944
20945         * gst/gstmessage.c: (gst_message_type_get_name),
20946         (gst_message_type_to_quark), (gst_message_get_type):
20947         * gst/gstmessage.h:
20948         Register quarks for message names.
20949
20950 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20951
20952         * docs/libs/gstreamer-libs-sections.txt:
20953         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20954         (gst_controller_new_list):
20955         * libs/gst/controller/gstcontroller.h:
20956           added another constructor for language bindings
20957
20958 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20959
20960         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20961           add another check
20962         * gst/gstbus.c:
20963           add some doc
20964         * gst/gstinfo.c: (_gst_debug_init):
20965           slightly more readable color for refcount debugging
20966
20967 2005-09-28  Wim Taymans  <wim@fluendo.com>
20968
20969         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20970         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20971         (find_element), (gst_bin_sort_iterator_next),
20972         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20973         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20974         (gst_bin_change_state), (gst_bin_dispose):
20975         Small doc fixes. get_clock -> provide_clock.
20976
20977         * gst/gstelement.c: (gst_element_class_init),
20978         (gst_element_provides_clock), (gst_element_provide_clock),
20979         (gst_element_get_clock), (gst_element_commit_state),
20980         (gst_element_lost_state):
20981         * gst/gstelement.h:
20982         Make get/set_clock() symetric. Add provide_clock vmethod since
20983         that is actually what this function does.
20984
20985         * gst/gstpipeline.c: (gst_pipeline_class_init),
20986         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20987         (gst_pipeline_get_clock):
20988         get_clock -> provide_clock.
20989
20990 2005-09-28  Andy Wingo  <wingo@pobox.com>
20991
20992         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20993         lieu of real docs...
20994
20995         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20996
20997 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20998
20999         * gst/elements/gstcapsfilter.c:
21000         * gst/elements/gstfakesink.c:
21001         * gst/elements/gstfakesrc.c:
21002         * gst/elements/gstfdsink.c:
21003         * gst/elements/gstfdsrc.c:
21004         * gst/elements/gstfilesink.c:
21005         * gst/elements/gstfilesrc.c:
21006         * gst/elements/gstidentity.c:
21007         * gst/elements/gsttee.c:
21008         * gst/elements/gsttypefindelement.c:
21009           Make element details static.
21010
21011 2005-09-28  Wim Taymans  <wim@fluendo.com>
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), (gst_bin_dispose):
21018         Some documentation updates.
21019         Clean up dispose handlers.
21020
21021         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21022         * gst/gstpad.c: (gst_pad_dispose):
21023         Clean up dispose handler.
21024
21025         * gst/gstpipeline.c: (gst_pipeline_change_state):
21026         Removed spurious UNLOCK.
21027
21028 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
21029
21030         * docs/gst/gstreamer-sections.txt:
21031         * gst/base/gstbasesrc.h:
21032         * gst/gstelement.h:
21033         * gst/gstevent.h:
21034         * gst/gstobject.h:
21035         * gst/gstpad.h:
21036         * gst/gstpipeline.c:
21037         * gst/gstpipeline.h:
21038         * gst/gstutils.h:
21039         * gst/gstxml.h:
21040           added two new functions to the docs
21041                 documents all undocumented GstXXXFlags
21042                 completed some incomplete docs 
21043
21044 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21045
21046         * gst/gstbin.c: (gst_bin_dispose):
21047         * gst/gstelement.c: (gst_element_dispose):
21048           remove now useless and leaky resurrection code in dispose
21049         * gst/base/gstbasesrc.c: (gst_base_src_init):
21050         * gst/gstelementfactory.c: (gst_element_factory_create):
21051         * gst/gstobject.c: (gst_object_set_parent):
21052           add some debugging
21053
21054 2005-09-27  Wim Taymans  <wim@fluendo.com>
21055
21056         * docs/design/part-TODO.txt:
21057         Update TODO.
21058
21059         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21060         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21061         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21062         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21063         (gst_bin_change_state):
21064         * gst/gstelement.h:
21065         Remove element variable, we keep element info in the iterator now.
21066
21067 2005-09-27  Andy Wingo  <wingo@pobox.com>
21068
21069         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
21070         values.
21071
21072 2005-09-27  Wim Taymans  <wim@fluendo.com>
21073
21074         * check/gst/gstbin.c: (GST_START_TEST):
21075         Enable check that works now.
21076
21077         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21078         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21079         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21080         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21081         (gst_bin_change_state):
21082         * gst/gstbin.h:
21083         Redid the state change algorithm using a topological sort algo.
21084         Handles all cases correctly.
21085         Exposed iterator for state change order.
21086
21087         * gst/gstelement.h:
21088         Temp storage for state changes. Need to get rid of this soon.
21089
21090 2005-09-27  Wim Taymans  <wim@fluendo.com>
21091
21092         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
21093         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
21094         (link_fold_func), (gst_pad_proxy_setcaps):
21095         Leak fixes, the fold functions need to unref the passed object and
21096         _get_parent_*() returns ref to parent.
21097
21098 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21099
21100         * check/gst/gstbuffer.c: (test_make_writable):
21101           Plug leak in test case and fix 'make check-valgrind'
21102
21103 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21104
21105         * gst/gstbuffer.c: (gst_subbuffer_init):
21106           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
21107           works correctly in all circumstances (we could have just copied
21108           the parent buffer's readonly flag, but conceptually it seems
21109           cleaner to mark all subbuffers as read-only). (based on patch
21110           by Alessandro Decina, #314710).
21111         
21112         * check/gst/gstbuffer.c: (create_read_only_buffer),
21113         (test_make_writable), (test_subbuffer_make_writable),
21114         (gst_test_suite):
21115           Add some tests for gst_buffer_make_writable().
21116
21117 2005-09-27  Wim Taymans  <wim@fluendo.com>
21118
21119         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
21120         use gst_object_has_ancestor().
21121
21122         * gst/gstobject.c: (gst_object_has_ancestor):
21123         * gst/gstobject.h:
21124         gst_object_has_ancestor() copied from gstbin.c as it is a
21125         useful function.
21126
21127         * tests/instantiate/create.c: (create_all_elements):
21128         * tests/lat.c: (handoff_src), (handoff_sink):
21129         * tests/sched/runxml.c: (main):
21130         * tests/seeking/seeking1.c: (main):
21131         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21132         (main):
21133         Fix compilation of some tests.
21134
21135 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21136
21137         * gst/gsterror.h:
21138           Remove comment. GST_TYPE_G_ERROR is here to stay,
21139           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
21140           (#316961, #300610).
21141
21142 2005-09-26  Wim Taymans  <wim@fluendo.com>
21143
21144         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21145         Added check that shows error in state change order.
21146
21147 2005-09-26  Wim Taymans  <wim@fluendo.com>
21148
21149         * gst/gstbin.c: (gst_bin_change_state):
21150         Make state change function use 3 queues again, we were
21151         adding elements in the wrong order.
21152
21153         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
21154         Some debug info,
21155
21156         * gst/gstpad.c: (gst_pad_dispose):
21157         Added some debug info first.
21158
21159 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
21160
21161         * docs/design/draft-push-pull.txt:
21162         * docs/design/part-events.txt:
21163         * docs/design/part-overview.txt:
21164         * docs/design/part-scheduling.txt:
21165           Replace all _pull_region() with _pull_range()
21166           
21167 2005-09-26  Andy Wingo  <wingo@pobox.com>
21168
21169         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
21170
21171         * check/gst-libs/controller.c: Update for controller api change.
21172
21173         * configure.ac: 
21174         * tests/Makefile.am:
21175         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
21176         over by GLib bug 118439.
21177         
21178         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
21179         routines to a function.
21180
21181         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
21182
21183         * libs/gst/controller/gsthelper.c:
21184         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
21185         (gst_object_sync_values): Renamed from sink_values. Ugh.
21186
21187         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
21188
21189         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
21190         Renamed from controller_key, as it is exported.
21191
21192         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
21193
21194 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21195
21196         * gst/Makefile.am:
21197         * gst/gst.h:
21198         * gst/gstpad.h:
21199         * gst/gstpadtemplate.h:
21200         * gst/gstquery.c:
21201         * gst/gstquery.h:
21202         * gst/gstqueryutils.c:
21203         * gst/gstqueryutils.h:
21204           remove queryutils headers after moving the two used functions
21205           to gstquery.  also fixes build problem for gstsiddec
21206
21207 2005-09-26  Michael Smith <msmith@fluendo.com>
21208
21209         * tools/gst-launch.1.in:
21210         Correct documentation in manpage of debug syntax
21211
21212 2005-09-26  Wim Taymans  <wim@fluendo.com>
21213
21214         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21215         (gst_base_src_is_seekable), (gst_base_src_change_state):
21216         Some more debugging info.
21217
21218 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21219
21220         * docs/gst/gstreamer-sections.txt:
21221         * gst/base/gstbasetransform.h:
21222         * gst/gstindex.h:
21223           added more docs
21224
21225 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21226
21227         * docs/gst/.cvsignore:
21228         * docs/gst/tmpl/.cvsignore:
21229         * docs/gst/tmpl/gstpipeline.sgml:
21230         * docs/gst/tmpl/gstplugin.sgml:
21231         * gst/gstpipeline.c:
21232         * gst/gstplugin.c:
21233         * gst/gstplugin.h:
21234           inlined the last two docs files
21235           removed the tmpl directory from cvs (no more conflicts here!)
21236
21237 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21238
21239         * docs/gst/gstreamer-sections.txt:
21240         * docs/gst/tmpl/.cvsignore:
21241         * docs/gst/tmpl/gstpad.sgml:
21242         * docs/gst/tmpl/gstpadtemplate.sgml:
21243         * gst/Makefile.am:
21244         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
21245         (gst_pad_finalize), (gst_pad_set_pad_template):
21246         * gst/gstpad.h:
21247         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
21248         (gst_pad_template_class_init), (gst_pad_template_init),
21249         (gst_pad_template_dispose), (name_is_valid),
21250         (gst_static_pad_template_get), (gst_pad_template_new),
21251         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
21252         (gst_pad_template_pad_created):
21253         * gst/gstpadtemplate.h:
21254           inlined two more docs
21255           factored gstpadtemplate out of gstpad
21256
21257 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
21258
21259         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21260         (test_children_state_change_order_semi_sink):
21261           Fix test case: we can't rely on a fixed state change order when
21262           going from READY => PAUSED because the sink might commit its 
21263           new state first when the first buffer created by the source 
21264           reaches the sink before the source has finished its change state.
21265           (Test case still fails at times, see #316856, comment 5 onwards)
21266
21267 2005-09-24  Wim Taymans  <wim@fluendo.com>
21268
21269         * docs/design/part-events.txt:
21270         * docs/design/part-gstbus.txt:
21271         * docs/design/part-gstpipeline.txt:
21272         * docs/design/part-messages.txt:
21273         * docs/design/part-overview.txt:
21274         * docs/design/part-segments.txt:
21275         * gst/gstbin.c:
21276         * gst/gstbuffer.c:
21277         * gst/gstclock.c:
21278         * gst/gstelement.c:
21279         * gst/gstevent.c:
21280         * gst/gstfilter.c:
21281         * gst/gstiterator.c:
21282         Various documentation updates.
21283
21284 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21285
21286         * gst/gstclock.h:
21287           Well, that's embarassing.  Luckily we weren't using
21288           GST_CLOCK_DIFF anywhere.
21289
21290 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21291
21292         * common/gtk-doc.mak:
21293           don't fail on building XML, FC4 slave shows a bunch of doc
21294           missing bits that I don't get
21295         * gst/gstpad.c:
21296         * gst/gstpipeline.c:
21297         * gst/gststructure.c:
21298           some doc updates
21299
21300 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21301
21302         * docs/design/part-gstbin.txt:
21303         * docs/design/part-gstbus.txt:
21304         * gst/gstbus.c:
21305           Add blurb about how the bus goes into flushing mode and
21306           drops all messages when its bin goes from READY into NULL 
21307           state.
21308
21309 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * docs/gst/gstreamer-sections.txt:
21312         * gst/gststructure.c: (gst_structure_get_clock_time):
21313         * gst/gststructure.h:
21314           add a method to get a GstClockTime out of a structure
21315
21316 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21317
21318         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21319         (test_children_state_change_order_semi_sink), (gst_bin_suite):
21320           Added test to check state change order in bins (can still be made
21321           to fail here under heavy disk load; bails out with 'Push on pad
21322           fakesink:sink0, but it was not activated in push mode').
21323
21324         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21325           Fix state change order when there is only a semi sink (#316856)
21326
21327         * gst/gstbus.c: (gst_bus_class_init):
21328           Use _class_peek_parent(), not _class_ref(); fix docs to say
21329           'default main context' instead of 'mainloop' where that is
21330           what's meant.
21331
21332         * gst/gstelement.c: (gst_element_commit_state),
21333         (gst_element_set_state):
21334           Fix typos in debug messages
21335
21336 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21337
21338         * docs/README:
21339         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21340         * gst/gstpluginfeature.c:
21341         * gst/gstutils.c:
21342           various doc updates
21343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21344           change an assert into an error until it gets fixed properly
21345
21346 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
21347
21348         * docs/gst/gstreamer-sections.txt:
21349         * docs/gst/tmpl/.cvsignore:
21350         * docs/gst/tmpl/gstelement.sgml:
21351         * docs/gst/tmpl/gstinfo.sgml:
21352         * docs/gst/tmpl/gstobject.sgml:
21353         * gst/gstelement.c:
21354         * gst/gstelement.h:
21355         * gst/gstinfo.c:
21356         * gst/gstinfo.h:
21357         * gst/gstobject.c: (gst_object_class_init):
21358         * gst/gstobject.h:
21359           inlined 3 more biiiig doc files and added some missing docs on the fly
21360
21361 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21362
21363         * check/gst/.cvsignore:
21364         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21365         * gst/gstregistryxml.c: (load_plugin),
21366         (gst_registry_xml_save_plugin):
21367           put back source in registry.  add checks for find_plugin.
21368         * testsuite/states/bin.c: (assert_state), (empty_bin),
21369         (test_adding_one_element), (main):
21370         * testsuite/states/locked.c: (main):
21371           some compile/run fixes
21372
21373 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21374
21375         * check/gst/gstvalue.c: (GST_START_TEST):
21376           fix leaks in the test itself
21377
21378 2005-09-22  Wim Taymans  <wim@fluendo.com>
21379
21380         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21381         (gst_base_sink_send_event), (gst_base_sink_peer_query),
21382         (gst_base_sink_query):
21383         Prepare for more accurate position reporting and query
21384         handling.
21385
21386         * gst/gstelement.c: (gst_element_send_event),
21387         (gst_element_set_state):
21388         Add some comment.
21389
21390 2005-09-22  Wim Taymans  <wim@fluendo.com>
21391
21392         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21393         (gst_query_parse_segment):
21394         * gst/gstquery.h:
21395         More documentation.
21396         Add segment query for future use.
21397
21398 2005-09-22  Wim Taymans  <wim@fluendo.com>
21399
21400         * gst/gstbin.c: (gst_bin_add_func):
21401         Some more debug info.
21402
21403         * gst/gstelement.c: (gst_element_send_event):
21404         Simplify send_event
21405
21406         * gst/gstelement.h:
21407         Don't know how flags got broken.
21408
21409         * gst/gstquery.h:
21410         Added new query.
21411
21412 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21413
21414         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21415           Add simplistic test suite for GST_TYPE_DATE serialisation and
21416           deserialisation.
21417
21418 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21419
21420         * docs/gst/gstreamer-sections.txt:
21421         * gst/gststructure.c: (gst_structure_set_valist),
21422         (gst_structure_get_date):
21423         * gst/gststructure.h:
21424         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21425         (gst_date_copy), (gst_value_compare_date),
21426         (gst_value_serialize_date), (gst_value_deserialize_date),
21427         (gst_value_transform_date_string),
21428         (gst_value_transform_string_date), (_gst_value_initialize):
21429         * gst/gstvalue.h:
21430           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21431           bunch of utility functions along with a hack that checks that
21432           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21433           is required. Part of the grand scheme in #170777.
21434
21435 2005-09-22  Andy Wingo  <wingo@pobox.com>
21436
21437         * gst/gstconfig.h.in: Psych out gtk-doc.
21438
21439         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21440
21441         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21442
21443         * tools/gst-inspect.c (print_element_list): Plug some
21444         inconsequential leaks.
21445
21446         * gst/gstregistry.c (gst_registry_get_default): Doc.
21447
21448         * check/gst/gstplugin.c: 
21449         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21450         * gst/gstelementfactory.c (gst_element_factory_create): 
21451         * gst/gstindexfactory.c (gst_index_factory_create): Update for
21452         refcount changes.
21453
21454         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21455         (gst_plugin_feature_load): Doc, don't eat refs.
21456
21457         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21458         (gst_plugin_list_free): Doc.
21459         (gst_plugin_load_file): Doc updates.
21460
21461         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21462         accessors returning refcounted objects, return a ref.
21463
21464         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21465         accessor for caps. IDEMPOTENCE. Oh yes.
21466
21467 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
21468
21469         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21470
21471         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21472         (_gst_debug_register_funcptr):
21473           Add mutex to serialise access to the hash table with
21474           the function pointer => function name string mapping;
21475           make that hash table static scope (#316809).
21476
21477         * gst/registries/.cvsignore:
21478           Remove left-over file.
21479
21480 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21481
21482         * docs/pwg/appendix-porting.xml:
21483           And something about newsegment events and caps-on-buffers to
21484           the porting guide (feel free to improve).
21485
21486 2005-09-21  Andy Wingo  <wingo@pobox.com>
21487
21488         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21489         data and event probes on the same pad.
21490         (test_buffer_probe_once): Test that removing probes from within
21491         the probe functions works.
21492
21493 2005-09-21  Andy Wingo  <wingo@pobox.com>
21494
21495         * check/gst/gstutils.c: New file.
21496         (test_buffer_probe_n_times): A simple buffer probe test. More to
21497         come, foolios.
21498
21499         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21500         have-data::buffer, not have-data.
21501         (gst_pad_add_event_probe): Likewise for have-data::event.
21502         (gst_pad_add_data_probe): More docs. The part about 'resolving the
21503         peer' isn't quite right yet though.
21504         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
21505         (gst_pad_remove_data_probe): Change to take the guint handler_id
21506         as their arg, not the function+data, which is more glib-like.
21507
21508         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21509         the signal emission to indicate if the data is a buffer or an
21510         event.
21511         (gst_pad_get_type): Initialize buffer and event quarks.
21512         (gst_pad_class_init): have-data is now a detailed signal, yes it
21513         is.
21514
21515 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21516
21517         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21518         * gst/gstutils.c: (gst_util_set_value_from_string),
21519         (gst_util_set_object_arg):
21520           Don't put functional code in g_return_if_fail() or
21521           g_return_val_if_fail() statements, otherwise things will 
21522           break when G_DISABLE_CHECKS is defined during compilation.
21523
21524 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21525
21526         * docs/gst/tmpl/.cvsignore:
21527         * docs/gst/tmpl/gstvalue.sgml:
21528         * gst/gstvalue.c:
21529         * gst/gstvalue.h:
21530           inlied another one and added  some obvious docs
21531
21532 2005-09-21  Wim Taymans  <wim@fluendo.com>
21533
21534         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21535         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21536         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21537         (gst_fdsrc_get_property), (gst_fdsrc_create):
21538         * gst/elements/gstfdsrc.h:
21539         Properly implement fdsrc. Removed signal and timeout,
21540         better implemented somewhere else.
21541
21542 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21543
21544         * docs/gst/tmpl/.cvsignore:
21545         * docs/gst/tmpl/gstimplementsinterface.sgml:
21546         * gst/gstinterface.c:
21547           inlined more docs
21548
21549 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21550
21551         * docs/gst/gstreamer-sections.txt:
21552         * docs/gst/tmpl/.cvsignore:
21553         * docs/gst/tmpl/gstenumtypes.sgml:
21554           remove obsolete doc file
21555
21556 2005-09-21  David Schleef  <ds@schleef.org>
21557
21558         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21559         little beer, fix a little leak.
21560
21561 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21562
21563         * docs/gst/gstreamer-docs.sgml:
21564         * docs/gst/gstreamer-sections.txt:
21565         * docs/gst/tmpl/.cvsignore:
21566         * gst/Makefile.am:
21567         * gst/gst.h:
21568         * gst/gstbin.c:
21569         * gst/gstelement.h:
21570         * gst/gstindex.c: (gst_index_class_init):
21571         * gst/gstindex.h:
21572         * gst/gstindexfactory.c: (gst_index_factory_get_type),
21573         (gst_index_factory_class_init), (gst_index_factory_init),
21574         (gst_index_factory_finalize), (gst_index_factory_new),
21575         (gst_index_factory_destroy), (gst_index_factory_find),
21576         (gst_index_factory_create), (gst_index_factory_make):
21577         * gst/gstindexfactory.h:
21578         * gst/gstpluginfeature.c:
21579         * gst/gstpluginfeature.h:
21580         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21581           more docs inlined, splitted gstindex.{c,h}
21582
21583 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21584
21585         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21586           fix a leak
21587
21588 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21589
21590         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21591           Set sync to FALSE by default.
21592
21593 2005-09-20  Wim Taymans  <wim@fluendo.com>
21594
21595         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21596         (gst_base_sink_init):
21597         Make sync property settable from subclass.
21598
21599         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21600         (gst_fake_sink_change_state):
21601         Set sync to FALSE by default.
21602
21603 2005-09-20  Wim Taymans  <wim@fluendo.com>
21604
21605         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21606         * tools/gst-launch.c: (main):
21607         The timeout handler should have lower priority than the source
21608         so we don't timeout before popping a message with 0 timeout.
21609         Dump error messages after failed state change.
21610
21611 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21612
21613         * tools/gst-inspect.c: (print_element_properties_info):
21614           Fix two typos.
21615
21616 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21617
21618         * check/gst/gstevent.c:
21619         * gst/elements/gstfakesink.c:
21620         * gst/elements/gstfakesink.h:
21621           remove the sync property from fakesink.
21622           has the side effect of setting sync TRUE
21623           for fakesink, which is a change.  Anyone who knows how
21624           to fix this nicely in a GObject-y way, feel free.
21625
21626 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21627
21628         * docs/gst/gstreamer-docs.sgml:
21629           remove probe refsection
21630
21631 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21632
21633         * check/Makefile.am:
21634           disable valgrinding the controller test again
21635         * docs/gst/gstreamer-sections.txt:
21636           update for api-changes
21637
21638 2005-09-20  Wim Taymans  <wim@fluendo.com>
21639
21640         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21641         (gst_base_sink_set_property), (gst_base_sink_get_property),
21642         (gst_base_sink_do_sync):
21643         * gst/base/gstbasesink.h:
21644         Added sync property to basesink to disable clock sync.
21645
21646 2005-09-20  Andy Wingo  <wingo@pobox.com>
21647
21648         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21649         eating the caller's refcount.
21650
21651         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
21652         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21653         refcount.
21654
21655         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21656         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21657         of GLib 2.8 public, so we can know which refcount to check in
21658         tests.
21659
21660         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21661         (gst_object_init): Only set the gst refcount if we're going ahead
21662         with the refcount hack.
21663
21664 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21665
21666         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21667         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21668           more leaks plumbed, added more debug-logging
21669         * gst/gstmacros.h:
21670           whitespace fix
21671
21672 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21673
21674         * gst/gstmessage.c:
21675           remove include of gstmemchunk.h
21676
21677 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21678
21679         * gst/gstclock.c: (_gst_clock_id_free):
21680           Commit from the Political Party For More Atomic CVS Commits,
21681           so that people don't waste too much of their day fishing
21682           out obvious leaks out of massive commits.
21683           Oh, and fix a pretty damn obvious leak in the memchunk
21684           removal code.
21685
21686 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21687
21688         * check/Makefile.am:
21689         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21690           plug mem-leak, re-add to valgrindable tests
21691
21692 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21693
21694         * gst/gstplugin.h:
21695           unbreak the build for those who have chronic arthritis
21696           and typing "make check" is just too taxing on the hands
21697
21698 2005-09-20  Andy Wingo  <wingo@pobox.com>
21699
21700         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21701         really want it out, you should fix plugins at the same time.
21702
21703 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
21704
21705         * configure.ac:
21706         * docs/gst/gstreamer-sections.txt:
21707         * gst/gstobject.c:
21708           added missing symbols to api docs
21709           disable ref-count hack if we have glib >= 2.8
21710
21711 2005-09-19  David Schleef  <ds@schleef.org>
21712
21713         * docs/gst/Makefile.am: Ignore a few more internal headers
21714         * docs/gst/gstreamer-docs.sgml: Remove old sections
21715         * docs/gst/gstreamer-sections.txt: Remove old sections
21716         * docs/gst/tmpl/gstobject.sgml: update
21717         * docs/gst/tmpl/gstplugin.sgml: update
21718         * docs/gst/tmpl/gstpluginfeature.sgml: update
21719         * docs/random/ds/0.9-suggested-changes: update.
21720         * gst/Makefile.am: remove memchunk and trashstack, since they're
21721           not used.
21722         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21723         * gst/gst.h: don't include some headers
21724         * gst/gstchildproxy.c: add gstmarshal.h
21725         * gst/gstclock.c: Don't use memchunks
21726         * gst/gstminiobject.c: Add some docs
21727         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21728         * gst/gstobject.h: same
21729         * gst/gstplugin.c: include gstmacros.h
21730         * gst/gstplugin.h: don't include gstmacros.h, since it's private
21731         * gst/gstquery.c: don't use memchunks
21732         * gst/gstregistry.c: rename gst_registry_deinit()
21733         * gst/gstregistry.h: same
21734
21735 2005-09-19  David Schleef  <ds@schleef.org>
21736
21737         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21738         * docs/libs/gstreamer-libs-sections.txt:
21739         * docs/libs/tmpl/gstgetbits.sgml:
21740         * docs/libs/tmpl/gstputbits.sgml:
21741
21742 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
21743
21744         * win32/gstenumtypes.c:
21745         * win32/gstenumtypes.h:
21746           Update.
21747
21748 2005-09-19  Wim Taymans  <wim@fluendo.com>
21749
21750         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21751         Automatically PAUSE and RESUME a pipeline when a flushing seek
21752         is performed.
21753
21754 2005-09-19  Andy Wingo  <wingo@pobox.com>
21755
21756         * gst/gstregistry.h: Spacing fixen.
21757
21758 2005-09-19  Wim Taymans  <wim@fluendo.com>
21759
21760         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21761         Handle state change failure more correctly.
21762
21763 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21764
21765         * check/Makefile.am:
21766         * check/pipelines/cleanup.c: (run_pipeline):
21767         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21768         (GST_START_TEST):
21769           enable cleanup again after fixing the leak
21770         * docs/README:
21771           some more info on docs
21772
21773 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21774
21775         * check/Makefile.am:
21776           re-enable tests now that leaks are plugged
21777         * check/gst/gst.c:
21778         * check/gst/gstbin.c:
21779         * check/gst/gstpipeline.c:
21780           add some more tests while fixing leaks
21781         * common/check.mak:
21782           make sure binaries are uptodate when valgrinding/gdbing
21783         * gst/gst.c:
21784         * gst/gstelementfactory.c:
21785           remove a ref too many, and add a FIXME for when we get
21786           round to disposing of classes
21787         * gst/gstplugin.c:
21788           fix the refcounting when loading a plugin from a file and
21789           the code pretends that the pointer is the same even though
21790           of course it can change
21791         * gst/gstpluginfeature.c:
21792           unref plugins marked cached (a bit confusing as a name)
21793           as the docs state should be done
21794           various doc additions to explain refcounting
21795         * gst/gstregistry.c:
21796         * gst/gstregistryxml.c:
21797           debugging
21798
21799 2005-09-19  Wim Taymans  <wim@fluendo.com>
21800
21801         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21802         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21803         (send_messages), (GST_START_TEST), (gstbus_suite):
21804         * check/gst/gstpipeline.c: (GST_START_TEST):
21805         * check/pipelines/cleanup.c: (run_pipeline):
21806         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21807         (GST_START_TEST):
21808         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21809         (gst_bus_source_check), (gst_bus_source_dispatch),
21810         (gst_bus_create_watch), (gst_bus_add_watch_full),
21811         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21812         * gst/gstbus.h:
21813         * tools/gst-launch.c: (event_loop):
21814         * tools/gst-md5sum.c: (event_loop):
21815         GstBusHandler -> GstBusFunc, return value has the same meaning as
21816         any other GSource (FALSE == remove source).
21817         _add_watch() and _add_watch_full() now take a MessageType mask to
21818         only handle specific types of messages.
21819         _poll() returns the GstMessage instead of the message type to avoid
21820         race conditions.
21821         _have_pending() takes a MessageType mask now too.
21822         Added testsuite for multiple bus watches.
21823         Fix testsuites and applications for new bus API.
21824
21825 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21826
21827         * check/Makefile.am:
21828           mark a bunch of the tests as to fix until we fix them
21829
21830 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21831
21832         * common/check.mak:
21833           use GST_PLUGIN settings for valgrind tests as well, so we're
21834           valgrinding the correct thing
21835         * gst/gst.c: (init_post):
21836           plug another leak
21837
21838 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21839
21840         * gst/gst.c: (init_post), (gst_deinit):
21841         * gst/gstelementfactory.c: (gst_element_factory_class_init),
21842         (gst_element_factory_finalize), (gst_element_factory_cleanup):
21843         * gst/gstindex.c: (gst_index_factory_class_init),
21844         (gst_index_factory_finalize):
21845         * gst/gstobject.c: (gst_object_dispose):
21846         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21847         (gst_plugin_load_file), (gst_plugin_desc_free):
21848         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21849         (gst_plugin_feature_finalize):
21850         * gst/gstregistry.c: (gst_registry_class_init),
21851         (gst_registry_init), (gst_registry_finalize),
21852         (gst_registry_get_default), (gst_registry_deinit):
21853         * gst/gstregistry.h:
21854         * gst/gstregistryxml.c: (load_feature), (load_plugin):
21855           various cleanups and memleak plugging.  make valgrind is happy now.
21856
21857 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21858
21859         * common/check.mak:
21860           add a check-valgrind target
21861
21862 2005-09-18  David Schleef  <ds@schleef.org>
21863
21864         * tools/gst-inspect.c: Revert the GOption code.
21865
21866 2005-09-17  David Schleef  <ds@schleef.org>
21867
21868         * check/Makefile.am: Fix environment variables.
21869         * check/gst/gstplugin.c: Fix for API changes.
21870         * tools/gst-inspect.c: Fix for API changes.
21871         * tools/gst-xmlinspect.c: Fix for API changes.
21872         * gst/gstelementfactory.c:
21873         * gst/gstplugin.c:
21874         * gst/gstplugin.h:
21875         * gst/gstpluginfeature.c:
21876         * gst/gstpluginfeature.h:
21877         * gst/gstregistry.c:
21878         * gst/gstregistry.h:
21879         * gst/gstregistryxml.c:
21880         * gst/gsttypefind.c:
21881         * gst/gsttypefindfactory.c:
21882         * gst/indexers/gstfileindex.c:
21883         * gst/indexers/gstmemindex.c:
21884         * gst/schedulers/Makefile.am:
21885           Change registry to keep track of both plugins and features,
21886           removing the feature tracking from plugins themselves.
21887
21888 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21889
21890         * check/Makefile.am:
21891         * tools/gst-register.1.in:
21892           remove gst-register
21893
21894 2005-09-15  David Schleef  <ds@schleef.org>
21895
21896         * check/gst/gstplugin.c:
21897         * gst/gstelementfactory.c:
21898         * gst/gstplugin.c:
21899         * gst/gstpluginfeature.c:
21900         * gst/gstregistry.c:
21901           Getting tired of debugging.  Disabled all the unreffing of
21902           plugins and features, which fixes the segfaults, but of
21903           course leaks like crazy.  At least playbin works.
21904
21905 2005-09-15  David Schleef  <ds@schleef.org>
21906
21907         * check/gst/gstplugin.c: (register_check_elements),
21908         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21909         More testing
21910         * gst/elements/gsttypefindelement.c: Fix refcounting.
21911         * gst/gsttypefind.c:
21912         * gst/gsttypefindfactory.c:
21913         * gst/gsttypefindfactory.h:
21914
21915 2005-09-15  David Schleef  <ds@schleef.org>
21916
21917         * gst/gstindex.c: get refcounting correct.
21918         * gst/gstregistry.c: Handle the case where a feature/plugin is
21919           not found.
21920
21921 2005-09-15  David Schleef  <ds@schleef.org>
21922
21923         * check/Makefile.am:
21924         * check/gst/gstplugin.c: Add test
21925         * gst/gstplugin.c: Fix problems noticed by testsuite
21926         * gst/gstplugin.h:
21927         * gst/gstregistry.c: 
21928         * gst/gstregistry.h:
21929
21930 2005-09-15  David Schleef  <ds@schleef.org>
21931
21932         * gst/gstplugin.c: Implement semi-decent recounting and locking
21933           in plugins and plugin features.
21934         * gst/gstplugin.h:
21935         * gst/gstpluginfeature.c:
21936         * gst/gstpluginfeature.h:
21937         * gst/gstregistry.c:
21938
21939 2005-09-15  Michael Smith <msmith@fluendo.com>
21940
21941         * gst/gstregistry.c: (gst_registry_get_feature_list):
21942           Implement this. Makes oggdemux work; decodebin still broken.
21943
21944 2005-09-14  David Schleef  <ds@schleef.org>
21945
21946         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21947           #316076)
21948         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21949         * gst/check/Makefile.am:
21950         * libs/gst/controller/Makefile.am:
21951         * libs/gst/dataprotocol/Makefile.am:
21952
21953 2005-09-14  David Schleef  <ds@schleef.org>
21954
21955         * configure.ac: Remove getbits library.  Nothing uses it, and
21956           it should be in something like liboil if someone did want
21957           to use it.
21958         * libs/gst/Makefile.am:
21959         * libs/gst/getbits/Makefile.am:
21960         * libs/gst/getbits/gbtest.c:
21961         * libs/gst/getbits/getbits.c:
21962         * libs/gst/getbits/getbits.h:
21963         * libs/gst/getbits/gstgetbits_generic.c:
21964         * libs/gst/getbits/gstgetbits_i386.s:
21965         * libs/gst/getbits/gstgetbits_inl.h:
21966
21967 2005-09-14  David Schleef  <ds@schleef.org>
21968
21969         * gst/Makefile.am: Dist glib-compat.h
21970
21971 2005-09-14  David Schleef  <ds@schleef.org>
21972
21973         * configure.ac: Remove gst/registries, since it's no longer used.
21974         * gst/registries/Makefile.am:
21975         * gst/registries/gstlibxmlregistry.c:
21976         * gst/registries/gstlibxmlregistry.h:
21977         * gst/registries/gstxmlregistry.c:
21978         * gst/registries/gstxmlregistry.h:
21979         * gst/registries/registrytest.c:
21980
21981 2005-09-14  David Schleef  <ds@schleef.org>
21982
21983         * gst/glib-compat.h:
21984         * gst/gstregistryxml.c:
21985           Convergence is near.  Seriously.
21986
21987 2005-09-14  David Schleef  <ds@schleef.org>
21988
21989         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21990         * gst/glib-compat.h:
21991           Attempt #4 to appease the buildbots.
21992
21993 2005-09-14  David Schleef  <ds@schleef.org>
21994
21995         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21996           Attempt #3.
21997
21998 2005-09-14  David Schleef  <ds@schleef.org>
21999
22000         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22001         Attempt #2.
22002
22003 2005-09-14  David Schleef  <ds@schleef.org>
22004
22005         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22006           the new functions.
22007
22008 2005-09-14  David Schleef  <ds@schleef.org>
22009
22010         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22011         * gst/glib-compat.h: Add some functions that are in newer versions
22012           of glib than we care to require.
22013         * gst/gstregistryxml.c: Use them.
22014
22015 2005-09-14  David Schleef  <ds@schleef.org>
22016
22017         * po/POTFILES.in: remove gst-register.c
22018
22019 2005-09-14  David Schleef  <ds@schleef.org>
22020
22021         * docs/gst/gstreamer-docs.sgml:
22022         * docs/gst/gstreamer-sections.txt:
22023         * docs/gst/gstreamer.types:
22024         * docs/gst/tmpl/gstelement.sgml:
22025         * docs/gst/tmpl/gstplugin.sgml:
22026         * docs/gst/tmpl/gstpluginfeature.sgml:
22027           Documentation updates for registry changes.
22028
22029 2005-09-14  David Schleef  <ds@schleef.org>
22030
22031         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22032           because we don't require glib-2.8.
22033
22034 2005-09-14  David Schleef  <ds@schleef.org>
22035
22036         * gst/gstregistryxml.c: Added.  Essentially moved out of the
22037           registries directory.
22038
22039 2005-09-14  David Schleef  <ds@schleef.org>
22040
22041         * check/Makefile.am:
22042         * check/generic/states.c:
22043         * gst/Makefile.am:
22044         * gst/gst.c:
22045         * gst/gst.h:
22046         * gst/gst_private.h:
22047         * gst/gstelementfactory.c:
22048         * gst/gstindex.c:
22049         * gst/gstinfo.c:
22050         * gst/gstplugin.c:
22051         * gst/gstplugin.h:
22052         * gst/gstpluginfeature.c:
22053         * gst/gstpluginfeature.h:
22054         * gst/gstregistry.c:
22055         * gst/gstregistry.h:
22056         * gst/gstregistrypool.c: remove
22057         * gst/gstregistrypool.h: remove
22058         * gst/gsttypefind.c:
22059         * gst/gsttypefindfactory.c:
22060         * gst/gsturi.c:
22061         * tools/Makefile.am:
22062         * tools/gst-compprep.c:
22063         * tools/gst-inspect.c:
22064         * tools/gst-register.c: remove
22065         * tools/gst-xmlinspect.c:
22066           Registry rewrite.  Changes registry from being a file created
22067           by a tool into a simple cache file created automatically by 
22068           libgstreamer.  Removed gst-register (because it's no longer
22069           needed).  Remove registry pools, because we only have one
22070           registry implementation (XML).  Fix up other subsystems as
22071           necessary.
22072
22073 2005-09-13  Michael Smith <msmith@fluendo.com>
22074
22075         * gst/gstconfig.h.in:
22076           Don't Use windows linking attributes for MinGW. Fixes #316157
22077
22078 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22079
22080         * gst/gstutils.c: (set_state_async_thread_func),
22081         (gst_element_set_state_async):
22082           Apparently people think it's better if this function doesn't
22083           try to set the state to whatever state was asked for on the first
22084           call to this function for any object.  Seriously.
22085
22086 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22087
22088         * check/gst/gstpipeline.c: (GST_START_TEST):
22089         * docs/gst/gstreamer-sections.txt:
22090         * gst/gstutils.c: (set_state_async_thread_func),
22091         (gst_element_set_state_async):
22092         * gst/gstutils.h:
22093           add a "gst_element_set_state_async" method that
22094           sets the state and starts a thread to make sure the state
22095           change completes as best as it can
22096
22097 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22098
22099         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22100           codify design+behaviour in testsuite after discussion
22101
22102 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22103
22104         * docs/gst/tmpl/gstelement.sgml:
22105         * docs/manual/appendix-quotes.xml:
22106           add a quote
22107         * gst/gstelement.c: (gst_element_set_state):
22108           add some debug
22109
22110 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
22111
22112         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22113         (gst_base_transform_prepare_output_buf),
22114         (gst_base_transform_handle_buffer):
22115         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
22116         (gst_capsfilter_prepare_buf):
22117           Remove the requirement for sub-classes to call the parent
22118           implementation of prepare_output_buffer with a wrapper function.
22119           
22120         * gst/gsttaglist.h:
22121         * gst/gsttagsetter.h:
22122           Fix #define wrapper
22123
22124 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
22125
22126         * docs/gst/gstreamer-sections.txt:
22127           more doc cleanups
22128
22129 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22130
22131         * docs/gst/gstreamer-sections.txt:
22132         * docs/gst/tmpl/gstelement.sgml:
22133         * docs/gst/tmpl/gstplugin.sgml:
22134         * gst/gstminiobject.c:
22135         * gst/gstvalue.h:
22136           docs now stop throwing warnings
22137
22138 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22139
22140         * docs/gst/gstreamer-sections.txt:
22141         * docs/gst/gstreamer.types:
22142         * docs/gst/tmpl/gstpad.sgml:
22143         * docs/gst/tmpl/gsttypes.sgml:
22144         * gst/base/gstadapter.h:
22145         * gst/base/gstbasesink.h:
22146         * gst/base/gstbasesrc.h:
22147         * gst/gstbin.h:
22148         * gst/gstbuffer.h:
22149         * gst/gstbus.h:
22150         * gst/gstcaps.h:
22151         * gst/gstclock.h:
22152         * gst/gstelement.h:
22153         * gst/gstevent.h:
22154         * gst/gstmessage.h:
22155         * gst/gstpad.h:
22156         * gst/gststructure.c:
22157         * gst/registries/gstlibxmlregistry.h:
22158           various documentation fixes
22159
22160 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22161
22162         * docs/gst/gstreamer-sections.txt:
22163         * docs/gst/tmpl/gstvalue.sgml:
22164           rearrange gstvalue section
22165         * gst/gstutils.c: (gst_element_state_get_name):
22166           NONE -> VOID
22167         * gst/gstvalue.c: (_gst_value_initialize):
22168         * gst/gstvalue.h:
22169           doc updates
22170
22171 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
22172
22173         * check/gst-libs/controller.c:
22174           Header include fix.
22175         * gst/base/gstbasetransform.c:
22176         (gst_base_transform_default_prepare_buf),
22177         (gst_base_transform_handle_buffer):
22178         * gst/base/gstbasetransform.h:
22179           Some more basetransform changes and fixes to enable sub-classes
22180           that modify buffer metadata only.
22181         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22182         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
22183         (gst_capsfilter_prepare_buf):
22184           If the output pad has fixed allowed caps and input buffers 
22185           don't have any, set the fixed caps on outgoing buffers.
22186
22187 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
22188         * check/elements/identity.c: (GST_START_TEST):
22189           Make the error a little clearer when the test fails because
22190           identity made a copy of the buffer.
22191         * docs/gst/gstreamer-sections.txt:
22192           New symbols in gstbasetransform.h
22193         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22194         (gst_base_transform_init), (gst_base_transform_transform_size),
22195         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22196         (gst_base_transform_default_prepare_buf),
22197         (gst_base_transform_get_unit_size),
22198         (gst_base_transform_buffer_alloc),
22199         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
22200         (gst_base_transform_change_state),
22201         (gst_base_transform_set_passthrough),
22202         (gst_base_transform_set_in_place),
22203         (gst_base_transform_is_in_place):
22204         * gst/base/gstbasetransform.h:
22205           Change BaseTransform to separate in_place operate from same_caps
22206           output. in_place implies that the element can perform the transform
22207           on incoming buffers in-place, even if the caps on the output are
22208           different.
22209           Sub-class elements can now implement special buffer allocation
22210           methods for outgoing buffers if they wish to.
22211           Big documentation addition.
22212         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
22213         * gst/elements/gstelements.c:
22214           Changes for basetransform modifications.
22215         * gst/elements/Makefile.am:
22216         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
22217           Compile fix. Extra debug output.
22218
22219 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22220
22221         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
22222         (gst_pad_suite):
22223           add tests for valid pad naming
22224         * gst/check/gstcheck.c: (gst_check_log_message_func),
22225         (gst_check_log_critical_func):
22226           add ASSERT_WARNING
22227           remove printing of code, it is fragile when the code contains
22228           % and the line number is enough info
22229         * gst/check/gstcheck.h:
22230         * gst/gstpad.c: (gst_pad_template_new):
22231           fix memleaks
22232
22233 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22234
22235         * configure.ac:
22236           say what CHECK flags we use
22237         * docs/libs/gstreamer-libs.types:
22238         * libs/gst/controller/Makefile.am:
22239         * libs/gst/controller/gst-controller.c:
22240         * libs/gst/controller/gst-controller.h:
22241         * libs/gst/controller/gst-helper.c:
22242         * libs/gst/controller/gst-interpolation.c:
22243         * libs/gst/controller/gstcontroller.c:
22244         * libs/gst/controller/gsthelper.c:
22245         * libs/gst/controller/gstinterpolation.c:
22246         * tools/gst-inspect.c: (print_plugin_info):
22247           we don't use dashes in header names
22248
22249 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22250
22251         * check/Makefile.am:
22252         * check/gst/.cvsignore:
22253         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
22254         (gst_pipeline_suite), (main):
22255           adding a test for pipelines and state changes
22256         * gst/gstutils.c: (get_state_func):
22257           add some debugging
22258         * gstreamer.spec.in:
22259           fix up spec file
22260
22261 2005-09-08  Michael Smith <msmith@fluendo.com>
22262
22263         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
22264         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
22265         (gst_file_src_is_seekable), (gst_file_src_get_size),
22266         (gst_file_src_start):
22267         * gst/elements/gstfilesrc.h:
22268           Various fixes for unseekable, unmmapable, and non-normal files, so
22269           that fallback to read() rather than mmap() works.
22270         * gst/gstevent.c: (gst_event_new_newsegment):
22271           Allow newsegment events with segment_start == segment_end, as will
22272           correctly happen if you use filesrc on a zero-size file, for
22273           example.
22274
22275 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22276
22277         * gst/gstplugin.c: (gst_plugin_load_file):
22278           Call g_module_close when we don't load the module
22279
22280         * gst/registries/gstlibxmlregistry.c:
22281         (gst_xml_registry_get_property):
22282           Port leak fix from 0.8
22283
22284 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22285
22286         * docs/gst/gstreamer-docs.sgml:
22287         * docs/gst/tmpl/.cvsignore:
22288         * docs/gst/tmpl/gsttrace.sgml:
22289         * docs/gst/tmpl/gsttrashstack.sgml:
22290         * gst/Makefile.am:
22291         * gst/gst.h:
22292         * gst/gstelement.h:
22293         * gst/gstevent.h:
22294         * gst/gstmessage.c:
22295         * gst/gstmessage.h:
22296         * gst/gsttag.c:
22297         * gst/gsttag.h:
22298         * gst/gsttaginterface.c:
22299         * gst/gsttaginterface.h:
22300         * gst/gsttaglist.c:
22301         * gst/gsttaglist.h:
22302         * gst/gsttagsetter.c:
22303         * gst/gsttagsetter.h:
22304         * gst/gsttrace.c:
22305         * gst/gsttrace.h:
22306         * gst/gsttrashstack.c:
22307           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22308           inlined docs for gsttrace, gsttrashstack
22309
22310 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22311
22312         * gst/Makefile.am:
22313         * gst/elements/gstbufferstore.h:
22314         * gst/elements/gsttypefindelement.c:
22315         * gst/elements/gsttypefindelement.h:
22316         * gst/gst.h:
22317         * gst/gsttypefind.c:
22318         * gst/gsttypefind.h:
22319         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22320         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22321         (gst_type_find_factory_dispose),
22322         (gst_type_find_factory_unload_thyself),
22323         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22324         (gst_type_find_factory_get_caps),
22325         (gst_type_find_factory_get_extensions),
22326         (gst_type_find_factory_call_function):
22327         * gst/gsttypefindfactory.h:
22328         * gst/registries/gstlibxmlregistry.c:
22329         * gst/registries/gstxmlregistry.c:
22330           splitted gsttypefind into gsttypefind, gsttypefindfactory
22331
22332 2005-09-07  Andy Wingo  <wingo@pobox.com>
22333
22334         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22335         condition whereby the pad's task function is entered before the
22336         pad_mode variable was set.
22337
22338 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22339
22340         * gst/gstpad.c: (gst_pad_alloc_buffer):
22341           Catch misbehaving pad_alloc functions that don't
22342           set up caps and do it for them.
22343
22344 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22345
22346         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22347           test for pipe!=NULL
22348         * docs/gst/tmpl/.cvsignore:
22349         * docs/gst/tmpl/gstmemchunk.sgml:
22350         * docs/gst/tmpl/gstparse.sgml:
22351         * docs/gst/tmpl/gsttaglist.sgml:
22352         * docs/gst/tmpl/gsttagsetter.sgml:
22353         * docs/gst/tmpl/gsttypefind.sgml:
22354         * docs/gst/tmpl/gsttypefindfactory.sgml:
22355         * gst/gstmemchunk.c:
22356         * gst/gstparse.c:
22357         * gst/gsttag.c:
22358         * gst/gsttaginterface.c:
22359         * gst/gsttypefind.c:
22360         * gst/gsttypefind.h:
22361           inlined more docs
22362
22363 === release 0.9.2 ===
22364
22365 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22366
22367         * NEWS:
22368         * RELEASE:
22369         * configure.ac:
22370           releasing 0.9.2, "South"
22371
22372 2005-09-05  Andy Wingo  <wingo@pobox.com>
22373
22374         * gst/registries/gstxmlregistry.h:
22375         * gst/registries/gstxmlregistry.c: Um... resurrect...
22376         
22377         * gst/registries/gstxmlregistry.h:
22378         * gst/registries/gstxmlregistry.c: and update to newer API.
22379         Incidentally they should be a bit faster now that they don't have
22380         to parse the caps.
22381         
22382 2005-09-05  Andy Wingo  <wingo@pobox.com>
22383
22384         * gst/registries/gstxmlregistry.h:
22385         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22386         replaced by the libxml registry a while back
22387
22388 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22389
22390         * docs/gst/tmpl/gstplugin.sgml:
22391         * gst/elements/gstelements.c:
22392         * gst/gst.c:
22393         * gst/gstplugin.c: (gst_plugin_register_func),
22394         (gst_plugin_desc_copy), (gst_plugin_desc_free),
22395         (gst_plugin_get_source):
22396         * gst/gstplugin.h:
22397         * gst/registries/gstlibxmlregistry.c: (load_plugin),
22398         (gst_xml_registry_save_plugin):
22399         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22400         (gst_xml_registry_save_plugin):
22401         * tools/gst-inspect.c: (print_plugin_info):
22402           add a "source" plugin description field, to represent the source
22403           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
22404           will set it to PACKAGE, which is automake's idea of the name of
22405           the source project.
22406
22407 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22408
22409         * Makefile.am:
22410         * autogen.sh:
22411         * configure.ac:
22412         * docs/Makefile.am:
22413         * docs/faq/Makefile.am:
22414         * docs/gst/tmpl/gstelement.sgml:
22415         * docs/gst/tmpl/gsttypes.sgml:
22416         * docs/htmlinstall.mak:
22417         * docs/manual/Makefile.am:
22418         * docs/pwg/Makefile.am:
22419           reorganize doc build a little
22420           split out docbook and gtk-doc stuff
22421           have two separate --enable's and enable them through autogen
22422           but disable by default in configure (to be similar to other
22423           projects)
22424         * gstreamer.spec.in:
22425           clean up docs install
22426         * po/af.po:
22427         * po/az.po:
22428         * po/ca.po:
22429         * po/cs.po:
22430         * po/de.po:
22431         * po/en_GB.po:
22432         * po/fr.po:
22433         * po/it.po:
22434         * po/nb.po:
22435         * po/nl.po:
22436         * po/ru.po:
22437         * po/sq.po:
22438         * po/sr.po:
22439         * po/sv.po:
22440         * po/tr.po:
22441         * po/uk.po:
22442         * po/vi.po:
22443           translation updates
22444
22445 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
22446
22447         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22448           Add comment.
22449           
22450         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22451         (gst_fake_sink_change_state):
22452           Make state change function thread-safe.
22453           
22454         * gst/gstpad.c: (gst_pad_alloc_buffer):
22455           Set offset on generic buffer allocated by fallback.
22456
22457 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
22458
22459         * docs/gst/gstreamer-sections.txt:
22460         * docs/gst/tmpl/gstelement.sgml:
22461         * gst/gstpad.c:
22462         * libs/gst/controller/gst-controller.c:
22463         (gst_controlled_property_set_interpolation_mode),
22464         (gst_controlled_property_new),
22465         (gst_controller_find_controlled_property):
22466          run the wingo-magic script against the docs
22467
22468 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22469
22470         * docs/gst/gstreamer-docs.sgml:
22471         * docs/gst/gstreamer-sections.txt:
22472         * docs/gst/tmpl/.cvsignore:
22473         * docs/gst/tmpl/gstelementdetails.sgml:
22474         * docs/gst/tmpl/gstelementfactory.sgml:
22475         * gst/gst.c:
22476         * gst/gstbus.c:
22477         * gst/gstelementfactory.c:
22478         * gst/gstelementfactory.h:
22479           merged elementdetails docs into elementfactory docs
22480           inlined both
22481
22482 2005-09-02  Andy Wingo  <wingo@pobox.com>
22483
22484         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22485         consider this enum an enum and not a flags.
22486
22487 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22488
22489         * docs/gst/gstreamer-docs.sgml:
22490         * docs/gst/tmpl/.cvsignore:
22491         * docs/gst/tmpl/gstghostpad.sgml:
22492         * docs/gst/tmpl/gstiterator.sgml:
22493         * docs/gst/tmpl/gstmacros.sgml:
22494         * docs/gst/tmpl/gstrealpad.sgml:
22495         * docs/gst/tmpl/gstregistry.sgml:
22496         * docs/gst/tmpl/gstregistrypool.sgml:
22497         * docs/gst/tmpl/gststructure.sgml:
22498         * docs/gst/tmpl/gstsystemclock.sgml:
22499         * docs/gst/tmpl/gsttrace.sgml:
22500         * gst/gstghostpad.c:
22501         * gst/gstmacros.h:
22502         * gst/gstmemchunk.c:
22503         * gst/gstmemchunk.h:
22504         * gst/gstqueue.c:
22505         * gst/gstregistry.c:
22506         * gst/gstregistrypool.c:
22507         * gst/gststructure.c:
22508         * gst/gstsystemclock.c:
22509           more docs inlined
22510
22511 2005-09-02  Andy Wingo  <wingo@pobox.com>
22512
22513         * gst/gstelement.h (GstState): Renamed from GstElementState,
22514         changed to be a normal enum instead of flags.
22515         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22516         munged to be GST_STATE_CHANGE_*.
22517         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22518         work with the new state representation.
22519         (GstStateChange): New enumeration of possible state transitions.
22520         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22521         (GstElementClass::change_state): Pass the GstStateChange along as
22522         an argument. Helps language bindings, so they don't have to use
22523         tricky lock-needing macros like GST_STATE_CHANGE ().
22524
22525         * scripts/update-states (file): New script. Run it on a file to
22526         update it for state naming and API changes. Updates files in
22527         place.
22528
22529         * All files updated for the new API.
22530
22531 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22532
22533         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22534         * gst/gstutils.c: (gst_util_set_value_from_string),
22535         (gst_util_set_object_arg):
22536           fix a bunch of unchecked return values
22537         * tools/gst-complete.c: (main):
22538         * gstreamer.spec.in:
22539           clean up a little
22540
22541 2005-09-01  Wim Taymans  <wim@fluendo.com>
22542
22543         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22544         (gst_base_sink_event), (gst_base_sink_do_sync),
22545         (gst_base_sink_handle_event):
22546         * gst/base/gstbasesink.h:
22547         Handle newsegments more correctly.
22548
22549         * gst/gstbus.c:
22550         Fix docs.
22551
22552         * gst/gstevent.c: (gst_event_new_newsegment):
22553         A newsegment cannot have a start_time of -1
22554
22555 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
22556
22557         * win32/gstenumtypes.c:
22558         * win32/gstenumtypes.h:
22559           Update
22560
22561 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22562
22563         * libs/gst/controller/gst-controller.c:
22564         (gst_controlled_property_set_interpolation_mode),
22565         (gst_controlled_property_new):
22566          fixed boolean again
22567
22568 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * docs/faq/gst-uninstalled:
22571           add -good
22572         * gst/gstevent.c:
22573         * gst/gstevent.h:
22574           remove wrong docs
22575         * gst/gstutils.c: (gst_element_link_filtered):
22576         * gst/gstutils.h:
22577           add gst_element_link_filtered
22578
22579 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22580
22581         * docs/gst/gstreamer-docs.sgml:
22582         * docs/gst/gstreamer-sections.txt:
22583         * docs/gst/tmpl/.cvsignore:
22584         * docs/gst/tmpl/gsterror.sgml:
22585         * docs/gst/tmpl/gstfilter.sgml:
22586         * docs/gst/tmpl/gsturihandler.sgml:
22587         * docs/gst/tmpl/gsturitype.sgml:
22588         * docs/gst/tmpl/gstutils.sgml:
22589         * docs/gst/tmpl/gstxml.sgml:
22590         * gst/gsterror.c:
22591         * gst/gsterror.h:
22592         * gst/gstfilter.c:
22593         * gst/gsturi.c:
22594         * gst/gsturitype.c:
22595         * gst/gstutils.c:
22596         * gst/gstxml.c:
22597           inlined more docs, fixed double id-ref
22598
22599 2005-08-31  Wim Taymans  <wim@fluendo.com>
22600
22601         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22602         (gst_base_transform_handle_buffer):
22603         Passthrough elements don't need the caps as they don't care.
22604
22605 2005-08-31  Wim Taymans  <wim@fluendo.com>
22606
22607         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22608         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22609         Don't leak refcounts on buffers.
22610
22611 2005-08-31  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22614         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22615         (gst_base_transform_chain), (gst_base_transform_change_state):
22616         * gst/base/gstbasetransform.h:
22617         Handle the case where we are not negotiated more gracefully.
22618
22619 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
22620
22621         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22622         (gst_file_src_map_region):
22623           Set READONLY flag on mmap'ed buffers, otherwise
22624           gst_buffer_make_writable() won't work properly (#314708).
22625
22626 2005-08-31  Wim Taymans  <wim@fluendo.com>
22627
22628         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22629         passthrough elements can even do inplace on non writable
22630         buffers (as they don't touch them).
22631
22632 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22633
22634         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22635         (gst_test_mono_source_set_property),
22636         (gst_test_mono_source_class_init), (GST_START_TEST),
22637         (gst_controller_suite):
22638           more tests (hehe I have the most)
22639         * gst/gstbus.c:
22640           describe popping messages whenusing mulltiple sources
22641         * libs/gst/controller/gst-controller.c:
22642         (gst_controlled_property_set_interpolation_mode),
22643         (gst_controlled_property_new):
22644         * libs/gst/controller/gst-controller.h:
22645         * libs/gst/controller/gst-interpolation.c:
22646           implement boolean properties
22647
22648 2005-08-31  Wim Taymans  <wim@fluendo.com>
22649
22650         * gst/gstminiobject.c: (gst_mini_object_ref):
22651         Cannot assert that the refcount has to be positive
22652         since a disposed object can be resurrected.
22653
22654 2005-08-31  Wim Taymans  <wim@fluendo.com>
22655
22656         * gst/gstpad.c: (gst_pad_init):
22657         Revert change, need to first fix badly behaving 
22658         apps.
22659
22660 2005-08-30  Wim Taymans  <wim@fluendo.com>
22661
22662         * check/elements/fakesrc.c: (setup_fakesrc):
22663         * check/elements/identity.c: (setup_identity):
22664         Activate pads before using them.
22665
22666 2005-08-30  Wim Taymans  <wim@fluendo.com>
22667
22668         * gst/base/gstadapter.c: (gst_adapter_flush):
22669         Flushing out 0 bytes is ok for this function.
22670
22671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22672         no newsegment gives a warning and sets the start/stop to 
22673         invalid.
22674
22675         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22676         (gst_base_transform_set_passthrough):
22677         Some debug info.
22678
22679         * gst/gstminiobject.c: (gst_mini_object_ref):
22680         Check refcount here too.
22681
22682         * gst/gstpad.c: (gst_pad_init):
22683         Pads are initially flushing and refusing data.
22684
22685         * gst/gstutils.c: (gst_element_link_pads_filtered):
22686         When adding a capsfilter element make sure it has the
22687         same state as the parent bin.
22688
22689 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22690
22691         * docs/gst/tmpl/.cvsignore:
22692         * docs/gst/tmpl/gstformat.sgml:
22693         * docs/gst/tmpl/gstversion.sgml:
22694         * gst/gstbus.h:
22695         * gst/gstformat.c:
22696         * gst/gstformat.h:
22697         * gst/gstversion.h.in:
22698           more docs and two more inlined
22699
22700 2005-08-30  Wim Taymans  <wim@fluendo.com>
22701
22702         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22703         Don't sync to clock.
22704
22705 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22706
22707         * docs/gst/gstreamer-sections.txt:
22708           ultral33t func10ns deserve to appear in the docs actually
22709         * docs/gst/tmpl/.cvsignore:
22710         * docs/gst/tmpl/gstcompat.sgml:
22711         * docs/gst/tmpl/gstconfig.sgml:
22712         * gst/check/gstcheck.c:
22713         * gst/gstcompat.h:
22714         * gst/gstconfig.h.in:
22715           inlined more docs
22716
22717 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22718
22719         * docs/gst/tmpl/.cvsignore:
22720         * docs/gst/tmpl/gstquery.sgml:
22721         * docs/gst/tmpl/gstutils.sgml:
22722         * gst/gstquery.c:
22723         * gst/gstquery.h:
22724           inlined and extended docs
22725
22726 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22727
22728         * check/gst-libs/controller.c: (GST_START_TEST),
22729         (gst_controller_suite):
22730           more tests
22731         * docs/gst/tmpl/gstutils.sgml:
22732         * docs/libs/gstreamer-libs-sections.txt:
22733         * docs/libs/tmpl/gstdataprotocol.sgml:
22734           include path fixes
22735         * examples/controller/audio-example.c: (main):
22736           controller example works now
22737         * gst/gstclock.h:
22738           doc fixes
22739         * tools/gst-inspect.c: (print_element_properties_info):
22740           show param spec flags
22741
22742 2005-08-29  Andy Wingo  <wingo@pobox.com>
22743
22744         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22745
22746 2005-08-28  Andy Wingo  <wingo@pobox.com>
22747
22748         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22749         as having two arguments instead of just one. Allows superclasses
22750         to access information on subclasses -- see the terrible for() loop
22751         in gtype.c:g_type_create_instance for the reason why. All callers
22752         changed.
22753
22754 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22755
22756         * docs/design/part-messages.txt:
22757           update info
22758         * docs/gst/tmpl/.cvsignore:
22759         * docs/gst/tmpl/gstcaps.sgml:
22760         * docs/gst/tmpl/gstclock.sgml:
22761         * gst/gstbus.c:
22762         * gst/gstcaps.c:
22763         * gst/gstcaps.h:
22764         * gst/gstclock.c:
22765         * gst/gstclock.h:
22766         * gst/gstmessage.c:
22767           added descriptions for bus and message
22768           inline caps and clock docs
22769
22770 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22771
22772         * gst/gstmessage.c:
22773         * gst/gstmessage.h:
22774           doc fixes
22775
22776 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22777
22778         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22779           fix div-by-zero
22780
22781 2005-08-26  Andy Wingo  <wingo@pobox.com>
22782
22783         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22784         element_set_state's return val.
22785         (test_2_elements): Add test that's been disabled for months.
22786
22787         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22788         can-activate-pull properties.
22789
22790         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22791         can-activate-pull properties. Implement is_seekable so fakesrc can
22792         operate in pull mode.
22793
22794         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22795         properties.
22796         (gst_base_sink_activate, gst_base_sink_activate_pull)
22797         (gst_base_sink_activate_push): Make activation mode choosing work.
22798         Cleanups.
22799         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22800         is right. Make pull mode work. Post an eos before pausing in pull
22801         mode.
22802         (gst_base_sink_change_state): Pay attention to the core's
22803         change_state() return val.
22804         
22805         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22806         has-getrange properties. Cleanups.
22807         
22808         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22809         has_getrange and replace with can_activate_pull and
22810         can_activate_push.
22811
22812         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22813         locking comments. Remove has_loop, has_chain and replace with
22814         can_activate_pull and can_activate_push.
22815
22816 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
22817
22818         * configure.ac:
22819         * examples/Makefile.am:
22820         * examples/metadata/Makefile.am:
22821         * examples/metadata/read-metadata.c: (message_loop),
22822         (have_pad_handler), (make_pipeline), (print_tag), (main):
22823           Add metadata reading example that loops over a list of filenames,
22824           dumping any tags found.
22825
22826         * gst/gstbus.c: (gst_bus_dispose):
22827         * gst/gstelement.c: (gst_element_dispose):
22828           Release a few potentially-held references in dispose.
22829
22830 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22831
22832         * docs/gst/tmpl/gstminiobject.sgml:
22833           do *not* add tmpl/*.sgml files to CVS!
22834
22835 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22836
22837         * libs/gst/bytestream/.cvsignore:
22838         * libs/gst/bytestream/Makefile.am:
22839         * libs/gst/bytestream/adapter.c:
22840         * libs/gst/bytestream/adapter.h:
22841         * libs/gst/bytestream/bytestream.c:
22842         * libs/gst/bytestream/bytestream.h:
22843         * libs/gst/bytestream/filepad.c:
22844         * libs/gst/bytestream/filepad.h:
22845           removing obsolete files
22846
22847 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22848
22849         * docs/gst/gstreamer-docs.sgml:
22850         * docs/libs/gstreamer-libs-docs.sgml:
22851           disabed additional index entries again, as this makes docs-gen just
22852           slow and they aren't useful yet
22853         * docs/libs/gstreamer-libs-sections.txt:
22854           little -section.txt cleanup for libs
22855
22856 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22857
22858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22859         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22860           fix up some debugging
22861         (gst_base_transform_get_unit_size),
22862         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22863         (gst_base_transform_handle_buffer):
22864         * gst/base/gstbasetransform.h:
22865           handle and store timed NEWSEGMENT events so that subclasses that
22866           calculate time by counting samples have a segment_start time they
22867           need to add to their timestamps - see audioresample
22868
22869 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22870
22871         * gst/gstbin.h:
22872           removed ';' from the end of macro defs
22873         * docs/gst/gstreamer-docs.sgml:
22874         * docs/gst/gstreamer-sections.txt:
22875         * docs/gst/tmpl/.cvsignore:
22876         * gst/gstbus.h:
22877         * gst/gstelement.c: (gst_element_class_init),
22878         (gst_element_set_state), (activate_pads),
22879         (gst_element_save_thyself):
22880         * gst/gstevent.c: (gst_event_new_newsegment):
22881         * gst/gstevent.h:
22882         * gst/gstiterator.c:
22883         * gst/gstiterator.h:
22884         * gst/gstpad.c:
22885         * gst/gstprobe.h:
22886         * gst/gstutils.c: (gst_pad_query_convert):
22887         * gst/gstutils.h:
22888           fixed parameter name mismatches between source, header and docs
22889           added some more docs, resolved the last batch of unused elements in
22890           docs (now someone needs to doc them)
22891
22892 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22893
22894         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22895         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22896           don't walk through the plugins backwards.  Where is all this
22897           reversed logic coming from ?
22898
22899 2005-08-25  Wim Taymans  <wim@fluendo.com>
22900
22901         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22902         (gst_base_transform_transform_size),
22903         (gst_base_transform_configure_caps),
22904         (gst_base_transform_get_unit_size),
22905         (gst_base_transform_buffer_alloc),
22906         (gst_base_transform_change_state):
22907         * gst/base/gstbasetransform.h:
22908         Cache caps unit_size.
22909         Make sure we cannot negotiate up and downstream at the
22910         same time.
22911
22912 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22913
22914         * gst/gst.c: (init_pre), (init_post):
22915           register the installed plugin path after the env var
22916         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22917         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22918           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22919           directories, so the tests can prefer uninstalled over installed
22920
22921 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22922
22923         * gst/base/gstbasetransform.h:
22924           comment
22925         * gst/gstpad.c:
22926           add to docs
22927
22928 2005-08-25  Wim Taymans  <wim@fluendo.com>
22929
22930         * gst/gstbin.c: (bin_bus_handler):
22931         Be a bit more conservative about the posted message.
22932         
22933         * gst/gstbus.c: (gst_bus_post):
22934         Some cleanups, warn wrong return values.
22935
22936 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22937
22938         * check/gst/gstbin.c: (GST_START_TEST):
22939         * gst/gstbin.c: (bin_bus_handler):
22940         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22941         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22942         (gst_message_new_warning), (gst_message_new_tag),
22943         (gst_message_new_state_changed), (gst_message_new_segment_start),
22944         (gst_message_new_segment_done), (gst_message_new_custom):
22945         * gst/gstmessage.h:
22946         * tools/gst-launch.c: (event_loop):
22947         * tools/gst-md5sum.c: (event_loop):
22948           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22949
22950 2005-08-25  Wim Taymans  <wim@fluendo.com>
22951
22952         * check/generic/states.c: (GST_START_TEST):
22953         Cleanup can be done at the end.
22954
22955         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22956         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22957         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22958         Oh boy.. Thanks for finding this, Thomas. 
22959
22960 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22961
22962         * docs/gst/gstreamer.types:
22963           added missing types
22964
22965 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22966
22967         * docs/gst/gstreamer-docs.sgml:
22968         * docs/gst/gstreamer-sections.txt:
22969         * docs/gst/tmpl/.cvsignore:
22970         * gst/gstbin.c:
22971         * gst/gstiterator.c:
22972         * gst/gstutils.c:
22973         * gst/registries/gstxmlregistry.h:
22974           added missing classes and symbols (123 more to go)
22975           removed removed symbols from section file
22976           fixed many doc-comments
22977
22978 2005-08-24  Wim Taymans  <wim@fluendo.com>
22979
22980         * check/generic/states.c: (GST_START_TEST):
22981         Make sure all tasks are stopped.
22982
22983         * check/gst/gstbin.c: (GST_START_TEST):
22984         Unref after usage for proper valgrinding.
22985
22986         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22987         Really wait for the task to stop before destroying the
22988         mutex.
22989
22990         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22991         (gst_queue_src_activate_push):
22992         Small cleanups. Don't stop the task when we did not start
22993         it.
22994
22995         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22996         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22997         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22998         (gst_task_join):
22999         * gst/gsttask.h:
23000         Protect the stream lock with the object lock.
23001         Disallow setting the stream lock when running.
23002         Add cleanup_all to wait for the threadpool to finish.
23003         Remove code to autoallocate a mutex if none was provided.
23004         Add _join() to wait for a task to stop.
23005         Protect the thread pool with a global lock.
23006
23007 2005-08-24  Wim Taymans  <wim@fluendo.com>
23008
23009         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23010         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23011         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23012         * gst/base/gstbasesink.h:
23013         Handle newsegment events correctly.
23014         Drop buffers out of the segment range.
23015
23016 2005-08-22  Andy Wingo  <wingo@pobox.com>
23017
23018         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23019         macro, implements an interface and gstimplementsinterface for a
23020         new type.
23021
23022 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23023
23024         * check/Makefile.am:
23025         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23026           add a test that does a bunch of state changes on elements
23027           needs some fixing for valgrind
23028         * check/states/sinks.c: (gst_object_suite):
23029           whitespace
23030         * gst/gstcaps.h:
23031           add prototype for gst_caps_is_equal_fixed
23032         * gst/gstplugin.c:
23033         * gst/gstregistrypool.c:
23034           doc fixes
23035
23036 2005-08-24  Andy Wingo  <wingo@pobox.com>
23037
23038         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23039         convert a negative value. Doesn't make much sense. Mostly this is
23040         here to force callers to ensure -1 maps to -1.
23041
23042 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23043
23044         * docs/pwg/advanced-types.xml:
23045           Well done to Michael for catching my deliberate introduction
23046           of this spelling mistake. 
23047         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23048         * gst/gstelement.h:
23049           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
23050           unlink pads before removing the element from the bin.
23051
23052 2005-08-24  Andy Wingo  <wingo@pobox.com>
23053
23054         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
23055         the same thing as GST_DEBUG=*:4.
23056         (parse_debug_level, parse_debug_category): New helper parsers.
23057
23058 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23059
23060         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23061         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
23062         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
23063         (gst_base_transform_buffer_alloc),
23064         (gst_base_transform_handle_buffer):
23065           use gboolean return values and pointers to size so we can use the
23066           full GST_BUFFER_SIZE range (guint) for buffer sizes
23067           use GstPadDirection for transform_caps
23068         * gst/base/gstbasetransform.h:
23069           rename get_size to get_unit_size since that's what it is
23070         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
23071           use GstPadDirection for transform_caps
23072         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23073         * gst/gstutils.h:
23074           cleanup and debugging
23075
23076 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23077
23078         * gst/gstelement.c: (gst_element_class_init),
23079         (gst_element_set_state), (activate_pads),
23080         (gst_element_save_thyself):
23081         * tools/gst-compprep.c: (main):
23082         * tools/gst-inspect.c: (print_element_properties_info):
23083         * tools/gst-xmlinspect.c: (print_element_properties):
23084           Fixed long standing mem-leak
23085
23086 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23087
23088         * check/gst/gstbin.c: (GST_START_TEST):
23089         * gst/gstbin.c: (bin_bus_handler):
23090         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23091         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23092         (gst_message_new_warning), (gst_message_new_tag),
23093         (gst_message_new_state_changed), (gst_message_new_segment_start),
23094         (gst_message_new_segment_done), (gst_message_new_custom):
23095         * gst/gstmessage.h:
23096         * tools/gst-launch.c: (event_loop):
23097         * tools/gst-md5sum.c: (event_loop):
23098           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
23099           that applications can sensibly post custom messages with references
23100           to their own objects.
23101
23102 2005-08-24  Andy Wingo  <wingo@pobox.com>
23103
23104         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
23105         already.
23106
23107 2005-08-24  Wim Taymans  <wim@fluendo.com>
23108
23109         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23110         (gst_base_transform_transform_caps),
23111         (gst_base_transform_transform_size),
23112         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23113         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23114         (gst_base_transform_handle_buffer):
23115         * gst/base/gstbasetransform.h:
23116         Many fixes and new features added by Thomas. Can now also do
23117         transforms with variable sizes and a custom fixate_caps function.
23118
23119 2005-08-24  Wim Taymans  <wim@fluendo.com>
23120
23121         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23122         Some debugging.
23123
23124         * gst/gstclock.h:
23125         Cast to ClockTime before formatting to time.
23126
23127         * gst/gstutils.h:
23128         Cleanups.
23129
23130 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23131
23132         * check/gst-libs/controller.c: (GST_START_TEST),
23133         (gst_controller_suite):
23134         * docs/gst/tmpl/gstcaps.sgml:
23135         * docs/gst/tmpl/gstghostpad.sgml:
23136         * docs/gst/tmpl/gstquery.sgml:
23137         * docs/gst/tmpl/gstutils.sgml:
23138         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
23139         (gst_object_sink_values), (gst_object_get_value_arrays),
23140         (gst_object_get_value_array):
23141           gracefully handle helper method calls to objects that are not beeing
23142           controlled, added test case for that          
23143
23144 2005-08-23  Wim Taymans  <wim@fluendo.com>
23145
23146         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
23147         (gst_event_new_newsegment), (gst_event_parse_newsegment),
23148         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
23149         (gst_event_parse_qos), (gst_event_new_seek),
23150         (gst_event_parse_seek):
23151         * gst/gstevent.h:
23152         Some more debugging output and doc cleanups.
23153
23154         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23155         Fix possible deadlock.
23156
23157 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23158
23159         * docs/gst/gstreamer-docs.sgml:
23160         * docs/gst/gstreamer-sections.txt:
23161         * docs/gst/gstreamer.types:
23162         * docs/gst/tmpl/.cvsignore:
23163         * gst/gstbin.h:
23164         * gst/gstbus.c:
23165         * gst/gstelement.c:
23166         * gst/gstevent.h:
23167           added 100 symbols from gstreamer-unused.txt to the right sections
23168           fixed more broken comments
23169           added GstBus to docs
23170
23171 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23172
23173         * docs/gst/gstreamer-sections.txt:
23174         * docs/gst/tmpl/.cvsignore:
23175         * docs/gst/tmpl/gstbin.sgml:
23176         * docs/gst/tmpl/gstbuffer.sgml:
23177         * gst/base/gstbasesrc.c:
23178         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
23179         * gst/gstbuffer.c:
23180         * gst/gstbuffer.h:
23181         * tools/gst-launch.1.in:
23182           inlined more doc comments, added missing comments and fixed comments
23183           fixed typos
23184
23185 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23186
23187         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23188           some debugging
23189         * gst/gstcaps.h:
23190           whitespace fixes
23191         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
23192           more debugging
23193         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
23194         * gst/gststructure.h:
23195           add a fixate function for booleans; add a FIXME that these func
23196           names should probably be gst_structure_fixate_*
23197
23198 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23199
23200         * docs/gst/gstreamer-docs.sgml:
23201         * docs/gst/gstreamer-sections.txt:
23202         * gst/Makefile.am:
23203         * gst/gstbin.c: (gst_bin_get_type),
23204         (gst_bin_child_proxy_get_child_by_index),
23205         (gst_bin_child_proxy_get_children_count),
23206         (gst_bin_child_proxy_init):
23207         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23208         (gst_child_proxy_get_child_by_index),
23209         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
23210         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
23211         (gst_child_proxy_get), (gst_child_proxy_set_property),
23212         (gst_child_proxy_set_valist), (gst_child_proxy_set),
23213         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
23214         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
23215         * gst/gstchildproxy.h:
23216         * gst/parse/grammar.y:
23217         * tools/gst-inspect.c: (print_interfaces),
23218         (print_element_properties_info), (print_element_info):
23219           ported gstchildproxy over from 0.8
23220           ported gst-inspect fixes and enhancements over from 0.8
23221
23222 2005-08-22  Wim Taymans  <wim@fluendo.com>
23223
23224         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23225         (gst_base_transform_handle_buffer):
23226         Also call the transform function if we have ANY caps.
23227
23228         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
23229         Fix debug info.
23230
23231 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23232
23233         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
23234           Don't pretend to handle seek events if the source is not seekable
23235
23236 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23237
23238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23239           Remove extra parameter to debug output
23240
23241         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23242         (gst_base_src_do_seek), (gst_base_src_activate_push):
23243           Fix seek event handling.
23244
23245         * gst/gstpipeline.c: (gst_pipeline_change_state):
23246         * gst/gstqueue.c: (gst_queue_handle_sink_event),
23247         (gst_queue_src_activate_push):
23248           Don't start the src pad task on FLUSH_STOP if the pad
23249           isn't linked.
23250           Debug changes.
23251
23252 2005-08-22  Wim Taymans  <wim@fluendo.com>
23253
23254         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
23255         Added check for gst_static_caps_get() refcounting.
23256
23257 2005-08-22  Wim Taymans  <wim@fluendo.com>
23258
23259         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
23260         Make _static_caps_get() refcounting sane.
23261         
23262         * gst/gstelement.c: (gst_element_set_state):
23263         Add g_return_val_if_fail() to protect against segfaults.
23264
23265 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
23266
23267         * docs/gst/tmpl/gstevent.sgml:
23268         * gst/gstevent.c:
23269         * gst/gstevent.h:
23270           inlined remaining docs, added missing doc comments
23271
23272 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23273
23274         * check/gst/gstbin.c: (GST_START_TEST):
23275           since we don't know when preroll is done, use refcount range
23276           check for the sink
23277         * gst/check/gstcheck.h:
23278           add macro for checking refcount range
23279
23280 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23281
23282         * check/Makefile.am:
23283           clean up environment for when registry gets built versus
23284           when actual tests are run; valgrind seems to not report
23285           leaks if GST_PLUGIN_PATH is set to some specific values
23286         * check/gst/gstbin.c: (GST_START_TEST):
23287           add more refcounting checks; maybe this exposes a
23288           preroll lock bug ?
23289         * common/check.mak:
23290         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23291         * gst/check/gstcheck.h:
23292         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
23293         (gst_bin_change_state):
23294         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
23295           add/fix debugging/whitespace
23296
23297 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23298
23299         * check/gst/gstevent.c: (event_probe), (test_event),
23300         (GST_START_TEST):
23301          Er, don't call gst_bin_watch_for_state_change you idiot.
23302
23303 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23304
23305         * check/Makefile.am:
23306           Use CHECK_CFLAGS and CHECK_LIBS
23307         * check/gst/gstevent.c: (event_probe), (test_event),
23308         (GST_START_TEST):
23309           Don't leak events.
23310         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23311         (gst_base_src_start), (gst_base_src_stop),
23312         (gst_base_src_activate_push), (gst_base_src_activate_pull),
23313         (gst_base_src_change_state):
23314           Sprinkle gst_base_src_stop liberally around error paths to fix
23315           problems reusing a source after failed state changes.
23316         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23317         (helper_find_suggest), (gst_type_find_helper):
23318           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23319         * gst/gstevent.h:
23320         * docs/gst/tmpl/gstevent.sgml:
23321           Migrate part of the docs from the SGML file. Wait for ensonic to
23322           tell me how I did it wrong ;)
23323         * tools/gst-typefind.c: (main):
23324           Extra robustness to state changes between files.
23325
23326 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23327
23328         * check/Makefile.am:
23329           don't valgrind the controller test - it's leaking - Stefan, HELP
23330         * gst/check/gstcheck.c: (gst_check_message_error),
23331         (gst_check_chain_func), (gst_check_setup_element),
23332         (gst_check_teardown_element), (gst_check_setup_src_pad),
23333         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23334         (gst_check_teardown_sink_pad):
23335         * gst/check/gstcheck.h:
23336           add a bunch of methods to set up elements, and src and sink pads
23337         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23338         * check/elements/identity.c: (setup_identity), (cleanup_identity),
23339         (GST_START_TEST):
23340           use them
23341         * gst/gstmessage.c:
23342         * gst/gsttag.h:
23343           whitespace/doc fixes
23344
23345 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23346
23347         * gst/gstelement.h:
23348           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23349           be handled by the application and not always printed as well
23350
23351 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23352
23353         * check/Makefile.am:
23354           set GST_TOOLS_DIR
23355         * gst/check/gstcheck.c: (gst_check_message_error):
23356         * gst/check/gstcheck.h:
23357           add a fail_unless_equals_int
23358           add fail_unless for error messages
23359
23360 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23361
23362         * check/Makefile.am:
23363         * check/gst.supp:
23364         * common/Makefile.am:
23365         * common/check.mak:
23366         * common/gst.supp:
23367           factor out some of the common stuff so we can use it
23368
23369 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23370
23371         * check/Makefile.am:
23372         * check/gst/gstiterator.c: (GST_START_TEST):
23373         * check/gst/gstsystemclock.c: (GST_START_TEST),
23374         (gst_systemclock_suite):
23375         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23376         * gst/gstclock.c:
23377           valgrind more tests
23378
23379 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * check/elements/.cvsignore:
23382         * check/elements/gstfakesrc.c:
23383           rename to name of element
23384         * check/elements/identity.c: (chain_func), (event_func),
23385         (setup_identity), (cleanup_identity), (GST_START_TEST),
23386         (identity_suite), (main):
23387           add a test for identity
23388         * check/Makefile.am:
23389         * pkgconfig/Makefile.am:
23390         * pkgconfig/gstreamer-check.pc.in:
23391         * pkgconfig/gstreamer-check-uninstalled.pc.in:
23392         * gst/check:
23393         * gst/Makefile.am:
23394         * configure.ac:
23395           move the check stuff to a library that gets installed
23396         * check/gst-libs/controller.c: (GST_START_TEST):
23397         * check/gst-libs/gdp.c:
23398         * check/gst/gst.c: (GST_START_TEST):
23399         * check/gst/gstbin.c:
23400         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23401         * check/gst/gstbus.c:
23402         * check/gst/gstcaps.c: (GST_START_TEST):
23403         * check/gst/gstelement.c:
23404         * check/gst/gstghostpad.c:
23405         * check/gst/gstiterator.c:
23406         * check/gst/gstmessage.c:
23407         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23408         * check/gst/gstobject.c:
23409         * check/gst/gstpad.c: (GST_START_TEST):
23410         * check/gst/gststructure.c: (GST_START_TEST):
23411         * check/gst/gstsystemclock.c: (GST_START_TEST),
23412         (gst_systemclock_suite):
23413         * check/gst/gsttag.c: (gst_tag_suite):
23414         * check/gst/gstvalue.c:
23415         * check/pipelines/cleanup.c:
23416         * check/pipelines/simple_launch_lines.c:
23417         * check/states/sinks.c:
23418           change include statement
23419
23420         * docs/gst/gstreamer-sections.txt:
23421         * docs/gst/tmpl/gstpad.sgml:
23422           document more pad stuff
23423         * gst/gstminiobject.c: (gst_mini_object_ref),
23424         (gst_mini_object_unref):
23425           debug refcounting
23426
23427 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
23428
23429         * docs/gst/tmpl/gst.sgml:
23430         * gst/gst.c:
23431           eliminate another tmpl file, fix spelling in the long-description
23432
23433 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23434
23435         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23436         (test_event), (timediff), (gstevents_suite):
23437           Should fix build on 64-bit arch's
23438
23439 2005-08-18  Andy Wingo  <wingo@pobox.com>
23440
23441         Make sure that when a pipeline goes to PLAYING, that data has
23442         actually hit the sink.
23443
23444         * check/states/sinks.c (test_sink): A sink that doesn't get any
23445         data shouldn't return SUCCESS for going to either PLAYING or
23446         PAUSED. Test also the return values on the way back down.
23447
23448         * gst/gstelement.c (gst_element_set_state): When changing the
23449         state of an element currently changing state asynchronously, go to
23450         lost-state after commiting the pending state. Makes future calls
23451         to get_state continue to return ASYNC.
23452
23453         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23454         ASYNC when going to PLAYING if we still don't have preroll, as can
23455         happen with live sources.
23456
23457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23458
23459         * docs/pwg/advanced-types.xml:
23460           Hack long paragraph into 2 chunks as a workaround for buggy
23461           jadetex version in sid and breezy that loops infinitely and
23462           eats all RAM.
23463
23464 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23465
23466         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23467         (test_event), (timediff), (gstevents_suite):
23468           Provide more error margin in clock measurements to allow for 
23469           g_get_current_time inaccuracies.
23470
23471 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23472
23473         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23474         (test_event), (timediff), (gstevents_suite):
23475            Fix error message output so I might be able to tell why the
23476            test works here but fails on the build farm.
23477
23478 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23479
23480         * check/Makefile.am:
23481         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23482         (test_event), (timediff), (gstevents_suite), (main):
23483           I wrote a test!
23484
23485         * docs/design/part-seeking.txt:
23486           Spelling correction
23487
23488         * docs/gst/tmpl/gstevent.sgml:
23489         * docs/gst/tmpl/gstfakesrc.sgml:
23490           Docs updates.
23491
23492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23493           Treat a buffer-without-newsegment the same as a receiving 
23494           a newsegment not in time format, and disable syncing to the clock
23495           with a warning.
23496
23497         * gst/gstbus.c: (gst_bus_set_sync_handler):
23498           Assert if anyone tries to replace the existing sync_handler for bus, 
23499           as only the owner should be setting it.
23500
23501         * gst/gstevent.h:
23502           Have a fixed set of custom event enums with events identified by
23503           their structure name (as in 0.8), rather than a free-for-all
23504           allowing collisions between enum values from different plugins.
23505
23506         * gst/gstpad.c: (gst_pad_class_init):
23507           Docs change.
23508           
23509         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23510           Handle out-of-band downstream events from the sending thread.
23511
23512 2005-08-17  Andy Wingo  <wingo@pobox.com>
23513
23514         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23515         play-timeout==0 to mean no timeout at all. In that case, don't
23516         bother with a get_state or a warning, just return directly, even
23517         if it's ASYNC.
23518
23519         * gst/base/gstbasetransform.c: Debug changes.
23520
23521         * gst/gstutils.h:
23522         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23523         ensure bins post state change messages. A bit of a hack but I can't
23524         think of a way to avoid it.
23525
23526         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23527
23528 2005-08-16  Andy Wingo  <wingo@pobox.com>
23529
23530         * gst/base/gstadapter.h:
23531         * gst/base/gstadapter.c (gst_adapter_take): New function, like
23532         peek() but you own the data. Not terribly efficient atm.
23533
23534 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23535
23536         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23537         (gst_element_found_tags):
23538         * gst/gstutils.h:
23539           Add two utility functions for tag handling.
23540
23541 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23542
23543         * docs/manual/advanced-dataaccess.xml:
23544         * docs/manual/basics-helloworld.xml:
23545           Fix docs to use _bin_add() before _link(), which fixes the examples
23546           with recent core versions (reported by Madhan Raj M
23547           <raj_madan@rediffmail.com>, #313199).
23548
23549 2005-08-16  Wim Taymans  <wim@fluendo.com>
23550
23551         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23552         Added subtract checks.
23553
23554         * docs/design/part-events.txt:
23555         Some more docs about newsegment
23556
23557         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23558         Fix FIXME
23559
23560         * gst/gstcaps.c: (gst_caps_to_string):
23561         Add comments, cleanups.
23562         
23563         * gst/gstelement.c: (gst_element_save_thyself):
23564         cleanups
23565         
23566         * gst/gstvalue.c: (gst_value_collect_int_range),
23567         (gst_string_unwrap), (gst_value_union_int_int_range),
23568         (gst_value_union_int_range_int_range),
23569         (gst_value_intersect_int_int_range),
23570         (gst_value_intersect_int_range_int_range),
23571         (gst_value_intersect_double_double_range),
23572         (gst_value_intersect_double_range_double_range),
23573         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23574         (gst_value_subtract_int_range_int),
23575         (gst_value_subtract_double_range_double),
23576         (gst_value_subtract_double_range_double_range),
23577         (gst_value_subtract_from_list), (gst_value_subtract_list),
23578         (gst_value_can_compare), (gst_value_compare_fraction):
23579         Cleanups, add comments, remove unneeded asserts.
23580
23581 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23582
23583         * tools/gst-launch.c: (event_loop):
23584           don't convert NULL structures to strings
23585
23586 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
23587
23588         * docs/gst/gstreamer-sections.txt:
23589           made some defines private
23590         * docs/gst/tmpl/gstconfig.sgml:
23591         * docs/gst/tmpl/gstqueue.sgml:
23592         * docs/gst/tmpl/gsttaglist.sgml:
23593         * docs/gst/tmpl/gsttypes.sgml:
23594         * docs/gst/tmpl/gstutils.sgml:
23595         * docs/pwg/appendix-porting.xml:
23596         * gst/base/gstbasesink.h:
23597         * gst/base/gstbasesrc.c:
23598         * gst/base/gstbasesrc.h:
23599         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23600         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23601         * gst/gstelement.c: (gst_element_class_init):
23602         * gst/gstpad.c: (gst_pad_class_init):
23603         * gst/gstqueue.c: (gst_queue_class_init):
23604         * gst/gstxml.c: (gst_xml_class_init):
23605           documented all undocumented signal inline
23606         * libs/gst/controller/gst-controller.h:
23607           added padding
23608
23609 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23610
23611         * docs/pwg/appendix-porting.xml:
23612           Document _set_link_function -> _set_setcaps_function.
23613
23614 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23615
23616         * check/Makefile.am:
23617           add a .check target for running the check
23618         * check/gst-libs/controller.c: (GST_START_TEST):
23619           cosmetic fixups
23620         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23621           complete checks for gstbuffer; would be nice if I could get the
23622           gcov stuff to work so I can see if I actually completed gstbuffer.c
23623         * check/gstcheck.h:
23624           add ASSERT_BUFFER_REFCOUNT
23625
23626 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
23627
23628         * docs/gst/gstreamer-sections.txt:
23629         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23630         * gst/gsttag.h:
23631           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23632           spew out a warning if a tag that is already registered
23633           is re-registered, unless it is re-registered with a 
23634           different type (#308438).
23635
23636 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
23637
23638         * docs/pwg/appendix-porting.xml:
23639         * docs/pwg/building-state.xml:
23640           Add some paragraphs about state changes in 0.9 to the PWG
23641           and the porting guide, in particular about the new meaning
23642           of GST_STATE_PAUSED and how to write state change functions
23643           with concurrent access by multiple threads in mind.
23644
23645 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
23646
23647         * docs/gst/gstreamer-docs.sgml:
23648         * docs/libs/gstreamer-libs-docs.sgml:
23649           added deprecation and since indexes
23650         * libs/gst/controller/gst-controller.c:
23651         * libs/gst/controller/gst-helper.c:
23652           added since tags
23653
23654
23655 2005-08-11  Wim Taymans  <wim@fluendo.com>
23656
23657         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23658         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23659         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23660         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23661         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23662         (gst_ghost_pad_set_target):
23663         Actually implement (re)setting the target on a ghostpad
23664         as described in the docs.
23665
23666 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23667
23668         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23669           Check whether GST_DEBUG_NO_COLOR environment variable is
23670           set and disable coloured debug output if that is the case.
23671
23672 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23673
23674         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23675         (gst_type_find_helper):
23676           The memory returned by gst_type_find_peek() needs to
23677           stay valid until the end of a typefind function, and
23678           typefind functions may keep results from different 
23679           offsets around, so we can't just unref the buffer from
23680           the previous _peek(), but have to save all buffers 
23681           returned by _peek() until typefinding is done and only
23682           free them then.
23683
23684 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
23685
23686         * docs/gst/gstreamer-sections.txt:
23687         * gst/gstutils.h:
23688           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23689
23690 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23691
23692         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23693           Fix a pretty good memleak.
23694
23695 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23696
23697         * gst/gstiterator.h:
23698           Fix wrong include and 'make distcheck'.
23699
23700 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23701
23702         * gst/gstbin.c: (bin_bus_handler):
23703           Use gst_element_post_message() instead.
23704
23705 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23706
23707         * gst/base/gstadapter.h:
23708         * gst/base/gstbasesink.h:
23709         * gst/base/gstbasesrc.h:
23710         * gst/base/gstbasetransform.h:
23711         * gst/base/gstcollectpads.h:
23712         * gst/base/gstpushsrc.h:
23713         * gst/gstiterator.h:
23714           Add padding to our base elements' class and instance structs and
23715           to GstIterator (you will need to rebuild all plugins and apps!)
23716
23717 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23718
23719         * gst/gstbin.c: (bin_bus_handler):
23720           Make default message forwarding from child->bus to bin->bus
23721           threadsafe and make it not emit warnings if the parent has no bus.
23722
23723 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23724
23725         * gst/gstelement.c: (activate_pads):
23726           On paused->ready, set pad->caps to NULL, as is the documented
23727           behaviour in this state change. Fixes playback of series of
23728           media files when visualization is enabled in Totem.
23729
23730 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23731
23732         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23733           Allow NULL as filter-caps (which means "any").
23734
23735 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23736
23737         * docs/libs/gstreamer-libs-sections.txt:
23738         * libs/gst/controller/gst-controller.c:
23739         * libs/gst/controller/gst-controller.h:
23740         * libs/gst/controller/gst-helper.c:
23741           adding more entries to the docs and fix small doc-bugs
23742
23743 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23744
23745         * docs/gst/gstreamer-docs.sgml:
23746         * docs/gst/gstreamer-sections.txt:
23747         * docs/gst/gstreamer.types:
23748         * docs/gst/tmpl/gstbasesink.sgml:
23749         * docs/gst/tmpl/gstbasesrc.sgml:
23750         * docs/gst/tmpl/gstbasetransform.sgml:
23751         * docs/gst/tmpl/gstfakesrc.sgml:
23752         * gst/base/gstcollectpads.c:
23753         * gst/base/gstcollectpads.h:
23754         * libs/gst/controller/gst-controller.c:
23755         * libs/gst/controller/gst-controller.h:
23756         * libs/gst/controller/gst-helper.c:
23757         * libs/gst/controller/gst-interpolation.c:
23758         * libs/gst/controller/lib.c:
23759           added long/short desc for controller docs
23760           added collectpads base class docs
23761           added correct includes to base-class docs
23762
23763 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23764
23765         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23766         (gst_test_mono_source_set_property),
23767         (gst_test_mono_source_class_init), (GST_START_TEST),
23768         (gst_controller_suite):
23769         * docs/gst/gstreamer-docs.sgml:
23770         * docs/gst/gstreamer-sections.txt:
23771         * docs/gst/gstreamer.types:
23772         * docs/libs/gstreamer-libs-docs.sgml:
23773         * docs/libs/gstreamer-libs-sections.txt:
23774         * gst/base/gstadapter.c:
23775         * libs/gst/controller/gst-controller.c:
23776         (gst_controlled_property_new), (gst_controlled_property_free),
23777         (gst_controller_new_valist),
23778         (gst_controller_remove_properties_valist),
23779         (gst_controller_sink_values), (_gst_controller_finalize):
23780         * libs/gst/controller/gst-controller.h:
23781         * libs/gst/controller/gst-helper.c:
23782         (gst_object_control_properties), (gst_object_uncontrol_properties),
23783         (gst_object_get_controller), (gst_object_set_controller),
23784         (gst_object_sink_values), (gst_object_get_value_arrays),
23785         (gst_object_get_value_array):
23786           more tests (and fixes) for the controller
23787           more docs for the controller
23788           integrated companies docs for the adapter 
23789
23790 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23791
23792         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23793         (GST_START_TEST), (fakesrc_suite):
23794           add tests for sizetype
23795
23796 2005-08-04  Andy Wingo  <wingo@pobox.com>
23797
23798         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23799         fixes buffer_alloc proxying among other things.
23800
23801         * gst/base/gstbasetransform.c:
23802         * gst/base/gstbasetransform.h:
23803         Revert patch to gstbasetransform from 7-28 removing
23804         delay_configure.
23805
23806         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23807         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23808         Semantics changed, should return not the size of the output buffer
23809         but the byte size of a buffer with a given caps.
23810
23811         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23812         debug object.
23813         (gst_base_transform_configure_caps): Don't set out_size here: (in,
23814         out) are not the pad caps until setcaps finishes.
23815         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23816         not-in-place case as well. Deal with changing from in-place to
23817         not-in-place within calling pad_alloc_buffer. Still a bit
23818         concerned about the overhead here...
23819
23820 2005-08-03  Andy Wingo  <wingo@pobox.com>
23821
23822         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23823         fixating is an error.
23824
23825 2005-08-04  Edward Hervey  <edward@fluendo.com>
23826
23827         * gst/base/gstadapter.h: 
23828         Added gst_adapter_get_type() to the header
23829
23830 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23831
23832         * check/Makefile.am:
23833         * check/gst-libs/controller.c:
23834         * libs/gst/controller/gst-controller.c:
23835         (gst_controller_new_valist):
23836           added check test suite for the controller
23837         * gst/base/gstpushsrc.c:
23838           fixed a doc typo
23839
23840 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23841
23842         * docs/gst/Makefile.am:
23843         * docs/gst/gstreamer-docs.sgml:
23844         * docs/gst/gstreamer-sections.txt:
23845         * docs/gst/gstreamer.types:
23846         * docs/gst/tmpl/gstfakesrc.sgml:
23847         * gst/base/README:
23848         * gst/base/gstbasesink.c:
23849         * gst/base/gstbasesink.h:
23850         * gst/base/gstbasesrc.c:
23851         * gst/base/gstbasesrc.h:
23852         * gst/base/gstbasetransform.c:
23853         * gst/base/gstpushsrc.c:
23854         * gst/base/gstpushsrc.h:
23855           add short/long description docs to base classes
23856           add pushsrc to the docs
23857           remove consolidated doc fragments
23858
23859 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23860
23861         * configure.ac:
23862         * docs/libs/Makefile.am:
23863         * docs/libs/gstreamer-libs-docs.sgml:
23864         * docs/libs/gstreamer-libs-sections.txt:
23865         * docs/libs/gstreamer-libs.types:
23866         * examples/Makefile.am:
23867         * examples/controller/.cvsignore:
23868         * examples/controller/Makefile.am:
23869         * examples/controller/audio-example.c: (main):
23870         * libs/gst/Makefile.am:
23871         * libs/gst/controller/.cvsignore:
23872         * libs/gst/controller/Makefile.am:
23873         * libs/gst/controller/gst-controller.c:
23874         (on_object_controlled_property_changed), (gst_timed_value_compare),
23875         (gst_timed_value_find),
23876         (gst_controlled_property_set_interpolation_mode),
23877         (gst_controlled_property_new), (gst_controlled_property_free),
23878         (gst_controller_find_controlled_property),
23879         (gst_controller_new_valist), (gst_controller_new),
23880         (gst_controller_remove_properties_valist),
23881         (gst_controller_remove_properties), (gst_controller_set),
23882         (gst_controller_set_from_list), (gst_controller_unset),
23883         (gst_controller_get), (gst_controller_get_all),
23884         (gst_controller_sink_values), (gst_controller_get_value_arrays),
23885         (gst_controller_get_value_array),
23886         (gst_controller_set_interpolation_mode),
23887         (_gst_controller_finalize), (_gst_controller_init),
23888         (_gst_controller_class_init), (gst_controller_get_type):
23889         * libs/gst/controller/gst-controller.h:
23890         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23891         (g_object_uncontrol_properties), (g_object_get_controller),
23892         (g_object_set_controller), (g_object_sink_values),
23893         (g_object_get_value_arrays), (g_object_get_value_array):
23894         * libs/gst/controller/gst-interpolation.c:
23895         (gst_controlled_property_find_timed_value_node),
23896         (interpolate_none_get), (interpolate_trigger_get),
23897         (interpolate_trigger_get_value_array):
23898         * libs/gst/controller/lib.c: (gst_controller_init):
23899         * pkgconfig/Makefile.am:
23900         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23901         * pkgconfig/gstreamer-control.pc.in:
23902         * testsuite/Makefile.am:
23903         * testsuite/controller/.cvsignore:
23904         * testsuite/controller/Makefile.am:
23905         * testsuite/controller/interpolator.c: (main):
23906           added controller code
23907           removed dparam pc files
23908
23909 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23910         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23911         (gst_collectpads_stop):
23912           Broadcast the condition when shutting down, to make sure we wake all
23913           threads up. Shut down pads on finalize, for safety.
23914
23915 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23916         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23917         (gst_base_transform_handle_buffer),
23918         (gst_base_transform_change_state):
23919           Handle PAUSED->READY->PAUSED transition after negotiation
23920           occurred already.
23921         * gst/gstmessage.c: (gst_message_init):
23922           Extra piece of debug for new messages.
23923
23924 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23925
23926         * configure.ac:
23927         * docs/gst/tmpl/gstbasesrc.sgml:
23928         * docs/gst/tmpl/gstelement.sgml:
23929         * docs/gst/tmpl/gstevent.sgml:
23930         * docs/gst/tmpl/gstfakesrc.sgml:
23931         * docs/gst/tmpl/gstformat.sgml:
23932         * docs/gst/tmpl/gstghostpad.sgml:
23933         * docs/gst/tmpl/gstpad.sgml:
23934         * docs/gst/tmpl/gstquery.sgml:
23935         * docs/gst/tmpl/gststructure.sgml:
23936         * docs/gst/tmpl/gsttaglist.sgml:
23937         * docs/gst/tmpl/gstvalue.sgml:
23938         * docs/libs/gstreamer-libs-docs.sgml:
23939         * docs/libs/gstreamer-libs-sections.txt:
23940         * docs/libs/gstreamer-libs.types:
23941         * libs/gst/Makefile.am:
23942         * libs/gst/control/.cvsignore:
23943         * libs/gst/control/Makefile.am:
23944         * libs/gst/control/control.c:
23945         * libs/gst/control/control.h:
23946         * libs/gst/control/dparam.c:
23947         * libs/gst/control/dparam.h:
23948         * libs/gst/control/dparam_smooth.c:
23949         * libs/gst/control/dparam_smooth.h:
23950         * libs/gst/control/dparamcommon.h:
23951         * libs/gst/control/dparammanager.c:
23952         * libs/gst/control/dparammanager.h:
23953         * libs/gst/control/dplinearinterp.c:
23954         * libs/gst/control/dplinearinterp.h:
23955         * libs/gst/control/unitconvert.c:
23956         * libs/gst/control/unitconvert.h:
23957         * testsuite/Makefile.am:
23958         * testsuite/dynparams/.cvsignore:
23959         * testsuite/dynparams/Makefile.am:
23960         * testsuite/dynparams/dparamstest.c:
23961         * tools/Makefile.am:
23962         * tools/gst-inspect.c: (print_element_info), (main):
23963         * tools/gst-xmlinspect.c: (print_element_info), (main):
23964           deactivate and remove dparams (libgstcontrol)
23965
23966 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23967
23968         * gst/elements/gsttypefindelement.c:
23969         (gst_type_find_element_have_type), (gst_type_find_element_init),
23970         (stop_typefinding), (gst_type_find_element_handle_event),
23971         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23972         * gst/elements/gsttypefindelement.h:
23973           Set caps on all outgoing buffers, not just the first one.
23974
23975 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23976
23977         * gst/elements/gsttypefindelement.c:
23978         (gst_type_find_element_have_type),
23979         (gst_type_find_element_check_set_buffer_caps),
23980         (gst_type_find_element_init), (stop_typefinding),
23981         (gst_type_find_element_handle_event),
23982         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23983         * gst/elements/gsttypefindelement.h:
23984           Set caps on first outgoing buffer when we've found the type.
23985
23986 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23987
23988         * docs/gst/gstreamer-docs.sgml:
23989         * docs/gst/gstreamer-sections.txt:
23990         * docs/gst/tmpl/gstscheduler.sgml:
23991         * docs/gst/tmpl/gstschedulerfactory.sgml:
23992           Remove some old cruft from docs.
23993
23994 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23995
23996         * gst/gstpad.h:
23997           Fix inline docs for GstPadLinkReturn.
23998           
23999         * gst/gststructure.c: (gst_structure_has_name):
24000         * gst/gststructure.h:
24001         * docs/gst/gstreamer-sections.txt:
24002           New API: gst_structure_has_name().
24003
24004 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24005
24006         * configure.ac:
24007           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24008           and _LARGEFILE_SOURCE in config.h as required. Do not 
24009           export those flags in our .pc files any longer (#142209).
24010
24011           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24012
24013         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24014         (gst_file_sink_do_seek), (gst_file_sink_event),
24015         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24016           Redo seek/tell calls with large file support in mind; add some
24017           debugging messages; add log message that tells us when large
24018           file support is unavailable or not enabled for some reason.
24019
24020         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24021           Add log message that tells us when large file support 
24022           is unavailable or not enabled for some reason.
24023
24024 2005-07-29  Wim Taymans  <wim@fluendo.com>
24025
24026         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24027         Added test for removing an element with ghostpad from a bin.
24028         Fixed test as current implementation does the right thing.
24029
24030         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24031         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24032         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24033         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24034         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24035         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24036         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24037         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24038         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24039         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24040         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24041         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24042         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24043         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24044         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24045         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24046         * gst/gstghostpad.h:
24047         Clean up ghostpads, remove properties for internal stuff.
24048         Make threadsafe.
24049         Fix refcounting.
24050         Prepare for switching targets, not all use cases work yet.
24051
24052 2005-07-29  Wim Taymans  <wim@fluendo.com>
24053
24054         * docs/design/part-gstghostpad.txt:
24055         Small update.
24056
24057         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24058         (gst_bin_remove_func):
24059         Unlinking pads while holding the bin LOCK is not a good
24060         idea.
24061
24062         * gst/gstpad.c: (gst_pad_class_init),
24063         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
24064         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
24065         No prob setting template after creating the pad.
24066
24067 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
24068
24069         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
24070         (gst_bus_peek), (gst_bus_source_dispatch),
24071         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
24072         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
24073           gst_bus_poll may be called from other threads. Handle
24074           this nicely by not making poll_data disappear off the
24075           stack once gst_bus_poll returns.
24076           gst_bus_peek now increments the refcount on the returned
24077           message.
24078
24079 2005-07-29  Wim Taymans  <wim@fluendo.com>
24080
24081         * docs/design/part-gstghostpad.txt:
24082         Overview of current GhostPad datastructures and use
24083         cases for changing the target.
24084
24085 2005-07-28  Wim Taymans  <wim@fluendo.com>
24086
24087         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24088         Added checks for hierarchy consistency whan adding linked
24089         elements to bins.
24090
24091         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24092         Added check to test element scheduling without bin/pipeline.
24093
24094         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24095         First add elements to bin, then link.
24096         
24097         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24098         (gst_bin_remove_func):
24099         Unlink pads from elements added/removed from bin to maintain
24100         hierarchy consistency.
24101
24102 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24103
24104         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24105         (gst_base_transform_handle_buffer):
24106         * gst/base/gstbasetransform.h:
24107           Remove broken delay_configure (fixes renegotiation of software
24108           scaling pipelines); remove some leftover printf()s.
24109
24110 2005-07-28  Wim Taymans  <wim@fluendo.com>
24111
24112         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24113         Added some more tests for wrong hierarchy
24114
24115         * docs/design/part-overview.txt:
24116         Some updates.
24117
24118         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
24119         Cleanups.
24120
24121         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
24122         (gst_element_dispose):
24123         Some more cleanups.
24124
24125         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24126         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
24127         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24128         (gst_pad_set_caps), (gst_pad_send_event):
24129         Check for correct hierarchy when linking pads. Moving to
24130         strict requirement for ghostpads when linking elements in
24131         different bins.
24132
24133         * gst/gstpad.h:
24134         Clean ups. Added WRONG_HIERARCHY return value.
24135
24136 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24137
24138         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24139           Better debug if no transform is possible.
24140
24141 2005-07-27  Wim Taymans  <wim@fluendo.com>
24142
24143         * docs/random/wtay/network-transp:
24144         Some old doc I had.
24145
24146 2005-07-27  Wim Taymans  <wim@fluendo.com>
24147
24148         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24149         (gst_dp_event_from_packet):
24150         Fix serialization of seek events.
24151
24152 2005-07-27  Wim Taymans  <wim@fluendo.com>
24153
24154         * check/gst-libs/gdp.c: (GST_START_TEST):
24155         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24156         Fix compilation and fix event serialization.
24157
24158 2005-07-27  Wim Taymans  <wim@fluendo.com>
24159
24160         * CHANGES-0.9:
24161         * docs/design/part-TODO.txt:
24162         * docs/design/part-events.txt:
24163         Some docs updates
24164
24165         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24166         (gst_base_sink_event), (gst_base_sink_do_sync),
24167         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24168         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24169         (gst_base_src_do_seek), (gst_base_src_event_handler),
24170         (gst_base_src_loop):
24171         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24172         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24173         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24174         (gst_base_transform_event), (gst_base_transform_handle_buffer),
24175         (gst_base_transform_set_passthrough),
24176         (gst_base_transform_is_passthrough):
24177         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24178         * gst/elements/gstfilesink.c: (gst_file_sink_event):
24179         Event updates.
24180
24181         * gst/gstbuffer.h:
24182         Use faster casts.
24183
24184         * gst/gstelement.c: (gst_element_seek):
24185         * gst/gstelement.h:
24186         Update gst_element_seek.
24187
24188         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
24189         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
24190         (gst_event_new_flush_start), (gst_event_new_flush_stop),
24191         (gst_event_new_eos), (gst_event_new_newsegment),
24192         (gst_event_parse_newsegment), (gst_event_new_tag),
24193         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
24194         (gst_event_parse_qos), (gst_event_new_seek),
24195         (gst_event_parse_seek), (gst_event_new_navigation):
24196         * gst/gstevent.h:
24197         Make GstEvent use GstStructure. Add parsing code, make sure the
24198         API is sufficiently generic.
24199         Mark possible directions of events and serialization.
24200
24201         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
24202         (_gst_message_copy), (gst_message_new_segment_start),
24203         (gst_message_new_segment_done), (gst_message_new_custom),
24204         (gst_message_parse_segment_start),
24205         (gst_message_parse_segment_done):
24206         Small cleanups.
24207
24208         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24209         (gst_pad_set_caps), (gst_pad_send_event):
24210         Update for new events. 
24211         Catch events sent in wrong directions.
24212
24213         * gst/gstqueue.c: (gst_queue_link_src),
24214         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24215         (gst_queue_handle_src_query):
24216         Event updates.
24217
24218         * gst/gsttag.c:
24219         * gst/gsttag.h:
24220         Remove event code from this file.
24221
24222         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24223         (gst_dp_event_from_packet):
24224         Event updates.
24225
24226 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24227
24228         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
24229         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24230         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
24231           Make debugging actually useful.
24232
24233 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24234
24235         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
24236         (gst_pad_fixate_caps):
24237           Implement default fixation once again, so that gst_pad_fixate()
24238           actually does anything at all. This probably needs to be some
24239           sort of a last resort, and use profile-based fixation first, but
24240           since that doesn't exist yet, this is the best we have. Fixes
24241           visualization in Totem.
24242
24243 2005-07-22  Wim Taymans  <wim@fluendo.com>
24244
24245         * docs/design/part-events.txt:
24246         Small update.
24247
24248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24249         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
24250         (gst_base_sink_activate_pull):
24251         Some more comments.
24252
24253         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
24254         (gst_fake_src_create):
24255         Fix handoff marshall.
24256
24257         * gst/elements/gstidentity.c: (gst_identity_class_init),
24258         (gst_identity_transform_ip):
24259         We're a real inplace element.
24260
24261         * gst/gstbus.c: (gst_bus_post):
24262         Added some comments.
24263
24264         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
24265         * tests/muxing/case1.c: (main):
24266         * tests/sched/dynamic-pipeline.c: (main):
24267         * tests/sched/interrupt1.c: (main):
24268         * tests/sched/interrupt2.c: (main):
24269         * tests/sched/interrupt3.c: (main):
24270         * tests/sched/runxml.c: (main):
24271         * tests/sched/sched-stress.c: (main):
24272         * tests/seeking/seeking1.c: (event_received), (main):
24273         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24274         (main):
24275         * tests/threadstate/threadstate3.c: (main):
24276         * tests/threadstate/threadstate4.c: (main):
24277         * tests/threadstate/threadstate5.c: (main):
24278         Fix the tests.
24279
24280 2005-07-21  Wim Taymans  <wim@fluendo.com>
24281
24282         * docs/design/part-seeking.txt:
24283         Some small additions.
24284
24285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24286         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24287         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24288         * gst/base/gstbasesink.h:
24289         discont values are gint64, handle the math correctly.
24290
24291         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24292         Make the basesrc report error if the source pad is not linked.
24293
24294         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
24295         (gst_queue_loop), (gst_queue_handle_src_query),
24296         (gst_queue_src_activate_push):
24297         Make queue collect data even if the srcpad is not linked.
24298         Start pushing out data as soon as it is linked.
24299
24300         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
24301         * gst/gstutils.h:
24302         Added gst_flow_get_name() to ease error reporting.
24303
24304 2005-07-20  Wim Taymans  <wim@fluendo.com>
24305
24306         * gst/gstmessage.c: (gst_message_new_segment_start),
24307         (gst_message_new_segment_done), (gst_message_parse_segment_start),
24308         (gst_message_parse_segment_done):
24309         * gst/gstmessage.h:
24310         Added a bunch of messages for advanced seeking.
24311
24312         * gst/parse/grammar.y:
24313         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24314         (gst_dpman_state_changed):
24315         Fix some new-pad -> pad-added signals
24316
24317 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24318
24319         * docs/manual/appendix-porting.xml:
24320         * docs/pwg/appendix-porting.xml:
24321           Document new-pad/state-change signal renames and the FixedList
24322           type rename.
24323
24324 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24325
24326         * docs/manual/advanced-autoplugging.xml:
24327         * docs/manual/basics-helloworld.xml:
24328         * docs/manual/basics-pads.xml:
24329         * docs/random/ds/0.9-suggested-changes:
24330         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24331         * gst/gstelement.h:
24332         * gst/gstevent.h:
24333         * gst/gstformat.h:
24334         * gst/gstquery.h:
24335         * gst/gststructure.c: (gst_structure_value_get_generic_type),
24336         (gst_structure_parse_array), (gst_structure_parse_value):
24337         * gst/gstvalue.c: (gst_type_is_fixed),
24338         (gst_value_list_prepend_value), (gst_value_list_append_value),
24339         (gst_value_list_get_size), (gst_value_list_get_value),
24340         (gst_value_transform_array_string), (gst_value_serialize_array),
24341         (gst_value_deserialize_array), (gst_value_intersect_array),
24342         (gst_value_is_fixed), (_gst_value_initialize):
24343         * gst/gstvalue.h:
24344           GstElement::new-pad -> pad-added, GstElement::state-change ->
24345           state-changed, GstValueFixedList -> GstValueArray, add format and
24346           flags as their own arguments in gst_element_seek() (should improve
24347           "bindeability"), remove function generators since they don't work
24348           under a whole bunch of compilers (they were deprecated already
24349           anyway).
24350
24351 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24352
24353         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24354         (_gst_debug_register_funcptr):
24355         * gst/gstinfo.h:
24356           Fix illegal cast on some platforms (#309253).
24357
24358 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24359
24360         * gst/gstmessage.c: (gst_message_new_custom):
24361         * gst/gstmessage.h:
24362           Add _new_custom, make _new_application a macro to _new_custom.
24363
24364 2005-07-20  Wim Taymans  <wim@fluendo.com>
24365
24366         * gst/base/gstbasesrc.c: (gst_base_src_init),
24367         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24368         * gst/base/gstbasesrc.h:
24369         Add a gboolean to decide when to push out a discont.
24370
24371         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24372         (gst_queue_loop), (gst_queue_handle_src_query),
24373         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24374         (gst_queue_set_property), (gst_queue_get_property):
24375         Some cleanups.
24376
24377         * tests/threadstate/threadstate1.c: (main):
24378         Make a thread test compile and run... very silly..
24379
24380
24381 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24382
24383         * docs/manual/appendix-porting.xml:
24384           Mention removal of libgstgconf-0.9.la and existence of gconf
24385           elements.
24386
24387 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24388
24389         * docs/pwg/advanced-clock.xml:
24390         * docs/pwg/appendix-porting.xml:
24391         * docs/pwg/intro-preface.xml:
24392         * docs/pwg/other-base.xml:
24393         * docs/pwg/other-manager.xml:
24394         * docs/pwg/other-nton.xml:
24395         * docs/pwg/other-ntoone.xml:
24396         * docs/pwg/other-oneton.xml:
24397         * docs/pwg/pwg.xml:
24398           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24399           demuxer), remove n-to-n (was never written), fix some code examples
24400           and links and update the porting section to include all this.
24401
24402 2005-07-19  Wim Taymans  <wim@fluendo.com>
24403
24404         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24405         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24406         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24407         (gst_queue_src_activate_push), (gst_queue_change_state),
24408         (gst_queue_get_property):
24409         * gst/gstqueue.h:
24410         Propagate GstFlowReturn more intelligently upstream and output
24411         an ERROR/EOS when streaming stopped due to fatal error.
24412
24413 2005-07-19  Wim Taymans  <wim@fluendo.com>
24414
24415         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24416         Don't block forever for the state change to complete, the
24417         pipeline already did with a sensible timeout.
24418
24419 2005-07-19  Wim Taymans  <wim@fluendo.com>
24420
24421         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24422         Make sure we never call the create function is we
24423         got deactivated.
24424
24425 2005-07-19  Andy Wingo  <wingo@pobox.com>
24426
24427         * gst/parse/parse.l: Attempt to solve bug #172815.
24428
24429 2005-07-19  Wim Taymans  <wim@fluendo.com>
24430
24431         * docs/design/part-clocks.txt:
24432         * docs/design/part-events.txt:
24433         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24434         Small docs updates.
24435         Only update the seeking values when we are not
24436         busy streaming.
24437
24438 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24439
24440         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24441           Oops, ignore the result of gst_pad_push_event here.
24442
24443 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24444
24445         * gst/base/gstbasesrc.c: (gst_base_src_loop),
24446         (gst_base_src_activate_push):
24447           Send discont event from the loop function, as pads
24448           aren't activated yet in the activate_push handler.
24449
24450         * gst/gstbin.c: (bin_bus_handler):
24451           Don't leak element name.
24452
24453 2005-07-18  Andy Wingo  <wingo@pobox.com>
24454
24455         * configure.ac: Use AS_LIBTOOL_TAGS.
24456
24457 2005-07-18  Wim Taymans  <wim@fluendo.com>
24458
24459         * docs/gst/gstreamer.types:
24460         Remove deleted types.
24461
24462 2005-07-18  Wim Taymans  <wim@fluendo.com>
24463
24464         * check/elements/gstfakesrc.c: (GST_START_TEST):
24465         * configure.ac:
24466         * gst/Makefile.am:
24467         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24468         (init_popt_callback):
24469         * gst/gst.h:
24470         * gst/gst_private.h:
24471         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24472         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24473         * gst/gstbin.h:
24474         * gst/gstbus.h:
24475         * gst/gstconfig.h.in:
24476         * gst/gstelement.c: (gst_element_class_init),
24477         (gst_element_set_base_time), (gst_element_get_base_time),
24478         (iterator_fold_with_resync), (gst_element_change_state),
24479         (gst_element_dispose), (gst_element_get_bus):
24480         * gst/gstelement.h:
24481         * gst/gstelementfactory.h:
24482         * gst/gsterror.c: (_gst_core_errors_init):
24483         * gst/gsterror.h:
24484         * gst/gstevent.h:
24485         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24486         * gst/gstindex.c:
24487         * gst/gstinfo.c: (_gst_debug_init):
24488         * gst/gstmessage.c: (_gst_message_copy):
24489         * gst/gstmessage.h:
24490         * gst/gstminiobject.h:
24491         * gst/gstobject.c:
24492         * gst/gstobject.h:
24493         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24494         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24495         * gst/gstpad.h:
24496         * gst/gstparse.h:
24497         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24498         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24499         (gst_pipeline_get_last_stream_time):
24500         * gst/gstpipeline.h:
24501         * gst/gstpluginfeature.h:
24502         * gst/gstquery.h:
24503         * gst/gstscheduler.c:
24504         * gst/gstscheduler.h:
24505         * gst/gststructure.h:
24506         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24507         (gst_task_finalize), (gst_task_func), (gst_task_create),
24508         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24509         (gst_task_stop), (gst_task_pause):
24510         * gst/gsttask.h:
24511         * gst/gsttypefind.h:
24512         * gst/gsttypes.h:
24513         * gst/registries/gstlibxmlregistry.c: (load_feature),
24514         (gst_xml_registry_load), (gst_xml_registry_save_feature):
24515         * gst/registries/gstxmlregistry.c:
24516         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24517         * gst/schedulers/threadscheduler.c:
24518         * libs/gst/control/dparammanager.h:
24519         * tools/gst-inspect.c: (print_element_list),
24520         (print_plugin_features), (print_element_features):
24521         * tools/gst-xmlinspect.c: (print_element_list),
24522         (print_plugin_info), (main):
24523         Removed plugable schedulers.
24524         Removed Scheduler/Manager from elements.
24525         Removed gsttypes.h, rearranged includes.
24526         Removed dependency pad<->element, element<>pipeline, and
24527         various others,  fix includes.
24528         implement gst_pad_get_parent() with gst_object_get_parent()
24529         Make GstTask sefcontained.
24530         Fix _get_state() on GstBin, it did not return ASYNC with a 0
24531         timeout.
24532         Fix endless loop in iterator_fold_with_resync.
24533
24534
24535 2005-07-18  Wim Taymans  <wim@fluendo.com>
24536
24537         * gst/Makefile.am:
24538         * gst/gstarch.h:
24539         Remove old file.
24540
24541 2005-07-18  Wim Taymans  <wim@fluendo.com>
24542
24543         * gst/Makefile.am:
24544         No more cothreads.h
24545
24546 2005-07-18  Wim Taymans  <wim@fluendo.com>
24547
24548         * gst/cothreads.c:
24549         * gst/cothreads.h:
24550         Let's remove these.
24551
24552 2005-07-18  Wim Taymans  <wim@fluendo.com>
24553
24554         * docs/design/part-dynamic.txt:
24555         * docs/design/part-events.txt:
24556         * docs/design/part-seeking.txt:
24557         Some more docs in the works.
24558
24559         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24560         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24561         (gst_base_transform_setcaps), (gst_base_transform_get_size),
24562         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24563         (gst_base_transform_handle_buffer),
24564         (gst_base_transform_sink_activate_push),
24565         (gst_base_transform_src_activate_pull),
24566         (gst_base_transform_set_passthrough),
24567         (gst_base_transform_is_passthrough):
24568         Refcounting fixes.
24569
24570         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24571         Cleanups.
24572
24573         * gst/gstevent.c: (gst_event_finalize):
24574         Set SRC to NULL.
24575
24576         * gst/gstutils.c: (gst_element_unlink),
24577         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24578         (gst_pad_proxy_setcaps):
24579         * gst/gstutils.h:
24580         Add _get_parent_element() to get a pads parent as an element.
24581
24582 2005-07-18  Wim Taymans  <wim@fluendo.com>
24583
24584         * check/gst/gstbin.c: (GST_START_TEST):
24585         Remove bogus test.
24586
24587 2005-07-18  Wim Taymans  <wim@fluendo.com>
24588
24589         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24590         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24591         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24592         (gst_base_sink_event), (gst_base_sink_do_sync),
24593         (gst_base_sink_chain), (gst_base_sink_loop),
24594         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24595         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24596         Refcounting fixes.
24597         Fix logic for returning ASYNC when not prerolled.
24598
24599 2005-07-18  Wim Taymans  <wim@fluendo.com>
24600
24601         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24602         Fix nasty refcount bug.
24603
24604 2005-07-16 Philippe Khalaf <burger@speedy.org>
24605
24606         * gst/elements/gstfdsrc.c:
24607         * gst/elements/gstfdsrc.h:
24608         * gst/elements/gstelements.c:
24609         * gst/elements/Makefile.am:
24610         Ported fdsrc to 0.9.
24611
24612 2005-07-16  Wim Taymans  <wim@fluendo.com>
24613
24614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24615         (gst_base_sink_do_sync):
24616         Fix compile error.
24617
24618 2005-07-16  Wim Taymans  <wim@fluendo.com>
24619
24620         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24621         (gst_base_sink_event), (gst_base_sink_get_times),
24622         (gst_base_sink_do_sync), (gst_base_sink_change_state):
24623         * gst/base/gstbasesink.h:
24624         Store and use discont values when syncing buffers as described
24625         in design docs.
24626         
24627         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24628         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24629         (gst_base_src_activate_push):
24630         Push discont event when starting.
24631
24632         * gst/elements/gstidentity.c: (gst_identity_transform):
24633         Small cleanups.
24634
24635         * gst/gstbin.c: (gst_bin_change_state):
24636         Small cleanups in base_time  distribution.
24637
24638         * gst/gstelement.c: (gst_element_set_base_time),
24639         (gst_element_get_base_time), (gst_element_change_state):
24640         * gst/gstelement.h:
24641         Added methods for the base_time of the element.
24642         Some MT fixes.
24643
24644         * gst/gstpipeline.c: (gst_pipeline_send_event),
24645         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24646         (gst_pipeline_get_last_stream_time):
24647         * gst/gstpipeline.h:
24648         MT fixes.
24649         Handle seeking as described in design doc, remove stream_time
24650         hack.
24651         Cleanups clock and stream_time selection code. Added accessors
24652         for the stream_time.
24653         
24654
24655 2005-07-16  Andy Wingo  <wingo@pobox.com>
24656
24657         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24658         (#305291).
24659
24660 2005-07-16  Wim Taymans  <wim@fluendo.com>
24661
24662         * check/gst/gstbin.c: (GST_START_TEST):
24663         Make elements silent as the deep_notify refs the
24664         parent, which might make the test fail.
24665
24666         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24667         Don't hold the lock for too long.
24668
24669 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
24670
24671         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24672           Don't unref the caps we passed to gst_caps_make_writable() after
24673           passing them. gst_caps_make_writable() will do that for us.
24674
24675 2005-07-15  Andy Wingo  <wingo@pobox.com>
24676
24677         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24678         (#157311).
24679
24680         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24681         own marshalling function for the handoff signal. Properly type the
24682         buffer as a buffer. Fixes some warnings. Should do a more general
24683         solution.
24684         (gst_identity_class_init): Plug into the right marshaller.
24685
24686 2005-07-15  Wim Taymans  <wim@fluendo.com>
24687
24688         * docs/design/part-TODO.txt:
24689         * docs/design/part-clocks.txt:
24690         * docs/design/part-element-sink.txt:
24691         * docs/design/part-events.txt:
24692         * docs/design/part-gstpipeline.txt:
24693         Updated docs, mostly DISCONT related.
24694
24695 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
24696
24697         * docs/pwg/building-pads.xml:
24698           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24699
24700 2005-07-15  Andy Wingo  <wingo@pobox.com>
24701
24702         * tools/gst-typefind.c: Update, add copyright block.
24703
24704         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24705         Normalize and truncate caps before fixation.
24706
24707         * gst/gstcaps.h:
24708         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24709         discards all but the first structure from its argument.
24710
24711 2005-07-15  Wim Taymans  <wim@fluendo.com>
24712
24713         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24714         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24715         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24716         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24717         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24718         (gst_base_transform_chain), (gst_base_transform_change_state),
24719         (gst_base_transform_set_passthrough),
24720         (gst_base_transform_is_passthrough):
24721         * gst/base/gstbasetransform.h:
24722         Make passthrough work using the bufferpools.
24723         Changed API a bit, subclasses have to write into a buffer
24724         provided by the base class.
24725         More debug info in nego functions.
24726         
24727         * gst/elements/gstidentity.c: (gst_identity_init),
24728         (gst_identity_transform):
24729         Port to new base class.
24730
24731 2005-07-15  Wim Taymans  <wim@fluendo.com>
24732
24733         * gst/gstmessage.c: (gst_message_new_state_changed):
24734         * tools/gst-launch.c: (event_loop), (main):
24735         Totally dump messages in -launch with the -m option.
24736         Fix message name for State messages,
24737
24738 2005-07-14  Wim Taymans  <wim@fluendo.com>
24739
24740         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24741         Post error messages on errors.
24742
24743 2005-07-14  Wim Taymans  <wim@fluendo.com>
24744
24745         * gst/gstcaps.c: (gst_caps_do_simplify):
24746         Remove debug info.
24747
24748         * gst/gsterror.h:
24749         Define error for stream stopped.
24750
24751         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24752         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24753         Do proper return values.
24754
24755         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24756         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24757         (gst_pad_get_range):
24758         Better return values.
24759
24760         * gst/gstpad.h:
24761         Reorganise return values, add macro to check for fatal errors.
24762
24763         * gst/gstqueue.c: (gst_queue_chain):
24764         Return proper GstFlowReturn values,
24765
24766 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
24767
24768         * docs/gst/gstreamer-sections.txt:
24769         * docs/gst/gstreamer.types:
24770         * docs/gst/tmpl/gst.sgml:
24771         * docs/gst/tmpl/gstbasesink.sgml:
24772         * docs/gst/tmpl/gstbasesrc.sgml:
24773         * docs/gst/tmpl/gstbasetransform.sgml:
24774         * docs/gst/tmpl/gstbin.sgml:
24775         * docs/gst/tmpl/gstbuffer.sgml:
24776         * docs/gst/tmpl/gstcaps.sgml:
24777         * docs/gst/tmpl/gstclock.sgml:
24778         * docs/gst/tmpl/gstcompat.sgml:
24779         * docs/gst/tmpl/gstconfig.sgml:
24780         * docs/gst/tmpl/gstelement.sgml:
24781         * docs/gst/tmpl/gstelementdetails.sgml:
24782         * docs/gst/tmpl/gstelementfactory.sgml:
24783         * docs/gst/tmpl/gstenumtypes.sgml:
24784         * docs/gst/tmpl/gsterror.sgml:
24785         * docs/gst/tmpl/gstevent.sgml:
24786         * docs/gst/tmpl/gstfakesink.sgml:
24787         * docs/gst/tmpl/gstfakesrc.sgml:
24788         * docs/gst/tmpl/gstfilesink.sgml:
24789         * docs/gst/tmpl/gstfilesrc.sgml:
24790         * docs/gst/tmpl/gstfilter.sgml:
24791         * docs/gst/tmpl/gstformat.sgml:
24792         * docs/gst/tmpl/gstghostpad.sgml:
24793         * docs/gst/tmpl/gstimplementsinterface.sgml:
24794         * docs/gst/tmpl/gstindex.sgml:
24795         * docs/gst/tmpl/gstindexfactory.sgml:
24796         * docs/gst/tmpl/gstinfo.sgml:
24797         * docs/gst/tmpl/gstiterator.sgml:
24798         * docs/gst/tmpl/gstmacros.sgml:
24799         * docs/gst/tmpl/gstmemchunk.sgml:
24800         * docs/gst/tmpl/gstminiobject.sgml:
24801         * docs/gst/tmpl/gstobject.sgml:
24802         * docs/gst/tmpl/gstpad.sgml:
24803         * docs/gst/tmpl/gstpadtemplate.sgml:
24804         * docs/gst/tmpl/gstparse.sgml:
24805         * docs/gst/tmpl/gstpipeline.sgml:
24806         * docs/gst/tmpl/gstplugin.sgml:
24807         * docs/gst/tmpl/gstpluginfeature.sgml:
24808         * docs/gst/tmpl/gstquery.sgml:
24809         * docs/gst/tmpl/gstqueue.sgml:
24810         * docs/gst/tmpl/gstregistry.sgml:
24811         * docs/gst/tmpl/gstregistrypool.sgml:
24812         * docs/gst/tmpl/gstscheduler.sgml:
24813         * docs/gst/tmpl/gstschedulerfactory.sgml:
24814         * docs/gst/tmpl/gststructure.sgml:
24815         * docs/gst/tmpl/gstsystemclock.sgml:
24816         * docs/gst/tmpl/gsttaglist.sgml:
24817         * docs/gst/tmpl/gsttagsetter.sgml:
24818         * docs/gst/tmpl/gsttrace.sgml:
24819         * docs/gst/tmpl/gsttrashstack.sgml:
24820         * docs/gst/tmpl/gsttypefind.sgml:
24821         * docs/gst/tmpl/gsttypefindfactory.sgml:
24822         * docs/gst/tmpl/gsttypes.sgml:
24823         * docs/gst/tmpl/gsturihandler.sgml:
24824         * docs/gst/tmpl/gsturitype.sgml:
24825         * docs/gst/tmpl/gstutils.sgml:
24826         * docs/gst/tmpl/gstvalue.sgml:
24827         * docs/gst/tmpl/gstversion.sgml:
24828         * docs/gst/tmpl/gstxml.sgml:
24829         * docs/libs/tmpl/gstcontrol.sgml:
24830         * docs/libs/tmpl/gstdataprotocol.sgml:
24831         * docs/libs/tmpl/gstdparam.sgml:
24832         * docs/libs/tmpl/gstdplinint.sgml:
24833         * docs/libs/tmpl/gstdpman.sgml:
24834         * docs/libs/tmpl/gstdpsmooth.sgml:
24835         * docs/libs/tmpl/gstgetbits.sgml:
24836         * docs/libs/tmpl/gstunitconvert.sgml:
24837         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24838         (gst_push_src_base_init), (gst_push_src_class_init),
24839         (gst_push_src_init), (gst_push_src_create):
24840         * gst/base/gstpushsrc.h:
24841         * gst/elements/gstelements.c:
24842         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24843         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24844         (gst_fake_sink_init), (gst_fake_sink_set_property),
24845         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24846         (gst_fake_sink_event), (gst_fake_sink_preroll),
24847         (gst_fake_sink_render), (gst_fake_sink_change_state):
24848         * gst/elements/gstfakesink.h:
24849         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24850         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24851         (gst_fake_src_base_init), (gst_fake_src_class_init),
24852         (gst_fake_src_init), (gst_fake_src_event_handler),
24853         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24854         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24855         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24856         (gst_fake_src_create_buffer), (gst_fake_src_create),
24857         (gst_fake_src_start), (gst_fake_src_stop):
24858         * gst/elements/gstfakesrc.h:
24859         * gst/elements/gstfilesink.c: (_do_init),
24860         (gst_file_sink_base_init), (gst_file_sink_class_init),
24861         (gst_file_sink_init), (gst_file_sink_dispose),
24862         (gst_file_sink_set_location), (gst_file_sink_set_property),
24863         (gst_file_sink_get_property), (gst_file_sink_open_file),
24864         (gst_file_sink_close_file), (gst_file_sink_query),
24865         (gst_file_sink_event), (gst_file_sink_render),
24866         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24867         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24868         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24869         * gst/elements/gstfilesink.h:
24870         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24871         (gst_file_src_class_init), (gst_file_src_init),
24872         (gst_file_src_finalize), (gst_file_src_set_location),
24873         (gst_file_src_set_property), (gst_file_src_get_property),
24874         (gst_file_src_map_region), (gst_file_src_map_small_region),
24875         (gst_file_src_create_mmap), (gst_file_src_create_read),
24876         (gst_file_src_create), (gst_file_src_is_seekable),
24877         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24878         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24879         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24880         (gst_file_src_uri_handler_init):
24881         * gst/elements/gstfilesrc.h:
24882           more autistic cleanliness in functions/names/defines
24883
24884 2005-07-13  Andy Wingo  <wingo@pobox.com>
24885
24886         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24887         source couldn't negotiate.
24888
24889         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24890         connections again.
24891
24892         * gst/gstutils.h:
24893         * gst/gstutils.c (gst_element_link_pads_filtered): New old
24894         function. I am channeling Hades. Put your boots on suckers!!!
24895
24896 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24897
24898         * testsuite/caps/Makefile.am:
24899         * testsuite/caps/value_compare.c:
24900         * testsuite/caps/value_intersect.c:
24901         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24902           move two testsuite apps over to the check dir
24903
24904 2005-07-12  Wim Taymans  <wim@fluendo.com>
24905
24906         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24907         Added more debug info in the negotiate process.
24908
24909         * gst/gstmessage.h:
24910         Prepare for segment playback.
24911
24912         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24913         Better debugging.
24914
24915         * gst/gstutils.c:
24916         Some more docs.
24917
24918         * tools/gst-launch.c: (main):
24919         NULL pipeline on errors.
24920
24921 2005-07-12  Andy Wingo  <wingo@pobox.com>
24922
24923         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24924         not it comes from a malloc region. Make sure our copy gets freed.
24925
24926 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24927
24928         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24929         * check/gst/gstmessage.c: (GST_START_TEST):
24930         * check/gst/gststructure.c: (GST_START_TEST),
24931         (gst_structure_suite), (main):
24932           more testing
24933         * gst/gstelement.c: (gst_element_message_full):
24934           clean up GError and debug string now that they get copied
24935         * gst/gstmessage.c: (gst_message_new_error),
24936         (gst_message_new_warning), (gst_message_parse_error),
24937         (gst_message_parse_warning):
24938           use GST_TYPE_G_ERROR for structure_new, and take copies of
24939           arguments, so that we don't mess up refcounting
24940
24941 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24942
24943         * check/Makefile.am:
24944           add per-test valgrind targets
24945         * check/gst-libs/gdp.c: (GST_START_TEST),
24946         (gst_data_protocol_suite), (main):
24947           clean up
24948
24949 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24950
24951         * check/Makefile.am:
24952           instate more valgrindable tests
24953         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24954         (GST_START_TEST), (fakesrc_suite):
24955         * check/gst/gstpad.c: (GST_START_TEST):
24956         * check/gst/gststructure.c: (GST_START_TEST):
24957           fix test leaks
24958         * docs/gst/tmpl/gstminiobject.sgml:
24959         * gst/gstpad.c: (gst_pad_finalize):
24960           fix the static mutex leak
24961
24962 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24963
24964         * check/Makefile.am:
24965           add two more tests for valgrinding
24966         * check/gst/gstvalue.c: (GST_START_TEST):
24967           test refcount of deserialized buffer, found a leak
24968         * docs/gst/gstreamer-docs.sgml:
24969         * docs/gst/gstreamer-sections.txt:
24970         * docs/gst/gstreamer.types:
24971         * docs/gst/tmpl/gstminiobject.sgml:
24972           add miniobject to docs
24973         * gst/gstminiobject.c:
24974           add some docs
24975         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24976         (gst_string_unwrap):
24977           fix a hard-to-find invalid write for one of the tests
24978           fix a leak for deserialized buffers
24979
24980 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24981
24982         * docs/pwg/advanced-events.xml:
24983         * docs/pwg/advanced-request.xml:
24984         * docs/pwg/advanced-scheduling.xml:
24985         * docs/pwg/appendix-porting.xml:
24986         * docs/pwg/building-boiler.xml:
24987         * docs/pwg/intro-preface.xml:
24988         * docs/pwg/other-ntoone.xml:
24989           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24990           of example code and explanation for pad activation, loop() and
24991           getrange() functions and a bit more. Remove old comments pointing
24992           to loop-functions.
24993         * examples/pwg/Makefile.am:
24994           Add loop/getrange examples.
24995
24996 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24997
24998         * configure.ac:
24999           check for valgrind binary + some fixes
25000         * check/gst.supp:
25001           valgrind suppressions for the tests
25002         * check/Makefile.am:
25003           add a valgrind: target that valgrinds the unit tests
25004         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25005         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25006         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25007         * check/gst/gstghostpad.c:
25008           added some cleanup
25009         * check/gst/gstdata.c:
25010           removed
25011         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25012         (thread_unref), (gst_mini_object_suite), (main):
25013           added
25014         * gst/gst.c: (gst_deinit):
25015         * gst/gst.h:
25016           add a method to clean up.
25017         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25018         (gst_system_clock_obtain):
25019           allow for disposing the system clock.
25020         * tools/gst-launch.c: (main):
25021           deinit
25022
25023 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25024
25025         * docs/gst/tmpl/gstbasesrc.sgml:
25026         * docs/gst/tmpl/gstfakesrc.sgml:
25027         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25028         (gst_base_src_init), (gst_base_src_set_property),
25029         (gst_base_src_get_property), (gst_base_src_get_range),
25030         (gst_base_src_start):
25031         * gst/base/gstbasesrc.h:
25032           add num-buffers property
25033         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25034         (gst_fakesrc_init), (gst_fakesrc_set_property),
25035         (gst_fakesrc_get_property), (gst_fakesrc_create),
25036         (gst_fakesrc_start):
25037           remove num-buffers property
25038
25039 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25040
25041         * docs/gst/gstreamer-sections.txt:
25042         * docs/gst/tmpl/gstbasesink.sgml:
25043         * docs/gst/tmpl/gstbasesrc.sgml:
25044         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25045         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25046         (gst_base_sink_finalize), (gst_base_sink_set_clock),
25047         (gst_base_sink_set_property), (gst_base_sink_get_property),
25048         (gst_base_sink_handle_object), (gst_base_sink_event),
25049         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
25050         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
25051         (gst_base_sink_loop), (gst_base_sink_deactivate),
25052         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
25053         (gst_base_sink_change_state):
25054         * gst/base/gstbasesink.h:
25055         * gst/base/gstbasesrc.h:
25056         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
25057         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25058         (gst_filesink_init):
25059           more macro splitting
25060
25061 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25062
25063         * gst/gstelement.c: (gst_element_get_bus):
25064           add debug
25065         * tools/gst-launch.c: (check_intr), (event_loop):
25066           fix bus leaks
25067
25068 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25069
25070         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
25071           fix a caps leak
25072
25073 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25074
25075         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25076         (gst_base_src_finalize):
25077           add finalize method and clean up properly
25078         * gst/gstpipeline.c: (gst_pipeline_dispose):
25079           add debug
25080
25081 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25082
25083         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
25084         (gst_bin_suite):
25085           add more things to check
25086         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25087         * gst/gstelement.c:
25088           more debug
25089
25090 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25091
25092         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25093         (GST_START_TEST), (fakesrc_suite):
25094         * check/gst-libs/gdp.c: (GST_START_TEST):
25095         * check/gst/gst.c: (GST_START_TEST):
25096         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25097         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25098         * check/gst/gstbus.c: (GST_START_TEST):
25099         * check/gst/gstcaps.c: (GST_START_TEST):
25100         * check/gst/gstdata.c: (GST_START_TEST):
25101         * check/gst/gstelement.c: (GST_START_TEST):
25102         * check/gst/gstghostpad.c: (GST_START_TEST):
25103         * check/gst/gstiterator.c: (GST_START_TEST):
25104         * check/gst/gstmessage.c: (GST_START_TEST):
25105         * check/gst/gstobject.c: (GST_START_TEST):
25106         * check/gst/gstpad.c: (GST_START_TEST):
25107         * check/gst/gststructure.c: (GST_START_TEST):
25108         * check/gst/gstsystemclock.c: (GST_START_TEST),
25109         (gst_systemclock_suite):
25110         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25111         * check/gst/gstvalue.c: (GST_START_TEST):
25112         * check/pipelines/cleanup.c: (GST_START_TEST):
25113         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25114         * check/states/sinks.c: (GST_START_TEST):
25115         * check/gstcheck.c: (gst_check_init):
25116         * check/gstcheck.h:
25117           add debugging category
25118           use GST_START_TEST now, so we add a debug line
25119
25120 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25121
25122         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
25123           add test for state change message on a bin
25124         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
25125           add another test
25126         * gst/gstbin.c: (gst_bin_init):
25127         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
25128         * gst/gstelement.c: (gst_element_post_message),
25129         (gst_element_set_state):
25130         * gst/gstelementfactory.c: (gst_element_factory_create):
25131         * gst/gstmessage.c: (gst_message_new):
25132         * gst/gstscheduler.c:
25133           various debugging additions and cleanups
25134
25135 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25136
25137         * check/Makefile.am:
25138         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
25139         (main):
25140           adding tests for elements
25141         * gst/gstelement.c: (gst_element_dispose):
25142
25143 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25144
25145         * gst/registries/gstlibxmlregistry.c: (load_feature):
25146           plug more leaks.  A simple gst_init() now is leakfree, yay.
25147
25148 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25149
25150         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
25151         (gst_xml_registry_load):
25152           plug another memleak
25153
25154 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25155
25156         * configure.ac:
25157           use GST_SET_ERROR_CFLAGS
25158         * docs/faq/cvs.xml:
25159           change to ERROR_CFLAGS
25160
25161 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25162
25163         * configure.ac:
25164           make GST_ERROR_CFLAGS overridable and re-enable Werror
25165         * docs/faq/cvs.xml:
25166           add a note about error CFLAGS
25167         * docs/gst/tmpl/gstfakesrc.sgml:
25168         * gst/elements/gstfakesrc.c:
25169           comment out some unused code
25170         * gst/gst.c: (split_and_iterate):
25171         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
25172         (load_feature):
25173           plug some memleaks
25174
25175 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25176
25177         * common/Makefile.am:
25178         * common/gtk-doc.mak:
25179         * docs/gst/Makefile.am:
25180           factor out gtk-doc.mak
25181
25182 2005-07-07  Wim Taymans  <wim@fluendo.com>
25183
25184         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
25185         (gst_thread_scheduler_dispose):
25186         Unlock the STREAM_LOCK completely.
25187
25188 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25189
25190         * check/Makefile.am:
25191         * check/elements/.cvsignore:
25192         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25193         (START_TEST), (fakesrc_suite), (main):
25194         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25195         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25196         (gst_fakesrc_create), (gst_fakesrc_start):
25197         * gst/elements/gstfakesrc.h:
25198           adding a first element test
25199
25200 2005-07-07  Andy Wingo  <wingo@pobox.com>
25201
25202         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
25203         debug message.
25204
25205 2005-07-07  Wim Taymans  <wim@fluendo.com>
25206
25207         * gst/gstquery.c:
25208         * gst/gstquery.h:
25209         Remove old types
25210
25211 2005-07-07  Wim Taymans  <wim@fluendo.com>
25212
25213         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
25214         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
25215         Allow subclasses to implement their own negotiation.
25216
25217 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25218
25219         * docs/design/part-gstbin.txt:
25220         * docs/design/part-gstpipeline.txt:
25221           Update design notes to reflect the movement of
25222           responsibility for bus handling from GstPipeline to
25223           GstBin
25224
25225 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25226
25227         * configure.ac:
25228           Remove unnecessary queue2/3/4 examples.
25229
25230 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25231
25232         * examples/Makefile.am:
25233         * examples/helloworld/helloworld.c: (event_loop), (main):
25234         * examples/queue/queue.c: (event_loop), (main):
25235         * examples/queue2/queue2.c: (main):
25236           Update a couple of the examples to work again.
25237
25238         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25239         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
25240          Spelling corrections and extra debug.
25241         
25242         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
25243         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
25244         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
25245         * gst/gstbin.h:
25246         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25247         (gst_pipeline_change_state):
25248         * gst/gstpipeline.h:
25249           Move the bus handler for children to the GstBin, and create a
25250           separate bus for receiving messages from children to the one the
25251           bus sends 'upwards' on.
25252
25253 2005-07-06  Wim Taymans  <wim@fluendo.com>
25254
25255         * gst/base/README:
25256         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25257         (gst_base_sink_handle_object), (gst_base_sink_loop),
25258         (gst_base_sink_change_state):
25259         * gst/base/gstbasesink.h:
25260         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25261         (gst_base_src_init), (gst_base_src_setcaps),
25262         (gst_base_src_getcaps), (gst_base_src_loop),
25263         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
25264         (gst_base_src_start), (gst_base_src_change_state):
25265         * gst/base/gstbasesrc.h:
25266         Make basesrc negotiate.
25267         Handle the case where preroll fails in basesink.
25268         Update README.
25269
25270 2005-07-06  Wim Taymans  <wim@fluendo.com>
25271
25272         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
25273         Implement the fixate function.
25274         Clean up acceptcaps.
25275
25276 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25277
25278         * docs/pwg/building-filterfactory.xml:
25279         * docs/pwg/pwg.xml:
25280           Remove never-written filter-factory chapter; I'll add the various
25281           base classes to part 4 ("other element types") later on.
25282
25283 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25284
25285         * docs/pwg/advanced-negotiation.xml:
25286         * docs/pwg/building-boiler.xml:
25287         * docs/pwg/building-pads.xml:
25288         * docs/pwg/pwg.xml:
25289         * examples/pwg/Makefile.am:
25290           Add a chapter on caps negotiation, simplify the original code
25291           samples a bit w.r.t. caps negotiation, add link to the advanced
25292           section. Add a bunch of examples showing different use cases of
25293           different types of caps negotiation. Upstream renegotiation isn't
25294           fully documented yet since nobody knows how that works.
25295
25296 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25297
25298         * check/gst/gstpad.c:
25299         * check/gstcheck.c:
25300         * gst/gstpad.c: (gst_pad_get_internal_links_default):
25301           if pad has no parent, return NULL as list of internal links
25302
25303 2005-07-05  Andy Wingo  <wingo@pobox.com>
25304
25305         * gst/elements/gstfilesrc.c:
25306         * gst/elements/gstfakesrc.c: 
25307         * gst/base/gstpushsrc.c:
25308         * gst/base/gstbasesrc.h: 
25309         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25310         
25311 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
25312
25313         * Makefile.am:
25314           better report generation target (lcov needs a patch)
25315
25316 2005-07-05  Andy Wingo  <wingo@pobox.com>
25317
25318         * gst/elements, testsuite: Null if we got it...
25319
25320 2005-07-05  Wim Taymans  <wim@fluendo.com>
25321
25322         * configure.ac:
25323         * libs/gst/dataprotocol/Makefile.am:
25324         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25325         * libs/gst/dataprotocol/dataprotocol.h:
25326         * pkgconfig/Makefile.am:
25327         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25328         * pkgconfig/gstreamer-dataprotocol.pc.in:
25329         Ported dataprotol to 0.9. 
25330         Added pkgconfig files.
25331
25332 2005-07-05  Andy Wingo  <wingo@pobox.com>
25333
25334         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25335         Default to returning TRUE for the case when tranform_caps returns
25336         a fixed caps, like for identity or volume.
25337
25338         * check/gst/gstbus.c (pound_bus_with_messages): 
25339         * check/gst/gstmessage.c (START_TEST): 
25340         * check/pipelines/simple_launch_lines.c (got_handoff): Application
25341         message API change.
25342
25343         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25344         logic weaks here: always run transform_caps, trying passthrough
25345         operation only if the original caps intersects with the transform.
25346
25347         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25348         source and sink caps.
25349
25350         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25351         Intersect the peer caps with the pad template before going into
25352         transform_caps.
25353         (gst_base_transform_transform_caps): More debugging.
25354
25355         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25356         src argument.
25357
25358 2005-07-04  Edward Hervey  <edward@fluendo.com>
25359
25360         * gst/gstutils.c:
25361         * gst/gstutils.h:
25362         (gst_pad_add_*_probe): now returns the signal id for better wrapping
25363         in bindings.
25364
25365 2005-07-04  Andy Wingo  <wingo@pobox.com>
25366
25367         * check/gst/gstpad.c: Only set explicit caps on pads.
25368
25369 2005-07-01  Andy Wingo  <wingo@pobox.com>
25370
25371         * tests/network-clock.scm: Commentary update.
25372
25373         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25374         Didn't really make sense, not implementable with basetransform,
25375         etc.
25376         (gst_identity_transform): Unref inbuf via make_writable. Feeble
25377         attempt at implementing the sync property, needs an unlock method.
25378
25379         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25380         New func, by default returns the same caps (the identity
25381         transformation).
25382         (gst_base_transform_getcaps): Uses transform_caps to return
25383         something sensible.
25384         (gst_base_transform_setcaps): Complicated logic to get caps on
25385         both pads, even if they are different, and to call set_caps once
25386         for every time both pads get their caps set.
25387         (gst_base_transform_handle_buffer): Give the ref to the transform
25388         function. Allows in-place modification of the buffer.
25389
25390         * gst/base/gstbasetransform.h (transform_caps): New class method.
25391         Given caps on one side, what can I do on the other.
25392         (set_caps): Take two caps, one for each side of the element.
25393
25394         * gst/gstpad.h:
25395         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25396         caps in place. This is safe because we can check the mutability of
25397         the caps, and a good idea because fixate functions are just called
25398         as a matter of last resort. (Not actually implemented.)
25399         (gst_pad_set_caps): If the caps we're setting is actually the same
25400         as the existing pad caps, just update the pointer without calling
25401         setcaps. Assert that caps is either NULL or fixed, as per the
25402         docs.
25403
25404         * gst/gstghostpad.c: Update for fixate changes.
25405
25406 2005-07-02  Andy Wingo  <wingo@pobox.com>
25407
25408         * gst/gstcaps.c:
25409         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25410         two refcounts makes it immutable, which is enough. Doc more.
25411
25412 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
25413
25414         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25415           Put the mini_object into GValue as a mini_object,
25416           not a gpointer, since that's how we declared
25417           the signal.
25418
25419 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25420
25421         * examples/pwg/Makefile.am:
25422           Fix buildbot again.
25423
25424 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25425
25426         * docs/pwg/building-testapp.xml:
25427           Add extra check.
25428         * examples/pwg/Makefile.am:
25429           Fix buildbot.
25430
25431 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25432
25433         * configure.ac:
25434         * examples/Makefile.am:
25435         * examples/pwg/Makefile.am:
25436         * examples/pwg/extract.pl:
25437           Enable building the PWG examples.
25438         * docs/pwg/advanced-interfaces.xml:
25439           Add URI interface stub.
25440         * docs/pwg/advanced-types.xml:
25441         * docs/pwg/other-autoplugger.xml:
25442         * docs/pwg/appendix-porting.xml:
25443         * docs/pwg/pwg.xml:
25444           Add porting guide (mostly stubs), remove autoplugging (see ADM).
25445         * docs/pwg/building-boiler.xml:
25446         * docs/pwg/building-chainfn.xml:
25447         * docs/pwg/building-pads.xml:
25448         * docs/pwg/building-props.xml:
25449         * docs/pwg/building-state.xml:
25450         * docs/pwg/building-testapp.xml:
25451           Update the building-*.xml parts for 0.9 changes. All examples
25452           code blocks compile in examples/pwg/*.
25453
25454 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25455
25456         * docs/manual/advanced-autoplugging.xml:
25457         * docs/manual/appendix-checklist.xml:
25458         * docs/manual/appendix-integration.xml:
25459         * docs/manual/highlevel-components.xml:
25460           Fix playbin/decodebin examples, update docs a bit, mention bus
25461           instead of signals in various places, mention kmplayer and
25462           kaffeine since they have a working GStreamer backend in the KDE
25463           section.
25464
25465 2005-06-30  Wim Taymans  <wim@fluendo.com>
25466
25467         * CHANGES-0.9:
25468         * docs/design/draft-ghostpads.txt:
25469         * docs/design/draft-push-pull.txt:
25470         * docs/design/draft-query.txt:
25471         * docs/design/part-TODO.txt:
25472         * docs/design/part-query.txt:
25473         Added CHANGES-0.9 doc, updated status of other docs.
25474         
25475         * gst/gstquery.h:
25476         Remove "hmm" macro
25477
25478 2005-06-30  Wim Taymans  <wim@fluendo.com>
25479
25480         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25481         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25482         (gst_base_sink_change_state):
25483         * gst/base/gstbasesink.h:
25484         Some tweaks, only EOS and a buffer complete a preroll.
25485
25486 2005-06-30  Andy Wingo  <wingo@pobox.com>
25487
25488         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25489         activate_push down to the internal pad as well.
25490
25491 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
25492
25493         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25494
25495         * gst/gsttaginterface.c:
25496           Some documentation fixes (#307394 and #307397).
25497
25498 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
25499
25500         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25501
25502         * gst/gstvalue.c: (gst_value_intersect_list):
25503           Fix memleak (#309125).
25504
25505 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25506
25507         * docs/manual/advanced-dataaccess.xml:
25508           Fix fakesrc example to compile; doesn't work, bug somewhere...?
25509         * docs/manual/basics-pads.xml:
25510           Add reference for filtered caps to above chapter.
25511
25512 2005-06-30  Wim Taymans  <wim@fluendo.com>
25513
25514         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25515         (gst_bin_change_state):
25516         Probes are gone.
25517         Lame attempt at making the state change function a bit
25518         more readable.
25519
25520 2005-06-30  Wim Taymans  <wim@fluendo.com>
25521
25522         * docs/design/part-clocks.txt:
25523         * docs/design/part-element-sink.txt:
25524         * docs/design/part-events.txt:
25525         * docs/design/part-preroll.txt:
25526         * docs/design/part-states.txt:
25527         Some more tweeks and additions to the docs.
25528
25529 2005-06-30  Wim Taymans  <wim@fluendo.com>
25530
25531         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25532         (default_have_data), (gst_pad_class_init), (gst_pad_init),
25533         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25534         (gst_pad_check_pull_range), (gst_pad_get_range),
25535         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25536         * gst/gstpad.h:
25537         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25538         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25539         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25540         (gst_pad_remove_buffer_probe):
25541         Removed atomic operations, use existing LOCK.
25542         Move exception handling out of main code path.
25543
25544 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25545
25546         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25547         (silly_return_true_function), (gst_pad_class_init),
25548         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25549         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25550         (gst_pad_send_event):
25551           Fix accumulator, add default value by using _emitv() instead
25552           of _emit() for signal emission.
25553
25554 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25555
25556         * docs/manual/advanced-dataaccess.xml:
25557         * examples/manual/Makefile.am:
25558           Add probe example.
25559         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25560           Make work (??).
25561
25562 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
25563
25564         * gst/elements/gstfilesink.c: (gst_filesink_render):
25565           Simplify code so that we don't have to handle short
25566           writes and return GST_FLOW_ERROR if an error occured.
25567
25568 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25569
25570         * docs/gst/gstreamer-docs.sgml:
25571           Remove probes more.
25572
25573 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25574
25575         * docs/gst/gstreamer-sections.txt:
25576         * docs/gst/tmpl/gstpad.sgml:
25577         * docs/gst/tmpl/gstprobe.sgml:
25578         * gst/Makefile.am:
25579         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25580         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25581         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25582         (gst_pad_push_event), (gst_pad_send_event):
25583         * gst/gstpad.h:
25584         * gst/gstutils.c: (gst_pad_add_data_probe),
25585         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25586         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25587         (gst_pad_remove_buffer_probe):
25588         * gst/gstutils.h:
25589           Remove old probes, add new g-signal-based probes and some utility
25590           functions.
25591
25592 2005-06-29  Edward Hervey  <edward@fluendo.com>
25593
25594         * gst/gstelementfactory.c:
25595         * gst/gstutils.h:
25596         * gst/gstutils.c:
25597         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25598         the definition to the header file.
25599
25600 2005-06-29  Andy Wingo  <wingo@pobox.com>
25601
25602         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25603         plugins from the source directory.
25604
25605 2005-06-29  Wim Taymans  <wim@fluendo.com>
25606
25607         * docs/gst/tmpl/gstbuffer.sgml:
25608         * docs/gst/tmpl/gstclock.sgml:
25609         Some fixings for blantently wrong text.
25610
25611 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25612
25613         * check/Makefile.am:
25614         * gst/gst.c: (add_path_func), (init_pre):
25615         * gst/gstregistry.c: (gst_registry_add_path):
25616           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25617           only scan the GST_PLUGIN_PATH locations, and not add
25618           system locations
25619
25620 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25621
25622         * docs/gst/gstreamer-sections.txt:
25623         * docs/gst/tmpl/gstbasesrc.sgml:
25624         * gst/gstelement.c:
25625         * gst/gstelement.h:
25626         * gst/gstevent.c:
25627         * gst/gstutils.c:
25628           doc fixes
25629
25630 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25631
25632         * docs/manual/advanced-autoplugging.xml:
25633           Fix autoplugging example.
25634
25635 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25636
25637         * docs/manual/advanced-autoplugging.xml:
25638         * docs/manual/mime-world.fig:
25639           Try to get autoplugging working, fix type detection. Fix text
25640           in hello-world image.
25641
25642 2005-06-29  Wim Taymans  <wim@fluendo.com>
25643
25644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25645         (gst_base_sink_change_state):
25646         Small debug line.
25647
25648         * gst/gstclock.h:
25649         map SIGNAL and BROADCAST to the right function.
25650
25651         * gst/gstobject.h:
25652         Remove redundant braces.
25653
25654         * gst/gstpad.c: (gst_pad_set_caps):
25655         Don't call setcaps function when reseting caps to NULL.
25656
25657         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25658         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25659         (gst_system_clock_id_unschedule):
25660         Use BROADCAST as this is what we do.
25661
25662 2005-06-29  Wim Taymans  <wim@fluendo.com>
25663
25664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25665         We are actually prerolling before commiting the state
25666         change. 
25667
25668 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25669
25670         * docs/manual/advanced-clocks.xml:
25671         * docs/manual/advanced-interfaces.xml:
25672         * docs/manual/advanced-metadata.xml:
25673         * docs/manual/advanced-position.xml:
25674         * docs/manual/advanced-schedulers.xml:
25675         * docs/manual/advanced-threads.xml:
25676         * docs/manual/appendix-porting.xml:
25677         * docs/manual/basics-bins.xml:
25678         * docs/manual/basics-bus.xml:
25679         * docs/manual/basics-elements.xml:
25680         * docs/manual/basics-helloworld.xml:
25681         * docs/manual/basics-pads.xml:
25682         * docs/manual/highlevel-components.xml:
25683         * docs/manual/manual.xml:
25684         * docs/manual/thread.fig:
25685           Update (until threads/scheduling) Application Development Manual;
25686           remove GstThread, add GstBus, add simple porting checklist, add
25687           documentation for tag writing, clocks, make all examples until this
25688           part compile and run.
25689         * examples/manual/Makefile.am:
25690           Update from changes to Application Development Manual; add bus
25691           example, remove thread example.
25692
25693 2005-06-28  Wim Taymans  <wim@fluendo.com>
25694
25695         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25696         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25697         (gst_bus_source_dispatch):
25698         Add debugging messages.
25699         Make internal methods static.
25700         Handle the case where the bus is flushed in the handler.
25701         
25702         * gst/gstelement.c: (gst_element_get_bus):
25703         Fix refcount in _get_bus();
25704
25705         * gst/gstpipeline.c: (gst_pipeline_change_state),
25706         (gst_pipeline_get_clock_func):
25707         Clock refcounting fixes.
25708         Handle the case where preroll timed out more gracefully.
25709         
25710         * gst/gstsystemclock.c: (gst_system_clock_dispose):
25711         Clean up the internal thread in dispose. This is needed
25712         for subclasses that actually get disposed.
25713         
25714         * gst/schedulers/threadscheduler.c:
25715         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25716         (gst_thread_scheduler_dispose):
25717         Free thread pool in dispose.
25718
25719 2005-06-28  Andy Wingo  <wingo@pobox.com>
25720
25721         * tests/network-clock-utils.scm (debug, print-event): New utils.
25722
25723         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25724         (*packet-loss*): Unified loss probability.
25725         (network-time): Report out-of-band events.
25726
25727         * tests/plot-data: Add support for out-of-band events. Hack it
25728         into this script instead of passing it down the pipe; should fix
25729         this later.
25730
25731 2005-06-28  Wim Taymans  <wim@fluendo.com>
25732
25733         * docs/gst/gstreamer.types:
25734         * docs/gst/tmpl/gstbasesrc.sgml:
25735         * docs/gst/tmpl/gstpad.sgml:
25736         Docs fixes.
25737
25738 2005-06-28  Wim Taymans  <wim@fluendo.com>
25739
25740         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25741         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25742         (gst_proxy_pad_do_fixatecaps):
25743         Correctly proxy the check_pull_range function.
25744
25745 2005-06-28  Andy Wingo  <wingo@pobox.com>
25746
25747         * tests/network-clock.scm: Removed need for slib.
25748         
25749 2005-06-28  Wim Taymans  <wim@fluendo.com>
25750
25751         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25752         (gst_basesink_preroll_queue_flush):
25753         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25754         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25755         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25756         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25757         (gst_proxy_pad_set_property):
25758         * gst/gstpad.c:
25759         * gst/gstpad.h:
25760         * gst/gstqueue.c: (gst_queue_init):
25761         The deprecated pad loop function is removed now.
25762
25763 2005-06-28  Andy Wingo  <wingo@pobox.com>
25764
25765         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25766         New parameters, simulate network packet loss.
25767
25768         * tests/network-clock-utils.scm: Initialize the RNG.
25769
25770 2005-06-28  Wim Taymans  <wim@fluendo.com>
25771
25772         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25773         (gst_basesink_event), (gst_basesink_deactivate):
25774         Flushing the preroll queue always needs to unlock the waiters.
25775
25776 2005-06-28  Edward Hervey  <edward@fluendo.com>
25777
25778         * gst/gstpipeline.c: (gst_pipeline_send_event): 
25779         Wheen a seek was successful on a pipeline, set the stream_time to the
25780         seek offset in order to have a synchronized stream_time.
25781
25782 2005-06-28  Wim Taymans  <wim@fluendo.com>
25783
25784         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25785         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25786         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25787         (gst_proxy_pad_do_fixatecaps):
25788         Call wrapper function instead of just calling the function
25789         pointers. This takes care of any locking and whatmore.
25790
25791 2005-06-28  Wim Taymans  <wim@fluendo.com>
25792
25793         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25794         (gst_pad_pull_range):
25795         * gst/gstpad.h:
25796         CONNECTED -> LINKED.
25797
25798 2005-06-28  Andy Wingo  <wingo@pobox.com>
25799
25800         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25801         source-munging commit!!!
25802
25803         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
25804         (gst_object_sink): Take gpointer arguments, not GstObject --
25805         avoids casts. Like GLib.
25806
25807         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25808         activate.
25809
25810 2005-06-27  Andy Wingo  <wingo@pobox.com>
25811
25812         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25813         remaining buffer.
25814
25815         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25816         returns a sorted copy of the trace list.
25817         (gst_alloc_trace_print_live): New API, only prints traces with
25818         live objects. Sort the list.
25819         (gst_alloc_trace_print_all): Sort the list.
25820         (gst_alloc_trace_print): Align columns.
25821
25822         * gst/elements/gstttypefindelement.c:
25823         * gst/elements/gsttee.c:
25824         * gst/base/gstbasesrc.c:
25825         * gst/base/gstbasesink.c:
25826         * gst/base/gstbasetransform.c:
25827         * gst/gstqueue.c: Adapt for pad activation changes.
25828
25829         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25830         sched.
25831         (gst_pipeline_dispose): Drop ref on sched.
25832
25833         * gst/gstpad.c (gst_pad_init): Set the default activate func.
25834         (gst_pad_activate_default): Push mode by default.
25835         (pre_activate_switch, post_activate_switch): New stubs, things to
25836         do before and after switching activation modes on pads.
25837         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25838         the pad's activate function to choose which mode to activate.
25839         Shortcut on deactivation and call the right function directly.
25840         (gst_pad_activate_pull): New API, (de)activates a pad in pull
25841         mode.
25842         (gst_pad_activate_push): New API, same for push mode.
25843         (gst_pad_set_activate_function) 
25844         (gst_pad_set_activatepull_function) 
25845         (gst_pad_set_activatepush_function): Setters for new API.
25846
25847         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25848         Trace all miniobjects.
25849         (gst_mini_object_make_writable): Unref the arg if we copy, like
25850         gst_caps_make_writable.
25851
25852         * gst/gstmessage.c (_gst_message_initialize): No trace init.
25853
25854         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
25855         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25856         Adapt for new pad API.
25857
25858         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25859
25860         * gst/gstelement.h:
25861         * gst/gstelement.c (gst_element_iterate_src_pads) 
25862         (gst_element_iterate_sink_pads): New API functions.
25863         
25864         * gst/gstelement.c (iterator_fold_with_resync): New utility,
25865         should fold into gstiterator.c in some form.
25866         (gst_element_pads_activate): Simplified via use of fold and
25867         delegation of decisions to gstpad->activate.
25868
25869         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25870         help in debugging.
25871
25872         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25873         class once in init, like gstmessage. Didn't run into this issue
25874         but it seems correct. Don't initialize a trace, gstminiobject does
25875         that.
25876
25877         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25878         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25879         to the bus.
25880         (assert_live_count): New util function, uses alloc traces to check
25881         cleanup.
25882
25883         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25884         To be modified when unlink drops the internal pad.
25885
25886 2005-06-27  Wim Taymans  <wim@fluendo.com>
25887
25888         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25889         (gst_bin_change_state):
25890         Cleanup the get_state() function a little, make sure it
25891         iterates the same set of elements.
25892         Added stub iterate_state_order().
25893
25894 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
25895
25896         * docs/gst/gstreamer-docs.sgml:
25897         * docs/gst/gstreamer-sections.txt:
25898         * docs/gst/gstreamer.types:
25899         * docs/gst/tmpl/gstbasesink.sgml:
25900         * docs/gst/tmpl/gstbasesrc.sgml:
25901         * docs/gst/tmpl/gstbasetransform.sgml:
25902         * docs/gst/tmpl/gstelement.sgml:
25903         * docs/gst/tmpl/gstiterator.sgml:
25904         * gst/base/gstbasesrc.c:
25905         * gst/base/gstbasesrc.h:
25906         * gst/base/gstbasetransform.h:
25907         * gst/gstelement.c:
25908         * gst/gstiterator.h:
25909           adding basetransform and iterator docs
25910
25911 2005-06-27  Andy Wingo  <wingo@pobox.com>
25912
25913         * docs/design/part-activation.txt: Notes on how activation should
25914         work -- not quite implemented yet.
25915
25916 2005-06-25  Wim Taymans  <wim@fluendo.com>
25917
25918         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25919         At least get the chain function correct, needs more
25920         fixing.
25921
25922 2005-06-25  Wim Taymans  <wim@fluendo.com>
25923
25924         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25925         (gst_basesink_handle_object), (gst_basesink_event),
25926         (gst_basesink_do_sync), (gst_basesink_handle_event),
25927         (gst_basesink_change_state):
25928         * gst/gsttask.h:
25929         Right, two problems here: ghostpads don't take locks and
25930         glib _rec_mutex_lock_full() with depth==0 still locks.
25931         Catch illegal locking and g_warn them.
25932
25933 2005-06-25  Wim Taymans  <wim@fluendo.com>
25934
25935         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25936         Have to check for completion now...
25937
25938 2005-06-25  Wim Taymans  <wim@fluendo.com>
25939
25940         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25941         (gst_basesink_handle_object), (gst_basesink_event),
25942         (gst_basesink_do_sync), (gst_basesink_handle_event),
25943         (gst_basesink_change_state):
25944         * gst/gstpad.h:
25945         Unlock STREAM_LOCK whatever the recursion was.
25946
25947 2005-06-25  Wim Taymans  <wim@fluendo.com>
25948
25949         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25950         (gst_basesink_preroll_queue_empty),
25951         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25952         (gst_basesink_event), (gst_basesink_do_sync),
25953         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25954         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25955         (gst_basesink_change_state):
25956         Reworked the base sink, handle event and buffer serialisation
25957         correctly and removed possible deadlock.
25958         Handle EOS correctly.
25959
25960 2005-06-25  Wim Taymans  <wim@fluendo.com>
25961
25962         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25963         (gst_pipeline_change_state):
25964         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25965         Allow elements to post EOS in the state change function.
25966         Fix up -launch, make it exit the poll loop when the
25967         pipeline actually changed state.
25968         Fix up warning parsing in -launch.
25969
25970 2005-06-25  Wim Taymans  <wim@fluendo.com>
25971
25972         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25973         (gst_tee_sink_activate):
25974         Core takes STREAM_LOCK for us now.
25975
25976 2005-06-25  Wim Taymans  <wim@fluendo.com>
25977
25978         * gst/gstelement.c: (gst_element_get_state_func),
25979         (gst_element_set_state):
25980         * gst/gstelement.h:
25981         * gst/gstmessage.c: (gst_message_parse_error),
25982         (gst_message_parse_warning):
25983         Keep track of current target state while performing a state
25984         change so that subclasses can do something interesting.
25985         Fix parsing of warning/error messages when GError is NULL.
25986
25987 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25988
25989         * docs/gst/Makefile.am:
25990         * docs/gst/gstreamer-docs.sgml:
25991         * docs/gst/gstreamer-sections.txt:
25992         * docs/gst/gstreamer.types:
25993         * docs/gst/tmpl/gstbasesink.sgml:
25994         * docs/gst/tmpl/gstbasesrc.sgml:
25995         * docs/gst/tmpl/gstbin.sgml:
25996         * docs/gst/tmpl/gstcompat.sgml:
25997         * docs/gst/tmpl/gstfakesink.sgml:
25998         * docs/gst/tmpl/gstfakesrc.sgml:
25999         * docs/gst/tmpl/gstfilesink.sgml:
26000         * docs/gst/tmpl/gstfilesrc.sgml:
26001         * docs/gst/tmpl/gstindex.sgml:
26002         * docs/manual/appendix-quotes.xml:
26003         * gst/base/gstbasesrc.h:
26004         * gst/elements/gstfakesrc.h:
26005         * gst/gstmessage.h:
26006           start pulling in base classes and elements in our docs
26007
26008 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26009
26010         * docs/gst/Makefile.am:
26011         * docs/libs/Makefile.am:
26012           fixed make distcheck with gtk-doc 1.3
26013
26014 2005-06-23  Wim Taymans  <wim@fluendo.com>
26015
26016         * gst/gstelement.c: (gst_element_get_state_func),
26017         (gst_element_set_state), (gst_element_change_state):
26018         When the state did not change, also report NO_PREROLL
26019         when it matters.
26020
26021 2005-06-23  Wim Taymans  <wim@fluendo.com>
26022
26023         * gst/gstpad.c: (gst_pad_event_default):
26024         * gst/gstqueue.c: (gst_queue_loop):
26025         No unsafe task pausing please.
26026
26027 2005-06-23  Wim Taymans  <wim@fluendo.com>
26028
26029         * gst/schedulers/threadscheduler.c:
26030         (gst_thread_scheduler_task_start),
26031         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26032         Ref the task before pushing it on the threadpool. This
26033         makes sure that we have a ref when the threadfunction is
26034         actually called.
26035
26036 2005-06-23  Andy Wingo  <wingo@pobox.com>
26037
26038         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26039         offset is greater than the file's size.
26040
26041         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
26042         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26043         * gst/gstobject.c (gst_object_class_init): Make the class lock
26044         recursive. Wim won't let me drop deep_notify. Decodebin works
26045         again, whoopdy doo.
26046
26047         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26048         internal pad, and hacks accordingly. Doesn't do it on the target
26049         pad because we change its caps. Probably catches all cases of
26050         interest tho.
26051         (gst_ghost_pad_set_property): Connect to notify::caps as
26052         appropritate.
26053
26054         * tests/network-clock.scm (plot-simulation): Pipe data to the
26055         elite python skript.
26056
26057         * tests/network-clock-utils.scm (define-parameter): New macro,
26058         defines a parameter that can be set via the command line.
26059         (set-parameter!, parse-parameter-arguments): Command line args
26060         parser.
26061
26062         * tests/plot-data: Simple matplotlib-based plotter, takes input on
26063         stdin.
26064
26065 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
26066
26067         * gst/elements/gsttypefindelement.c:
26068         (gst_type_find_element_handle_event):
26069           Don't restart typefinding on a discont.
26070         * gst/gstelement.c: (gst_element_set_state):
26071           Debug spelling fix.
26072         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
26073           Allow changing mode of an active pad.
26074           Debug output fixes.
26075         * gst/registries/gstlibxmlregistry.c: (load_feature):
26076           Don't cast a static pad template to a normal pad template.
26077
26078 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26079
26080         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26081         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26082           remove gst_strtoll completely, since it didn't actually do
26083           anything more than what g_ascii_strtoull already does.
26084           check for range errors when deserializing
26085           do a cast for the unsigned cases; but further fixing needs
26086           a decision on what the interpretation of "(int)" and
26087           deserialization should be for values that fall outside the
26088           type's boundaries (ie, refuse, or interpret as casting)
26089
26090 2005-06-23  Wim Taymans  <wim@fluendo.com>
26091
26092         * check/Makefile.am:
26093         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
26094         * docs/design/part-live-source.txt:
26095         * docs/design/part-states.txt:
26096         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26097         (gst_basesrc_set_live), (gst_basesrc_is_live),
26098         (gst_basesrc_get_range), (gst_basesrc_activate),
26099         (gst_basesrc_change_state):
26100         * gst/base/gstbasesrc.h:
26101         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26102         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26103         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
26104         * gst/gstelement.c: (gst_element_get_state_func),
26105         (gst_element_set_state):
26106         * gst/gstelement.h:
26107         * gst/gsttypes.h:
26108         * tools/gst-launch.c: (event_loop), (main):
26109         Added support for live sources and other elements that
26110         cannot do preroll.
26111         Updated design docs, added live-source design doc.
26112         Implemented live source functionality in basesrc
26113         Fix error condition in _bin_get_state()
26114         Implement live source handling in -launch.
26115         Added check for live sources.
26116         Fixed case in GstBin where elements were changed state
26117         multiple times.
26118
26119
26120 2005-06-23  Andy Wingo  <wingo@pobox.com>
26121
26122         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
26123         borken refcounting.
26124
26125         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
26126         gst_caps_replace takes care of this for us.
26127
26128         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
26129         gst_pad_set_caps on the target, not just its setcaps() function.
26130
26131         * tests/network-clock.scm: 
26132         * tests/network-clock-utils.scm: A network clock simulator.
26133         Something of an algorithmic testbed before doing something in C.
26134
26135 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26136
26137         * check/Makefile.am:
26138         * check/gst/capslist.h:
26139           copy over from 0.8, and add two with bitmasks specified with
26140           (int) 0xFF...
26141         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26142           add test to parse everything from capslist.h
26143         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
26144         (main):
26145           add test for structure deserialization
26146         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26147           add tests for deserialization of strings to int types
26148         * gst/gststructure.c: (gst_structure_nth_field_name):
26149         * gst/gststructure.h:
26150           add a way to get the name of a field referenced by index
26151         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26152           instead of checking if the resulting long long lies between
26153           min and max, we check if the long long would fit into
26154           a number of bytes for the final type.
26155           This fixes cases where a string represents 2^32 - 1, which
26156           when cast to int would be the (valid) -1, but is bigger than
26157           G_MAXINT
26158
26159 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26160
26161         * gst/parse/grammar.y:
26162           add a log line for type deserialization
26163
26164 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26165
26166         * check/gst/gstvalue.c: (START_TEST):
26167         * gst/gstvalue.c: (gst_value_deserialize):
26168           return long long, not int, so gint64 deserialization actually
26169           works.  Is there any flag that makes the compiler check this ?
26170           Fixes #308559
26171
26172 2005-06-22  Wim Taymans  <wim@fluendo.com>
26173
26174         * gst/gstbuffer.h:
26175         Added convenience macros for setting buffers in GValue.
26176
26177 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26178
26179         * check/gst/.cvsignore:
26180         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26181           add a test deserializing int64, and comment part out because
26182           it fails, yay !
26183
26184 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26185
26186         * check/Makefile.am:
26187         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
26188         * testsuite/Makefile.am:
26189         * testsuite/caps/Makefile.am:
26190         * testsuite/caps/value_serialize.c:
26191         * testsuite/test_gst_init.c:
26192           move a value_serialize test over
26193
26194 2005-06-20  Wim Taymans  <wim@fluendo.com>
26195
26196         * gst/gstpad.c:
26197         Small doc updates.
26198         
26199         * gst/gstvalue.c: (gst_value_compare_buffer),
26200         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
26201         (gst_value_compare_flags), (gst_value_serialize_flags),
26202         (gst_value_deserialize_flags), (_gst_value_initialize):
26203         Fix serialisation of buffers, they are not boxed types anymore
26204
26205 2005-06-20  Wim Taymans  <wim@fluendo.com>
26206
26207         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26208         Testcase to show error in buffer-on-caps serialisation.
26209
26210 2005-06-20  Andy Wingo  <wingo@pobox.com>
26211
26212         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
26213         will be adding to later.
26214
26215         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
26216         if its socks fill with rocks.
26217         (gst_system_clock_obtain): Set the name on object construction.
26218         Avoid double-checked locking.
26219
26220 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
26221
26222         * gst/gsturi.c: (gst_element_make_from_uri):
26223           Fix potential endless loop.
26224
26225 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26226
26227         * check/Makefile.am:
26228           add gsttag
26229         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
26230         (main):
26231           move over from testsuite dir and clean up
26232         * configure.ac:
26233         * gst/gsttag.c:
26234         * testsuite/Makefile.am:
26235         * testsuite/tags/.cvsignore:
26236         * testsuite/tags/Makefile.am:
26237         * testsuite/tags/merge.c:
26238           remove testsuite/tags
26239
26240 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26241
26242         * docs/gst/gstreamer-sections.txt:
26243         * docs/gst/tmpl/gstenumtypes.sgml:
26244         * win32/gstenumtypes.c:
26245           clean up documentation build a little
26246
26247 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26248
26249         * check/gstcheck.h:
26250           add macros for checking refcounts on objects and caps
26251         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
26252           add some more unit tests
26253         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26254         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
26255           fix leaked refcounts (I hope :)) so unittest works
26256         * gst/gstpad.h:
26257           whitespace removal
26258
26259 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26260
26261         * configure.ac: back to HEAD
26262
26263 === release 0.9.1 ===
26264
26265 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26266
26267         * NEWS:
26268         * RELEASE:
26269           updated
26270
26271 2005-06-17  Andy Wingo  <wingo@pobox.com>
26272
26273         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
26274         assert; it's always possible that the pad gets deactivated in
26275         between the checks in gstpad.c and the implementation. Rely on
26276         finish_preroll() to return a FLUSHING or similar instead of on the
26277         assert.
26278         
26279         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
26280         clock and post an EOS message if we come out of finish_preroll in
26281         the playing state.
26282
26283 2005-06-16  David Schleef  <ds@schleef.org>
26284
26285         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
26286         (gst_capsfilter_set_property): Allow NULL as possible value
26287         for filter_caps property, indicating GST_CAPS_ANY.
26288
26289 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26290
26291         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
26292           fix debug output
26293         * gst/schedulers/Makefile.am:
26294           use libgst prefix
26295         * gstreamer.spec.in:
26296           fix spec for it
26297
26298 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26299
26300         * gstreamer.spec.in:
26301           clean up
26302
26303 2005-06-08  Andy Wingo  <wingo@pobox.com>
26304
26305         * gst/gstutils.c: RPAD fixes all around.
26306         (gst_element_link_pads): Refcounting fixes.
26307
26308         * tools/gst-inspect.c:
26309         * tools/gst-xmlinspect.c:
26310         * parse/grammar.y:
26311         * gst/base/gsttypefindhelper.c:
26312         * gst/base/gstbasesink.c:
26313         * gst/gstqueue.c: RPAD fixes.
26314
26315         * gst/gstghostpad.h:
26316         * gst/gstghostpad.c: New ghost pad implementation as full proxy
26317         pads. The tricky thing is they provide both source and sink
26318         interfaces, since they proxy the internal pad for the external
26319         pad, and vice versa. Implement with lower-level ProxyPad objects,
26320         with the interior proxy pad as a child of the exterior ghost pad.
26321         Should write a doc on this.
26322         
26323         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26324         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26325         gst_object API.
26326         
26327         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26328         pads are real pads. No ghost pads in this file. Not documenting
26329         the myriad s/RPAD/PAD/ and REALIZE fixes.
26330         (gst_pad_class_init): Add properties for "direction" and
26331         "template". Both are construct-only, so they can't change during
26332         the life of the pad. Fixes properly deriving from GstPad.
26333         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26334         derived objects, just set properties when creating the objects via
26335         g_object_new.
26336         (gst_pad_get_parent): Implement as a function, return NULL if the
26337         parent is not an element.
26338         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26339         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26340         
26341         * gst/gstobject.c (gst_object_class_init): Make name a construct
26342         property. Don't set it in the object init.
26343
26344         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26345         with UNKNOWN direction.
26346         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26347         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26348         (gst_element_remove_pad): Remove ghost-pad special cases.
26349         (gst_element_pads_activate): Remove rpad cruft.
26350
26351         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26352         catch the pad's-parent-not-an-element case.
26353
26354         * gst/gst.h: Include gstghostpad.h.
26355
26356         * gst/gst.c (init_post): No more real, ghost pads.
26357
26358         * gst/Makefile.am: Add gstghostpad.[ch].
26359
26360         * check/Makefile.am:
26361         * check/gst/gstbin.c:
26362         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26363         into a bin creates ghost pads, and that the refcounts are right.
26364         Partly moved from gstbin.c.
26365
26366 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26367
26368         * check/gst-libs/.cvsignore:
26369         * check/gst/.cvsignore:
26370         * check/pipelines/.cvsignore:
26371           ignore more
26372         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26373         (START_TEST), (cleanup_suite), (main):
26374           add some tests related to cleanup after running pipelines
26375
26376 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26377
26378         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26379           add a testsuite for GstBuffer
26380
26381 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26382
26383         * gst/gstminiobject.h:
26384           add defines for accessing the refcount
26385
26386 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
26387
26388         * Makefile.am: added support for html unit test coverage reports
26389
26390 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
26391
26392         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26393           Free existing caps if the capsfilter changes. Add a FIXME about
26394           setting those caps on the pads.
26395
26396         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26397           Before adding a ghost pad to a parent bin, check that there isn't
26398           already one for the element on the bin. Prevents infinite recursion
26399           when using decodebin in parse pipelines. Andy says he'll rewrite the
26400           way this works anyway, so ignore the hack.
26401
26402 2005-06-02  Andy Wingo  <wingo@pobox.com>
26403
26404         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26405         file size, pass it on to the type find helper.
26406
26407         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26408         segment_start and segment_end properly according to the seek
26409         method. Segment_end is still a bit flaky because offset can be
26410         negative for CUR and END cases, but it takes -1 as an "unset"
26411         value.
26412
26413 2005-06-02  Wim Taymans  <wim@fluendo.com>
26414
26415         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26416         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26417         (gst_basesink_activate):
26418         * gst/base/gstbasesink.h:
26419         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26420         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26421         (gst_pad_query), (gst_pad_start_task):
26422         * gst/gstpad.h:
26423         * gst/gstqueue.c: (gst_queue_bufferalloc),
26424         (gst_queue_handle_sink_event), (gst_queue_chain):
26425         Bufferalloc: return GstFlowReturn to more accuratly report
26426         why allocation failed.
26427
26428 2005-06-02  Wim Taymans  <wim@fluendo.com>
26429
26430         * gst/gstpipeline.c: (gst_pipeline_send_event):
26431         Take snapshot of state without blocking.
26432
26433 2005-06-02  Wim Taymans  <wim@fluendo.com>
26434
26435         * docs/design/part-TODO.txt:
26436         * docs/design/part-caps.txt:
26437         * docs/design/part-clocks.txt:
26438         * docs/design/part-negotiation.txt:
26439         * docs/design/part-preroll.txt:
26440         Small doc updates 
26441
26442 2005-05-30  Wim Taymans  <wim@fluendo.com>
26443
26444         * gst/elements/gstidentity.c: (gst_identity_event),
26445         (gst_identity_transform), (gst_identity_get_property):
26446         Protect last_message property as it is accessed from
26447         multiple threads.
26448
26449 2005-05-30  Wim Taymans  <wim@fluendo.com>
26450
26451         * gst/gstelement.c: (gst_element_init),
26452         (gst_element_pads_activate), (gst_element_change_state):
26453         Slicker pad activation code.
26454
26455 2005-05-30  Wim Taymans  <wim@fluendo.com>
26456
26457         * gst/Makefile.am:
26458         * gst/gstelement.h:
26459         * gst/gstelementfactory.h:
26460         * gst/gsttypes.h:
26461         Move elementfactory methods to separate .h file.
26462
26463 2005-05-30  Wim Taymans  <wim@fluendo.com>
26464
26465         * docs/design/part-overview.txt:
26466         * gst/gstsystemclock.h:
26467         Small typo fixes, doc updates.
26468
26469 2005-05-30  Wim Taymans  <wim@fluendo.com>
26470
26471         * gst/gst.c: (gst_init_get_popt_table), (init_post),
26472         (init_popt_callback):
26473         Remove cpu-opt flag.
26474
26475 2005-05-30  Wim Taymans  <wim@fluendo.com>
26476
26477         * gst/gstbuffer.c: (gst_subbuffer_finalize),
26478         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26479         * gst/gstbuffer.h:
26480         Avoid typechecking in places where not needed.
26481         Added accessor for malloc_data.
26482
26483 2005-05-30  Wim Taymans  <wim@fluendo.com>
26484
26485         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26486         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26487         (gst_pad_configure_sink), (gst_pad_configure_src),
26488         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26489         (gst_pad_start_task):
26490         Propagate errors from _set_caps() in configure_src/sink
26491         functions instead of returning TRUE.
26492         FLUSH events can travel up and downstream
26493
26494
26495 2005-05-30  Wim Taymans  <wim@fluendo.com>
26496
26497         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26498         (gst_basesink_activate):
26499         Handle EOS in preroll.
26500
26501 2005-05-30  Wim Taymans  <wim@fluendo.com>
26502
26503         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26504         (gst_queue_loop), (gst_queue_handle_src_event):
26505         Remove old pieces of code
26506         Flushing the queue in an upstream event is a very bad idea.
26507
26508 2005-05-26  Andy Wingo  <wingo@pobox.com>
26509
26510         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26511         gst_value_set_mini_object so as to add a ref on the object (which
26512         will be removed when the value is unset).
26513
26514         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26515         arg type in ::handoff.
26516
26517         * gst/gstelement.c (gst_element_change_state): Also deactivate
26518         pads in READY->NULL, just in case the element didn't make it to
26519         PAUSED. Wingo tested, Wim approved.
26520
26521 2005-05-26  Wim Taymans  <wim@fluendo.com>
26522
26523         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26524         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26525         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26526         A flushing pad cannot be used to alloc_buffer from.
26527
26528 2005-05-26  Wim Taymans  <wim@fluendo.com>
26529
26530         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26531         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26532         (gst_bus_source_dispatch), (gst_bus_source_finalize),
26533         (gst_bus_create_watch), (gst_bus_add_watch_full):
26534         * gst/gstbus.h:
26535         Implement a real GSource and use g_main_context_wakeup() to
26536         signal new messages instead of the socketpair.
26537
26538 2005-05-25  Wim Taymans  <wim@fluendo.com>
26539
26540         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26541         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26542         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26543         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26544         (gst_pad_send_event), (gst_pad_start_task):
26545         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26546         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26547         (gst_queue_sink_activate), (gst_queue_src_activate),
26548         (gst_queue_change_state):
26549         * gst/gstqueue.h:
26550         Fix state changes for non sinks. We now change sinks, then elements
26551         with unconnected srcpads, then the rest.
26552         More efficient queue unlocking in flush and state changes.
26553         Set the pad activate mode even if it does not have an activate
26554         function.
26555
26556 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26557
26558         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26559           Don't go in pull mode for non-seekable sources.
26560         * gst/elements/gsttypefindelement.h:
26561         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26562         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26563         (free_entry), (stop_typefinding),
26564         (gst_type_find_element_handle_event), (find_peek),
26565         (gst_type_find_element_chain), (do_pull_typefind),
26566         (gst_type_find_element_change_state):
26567           Allow typefinding (w/o seeking) in push-mode, simplified version
26568           of what was in 0.8.
26569         * gst/gstutils.c: (gst_buffer_join):
26570         * gst/gstutils.h:
26571           gst_buffer_join() from 0.8.
26572
26573 2005-05-25  Wim Taymans  <wim@fluendo.com>
26574
26575         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26576         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26577         (gst_pad_send_event), (gst_pad_start_task):
26578         Disable attempt at mode switching until it is figured out.
26579
26580 2005-05-25  Wim Taymans  <wim@fluendo.com>
26581
26582         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26583         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26584         (gst_basesink_finish_preroll), (gst_basesink_chain),
26585         (gst_basesink_loop), (gst_basesink_activate),
26586         (gst_basesink_change_state):
26587         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26588         (gst_basesrc_get_range), (gst_basesrc_loop),
26589         (gst_basesrc_activate):
26590         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26591         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26592         (gst_real_pad_init), (gst_real_pad_set_property),
26593         (gst_real_pad_get_property), (gst_pad_set_active),
26594         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26595         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26596         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26597         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26598         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26599         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26600         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26601         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26602         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26603         (gst_pad_stop_task):
26604         * gst/gstpad.h:
26605         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26606         (gst_queue_loop), (gst_queue_src_activate):
26607         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26608         (gst_task_get_state):
26609         * gst/gsttask.h:
26610         * gst/schedulers/threadscheduler.c:
26611         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26612         Implement gst_pad_pause/start/stop_task(), take STREAM lock
26613         in task function.
26614         Remove ACTIVE pad flag, use FLUSHING everywhere
26615         Added _pad_chain(), _pad_get_range() to call chain/getrange 
26616         functions.
26617         Add locks around IS_FLUSHING when reading.
26618         Take STREAM lock in chain(), get_range() functions so plugins
26619         don't need to take it anymore.
26620         
26621
26622
26623 2005-05-25  Wim Taymans  <wim@fluendo.com>
26624
26625         * tools/gst-launch.c: (event_loop):
26626         Unref message after using its contents instead of
26627         before.
26628
26629 2005-05-24  Wim Taymans  <wim@fluendo.com>
26630
26631         * docs/design/draft-ghostpads.txt:
26632         * docs/design/draft-push-pull.txt:
26633         * docs/design/draft-query.txt:
26634         * docs/design/part-overview.txt:
26635         Docs updates, added general overview doc.
26636
26637 2005-05-21  David Schleef  <ds@schleef.org>
26638
26639         * docs/gst/tmpl/old/GstBin.sgml:
26640         * docs/gst/tmpl/old/GstBuffer.sgml:
26641         * docs/gst/tmpl/old/GstCaps.sgml:
26642         * docs/gst/tmpl/old/GstClock.sgml:
26643         * docs/gst/tmpl/old/GstCompat.sgml:
26644         * docs/gst/tmpl/old/GstData.sgml:
26645         * docs/gst/tmpl/old/GstElement.sgml:
26646         * docs/gst/tmpl/old/GstEvent.sgml:
26647         * docs/gst/tmpl/old/GstIndex.sgml:
26648         * docs/gst/tmpl/old/GstStructure.sgml:
26649         * docs/gst/tmpl/old/GstTag.sgml:
26650         * docs/gst/tmpl/old/cothreads.sgml:
26651         * docs/gst/tmpl/old/cothreads_compat.sgml:
26652         * docs/gst/tmpl/old/gettext.sgml:
26653         * docs/gst/tmpl/old/gobject2gtk.sgml:
26654         * docs/gst/tmpl/old/grammar.tab.sgml:
26655         * docs/gst/tmpl/old/gst-i18n-app.sgml:
26656         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26657         * docs/gst/tmpl/old/gst_private.sgml:
26658         * docs/gst/tmpl/old/gstaggregator.sgml:
26659         * docs/gst/tmpl/old/gstarch.sgml:
26660         * docs/gst/tmpl/old/gstatomic_impl.sgml:
26661         * docs/gst/tmpl/old/gstbufferstore.sgml:
26662         * docs/gst/tmpl/old/gstdata_private.sgml:
26663         * docs/gst/tmpl/old/gstdisksink.sgml:
26664         * docs/gst/tmpl/old/gstdisksrc.sgml:
26665         * docs/gst/tmpl/old/gstelementfactory.sgml:
26666         * docs/gst/tmpl/old/gstextratypes.sgml:
26667         * docs/gst/tmpl/old/gstfakesink.sgml:
26668         * docs/gst/tmpl/old/gstfakesrc.sgml:
26669         * docs/gst/tmpl/old/gstfdsink.sgml:
26670         * docs/gst/tmpl/old/gstfdsrc.sgml:
26671         * docs/gst/tmpl/old/gstfilesink.sgml:
26672         * docs/gst/tmpl/old/gstfilesrc.sgml:
26673         * docs/gst/tmpl/old/gsthttpsrc.sgml:
26674         * docs/gst/tmpl/old/gstidentity.sgml:
26675         * docs/gst/tmpl/old/gstindexfactory.sgml:
26676         * docs/gst/tmpl/old/gstmarshal.sgml:
26677         * docs/gst/tmpl/old/gstmd5sink.sgml:
26678         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26679         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26680         * docs/gst/tmpl/old/gstpadtemplate.sgml:
26681         * docs/gst/tmpl/old/gstpipefilter.sgml:
26682         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26683         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26684         * docs/gst/tmpl/old/gstshaper.sgml:
26685         * docs/gst/tmpl/old/gstspider.sgml:
26686         * docs/gst/tmpl/old/gstspideridentity.sgml:
26687         * docs/gst/tmpl/old/gststatistics.sgml:
26688         * docs/gst/tmpl/old/gsttee.sgml:
26689         * docs/gst/tmpl/old/gsttimecache.sgml:
26690         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26691         * docs/gst/tmpl/old/gstxmlregistry.sgml:
26692         * docs/gst/tmpl/old/gthread-cothreads.sgml:
26693         * docs/gst/tmpl/old/types.sgml:
26694           I didn't intend to add these or check them in.
26695
26696 2005-05-19  David Schleef  <ds@schleef.org>
26697
26698         * configure.ac: Use -no-common everywhere.  In a sane world, it
26699           would be the default in libtool, because without it, you can't
26700           build DLLs on Windows.
26701         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26702         * docs/gst/gstreamer-sections.txt:
26703         * docs/gst/tmpl/gstcpu.sgml:
26704         * docs/gst/tmpl/gstdata.sgml:
26705         * docs/gst/tmpl/gstthread.sgml:
26706
26707 2005-05-19  David Schleef  <ds@schleef.org>
26708
26709         * gst/gstminiobject.c: (gst_value_set_mini_object),
26710         (gst_value_take_mini_object), (gst_value_get_mini_object):
26711         * gst/gstminiobject.h: Add GValue set/get functions.
26712
26713 2005-05-19  Wim Taymans  <wim@fluendo.com>
26714
26715         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26716         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26717         (gst_subbuffer_init), (gst_buffer_is_span_fast):
26718         * gst/gstbuffer.h:
26719         * gst/gstbus.c: (gst_bus_post):
26720         * gst/gstelement.c: (gst_element_get_random_pad):
26721         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26722         Make subbufer unref the parent in finalize.
26723         some more debugging info.
26724
26725
26726 2005-05-19  Wim Taymans  <wim@fluendo.com>
26727
26728         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26729         (gst_basesink_init), (gst_basesink_finalize),
26730         (gst_basesink_activate), (gst_basesink_change_state):
26731         Don't free preroll queue too early.
26732
26733 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26734
26735         * gst/Makefile.am:
26736         * gst/ROADMAP:
26737           Hi, I'm outdated. Please shoot me.
26738
26739 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26740
26741         * gst/gstpipeline.c: (gst_pipeline_send_event):
26742           Do not access variables after they have been deleted.
26743
26744 2005-05-19  Wim Taymans  <wim@fluendo.com>
26745
26746         * tools/gst-inspect.c: (print_plugin_features):
26747         A plugin feature does unfortunatly not use the
26748         object name yet...
26749
26750 2005-05-18  Wim Taymans  <wim@fluendo.com>
26751
26752         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26753         Port _span() functions to new subbuffers.
26754
26755 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26756
26757         * gst/gstbin.c: (gst_bin_add_func):
26758           Fix clock settery in bins when adding kids after the clock has
26759           been selected.
26760
26761 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26762
26763         * gst/elements/gstidentity.c: (gst_identity_class_init):
26764           Workaround until signals support GstMiniObject.
26765
26766 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
26767
26768         * gst/gstbuffer.c:
26769         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26770
26771 2005-05-18  Wim Taymans  <wim@fluendo.com>
26772
26773         * gst/base/Makefile.am:
26774         * gst/base/gstadapter.c: (gst_adapter_base_init),
26775         (gst_adapter_class_init), (gst_adapter_init),
26776         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26777         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26778         (gst_adapter_flush), (gst_adapter_available),
26779         (gst_adapter_available_fast):
26780         * gst/base/gstadapter.h:
26781         Ported and added adapter to the base classes.
26782
26783 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26784
26785         * gst/gst.c:
26786         * gst/gstmessage.c:
26787           Make sure the class is reffed/unreffed once before threads can be
26788           used.  Fixes #304551.
26789
26790 2005-05-17  Wim Taymans  <wim@fluendo.com>
26791
26792         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26793         (gst_basesink_chain_unlocked), (gst_basesink_activate):
26794         * gst/gstminiobject.c: (gst_mini_object_get_type),
26795         (gst_mini_object_free):
26796         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26797         (gst_pad_push), (gst_pad_push_event):
26798         * gst/gstqueue.c: (gst_queue_change_state):
26799         Don't queue buffers in basesink when we are flushing.
26800         Unref buffer when flushing in basesink.
26801         Flush queue when going to READY
26802         Unref buffer when _push() returns an error.
26803         Don't free MiniObject instance when refcount is incremented
26804         in _finalize() so that we can recover objects.
26805
26806 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26807
26808         * docs/manual/advanced-schedulers.xml:
26809         * docs/manual/appendix-checklist.xml:
26810         * docs/pwg/advanced-clock.xml:
26811         * docs/pwg/advanced-interfaces.xml:
26812         * docs/pwg/advanced-request.xml:
26813         * docs/pwg/advanced-types.xml:
26814         * docs/pwg/intro-preface.xml:
26815         * examples/plugins/example.c: (gst_example_get_type),
26816         (gst_example_class_init), (gst_example_chain),
26817         (gst_example_set_property), (gst_example_get_property),
26818         (gst_example_change_state), (plugin_init):
26819         * examples/plugins/example.h:
26820           small doc fixes
26821
26822 2005-05-17  Wim Taymans  <wim@fluendo.com>
26823
26824         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26825         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26826         * gst/gstqueue.c: (gst_queue_change_state):
26827         Clear queue when going to READY.
26828         Remove IN_SETCAPS flag too.
26829
26830 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
26831
26832         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26833           Remove implicit cast from gboolean to GstElementStateReturn;
26834           make sure we still return failure in paused => ready case if
26835           the parent class fails to change state and our own stop 
26836           vfunc succeeds.
26837
26838 2005-05-17  Wim Taymans  <wim@fluendo.com>
26839
26840         * tools/gst-launch.c: (event_loop):
26841         Message was unreffed too soon.
26842
26843 2005-05-16  Andy Wingo  <wingo@pobox.com>
26844
26845         * gst/gstbin.c (sink_iterator_filter): Err... um...
26846
26847         * check/gst/gstbin.c (test_ghost_pads): New test for the
26848         ghosting-if-elements-not-in-same-bin behavior.
26849
26850 2005-05-16  David Schleef  <ds@schleef.org>
26851
26852         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26853         accessing refcount directly.
26854
26855 2005-05-15  David Schleef  <ds@schleef.org>
26856
26857         * check/Makefile.am: remove GstData checks
26858         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26859         * gst/Makefile.am: add miniobject, remove data
26860         * gst/gst.h: add miniobject, remove data
26861         * gst/gstdata.c: remove
26862         * gst/gstdata.h: remove
26863         * gst/gstdata_private.h: remove
26864         * gst/gsttypes.h: remove GstEvent and GstMessage
26865         * gst/gstelement.c: (gst_element_post_message): fix for API changes
26866         * gst/gstmarshal.list: change BOXED -> OBJECT
26867
26868         Implement GstMiniObject.
26869         * gst/gstminiobject.c:
26870         * gst/gstminiobject.h:
26871
26872         Modify to be subclasses of GstMiniObject.
26873         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26874         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26875         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26876         (gst_subbuffer_get_type), (gst_subbuffer_init),
26877         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26878         (gst_buffer_span):
26879         * gst/gstbuffer.h:
26880         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26881         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26882         (_gst_event_copy), (gst_event_new):
26883         * gst/gstevent.h:
26884         * gst/gstmessage.c: (_gst_message_initialize),
26885         (gst_message_get_type), (gst_message_class_init),
26886         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26887         (gst_message_new), (gst_message_new_error),
26888         (gst_message_new_warning), (gst_message_new_tag),
26889         (gst_message_new_state_changed), (gst_message_new_application):
26890         * gst/gstmessage.h:
26891         * gst/gstprobe.c: (gst_probe_perform),
26892         (gst_probe_dispatcher_dispatch):
26893         * gst/gstprobe.h:
26894         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26895         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26896         (_gst_query_copy), (gst_query_new):
26897
26898         Update elements for GstData -> GstMiniObject changes
26899         * gst/gstquery.h:
26900         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26901         (gst_queue_chain), (gst_queue_loop):
26902         * gst/elements/gstbufferstore.c:
26903         (gst_buffer_store_add_buffer_func),
26904         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26905         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26906         (gst_fakesink_render):
26907         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26908         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26909         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26910         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26911         (gst_filesrc_create_read):
26912         * gst/elements/gstidentity.c: (gst_identity_class_init):
26913         * gst/elements/gsttypefindelement.c:
26914         (gst_type_find_element_src_event), (free_entry_buffers),
26915         (gst_type_find_element_handle_event):
26916         * libs/gst/dataprotocol/dataprotocol.c:
26917         (gst_dp_header_from_buffer):
26918         * libs/gst/dataprotocol/dataprotocol.h:
26919         * libs/gst/dataprotocol/dp-private.h:
26920
26921 2005-05-15  David Schleef  <ds@schleef.org>
26922
26923         * gst/elements/gstelements.c: Don't include headers that were
26924         just removed.
26925
26926 2005-05-15  David Schleef  <ds@schleef.org>
26927
26928         * gst/elements/Makefile.am: Remove some elements that don't
26929         need to be in the core (or even exist at all).
26930         * gst/elements/gstaggregator.c:
26931         * gst/elements/gstaggregator.h:
26932         * gst/elements/gstmd5sink.c:
26933         * gst/elements/gstmd5sink.h:
26934         * gst/elements/gstmultifilesrc.c:
26935         * gst/elements/gstmultifilesrc.h:
26936         * gst/elements/gstpipefilter.c:
26937         * gst/elements/gstpipefilter.h:
26938         * gst/elements/gstshaper.c:
26939         * gst/elements/gstshaper.h:
26940         * gst/elements/gststatistics.c:
26941         * gst/elements/gststatistics.h:
26942         * po/POTFILES.in: Remove above files.
26943
26944 2005-05-14  Andy Wingo  <wingo@pobox.com>
26945
26946         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26947         so as to get the refs right.
26948         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26949         unreffing objects that don't pass the filter.
26950
26951         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26952         gst_element_set_bus.
26953         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26954         normal cases, this will destroy the bus.
26955
26956         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26957         object.
26958
26959         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26960         has no sinks.
26961
26962 2005-05-13  Andy Wingo  <wingo@pobox.com>
26963
26964         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26965         gst_pad_link, call pad_link_maybe_ghosting,
26966         (pad_link_maybe_ghosting): Links pads, making sure that the
26967         elements being linked are in the same bin.
26968         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26969         Helpers for pad_link_maybe_ghosting.
26970
26971 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26972
26973         * configure.ac:
26974           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26975
26976 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26977
26978         * docs/design/part-element-source.txt:
26979           Mention GstPushSrc
26980
26981 2005-05-12  Wim Taymans  <wim@fluendo.com>
26982
26983         * gst/base/gstbasesink.c: (gst_basesink_init),
26984         (gst_basesink_activate):
26985         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26986         (gst_basesrc_is_seekable):
26987         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26988         (bin_element_is_sink), (gst_bin_change_state):
26989         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26990         * gst/gstelement.h:
26991         Identify sinks by their flag to avoid overly complicated
26992         checks (fow now).
26993         Do state changes even for elements not reachable from the
26994         sinks.
26995         BaseSink is a sink now :)
26996         Some more debugging info in the basesrc.
26997
26998
26999 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27000
27001         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27002           Implement _query on a bin, similar to _send_event.
27003
27004 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27005
27006         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27007           Discont event offset format should be GST_FORMAT_BYTES,
27008           not GST_FORMAT_TIME.
27009
27010 2005-05-12  Wim Taymans  <wim@fluendo.com>
27011
27012         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27013         Same fix as Ronald's but without the signal. 
27014
27015 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27016
27017         * gst/gstutils.c: (gst_element_query_position):
27018           No, an element is not a pad.
27019
27020 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27021
27022         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27023         (gst_bin_get_state):
27024           If a child is removed from a bin while we remove the child from
27025           the bin and while we're retrieving its state, signal this to the
27026           get_state function so we abort the wait (instead of waiting for
27027           a timeout) and can immediately re-iterate over all other elements.
27028
27029 2005-05-12  Wim Taymans  <wim@fluendo.com>
27030
27031         * gst/base/Makefile.am:
27032         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27033         (gst_basesrc_start):
27034         * gst/base/gstbasesrc.h:
27035         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27036         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27037         (gst_pushsrc_init), (gst_pushsrc_create):
27038         * gst/base/gstpushsrc.h:
27039         Added is_seekable to BaseSrc
27040         Added simple PushSrc.
27041
27042 2005-05-11  Wim Taymans  <wim@fluendo.com>
27043
27044         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27045         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27046         (gst_element_link_pads), (gst_element_query_position),
27047         (gst_element_query_convert), (intersect_caps_func),
27048         (gst_pad_query_position), (gst_pad_query_convert):
27049         Fix refcounting in utils function.
27050         No point in trying to activate a pad when it's added, it could
27051         be added from the state change function and then we deadlock, the
27052         element has to decide what to do.
27053
27054 2005-05-10  Andy Wingo  <wingo@pobox.com>
27055
27056         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
27057         *all* the arguments.
27058
27059         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
27060         stream lock if it's a FLUSH_DONE; normal flushes don't get the
27061         lock (according to the docs -- if this is wrong change the docs).
27062
27063         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
27064         flush messages in the NULL state.
27065
27066         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
27067         message immediately and return.
27068         (gst_bus_set_flushing): New function. If a bus is flushing, it
27069         flushes out any queued messages and immediately unrefs new
27070         messages. This is so when an element goes to NULL, all of the
27071         unhandled messages coming from it can be freed, and their
27072         references to the element dropped. In other words: message source
27073         ref considered harmful :P
27074
27075         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
27076         we're finished with it.
27077
27078         * gst/gstmessage.c (gst_message_new_state_changed): 
27079
27080 2005-05-10  Wim Taymans  <wim@fluendo.com>
27081
27082         * gst/gstvalue.c: (gst_value_compare_flags),
27083         (gst_value_serialize_flags), (gst_value_deserialize_flags),
27084         (_gst_value_initialize):
27085         Added flags serialize/deserialize/compare code.
27086
27087 2005-05-09  Andy Wingo  <wingo@pobox.com>
27088
27089         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
27090         Intersect the peer's caps with our caps.
27091
27092 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27093
27094         * gst/base/gsttypefindhelper.c: (helper_find_peek):
27095         * gst/elements/gsttypefindelement.c: (find_peek):
27096           Handle negative offsets better. Fixes decodebin.
27097
27098 2005-05-09  Wim Taymans  <wim@fluendo.com>
27099
27100         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
27101         (gst_base_transform_event):
27102         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
27103         Implement accept_caps.
27104         Fix silly lock/unlock mismatch in base class.
27105
27106 2005-05-09  Wim Taymans  <wim@fluendo.com>
27107
27108         * docs/design/draft-push-pull.txt:
27109         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
27110         * gst/elements/gstfilesink.c: (gst_filesink_init),
27111         (gst_filesink_query):
27112         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27113         (gst_type_find_handle_src_query), (find_element_get_length):
27114         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
27115         * gst/gstelement.h:
27116         * gst/gstmessage.c:
27117         * gst/gstmessage.h:
27118         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
27119         (gst_real_pad_get_caps_unlocked),
27120         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
27121         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27122         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
27123         (gst_real_pad_dispose), (gst_real_pad_finalize),
27124         (gst_pad_load_and_link), (gst_pad_save_thyself),
27125         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
27126         (gst_pad_check_pull_range), (gst_pad_pull_range),
27127         (gst_pad_template_get_type), (gst_pad_template_class_init),
27128         (gst_pad_template_init), (gst_pad_template_dispose),
27129         (name_is_valid), (gst_static_pad_template_get),
27130         (gst_pad_template_new), (gst_static_pad_template_get_caps),
27131         (gst_pad_template_get_caps), (gst_pad_set_element_private),
27132         (gst_pad_get_element_private), (gst_pad_start_task),
27133         (gst_pad_pause_task), (gst_pad_stop_task),
27134         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
27135         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
27136         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
27137         (gst_ghost_pad_new):
27138         * gst/gstpad.h:
27139         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
27140         (gst_query_new_position), (gst_query_set_position),
27141         (gst_query_parse_position), (gst_query_new_convert),
27142         (gst_query_set_convert), (gst_query_parse_convert):
27143         * gst/gstquery.h:
27144         * gst/gstqueryutils.c:
27145         * gst/gstqueryutils.h:
27146         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27147         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27148         (gst_queue_handle_src_query):
27149         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27150         (gst_element_query_position), (gst_element_query_convert),
27151         (intersect_caps_func), (gst_pad_query_position),
27152         (gst_pad_query_convert):
27153         * gst/gstutils.h:
27154         * tools/gst-inspect.c: (print_pad_info):
27155         * tools/gst-xmlinspect.c: (print_element_info):
27156         Remove old query functions. Ported old code.
27157         Added position/convert helper functions to gstutils.
27158         Reordered gstpad.c code, grouping relevant things.
27159         Remove gst_message_new(), always need to speficy a specific
27160         message.
27161
27162
27163 2005-05-09  Andy Wingo  <wingo@pobox.com>
27164
27165         * gst/gstiterator.h: Add some includes.
27166
27167         * gst/gstqueryutils.h: Include more headers.
27168
27169         * gst/gstpad.h:
27170         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
27171         some uses of gst_pad_query.
27172
27173         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
27174         NULL out parameters.
27175         (gst_query_new_position): New proc, allocates a new position
27176         query.
27177
27178         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
27179         gstqueryutils.c to the build.
27180
27181         * gst/gststructure.c (gst_structure_set_valist): Implement with
27182         the generic G_VALUE_COLLECT.
27183         
27184 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
27185
27186         * gst/Makefile.am: (gst_headers):
27187         Added gstqueryutils.h to the list of headers to install, that was
27188         a 'nachty' move wingo :)
27189
27190 2005-05-06  Andy Wingo  <wingo@pobox.com>
27191
27192         * gst/gstquery.h
27193         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
27194         GstData, init a memchunk.
27195         (standard_definitions): Add a few query types, deprecate a few.
27196         (gst_query_get_type): New proc.
27197         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
27198         implementation.
27199         (gst_query_new_application, gst_query_get_structure): New public
27200         procs.
27201
27202         * docs/design/draft-query.txt: Removed LINKS from the query types,
27203         because all the rest can be dispatched to other pads -- seemed
27204         ugly to have a query that couldn't be dispatched. internal_links
27205         is fine as a pad method.
27206
27207         * gst/gstpad.h: Add query2 as a pad method, add the new functions
27208         in gstpad.c, but maintain binary compatibility for the moment.
27209         Will fix before 0.9 is out.
27210
27211         * gst/gstqueryutils.c: 
27212         * gst/gstqueryutils.h: New files, implement 3 methods for each
27213         query type: parse_query, parse_response, and set. Probably need an
27214         allocator as well.
27215
27216         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
27217
27218         * gst/elements/gstfilesink.c (gst_filesink_query2):
27219         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
27220         query_types, and formats methods.
27221
27222         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
27223         (gst_pad_set_query2_function): New functions.
27224         (gst_real_pad_init): Set query2_default as the default query2
27225         function. Basically just dispatches to internally linked pads.
27226
27227         Needs review!
27228         
27229         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
27230         without using the atomic operations. Only one thread can possibly
27231         be accessing the data at this point. Changed so as to avoid
27232         gst_atomic operations.
27233
27234 2005-05-06  Wim Taymans  <wim@fluendo.com>
27235
27236         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
27237         Also set caps if we use the fallback buffer alloc.
27238
27239 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
27240
27241         * docs/gst/Makefile.am:
27242         * docs/gst/gstreamer-docs.sgml:
27243         * docs/gst/gstreamer-sections.txt:
27244         * docs/gst/tmpl/gstatomic.sgml:
27245         * docs/gst/tmpl/gstmemchunk.sgml:
27246         * testsuite/elements/struct_i386.h:
27247         * win32/GStreamer.vcproj:
27248         * win32/Makefile:
27249           Purge GstAtomic stuff from docs and win32 makefiles as well
27250
27251 2005-05-06  Wim Taymans  <wim@fluendo.com>
27252
27253         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
27254         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
27255         * gst/gstpad.c: (gst_pad_peer_get_caps):
27256         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27257         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27258         (gst_queue_src_activate), (gst_queue_change_state):
27259         * gst/gstqueue.h:
27260         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27261         (intersect_caps_func):
27262         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
27263         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
27264         Some fixes for the peer_get_caps() change.
27265
27266 2005-05-06  Wim Taymans  <wim@fluendo.com>
27267
27268         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27269         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
27270         (gst_basesink_activate):
27271         Actually do something with error codes returned from the push
27272         functions.
27273
27274 2005-05-06  Wim Taymans  <wim@fluendo.com>
27275
27276         * docs/design/part-element-sink.txt:
27277         * docs/design/part-element-source.txt:
27278         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27279         (gst_basesink_event), (gst_basesink_activate):
27280         * gst/base/gstbasesink.h:
27281         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
27282         (gst_basesrc_activate):
27283         * gst/base/gstbasesrc.h:
27284         * gst/gstelement.c: (gst_element_pads_activate):
27285         Some more documentation.
27286         Fixed scheduling decision in _pads_activate().
27287
27288 2005-05-05  Andy Wingo  <wingo@pobox.com>
27289
27290         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
27291         the test suite.
27292
27293 2005-05-05  Wim Taymans  <wim@fluendo.com>
27294
27295         * gst/base/Makefile.am:
27296         * gst/base/gstbasesink.h:
27297         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27298         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
27299         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
27300         (gst_collectpads_class_init), (gst_collectpads_init),
27301         (gst_collectpads_finalize), (gst_collectpads_new),
27302         (gst_collectpads_set_function), (gst_collectpads_add_pad),
27303         (find_pad), (gst_collectpads_remove_pad),
27304         (gst_collectpads_is_active), (gst_collectpads_collect),
27305         (gst_collectpads_collect_range), (gst_collectpads_start),
27306         (gst_collectpads_stop), (gst_collectpads_peek),
27307         (gst_collectpads_pop), (gst_collectpads_available),
27308         (gst_collectpads_read), (gst_collectpads_flush),
27309         (gst_collectpads_chain):
27310         * gst/base/gstcollectpads.h:
27311         * gst/elements/Makefile.am:
27312         * gst/elements/gstelements.c:
27313         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27314         (gst_fakesink_get_times), (gst_fakesink_event),
27315         (gst_fakesink_preroll), (gst_fakesink_render):
27316         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27317         (gst_filesink_init), (gst_filesink_set_location),
27318         (gst_filesink_open_file), (gst_filesink_close_file),
27319         (gst_filesink_pad_query), (gst_filesink_event),
27320         (gst_filesink_render), (gst_filesink_change_state):
27321         * gst/elements/gstfilesink.h:
27322         Added object to help in making collect pad based elements.
27323         Ported filesink.
27324         Make event function in sink baseclass return gboolean.
27325
27326 2005-05-05  Wim Taymans  <wim@fluendo.com>
27327
27328         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27329         (gst_bin_get_by_name):
27330         * gst/gstbuffer.h:
27331         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27332         (gst_clock_finalize):
27333         * gst/gstdata.c: (gst_data_replace):
27334         * gst/gstdata.h:
27335         * gst/gstelement.c: (gst_element_request_pad),
27336         (gst_element_pads_activate):
27337         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27338         (gst_object_unref):
27339         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27340         (gst_pad_set_checkgetrange_function),
27341         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27342         (gst_pad_check_pull_range), (gst_pad_pull_range),
27343         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27344         (gst_pad_pause_task), (gst_pad_stop_task):
27345         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27346         (gst_element_request_pad), (gst_pad_proxy_getcaps):
27347         Fix name lookup in GstBin.
27348         Added _data_replace() function and _buffer_replace()
27349         Use finalize method to clean up clock.
27350         Fix refcounting on request pads.
27351         Fix pad schedule mode error.
27352         Some more object refcounting debug info,
27353
27354
27355 2005-05-04  Andy Wingo <wingo@pobox.com>
27356
27357         * check/Makefile.am:
27358         * docs/gst/tmpl/gstatomic.sgml:
27359         * docs/gst/tmpl/gstplugin.sgml:
27360         * gst/base/gstbasesink.c: (gst_basesink_activate):
27361         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27362         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27363         (gst_basesrc_query), (gst_basesrc_set_property),
27364         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27365         (gst_basesrc_activate):
27366         * gst/base/gstbasesrc.h:
27367         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27368         (gst_base_transform_src_activate):
27369         * gst/elements/gstelements.c:
27370         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27371         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27372         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27373         * gst/elements/gsttypefindelement.c: (find_element_get_length),
27374         (gst_type_find_element_checkgetrange),
27375         (gst_type_find_element_activate):
27376         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27377         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27378         (gst_caps_load_thyself):
27379         * gst/gstelement.c: (gst_element_pads_activate),
27380         (gst_element_save_thyself), (gst_element_restore_thyself):
27381         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27382         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27383         * gst/gstpad.h:
27384         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27385         (gst_xml_parse_file), (gst_xml_parse_memory),
27386         (gst_xml_get_element), (gst_xml_make_element):
27387         * gst/indexers/gstfileindex.c: (gst_file_index_load),
27388         (_file_index_id_save_xml), (gst_file_index_commit):
27389         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27390         (read_enum), (load_pad_template), (load_feature), (load_plugin),
27391         (load_paths):
27392         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27393         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27394         * tools/gst-complete.c: (main):
27395         * tools/gst-compprep.c: (main):
27396         * tools/gst-inspect.c: (print_element_properties_info):
27397         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27398         * tools/gst-xmlinspect.c: (print_element_properties):
27399         GCC 4 fixen.
27400         
27401 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
27402
27403         * gst/gstplugin.c: (gst_plugin_check_module),
27404         (gst_plugin_check_file), (gst_plugin_load_file):
27405             apply patch from #172526 to make register work on MacOSX
27406
27407 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27408
27409         * docs/gst/tmpl/gstconfig.sgml:
27410         * gst/gstconfig.h.in:
27411           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
27412         * testsuite/debug/printf_extension.c: (main):
27413           Do not use GST_PTR_FORMAT on pointers to types with
27414           sizeof < sizeof(gpointer).  Fixes test on 64-bit
27415         * testsuite/elements/property.h:
27416           use correct printf format
27417
27418 2005-05-02  Wim Taymans  <wim@fluendo.com>
27419
27420         * docs/design/draft-push-pull.txt:
27421         * docs/design/draft-query.txt:
27422         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27423         (gst_basesrc_start):
27424         Added draft for new query API.
27425         Added draft for better selecting scheduling methods.
27426         Make basesrc ignore length if the subclass does not support
27427         it.
27428
27429 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27430
27431         * gst/Makefile.am:
27432           possible fixes for automake-1.5 - _LIBADD is reserved
27433
27434 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27435
27436         * docs/faq/Makefile.am:
27437         * docs/manual/Makefile.am:
27438         * docs/manuals.mak:
27439         * docs/pwg/Makefile.am:
27440         * gst/Makefile.am:
27441           possible fixes for automake-1.5
27442
27443 2005-04-28  Wim Taymans  <wim@fluendo.com>
27444
27445         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27446         (gst_basesink_pad_getcaps), (gst_basesink_init),
27447         (gst_basesink_do_sync):
27448         * gst/gstclock.c: (gst_clock_entry_new):
27449         * gst/gstevent.c: (gst_event_discont_get_value):
27450         * gst/gstpipeline.c: (pipeline_bus_handler),
27451         (gst_pipeline_change_state):
27452         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27453         Better debugging of clocking info.
27454         Allow NULL values when getting discont values.
27455
27456 2005-04-27  Wim Taymans  <wim@fluendo.com>
27457
27458         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27459         * check/gst/gstpad.c: (gst_pad_suite):
27460         Increase timeout for checks.
27461
27462 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27463
27464         * check/Makefile.am:
27465           fix the broken rule for cleanup.  Apparently this rule is
27466           only needed on FC2, so maybe this warrants further autotool
27467           inspection.
27468
27469 2005-04-26  Wim Taymans  <wim@fluendo.com>
27470
27471         * gst/gsttrashstack.h:
27472         Ooohh. a nasty one! After having a failed pop() from the stack,
27473         it's possible that the stack is empty. In that case, don't
27474         follow the NULL pointer.
27475
27476 2005-04-25  Wim Taymans  <wim@fluendo.com>
27477
27478         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27479         (gst_pad_set_checkgetrange_function),
27480         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27481         (gst_pad_check_pull_range), (gst_pad_pull_range),
27482         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27483         (gst_pad_pause_task), (gst_pad_stop_task):
27484         * gst/gstplugin.c: (gst_plugin_load):
27485         * gst/gstplugin.h:
27486         Remove gst_library_load as it does more harm than good with
27487         the new g_module flags.
27488         Revert bogus caps template check in pad linking, pad caps
27489         are important when linking not the template, which is more
27490         general than the current caps.
27491
27492 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27493
27494         * gst/autoplug/.cvsignore:
27495         * gst/autoplug/Makefile.am:
27496         * gst/autoplug/gstsearchfuncs.c:
27497         * gst/autoplug/gstsearchfuncs.h:
27498         * gst/autoplug/gstspider.c:
27499         * gst/autoplug/gstspider.h:
27500         * gst/autoplug/gstspideridentity.c:
27501         * gst/autoplug/gstspideridentity.h:
27502         * gst/autoplug/spidertest.c:
27503           Die, spider, die.
27504
27505 2005-04-25  Wim Taymans  <wim@fluendo.com>
27506
27507         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27508         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27509         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27510         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27511         * gst/gstpad.h:
27512         Added stubs for unimplemented functions. 
27513
27514 2005-04-24  David Schleef  <ds@schleef.org>
27515
27516         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
27517         please fix.
27518
27519 2005-04-24  David Schleef  <ds@schleef.org>
27520
27521         Convert everything from GstAtomicInt to g_atomic_int_*, and
27522         remove gstatomic.
27523         * gst/Makefile.am:
27524         * gst/gstatomic.c:
27525         * gst/gstatomic.h:
27526         * gst/gstatomic_impl.h:
27527         * gst/gstbuffer.c:
27528         * gst/gstcaps.c:
27529         * gst/gstcaps.h:
27530         * gst/gstclock.c:
27531         * gst/gstclock.h:
27532         * gst/gstdata.c:
27533         * gst/gstdata.h:
27534         * gst/gstdata_private.h:
27535         * gst/gstevent.c:
27536         * gst/gstinfo.c:
27537         * gst/gstinfo.h:
27538         * gst/gstmessage.c:
27539         * gst/gstobject.c:
27540         * gst/gstobject.h:
27541         * gst/gststructure.c:
27542         * gst/gststructure.h:
27543         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27544         * gst/gstutils.h:
27545
27546 2005-04-24  David Schleef  <ds@schleef.org>
27547
27548         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27549         make the regressions tests work.  Remove some code that is no
27550         longer true.
27551         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27552         Disable warning for pads without templates.
27553
27554 2005-04-24  David Schleef  <ds@schleef.org>
27555
27556         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
27557         functions that handle filtered links.
27558         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27559         removed functions.
27560         * gst/gstutils.c: Fix/remove utility functions that handle
27561         filtered caps.
27562         * gst/gstutils.h:
27563         * gst/gstvalue.c: Add serialization/deserialization of caps
27564         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
27565         requires fixing so that the filter caps notation creates
27566         a capsfilter element and sets the filter_caps property.  I
27567         think everyone probably wants to keep the shorthand notation.
27568         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27569         * docs/gst/tmpl/gstpad.sgml:
27570
27571         * gst/elements/gstelements.c: Register capsfilter element.
27572         * gst/Makefile.am: fix spacing
27573         * docs/random/ds/0.9-suggested-changes: random
27574
27575 2005-04-23  David Schleef  <ds@schleef.org>
27576
27577         * gst/elements/Makefile.am:
27578         * gst/elements/gstcapsfilter.c: New element that acts like an
27579         identity, but filters caps.  Will eventually replace filtered
27580         caps in pad linking.
27581         * gst/gstutils.c: (gst_element_create_all_pads): New function
27582         to create all the ALWAYS pads that are registered with an
27583         element class.  This functionality should eventually be
27584         merged in with GstElement initialization.
27585         * gst/gstutils.h:
27586         * testsuite/trigger/README: part of trigger test code that should
27587         have been checked in a long time ago.
27588
27589 2005-04-23  David Schleef  <ds@schleef.org>
27590
27591         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
27592         needed with new versions of libtool (nobody will confirm this),
27593         and hard to carry around.
27594         * gst/autoplug/Makefile.am:
27595         * gst/base/Makefile.am:
27596         * gst/elements/Makefile.am:
27597         * gst/indexers/Makefile.am:
27598         * gst/schedulers/Makefile.am:
27599         * libs/gst/bytestream/Makefile.am:
27600         * libs/gst/control/Makefile.am:
27601         * libs/gst/dataprotocol/Makefile.am:
27602         * libs/gst/getbits/Makefile.am:
27603
27604 2005-04-21  Wim Taymans  <wim@fluendo.com>
27605
27606         * docs/design/draft-push-pull.txt:
27607         * docs/design/part-MT-refcounting.txt:
27608         * docs/design/part-TODO.txt:
27609         * docs/design/part-caps.txt:
27610         * docs/design/part-events.txt:
27611         * docs/design/part-gstbus.txt:
27612         * docs/design/part-gstpipeline.txt:
27613         * docs/design/part-messages.txt:
27614         * docs/design/part-push-pull.txt:
27615         * docs/design/part-query.txt:
27616         Some more docs.
27617
27618 2005-04-21  Wim Taymans  <wim@fluendo.com>
27619
27620         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27621         (gst_message_new), (gst_message_new_error),
27622         (gst_message_new_warning), (gst_message_new_tag),
27623         (gst_message_new_state_changed), (gst_message_new_application),
27624         (gst_message_get_structure):
27625         * gst/gstmessage.h:
27626         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27627         (gst_structure_copy_conditional):
27628         Use parent refcount in GstMessage to ensure GstStructure
27629         consistency.
27630         Cleaned up headers a bit.
27631         
27632
27633 2005-04-20  Wim Taymans  <wim@fluendo.com>
27634
27635         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27636         (gst_basesink_pad_getcaps), (gst_basesink_init),
27637         (gst_basesink_chain_unlocked):
27638         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27639         (gst_type_find_helper):
27640         * gst/elements/gsttypefindelement.c:
27641         (gst_type_find_element_have_type), (gst_type_find_element_init),
27642         (stop_typefinding), (gst_type_find_element_handle_event),
27643         (find_suggest), (gst_type_find_element_chain),
27644         (gst_type_find_element_checkgetrange),
27645         (gst_type_find_element_getrange), (do_typefind),
27646         (gst_type_find_element_activate):
27647         * gst/gstbuffer.c: (_gst_buffer_sub_free),
27648         (gst_buffer_default_free), (gst_buffer_default_copy),
27649         (gst_buffer_set_caps):
27650         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27651         (gst_caps_replace):
27652         * gst/gstmessage.c: (gst_message_new),
27653         (gst_message_new_state_changed):
27654         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27655         (gst_pad_set_checkgetrange_function),
27656         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27657         (gst_pad_set_caps), (gst_pad_check_pull_range),
27658         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27659         * gst/gstpad.h:
27660         * gst/gsttypefind.c: (gst_type_find_register):
27661         Make gst_caps_replace() work like other _replace() functions.
27662         Use _caps_replace() where possible.
27663         Make sure _message_new() initialises its field.
27664         Add gst_static_pad_template_get_caps()
27665
27666
27667 2005-04-18  Andy Wingo  <wingo@pobox.com>
27668
27669         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27670         on the peer, not the pad. I think that was a typo. Pass an extra
27671         arg to see if random access is possible. Activate the pads as
27672         PULL_RANGE if possible.
27673
27674         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27675
27676         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
27677         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27678         to PROP_....
27679
27680 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27681
27682         * docs/faq/using.xml:
27683           Add note on gstreamer-properties (#154996).
27684
27685 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27686
27687         * docs/random/bbb/optional-properties:
27688           Some analysis on optional properties.
27689
27690 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27691
27692         * docs/gst/tmpl/gstelementfactory.sgml:
27693         * gst/gstelement.h:
27694         * gst/gstelementfactory.c: (gst_element_factory_init),
27695         (gst_element_factory_cleanup), (gst_element_register),
27696         (__gst_element_factory_add_static_pad_template),
27697         (gst_element_factory_get_static_pad_templates),
27698         (gst_element_factory_can_src_caps),
27699         (gst_element_factory_can_sink_caps):
27700         * gst/registries/Makefile.am:
27701         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27702         (gst_xml_registry_class_init), (gst_xml_registry_init),
27703         (gst_xml_registry_new), (gst_xml_registry_set_property),
27704         (gst_xml_registry_get_property), (get_time), (make_dir),
27705         (gst_xml_registry_get_perms_func),
27706         (plugin_times_older_than_recurse), (plugin_times_older_than),
27707         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27708         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27709         (add_to_char_array), (read_string), (read_uint), (read_enum),
27710         (load_pad_template), (load_feature), (load_plugin), (load_paths),
27711         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27712         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27713         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27714         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27715         (gst_xml_registry_rebuild):
27716         * gst/registries/gstlibxmlregistry.h:
27717         * tools/gst-compprep.c: (main):
27718         * tools/gst-inspect.c: (print_pad_templates_info):
27719         * tools/gst-xmlinspect.c: (print_element_info):
27720           Use libxml2 for registry parsing, use staticpadtemplates in
27721           elementfactories. Makes gst_init() +/- 10x faster.
27722
27723 2005-04-12  Wim Taymans  <wim@fluendo.com>
27724
27725         * gst/base/Makefile.am:
27726         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27727         (gst_basesink_pad_getcaps), (gst_basesink_init),
27728         (gst_basesink_event), (gst_basesink_change_state):
27729         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27730         (gst_basesrc_init), (gst_basesrc_query),
27731         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27732         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27733         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27734         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27735         (gst_basesrc_stop), (gst_basesrc_activate),
27736         (gst_basesrc_change_state):
27737         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27738         (helper_find_suggest), (gst_type_find_helper):
27739         * gst/base/gsttypefindhelper.h:
27740         * gst/elements/Makefile.am:
27741         * gst/elements/gstelements.c:
27742         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27743         (gst_fakesink_get_times), (gst_fakesink_event),
27744         (gst_fakesink_preroll), (gst_fakesink_render):
27745         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27746         (gst_fakesrc_init), (gst_fakesrc_event_handler),
27747         (gst_fakesrc_get_property), (gst_fakesrc_create),
27748         (gst_fakesrc_start), (gst_fakesrc_stop):
27749         * gst/elements/gstfakesrc.h:
27750         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27751         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27752         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27753         (gst_filesrc_create_read), (gst_filesrc_create),
27754         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27755         (gst_filesrc_start):
27756         * gst/elements/gsttypefindelement.c:
27757         (gst_type_find_element_have_type), (gst_type_find_element_init),
27758         (start_typefinding), (stop_typefinding), (push_buffer_store),
27759         (gst_type_find_element_handle_event),
27760         (gst_type_find_element_chain),
27761         (gst_type_find_element_checkgetrange),
27762         (gst_type_find_element_getrange), (do_typefind),
27763         (gst_type_find_element_activate),
27764         (gst_type_find_element_change_state):
27765         * gst/elements/gsttypefindelement.h:
27766         * gst/gstpipeline.c: (pipeline_bus_handler):
27767         Added typefind helper.
27768         Small preroll fix in the base sink.
27769         Disable typefind code in basesrc.
27770         Crude port of typefindelement.
27771         Fakesrc cleanups.
27772
27773
27774 2005-04-11  Wim Taymans  <wim@fluendo.com>
27775
27776         * check/gst/gstbus.c: (gstbus_suite):
27777         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27778         * check/gstcheck.h:
27779           Fix up the timeout so that the test does not fail.
27780
27781 2005-04-06  Wim Taymans  <wim@fluendo.com>
27782
27783         * gst/base/README:
27784         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27785         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27786         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27787         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27788         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27789         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27790         (gst_basesrc_stop), (gst_basesrc_activate),
27791         (gst_basesrc_change_state), (basesrc_find_peek),
27792         (basesrc_find_suggest), (gst_basesrc_type_find):
27793         * gst/base/gstbasesrc.h:
27794         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27795         (gst_filesrc_class_init), (gst_filesrc_init),
27796         (gst_filesrc_finalize), (gst_filesrc_set_location),
27797         (gst_filesrc_set_property), (gst_filesrc_get_property),
27798         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27799         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27800         (gst_filesrc_create_read), (gst_filesrc_create),
27801         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27802         * gst/elements/gstfilesrc.h:
27803         * gst/gstelement.c: (gst_element_get_state_func),
27804         (gst_element_lost_state), (gst_element_pads_activate):
27805         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27806         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27807         (gst_pad_pull_range):
27808         * gst/gstpad.h:
27809         More work on the generic source base class, implement seeking,
27810         query.
27811         Make filesrc extend the base source class.
27812         Added gst_pad_set_checkgetrange_function to GstPad.
27813
27814 2005-04-06  Andy Wingo  <wingo@pobox.com>
27815
27816         * pkgconfig/gstreamer-base.pc.in:
27817         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27818
27819         * pkgconfig/Makefile.am:
27820         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27821
27822 2005-04-04  Wim Taymans  <wim@fluendo.com>
27823
27824         * gst/base/Makefile.am:
27825         * gst/base/README:
27826         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27827         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27828         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27829         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27830         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27831         (gst_basesrc_base_init), (gst_basesrc_class_init),
27832         (gst_basesrc_init), (gst_basesrc_get_formats),
27833         (gst_basesrc_get_query_types), (gst_basesrc_query),
27834         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27835         (gst_basesrc_set_property), (gst_basesrc_get_property),
27836         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27837         (gst_basesrc_loop), (gst_basesrc_activate),
27838         (gst_basesrc_change_state):
27839         * gst/base/gstbasesrc.h:
27840         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27841         (gst_fakesrc_class_init), (gst_fakesrc_init),
27842         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27843         (gst_fakesrc_get_property), (gst_fakesrc_create):
27844         * gst/elements/gstfakesrc.h:
27845         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27846         (gst_filesrc_open_file), (gst_filesrc_loop),
27847         (gst_filesrc_activate), (filesrc_find_peek),
27848         (gst_filesrc_type_find):
27849         Made base source class, make fakesrc extend it.
27850         Add comments to basesink class.
27851         Some filesrc cleanup.
27852
27853 2005-03-31  David Schleef  <ds@schleef.org>
27854
27855         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27856         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27857         expected to link against libgstreamer.
27858         * gst/base/Makefile.am: link against libgstreamer
27859         * gst/elements/Makefile.am: same
27860
27861 2005-03-31  Andy Wingo  <wingo@pobox.com>
27862
27863         * tests/instantiate/Makefile.am:
27864         * tests/instantiate/caps.c: Add test to test speed of caps copy
27865         and free.
27866
27867         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27868         GMemChunk to be fair.
27869
27870         * gst/gsttrashstack.h: Remove warning about using the fallback
27871         trash stack implementation, it's still faster than malloc.
27872
27873 2005-03-30  Andy Wingo  <wingo@pobox.com>
27874
27875         * tests/complexity.c: Add a copyright.
27876
27877 2005-03-31  Wim Taymans  <wim@fluendo.com>
27878
27879         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27880         (gst_base_transform_class_init), (gst_base_transform_init),
27881         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27882         (gst_base_transform_get_property),
27883         (gst_base_transform_sink_activate),
27884         (gst_base_transform_src_activate),
27885         (gst_base_transform_change_state):
27886         * gst/base/gstbasetransform.h:
27887         * gst/elements/gstidentity.c: (gst_identity_class_init),
27888         (gst_identity_event), (gst_identity_check_perfect),
27889         (gst_identity_transform), (gst_identity_start),
27890         (gst_identity_stop):
27891         Added start/stop methods to transform base class so subclasses 
27892         don't need to deal with state changes even.
27893
27894 2005-03-31  Wim Taymans  <wim@fluendo.com>
27895
27896         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27897         (gst_event_new_discontinuous), (gst_event_discont_get_value):
27898         * gst/gstevent.h:
27899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27900         (gst_pad_pull_range):
27901         Added rate to the discont event to prepare for variable speed
27902         and reverse playback.
27903
27904 2005-03-29  David Schleef  <ds@schleef.org>
27905
27906         * configure.ac:
27907         * testsuite/trigger/Makefile.am:
27908         * testsuite/trigger/trigger.c: A little example program to show
27909         how trigger-based elements can work.
27910
27911 2005-03-29  Wim Taymans  <wim@fluendo.com>
27912
27913         * gst/base/Makefile.am:
27914         * gst/base/README:
27915         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27916         (gst_basesink_base_init), (gst_basesink_class_init),
27917         (gst_basesink_pad_getcaps), (gst_basesink_init),
27918         (gst_basesink_activate), (gst_basesink_change_state):
27919         * gst/base/gstbasesink.h:
27920         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27921         (gst_base_transform_base_init), (gst_base_transform_finalize),
27922         (gst_base_transform_class_init), (gst_base_transform_init),
27923         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27924         (gst_base_transform_event), (gst_base_transform_getrange),
27925         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27926         (gst_base_transform_set_property),
27927         (gst_base_transform_get_property),
27928         (gst_base_transform_sink_activate),
27929         (gst_base_transform_src_activate),
27930         (gst_base_transform_change_state):
27931         * gst/base/gstbasetransform.h:
27932         * gst/elements/gstidentity.c: (gst_identity_finalize),
27933         (gst_identity_class_init), (gst_identity_init),
27934         (gst_identity_event), (gst_identity_check_perfect),
27935         (gst_identity_transform), (gst_identity_set_property),
27936         (gst_identity_get_property), (gst_identity_change_state):
27937         * gst/elements/gstidentity.h:
27938         * gst/gstelement.c: (gst_element_get_state_func),
27939         (gst_element_lost_state), (gst_element_pads_activate):
27940         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27941         (gst_pad_check_pull_range), (gst_pad_pull_range):
27942         * gst/gstpad.h:
27943         Simplify pad activation.
27944         Added function to check if pull_range can be performed.
27945         Error out when pulling inactive or flushing pads.
27946         Removed const from refcounted types as it does not make sense.
27947         Simplify pad templates in basesink
27948         Added base class for simple 1-to-1 transforms.
27949         Make identity subclass the base transform.
27950
27951 2005-03-29  Andy Wingo  <wingo@pobox.com>
27952
27953         * docs/libs/gstreamer-libs-overrides.txt: 
27954         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27955         really don't understand what's going on, but like whatever. I want
27956         green buildbot!
27957
27958         * docs/gst/Makefile.am:
27959         * docs/libs/Makefile.am: Dist the overrides files.
27960
27961         * check/Makefile.am (clean-local): Remove .libs directories.
27962
27963         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27964         elements to EXTRA_DIST, so po/ files are happy.
27965
27966         * po/POTFILES.in: Er, remove it here.
27967
27968         * po/POTFILES: Remove gstspider.c.
27969
27970         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27971
27972         * docs/libs/gstreamer-libs-docs.sgml: 
27973         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27974         bytestream.
27975
27976         * tests/complexity.c (main): Set the length of the preroll queue
27977         on the sinks to prevent a lockup.
27978
27979         * libs/gst/dataprotocol/Makefile.am: 
27980         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27981         the same as the one in check/gst-libs/gdp.c.
27982
27983         * po/, docs/gst/: Commit automatic changes to docs and po files.
27984
27985         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27986         the versioned libgstbase.
27987
27988         * check/Makefile.am: Depend on an unversioned gst-register, seems
27989         to make autoconf happier.
27990
27991         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27992
27993 2005-03-28  Wim Taymans  <wim@fluendo.com>
27994
27995         * configure.ac:
27996         * docs/design/part-gstelement.txt:
27997         * docs/design/part-negotiation.txt:
27998         * docs/design/part-preroll.txt:
27999         * docs/design/part-scheduling.txt:
28000         * docs/design/part-states.txt:
28001         * gst/Makefile.am:
28002         * gst/base/Makefile.am:
28003         * gst/base/README:
28004         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28005         (gst_basesink_base_init), (gst_basesink_class_init),
28006         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28007         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28008         (gst_basesink_set_pad_functions),
28009         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28010         (gst_basesink_set_property), (gst_basesink_get_property),
28011         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28012         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28013         (gst_basesink_preroll_queue_push),
28014         (gst_basesink_preroll_queue_empty),
28015         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28016         (gst_basesink_event), (gst_basesink_get_times),
28017         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28018         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28019         (gst_basesink_loop), (gst_basesink_activate),
28020         (gst_basesink_change_state):
28021         * gst/base/gstbasesink.h:
28022         * gst/elements/Makefile.am:
28023         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28024         (gst_fakesink_class_init), (gst_fakesink_init),
28025         (gst_fakesink_set_property), (gst_fakesink_get_property),
28026         (gst_fakesink_get_times), (gst_fakesink_event),
28027         (gst_fakesink_preroll), (gst_fakesink_render),
28028         (gst_fakesink_change_state):
28029         * gst/elements/gstfakesink.h:
28030         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28031         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28032         * gst/gstelement.c: (gst_element_add_pad),
28033         (gst_element_get_state_func), (gst_element_abort_state),
28034         (gst_element_commit_state), (gst_element_lost_state),
28035         (gst_element_set_state), (gst_element_pads_activate):
28036         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28037         * gst/gstpipeline.c: (gst_pipeline_send_event),
28038         (gst_pipeline_change_state):
28039         Added state change code.
28040         Added/updated docs.
28041         Added sink base class, make fakesink extend the base class.
28042         Small cleanups in GstPipeline.
28043
28044 2005-03-26  David Schleef  <ds@schleef.org>
28045
28046         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
28047         is broken and should be implemented in a different library.
28048         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28049         * gst/gst.h: remove gstcpu.h
28050         * gst/gstcpu.c: remove
28051         * gst/gstcpu.h: remove
28052         * gst/Makefile.am.future: Remove this file.  It's ancient.
28053
28054 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28055
28056         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28057         (gst_bin_send_event):
28058           Add default event/set_manager handlers. The set_manager handler
28059           takes care that the manager is distributed over kids that were
28060           already in the bin before the manager was set. The event handler
28061           is a utility virtual function that sends the event over all sinks,
28062           so that gst_element_send_event (bin, event); has the expected
28063           behaviour.
28064         * gst/gstpad.c: (gst_pad_event_default):
28065           Re-install default event handling for discontinuities, so that
28066           seeking works without requiring hacks in applications or extra
28067           code in sinks.
28068         * gst/gstpipeline.c: (gst_pipeline_class_init),
28069         (gst_pipeline_send_event):
28070           Half hack, half utility: set a pipeline to PAUSED for seek events,
28071           since that is the only way we can guarantee a/v sync. Means that
28072           you can do gst_element_seek (pipeline, method, pos); on a pipeline
28073           and it "just works".
28074
28075 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28076
28077         * gst/gstpipeline.c: (gst_pipeline_use_clock):
28078           Lock/unlock mismatch.
28079
28080 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
28081
28082         * docs/faq/gst-uninstalled:
28083           add gst-plugins-base
28084         * docs/gst/Makefile.am:
28085           don't error out until docs are fixed
28086         * docs/gst/gstreamer.types:
28087           remove thread
28088
28089 2005-03-22  Wim Taymans  <wim@fluendo.com>
28090
28091         * check/Makefile.am:
28092         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
28093         * gst/gststructure.c: (gst_structure_set_valist),
28094         (gst_structure_copy_conditional):
28095         Activated more tests.
28096         Added message test.
28097         Added G_TYPE_POINTER to GstStructure.
28098         
28099
28100 2005-03-22  Wim Taymans  <wim@fluendo.com>
28101
28102         * docs/design/part-TODO.txt:
28103         * docs/design/part-events.txt:
28104         * docs/design/part-gstbin.txt:
28105         * docs/design/part-gstbus.txt:
28106         * docs/design/part-gstpipeline.txt:
28107         * docs/design/part-messages.txt:
28108         * gst/gstbus.c:
28109         * gst/gstmessage.c:
28110         Docs updates
28111
28112 2005-03-21  Wim Taymans  <wim@fluendo.com>
28113
28114         * gst/gstbus.c: (gst_bus_post):
28115         Fix copy-and-paste error.
28116
28117 2005-03-21  Wim Taymans  <wim@fluendo.com>
28118
28119         * check/Makefile.am:
28120         * gst/Makefile.am:
28121         * gst/elements/Makefile.am:
28122         * gst/elements/gstelements.c:
28123         * gst/elements/gstfakesink.c: (gst_fakesink_init),
28124         (gst_fakesink_event), (gst_fakesink_chain):
28125         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28126         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
28127         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
28128         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
28129         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28130         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
28131         (gst_fakesrc_loop), (gst_fakesrc_activate),
28132         (gst_fakesrc_change_state):
28133         * gst/elements/gstfakesrc.h:
28134         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
28135         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
28136         (gst_filesrc_open_file), (gst_filesrc_loop),
28137         (gst_filesrc_activate), (gst_filesrc_change_state),
28138         (filesrc_find_peek), (filesrc_find_suggest),
28139         (gst_filesrc_type_find):
28140         * gst/elements/gstidentity.c: (gst_identity_finalize),
28141         (gst_identity_class_init), (gst_identity_init),
28142         (gst_identity_proxy_getcaps), (identity_queue_push),
28143         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
28144         (gst_identity_getrange), (gst_identity_chain),
28145         (gst_identity_sink_loop), (gst_identity_src_loop),
28146         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
28147         (gst_identity_set_property), (gst_identity_get_property),
28148         (gst_identity_change_state):
28149         * gst/elements/gstidentity.h:
28150         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
28151         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
28152         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
28153         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
28154         (gst_tee_sink_activate):
28155         * gst/elements/gsttee.h:
28156         * gst/gst.c: (gst_register_core_elements), (init_post):
28157         * gst/gst.h:
28158         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
28159         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
28160         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
28161         (gst_bin_change_state):
28162         * gst/gstbin.h:
28163         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
28164         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
28165         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
28166         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
28167         (gst_bus_set_sync_handler), (gst_bus_create_watch),
28168         (bus_watch_callback), (bus_watch_destroy),
28169         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
28170         (poll_timeout), (gst_bus_poll):
28171         * gst/gstbus.h:
28172         * gst/gstcaps.h:
28173         * gst/gstdata.h:
28174         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28175         (gst_element_post_message), (gst_element_message_full),
28176         (gst_element_get_state_func), (gst_element_get_state),
28177         (gst_element_abort_state), (gst_element_commit_state),
28178         (gst_element_lost_state), (gst_element_set_state),
28179         (gst_element_pads_activate), (gst_element_change_state),
28180         (gst_element_dispose), (gst_element_set_manager_func),
28181         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
28182         (gst_element_set_manager), (gst_element_get_manager),
28183         (gst_element_set_bus), (gst_element_get_bus),
28184         (gst_element_set_scheduler), (gst_element_get_scheduler):
28185         * gst/gstelement.h:
28186         * gst/gstevent.c: (gst_event_new_segment_seek),
28187         (gst_event_new_flush):
28188         * gst/gstevent.h:
28189         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
28190         (_gst_message_free), (gst_message_get_type), (gst_message_new),
28191         (gst_message_new_eos), (gst_message_new_error),
28192         (gst_message_new_warning), (gst_message_new_tag),
28193         (gst_message_new_state_changed), (gst_message_new_application),
28194         (gst_message_get_structure), (gst_message_parse_tag),
28195         (gst_message_parse_state_changed), (gst_message_parse_error),
28196         (gst_message_parse_warning):
28197         * gst/gstmessage.h:
28198         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
28199         (gst_real_pad_set_property), (gst_pad_set_active),
28200         (gst_pad_is_active), (gst_pad_set_blocked_async),
28201         (gst_pad_set_blocked), (gst_pad_is_blocked),
28202         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
28203         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
28204         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
28205         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
28206         (gst_pad_link_filtered), (gst_pad_relink_filtered),
28207         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
28208         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
28209         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
28210         (gst_pad_set_caps), (gst_pad_configure_sink),
28211         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
28212         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
28213         (gst_real_pad_dispose), (gst_real_pad_finalize),
28214         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
28215         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28216         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
28217         * gst/gstpad.h:
28218         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
28219         (pipeline_bus_handler), (gst_pipeline_change_state),
28220         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
28221         * gst/gstpipeline.h:
28222         * gst/gstprobe.h:
28223         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
28224         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
28225         (gst_queue_link_src), (gst_queue_bufferalloc),
28226         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
28227         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
28228         (gst_queue_loop), (gst_queue_handle_src_event),
28229         (gst_queue_handle_src_query), (gst_queue_src_activate),
28230         (gst_queue_change_state):
28231         * gst/gstqueue.h:
28232         * gst/gstscheduler.c: (gst_scheduler_init),
28233         (gst_scheduler_dispose), (gst_scheduler_create_task),
28234         (gst_scheduler_factory_create):
28235         * gst/gstscheduler.h:
28236         * gst/gststructure.c: (gst_structure_get_type),
28237         (gst_structure_copy_conditional):
28238         * gst/gststructure.h:
28239         * gst/gsttaginterface.h:
28240         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28241         (gst_task_init), (gst_task_dispose), (gst_task_create),
28242         (gst_task_get_state), (gst_task_start), (gst_task_stop),
28243         (gst_task_pause):
28244         * gst/gsttask.h:
28245         * gst/gstthread.c:
28246         * gst/gstthread.h:
28247         * gst/gsttypes.h:
28248         * gst/schedulers/Makefile.am:
28249         * gst/schedulers/cothreads_compat.h:
28250         * gst/schedulers/entryscheduler.c:
28251         * gst/schedulers/faircothreads.c:
28252         * gst/schedulers/faircothreads.h:
28253         * gst/schedulers/fairscheduler.c:
28254         * gst/schedulers/gstbasicscheduler.c:
28255         * gst/schedulers/gstoptimalscheduler.c:
28256         * gst/schedulers/gthread-cothreads.h:
28257         * gst/schedulers/threadscheduler.c:
28258         (gst_thread_scheduler_task_get_type),
28259         (gst_thread_scheduler_task_class_init),
28260         (gst_thread_scheduler_task_init),
28261         (gst_thread_scheduler_task_start),
28262         (gst_thread_scheduler_task_stop),
28263         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
28264         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28265         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
28266         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
28267         (plugin_init):
28268         * libs/gst/Makefile.am:
28269         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
28270         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
28271         (gst_file_pad_parent_set):
28272         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
28273         (gst_dp_event_from_packet):
28274         * tests/complexity.c: (main):
28275         * tests/mass_elements.c: (main):
28276         * testsuite/states/locked.c: (message_received), (main):
28277         * testsuite/states/parent.c: (main):
28278         * tools/gst-inspect.c: (print_element_flag_info),
28279         (print_implementation_info), (print_pad_info):
28280         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
28281         (main):
28282         * tools/gst-md5sum.c: (event_loop), (main):
28283         * tools/gst-typefind.c: (main):
28284         * tools/gst-xmlinspect.c: (print_element_info):
28285         Next big merge.
28286         Added GstBus for mainloop integration.
28287         Added GstMessage for sending notifications on the bus.
28288         Added GstTask as an abstraction for pipeline entry points.
28289         Removed GstThread.
28290         Removed Schedulers.
28291         Simplified GstQueue for multithreaded core.
28292         Made _link threadsafe, removed old capsnego.
28293         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
28294         Added pad blocking functions.
28295         Reworked scheduling functions in GstPad to prepare for
28296         scheduling updates soon.
28297         Moved events out of data stream.
28298         Simplified GstEvent types.
28299         Added return values to push/pull.
28300         Removed clocking from GstElement.
28301         Added prototypes for state change function for next merge.
28302         Removed iterate from bins and state change management.
28303         Fixed some elements, disabled others for now.
28304         Fixed -inspect and -launch.
28305         Added check for GstBus.
28306
28307 2005-03-10  Wim Taymans  <wim@fluendo.com>
28308
28309         * docs/design/part-MT-refcounting.txt:
28310         * docs/design/part-clocks.txt:
28311         * docs/design/part-gstelement.txt:
28312         * docs/design/part-gstobject.txt:
28313         * docs/design/part-standards.txt:
28314         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28315         (gst_bin_remove_func), (gst_bin_remove):
28316         * gst/gstbin.h:
28317         * gst/gstbuffer.c:
28318         * gst/gstcaps.h:
28319         * testsuite/clock/clock1.c: (main):
28320         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28321         (main):
28322         * testsuite/dlopen/loadgst.c: (do_test):
28323         * testsuite/refcounting/bin.c: (add_remove_test1),
28324         (add_remove_test2), (main):
28325         * testsuite/refcounting/element.c: (main):
28326         * testsuite/refcounting/element_pad.c: (main):
28327         * testsuite/refcounting/pad.c: (main):
28328         * tools/gst-launch.c: (sigint_handler_sighandler):
28329         * tools/gst-typefind.c: (main):
28330         Doc updates.
28331         Added doc about clock.
28332         removed gst_bin_iterate_recurse_up(), marked methods
28333         for removal.
28334         Fix more testsuites.
28335
28336 2005-03-09  Wim Taymans  <wim@fluendo.com>
28337
28338         * gst/gstpad.c: (gst_pad_get_direction),
28339         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28340         (gst_pad_collect_valist):
28341         * testsuite/bins/interface.c: (main):
28342         * testsuite/caps/audioscale.c: (test_caps):
28343         * testsuite/caps/caps.c: (test1), (test2), (test3):
28344         * testsuite/caps/deserialize.c: (main):
28345         * testsuite/caps/enumcaps.c: (main):
28346         * testsuite/caps/filtercaps.c: (main):
28347         * testsuite/caps/intersect2.c: (main):
28348         * testsuite/caps/random.c: (main):
28349         * testsuite/caps/renegotiate.c: (my_fixate), (main):
28350         * testsuite/caps/sets.c: (check_caps):
28351         * testsuite/caps/simplify.c: (check_caps), (main):
28352         * testsuite/caps/subtract.c: (check_caps):
28353         Fix _pad_get_direction wrt ghostpads.
28354         Fix caps testsuite.
28355
28356 2005-03-09  Wim Taymans  <wim@fluendo.com>
28357
28358         * check/Makefile.am:
28359         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28360         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28361         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28362         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28363         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28364         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28365         (gst_bin_remove), (gst_bin_iterate_recurse_up),
28366         (bin_element_is_sink), (gst_bin_iterate_sinks),
28367         (gst_bin_iterate_all_by_interface):
28368         * gst/gstbin.h:
28369         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28370         (gst_element_change_state), (gst_element_dispose),
28371         (gst_element_finalize), (gst_element_set_loop_function):
28372         * gst/gstelement.h:
28373         * gst/gstiterator.c: (find_custom_fold_func):
28374         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28375         (gst_pad_collectv), (gst_pad_collect_valist),
28376         (gst_pad_template_new):
28377         * gst/gstpipeline.c: (gst_pipeline_class_init),
28378         (gst_pipeline_dispose), (gst_pipeline_set_property),
28379         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28380         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28381         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28382         * gst/gstutils.h:
28383         * gst/schedulers/entryscheduler.c:
28384         * gst/schedulers/gstbasicscheduler.c:
28385         (gst_basic_scheduler_cothreaded_chain),
28386         (gst_basic_scheduler_chain_add_element):
28387         * testsuite/bins/interface.c: (main):
28388         Added GstBin test.
28389         Added GstSystemClock test.
28390         Implemented clock distribution code in GstBin.
28391         Implemented iterate sinks method for future use.
28392         Rearranged gstelement.h
28393         Fix GstIterator comparison bug.
28394         Moved some code to GstPipeline, mostly clocking related.
28395
28396 2005-03-09  Wim Taymans  <wim@fluendo.com>
28397
28398         * configure.ac:
28399         * gst/gst_private.h:
28400         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28401         (gst_bin_remove_func), (gst_bin_remove),
28402         (gst_bin_get_by_name_recurse_up):
28403         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28404         (gst_clock_id_compare_func), (gst_clock_id_wait),
28405         (gst_clock_id_wait_async), (gst_clock_init),
28406         (gst_clock_adjust_unlocked), (gst_clock_get_time):
28407         * gst/gstelement.h:
28408         * gst/gstinfo.c: (_gst_debug_init):
28409         * gst/gstobject.h:
28410         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28411         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28412         * gst/gstpad.h:
28413         Bump version number, we're now 0.9.0
28414         Add future debugging category.
28415         Fix NULL _unref() in _get_by_name_recurse_up
28416         Rearrange gstpad.h.
28417         Update some docs.
28418
28419 2005-03-08  Wim Taymans  <wim@fluendo.com>
28420
28421         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28422         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28423         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28424         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28425         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28426         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28427         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28428         * gst/elements/gstidentity.c: (gst_identity_class_init):
28429         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28430         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28431         * gst/elements/gstshaper.c: (gst_shaper_class_init):
28432         * gst/elements/gststatistics.c: (gst_statistics_class_init):
28433         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28434         (gst_tee_link):
28435         * gst/gstelement.c: (gst_element_class_init),
28436         (gst_element_base_class_init), (gst_element_init),
28437         (gst_element_get_random_pad), (gst_element_wait_state_change),
28438         (gst_element_change_state), (gst_element_dispose),
28439         (gst_element_finalize), (gst_element_set_loop_function):
28440         * gst/gstelement.h:
28441         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28442         * gst/gstthread.c: (gst_thread_class_init),
28443         (gst_thread_release_children_locks), (gst_thread_change_state):
28444         * gst/schedulers/gstbasicscheduler.c:
28445         (gst_basic_scheduler_loopfunc_wrapper),
28446         (gst_basic_scheduler_chain_wrapper),
28447         (gst_basic_scheduler_src_wrapper),
28448         (gst_basic_scheduler_remove_element):
28449         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28450         Remove threadsafe properties. Fix elements because GObject
28451         complains when installing a property before declaring a
28452         set/get_property handler.
28453         Rearrange gstelement.h file, use STATE macros for state locks.
28454         Free mutexes in the finalize method instead of dispose.
28455
28456 2005-03-08  Wim Taymans  <wim@fluendo.com>
28457
28458         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28459         * gst/gstthread.c: (gst_thread_release_children_locks):
28460         Added parentage check.
28461         Fix build og GstThread again.
28462
28463 2005-03-08  Wim Taymans  <wim@fluendo.com>
28464
28465         * docs/design/part-MT-refcounting.txt:
28466         * docs/design/part-conventions.txt:
28467         * docs/design/part-gstobject.txt:
28468         * docs/design/part-relations.txt:
28469         * docs/design/part-standards.txt:
28470         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28471         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28472         (gst_bin_get_by_name), (gst_bin_get_by_interface),
28473         (gst_bin_iterate_all_by_interface):
28474         * gst/gstbuffer.h:
28475         * gst/gstclock.h:
28476         * gst/gstelement.c: (gst_element_class_init),
28477         (gst_element_change_state), (gst_element_set_loop_function):
28478         * gst/gstelement.h:
28479         * gst/gstiterator.c:
28480         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28481         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28482         (gst_object_dispatch_properties_changed), (gst_object_set_name),
28483         (gst_object_set_parent), (gst_object_unparent),
28484         (gst_object_check_uniqueness):
28485         * gst/gstobject.h:
28486         Docs updates, clean up some headers.
28487
28488 2005-03-07  Wim Taymans  <wim@fluendo.com>
28489
28490         * check/.cvsignore:
28491         * check/Makefile.am:
28492         * check/gst-libs/.cvsignore:
28493         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28494         * check/gst/.cvsignore:
28495         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28496         (START_TEST), (gstbus_suite), (main):
28497         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28498         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28499         (gst_data_suite), (main):
28500         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28501         (add_fold_func), (gstiterator_suite), (main):
28502         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28503         (thread_name_object), (thread_name_object_default),
28504         (gst_object_name_compare), (gst_object_suite), (main):
28505         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28506         (gst_pad_suite), (main):
28507         * check/gstcheck.c: (gst_check_log_message_func),
28508         (gst_check_log_critical_func), (gst_check_init):
28509         * check/gstcheck.h:
28510         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28511         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28512         Added checks.
28513
28514 2005-03-07  Wim Taymans  <wim@fluendo.com>
28515
28516         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28517         (gst_list_iterator_next), (gst_list_iterator_resync),
28518         (gst_list_iterator_free), (gst_iterator_new_list),
28519         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28520         (gst_iterator_free), (gst_iterator_push), (filter_next),
28521         (filter_resync), (filter_uninit), (filter_free),
28522         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28523         (gst_iterator_foreach), (find_custom_fold_func),
28524         (gst_iterator_find_custom):
28525         * gst/gstiterator.h:
28526         Added missing files.
28527
28528 2005-03-07  Wim Taymans  <wim@fluendo.com>
28529
28530         * Makefile.am:
28531         * configure.ac:
28532         * docs/design/part-MT-refcounting.txt:
28533         * docs/design/part-conventions.txt:
28534         * docs/design/part-gstobject.txt:
28535         * docs/design/part-relations.txt:
28536         * examples/mixer/mixer.c: (main):
28537         * examples/thread/thread.c: (eos), (main):
28538         * gst/Makefile.am:
28539         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28540         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28541         (gst_spider_plug_from_srcpad):
28542         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28543         (gst_spider_identity_change_state),
28544         (gst_spider_identity_sink_loop_type_finding):
28545         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28546         * gst/elements/gstidentity.c: (gst_identity_init):
28547         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28548         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28549         * gst/elements/gsttypefindelement.c: (free_entry):
28550         * gst/gst.c:
28551         * gst/gst.h:
28552         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28553         (gst_bin_set_clock_func), (gst_bin_auto_clock),
28554         (gst_bin_set_index), (gst_bin_set_element_sched),
28555         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28556         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28557         (gst_bin_iterate_elements), (iterate_child_recurse),
28558         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28559         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28560         (compare_interface), (gst_bin_get_by_interface),
28561         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28562         * gst/gstbin.h:
28563         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28564         (gst_buffer_default_free), (gst_buffer_default_copy),
28565         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28566         (gst_buffer_create_sub):
28567         * gst/gstbuffer.h:
28568         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28569         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28570         (gst_caps_unref), (gst_static_caps_get),
28571         (gst_caps_remove_and_get_structure), (gst_caps_append),
28572         (gst_caps_append_structure), (gst_caps_remove_structure),
28573         (gst_caps_copy_nth), (gst_caps_set_simple),
28574         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28575         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28576         (gst_caps_structure_intersect_field), (gst_caps_intersect),
28577         (gst_caps_structure_subtract_field), (gst_caps_subtract),
28578         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28579         (gst_caps_structure_figure_out_union),
28580         (gst_caps_switch_structures), (gst_caps_do_simplify),
28581         (gst_caps_replace), (gst_caps_from_string),
28582         (gst_caps_copy_conditional):
28583         * gst/gstcaps.h:
28584         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28585         (_gst_clock_id_free), (gst_clock_id_unref),
28586         (gst_clock_id_compare_func), (gst_clock_id_wait),
28587         (gst_clock_id_wait_async), (gst_clock_class_init),
28588         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28589         (gst_clock_get_time), (gst_clock_set_time_adjust),
28590         (gst_clock_set_property), (gst_clock_get_property):
28591         * gst/gstclock.h:
28592         * gst/gstcompat.h:
28593         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28594         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28595         * gst/gstdata.h:
28596         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28597         (gst_element_requires_clock), (gst_element_provides_clock),
28598         (gst_element_set_clock), (gst_element_clock_wait),
28599         (gst_element_wait), (gst_element_set_time_delay),
28600         (gst_element_is_indexable), (gst_element_add_pad),
28601         (gst_element_add_ghost_pad), (gst_element_remove_pad),
28602         (pad_compare_name), (gst_element_get_static_pad),
28603         (gst_element_request_pad), (gst_element_get_request_pad),
28604         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28605         (gst_element_class_get_pad_template_list),
28606         (gst_element_class_get_pad_template), (gst_element_error_func),
28607         (gst_element_get_random_pad), (gst_element_get_event_masks),
28608         (gst_element_send_event), (gst_element_seek),
28609         (gst_element_get_query_types), (gst_element_query),
28610         (gst_element_get_formats), (gst_element_convert),
28611         (gst_element_is_locked_state), (gst_element_set_locked_state),
28612         (gst_element_sync_state_with_parent), (gst_element_change_state),
28613         (gst_element_finalize), (gst_element_yield),
28614         (gst_element_interrupt), (gst_element_set_scheduler),
28615         (gst_element_get_scheduler), (gst_element_set_loop_function):
28616         * gst/gstelement.h:
28617         * gst/gstevent.h:
28618         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28619         (gst_format_get_by_nick), (gst_format_get_details),
28620         (gst_format_iterate_definitions):
28621         * gst/gstformat.h:
28622         * gst/gstindex.c: (gst_index_gtype_resolver):
28623         * gst/gstinfo.c:
28624         * gst/gstinfo.h:
28625         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28626         (gst_mem_chunk_free):
28627         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28628         (gst_object_ref), (gst_object_unref), (gst_object_sink),
28629         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28630         (gst_object_dispatch_properties_changed),
28631         (gst_object_set_name_default), (gst_object_set_name),
28632         (gst_object_get_name), (gst_object_set_name_prefix),
28633         (gst_object_get_name_prefix), (gst_object_set_parent),
28634         (gst_object_get_parent), (gst_object_unparent),
28635         (gst_object_check_uniqueness), (gst_object_save_thyself),
28636         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28637         (gst_object_set_property), (gst_object_get_property),
28638         (gst_object_get_path_string):
28639         * gst/gstobject.h:
28640         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28641         (gst_real_pad_init), (gst_real_pad_get_property),
28642         (gst_pad_custom_new), (gst_pad_get_direction),
28643         (gst_pad_set_active), (gst_pad_is_active),
28644         (gst_pad_set_event_function), (gst_pad_is_linked),
28645         (gst_pad_link_free), (gst_pad_link_intersect),
28646         (gst_pad_link_fixate), (gst_pad_set_caps),
28647         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28648         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28649         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28650         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28651         (gst_pad_get_caps), (gst_pad_peer_get_caps),
28652         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28653         (gst_pad_realize), (gst_pad_get_allowed_caps),
28654         (gst_real_pad_dispose), (gst_real_pad_finalize),
28655         (gst_pad_collectv), (gst_pad_collect_valist),
28656         (gst_pad_template_dispose), (gst_pad_template_new),
28657         (gst_pad_get_internal_links):
28658         * gst/gstpad.h:
28659         * gst/gstpipeline.c: (gst_pipeline_dispose),
28660         (gst_pipeline_change_state):
28661         * gst/gstpipeline.h:
28662         * gst/gstplugin.c:
28663         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28664         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28665         * gst/gstpluginfeature.h:
28666         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28667         * gst/gstquery.c: (_gst_query_type_initialize),
28668         (gst_query_type_register), (gst_query_type_get_by_nick),
28669         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28670         * gst/gstquery.h:
28671         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28672         * gst/gstscheduler.c: (gst_scheduler_add_element),
28673         (gst_scheduler_factory_create):
28674         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28675         (gst_structure_free), (gst_structure_set_name),
28676         (gst_structure_id_set_value), (gst_structure_set_value),
28677         (gst_structure_set_valist), (gst_structure_remove_field),
28678         (gst_structure_remove_fields),
28679         (gst_structure_remove_fields_valist),
28680         (gst_structure_remove_all_fields), (gst_structure_foreach),
28681         (gst_structure_map_in_place),
28682         (gst_caps_structure_fixate_field_nearest_int),
28683         (gst_caps_structure_fixate_field_nearest_double):
28684         * gst/gststructure.h:
28685         * gst/gstsystemclock.c: (gst_system_clock_class_init),
28686         (gst_system_clock_init), (gst_system_clock_dispose),
28687         (gst_system_clock_async_thread),
28688         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28689         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28690         * gst/gstsystemclock.h:
28691         * gst/gsttag.c: (gst_tag_list_add_value_internal),
28692         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28693         * gst/gsttaginterface.c:
28694         * gst/gstthread.c: (gst_thread_dispose),
28695         (gst_thread_release_children_locks), (gst_thread_change_state),
28696         (gst_thread_main_loop):
28697         * gst/gsttrashstack.h:
28698         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28699         * gst/gsttypes.h:
28700         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28701         (gst_element_request_pad), (gst_element_get_pad_from_template),
28702         (gst_element_request_compatible_pad),
28703         (gst_element_get_compatible_pad_filtered),
28704         (gst_element_get_compatible_pad), (gst_element_state_get_name),
28705         (gst_element_link_pads_filtered), (gst_element_link_filtered),
28706         (gst_element_link_many), (gst_element_link),
28707         (gst_element_link_pads), (gst_element_unlink_pads),
28708         (gst_element_unlink_many), (gst_element_unlink),
28709         (gst_pad_can_link_filtered), (gst_pad_can_link),
28710         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28711         (gst_object_default_error), (gst_bin_add_many),
28712         (gst_bin_remove_many), (gst_element_populate_std_props),
28713         (gst_element_class_install_std_props), (gst_buffer_merge),
28714         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28715         (link_fold_func), (gst_pad_proxy_setcaps):
28716         * gst/gstutils.h:
28717         * gst/gstvalue.c: (gst_value_deserialize_string):
28718         * gst/parse/grammar.y:
28719         * gst/schedulers/gstbasicscheduler.c:
28720         (gst_basic_scheduler_cothreaded_chain),
28721         (gst_basic_scheduler_chain_recursive_add),
28722         (gst_basic_scheduler_pad_link):
28723         * gst/schedulers/gstoptimalscheduler.c:
28724         (get_group_schedule_function),
28725         (gst_opt_scheduler_state_transition),
28726         (gst_opt_scheduler_add_element), (element_get_reachables_func):
28727         * libs/gst/bytestream/bytestream.c:
28728         * libs/gst/dataprotocol/dataprotocol.c:
28729         (gst_dp_header_from_buffer):
28730         * po/nb.po:
28731         * po/ru.po:
28732         * tests/threadstate/threadstate2.c: (eos):
28733         * tools/gst-compprep.c: (main):
28734         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28735         (print_pad_info), (print_children_info):
28736         * tools/gst-launch.c: (idle_func), (main):
28737         * tools/gst-md5sum.c: (idle_func), (main):
28738         * tools/gst-xmlinspect.c: (print_element_info):
28739         First THREADED backport attempt, focusing on adding locks and
28740         making sure the API is threadsafe. Needs more work. More docs
28741         follow this week.
28742
28743 2005-02-24  Andy Wingo  <wingo@pobox.com>
28744
28745         * tests/bench-complexity.scm:
28746         * tests/complexity.gnuplot: New files, good for running complexity
28747         benchmarks.
28748
28749         * tests/Makefile.am:
28750         * tests/complexity.c: New test, sets up N elements, at each level
28751         teeing into M streams per element. Eeeenteresting.
28752
28753         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28754         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28755         running bench-mass_elements.scm.
28756
28757         * tests/bench-mass_elements.scm: New script, runs mass_elements
28758         for various numbers of identities, outputting the results to a
28759         file. Requires guile 1.6. Just for testing.
28760
28761 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28762
28763         * gst/schedulers/fairscheduler.c:
28764           compile with debug disabled
28765
28766 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28767
28768         * configure.ac:
28769           hunting season on 0.9 is now OPEN